From 5f60e730c8d2c1a8f99dcc3c9877ddffe862e14a Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Tue, 19 Jul 2022 08:49:32 +0000 Subject: [PATCH 1/2] feat: Rename product feat: API updates PiperOrigin-RevId: 461817256 Source-Link: https://github.com/googleapis/googleapis/commit/215f812fbe99bf78290f843d08b8d5c78aa7115d Source-Link: https://github.com/googleapis/googleapis-gen/commit/89d44210a418f519c50b78bf2b6bbe2119fea522 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiODlkNDQyMTBhNDE4ZjUxOWM1MGI3OGJmMmI2YmJlMjExOWZlYTUyMiJ9 --- .../cloud/vmmigration/v1/VmMigrationGrpc.java | 5341 ----------------- .../vmmigration/v1/VmMigrationClient.java | 217 +- .../vmmigration/v1/VmMigrationSettings.java | 43 +- .../cloud/vmmigration/v1/gapic_metadata.json | 3 + .../cloud/vmmigration/v1/package-info.java | 0 .../stub/GrpcVmMigrationCallableFactory.java | 0 .../v1/stub/GrpcVmMigrationStub.java | 48 + .../HttpJsonVmMigrationCallableFactory.java | 0 .../v1/stub/HttpJsonVmMigrationStub.java | 77 + .../vmmigration/v1/stub/VmMigrationStub.java | 11 + .../v1/stub/VmMigrationStubSettings.java | 128 +- .../cloud/vmmigration/v1/MockVmMigration.java | 0 .../vmmigration/v1/MockVmMigrationImpl.java | 21 + .../v1/VmMigrationClientHttpJsonTest.java | 98 + .../vmmigration/v1/VmMigrationClientTest.java | 92 + .../cloud/vmmigration/v1/VmMigrationGrpc.java | 4097 +++++++++++++ .../v1/AddGroupMigrationRequest.java | 421 +- .../v1/AddGroupMigrationRequestOrBuilder.java | 49 + .../v1/AddGroupMigrationResponse.java | 238 +- .../AddGroupMigrationResponseOrBuilder.java | 9 + .../vmmigration/v1/ApplianceVersion.java | 1008 ++++ .../v1/ApplianceVersionOrBuilder.java | 79 + .../cloud/vmmigration/v1/AppliedLicense.java | 436 +- .../v1/AppliedLicenseOrBuilder.java | 33 +- .../vmmigration/v1/AvailableUpdates.java | 949 +++ .../v1/AvailableUpdatesOrBuilder.java | 75 + .../vmmigration/v1/CancelCloneJobRequest.java | 342 +- .../v1/CancelCloneJobRequestOrBuilder.java | 29 + .../v1/CancelCloneJobResponse.java | 238 +- .../v1/CancelCloneJobResponseOrBuilder.java | 9 + .../v1/CancelCutoverJobRequest.java | 342 +- .../v1/CancelCutoverJobRequestOrBuilder.java | 29 + .../v1/CancelCutoverJobResponse.java | 238 +- .../v1/CancelCutoverJobResponseOrBuilder.java | 9 + .../google/cloud/vmmigration/v1/CloneJob.java | 1412 ++--- .../cloud/vmmigration/v1/CloneJobName.java | 0 .../vmmigration/v1/CloneJobOrBuilder.java | 156 +- .../v1/ComputeEngineBootOption.java | 79 +- .../vmmigration/v1/ComputeEngineDiskType.java | 86 +- .../v1/ComputeEngineLicenseType.java | 79 +- .../v1/ComputeEngineTargetDefaults.java | 2450 ++++---- .../ComputeEngineTargetDefaultsOrBuilder.java | 285 +- .../v1/ComputeEngineTargetDetails.java | 2374 ++++---- .../ComputeEngineTargetDetailsOrBuilder.java | 265 +- .../vmmigration/v1/ComputeScheduling.java | 784 +-- .../v1/ComputeSchedulingOrBuilder.java | 54 +- .../vmmigration/v1/CreateCloneJobRequest.java | 649 +- .../v1/CreateCloneJobRequestOrBuilder.java | 73 +- .../v1/CreateCutoverJobRequest.java | 646 +- .../v1/CreateCutoverJobRequestOrBuilder.java | 73 +- .../v1/CreateDatacenterConnectorRequest.java | 686 +-- ...teDatacenterConnectorRequestOrBuilder.java | 73 +- .../vmmigration/v1/CreateGroupRequest.java | 624 +- .../v1/CreateGroupRequestOrBuilder.java | 70 +- .../v1/CreateMigratingVmRequest.java | 646 +- .../v1/CreateMigratingVmRequestOrBuilder.java | 73 +- .../vmmigration/v1/CreateSourceRequest.java | 639 +- .../v1/CreateSourceRequestOrBuilder.java | 70 +- .../v1/CreateTargetProjectRequest.java | 646 +- .../CreateTargetProjectRequestOrBuilder.java | 73 +- .../v1/CreateUtilizationReportRequest.java | 702 +-- ...eateUtilizationReportRequestOrBuilder.java | 81 +- .../cloud/vmmigration/v1/CutoverJob.java | 1518 +++-- .../cloud/vmmigration/v1/CutoverJobName.java | 0 .../vmmigration/v1/CutoverJobOrBuilder.java | 168 +- .../vmmigration/v1/DatacenterConnector.java | 2314 ++++--- .../v1/DatacenterConnectorName.java | 0 .../v1/DatacenterConnectorOrBuilder.java | 284 +- .../v1/DeleteDatacenterConnectorRequest.java | 445 +- ...teDatacenterConnectorRequestOrBuilder.java | 44 +- .../vmmigration/v1/DeleteGroupRequest.java | 418 +- .../v1/DeleteGroupRequestOrBuilder.java | 44 +- .../v1/DeleteMigratingVmRequest.java | 342 +- .../v1/DeleteMigratingVmRequestOrBuilder.java | 29 + .../vmmigration/v1/DeleteSourceRequest.java | 418 +- .../v1/DeleteSourceRequestOrBuilder.java | 44 +- .../v1/DeleteTargetProjectRequest.java | 421 +- .../DeleteTargetProjectRequestOrBuilder.java | 44 +- .../v1/DeleteUtilizationReportRequest.java | 442 +- ...leteUtilizationReportRequestOrBuilder.java | 44 +- .../vmmigration/v1/FetchInventoryRequest.java | 379 +- .../v1/FetchInventoryRequestOrBuilder.java | 40 + .../v1/FetchInventoryResponse.java | 645 +- .../v1/FetchInventoryResponseOrBuilder.java | 68 + .../v1/FinalizeMigrationRequest.java | 342 +- .../v1/FinalizeMigrationRequestOrBuilder.java | 29 + .../v1/FinalizeMigrationResponse.java | 238 +- .../FinalizeMigrationResponseOrBuilder.java | 9 + .../vmmigration/v1/GetCloneJobRequest.java | 339 +- .../v1/GetCloneJobRequestOrBuilder.java | 29 + .../vmmigration/v1/GetCutoverJobRequest.java | 339 +- .../v1/GetCutoverJobRequestOrBuilder.java | 29 + .../v1/GetDatacenterConnectorRequest.java | 350 +- ...etDatacenterConnectorRequestOrBuilder.java | 29 + .../cloud/vmmigration/v1/GetGroupRequest.java | 332 +- .../v1/GetGroupRequestOrBuilder.java | 29 + .../vmmigration/v1/GetMigratingVmRequest.java | 462 +- .../v1/GetMigratingVmRequestOrBuilder.java | 48 + .../vmmigration/v1/GetSourceRequest.java | 336 +- .../v1/GetSourceRequestOrBuilder.java | 29 + .../v1/GetTargetProjectRequest.java | 342 +- .../v1/GetTargetProjectRequestOrBuilder.java | 29 + .../v1/GetUtilizationReportRequest.java | 442 +- .../GetUtilizationReportRequestOrBuilder.java | 50 + .../google/cloud/vmmigration/v1/Group.java | 763 +-- .../cloud/vmmigration/v1/GroupName.java | 0 .../cloud/vmmigration/v1/GroupOrBuilder.java | 87 +- .../vmmigration/v1/ListCloneJobsRequest.java | 644 +- .../v1/ListCloneJobsRequestOrBuilder.java | 73 +- .../vmmigration/v1/ListCloneJobsResponse.java | 693 +-- .../v1/ListCloneJobsResponseOrBuilder.java | 91 +- .../v1/ListCutoverJobsRequest.java | 647 +- .../v1/ListCutoverJobsRequestOrBuilder.java | 73 +- .../v1/ListCutoverJobsResponse.java | 694 +-- .../v1/ListCutoverJobsResponseOrBuilder.java | 91 +- .../v1/ListDatacenterConnectorsRequest.java | 683 +-- ...tDatacenterConnectorsRequestOrBuilder.java | 77 +- .../v1/ListDatacenterConnectorsResponse.java | 729 +-- ...DatacenterConnectorsResponseOrBuilder.java | 88 +- .../vmmigration/v1/ListGroupsRequest.java | 612 +- .../v1/ListGroupsRequestOrBuilder.java | 65 +- .../vmmigration/v1/ListGroupsResponse.java | 689 +-- .../v1/ListGroupsResponseOrBuilder.java | 92 +- .../v1/ListMigratingVmsRequest.java | 769 +-- .../v1/ListMigratingVmsRequestOrBuilder.java | 92 +- .../v1/ListMigratingVmsResponse.java | 691 +-- .../v1/ListMigratingVmsResponseOrBuilder.java | 91 +- .../vmmigration/v1/ListSourcesRequest.java | 612 +- .../v1/ListSourcesRequestOrBuilder.java | 65 +- .../vmmigration/v1/ListSourcesResponse.java | 689 +-- .../v1/ListSourcesResponseOrBuilder.java | 91 +- .../v1/ListTargetProjectsRequest.java | 615 +- .../ListTargetProjectsRequestOrBuilder.java | 65 +- .../v1/ListTargetProjectsResponse.java | 671 +-- .../ListTargetProjectsResponseOrBuilder.java | 91 +- .../v1/ListUtilizationReportsRequest.java | 749 +-- ...istUtilizationReportsRequestOrBuilder.java | 87 +- .../v1/ListUtilizationReportsResponse.java | 709 +-- ...stUtilizationReportsResponseOrBuilder.java | 88 +- .../cloud/vmmigration/v1/LocationName.java | 0 .../cloud/vmmigration/v1/MigratingVm.java | 5152 ++++++++++++++++ .../cloud/vmmigration/v1/MigratingVmName.java | 0 .../vmmigration/v1/MigratingVmOrBuilder.java | 550 ++ .../cloud/vmmigration/v1/MigratingVmView.java | 154 + .../cloud/vmmigration/v1/MigrationError.java | 1182 ++-- .../v1/MigrationErrorOrBuilder.java | 158 + .../vmmigration/v1/NetworkInterface.java | 547 +- .../v1/NetworkInterfaceOrBuilder.java | 54 +- .../vmmigration/v1/OperationMetadata.java | 872 ++- .../v1/OperationMetadataOrBuilder.java | 96 +- .../vmmigration/v1/PauseMigrationRequest.java | 342 +- .../v1/PauseMigrationRequestOrBuilder.java | 29 + .../v1/PauseMigrationResponse.java | 238 +- .../v1/PauseMigrationResponseOrBuilder.java | 9 + .../v1/RemoveGroupMigrationRequest.java | 421 +- .../RemoveGroupMigrationRequestOrBuilder.java | 49 + .../v1/RemoveGroupMigrationResponse.java | 245 +- ...RemoveGroupMigrationResponseOrBuilder.java | 9 + .../vmmigration/v1/ReplicationCycle.java | 354 +- .../v1/ReplicationCycleOrBuilder.java | 29 +- .../cloud/vmmigration/v1/ReplicationSync.java | 330 +- .../v1/ReplicationSyncOrBuilder.java | 26 +- .../v1/ResumeMigrationRequest.java | 342 +- .../v1/ResumeMigrationRequestOrBuilder.java | 29 + .../v1/ResumeMigrationResponse.java | 238 +- .../v1/ResumeMigrationResponseOrBuilder.java | 9 + .../cloud/vmmigration/v1/SchedulePolicy.java | 362 +- .../v1/SchedulePolicyOrBuilder.java | 29 +- .../v1/SchedulingNodeAffinity.java | 568 +- .../v1/SchedulingNodeAffinityOrBuilder.java | 51 +- .../google/cloud/vmmigration/v1/Source.java | 1062 ++-- .../cloud/vmmigration/v1/SourceName.java | 0 .../cloud/vmmigration/v1/SourceOrBuilder.java | 109 +- .../vmmigration/v1/StartMigrationRequest.java | 342 +- .../v1/StartMigrationRequestOrBuilder.java | 29 + .../v1/StartMigrationResponse.java | 238 +- .../v1/StartMigrationResponseOrBuilder.java | 9 + .../cloud/vmmigration/v1/TargetProject.java | 815 +-- .../vmmigration/v1/TargetProjectName.java | 0 .../v1/TargetProjectOrBuilder.java | 99 +- .../vmmigration/v1/UpdateGroupRequest.java | 534 +- .../v1/UpdateGroupRequestOrBuilder.java | 52 +- .../v1/UpdateMigratingVmRequest.java | 556 +- .../v1/UpdateMigratingVmRequestOrBuilder.java | 55 +- .../vmmigration/v1/UpdateSourceRequest.java | 549 +- .../v1/UpdateSourceRequestOrBuilder.java | 52 +- .../v1/UpdateTargetProjectRequest.java | 556 +- .../UpdateTargetProjectRequestOrBuilder.java | 55 +- .../v1/UpgradeApplianceRequest.java | 831 +++ .../v1/UpgradeApplianceRequestOrBuilder.java | 69 + .../v1/UpgradeApplianceResponse.java | 429 ++ .../v1/UpgradeApplianceResponseOrBuilder.java | 9 + .../cloud/vmmigration/v1/UpgradeStatus.java | 1519 +++++ .../v1/UpgradeStatusOrBuilder.java | 122 + .../vmmigration/v1/UtilizationReport.java | 1544 ++--- .../vmmigration/v1/UtilizationReportName.java | 0 .../v1/UtilizationReportOrBuilder.java | 178 +- .../vmmigration/v1/UtilizationReportView.java | 77 +- .../vmmigration/v1/VmMigrationProto.java | 1886 ++++++ .../vmmigration/v1/VmUtilizationInfo.java | 557 +- .../v1/VmUtilizationInfoOrBuilder.java | 43 +- .../vmmigration/v1/VmUtilizationMetrics.java | 522 +- .../v1/VmUtilizationMetricsOrBuilder.java | 42 +- .../vmmigration/v1/VmwareSourceDetails.java | 578 +- .../v1/VmwareSourceDetailsOrBuilder.java | 62 +- .../cloud/vmmigration/v1/VmwareVmDetails.java | 1161 ++-- .../v1/VmwareVmDetailsOrBuilder.java | 108 +- .../vmmigration/v1/VmwareVmsDetails.java | 379 +- .../v1/VmwareVmsDetailsOrBuilder.java | 36 +- .../cloud/vmmigration/v1/vmmigration.proto | 647 +- .../getsource/SyncGetSource.java | 0 .../AsyncAddGroupMigration.java | 0 .../AsyncAddGroupMigrationLRO.java | 0 .../SyncAddGroupMigration.java | 0 .../SyncAddGroupMigrationGroupname.java | 0 .../SyncAddGroupMigrationString.java | 0 .../cancelclonejob/AsyncCancelCloneJob.java | 0 .../AsyncCancelCloneJobLRO.java | 0 .../cancelclonejob/SyncCancelCloneJob.java | 0 .../SyncCancelCloneJobClonejobname.java | 0 .../SyncCancelCloneJobString.java | 0 .../AsyncCancelCutoverJob.java | 0 .../AsyncCancelCutoverJobLRO.java | 0 .../SyncCancelCutoverJob.java | 0 .../SyncCancelCutoverJobCutoverjobname.java | 0 .../SyncCancelCutoverJobString.java | 0 .../SyncCreateSetCredentialsProvider.java | 0 .../SyncCreateSetCredentialsProvider1.java | 0 .../create/SyncCreateSetEndpoint.java | 0 .../createclonejob/AsyncCreateCloneJob.java | 0 .../AsyncCreateCloneJobLRO.java | 0 .../createclonejob/SyncCreateCloneJob.java | 0 ...CloneJobMigratingvmnameClonejobString.java | 0 ...yncCreateCloneJobStringClonejobString.java | 0 .../AsyncCreateCutoverJob.java | 0 .../AsyncCreateCutoverJobLRO.java | 0 .../SyncCreateCutoverJob.java | 0 ...verJobMigratingvmnameCutoverjobString.java | 0 ...reateCutoverJobStringCutoverjobString.java | 0 .../AsyncCreateDatacenterConnector.java | 0 .../AsyncCreateDatacenterConnectorLRO.java | 0 .../SyncCreateDatacenterConnector.java | 0 ...orSourcenameDatacenterconnectorString.java | 0 ...nectorStringDatacenterconnectorString.java | 0 .../creategroup/AsyncCreateGroup.java | 0 .../creategroup/AsyncCreateGroupLRO.java | 0 .../creategroup/SyncCreateGroup.java | 0 ...yncCreateGroupLocationnameGroupString.java | 0 .../SyncCreateGroupStringGroupString.java | 0 .../AsyncCreateMigratingVm.java | 0 .../AsyncCreateMigratingVmLRO.java | 0 .../SyncCreateMigratingVm.java | 0 ...igratingVmSourcenameMigratingvmString.java | 0 ...ateMigratingVmStringMigratingvmString.java | 0 .../createsource/AsyncCreateSource.java | 0 .../createsource/AsyncCreateSourceLRO.java | 0 .../createsource/SyncCreateSource.java | 0 ...cCreateSourceLocationnameSourceString.java | 0 .../SyncCreateSourceStringSourceString.java | 0 .../AsyncCreateTargetProject.java | 0 .../AsyncCreateTargetProjectLRO.java | 0 .../SyncCreateTargetProject.java | 0 ...rojectLocationnameTargetprojectString.java | 0 ...argetProjectStringTargetprojectString.java | 0 .../AsyncCreateUtilizationReport.java | 0 .../AsyncCreateUtilizationReportLRO.java | 0 .../SyncCreateUtilizationReport.java | 0 ...portSourcenameUtilizationreportString.java | 0 ...onReportStringUtilizationreportString.java | 0 .../AsyncDeleteDatacenterConnector.java | 0 .../AsyncDeleteDatacenterConnectorLRO.java | 0 .../SyncDeleteDatacenterConnector.java | 0 ...enterConnectorDatacenterconnectorname.java | 0 .../SyncDeleteDatacenterConnectorString.java | 0 .../deletegroup/AsyncDeleteGroup.java | 0 .../deletegroup/AsyncDeleteGroupLRO.java | 0 .../deletegroup/SyncDeleteGroup.java | 0 .../deletegroup/SyncDeleteGroupGroupname.java | 0 .../deletegroup/SyncDeleteGroupString.java | 0 .../AsyncDeleteMigratingVm.java | 0 .../AsyncDeleteMigratingVmLRO.java | 0 .../SyncDeleteMigratingVm.java | 0 .../SyncDeleteMigratingVmMigratingvmname.java | 0 .../SyncDeleteMigratingVmString.java | 0 .../deletesource/AsyncDeleteSource.java | 0 .../deletesource/AsyncDeleteSourceLRO.java | 0 .../deletesource/SyncDeleteSource.java | 0 .../SyncDeleteSourceSourcename.java | 0 .../deletesource/SyncDeleteSourceString.java | 0 .../AsyncDeleteTargetProject.java | 0 .../AsyncDeleteTargetProjectLRO.java | 0 .../SyncDeleteTargetProject.java | 0 .../SyncDeleteTargetProjectString.java | 0 ...cDeleteTargetProjectTargetprojectname.java | 0 .../AsyncDeleteUtilizationReport.java | 0 .../AsyncDeleteUtilizationReportLRO.java | 0 .../SyncDeleteUtilizationReport.java | 0 .../SyncDeleteUtilizationReportString.java | 0 ...tilizationReportUtilizationreportname.java | 0 .../fetchinventory/AsyncFetchInventory.java | 0 .../fetchinventory/SyncFetchInventory.java | 0 .../SyncFetchInventorySourcename.java | 0 .../SyncFetchInventoryString.java | 0 .../AsyncFinalizeMigration.java | 0 .../AsyncFinalizeMigrationLRO.java | 0 .../SyncFinalizeMigration.java | 0 .../SyncFinalizeMigrationMigratingvmname.java | 0 .../SyncFinalizeMigrationString.java | 0 .../getclonejob/AsyncGetCloneJob.java | 0 .../getclonejob/SyncGetCloneJob.java | 0 .../SyncGetCloneJobClonejobname.java | 0 .../getclonejob/SyncGetCloneJobString.java | 0 .../getcutoverjob/AsyncGetCutoverJob.java | 0 .../getcutoverjob/SyncGetCutoverJob.java | 0 .../SyncGetCutoverJobCutoverjobname.java | 0 .../SyncGetCutoverJobString.java | 0 .../AsyncGetDatacenterConnector.java | 0 .../SyncGetDatacenterConnector.java | 0 ...enterConnectorDatacenterconnectorname.java | 0 .../SyncGetDatacenterConnectorString.java | 0 .../getgroup/AsyncGetGroup.java | 0 .../getgroup/SyncGetGroup.java | 0 .../getgroup/SyncGetGroupGroupname.java | 0 .../getgroup/SyncGetGroupString.java | 0 .../getmigratingvm/AsyncGetMigratingVm.java | 2 + .../getmigratingvm/SyncGetMigratingVm.java | 2 + .../SyncGetMigratingVmMigratingvmname.java | 0 .../SyncGetMigratingVmString.java | 0 .../getsource/AsyncGetSource.java | 0 .../getsource/SyncGetSource.java | 0 .../getsource/SyncGetSourceSourcename.java | 0 .../getsource/SyncGetSourceString.java | 0 .../AsyncGetTargetProject.java | 0 .../SyncGetTargetProject.java | 0 .../SyncGetTargetProjectString.java | 0 ...SyncGetTargetProjectTargetprojectname.java | 0 .../AsyncGetUtilizationReport.java | 0 .../SyncGetUtilizationReport.java | 0 .../SyncGetUtilizationReportString.java | 0 ...tilizationReportUtilizationreportname.java | 0 .../listclonejobs/AsyncListCloneJobs.java | 0 .../AsyncListCloneJobsPaged.java | 0 .../listclonejobs/SyncListCloneJobs.java | 0 .../SyncListCloneJobsMigratingvmname.java | 0 .../SyncListCloneJobsString.java | 0 .../listcutoverjobs/AsyncListCutoverJobs.java | 0 .../AsyncListCutoverJobsPaged.java | 0 .../listcutoverjobs/SyncListCutoverJobs.java | 0 .../SyncListCutoverJobsMigratingvmname.java | 0 .../SyncListCutoverJobsString.java | 0 .../AsyncListDatacenterConnectors.java | 0 .../AsyncListDatacenterConnectorsPaged.java | 0 .../SyncListDatacenterConnectors.java | 0 ...yncListDatacenterConnectorsSourcename.java | 0 .../SyncListDatacenterConnectorsString.java | 0 .../listgroups/AsyncListGroups.java | 0 .../listgroups/AsyncListGroupsPaged.java | 0 .../listgroups/SyncListGroups.java | 0 .../SyncListGroupsLocationname.java | 0 .../listgroups/SyncListGroupsString.java | 0 .../AsyncListMigratingVms.java | 2 + .../AsyncListMigratingVmsPaged.java | 2 + .../SyncListMigratingVms.java | 2 + .../SyncListMigratingVmsSourcename.java | 0 .../SyncListMigratingVmsString.java | 0 .../listsources/AsyncListSources.java | 0 .../listsources/AsyncListSourcesPaged.java | 0 .../listsources/SyncListSources.java | 0 .../SyncListSourcesLocationname.java | 0 .../listsources/SyncListSourcesString.java | 0 .../AsyncListTargetProjects.java | 0 .../AsyncListTargetProjectsPaged.java | 0 .../SyncListTargetProjects.java | 0 .../SyncListTargetProjectsLocationname.java | 0 .../SyncListTargetProjectsString.java | 0 .../AsyncListUtilizationReports.java | 0 .../AsyncListUtilizationReportsPaged.java | 0 .../SyncListUtilizationReports.java | 0 .../SyncListUtilizationReportsSourcename.java | 0 .../SyncListUtilizationReportsString.java | 0 .../pausemigration/AsyncPauseMigration.java | 0 .../AsyncPauseMigrationLRO.java | 0 .../pausemigration/SyncPauseMigration.java | 0 .../AsyncRemoveGroupMigration.java | 0 .../AsyncRemoveGroupMigrationLRO.java | 0 .../SyncRemoveGroupMigration.java | 0 .../SyncRemoveGroupMigrationGroupname.java | 0 .../SyncRemoveGroupMigrationString.java | 0 .../resumemigration/AsyncResumeMigration.java | 0 .../AsyncResumeMigrationLRO.java | 0 .../resumemigration/SyncResumeMigration.java | 0 .../startmigration/AsyncStartMigration.java | 0 .../AsyncStartMigrationLRO.java | 0 .../startmigration/SyncStartMigration.java | 0 .../SyncStartMigrationMigratingvmname.java | 0 .../SyncStartMigrationString.java | 0 .../updategroup/AsyncUpdateGroup.java | 0 .../updategroup/AsyncUpdateGroupLRO.java | 0 .../updategroup/SyncUpdateGroup.java | 0 .../SyncUpdateGroupGroupFieldmask.java | 0 .../AsyncUpdateMigratingVm.java | 0 .../AsyncUpdateMigratingVmLRO.java | 0 .../SyncUpdateMigratingVm.java | 0 ...UpdateMigratingVmMigratingvmFieldmask.java | 0 .../updatesource/AsyncUpdateSource.java | 0 .../updatesource/AsyncUpdateSourceLRO.java | 0 .../updatesource/SyncUpdateSource.java | 0 .../SyncUpdateSourceSourceFieldmask.java | 0 .../AsyncUpdateTargetProject.java | 0 .../AsyncUpdateTargetProjectLRO.java | 0 .../SyncUpdateTargetProject.java | 0 ...teTargetProjectTargetprojectFieldmask.java | 0 .../AsyncUpgradeAppliance.java | 51 + .../AsyncUpgradeApplianceLRO.java | 52 + .../SyncUpgradeAppliance.java | 47 + .../getsource/SyncGetSource.java | 0 .../v1/AddGroupMigrationRequestOrBuilder.java | 79 - .../AddGroupMigrationResponseOrBuilder.java | 24 - .../v1/CancelCloneJobRequestOrBuilder.java | 54 - .../v1/CancelCloneJobResponseOrBuilder.java | 24 - .../v1/CancelCutoverJobRequestOrBuilder.java | 54 - .../v1/CancelCutoverJobResponseOrBuilder.java | 24 - .../v1/DeleteMigratingVmRequestOrBuilder.java | 54 - .../v1/FetchInventoryRequestOrBuilder.java | 68 - .../v1/FetchInventoryResponseOrBuilder.java | 109 - .../v1/FinalizeMigrationRequestOrBuilder.java | 54 - .../FinalizeMigrationResponseOrBuilder.java | 24 - .../v1/GetCloneJobRequestOrBuilder.java | 54 - .../v1/GetCutoverJobRequestOrBuilder.java | 54 - ...etDatacenterConnectorRequestOrBuilder.java | 54 - .../v1/GetGroupRequestOrBuilder.java | 54 - .../v1/GetMigratingVmRequestOrBuilder.java | 54 - .../v1/GetSourceRequestOrBuilder.java | 54 - .../v1/GetTargetProjectRequestOrBuilder.java | 54 - .../GetUtilizationReportRequestOrBuilder.java | 85 - .../cloud/vmmigration/v1/MigratingVm.java | 4731 --------------- .../vmmigration/v1/MigratingVmOrBuilder.java | 569 -- .../v1/MigrationErrorOrBuilder.java | 235 - .../v1/PauseMigrationRequestOrBuilder.java | 54 - .../v1/PauseMigrationResponseOrBuilder.java | 24 - .../RemoveGroupMigrationRequestOrBuilder.java | 79 - ...RemoveGroupMigrationResponseOrBuilder.java | 24 - .../v1/ResumeMigrationRequestOrBuilder.java | 54 - .../v1/ResumeMigrationResponseOrBuilder.java | 24 - .../v1/StartMigrationRequestOrBuilder.java | 54 - .../v1/StartMigrationResponseOrBuilder.java | 24 - .../vmmigration/v1/VmMigrationProto.java | 1988 ------ 447 files changed, 42322 insertions(+), 48720 deletions(-) delete mode 100644 grpc-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/VmMigrationGrpc.java rename {google-cloud-vmmigration => owl-bot-staging/v1/google-cloud-vmmigration}/src/main/java/com/google/cloud/vmmigration/v1/VmMigrationClient.java (97%) rename {google-cloud-vmmigration => owl-bot-staging/v1/google-cloud-vmmigration}/src/main/java/com/google/cloud/vmmigration/v1/VmMigrationSettings.java (96%) rename {google-cloud-vmmigration => owl-bot-staging/v1/google-cloud-vmmigration}/src/main/java/com/google/cloud/vmmigration/v1/gapic_metadata.json (98%) rename {google-cloud-vmmigration => owl-bot-staging/v1/google-cloud-vmmigration}/src/main/java/com/google/cloud/vmmigration/v1/package-info.java (100%) rename {google-cloud-vmmigration => owl-bot-staging/v1/google-cloud-vmmigration}/src/main/java/com/google/cloud/vmmigration/v1/stub/GrpcVmMigrationCallableFactory.java (100%) rename {google-cloud-vmmigration => owl-bot-staging/v1/google-cloud-vmmigration}/src/main/java/com/google/cloud/vmmigration/v1/stub/GrpcVmMigrationStub.java (97%) rename {google-cloud-vmmigration => owl-bot-staging/v1/google-cloud-vmmigration}/src/main/java/com/google/cloud/vmmigration/v1/stub/HttpJsonVmMigrationCallableFactory.java (100%) rename {google-cloud-vmmigration => owl-bot-staging/v1/google-cloud-vmmigration}/src/main/java/com/google/cloud/vmmigration/v1/stub/HttpJsonVmMigrationStub.java (97%) rename {google-cloud-vmmigration => owl-bot-staging/v1/google-cloud-vmmigration}/src/main/java/com/google/cloud/vmmigration/v1/stub/VmMigrationStub.java (97%) rename {google-cloud-vmmigration => owl-bot-staging/v1/google-cloud-vmmigration}/src/main/java/com/google/cloud/vmmigration/v1/stub/VmMigrationStubSettings.java (96%) rename {google-cloud-vmmigration => owl-bot-staging/v1/google-cloud-vmmigration}/src/test/java/com/google/cloud/vmmigration/v1/MockVmMigration.java (100%) rename {google-cloud-vmmigration => owl-bot-staging/v1/google-cloud-vmmigration}/src/test/java/com/google/cloud/vmmigration/v1/MockVmMigrationImpl.java (97%) rename {google-cloud-vmmigration => owl-bot-staging/v1/google-cloud-vmmigration}/src/test/java/com/google/cloud/vmmigration/v1/VmMigrationClientHttpJsonTest.java (97%) rename {google-cloud-vmmigration => owl-bot-staging/v1/google-cloud-vmmigration}/src/test/java/com/google/cloud/vmmigration/v1/VmMigrationClientTest.java (97%) create mode 100644 owl-bot-staging/v1/grpc-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/VmMigrationGrpc.java rename {proto-google-cloud-vmmigration-v1 => owl-bot-staging/v1/proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/AddGroupMigrationRequest.java (66%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/AddGroupMigrationRequestOrBuilder.java rename {proto-google-cloud-vmmigration-v1 => owl-bot-staging/v1/proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/AddGroupMigrationResponse.java (65%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/AddGroupMigrationResponseOrBuilder.java create mode 100644 owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ApplianceVersion.java create mode 100644 owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ApplianceVersionOrBuilder.java rename {proto-google-cloud-vmmigration-v1 => owl-bot-staging/v1/proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/AppliedLicense.java (71%) rename {proto-google-cloud-vmmigration-v1 => owl-bot-staging/v1/proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/AppliedLicenseOrBuilder.java (61%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/AvailableUpdates.java create mode 100644 owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/AvailableUpdatesOrBuilder.java rename {proto-google-cloud-vmmigration-v1 => owl-bot-staging/v1/proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/CancelCloneJobRequest.java (64%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CancelCloneJobRequestOrBuilder.java rename {proto-google-cloud-vmmigration-v1 => owl-bot-staging/v1/proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/CancelCloneJobResponse.java (65%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CancelCloneJobResponseOrBuilder.java rename {proto-google-cloud-vmmigration-v1 => owl-bot-staging/v1/proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/CancelCutoverJobRequest.java (64%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CancelCutoverJobRequestOrBuilder.java rename {proto-google-cloud-vmmigration-v1 => owl-bot-staging/v1/proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/CancelCutoverJobResponse.java (65%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CancelCutoverJobResponseOrBuilder.java rename {proto-google-cloud-vmmigration-v1 => owl-bot-staging/v1/proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/CloneJob.java (61%) rename {proto-google-cloud-vmmigration-v1 => owl-bot-staging/v1/proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/CloneJobName.java (100%) rename {proto-google-cloud-vmmigration-v1 => owl-bot-staging/v1/proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/CloneJobOrBuilder.java (60%) rename {proto-google-cloud-vmmigration-v1 => owl-bot-staging/v1/proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/ComputeEngineBootOption.java (68%) rename {proto-google-cloud-vmmigration-v1 => owl-bot-staging/v1/proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/ComputeEngineDiskType.java (70%) rename {proto-google-cloud-vmmigration-v1 => owl-bot-staging/v1/proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/ComputeEngineLicenseType.java (69%) rename {proto-google-cloud-vmmigration-v1 => owl-bot-staging/v1/proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/ComputeEngineTargetDefaults.java (64%) rename {proto-google-cloud-vmmigration-v1 => owl-bot-staging/v1/proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/ComputeEngineTargetDefaultsOrBuilder.java (73%) rename {proto-google-cloud-vmmigration-v1 => owl-bot-staging/v1/proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/ComputeEngineTargetDetails.java (65%) rename {proto-google-cloud-vmmigration-v1 => owl-bot-staging/v1/proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/ComputeEngineTargetDetailsOrBuilder.java (77%) rename {proto-google-cloud-vmmigration-v1 => owl-bot-staging/v1/proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/ComputeScheduling.java (73%) rename {proto-google-cloud-vmmigration-v1 => owl-bot-staging/v1/proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/ComputeSchedulingOrBuilder.java (81%) rename {proto-google-cloud-vmmigration-v1 => owl-bot-staging/v1/proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/CreateCloneJobRequest.java (68%) rename {proto-google-cloud-vmmigration-v1 => owl-bot-staging/v1/proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/CreateCloneJobRequestOrBuilder.java (67%) rename {proto-google-cloud-vmmigration-v1 => owl-bot-staging/v1/proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/CreateCutoverJobRequest.java (69%) rename {proto-google-cloud-vmmigration-v1 => owl-bot-staging/v1/proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/CreateCutoverJobRequestOrBuilder.java (67%) rename {proto-google-cloud-vmmigration-v1 => owl-bot-staging/v1/proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/CreateDatacenterConnectorRequest.java (68%) rename {proto-google-cloud-vmmigration-v1 => owl-bot-staging/v1/proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/CreateDatacenterConnectorRequestOrBuilder.java (69%) rename {proto-google-cloud-vmmigration-v1 => owl-bot-staging/v1/proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/CreateGroupRequest.java (71%) rename {proto-google-cloud-vmmigration-v1 => owl-bot-staging/v1/proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/CreateGroupRequestOrBuilder.java (71%) rename {proto-google-cloud-vmmigration-v1 => owl-bot-staging/v1/proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/CreateMigratingVmRequest.java (69%) rename {proto-google-cloud-vmmigration-v1 => owl-bot-staging/v1/proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/CreateMigratingVmRequestOrBuilder.java (67%) rename {proto-google-cloud-vmmigration-v1 => owl-bot-staging/v1/proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/CreateSourceRequest.java (69%) rename {proto-google-cloud-vmmigration-v1 => owl-bot-staging/v1/proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/CreateSourceRequestOrBuilder.java (71%) rename {proto-google-cloud-vmmigration-v1 => owl-bot-staging/v1/proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/CreateTargetProjectRequest.java (69%) rename {proto-google-cloud-vmmigration-v1 => owl-bot-staging/v1/proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/CreateTargetProjectRequestOrBuilder.java (67%) rename {proto-google-cloud-vmmigration-v1 => owl-bot-staging/v1/proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/CreateUtilizationReportRequest.java (68%) rename {proto-google-cloud-vmmigration-v1 => owl-bot-staging/v1/proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/CreateUtilizationReportRequestOrBuilder.java (68%) rename {proto-google-cloud-vmmigration-v1 => owl-bot-staging/v1/proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/CutoverJob.java (63%) rename {proto-google-cloud-vmmigration-v1 => owl-bot-staging/v1/proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/CutoverJobName.java (100%) rename {proto-google-cloud-vmmigration-v1 => owl-bot-staging/v1/proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/CutoverJobOrBuilder.java (66%) rename {proto-google-cloud-vmmigration-v1 => owl-bot-staging/v1/proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/DatacenterConnector.java (51%) rename {proto-google-cloud-vmmigration-v1 => owl-bot-staging/v1/proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/DatacenterConnectorName.java (100%) rename {proto-google-cloud-vmmigration-v1 => owl-bot-staging/v1/proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/DatacenterConnectorOrBuilder.java (53%) rename {proto-google-cloud-vmmigration-v1 => owl-bot-staging/v1/proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/DeleteDatacenterConnectorRequest.java (69%) rename {proto-google-cloud-vmmigration-v1 => owl-bot-staging/v1/proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/DeleteDatacenterConnectorRequestOrBuilder.java (68%) rename {proto-google-cloud-vmmigration-v1 => owl-bot-staging/v1/proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/DeleteGroupRequest.java (72%) rename {proto-google-cloud-vmmigration-v1 => owl-bot-staging/v1/proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/DeleteGroupRequestOrBuilder.java (69%) rename {proto-google-cloud-vmmigration-v1 => owl-bot-staging/v1/proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/DeleteMigratingVmRequest.java (64%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/DeleteMigratingVmRequestOrBuilder.java rename {proto-google-cloud-vmmigration-v1 => owl-bot-staging/v1/proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/DeleteSourceRequest.java (72%) rename {proto-google-cloud-vmmigration-v1 => owl-bot-staging/v1/proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/DeleteSourceRequestOrBuilder.java (69%) rename {proto-google-cloud-vmmigration-v1 => owl-bot-staging/v1/proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/DeleteTargetProjectRequest.java (72%) rename {proto-google-cloud-vmmigration-v1 => owl-bot-staging/v1/proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/DeleteTargetProjectRequestOrBuilder.java (69%) rename {proto-google-cloud-vmmigration-v1 => owl-bot-staging/v1/proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/DeleteUtilizationReportRequest.java (70%) rename {proto-google-cloud-vmmigration-v1 => owl-bot-staging/v1/proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/DeleteUtilizationReportRequestOrBuilder.java (69%) rename {proto-google-cloud-vmmigration-v1 => owl-bot-staging/v1/proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/FetchInventoryRequest.java (66%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/FetchInventoryRequestOrBuilder.java rename {proto-google-cloud-vmmigration-v1 => owl-bot-staging/v1/proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/FetchInventoryResponse.java (60%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/FetchInventoryResponseOrBuilder.java rename {proto-google-cloud-vmmigration-v1 => owl-bot-staging/v1/proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/FinalizeMigrationRequest.java (64%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/FinalizeMigrationRequestOrBuilder.java rename {proto-google-cloud-vmmigration-v1 => owl-bot-staging/v1/proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/FinalizeMigrationResponse.java (65%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/FinalizeMigrationResponseOrBuilder.java rename {proto-google-cloud-vmmigration-v1 => owl-bot-staging/v1/proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/GetCloneJobRequest.java (64%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetCloneJobRequestOrBuilder.java rename {proto-google-cloud-vmmigration-v1 => owl-bot-staging/v1/proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/GetCutoverJobRequest.java (64%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetCutoverJobRequestOrBuilder.java rename {proto-google-cloud-vmmigration-v1 => owl-bot-staging/v1/proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/GetDatacenterConnectorRequest.java (63%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetDatacenterConnectorRequestOrBuilder.java rename {proto-google-cloud-vmmigration-v1 => owl-bot-staging/v1/proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/GetGroupRequest.java (65%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetGroupRequestOrBuilder.java rename {proto-google-cloud-vmmigration-v1 => owl-bot-staging/v1/proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/GetMigratingVmRequest.java (55%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetMigratingVmRequestOrBuilder.java rename {proto-google-cloud-vmmigration-v1 => owl-bot-staging/v1/proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/GetSourceRequest.java (64%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetSourceRequestOrBuilder.java rename {proto-google-cloud-vmmigration-v1 => owl-bot-staging/v1/proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/GetTargetProjectRequest.java (64%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetTargetProjectRequestOrBuilder.java rename {proto-google-cloud-vmmigration-v1 => owl-bot-staging/v1/proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/GetUtilizationReportRequest.java (62%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetUtilizationReportRequestOrBuilder.java rename {proto-google-cloud-vmmigration-v1 => owl-bot-staging/v1/proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/Group.java (66%) rename {proto-google-cloud-vmmigration-v1 => owl-bot-staging/v1/proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/GroupName.java (100%) rename {proto-google-cloud-vmmigration-v1 => owl-bot-staging/v1/proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/GroupOrBuilder.java (65%) rename {proto-google-cloud-vmmigration-v1 => owl-bot-staging/v1/proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/ListCloneJobsRequest.java (70%) rename {proto-google-cloud-vmmigration-v1 => owl-bot-staging/v1/proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/ListCloneJobsRequestOrBuilder.java (63%) rename {proto-google-cloud-vmmigration-v1 => owl-bot-staging/v1/proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/ListCloneJobsResponse.java (67%) rename {proto-google-cloud-vmmigration-v1 => owl-bot-staging/v1/proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/ListCloneJobsResponseOrBuilder.java (57%) rename {proto-google-cloud-vmmigration-v1 => owl-bot-staging/v1/proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/ListCutoverJobsRequest.java (69%) rename {proto-google-cloud-vmmigration-v1 => owl-bot-staging/v1/proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/ListCutoverJobsRequestOrBuilder.java (63%) rename {proto-google-cloud-vmmigration-v1 => owl-bot-staging/v1/proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/ListCutoverJobsResponse.java (67%) rename {proto-google-cloud-vmmigration-v1 => owl-bot-staging/v1/proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/ListCutoverJobsResponseOrBuilder.java (57%) rename {proto-google-cloud-vmmigration-v1 => owl-bot-staging/v1/proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/ListDatacenterConnectorsRequest.java (67%) rename {proto-google-cloud-vmmigration-v1 => owl-bot-staging/v1/proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/ListDatacenterConnectorsRequestOrBuilder.java (62%) rename {proto-google-cloud-vmmigration-v1 => owl-bot-staging/v1/proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/ListDatacenterConnectorsResponse.java (65%) rename {proto-google-cloud-vmmigration-v1 => owl-bot-staging/v1/proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/ListDatacenterConnectorsResponseOrBuilder.java (58%) rename {proto-google-cloud-vmmigration-v1 => owl-bot-staging/v1/proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/ListGroupsRequest.java (71%) rename {proto-google-cloud-vmmigration-v1 => owl-bot-staging/v1/proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/ListGroupsRequestOrBuilder.java (68%) rename {proto-google-cloud-vmmigration-v1 => owl-bot-staging/v1/proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/ListGroupsResponse.java (67%) rename {proto-google-cloud-vmmigration-v1 => owl-bot-staging/v1/proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/ListGroupsResponseOrBuilder.java (57%) rename {proto-google-cloud-vmmigration-v1 => owl-bot-staging/v1/proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/ListMigratingVmsRequest.java (64%) rename {proto-google-cloud-vmmigration-v1 => owl-bot-staging/v1/proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/ListMigratingVmsRequestOrBuilder.java (64%) rename {proto-google-cloud-vmmigration-v1 => owl-bot-staging/v1/proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/ListMigratingVmsResponse.java (67%) rename {proto-google-cloud-vmmigration-v1 => owl-bot-staging/v1/proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/ListMigratingVmsResponseOrBuilder.java (57%) rename {proto-google-cloud-vmmigration-v1 => owl-bot-staging/v1/proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/ListSourcesRequest.java (71%) rename {proto-google-cloud-vmmigration-v1 => owl-bot-staging/v1/proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/ListSourcesRequestOrBuilder.java (68%) rename {proto-google-cloud-vmmigration-v1 => owl-bot-staging/v1/proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/ListSourcesResponse.java (67%) rename {proto-google-cloud-vmmigration-v1 => owl-bot-staging/v1/proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/ListSourcesResponseOrBuilder.java (57%) rename {proto-google-cloud-vmmigration-v1 => owl-bot-staging/v1/proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/ListTargetProjectsRequest.java (71%) rename {proto-google-cloud-vmmigration-v1 => owl-bot-staging/v1/proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/ListTargetProjectsRequestOrBuilder.java (68%) rename {proto-google-cloud-vmmigration-v1 => owl-bot-staging/v1/proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/ListTargetProjectsResponse.java (68%) rename {proto-google-cloud-vmmigration-v1 => owl-bot-staging/v1/proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/ListTargetProjectsResponseOrBuilder.java (58%) rename {proto-google-cloud-vmmigration-v1 => owl-bot-staging/v1/proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/ListUtilizationReportsRequest.java (67%) rename {proto-google-cloud-vmmigration-v1 => owl-bot-staging/v1/proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/ListUtilizationReportsRequestOrBuilder.java (63%) rename {proto-google-cloud-vmmigration-v1 => owl-bot-staging/v1/proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/ListUtilizationReportsResponse.java (66%) rename {proto-google-cloud-vmmigration-v1 => owl-bot-staging/v1/proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/ListUtilizationReportsResponseOrBuilder.java (58%) rename {proto-google-cloud-vmmigration-v1 => owl-bot-staging/v1/proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/LocationName.java (100%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/MigratingVm.java rename {proto-google-cloud-vmmigration-v1 => owl-bot-staging/v1/proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/MigratingVmName.java (100%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/MigratingVmOrBuilder.java create mode 100644 owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/MigratingVmView.java rename {proto-google-cloud-vmmigration-v1 => owl-bot-staging/v1/proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/MigrationError.java (64%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/MigrationErrorOrBuilder.java rename {proto-google-cloud-vmmigration-v1 => owl-bot-staging/v1/proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/NetworkInterface.java (71%) rename {proto-google-cloud-vmmigration-v1 => owl-bot-staging/v1/proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/NetworkInterfaceOrBuilder.java (65%) rename {proto-google-cloud-vmmigration-v1 => owl-bot-staging/v1/proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/OperationMetadata.java (70%) rename {proto-google-cloud-vmmigration-v1 => owl-bot-staging/v1/proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/OperationMetadataOrBuilder.java (72%) rename {proto-google-cloud-vmmigration-v1 => owl-bot-staging/v1/proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/PauseMigrationRequest.java (64%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/PauseMigrationRequestOrBuilder.java rename {proto-google-cloud-vmmigration-v1 => owl-bot-staging/v1/proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/PauseMigrationResponse.java (65%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/PauseMigrationResponseOrBuilder.java rename {proto-google-cloud-vmmigration-v1 => owl-bot-staging/v1/proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/RemoveGroupMigrationRequest.java (66%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/RemoveGroupMigrationRequestOrBuilder.java rename {proto-google-cloud-vmmigration-v1 => owl-bot-staging/v1/proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/RemoveGroupMigrationResponse.java (64%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/RemoveGroupMigrationResponseOrBuilder.java rename {proto-google-cloud-vmmigration-v1 => owl-bot-staging/v1/proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/ReplicationCycle.java (70%) rename {proto-google-cloud-vmmigration-v1 => owl-bot-staging/v1/proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/ReplicationCycleOrBuilder.java (62%) rename {proto-google-cloud-vmmigration-v1 => owl-bot-staging/v1/proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/ReplicationSync.java (69%) rename {proto-google-cloud-vmmigration-v1 => owl-bot-staging/v1/proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/ReplicationSyncOrBuilder.java (61%) rename {proto-google-cloud-vmmigration-v1 => owl-bot-staging/v1/proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/ResumeMigrationRequest.java (64%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ResumeMigrationRequestOrBuilder.java rename {proto-google-cloud-vmmigration-v1 => owl-bot-staging/v1/proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/ResumeMigrationResponse.java (65%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ResumeMigrationResponseOrBuilder.java rename {proto-google-cloud-vmmigration-v1 => owl-bot-staging/v1/proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/SchedulePolicy.java (70%) rename {proto-google-cloud-vmmigration-v1 => owl-bot-staging/v1/proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/SchedulePolicyOrBuilder.java (66%) rename {proto-google-cloud-vmmigration-v1 => owl-bot-staging/v1/proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/SchedulingNodeAffinity.java (71%) rename {proto-google-cloud-vmmigration-v1 => owl-bot-staging/v1/proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/SchedulingNodeAffinityOrBuilder.java (70%) rename {proto-google-cloud-vmmigration-v1 => owl-bot-staging/v1/proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/Source.java (65%) rename {proto-google-cloud-vmmigration-v1 => owl-bot-staging/v1/proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/SourceName.java (100%) rename {proto-google-cloud-vmmigration-v1 => owl-bot-staging/v1/proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/SourceOrBuilder.java (70%) rename {proto-google-cloud-vmmigration-v1 => owl-bot-staging/v1/proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/StartMigrationRequest.java (64%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/StartMigrationRequestOrBuilder.java rename {proto-google-cloud-vmmigration-v1 => owl-bot-staging/v1/proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/StartMigrationResponse.java (65%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/StartMigrationResponseOrBuilder.java rename {proto-google-cloud-vmmigration-v1 => owl-bot-staging/v1/proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/TargetProject.java (65%) rename {proto-google-cloud-vmmigration-v1 => owl-bot-staging/v1/proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/TargetProjectName.java (100%) rename {proto-google-cloud-vmmigration-v1 => owl-bot-staging/v1/proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/TargetProjectOrBuilder.java (61%) rename {proto-google-cloud-vmmigration-v1 => owl-bot-staging/v1/proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/UpdateGroupRequest.java (75%) rename {proto-google-cloud-vmmigration-v1 => owl-bot-staging/v1/proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/UpdateGroupRequestOrBuilder.java (81%) rename {proto-google-cloud-vmmigration-v1 => owl-bot-staging/v1/proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/UpdateMigratingVmRequest.java (72%) rename {proto-google-cloud-vmmigration-v1 => owl-bot-staging/v1/proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/UpdateMigratingVmRequestOrBuilder.java (77%) rename {proto-google-cloud-vmmigration-v1 => owl-bot-staging/v1/proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/UpdateSourceRequest.java (73%) rename {proto-google-cloud-vmmigration-v1 => owl-bot-staging/v1/proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/UpdateSourceRequestOrBuilder.java (81%) rename {proto-google-cloud-vmmigration-v1 => owl-bot-staging/v1/proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/UpdateTargetProjectRequest.java (72%) rename {proto-google-cloud-vmmigration-v1 => owl-bot-staging/v1/proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/UpdateTargetProjectRequestOrBuilder.java (77%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/UpgradeApplianceRequest.java create mode 100644 owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/UpgradeApplianceRequestOrBuilder.java create mode 100644 owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/UpgradeApplianceResponse.java create mode 100644 owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/UpgradeApplianceResponseOrBuilder.java create mode 100644 owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/UpgradeStatus.java create mode 100644 owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/UpgradeStatusOrBuilder.java rename {proto-google-cloud-vmmigration-v1 => owl-bot-staging/v1/proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/UtilizationReport.java (69%) rename {proto-google-cloud-vmmigration-v1 => owl-bot-staging/v1/proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/UtilizationReportName.java (100%) rename {proto-google-cloud-vmmigration-v1 => owl-bot-staging/v1/proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/UtilizationReportOrBuilder.java (70%) rename {proto-google-cloud-vmmigration-v1 => owl-bot-staging/v1/proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/UtilizationReportView.java (71%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/VmMigrationProto.java rename {proto-google-cloud-vmmigration-v1 => owl-bot-staging/v1/proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/VmUtilizationInfo.java (71%) rename {proto-google-cloud-vmmigration-v1 => owl-bot-staging/v1/proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/VmUtilizationInfoOrBuilder.java (73%) rename {proto-google-cloud-vmmigration-v1 => owl-bot-staging/v1/proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/VmUtilizationMetrics.java (73%) rename {proto-google-cloud-vmmigration-v1 => owl-bot-staging/v1/proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/VmUtilizationMetricsOrBuilder.java (72%) rename {proto-google-cloud-vmmigration-v1 => owl-bot-staging/v1/proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/VmwareSourceDetails.java (70%) rename {proto-google-cloud-vmmigration-v1 => owl-bot-staging/v1/proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/VmwareSourceDetailsOrBuilder.java (63%) rename {proto-google-cloud-vmmigration-v1 => owl-bot-staging/v1/proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/VmwareVmDetails.java (71%) rename {proto-google-cloud-vmmigration-v1 => owl-bot-staging/v1/proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/VmwareVmDetailsOrBuilder.java (71%) rename {proto-google-cloud-vmmigration-v1 => owl-bot-staging/v1/proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/VmwareVmsDetails.java (72%) rename {proto-google-cloud-vmmigration-v1 => owl-bot-staging/v1/proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/VmwareVmsDetailsOrBuilder.java (65%) rename {proto-google-cloud-vmmigration-v1 => owl-bot-staging/v1/proto-google-cloud-vmmigration-v1}/src/main/proto/google/cloud/vmmigration/v1/vmmigration.proto (83%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/stub/vmmigrationstubsettings/getsource/SyncGetSource.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/addgroupmigration/AsyncAddGroupMigration.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/addgroupmigration/AsyncAddGroupMigrationLRO.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/addgroupmigration/SyncAddGroupMigration.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/addgroupmigration/SyncAddGroupMigrationGroupname.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/addgroupmigration/SyncAddGroupMigrationString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/cancelclonejob/AsyncCancelCloneJob.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/cancelclonejob/AsyncCancelCloneJobLRO.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/cancelclonejob/SyncCancelCloneJob.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/cancelclonejob/SyncCancelCloneJobClonejobname.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/cancelclonejob/SyncCancelCloneJobString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/cancelcutoverjob/AsyncCancelCutoverJob.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/cancelcutoverjob/AsyncCancelCutoverJobLRO.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/cancelcutoverjob/SyncCancelCutoverJob.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/cancelcutoverjob/SyncCancelCutoverJobCutoverjobname.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/cancelcutoverjob/SyncCancelCutoverJobString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/create/SyncCreateSetCredentialsProvider.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/create/SyncCreateSetCredentialsProvider1.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/create/SyncCreateSetEndpoint.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createclonejob/AsyncCreateCloneJob.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createclonejob/AsyncCreateCloneJobLRO.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createclonejob/SyncCreateCloneJob.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createclonejob/SyncCreateCloneJobMigratingvmnameClonejobString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createclonejob/SyncCreateCloneJobStringClonejobString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createcutoverjob/AsyncCreateCutoverJob.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createcutoverjob/AsyncCreateCutoverJobLRO.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createcutoverjob/SyncCreateCutoverJob.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createcutoverjob/SyncCreateCutoverJobMigratingvmnameCutoverjobString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createcutoverjob/SyncCreateCutoverJobStringCutoverjobString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createdatacenterconnector/AsyncCreateDatacenterConnector.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createdatacenterconnector/AsyncCreateDatacenterConnectorLRO.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createdatacenterconnector/SyncCreateDatacenterConnector.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createdatacenterconnector/SyncCreateDatacenterConnectorSourcenameDatacenterconnectorString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createdatacenterconnector/SyncCreateDatacenterConnectorStringDatacenterconnectorString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/creategroup/AsyncCreateGroup.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/creategroup/AsyncCreateGroupLRO.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/creategroup/SyncCreateGroup.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/creategroup/SyncCreateGroupLocationnameGroupString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/creategroup/SyncCreateGroupStringGroupString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createmigratingvm/AsyncCreateMigratingVm.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createmigratingvm/AsyncCreateMigratingVmLRO.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createmigratingvm/SyncCreateMigratingVm.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createmigratingvm/SyncCreateMigratingVmSourcenameMigratingvmString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createmigratingvm/SyncCreateMigratingVmStringMigratingvmString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createsource/AsyncCreateSource.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createsource/AsyncCreateSourceLRO.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createsource/SyncCreateSource.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createsource/SyncCreateSourceLocationnameSourceString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createsource/SyncCreateSourceStringSourceString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createtargetproject/AsyncCreateTargetProject.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createtargetproject/AsyncCreateTargetProjectLRO.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createtargetproject/SyncCreateTargetProject.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createtargetproject/SyncCreateTargetProjectLocationnameTargetprojectString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createtargetproject/SyncCreateTargetProjectStringTargetprojectString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createutilizationreport/AsyncCreateUtilizationReport.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createutilizationreport/AsyncCreateUtilizationReportLRO.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createutilizationreport/SyncCreateUtilizationReport.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createutilizationreport/SyncCreateUtilizationReportSourcenameUtilizationreportString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createutilizationreport/SyncCreateUtilizationReportStringUtilizationreportString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletedatacenterconnector/AsyncDeleteDatacenterConnector.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletedatacenterconnector/AsyncDeleteDatacenterConnectorLRO.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletedatacenterconnector/SyncDeleteDatacenterConnector.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletedatacenterconnector/SyncDeleteDatacenterConnectorDatacenterconnectorname.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletedatacenterconnector/SyncDeleteDatacenterConnectorString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletegroup/AsyncDeleteGroup.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletegroup/AsyncDeleteGroupLRO.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletegroup/SyncDeleteGroup.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletegroup/SyncDeleteGroupGroupname.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletegroup/SyncDeleteGroupString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletemigratingvm/AsyncDeleteMigratingVm.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletemigratingvm/AsyncDeleteMigratingVmLRO.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletemigratingvm/SyncDeleteMigratingVm.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletemigratingvm/SyncDeleteMigratingVmMigratingvmname.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletemigratingvm/SyncDeleteMigratingVmString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletesource/AsyncDeleteSource.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletesource/AsyncDeleteSourceLRO.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletesource/SyncDeleteSource.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletesource/SyncDeleteSourceSourcename.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletesource/SyncDeleteSourceString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletetargetproject/AsyncDeleteTargetProject.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletetargetproject/AsyncDeleteTargetProjectLRO.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletetargetproject/SyncDeleteTargetProject.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletetargetproject/SyncDeleteTargetProjectString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletetargetproject/SyncDeleteTargetProjectTargetprojectname.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deleteutilizationreport/AsyncDeleteUtilizationReport.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deleteutilizationreport/AsyncDeleteUtilizationReportLRO.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deleteutilizationreport/SyncDeleteUtilizationReport.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deleteutilizationreport/SyncDeleteUtilizationReportString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deleteutilizationreport/SyncDeleteUtilizationReportUtilizationreportname.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/fetchinventory/AsyncFetchInventory.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/fetchinventory/SyncFetchInventory.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/fetchinventory/SyncFetchInventorySourcename.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/fetchinventory/SyncFetchInventoryString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/finalizemigration/AsyncFinalizeMigration.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/finalizemigration/AsyncFinalizeMigrationLRO.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/finalizemigration/SyncFinalizeMigration.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/finalizemigration/SyncFinalizeMigrationMigratingvmname.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/finalizemigration/SyncFinalizeMigrationString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getclonejob/AsyncGetCloneJob.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getclonejob/SyncGetCloneJob.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getclonejob/SyncGetCloneJobClonejobname.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getclonejob/SyncGetCloneJobString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getcutoverjob/AsyncGetCutoverJob.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getcutoverjob/SyncGetCutoverJob.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getcutoverjob/SyncGetCutoverJobCutoverjobname.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getcutoverjob/SyncGetCutoverJobString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getdatacenterconnector/AsyncGetDatacenterConnector.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getdatacenterconnector/SyncGetDatacenterConnector.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getdatacenterconnector/SyncGetDatacenterConnectorDatacenterconnectorname.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getdatacenterconnector/SyncGetDatacenterConnectorString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getgroup/AsyncGetGroup.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getgroup/SyncGetGroup.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getgroup/SyncGetGroupGroupname.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getgroup/SyncGetGroupString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getmigratingvm/AsyncGetMigratingVm.java (94%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getmigratingvm/SyncGetMigratingVm.java (94%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getmigratingvm/SyncGetMigratingVmMigratingvmname.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getmigratingvm/SyncGetMigratingVmString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getsource/AsyncGetSource.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getsource/SyncGetSource.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getsource/SyncGetSourceSourcename.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getsource/SyncGetSourceString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/gettargetproject/AsyncGetTargetProject.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/gettargetproject/SyncGetTargetProject.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/gettargetproject/SyncGetTargetProjectString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/gettargetproject/SyncGetTargetProjectTargetprojectname.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getutilizationreport/AsyncGetUtilizationReport.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getutilizationreport/SyncGetUtilizationReport.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getutilizationreport/SyncGetUtilizationReportString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getutilizationreport/SyncGetUtilizationReportUtilizationreportname.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listclonejobs/AsyncListCloneJobs.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listclonejobs/AsyncListCloneJobsPaged.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listclonejobs/SyncListCloneJobs.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listclonejobs/SyncListCloneJobsMigratingvmname.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listclonejobs/SyncListCloneJobsString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listcutoverjobs/AsyncListCutoverJobs.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listcutoverjobs/AsyncListCutoverJobsPaged.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listcutoverjobs/SyncListCutoverJobs.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listcutoverjobs/SyncListCutoverJobsMigratingvmname.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listcutoverjobs/SyncListCutoverJobsString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listdatacenterconnectors/AsyncListDatacenterConnectors.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listdatacenterconnectors/AsyncListDatacenterConnectorsPaged.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listdatacenterconnectors/SyncListDatacenterConnectors.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listdatacenterconnectors/SyncListDatacenterConnectorsSourcename.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listdatacenterconnectors/SyncListDatacenterConnectorsString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listgroups/AsyncListGroups.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listgroups/AsyncListGroupsPaged.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listgroups/SyncListGroups.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listgroups/SyncListGroupsLocationname.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listgroups/SyncListGroupsString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listmigratingvms/AsyncListMigratingVms.java (95%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listmigratingvms/AsyncListMigratingVmsPaged.java (95%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listmigratingvms/SyncListMigratingVms.java (94%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listmigratingvms/SyncListMigratingVmsSourcename.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listmigratingvms/SyncListMigratingVmsString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listsources/AsyncListSources.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listsources/AsyncListSourcesPaged.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listsources/SyncListSources.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listsources/SyncListSourcesLocationname.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listsources/SyncListSourcesString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listtargetprojects/AsyncListTargetProjects.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listtargetprojects/AsyncListTargetProjectsPaged.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listtargetprojects/SyncListTargetProjects.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listtargetprojects/SyncListTargetProjectsLocationname.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listtargetprojects/SyncListTargetProjectsString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listutilizationreports/AsyncListUtilizationReports.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listutilizationreports/AsyncListUtilizationReportsPaged.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listutilizationreports/SyncListUtilizationReports.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listutilizationreports/SyncListUtilizationReportsSourcename.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listutilizationreports/SyncListUtilizationReportsString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/pausemigration/AsyncPauseMigration.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/pausemigration/AsyncPauseMigrationLRO.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/pausemigration/SyncPauseMigration.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/removegroupmigration/AsyncRemoveGroupMigration.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/removegroupmigration/AsyncRemoveGroupMigrationLRO.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/removegroupmigration/SyncRemoveGroupMigration.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/removegroupmigration/SyncRemoveGroupMigrationGroupname.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/removegroupmigration/SyncRemoveGroupMigrationString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/resumemigration/AsyncResumeMigration.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/resumemigration/AsyncResumeMigrationLRO.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/resumemigration/SyncResumeMigration.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/startmigration/AsyncStartMigration.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/startmigration/AsyncStartMigrationLRO.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/startmigration/SyncStartMigration.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/startmigration/SyncStartMigrationMigratingvmname.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/startmigration/SyncStartMigrationString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/updategroup/AsyncUpdateGroup.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/updategroup/AsyncUpdateGroupLRO.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/updategroup/SyncUpdateGroup.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/updategroup/SyncUpdateGroupGroupFieldmask.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/updatemigratingvm/AsyncUpdateMigratingVm.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/updatemigratingvm/AsyncUpdateMigratingVmLRO.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/updatemigratingvm/SyncUpdateMigratingVm.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/updatemigratingvm/SyncUpdateMigratingVmMigratingvmFieldmask.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/updatesource/AsyncUpdateSource.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/updatesource/AsyncUpdateSourceLRO.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/updatesource/SyncUpdateSource.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/updatesource/SyncUpdateSourceSourceFieldmask.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/updatetargetproject/AsyncUpdateTargetProject.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/updatetargetproject/AsyncUpdateTargetProjectLRO.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/updatetargetproject/SyncUpdateTargetProject.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/updatetargetproject/SyncUpdateTargetProjectTargetprojectFieldmask.java (100%) create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/upgradeappliance/AsyncUpgradeAppliance.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/upgradeappliance/AsyncUpgradeApplianceLRO.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/upgradeappliance/SyncUpgradeAppliance.java rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationsettings/getsource/SyncGetSource.java (100%) delete mode 100644 proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/AddGroupMigrationRequestOrBuilder.java delete mode 100644 proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/AddGroupMigrationResponseOrBuilder.java delete mode 100644 proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CancelCloneJobRequestOrBuilder.java delete mode 100644 proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CancelCloneJobResponseOrBuilder.java delete mode 100644 proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CancelCutoverJobRequestOrBuilder.java delete mode 100644 proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CancelCutoverJobResponseOrBuilder.java delete mode 100644 proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/DeleteMigratingVmRequestOrBuilder.java delete mode 100644 proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/FetchInventoryRequestOrBuilder.java delete mode 100644 proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/FetchInventoryResponseOrBuilder.java delete mode 100644 proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/FinalizeMigrationRequestOrBuilder.java delete mode 100644 proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/FinalizeMigrationResponseOrBuilder.java delete mode 100644 proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetCloneJobRequestOrBuilder.java delete mode 100644 proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetCutoverJobRequestOrBuilder.java delete mode 100644 proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetDatacenterConnectorRequestOrBuilder.java delete mode 100644 proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetGroupRequestOrBuilder.java delete mode 100644 proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetMigratingVmRequestOrBuilder.java delete mode 100644 proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetSourceRequestOrBuilder.java delete mode 100644 proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetTargetProjectRequestOrBuilder.java delete mode 100644 proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetUtilizationReportRequestOrBuilder.java delete mode 100644 proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/MigratingVm.java delete mode 100644 proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/MigratingVmOrBuilder.java delete mode 100644 proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/MigrationErrorOrBuilder.java delete mode 100644 proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/PauseMigrationRequestOrBuilder.java delete mode 100644 proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/PauseMigrationResponseOrBuilder.java delete mode 100644 proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/RemoveGroupMigrationRequestOrBuilder.java delete mode 100644 proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/RemoveGroupMigrationResponseOrBuilder.java delete mode 100644 proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ResumeMigrationRequestOrBuilder.java delete mode 100644 proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ResumeMigrationResponseOrBuilder.java delete mode 100644 proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/StartMigrationRequestOrBuilder.java delete mode 100644 proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/StartMigrationResponseOrBuilder.java delete mode 100644 proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/VmMigrationProto.java diff --git a/grpc-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/VmMigrationGrpc.java b/grpc-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/VmMigrationGrpc.java deleted file mode 100644 index 5a50b1e..0000000 --- a/grpc-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/VmMigrationGrpc.java +++ /dev/null @@ -1,5341 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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.vmmigration.v1; - -import static io.grpc.MethodDescriptor.generateFullMethodName; - -/** - * - * - *
- * VM Migration Service
- * 
- */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/cloud/vmmigration/v1/vmmigration.proto") -@io.grpc.stub.annotations.GrpcGenerated -public final class VmMigrationGrpc { - - private VmMigrationGrpc() {} - - public static final String SERVICE_NAME = "google.cloud.vmmigration.v1.VmMigration"; - - // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.vmmigration.v1.ListSourcesRequest, - com.google.cloud.vmmigration.v1.ListSourcesResponse> - getListSourcesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListSources", - requestType = com.google.cloud.vmmigration.v1.ListSourcesRequest.class, - responseType = com.google.cloud.vmmigration.v1.ListSourcesResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.vmmigration.v1.ListSourcesRequest, - com.google.cloud.vmmigration.v1.ListSourcesResponse> - getListSourcesMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.vmmigration.v1.ListSourcesRequest, - com.google.cloud.vmmigration.v1.ListSourcesResponse> - getListSourcesMethod; - if ((getListSourcesMethod = VmMigrationGrpc.getListSourcesMethod) == null) { - synchronized (VmMigrationGrpc.class) { - if ((getListSourcesMethod = VmMigrationGrpc.getListSourcesMethod) == null) { - VmMigrationGrpc.getListSourcesMethod = - getListSourcesMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListSources")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.vmmigration.v1.ListSourcesRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.vmmigration.v1.ListSourcesResponse - .getDefaultInstance())) - .setSchemaDescriptor(new VmMigrationMethodDescriptorSupplier("ListSources")) - .build(); - } - } - } - return getListSourcesMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.vmmigration.v1.GetSourceRequest, com.google.cloud.vmmigration.v1.Source> - getGetSourceMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetSource", - requestType = com.google.cloud.vmmigration.v1.GetSourceRequest.class, - responseType = com.google.cloud.vmmigration.v1.Source.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.vmmigration.v1.GetSourceRequest, com.google.cloud.vmmigration.v1.Source> - getGetSourceMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.vmmigration.v1.GetSourceRequest, - com.google.cloud.vmmigration.v1.Source> - getGetSourceMethod; - if ((getGetSourceMethod = VmMigrationGrpc.getGetSourceMethod) == null) { - synchronized (VmMigrationGrpc.class) { - if ((getGetSourceMethod = VmMigrationGrpc.getGetSourceMethod) == null) { - VmMigrationGrpc.getGetSourceMethod = - getGetSourceMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetSource")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.vmmigration.v1.GetSourceRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.vmmigration.v1.Source.getDefaultInstance())) - .setSchemaDescriptor(new VmMigrationMethodDescriptorSupplier("GetSource")) - .build(); - } - } - } - return getGetSourceMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.vmmigration.v1.CreateSourceRequest, com.google.longrunning.Operation> - getCreateSourceMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateSource", - requestType = com.google.cloud.vmmigration.v1.CreateSourceRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.vmmigration.v1.CreateSourceRequest, com.google.longrunning.Operation> - getCreateSourceMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.vmmigration.v1.CreateSourceRequest, com.google.longrunning.Operation> - getCreateSourceMethod; - if ((getCreateSourceMethod = VmMigrationGrpc.getCreateSourceMethod) == null) { - synchronized (VmMigrationGrpc.class) { - if ((getCreateSourceMethod = VmMigrationGrpc.getCreateSourceMethod) == null) { - VmMigrationGrpc.getCreateSourceMethod = - getCreateSourceMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateSource")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.vmmigration.v1.CreateSourceRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new VmMigrationMethodDescriptorSupplier("CreateSource")) - .build(); - } - } - } - return getCreateSourceMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.vmmigration.v1.UpdateSourceRequest, com.google.longrunning.Operation> - getUpdateSourceMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateSource", - requestType = com.google.cloud.vmmigration.v1.UpdateSourceRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.vmmigration.v1.UpdateSourceRequest, com.google.longrunning.Operation> - getUpdateSourceMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.vmmigration.v1.UpdateSourceRequest, com.google.longrunning.Operation> - getUpdateSourceMethod; - if ((getUpdateSourceMethod = VmMigrationGrpc.getUpdateSourceMethod) == null) { - synchronized (VmMigrationGrpc.class) { - if ((getUpdateSourceMethod = VmMigrationGrpc.getUpdateSourceMethod) == null) { - VmMigrationGrpc.getUpdateSourceMethod = - getUpdateSourceMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateSource")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.vmmigration.v1.UpdateSourceRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new VmMigrationMethodDescriptorSupplier("UpdateSource")) - .build(); - } - } - } - return getUpdateSourceMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.vmmigration.v1.DeleteSourceRequest, com.google.longrunning.Operation> - getDeleteSourceMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteSource", - requestType = com.google.cloud.vmmigration.v1.DeleteSourceRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.vmmigration.v1.DeleteSourceRequest, com.google.longrunning.Operation> - getDeleteSourceMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.vmmigration.v1.DeleteSourceRequest, com.google.longrunning.Operation> - getDeleteSourceMethod; - if ((getDeleteSourceMethod = VmMigrationGrpc.getDeleteSourceMethod) == null) { - synchronized (VmMigrationGrpc.class) { - if ((getDeleteSourceMethod = VmMigrationGrpc.getDeleteSourceMethod) == null) { - VmMigrationGrpc.getDeleteSourceMethod = - getDeleteSourceMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteSource")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.vmmigration.v1.DeleteSourceRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new VmMigrationMethodDescriptorSupplier("DeleteSource")) - .build(); - } - } - } - return getDeleteSourceMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.vmmigration.v1.FetchInventoryRequest, - com.google.cloud.vmmigration.v1.FetchInventoryResponse> - getFetchInventoryMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "FetchInventory", - requestType = com.google.cloud.vmmigration.v1.FetchInventoryRequest.class, - responseType = com.google.cloud.vmmigration.v1.FetchInventoryResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.vmmigration.v1.FetchInventoryRequest, - com.google.cloud.vmmigration.v1.FetchInventoryResponse> - getFetchInventoryMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.vmmigration.v1.FetchInventoryRequest, - com.google.cloud.vmmigration.v1.FetchInventoryResponse> - getFetchInventoryMethod; - if ((getFetchInventoryMethod = VmMigrationGrpc.getFetchInventoryMethod) == null) { - synchronized (VmMigrationGrpc.class) { - if ((getFetchInventoryMethod = VmMigrationGrpc.getFetchInventoryMethod) == null) { - VmMigrationGrpc.getFetchInventoryMethod = - getFetchInventoryMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "FetchInventory")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.vmmigration.v1.FetchInventoryRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.vmmigration.v1.FetchInventoryResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new VmMigrationMethodDescriptorSupplier("FetchInventory")) - .build(); - } - } - } - return getFetchInventoryMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.vmmigration.v1.ListUtilizationReportsRequest, - com.google.cloud.vmmigration.v1.ListUtilizationReportsResponse> - getListUtilizationReportsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListUtilizationReports", - requestType = com.google.cloud.vmmigration.v1.ListUtilizationReportsRequest.class, - responseType = com.google.cloud.vmmigration.v1.ListUtilizationReportsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.vmmigration.v1.ListUtilizationReportsRequest, - com.google.cloud.vmmigration.v1.ListUtilizationReportsResponse> - getListUtilizationReportsMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.vmmigration.v1.ListUtilizationReportsRequest, - com.google.cloud.vmmigration.v1.ListUtilizationReportsResponse> - getListUtilizationReportsMethod; - if ((getListUtilizationReportsMethod = VmMigrationGrpc.getListUtilizationReportsMethod) - == null) { - synchronized (VmMigrationGrpc.class) { - if ((getListUtilizationReportsMethod = VmMigrationGrpc.getListUtilizationReportsMethod) - == null) { - VmMigrationGrpc.getListUtilizationReportsMethod = - getListUtilizationReportsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "ListUtilizationReports")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.vmmigration.v1.ListUtilizationReportsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.vmmigration.v1.ListUtilizationReportsResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new VmMigrationMethodDescriptorSupplier("ListUtilizationReports")) - .build(); - } - } - } - return getListUtilizationReportsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.vmmigration.v1.GetUtilizationReportRequest, - com.google.cloud.vmmigration.v1.UtilizationReport> - getGetUtilizationReportMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetUtilizationReport", - requestType = com.google.cloud.vmmigration.v1.GetUtilizationReportRequest.class, - responseType = com.google.cloud.vmmigration.v1.UtilizationReport.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.vmmigration.v1.GetUtilizationReportRequest, - com.google.cloud.vmmigration.v1.UtilizationReport> - getGetUtilizationReportMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.vmmigration.v1.GetUtilizationReportRequest, - com.google.cloud.vmmigration.v1.UtilizationReport> - getGetUtilizationReportMethod; - if ((getGetUtilizationReportMethod = VmMigrationGrpc.getGetUtilizationReportMethod) == null) { - synchronized (VmMigrationGrpc.class) { - if ((getGetUtilizationReportMethod = VmMigrationGrpc.getGetUtilizationReportMethod) - == null) { - VmMigrationGrpc.getGetUtilizationReportMethod = - getGetUtilizationReportMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "GetUtilizationReport")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.vmmigration.v1.GetUtilizationReportRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.vmmigration.v1.UtilizationReport - .getDefaultInstance())) - .setSchemaDescriptor( - new VmMigrationMethodDescriptorSupplier("GetUtilizationReport")) - .build(); - } - } - } - return getGetUtilizationReportMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.vmmigration.v1.CreateUtilizationReportRequest, - com.google.longrunning.Operation> - getCreateUtilizationReportMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateUtilizationReport", - requestType = com.google.cloud.vmmigration.v1.CreateUtilizationReportRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.vmmigration.v1.CreateUtilizationReportRequest, - com.google.longrunning.Operation> - getCreateUtilizationReportMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.vmmigration.v1.CreateUtilizationReportRequest, - com.google.longrunning.Operation> - getCreateUtilizationReportMethod; - if ((getCreateUtilizationReportMethod = VmMigrationGrpc.getCreateUtilizationReportMethod) - == null) { - synchronized (VmMigrationGrpc.class) { - if ((getCreateUtilizationReportMethod = VmMigrationGrpc.getCreateUtilizationReportMethod) - == null) { - VmMigrationGrpc.getCreateUtilizationReportMethod = - getCreateUtilizationReportMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "CreateUtilizationReport")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.vmmigration.v1.CreateUtilizationReportRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new VmMigrationMethodDescriptorSupplier("CreateUtilizationReport")) - .build(); - } - } - } - return getCreateUtilizationReportMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.vmmigration.v1.DeleteUtilizationReportRequest, - com.google.longrunning.Operation> - getDeleteUtilizationReportMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteUtilizationReport", - requestType = com.google.cloud.vmmigration.v1.DeleteUtilizationReportRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.vmmigration.v1.DeleteUtilizationReportRequest, - com.google.longrunning.Operation> - getDeleteUtilizationReportMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.vmmigration.v1.DeleteUtilizationReportRequest, - com.google.longrunning.Operation> - getDeleteUtilizationReportMethod; - if ((getDeleteUtilizationReportMethod = VmMigrationGrpc.getDeleteUtilizationReportMethod) - == null) { - synchronized (VmMigrationGrpc.class) { - if ((getDeleteUtilizationReportMethod = VmMigrationGrpc.getDeleteUtilizationReportMethod) - == null) { - VmMigrationGrpc.getDeleteUtilizationReportMethod = - getDeleteUtilizationReportMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "DeleteUtilizationReport")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.vmmigration.v1.DeleteUtilizationReportRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new VmMigrationMethodDescriptorSupplier("DeleteUtilizationReport")) - .build(); - } - } - } - return getDeleteUtilizationReportMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.vmmigration.v1.ListDatacenterConnectorsRequest, - com.google.cloud.vmmigration.v1.ListDatacenterConnectorsResponse> - getListDatacenterConnectorsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListDatacenterConnectors", - requestType = com.google.cloud.vmmigration.v1.ListDatacenterConnectorsRequest.class, - responseType = com.google.cloud.vmmigration.v1.ListDatacenterConnectorsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.vmmigration.v1.ListDatacenterConnectorsRequest, - com.google.cloud.vmmigration.v1.ListDatacenterConnectorsResponse> - getListDatacenterConnectorsMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.vmmigration.v1.ListDatacenterConnectorsRequest, - com.google.cloud.vmmigration.v1.ListDatacenterConnectorsResponse> - getListDatacenterConnectorsMethod; - if ((getListDatacenterConnectorsMethod = VmMigrationGrpc.getListDatacenterConnectorsMethod) - == null) { - synchronized (VmMigrationGrpc.class) { - if ((getListDatacenterConnectorsMethod = VmMigrationGrpc.getListDatacenterConnectorsMethod) - == null) { - VmMigrationGrpc.getListDatacenterConnectorsMethod = - getListDatacenterConnectorsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "ListDatacenterConnectors")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.vmmigration.v1.ListDatacenterConnectorsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.vmmigration.v1.ListDatacenterConnectorsResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new VmMigrationMethodDescriptorSupplier("ListDatacenterConnectors")) - .build(); - } - } - } - return getListDatacenterConnectorsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.vmmigration.v1.GetDatacenterConnectorRequest, - com.google.cloud.vmmigration.v1.DatacenterConnector> - getGetDatacenterConnectorMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetDatacenterConnector", - requestType = com.google.cloud.vmmigration.v1.GetDatacenterConnectorRequest.class, - responseType = com.google.cloud.vmmigration.v1.DatacenterConnector.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.vmmigration.v1.GetDatacenterConnectorRequest, - com.google.cloud.vmmigration.v1.DatacenterConnector> - getGetDatacenterConnectorMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.vmmigration.v1.GetDatacenterConnectorRequest, - com.google.cloud.vmmigration.v1.DatacenterConnector> - getGetDatacenterConnectorMethod; - if ((getGetDatacenterConnectorMethod = VmMigrationGrpc.getGetDatacenterConnectorMethod) - == null) { - synchronized (VmMigrationGrpc.class) { - if ((getGetDatacenterConnectorMethod = VmMigrationGrpc.getGetDatacenterConnectorMethod) - == null) { - VmMigrationGrpc.getGetDatacenterConnectorMethod = - getGetDatacenterConnectorMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "GetDatacenterConnector")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.vmmigration.v1.GetDatacenterConnectorRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.vmmigration.v1.DatacenterConnector - .getDefaultInstance())) - .setSchemaDescriptor( - new VmMigrationMethodDescriptorSupplier("GetDatacenterConnector")) - .build(); - } - } - } - return getGetDatacenterConnectorMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.vmmigration.v1.CreateDatacenterConnectorRequest, - com.google.longrunning.Operation> - getCreateDatacenterConnectorMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateDatacenterConnector", - requestType = com.google.cloud.vmmigration.v1.CreateDatacenterConnectorRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.vmmigration.v1.CreateDatacenterConnectorRequest, - com.google.longrunning.Operation> - getCreateDatacenterConnectorMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.vmmigration.v1.CreateDatacenterConnectorRequest, - com.google.longrunning.Operation> - getCreateDatacenterConnectorMethod; - if ((getCreateDatacenterConnectorMethod = VmMigrationGrpc.getCreateDatacenterConnectorMethod) - == null) { - synchronized (VmMigrationGrpc.class) { - if ((getCreateDatacenterConnectorMethod = - VmMigrationGrpc.getCreateDatacenterConnectorMethod) - == null) { - VmMigrationGrpc.getCreateDatacenterConnectorMethod = - getCreateDatacenterConnectorMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "CreateDatacenterConnector")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.vmmigration.v1.CreateDatacenterConnectorRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new VmMigrationMethodDescriptorSupplier("CreateDatacenterConnector")) - .build(); - } - } - } - return getCreateDatacenterConnectorMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.vmmigration.v1.DeleteDatacenterConnectorRequest, - com.google.longrunning.Operation> - getDeleteDatacenterConnectorMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteDatacenterConnector", - requestType = com.google.cloud.vmmigration.v1.DeleteDatacenterConnectorRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.vmmigration.v1.DeleteDatacenterConnectorRequest, - com.google.longrunning.Operation> - getDeleteDatacenterConnectorMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.vmmigration.v1.DeleteDatacenterConnectorRequest, - com.google.longrunning.Operation> - getDeleteDatacenterConnectorMethod; - if ((getDeleteDatacenterConnectorMethod = VmMigrationGrpc.getDeleteDatacenterConnectorMethod) - == null) { - synchronized (VmMigrationGrpc.class) { - if ((getDeleteDatacenterConnectorMethod = - VmMigrationGrpc.getDeleteDatacenterConnectorMethod) - == null) { - VmMigrationGrpc.getDeleteDatacenterConnectorMethod = - getDeleteDatacenterConnectorMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "DeleteDatacenterConnector")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.vmmigration.v1.DeleteDatacenterConnectorRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new VmMigrationMethodDescriptorSupplier("DeleteDatacenterConnector")) - .build(); - } - } - } - return getDeleteDatacenterConnectorMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.vmmigration.v1.CreateMigratingVmRequest, - com.google.longrunning.Operation> - getCreateMigratingVmMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateMigratingVm", - requestType = com.google.cloud.vmmigration.v1.CreateMigratingVmRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.vmmigration.v1.CreateMigratingVmRequest, - com.google.longrunning.Operation> - getCreateMigratingVmMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.vmmigration.v1.CreateMigratingVmRequest, - com.google.longrunning.Operation> - getCreateMigratingVmMethod; - if ((getCreateMigratingVmMethod = VmMigrationGrpc.getCreateMigratingVmMethod) == null) { - synchronized (VmMigrationGrpc.class) { - if ((getCreateMigratingVmMethod = VmMigrationGrpc.getCreateMigratingVmMethod) == null) { - VmMigrationGrpc.getCreateMigratingVmMethod = - getCreateMigratingVmMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateMigratingVm")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.vmmigration.v1.CreateMigratingVmRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new VmMigrationMethodDescriptorSupplier("CreateMigratingVm")) - .build(); - } - } - } - return getCreateMigratingVmMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.vmmigration.v1.ListMigratingVmsRequest, - com.google.cloud.vmmigration.v1.ListMigratingVmsResponse> - getListMigratingVmsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListMigratingVms", - requestType = com.google.cloud.vmmigration.v1.ListMigratingVmsRequest.class, - responseType = com.google.cloud.vmmigration.v1.ListMigratingVmsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.vmmigration.v1.ListMigratingVmsRequest, - com.google.cloud.vmmigration.v1.ListMigratingVmsResponse> - getListMigratingVmsMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.vmmigration.v1.ListMigratingVmsRequest, - com.google.cloud.vmmigration.v1.ListMigratingVmsResponse> - getListMigratingVmsMethod; - if ((getListMigratingVmsMethod = VmMigrationGrpc.getListMigratingVmsMethod) == null) { - synchronized (VmMigrationGrpc.class) { - if ((getListMigratingVmsMethod = VmMigrationGrpc.getListMigratingVmsMethod) == null) { - VmMigrationGrpc.getListMigratingVmsMethod = - getListMigratingVmsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListMigratingVms")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.vmmigration.v1.ListMigratingVmsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.vmmigration.v1.ListMigratingVmsResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new VmMigrationMethodDescriptorSupplier("ListMigratingVms")) - .build(); - } - } - } - return getListMigratingVmsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.vmmigration.v1.GetMigratingVmRequest, - com.google.cloud.vmmigration.v1.MigratingVm> - getGetMigratingVmMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetMigratingVm", - requestType = com.google.cloud.vmmigration.v1.GetMigratingVmRequest.class, - responseType = com.google.cloud.vmmigration.v1.MigratingVm.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.vmmigration.v1.GetMigratingVmRequest, - com.google.cloud.vmmigration.v1.MigratingVm> - getGetMigratingVmMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.vmmigration.v1.GetMigratingVmRequest, - com.google.cloud.vmmigration.v1.MigratingVm> - getGetMigratingVmMethod; - if ((getGetMigratingVmMethod = VmMigrationGrpc.getGetMigratingVmMethod) == null) { - synchronized (VmMigrationGrpc.class) { - if ((getGetMigratingVmMethod = VmMigrationGrpc.getGetMigratingVmMethod) == null) { - VmMigrationGrpc.getGetMigratingVmMethod = - getGetMigratingVmMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetMigratingVm")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.vmmigration.v1.GetMigratingVmRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.vmmigration.v1.MigratingVm.getDefaultInstance())) - .setSchemaDescriptor( - new VmMigrationMethodDescriptorSupplier("GetMigratingVm")) - .build(); - } - } - } - return getGetMigratingVmMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.vmmigration.v1.UpdateMigratingVmRequest, - com.google.longrunning.Operation> - getUpdateMigratingVmMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateMigratingVm", - requestType = com.google.cloud.vmmigration.v1.UpdateMigratingVmRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.vmmigration.v1.UpdateMigratingVmRequest, - com.google.longrunning.Operation> - getUpdateMigratingVmMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.vmmigration.v1.UpdateMigratingVmRequest, - com.google.longrunning.Operation> - getUpdateMigratingVmMethod; - if ((getUpdateMigratingVmMethod = VmMigrationGrpc.getUpdateMigratingVmMethod) == null) { - synchronized (VmMigrationGrpc.class) { - if ((getUpdateMigratingVmMethod = VmMigrationGrpc.getUpdateMigratingVmMethod) == null) { - VmMigrationGrpc.getUpdateMigratingVmMethod = - getUpdateMigratingVmMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateMigratingVm")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.vmmigration.v1.UpdateMigratingVmRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new VmMigrationMethodDescriptorSupplier("UpdateMigratingVm")) - .build(); - } - } - } - return getUpdateMigratingVmMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.vmmigration.v1.DeleteMigratingVmRequest, - com.google.longrunning.Operation> - getDeleteMigratingVmMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteMigratingVm", - requestType = com.google.cloud.vmmigration.v1.DeleteMigratingVmRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.vmmigration.v1.DeleteMigratingVmRequest, - com.google.longrunning.Operation> - getDeleteMigratingVmMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.vmmigration.v1.DeleteMigratingVmRequest, - com.google.longrunning.Operation> - getDeleteMigratingVmMethod; - if ((getDeleteMigratingVmMethod = VmMigrationGrpc.getDeleteMigratingVmMethod) == null) { - synchronized (VmMigrationGrpc.class) { - if ((getDeleteMigratingVmMethod = VmMigrationGrpc.getDeleteMigratingVmMethod) == null) { - VmMigrationGrpc.getDeleteMigratingVmMethod = - getDeleteMigratingVmMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteMigratingVm")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.vmmigration.v1.DeleteMigratingVmRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new VmMigrationMethodDescriptorSupplier("DeleteMigratingVm")) - .build(); - } - } - } - return getDeleteMigratingVmMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.vmmigration.v1.StartMigrationRequest, com.google.longrunning.Operation> - getStartMigrationMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "StartMigration", - requestType = com.google.cloud.vmmigration.v1.StartMigrationRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.vmmigration.v1.StartMigrationRequest, com.google.longrunning.Operation> - getStartMigrationMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.vmmigration.v1.StartMigrationRequest, com.google.longrunning.Operation> - getStartMigrationMethod; - if ((getStartMigrationMethod = VmMigrationGrpc.getStartMigrationMethod) == null) { - synchronized (VmMigrationGrpc.class) { - if ((getStartMigrationMethod = VmMigrationGrpc.getStartMigrationMethod) == null) { - VmMigrationGrpc.getStartMigrationMethod = - getStartMigrationMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "StartMigration")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.vmmigration.v1.StartMigrationRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new VmMigrationMethodDescriptorSupplier("StartMigration")) - .build(); - } - } - } - return getStartMigrationMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.vmmigration.v1.ResumeMigrationRequest, com.google.longrunning.Operation> - getResumeMigrationMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ResumeMigration", - requestType = com.google.cloud.vmmigration.v1.ResumeMigrationRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.vmmigration.v1.ResumeMigrationRequest, com.google.longrunning.Operation> - getResumeMigrationMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.vmmigration.v1.ResumeMigrationRequest, - com.google.longrunning.Operation> - getResumeMigrationMethod; - if ((getResumeMigrationMethod = VmMigrationGrpc.getResumeMigrationMethod) == null) { - synchronized (VmMigrationGrpc.class) { - if ((getResumeMigrationMethod = VmMigrationGrpc.getResumeMigrationMethod) == null) { - VmMigrationGrpc.getResumeMigrationMethod = - getResumeMigrationMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ResumeMigration")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.vmmigration.v1.ResumeMigrationRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new VmMigrationMethodDescriptorSupplier("ResumeMigration")) - .build(); - } - } - } - return getResumeMigrationMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.vmmigration.v1.PauseMigrationRequest, com.google.longrunning.Operation> - getPauseMigrationMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "PauseMigration", - requestType = com.google.cloud.vmmigration.v1.PauseMigrationRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.vmmigration.v1.PauseMigrationRequest, com.google.longrunning.Operation> - getPauseMigrationMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.vmmigration.v1.PauseMigrationRequest, com.google.longrunning.Operation> - getPauseMigrationMethod; - if ((getPauseMigrationMethod = VmMigrationGrpc.getPauseMigrationMethod) == null) { - synchronized (VmMigrationGrpc.class) { - if ((getPauseMigrationMethod = VmMigrationGrpc.getPauseMigrationMethod) == null) { - VmMigrationGrpc.getPauseMigrationMethod = - getPauseMigrationMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "PauseMigration")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.vmmigration.v1.PauseMigrationRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new VmMigrationMethodDescriptorSupplier("PauseMigration")) - .build(); - } - } - } - return getPauseMigrationMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.vmmigration.v1.FinalizeMigrationRequest, - com.google.longrunning.Operation> - getFinalizeMigrationMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "FinalizeMigration", - requestType = com.google.cloud.vmmigration.v1.FinalizeMigrationRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.vmmigration.v1.FinalizeMigrationRequest, - com.google.longrunning.Operation> - getFinalizeMigrationMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.vmmigration.v1.FinalizeMigrationRequest, - com.google.longrunning.Operation> - getFinalizeMigrationMethod; - if ((getFinalizeMigrationMethod = VmMigrationGrpc.getFinalizeMigrationMethod) == null) { - synchronized (VmMigrationGrpc.class) { - if ((getFinalizeMigrationMethod = VmMigrationGrpc.getFinalizeMigrationMethod) == null) { - VmMigrationGrpc.getFinalizeMigrationMethod = - getFinalizeMigrationMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "FinalizeMigration")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.vmmigration.v1.FinalizeMigrationRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new VmMigrationMethodDescriptorSupplier("FinalizeMigration")) - .build(); - } - } - } - return getFinalizeMigrationMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.vmmigration.v1.CreateCloneJobRequest, com.google.longrunning.Operation> - getCreateCloneJobMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateCloneJob", - requestType = com.google.cloud.vmmigration.v1.CreateCloneJobRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.vmmigration.v1.CreateCloneJobRequest, com.google.longrunning.Operation> - getCreateCloneJobMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.vmmigration.v1.CreateCloneJobRequest, com.google.longrunning.Operation> - getCreateCloneJobMethod; - if ((getCreateCloneJobMethod = VmMigrationGrpc.getCreateCloneJobMethod) == null) { - synchronized (VmMigrationGrpc.class) { - if ((getCreateCloneJobMethod = VmMigrationGrpc.getCreateCloneJobMethod) == null) { - VmMigrationGrpc.getCreateCloneJobMethod = - getCreateCloneJobMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateCloneJob")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.vmmigration.v1.CreateCloneJobRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new VmMigrationMethodDescriptorSupplier("CreateCloneJob")) - .build(); - } - } - } - return getCreateCloneJobMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.vmmigration.v1.CancelCloneJobRequest, com.google.longrunning.Operation> - getCancelCloneJobMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CancelCloneJob", - requestType = com.google.cloud.vmmigration.v1.CancelCloneJobRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.vmmigration.v1.CancelCloneJobRequest, com.google.longrunning.Operation> - getCancelCloneJobMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.vmmigration.v1.CancelCloneJobRequest, com.google.longrunning.Operation> - getCancelCloneJobMethod; - if ((getCancelCloneJobMethod = VmMigrationGrpc.getCancelCloneJobMethod) == null) { - synchronized (VmMigrationGrpc.class) { - if ((getCancelCloneJobMethod = VmMigrationGrpc.getCancelCloneJobMethod) == null) { - VmMigrationGrpc.getCancelCloneJobMethod = - getCancelCloneJobMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CancelCloneJob")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.vmmigration.v1.CancelCloneJobRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new VmMigrationMethodDescriptorSupplier("CancelCloneJob")) - .build(); - } - } - } - return getCancelCloneJobMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.vmmigration.v1.ListCloneJobsRequest, - com.google.cloud.vmmigration.v1.ListCloneJobsResponse> - getListCloneJobsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListCloneJobs", - requestType = com.google.cloud.vmmigration.v1.ListCloneJobsRequest.class, - responseType = com.google.cloud.vmmigration.v1.ListCloneJobsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.vmmigration.v1.ListCloneJobsRequest, - com.google.cloud.vmmigration.v1.ListCloneJobsResponse> - getListCloneJobsMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.vmmigration.v1.ListCloneJobsRequest, - com.google.cloud.vmmigration.v1.ListCloneJobsResponse> - getListCloneJobsMethod; - if ((getListCloneJobsMethod = VmMigrationGrpc.getListCloneJobsMethod) == null) { - synchronized (VmMigrationGrpc.class) { - if ((getListCloneJobsMethod = VmMigrationGrpc.getListCloneJobsMethod) == null) { - VmMigrationGrpc.getListCloneJobsMethod = - getListCloneJobsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListCloneJobs")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.vmmigration.v1.ListCloneJobsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.vmmigration.v1.ListCloneJobsResponse - .getDefaultInstance())) - .setSchemaDescriptor(new VmMigrationMethodDescriptorSupplier("ListCloneJobs")) - .build(); - } - } - } - return getListCloneJobsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.vmmigration.v1.GetCloneJobRequest, - com.google.cloud.vmmigration.v1.CloneJob> - getGetCloneJobMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetCloneJob", - requestType = com.google.cloud.vmmigration.v1.GetCloneJobRequest.class, - responseType = com.google.cloud.vmmigration.v1.CloneJob.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.vmmigration.v1.GetCloneJobRequest, - com.google.cloud.vmmigration.v1.CloneJob> - getGetCloneJobMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.vmmigration.v1.GetCloneJobRequest, - com.google.cloud.vmmigration.v1.CloneJob> - getGetCloneJobMethod; - if ((getGetCloneJobMethod = VmMigrationGrpc.getGetCloneJobMethod) == null) { - synchronized (VmMigrationGrpc.class) { - if ((getGetCloneJobMethod = VmMigrationGrpc.getGetCloneJobMethod) == null) { - VmMigrationGrpc.getGetCloneJobMethod = - getGetCloneJobMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetCloneJob")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.vmmigration.v1.GetCloneJobRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.vmmigration.v1.CloneJob.getDefaultInstance())) - .setSchemaDescriptor(new VmMigrationMethodDescriptorSupplier("GetCloneJob")) - .build(); - } - } - } - return getGetCloneJobMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.vmmigration.v1.CreateCutoverJobRequest, com.google.longrunning.Operation> - getCreateCutoverJobMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateCutoverJob", - requestType = com.google.cloud.vmmigration.v1.CreateCutoverJobRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.vmmigration.v1.CreateCutoverJobRequest, com.google.longrunning.Operation> - getCreateCutoverJobMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.vmmigration.v1.CreateCutoverJobRequest, - com.google.longrunning.Operation> - getCreateCutoverJobMethod; - if ((getCreateCutoverJobMethod = VmMigrationGrpc.getCreateCutoverJobMethod) == null) { - synchronized (VmMigrationGrpc.class) { - if ((getCreateCutoverJobMethod = VmMigrationGrpc.getCreateCutoverJobMethod) == null) { - VmMigrationGrpc.getCreateCutoverJobMethod = - getCreateCutoverJobMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateCutoverJob")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.vmmigration.v1.CreateCutoverJobRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new VmMigrationMethodDescriptorSupplier("CreateCutoverJob")) - .build(); - } - } - } - return getCreateCutoverJobMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.vmmigration.v1.CancelCutoverJobRequest, com.google.longrunning.Operation> - getCancelCutoverJobMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CancelCutoverJob", - requestType = com.google.cloud.vmmigration.v1.CancelCutoverJobRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.vmmigration.v1.CancelCutoverJobRequest, com.google.longrunning.Operation> - getCancelCutoverJobMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.vmmigration.v1.CancelCutoverJobRequest, - com.google.longrunning.Operation> - getCancelCutoverJobMethod; - if ((getCancelCutoverJobMethod = VmMigrationGrpc.getCancelCutoverJobMethod) == null) { - synchronized (VmMigrationGrpc.class) { - if ((getCancelCutoverJobMethod = VmMigrationGrpc.getCancelCutoverJobMethod) == null) { - VmMigrationGrpc.getCancelCutoverJobMethod = - getCancelCutoverJobMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CancelCutoverJob")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.vmmigration.v1.CancelCutoverJobRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new VmMigrationMethodDescriptorSupplier("CancelCutoverJob")) - .build(); - } - } - } - return getCancelCutoverJobMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.vmmigration.v1.ListCutoverJobsRequest, - com.google.cloud.vmmigration.v1.ListCutoverJobsResponse> - getListCutoverJobsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListCutoverJobs", - requestType = com.google.cloud.vmmigration.v1.ListCutoverJobsRequest.class, - responseType = com.google.cloud.vmmigration.v1.ListCutoverJobsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.vmmigration.v1.ListCutoverJobsRequest, - com.google.cloud.vmmigration.v1.ListCutoverJobsResponse> - getListCutoverJobsMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.vmmigration.v1.ListCutoverJobsRequest, - com.google.cloud.vmmigration.v1.ListCutoverJobsResponse> - getListCutoverJobsMethod; - if ((getListCutoverJobsMethod = VmMigrationGrpc.getListCutoverJobsMethod) == null) { - synchronized (VmMigrationGrpc.class) { - if ((getListCutoverJobsMethod = VmMigrationGrpc.getListCutoverJobsMethod) == null) { - VmMigrationGrpc.getListCutoverJobsMethod = - getListCutoverJobsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListCutoverJobs")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.vmmigration.v1.ListCutoverJobsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.vmmigration.v1.ListCutoverJobsResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new VmMigrationMethodDescriptorSupplier("ListCutoverJobs")) - .build(); - } - } - } - return getListCutoverJobsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.vmmigration.v1.GetCutoverJobRequest, - com.google.cloud.vmmigration.v1.CutoverJob> - getGetCutoverJobMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetCutoverJob", - requestType = com.google.cloud.vmmigration.v1.GetCutoverJobRequest.class, - responseType = com.google.cloud.vmmigration.v1.CutoverJob.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.vmmigration.v1.GetCutoverJobRequest, - com.google.cloud.vmmigration.v1.CutoverJob> - getGetCutoverJobMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.vmmigration.v1.GetCutoverJobRequest, - com.google.cloud.vmmigration.v1.CutoverJob> - getGetCutoverJobMethod; - if ((getGetCutoverJobMethod = VmMigrationGrpc.getGetCutoverJobMethod) == null) { - synchronized (VmMigrationGrpc.class) { - if ((getGetCutoverJobMethod = VmMigrationGrpc.getGetCutoverJobMethod) == null) { - VmMigrationGrpc.getGetCutoverJobMethod = - getGetCutoverJobMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetCutoverJob")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.vmmigration.v1.GetCutoverJobRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.vmmigration.v1.CutoverJob.getDefaultInstance())) - .setSchemaDescriptor(new VmMigrationMethodDescriptorSupplier("GetCutoverJob")) - .build(); - } - } - } - return getGetCutoverJobMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.vmmigration.v1.ListGroupsRequest, - com.google.cloud.vmmigration.v1.ListGroupsResponse> - getListGroupsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListGroups", - requestType = com.google.cloud.vmmigration.v1.ListGroupsRequest.class, - responseType = com.google.cloud.vmmigration.v1.ListGroupsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.vmmigration.v1.ListGroupsRequest, - com.google.cloud.vmmigration.v1.ListGroupsResponse> - getListGroupsMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.vmmigration.v1.ListGroupsRequest, - com.google.cloud.vmmigration.v1.ListGroupsResponse> - getListGroupsMethod; - if ((getListGroupsMethod = VmMigrationGrpc.getListGroupsMethod) == null) { - synchronized (VmMigrationGrpc.class) { - if ((getListGroupsMethod = VmMigrationGrpc.getListGroupsMethod) == null) { - VmMigrationGrpc.getListGroupsMethod = - getListGroupsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListGroups")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.vmmigration.v1.ListGroupsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.vmmigration.v1.ListGroupsResponse - .getDefaultInstance())) - .setSchemaDescriptor(new VmMigrationMethodDescriptorSupplier("ListGroups")) - .build(); - } - } - } - return getListGroupsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.vmmigration.v1.GetGroupRequest, com.google.cloud.vmmigration.v1.Group> - getGetGroupMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetGroup", - requestType = com.google.cloud.vmmigration.v1.GetGroupRequest.class, - responseType = com.google.cloud.vmmigration.v1.Group.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.vmmigration.v1.GetGroupRequest, com.google.cloud.vmmigration.v1.Group> - getGetGroupMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.vmmigration.v1.GetGroupRequest, com.google.cloud.vmmigration.v1.Group> - getGetGroupMethod; - if ((getGetGroupMethod = VmMigrationGrpc.getGetGroupMethod) == null) { - synchronized (VmMigrationGrpc.class) { - if ((getGetGroupMethod = VmMigrationGrpc.getGetGroupMethod) == null) { - VmMigrationGrpc.getGetGroupMethod = - getGetGroupMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetGroup")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.vmmigration.v1.GetGroupRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.vmmigration.v1.Group.getDefaultInstance())) - .setSchemaDescriptor(new VmMigrationMethodDescriptorSupplier("GetGroup")) - .build(); - } - } - } - return getGetGroupMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.vmmigration.v1.CreateGroupRequest, com.google.longrunning.Operation> - getCreateGroupMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateGroup", - requestType = com.google.cloud.vmmigration.v1.CreateGroupRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.vmmigration.v1.CreateGroupRequest, com.google.longrunning.Operation> - getCreateGroupMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.vmmigration.v1.CreateGroupRequest, com.google.longrunning.Operation> - getCreateGroupMethod; - if ((getCreateGroupMethod = VmMigrationGrpc.getCreateGroupMethod) == null) { - synchronized (VmMigrationGrpc.class) { - if ((getCreateGroupMethod = VmMigrationGrpc.getCreateGroupMethod) == null) { - VmMigrationGrpc.getCreateGroupMethod = - getCreateGroupMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateGroup")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.vmmigration.v1.CreateGroupRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new VmMigrationMethodDescriptorSupplier("CreateGroup")) - .build(); - } - } - } - return getCreateGroupMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.vmmigration.v1.UpdateGroupRequest, com.google.longrunning.Operation> - getUpdateGroupMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateGroup", - requestType = com.google.cloud.vmmigration.v1.UpdateGroupRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.vmmigration.v1.UpdateGroupRequest, com.google.longrunning.Operation> - getUpdateGroupMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.vmmigration.v1.UpdateGroupRequest, com.google.longrunning.Operation> - getUpdateGroupMethod; - if ((getUpdateGroupMethod = VmMigrationGrpc.getUpdateGroupMethod) == null) { - synchronized (VmMigrationGrpc.class) { - if ((getUpdateGroupMethod = VmMigrationGrpc.getUpdateGroupMethod) == null) { - VmMigrationGrpc.getUpdateGroupMethod = - getUpdateGroupMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateGroup")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.vmmigration.v1.UpdateGroupRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new VmMigrationMethodDescriptorSupplier("UpdateGroup")) - .build(); - } - } - } - return getUpdateGroupMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.vmmigration.v1.DeleteGroupRequest, com.google.longrunning.Operation> - getDeleteGroupMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteGroup", - requestType = com.google.cloud.vmmigration.v1.DeleteGroupRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.vmmigration.v1.DeleteGroupRequest, com.google.longrunning.Operation> - getDeleteGroupMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.vmmigration.v1.DeleteGroupRequest, com.google.longrunning.Operation> - getDeleteGroupMethod; - if ((getDeleteGroupMethod = VmMigrationGrpc.getDeleteGroupMethod) == null) { - synchronized (VmMigrationGrpc.class) { - if ((getDeleteGroupMethod = VmMigrationGrpc.getDeleteGroupMethod) == null) { - VmMigrationGrpc.getDeleteGroupMethod = - getDeleteGroupMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteGroup")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.vmmigration.v1.DeleteGroupRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new VmMigrationMethodDescriptorSupplier("DeleteGroup")) - .build(); - } - } - } - return getDeleteGroupMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.vmmigration.v1.AddGroupMigrationRequest, - com.google.longrunning.Operation> - getAddGroupMigrationMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "AddGroupMigration", - requestType = com.google.cloud.vmmigration.v1.AddGroupMigrationRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.vmmigration.v1.AddGroupMigrationRequest, - com.google.longrunning.Operation> - getAddGroupMigrationMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.vmmigration.v1.AddGroupMigrationRequest, - com.google.longrunning.Operation> - getAddGroupMigrationMethod; - if ((getAddGroupMigrationMethod = VmMigrationGrpc.getAddGroupMigrationMethod) == null) { - synchronized (VmMigrationGrpc.class) { - if ((getAddGroupMigrationMethod = VmMigrationGrpc.getAddGroupMigrationMethod) == null) { - VmMigrationGrpc.getAddGroupMigrationMethod = - getAddGroupMigrationMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "AddGroupMigration")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.vmmigration.v1.AddGroupMigrationRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new VmMigrationMethodDescriptorSupplier("AddGroupMigration")) - .build(); - } - } - } - return getAddGroupMigrationMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.vmmigration.v1.RemoveGroupMigrationRequest, - com.google.longrunning.Operation> - getRemoveGroupMigrationMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "RemoveGroupMigration", - requestType = com.google.cloud.vmmigration.v1.RemoveGroupMigrationRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.vmmigration.v1.RemoveGroupMigrationRequest, - com.google.longrunning.Operation> - getRemoveGroupMigrationMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.vmmigration.v1.RemoveGroupMigrationRequest, - com.google.longrunning.Operation> - getRemoveGroupMigrationMethod; - if ((getRemoveGroupMigrationMethod = VmMigrationGrpc.getRemoveGroupMigrationMethod) == null) { - synchronized (VmMigrationGrpc.class) { - if ((getRemoveGroupMigrationMethod = VmMigrationGrpc.getRemoveGroupMigrationMethod) - == null) { - VmMigrationGrpc.getRemoveGroupMigrationMethod = - getRemoveGroupMigrationMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "RemoveGroupMigration")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.vmmigration.v1.RemoveGroupMigrationRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new VmMigrationMethodDescriptorSupplier("RemoveGroupMigration")) - .build(); - } - } - } - return getRemoveGroupMigrationMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.vmmigration.v1.ListTargetProjectsRequest, - com.google.cloud.vmmigration.v1.ListTargetProjectsResponse> - getListTargetProjectsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListTargetProjects", - requestType = com.google.cloud.vmmigration.v1.ListTargetProjectsRequest.class, - responseType = com.google.cloud.vmmigration.v1.ListTargetProjectsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.vmmigration.v1.ListTargetProjectsRequest, - com.google.cloud.vmmigration.v1.ListTargetProjectsResponse> - getListTargetProjectsMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.vmmigration.v1.ListTargetProjectsRequest, - com.google.cloud.vmmigration.v1.ListTargetProjectsResponse> - getListTargetProjectsMethod; - if ((getListTargetProjectsMethod = VmMigrationGrpc.getListTargetProjectsMethod) == null) { - synchronized (VmMigrationGrpc.class) { - if ((getListTargetProjectsMethod = VmMigrationGrpc.getListTargetProjectsMethod) == null) { - VmMigrationGrpc.getListTargetProjectsMethod = - getListTargetProjectsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListTargetProjects")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.vmmigration.v1.ListTargetProjectsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.vmmigration.v1.ListTargetProjectsResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new VmMigrationMethodDescriptorSupplier("ListTargetProjects")) - .build(); - } - } - } - return getListTargetProjectsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.vmmigration.v1.GetTargetProjectRequest, - com.google.cloud.vmmigration.v1.TargetProject> - getGetTargetProjectMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetTargetProject", - requestType = com.google.cloud.vmmigration.v1.GetTargetProjectRequest.class, - responseType = com.google.cloud.vmmigration.v1.TargetProject.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.vmmigration.v1.GetTargetProjectRequest, - com.google.cloud.vmmigration.v1.TargetProject> - getGetTargetProjectMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.vmmigration.v1.GetTargetProjectRequest, - com.google.cloud.vmmigration.v1.TargetProject> - getGetTargetProjectMethod; - if ((getGetTargetProjectMethod = VmMigrationGrpc.getGetTargetProjectMethod) == null) { - synchronized (VmMigrationGrpc.class) { - if ((getGetTargetProjectMethod = VmMigrationGrpc.getGetTargetProjectMethod) == null) { - VmMigrationGrpc.getGetTargetProjectMethod = - getGetTargetProjectMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetTargetProject")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.vmmigration.v1.GetTargetProjectRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.vmmigration.v1.TargetProject.getDefaultInstance())) - .setSchemaDescriptor( - new VmMigrationMethodDescriptorSupplier("GetTargetProject")) - .build(); - } - } - } - return getGetTargetProjectMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.vmmigration.v1.CreateTargetProjectRequest, - com.google.longrunning.Operation> - getCreateTargetProjectMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateTargetProject", - requestType = com.google.cloud.vmmigration.v1.CreateTargetProjectRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.vmmigration.v1.CreateTargetProjectRequest, - com.google.longrunning.Operation> - getCreateTargetProjectMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.vmmigration.v1.CreateTargetProjectRequest, - com.google.longrunning.Operation> - getCreateTargetProjectMethod; - if ((getCreateTargetProjectMethod = VmMigrationGrpc.getCreateTargetProjectMethod) == null) { - synchronized (VmMigrationGrpc.class) { - if ((getCreateTargetProjectMethod = VmMigrationGrpc.getCreateTargetProjectMethod) == null) { - VmMigrationGrpc.getCreateTargetProjectMethod = - getCreateTargetProjectMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "CreateTargetProject")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.vmmigration.v1.CreateTargetProjectRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new VmMigrationMethodDescriptorSupplier("CreateTargetProject")) - .build(); - } - } - } - return getCreateTargetProjectMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.vmmigration.v1.UpdateTargetProjectRequest, - com.google.longrunning.Operation> - getUpdateTargetProjectMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateTargetProject", - requestType = com.google.cloud.vmmigration.v1.UpdateTargetProjectRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.vmmigration.v1.UpdateTargetProjectRequest, - com.google.longrunning.Operation> - getUpdateTargetProjectMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.vmmigration.v1.UpdateTargetProjectRequest, - com.google.longrunning.Operation> - getUpdateTargetProjectMethod; - if ((getUpdateTargetProjectMethod = VmMigrationGrpc.getUpdateTargetProjectMethod) == null) { - synchronized (VmMigrationGrpc.class) { - if ((getUpdateTargetProjectMethod = VmMigrationGrpc.getUpdateTargetProjectMethod) == null) { - VmMigrationGrpc.getUpdateTargetProjectMethod = - getUpdateTargetProjectMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "UpdateTargetProject")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.vmmigration.v1.UpdateTargetProjectRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new VmMigrationMethodDescriptorSupplier("UpdateTargetProject")) - .build(); - } - } - } - return getUpdateTargetProjectMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.vmmigration.v1.DeleteTargetProjectRequest, - com.google.longrunning.Operation> - getDeleteTargetProjectMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteTargetProject", - requestType = com.google.cloud.vmmigration.v1.DeleteTargetProjectRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.vmmigration.v1.DeleteTargetProjectRequest, - com.google.longrunning.Operation> - getDeleteTargetProjectMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.vmmigration.v1.DeleteTargetProjectRequest, - com.google.longrunning.Operation> - getDeleteTargetProjectMethod; - if ((getDeleteTargetProjectMethod = VmMigrationGrpc.getDeleteTargetProjectMethod) == null) { - synchronized (VmMigrationGrpc.class) { - if ((getDeleteTargetProjectMethod = VmMigrationGrpc.getDeleteTargetProjectMethod) == null) { - VmMigrationGrpc.getDeleteTargetProjectMethod = - getDeleteTargetProjectMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "DeleteTargetProject")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.vmmigration.v1.DeleteTargetProjectRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new VmMigrationMethodDescriptorSupplier("DeleteTargetProject")) - .build(); - } - } - } - return getDeleteTargetProjectMethod; - } - - /** Creates a new async stub that supports all call types for the service */ - public static VmMigrationStub newStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public VmMigrationStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new VmMigrationStub(channel, callOptions); - } - }; - return VmMigrationStub.newStub(factory, channel); - } - - /** - * Creates a new blocking-style stub that supports unary and streaming output calls on the service - */ - public static VmMigrationBlockingStub newBlockingStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public VmMigrationBlockingStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new VmMigrationBlockingStub(channel, callOptions); - } - }; - return VmMigrationBlockingStub.newStub(factory, channel); - } - - /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ - public static VmMigrationFutureStub newFutureStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public VmMigrationFutureStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new VmMigrationFutureStub(channel, callOptions); - } - }; - return VmMigrationFutureStub.newStub(factory, channel); - } - - /** - * - * - *
-   * VM Migration Service
-   * 
- */ - public abstract static class VmMigrationImplBase implements io.grpc.BindableService { - - /** - * - * - *
-     * Lists Sources in a given project and location.
-     * 
- */ - public void listSources( - com.google.cloud.vmmigration.v1.ListSourcesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListSourcesMethod(), responseObserver); - } - - /** - * - * - *
-     * Gets details of a single Source.
-     * 
- */ - public void getSource( - com.google.cloud.vmmigration.v1.GetSourceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetSourceMethod(), responseObserver); - } - - /** - * - * - *
-     * Creates a new Source in a given project and location.
-     * 
- */ - public void createSource( - com.google.cloud.vmmigration.v1.CreateSourceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateSourceMethod(), responseObserver); - } - - /** - * - * - *
-     * Updates the parameters of a single Source.
-     * 
- */ - public void updateSource( - com.google.cloud.vmmigration.v1.UpdateSourceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUpdateSourceMethod(), responseObserver); - } - - /** - * - * - *
-     * Deletes a single Source.
-     * 
- */ - public void deleteSource( - com.google.cloud.vmmigration.v1.DeleteSourceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeleteSourceMethod(), responseObserver); - } - - /** - * - * - *
-     * List remote source's inventory of VMs.
-     * The remote source is the onprem vCenter (remote in the sense it's not in
-     * Compute Engine). The inventory describes the list of existing VMs in that
-     * source. Note that this operation lists the VMs on the remote source, as
-     * opposed to listing the MigratingVms resources in the vmmigration service.
-     * 
- */ - public void fetchInventory( - com.google.cloud.vmmigration.v1.FetchInventoryRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getFetchInventoryMethod(), responseObserver); - } - - /** - * - * - *
-     * Lists Utilization Reports of the given Source.
-     * 
- */ - public void listUtilizationReports( - com.google.cloud.vmmigration.v1.ListUtilizationReportsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListUtilizationReportsMethod(), responseObserver); - } - - /** - * - * - *
-     * Gets a single Utilization Report.
-     * 
- */ - public void getUtilizationReport( - com.google.cloud.vmmigration.v1.GetUtilizationReportRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetUtilizationReportMethod(), responseObserver); - } - - /** - * - * - *
-     * Creates a new UtilizationReport.
-     * 
- */ - public void createUtilizationReport( - com.google.cloud.vmmigration.v1.CreateUtilizationReportRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateUtilizationReportMethod(), responseObserver); - } - - /** - * - * - *
-     * Deletes a single Utilization Report.
-     * 
- */ - public void deleteUtilizationReport( - com.google.cloud.vmmigration.v1.DeleteUtilizationReportRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeleteUtilizationReportMethod(), responseObserver); - } - - /** - * - * - *
-     * Lists DatacenterConnectors in a given Source.
-     * 
- */ - public void listDatacenterConnectors( - com.google.cloud.vmmigration.v1.ListDatacenterConnectorsRequest request, - io.grpc.stub.StreamObserver< - com.google.cloud.vmmigration.v1.ListDatacenterConnectorsResponse> - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListDatacenterConnectorsMethod(), responseObserver); - } - - /** - * - * - *
-     * Gets details of a single DatacenterConnector.
-     * 
- */ - public void getDatacenterConnector( - com.google.cloud.vmmigration.v1.GetDatacenterConnectorRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetDatacenterConnectorMethod(), responseObserver); - } - - /** - * - * - *
-     * Creates a new DatacenterConnector in a given Source.
-     * 
- */ - public void createDatacenterConnector( - com.google.cloud.vmmigration.v1.CreateDatacenterConnectorRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateDatacenterConnectorMethod(), responseObserver); - } - - /** - * - * - *
-     * Deletes a single DatacenterConnector.
-     * 
- */ - public void deleteDatacenterConnector( - com.google.cloud.vmmigration.v1.DeleteDatacenterConnectorRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeleteDatacenterConnectorMethod(), responseObserver); - } - - /** - * - * - *
-     * Creates a new MigratingVm in a given Source.
-     * 
- */ - public void createMigratingVm( - com.google.cloud.vmmigration.v1.CreateMigratingVmRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateMigratingVmMethod(), responseObserver); - } - - /** - * - * - *
-     * Lists MigratingVms in a given Source.
-     * 
- */ - public void listMigratingVms( - com.google.cloud.vmmigration.v1.ListMigratingVmsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListMigratingVmsMethod(), responseObserver); - } - - /** - * - * - *
-     * Gets details of a single MigratingVm.
-     * 
- */ - public void getMigratingVm( - com.google.cloud.vmmigration.v1.GetMigratingVmRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetMigratingVmMethod(), responseObserver); - } - - /** - * - * - *
-     * Updates the parameters of a single MigratingVm.
-     * 
- */ - public void updateMigratingVm( - com.google.cloud.vmmigration.v1.UpdateMigratingVmRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUpdateMigratingVmMethod(), responseObserver); - } - - /** - * - * - *
-     * Deletes a single MigratingVm.
-     * 
- */ - public void deleteMigratingVm( - com.google.cloud.vmmigration.v1.DeleteMigratingVmRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeleteMigratingVmMethod(), responseObserver); - } - - /** - * - * - *
-     * Starts migration for a VM. Starts the process of uploading
-     * data and creating snapshots, in replication cycles scheduled by the policy.
-     * 
- */ - public void startMigration( - com.google.cloud.vmmigration.v1.StartMigrationRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getStartMigrationMethod(), responseObserver); - } - - /** - * - * - *
-     * Resumes a migration for a VM. When called on a paused migration, will start
-     * the process of uploading data and creating snapshots; when called on a
-     * completed cut-over migration, will update the migration to active state and
-     * start the process of uploading data and creating snapshots.
-     * 
- */ - public void resumeMigration( - com.google.cloud.vmmigration.v1.ResumeMigrationRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getResumeMigrationMethod(), responseObserver); - } - - /** - * - * - *
-     * Pauses a migration for a VM. If cycle tasks are running they will be
-     * cancelled, preserving source task data. Further replication cycles will not
-     * be triggered while the VM is paused.
-     * 
- */ - public void pauseMigration( - com.google.cloud.vmmigration.v1.PauseMigrationRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getPauseMigrationMethod(), responseObserver); - } - - /** - * - * - *
-     * Marks a migration as completed, deleting migration resources that are no
-     * longer being used. Only applicable after cutover is done.
-     * 
- */ - public void finalizeMigration( - com.google.cloud.vmmigration.v1.FinalizeMigrationRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getFinalizeMigrationMethod(), responseObserver); - } - - /** - * - * - *
-     * Initiates a Clone of a specific migrating VM.
-     * 
- */ - public void createCloneJob( - com.google.cloud.vmmigration.v1.CreateCloneJobRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateCloneJobMethod(), responseObserver); - } - - /** - * - * - *
-     * Initiates the cancellation of a running clone job.
-     * 
- */ - public void cancelCloneJob( - com.google.cloud.vmmigration.v1.CancelCloneJobRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCancelCloneJobMethod(), responseObserver); - } - - /** - * - * - *
-     * Lists CloneJobs of a given migrating VM.
-     * 
- */ - public void listCloneJobs( - com.google.cloud.vmmigration.v1.ListCloneJobsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListCloneJobsMethod(), responseObserver); - } - - /** - * - * - *
-     * Gets details of a single CloneJob.
-     * 
- */ - public void getCloneJob( - com.google.cloud.vmmigration.v1.GetCloneJobRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetCloneJobMethod(), responseObserver); - } - - /** - * - * - *
-     * Initiates a Cutover of a specific migrating VM.
-     * The returned LRO is completed when the cutover job resource is created
-     * and the job is initiated.
-     * 
- */ - public void createCutoverJob( - com.google.cloud.vmmigration.v1.CreateCutoverJobRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateCutoverJobMethod(), responseObserver); - } - - /** - * - * - *
-     * Initiates the cancellation of a running cutover job.
-     * 
- */ - public void cancelCutoverJob( - com.google.cloud.vmmigration.v1.CancelCutoverJobRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCancelCutoverJobMethod(), responseObserver); - } - - /** - * - * - *
-     * Lists CutoverJobs of a given migrating VM.
-     * 
- */ - public void listCutoverJobs( - com.google.cloud.vmmigration.v1.ListCutoverJobsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListCutoverJobsMethod(), responseObserver); - } - - /** - * - * - *
-     * Gets details of a single CutoverJob.
-     * 
- */ - public void getCutoverJob( - com.google.cloud.vmmigration.v1.GetCutoverJobRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetCutoverJobMethod(), responseObserver); - } - - /** - * - * - *
-     * Lists Groups in a given project and location.
-     * 
- */ - public void listGroups( - com.google.cloud.vmmigration.v1.ListGroupsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListGroupsMethod(), responseObserver); - } - - /** - * - * - *
-     * Gets details of a single Group.
-     * 
- */ - public void getGroup( - com.google.cloud.vmmigration.v1.GetGroupRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetGroupMethod(), responseObserver); - } - - /** - * - * - *
-     * Creates a new Group in a given project and location.
-     * 
- */ - public void createGroup( - com.google.cloud.vmmigration.v1.CreateGroupRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateGroupMethod(), responseObserver); - } - - /** - * - * - *
-     * Updates the parameters of a single Group.
-     * 
- */ - public void updateGroup( - com.google.cloud.vmmigration.v1.UpdateGroupRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUpdateGroupMethod(), responseObserver); - } - - /** - * - * - *
-     * Deletes a single Group.
-     * 
- */ - public void deleteGroup( - com.google.cloud.vmmigration.v1.DeleteGroupRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeleteGroupMethod(), responseObserver); - } - - /** - * - * - *
-     * Adds a MigratingVm to a Group.
-     * 
- */ - public void addGroupMigration( - com.google.cloud.vmmigration.v1.AddGroupMigrationRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getAddGroupMigrationMethod(), responseObserver); - } - - /** - * - * - *
-     * Removes a MigratingVm from a Group.
-     * 
- */ - public void removeGroupMigration( - com.google.cloud.vmmigration.v1.RemoveGroupMigrationRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getRemoveGroupMigrationMethod(), responseObserver); - } - - /** - * - * - *
-     * Lists TargetProjects in a given project.
-     * NOTE: TargetProject is a global resource; hence the only supported value
-     * for location is `global`.
-     * 
- */ - public void listTargetProjects( - com.google.cloud.vmmigration.v1.ListTargetProjectsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListTargetProjectsMethod(), responseObserver); - } - - /** - * - * - *
-     * Gets details of a single TargetProject.
-     * NOTE: TargetProject is a global resource; hence the only supported value
-     * for location is `global`.
-     * 
- */ - public void getTargetProject( - com.google.cloud.vmmigration.v1.GetTargetProjectRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetTargetProjectMethod(), responseObserver); - } - - /** - * - * - *
-     * Creates a new TargetProject in a given project.
-     * NOTE: TargetProject is a global resource; hence the only supported value
-     * for location is `global`.
-     * 
- */ - public void createTargetProject( - com.google.cloud.vmmigration.v1.CreateTargetProjectRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateTargetProjectMethod(), responseObserver); - } - - /** - * - * - *
-     * Updates the parameters of a single TargetProject.
-     * NOTE: TargetProject is a global resource; hence the only supported value
-     * for location is `global`.
-     * 
- */ - public void updateTargetProject( - com.google.cloud.vmmigration.v1.UpdateTargetProjectRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUpdateTargetProjectMethod(), responseObserver); - } - - /** - * - * - *
-     * Deletes a single TargetProject.
-     * NOTE: TargetProject is a global resource; hence the only supported value
-     * for location is `global`.
-     * 
- */ - public void deleteTargetProject( - com.google.cloud.vmmigration.v1.DeleteTargetProjectRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeleteTargetProjectMethod(), responseObserver); - } - - @java.lang.Override - public final io.grpc.ServerServiceDefinition bindService() { - return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) - .addMethod( - getListSourcesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.vmmigration.v1.ListSourcesRequest, - com.google.cloud.vmmigration.v1.ListSourcesResponse>( - this, METHODID_LIST_SOURCES))) - .addMethod( - getGetSourceMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.vmmigration.v1.GetSourceRequest, - com.google.cloud.vmmigration.v1.Source>(this, METHODID_GET_SOURCE))) - .addMethod( - getCreateSourceMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.vmmigration.v1.CreateSourceRequest, - com.google.longrunning.Operation>(this, METHODID_CREATE_SOURCE))) - .addMethod( - getUpdateSourceMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.vmmigration.v1.UpdateSourceRequest, - com.google.longrunning.Operation>(this, METHODID_UPDATE_SOURCE))) - .addMethod( - getDeleteSourceMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.vmmigration.v1.DeleteSourceRequest, - com.google.longrunning.Operation>(this, METHODID_DELETE_SOURCE))) - .addMethod( - getFetchInventoryMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.vmmigration.v1.FetchInventoryRequest, - com.google.cloud.vmmigration.v1.FetchInventoryResponse>( - this, METHODID_FETCH_INVENTORY))) - .addMethod( - getListUtilizationReportsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.vmmigration.v1.ListUtilizationReportsRequest, - com.google.cloud.vmmigration.v1.ListUtilizationReportsResponse>( - this, METHODID_LIST_UTILIZATION_REPORTS))) - .addMethod( - getGetUtilizationReportMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.vmmigration.v1.GetUtilizationReportRequest, - com.google.cloud.vmmigration.v1.UtilizationReport>( - this, METHODID_GET_UTILIZATION_REPORT))) - .addMethod( - getCreateUtilizationReportMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.vmmigration.v1.CreateUtilizationReportRequest, - com.google.longrunning.Operation>(this, METHODID_CREATE_UTILIZATION_REPORT))) - .addMethod( - getDeleteUtilizationReportMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.vmmigration.v1.DeleteUtilizationReportRequest, - com.google.longrunning.Operation>(this, METHODID_DELETE_UTILIZATION_REPORT))) - .addMethod( - getListDatacenterConnectorsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.vmmigration.v1.ListDatacenterConnectorsRequest, - com.google.cloud.vmmigration.v1.ListDatacenterConnectorsResponse>( - this, METHODID_LIST_DATACENTER_CONNECTORS))) - .addMethod( - getGetDatacenterConnectorMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.vmmigration.v1.GetDatacenterConnectorRequest, - com.google.cloud.vmmigration.v1.DatacenterConnector>( - this, METHODID_GET_DATACENTER_CONNECTOR))) - .addMethod( - getCreateDatacenterConnectorMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.vmmigration.v1.CreateDatacenterConnectorRequest, - com.google.longrunning.Operation>( - this, METHODID_CREATE_DATACENTER_CONNECTOR))) - .addMethod( - getDeleteDatacenterConnectorMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.vmmigration.v1.DeleteDatacenterConnectorRequest, - com.google.longrunning.Operation>( - this, METHODID_DELETE_DATACENTER_CONNECTOR))) - .addMethod( - getCreateMigratingVmMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.vmmigration.v1.CreateMigratingVmRequest, - com.google.longrunning.Operation>(this, METHODID_CREATE_MIGRATING_VM))) - .addMethod( - getListMigratingVmsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.vmmigration.v1.ListMigratingVmsRequest, - com.google.cloud.vmmigration.v1.ListMigratingVmsResponse>( - this, METHODID_LIST_MIGRATING_VMS))) - .addMethod( - getGetMigratingVmMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.vmmigration.v1.GetMigratingVmRequest, - com.google.cloud.vmmigration.v1.MigratingVm>( - this, METHODID_GET_MIGRATING_VM))) - .addMethod( - getUpdateMigratingVmMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.vmmigration.v1.UpdateMigratingVmRequest, - com.google.longrunning.Operation>(this, METHODID_UPDATE_MIGRATING_VM))) - .addMethod( - getDeleteMigratingVmMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.vmmigration.v1.DeleteMigratingVmRequest, - com.google.longrunning.Operation>(this, METHODID_DELETE_MIGRATING_VM))) - .addMethod( - getStartMigrationMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.vmmigration.v1.StartMigrationRequest, - com.google.longrunning.Operation>(this, METHODID_START_MIGRATION))) - .addMethod( - getResumeMigrationMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.vmmigration.v1.ResumeMigrationRequest, - com.google.longrunning.Operation>(this, METHODID_RESUME_MIGRATION))) - .addMethod( - getPauseMigrationMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.vmmigration.v1.PauseMigrationRequest, - com.google.longrunning.Operation>(this, METHODID_PAUSE_MIGRATION))) - .addMethod( - getFinalizeMigrationMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.vmmigration.v1.FinalizeMigrationRequest, - com.google.longrunning.Operation>(this, METHODID_FINALIZE_MIGRATION))) - .addMethod( - getCreateCloneJobMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.vmmigration.v1.CreateCloneJobRequest, - com.google.longrunning.Operation>(this, METHODID_CREATE_CLONE_JOB))) - .addMethod( - getCancelCloneJobMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.vmmigration.v1.CancelCloneJobRequest, - com.google.longrunning.Operation>(this, METHODID_CANCEL_CLONE_JOB))) - .addMethod( - getListCloneJobsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.vmmigration.v1.ListCloneJobsRequest, - com.google.cloud.vmmigration.v1.ListCloneJobsResponse>( - this, METHODID_LIST_CLONE_JOBS))) - .addMethod( - getGetCloneJobMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.vmmigration.v1.GetCloneJobRequest, - com.google.cloud.vmmigration.v1.CloneJob>(this, METHODID_GET_CLONE_JOB))) - .addMethod( - getCreateCutoverJobMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.vmmigration.v1.CreateCutoverJobRequest, - com.google.longrunning.Operation>(this, METHODID_CREATE_CUTOVER_JOB))) - .addMethod( - getCancelCutoverJobMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.vmmigration.v1.CancelCutoverJobRequest, - com.google.longrunning.Operation>(this, METHODID_CANCEL_CUTOVER_JOB))) - .addMethod( - getListCutoverJobsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.vmmigration.v1.ListCutoverJobsRequest, - com.google.cloud.vmmigration.v1.ListCutoverJobsResponse>( - this, METHODID_LIST_CUTOVER_JOBS))) - .addMethod( - getGetCutoverJobMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.vmmigration.v1.GetCutoverJobRequest, - com.google.cloud.vmmigration.v1.CutoverJob>(this, METHODID_GET_CUTOVER_JOB))) - .addMethod( - getListGroupsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.vmmigration.v1.ListGroupsRequest, - com.google.cloud.vmmigration.v1.ListGroupsResponse>( - this, METHODID_LIST_GROUPS))) - .addMethod( - getGetGroupMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.vmmigration.v1.GetGroupRequest, - com.google.cloud.vmmigration.v1.Group>(this, METHODID_GET_GROUP))) - .addMethod( - getCreateGroupMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.vmmigration.v1.CreateGroupRequest, - com.google.longrunning.Operation>(this, METHODID_CREATE_GROUP))) - .addMethod( - getUpdateGroupMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.vmmigration.v1.UpdateGroupRequest, - com.google.longrunning.Operation>(this, METHODID_UPDATE_GROUP))) - .addMethod( - getDeleteGroupMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.vmmigration.v1.DeleteGroupRequest, - com.google.longrunning.Operation>(this, METHODID_DELETE_GROUP))) - .addMethod( - getAddGroupMigrationMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.vmmigration.v1.AddGroupMigrationRequest, - com.google.longrunning.Operation>(this, METHODID_ADD_GROUP_MIGRATION))) - .addMethod( - getRemoveGroupMigrationMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.vmmigration.v1.RemoveGroupMigrationRequest, - com.google.longrunning.Operation>(this, METHODID_REMOVE_GROUP_MIGRATION))) - .addMethod( - getListTargetProjectsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.vmmigration.v1.ListTargetProjectsRequest, - com.google.cloud.vmmigration.v1.ListTargetProjectsResponse>( - this, METHODID_LIST_TARGET_PROJECTS))) - .addMethod( - getGetTargetProjectMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.vmmigration.v1.GetTargetProjectRequest, - com.google.cloud.vmmigration.v1.TargetProject>( - this, METHODID_GET_TARGET_PROJECT))) - .addMethod( - getCreateTargetProjectMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.vmmigration.v1.CreateTargetProjectRequest, - com.google.longrunning.Operation>(this, METHODID_CREATE_TARGET_PROJECT))) - .addMethod( - getUpdateTargetProjectMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.vmmigration.v1.UpdateTargetProjectRequest, - com.google.longrunning.Operation>(this, METHODID_UPDATE_TARGET_PROJECT))) - .addMethod( - getDeleteTargetProjectMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.vmmigration.v1.DeleteTargetProjectRequest, - com.google.longrunning.Operation>(this, METHODID_DELETE_TARGET_PROJECT))) - .build(); - } - } - - /** - * - * - *
-   * VM Migration Service
-   * 
- */ - public static final class VmMigrationStub - extends io.grpc.stub.AbstractAsyncStub { - private VmMigrationStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected VmMigrationStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new VmMigrationStub(channel, callOptions); - } - - /** - * - * - *
-     * Lists Sources in a given project and location.
-     * 
- */ - public void listSources( - com.google.cloud.vmmigration.v1.ListSourcesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListSourcesMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Gets details of a single Source.
-     * 
- */ - public void getSource( - com.google.cloud.vmmigration.v1.GetSourceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetSourceMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * Creates a new Source in a given project and location.
-     * 
- */ - public void createSource( - com.google.cloud.vmmigration.v1.CreateSourceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateSourceMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Updates the parameters of a single Source.
-     * 
- */ - public void updateSource( - com.google.cloud.vmmigration.v1.UpdateSourceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateSourceMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Deletes a single Source.
-     * 
- */ - public void deleteSource( - com.google.cloud.vmmigration.v1.DeleteSourceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteSourceMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * List remote source's inventory of VMs.
-     * The remote source is the onprem vCenter (remote in the sense it's not in
-     * Compute Engine). The inventory describes the list of existing VMs in that
-     * source. Note that this operation lists the VMs on the remote source, as
-     * opposed to listing the MigratingVms resources in the vmmigration service.
-     * 
- */ - public void fetchInventory( - com.google.cloud.vmmigration.v1.FetchInventoryRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getFetchInventoryMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Lists Utilization Reports of the given Source.
-     * 
- */ - public void listUtilizationReports( - com.google.cloud.vmmigration.v1.ListUtilizationReportsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListUtilizationReportsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Gets a single Utilization Report.
-     * 
- */ - public void getUtilizationReport( - com.google.cloud.vmmigration.v1.GetUtilizationReportRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetUtilizationReportMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Creates a new UtilizationReport.
-     * 
- */ - public void createUtilizationReport( - com.google.cloud.vmmigration.v1.CreateUtilizationReportRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateUtilizationReportMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Deletes a single Utilization Report.
-     * 
- */ - public void deleteUtilizationReport( - com.google.cloud.vmmigration.v1.DeleteUtilizationReportRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteUtilizationReportMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Lists DatacenterConnectors in a given Source.
-     * 
- */ - public void listDatacenterConnectors( - com.google.cloud.vmmigration.v1.ListDatacenterConnectorsRequest request, - io.grpc.stub.StreamObserver< - com.google.cloud.vmmigration.v1.ListDatacenterConnectorsResponse> - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListDatacenterConnectorsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Gets details of a single DatacenterConnector.
-     * 
- */ - public void getDatacenterConnector( - com.google.cloud.vmmigration.v1.GetDatacenterConnectorRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetDatacenterConnectorMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Creates a new DatacenterConnector in a given Source.
-     * 
- */ - public void createDatacenterConnector( - com.google.cloud.vmmigration.v1.CreateDatacenterConnectorRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateDatacenterConnectorMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Deletes a single DatacenterConnector.
-     * 
- */ - public void deleteDatacenterConnector( - com.google.cloud.vmmigration.v1.DeleteDatacenterConnectorRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteDatacenterConnectorMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Creates a new MigratingVm in a given Source.
-     * 
- */ - public void createMigratingVm( - com.google.cloud.vmmigration.v1.CreateMigratingVmRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateMigratingVmMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Lists MigratingVms in a given Source.
-     * 
- */ - public void listMigratingVms( - com.google.cloud.vmmigration.v1.ListMigratingVmsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListMigratingVmsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Gets details of a single MigratingVm.
-     * 
- */ - public void getMigratingVm( - com.google.cloud.vmmigration.v1.GetMigratingVmRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetMigratingVmMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Updates the parameters of a single MigratingVm.
-     * 
- */ - public void updateMigratingVm( - com.google.cloud.vmmigration.v1.UpdateMigratingVmRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateMigratingVmMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Deletes a single MigratingVm.
-     * 
- */ - public void deleteMigratingVm( - com.google.cloud.vmmigration.v1.DeleteMigratingVmRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteMigratingVmMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Starts migration for a VM. Starts the process of uploading
-     * data and creating snapshots, in replication cycles scheduled by the policy.
-     * 
- */ - public void startMigration( - com.google.cloud.vmmigration.v1.StartMigrationRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getStartMigrationMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Resumes a migration for a VM. When called on a paused migration, will start
-     * the process of uploading data and creating snapshots; when called on a
-     * completed cut-over migration, will update the migration to active state and
-     * start the process of uploading data and creating snapshots.
-     * 
- */ - public void resumeMigration( - com.google.cloud.vmmigration.v1.ResumeMigrationRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getResumeMigrationMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Pauses a migration for a VM. If cycle tasks are running they will be
-     * cancelled, preserving source task data. Further replication cycles will not
-     * be triggered while the VM is paused.
-     * 
- */ - public void pauseMigration( - com.google.cloud.vmmigration.v1.PauseMigrationRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getPauseMigrationMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Marks a migration as completed, deleting migration resources that are no
-     * longer being used. Only applicable after cutover is done.
-     * 
- */ - public void finalizeMigration( - com.google.cloud.vmmigration.v1.FinalizeMigrationRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getFinalizeMigrationMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Initiates a Clone of a specific migrating VM.
-     * 
- */ - public void createCloneJob( - com.google.cloud.vmmigration.v1.CreateCloneJobRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateCloneJobMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Initiates the cancellation of a running clone job.
-     * 
- */ - public void cancelCloneJob( - com.google.cloud.vmmigration.v1.CancelCloneJobRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCancelCloneJobMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Lists CloneJobs of a given migrating VM.
-     * 
- */ - public void listCloneJobs( - com.google.cloud.vmmigration.v1.ListCloneJobsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListCloneJobsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Gets details of a single CloneJob.
-     * 
- */ - public void getCloneJob( - com.google.cloud.vmmigration.v1.GetCloneJobRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetCloneJobMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Initiates a Cutover of a specific migrating VM.
-     * The returned LRO is completed when the cutover job resource is created
-     * and the job is initiated.
-     * 
- */ - public void createCutoverJob( - com.google.cloud.vmmigration.v1.CreateCutoverJobRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateCutoverJobMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Initiates the cancellation of a running cutover job.
-     * 
- */ - public void cancelCutoverJob( - com.google.cloud.vmmigration.v1.CancelCutoverJobRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCancelCutoverJobMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Lists CutoverJobs of a given migrating VM.
-     * 
- */ - public void listCutoverJobs( - com.google.cloud.vmmigration.v1.ListCutoverJobsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListCutoverJobsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Gets details of a single CutoverJob.
-     * 
- */ - public void getCutoverJob( - com.google.cloud.vmmigration.v1.GetCutoverJobRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetCutoverJobMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Lists Groups in a given project and location.
-     * 
- */ - public void listGroups( - com.google.cloud.vmmigration.v1.ListGroupsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListGroupsMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * Gets details of a single Group.
-     * 
- */ - public void getGroup( - com.google.cloud.vmmigration.v1.GetGroupRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetGroupMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * Creates a new Group in a given project and location.
-     * 
- */ - public void createGroup( - com.google.cloud.vmmigration.v1.CreateGroupRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateGroupMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Updates the parameters of a single Group.
-     * 
- */ - public void updateGroup( - com.google.cloud.vmmigration.v1.UpdateGroupRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateGroupMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Deletes a single Group.
-     * 
- */ - public void deleteGroup( - com.google.cloud.vmmigration.v1.DeleteGroupRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteGroupMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Adds a MigratingVm to a Group.
-     * 
- */ - public void addGroupMigration( - com.google.cloud.vmmigration.v1.AddGroupMigrationRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getAddGroupMigrationMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Removes a MigratingVm from a Group.
-     * 
- */ - public void removeGroupMigration( - com.google.cloud.vmmigration.v1.RemoveGroupMigrationRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getRemoveGroupMigrationMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Lists TargetProjects in a given project.
-     * NOTE: TargetProject is a global resource; hence the only supported value
-     * for location is `global`.
-     * 
- */ - public void listTargetProjects( - com.google.cloud.vmmigration.v1.ListTargetProjectsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListTargetProjectsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Gets details of a single TargetProject.
-     * NOTE: TargetProject is a global resource; hence the only supported value
-     * for location is `global`.
-     * 
- */ - public void getTargetProject( - com.google.cloud.vmmigration.v1.GetTargetProjectRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetTargetProjectMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Creates a new TargetProject in a given project.
-     * NOTE: TargetProject is a global resource; hence the only supported value
-     * for location is `global`.
-     * 
- */ - public void createTargetProject( - com.google.cloud.vmmigration.v1.CreateTargetProjectRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateTargetProjectMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Updates the parameters of a single TargetProject.
-     * NOTE: TargetProject is a global resource; hence the only supported value
-     * for location is `global`.
-     * 
- */ - public void updateTargetProject( - com.google.cloud.vmmigration.v1.UpdateTargetProjectRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateTargetProjectMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Deletes a single TargetProject.
-     * NOTE: TargetProject is a global resource; hence the only supported value
-     * for location is `global`.
-     * 
- */ - public void deleteTargetProject( - com.google.cloud.vmmigration.v1.DeleteTargetProjectRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteTargetProjectMethod(), getCallOptions()), - request, - responseObserver); - } - } - - /** - * - * - *
-   * VM Migration Service
-   * 
- */ - public static final class VmMigrationBlockingStub - extends io.grpc.stub.AbstractBlockingStub { - private VmMigrationBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected VmMigrationBlockingStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new VmMigrationBlockingStub(channel, callOptions); - } - - /** - * - * - *
-     * Lists Sources in a given project and location.
-     * 
- */ - public com.google.cloud.vmmigration.v1.ListSourcesResponse listSources( - com.google.cloud.vmmigration.v1.ListSourcesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListSourcesMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Gets details of a single Source.
-     * 
- */ - public com.google.cloud.vmmigration.v1.Source getSource( - com.google.cloud.vmmigration.v1.GetSourceRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetSourceMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Creates a new Source in a given project and location.
-     * 
- */ - public com.google.longrunning.Operation createSource( - com.google.cloud.vmmigration.v1.CreateSourceRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateSourceMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Updates the parameters of a single Source.
-     * 
- */ - public com.google.longrunning.Operation updateSource( - com.google.cloud.vmmigration.v1.UpdateSourceRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateSourceMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Deletes a single Source.
-     * 
- */ - public com.google.longrunning.Operation deleteSource( - com.google.cloud.vmmigration.v1.DeleteSourceRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteSourceMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * List remote source's inventory of VMs.
-     * The remote source is the onprem vCenter (remote in the sense it's not in
-     * Compute Engine). The inventory describes the list of existing VMs in that
-     * source. Note that this operation lists the VMs on the remote source, as
-     * opposed to listing the MigratingVms resources in the vmmigration service.
-     * 
- */ - public com.google.cloud.vmmigration.v1.FetchInventoryResponse fetchInventory( - com.google.cloud.vmmigration.v1.FetchInventoryRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getFetchInventoryMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lists Utilization Reports of the given Source.
-     * 
- */ - public com.google.cloud.vmmigration.v1.ListUtilizationReportsResponse listUtilizationReports( - com.google.cloud.vmmigration.v1.ListUtilizationReportsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListUtilizationReportsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Gets a single Utilization Report.
-     * 
- */ - public com.google.cloud.vmmigration.v1.UtilizationReport getUtilizationReport( - com.google.cloud.vmmigration.v1.GetUtilizationReportRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetUtilizationReportMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Creates a new UtilizationReport.
-     * 
- */ - public com.google.longrunning.Operation createUtilizationReport( - com.google.cloud.vmmigration.v1.CreateUtilizationReportRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateUtilizationReportMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Deletes a single Utilization Report.
-     * 
- */ - public com.google.longrunning.Operation deleteUtilizationReport( - com.google.cloud.vmmigration.v1.DeleteUtilizationReportRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteUtilizationReportMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lists DatacenterConnectors in a given Source.
-     * 
- */ - public com.google.cloud.vmmigration.v1.ListDatacenterConnectorsResponse - listDatacenterConnectors( - com.google.cloud.vmmigration.v1.ListDatacenterConnectorsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListDatacenterConnectorsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Gets details of a single DatacenterConnector.
-     * 
- */ - public com.google.cloud.vmmigration.v1.DatacenterConnector getDatacenterConnector( - com.google.cloud.vmmigration.v1.GetDatacenterConnectorRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetDatacenterConnectorMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Creates a new DatacenterConnector in a given Source.
-     * 
- */ - public com.google.longrunning.Operation createDatacenterConnector( - com.google.cloud.vmmigration.v1.CreateDatacenterConnectorRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateDatacenterConnectorMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Deletes a single DatacenterConnector.
-     * 
- */ - public com.google.longrunning.Operation deleteDatacenterConnector( - com.google.cloud.vmmigration.v1.DeleteDatacenterConnectorRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteDatacenterConnectorMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Creates a new MigratingVm in a given Source.
-     * 
- */ - public com.google.longrunning.Operation createMigratingVm( - com.google.cloud.vmmigration.v1.CreateMigratingVmRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateMigratingVmMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lists MigratingVms in a given Source.
-     * 
- */ - public com.google.cloud.vmmigration.v1.ListMigratingVmsResponse listMigratingVms( - com.google.cloud.vmmigration.v1.ListMigratingVmsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListMigratingVmsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Gets details of a single MigratingVm.
-     * 
- */ - public com.google.cloud.vmmigration.v1.MigratingVm getMigratingVm( - com.google.cloud.vmmigration.v1.GetMigratingVmRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetMigratingVmMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Updates the parameters of a single MigratingVm.
-     * 
- */ - public com.google.longrunning.Operation updateMigratingVm( - com.google.cloud.vmmigration.v1.UpdateMigratingVmRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateMigratingVmMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Deletes a single MigratingVm.
-     * 
- */ - public com.google.longrunning.Operation deleteMigratingVm( - com.google.cloud.vmmigration.v1.DeleteMigratingVmRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteMigratingVmMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Starts migration for a VM. Starts the process of uploading
-     * data and creating snapshots, in replication cycles scheduled by the policy.
-     * 
- */ - public com.google.longrunning.Operation startMigration( - com.google.cloud.vmmigration.v1.StartMigrationRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getStartMigrationMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Resumes a migration for a VM. When called on a paused migration, will start
-     * the process of uploading data and creating snapshots; when called on a
-     * completed cut-over migration, will update the migration to active state and
-     * start the process of uploading data and creating snapshots.
-     * 
- */ - public com.google.longrunning.Operation resumeMigration( - com.google.cloud.vmmigration.v1.ResumeMigrationRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getResumeMigrationMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Pauses a migration for a VM. If cycle tasks are running they will be
-     * cancelled, preserving source task data. Further replication cycles will not
-     * be triggered while the VM is paused.
-     * 
- */ - public com.google.longrunning.Operation pauseMigration( - com.google.cloud.vmmigration.v1.PauseMigrationRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getPauseMigrationMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Marks a migration as completed, deleting migration resources that are no
-     * longer being used. Only applicable after cutover is done.
-     * 
- */ - public com.google.longrunning.Operation finalizeMigration( - com.google.cloud.vmmigration.v1.FinalizeMigrationRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getFinalizeMigrationMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Initiates a Clone of a specific migrating VM.
-     * 
- */ - public com.google.longrunning.Operation createCloneJob( - com.google.cloud.vmmigration.v1.CreateCloneJobRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateCloneJobMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Initiates the cancellation of a running clone job.
-     * 
- */ - public com.google.longrunning.Operation cancelCloneJob( - com.google.cloud.vmmigration.v1.CancelCloneJobRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCancelCloneJobMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lists CloneJobs of a given migrating VM.
-     * 
- */ - public com.google.cloud.vmmigration.v1.ListCloneJobsResponse listCloneJobs( - com.google.cloud.vmmigration.v1.ListCloneJobsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListCloneJobsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Gets details of a single CloneJob.
-     * 
- */ - public com.google.cloud.vmmigration.v1.CloneJob getCloneJob( - com.google.cloud.vmmigration.v1.GetCloneJobRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetCloneJobMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Initiates a Cutover of a specific migrating VM.
-     * The returned LRO is completed when the cutover job resource is created
-     * and the job is initiated.
-     * 
- */ - public com.google.longrunning.Operation createCutoverJob( - com.google.cloud.vmmigration.v1.CreateCutoverJobRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateCutoverJobMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Initiates the cancellation of a running cutover job.
-     * 
- */ - public com.google.longrunning.Operation cancelCutoverJob( - com.google.cloud.vmmigration.v1.CancelCutoverJobRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCancelCutoverJobMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lists CutoverJobs of a given migrating VM.
-     * 
- */ - public com.google.cloud.vmmigration.v1.ListCutoverJobsResponse listCutoverJobs( - com.google.cloud.vmmigration.v1.ListCutoverJobsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListCutoverJobsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Gets details of a single CutoverJob.
-     * 
- */ - public com.google.cloud.vmmigration.v1.CutoverJob getCutoverJob( - com.google.cloud.vmmigration.v1.GetCutoverJobRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetCutoverJobMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lists Groups in a given project and location.
-     * 
- */ - public com.google.cloud.vmmigration.v1.ListGroupsResponse listGroups( - com.google.cloud.vmmigration.v1.ListGroupsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListGroupsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Gets details of a single Group.
-     * 
- */ - public com.google.cloud.vmmigration.v1.Group getGroup( - com.google.cloud.vmmigration.v1.GetGroupRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetGroupMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Creates a new Group in a given project and location.
-     * 
- */ - public com.google.longrunning.Operation createGroup( - com.google.cloud.vmmigration.v1.CreateGroupRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateGroupMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Updates the parameters of a single Group.
-     * 
- */ - public com.google.longrunning.Operation updateGroup( - com.google.cloud.vmmigration.v1.UpdateGroupRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateGroupMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Deletes a single Group.
-     * 
- */ - public com.google.longrunning.Operation deleteGroup( - com.google.cloud.vmmigration.v1.DeleteGroupRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteGroupMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Adds a MigratingVm to a Group.
-     * 
- */ - public com.google.longrunning.Operation addGroupMigration( - com.google.cloud.vmmigration.v1.AddGroupMigrationRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getAddGroupMigrationMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Removes a MigratingVm from a Group.
-     * 
- */ - public com.google.longrunning.Operation removeGroupMigration( - com.google.cloud.vmmigration.v1.RemoveGroupMigrationRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getRemoveGroupMigrationMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lists TargetProjects in a given project.
-     * NOTE: TargetProject is a global resource; hence the only supported value
-     * for location is `global`.
-     * 
- */ - public com.google.cloud.vmmigration.v1.ListTargetProjectsResponse listTargetProjects( - com.google.cloud.vmmigration.v1.ListTargetProjectsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListTargetProjectsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Gets details of a single TargetProject.
-     * NOTE: TargetProject is a global resource; hence the only supported value
-     * for location is `global`.
-     * 
- */ - public com.google.cloud.vmmigration.v1.TargetProject getTargetProject( - com.google.cloud.vmmigration.v1.GetTargetProjectRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetTargetProjectMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Creates a new TargetProject in a given project.
-     * NOTE: TargetProject is a global resource; hence the only supported value
-     * for location is `global`.
-     * 
- */ - public com.google.longrunning.Operation createTargetProject( - com.google.cloud.vmmigration.v1.CreateTargetProjectRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateTargetProjectMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Updates the parameters of a single TargetProject.
-     * NOTE: TargetProject is a global resource; hence the only supported value
-     * for location is `global`.
-     * 
- */ - public com.google.longrunning.Operation updateTargetProject( - com.google.cloud.vmmigration.v1.UpdateTargetProjectRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateTargetProjectMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Deletes a single TargetProject.
-     * NOTE: TargetProject is a global resource; hence the only supported value
-     * for location is `global`.
-     * 
- */ - public com.google.longrunning.Operation deleteTargetProject( - com.google.cloud.vmmigration.v1.DeleteTargetProjectRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteTargetProjectMethod(), getCallOptions(), request); - } - } - - /** - * - * - *
-   * VM Migration Service
-   * 
- */ - public static final class VmMigrationFutureStub - extends io.grpc.stub.AbstractFutureStub { - private VmMigrationFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected VmMigrationFutureStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new VmMigrationFutureStub(channel, callOptions); - } - - /** - * - * - *
-     * Lists Sources in a given project and location.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.vmmigration.v1.ListSourcesResponse> - listSources(com.google.cloud.vmmigration.v1.ListSourcesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListSourcesMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Gets details of a single Source.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.vmmigration.v1.Source> - getSource(com.google.cloud.vmmigration.v1.GetSourceRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetSourceMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Creates a new Source in a given project and location.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - createSource(com.google.cloud.vmmigration.v1.CreateSourceRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateSourceMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Updates the parameters of a single Source.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - updateSource(com.google.cloud.vmmigration.v1.UpdateSourceRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateSourceMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Deletes a single Source.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - deleteSource(com.google.cloud.vmmigration.v1.DeleteSourceRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteSourceMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * List remote source's inventory of VMs.
-     * The remote source is the onprem vCenter (remote in the sense it's not in
-     * Compute Engine). The inventory describes the list of existing VMs in that
-     * source. Note that this operation lists the VMs on the remote source, as
-     * opposed to listing the MigratingVms resources in the vmmigration service.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.vmmigration.v1.FetchInventoryResponse> - fetchInventory(com.google.cloud.vmmigration.v1.FetchInventoryRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getFetchInventoryMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Lists Utilization Reports of the given Source.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.vmmigration.v1.ListUtilizationReportsResponse> - listUtilizationReports( - com.google.cloud.vmmigration.v1.ListUtilizationReportsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListUtilizationReportsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Gets a single Utilization Report.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.vmmigration.v1.UtilizationReport> - getUtilizationReport(com.google.cloud.vmmigration.v1.GetUtilizationReportRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetUtilizationReportMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Creates a new UtilizationReport.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - createUtilizationReport( - com.google.cloud.vmmigration.v1.CreateUtilizationReportRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateUtilizationReportMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Deletes a single Utilization Report.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - deleteUtilizationReport( - com.google.cloud.vmmigration.v1.DeleteUtilizationReportRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteUtilizationReportMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Lists DatacenterConnectors in a given Source.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.vmmigration.v1.ListDatacenterConnectorsResponse> - listDatacenterConnectors( - com.google.cloud.vmmigration.v1.ListDatacenterConnectorsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListDatacenterConnectorsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Gets details of a single DatacenterConnector.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.vmmigration.v1.DatacenterConnector> - getDatacenterConnector( - com.google.cloud.vmmigration.v1.GetDatacenterConnectorRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetDatacenterConnectorMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Creates a new DatacenterConnector in a given Source.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - createDatacenterConnector( - com.google.cloud.vmmigration.v1.CreateDatacenterConnectorRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateDatacenterConnectorMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Deletes a single DatacenterConnector.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - deleteDatacenterConnector( - com.google.cloud.vmmigration.v1.DeleteDatacenterConnectorRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteDatacenterConnectorMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Creates a new MigratingVm in a given Source.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - createMigratingVm(com.google.cloud.vmmigration.v1.CreateMigratingVmRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateMigratingVmMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Lists MigratingVms in a given Source.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.vmmigration.v1.ListMigratingVmsResponse> - listMigratingVms(com.google.cloud.vmmigration.v1.ListMigratingVmsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListMigratingVmsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Gets details of a single MigratingVm.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.vmmigration.v1.MigratingVm> - getMigratingVm(com.google.cloud.vmmigration.v1.GetMigratingVmRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetMigratingVmMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Updates the parameters of a single MigratingVm.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - updateMigratingVm(com.google.cloud.vmmigration.v1.UpdateMigratingVmRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateMigratingVmMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Deletes a single MigratingVm.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - deleteMigratingVm(com.google.cloud.vmmigration.v1.DeleteMigratingVmRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteMigratingVmMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Starts migration for a VM. Starts the process of uploading
-     * data and creating snapshots, in replication cycles scheduled by the policy.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - startMigration(com.google.cloud.vmmigration.v1.StartMigrationRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getStartMigrationMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Resumes a migration for a VM. When called on a paused migration, will start
-     * the process of uploading data and creating snapshots; when called on a
-     * completed cut-over migration, will update the migration to active state and
-     * start the process of uploading data and creating snapshots.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - resumeMigration(com.google.cloud.vmmigration.v1.ResumeMigrationRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getResumeMigrationMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Pauses a migration for a VM. If cycle tasks are running they will be
-     * cancelled, preserving source task data. Further replication cycles will not
-     * be triggered while the VM is paused.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - pauseMigration(com.google.cloud.vmmigration.v1.PauseMigrationRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getPauseMigrationMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Marks a migration as completed, deleting migration resources that are no
-     * longer being used. Only applicable after cutover is done.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - finalizeMigration(com.google.cloud.vmmigration.v1.FinalizeMigrationRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getFinalizeMigrationMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Initiates a Clone of a specific migrating VM.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - createCloneJob(com.google.cloud.vmmigration.v1.CreateCloneJobRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateCloneJobMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Initiates the cancellation of a running clone job.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - cancelCloneJob(com.google.cloud.vmmigration.v1.CancelCloneJobRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCancelCloneJobMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Lists CloneJobs of a given migrating VM.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.vmmigration.v1.ListCloneJobsResponse> - listCloneJobs(com.google.cloud.vmmigration.v1.ListCloneJobsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListCloneJobsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Gets details of a single CloneJob.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.vmmigration.v1.CloneJob> - getCloneJob(com.google.cloud.vmmigration.v1.GetCloneJobRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetCloneJobMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Initiates a Cutover of a specific migrating VM.
-     * The returned LRO is completed when the cutover job resource is created
-     * and the job is initiated.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - createCutoverJob(com.google.cloud.vmmigration.v1.CreateCutoverJobRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateCutoverJobMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Initiates the cancellation of a running cutover job.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - cancelCutoverJob(com.google.cloud.vmmigration.v1.CancelCutoverJobRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCancelCutoverJobMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Lists CutoverJobs of a given migrating VM.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.vmmigration.v1.ListCutoverJobsResponse> - listCutoverJobs(com.google.cloud.vmmigration.v1.ListCutoverJobsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListCutoverJobsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Gets details of a single CutoverJob.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.vmmigration.v1.CutoverJob> - getCutoverJob(com.google.cloud.vmmigration.v1.GetCutoverJobRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetCutoverJobMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Lists Groups in a given project and location.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.vmmigration.v1.ListGroupsResponse> - listGroups(com.google.cloud.vmmigration.v1.ListGroupsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListGroupsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Gets details of a single Group.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - getGroup(com.google.cloud.vmmigration.v1.GetGroupRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetGroupMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Creates a new Group in a given project and location.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - createGroup(com.google.cloud.vmmigration.v1.CreateGroupRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateGroupMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Updates the parameters of a single Group.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - updateGroup(com.google.cloud.vmmigration.v1.UpdateGroupRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateGroupMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Deletes a single Group.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - deleteGroup(com.google.cloud.vmmigration.v1.DeleteGroupRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteGroupMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Adds a MigratingVm to a Group.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - addGroupMigration(com.google.cloud.vmmigration.v1.AddGroupMigrationRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getAddGroupMigrationMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Removes a MigratingVm from a Group.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - removeGroupMigration(com.google.cloud.vmmigration.v1.RemoveGroupMigrationRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getRemoveGroupMigrationMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Lists TargetProjects in a given project.
-     * NOTE: TargetProject is a global resource; hence the only supported value
-     * for location is `global`.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.vmmigration.v1.ListTargetProjectsResponse> - listTargetProjects(com.google.cloud.vmmigration.v1.ListTargetProjectsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListTargetProjectsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Gets details of a single TargetProject.
-     * NOTE: TargetProject is a global resource; hence the only supported value
-     * for location is `global`.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.vmmigration.v1.TargetProject> - getTargetProject(com.google.cloud.vmmigration.v1.GetTargetProjectRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetTargetProjectMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Creates a new TargetProject in a given project.
-     * NOTE: TargetProject is a global resource; hence the only supported value
-     * for location is `global`.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - createTargetProject(com.google.cloud.vmmigration.v1.CreateTargetProjectRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateTargetProjectMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Updates the parameters of a single TargetProject.
-     * NOTE: TargetProject is a global resource; hence the only supported value
-     * for location is `global`.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - updateTargetProject(com.google.cloud.vmmigration.v1.UpdateTargetProjectRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateTargetProjectMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Deletes a single TargetProject.
-     * NOTE: TargetProject is a global resource; hence the only supported value
-     * for location is `global`.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - deleteTargetProject(com.google.cloud.vmmigration.v1.DeleteTargetProjectRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteTargetProjectMethod(), getCallOptions()), request); - } - } - - private static final int METHODID_LIST_SOURCES = 0; - private static final int METHODID_GET_SOURCE = 1; - private static final int METHODID_CREATE_SOURCE = 2; - private static final int METHODID_UPDATE_SOURCE = 3; - private static final int METHODID_DELETE_SOURCE = 4; - private static final int METHODID_FETCH_INVENTORY = 5; - private static final int METHODID_LIST_UTILIZATION_REPORTS = 6; - private static final int METHODID_GET_UTILIZATION_REPORT = 7; - private static final int METHODID_CREATE_UTILIZATION_REPORT = 8; - private static final int METHODID_DELETE_UTILIZATION_REPORT = 9; - private static final int METHODID_LIST_DATACENTER_CONNECTORS = 10; - private static final int METHODID_GET_DATACENTER_CONNECTOR = 11; - private static final int METHODID_CREATE_DATACENTER_CONNECTOR = 12; - private static final int METHODID_DELETE_DATACENTER_CONNECTOR = 13; - private static final int METHODID_CREATE_MIGRATING_VM = 14; - private static final int METHODID_LIST_MIGRATING_VMS = 15; - private static final int METHODID_GET_MIGRATING_VM = 16; - private static final int METHODID_UPDATE_MIGRATING_VM = 17; - private static final int METHODID_DELETE_MIGRATING_VM = 18; - private static final int METHODID_START_MIGRATION = 19; - private static final int METHODID_RESUME_MIGRATION = 20; - private static final int METHODID_PAUSE_MIGRATION = 21; - private static final int METHODID_FINALIZE_MIGRATION = 22; - private static final int METHODID_CREATE_CLONE_JOB = 23; - private static final int METHODID_CANCEL_CLONE_JOB = 24; - private static final int METHODID_LIST_CLONE_JOBS = 25; - private static final int METHODID_GET_CLONE_JOB = 26; - private static final int METHODID_CREATE_CUTOVER_JOB = 27; - private static final int METHODID_CANCEL_CUTOVER_JOB = 28; - private static final int METHODID_LIST_CUTOVER_JOBS = 29; - private static final int METHODID_GET_CUTOVER_JOB = 30; - private static final int METHODID_LIST_GROUPS = 31; - private static final int METHODID_GET_GROUP = 32; - private static final int METHODID_CREATE_GROUP = 33; - private static final int METHODID_UPDATE_GROUP = 34; - private static final int METHODID_DELETE_GROUP = 35; - private static final int METHODID_ADD_GROUP_MIGRATION = 36; - private static final int METHODID_REMOVE_GROUP_MIGRATION = 37; - private static final int METHODID_LIST_TARGET_PROJECTS = 38; - private static final int METHODID_GET_TARGET_PROJECT = 39; - private static final int METHODID_CREATE_TARGET_PROJECT = 40; - private static final int METHODID_UPDATE_TARGET_PROJECT = 41; - private static final int METHODID_DELETE_TARGET_PROJECT = 42; - - 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 VmMigrationImplBase serviceImpl; - private final int methodId; - - MethodHandlers(VmMigrationImplBase 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_LIST_SOURCES: - serviceImpl.listSources( - (com.google.cloud.vmmigration.v1.ListSourcesRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_GET_SOURCE: - serviceImpl.getSource( - (com.google.cloud.vmmigration.v1.GetSourceRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_CREATE_SOURCE: - serviceImpl.createSource( - (com.google.cloud.vmmigration.v1.CreateSourceRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_SOURCE: - serviceImpl.updateSource( - (com.google.cloud.vmmigration.v1.UpdateSourceRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_SOURCE: - serviceImpl.deleteSource( - (com.google.cloud.vmmigration.v1.DeleteSourceRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_FETCH_INVENTORY: - serviceImpl.fetchInventory( - (com.google.cloud.vmmigration.v1.FetchInventoryRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_LIST_UTILIZATION_REPORTS: - serviceImpl.listUtilizationReports( - (com.google.cloud.vmmigration.v1.ListUtilizationReportsRequest) request, - (io.grpc.stub.StreamObserver< - com.google.cloud.vmmigration.v1.ListUtilizationReportsResponse>) - responseObserver); - break; - case METHODID_GET_UTILIZATION_REPORT: - serviceImpl.getUtilizationReport( - (com.google.cloud.vmmigration.v1.GetUtilizationReportRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_CREATE_UTILIZATION_REPORT: - serviceImpl.createUtilizationReport( - (com.google.cloud.vmmigration.v1.CreateUtilizationReportRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_UTILIZATION_REPORT: - serviceImpl.deleteUtilizationReport( - (com.google.cloud.vmmigration.v1.DeleteUtilizationReportRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_DATACENTER_CONNECTORS: - serviceImpl.listDatacenterConnectors( - (com.google.cloud.vmmigration.v1.ListDatacenterConnectorsRequest) request, - (io.grpc.stub.StreamObserver< - com.google.cloud.vmmigration.v1.ListDatacenterConnectorsResponse>) - responseObserver); - break; - case METHODID_GET_DATACENTER_CONNECTOR: - serviceImpl.getDatacenterConnector( - (com.google.cloud.vmmigration.v1.GetDatacenterConnectorRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_CREATE_DATACENTER_CONNECTOR: - serviceImpl.createDatacenterConnector( - (com.google.cloud.vmmigration.v1.CreateDatacenterConnectorRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_DATACENTER_CONNECTOR: - serviceImpl.deleteDatacenterConnector( - (com.google.cloud.vmmigration.v1.DeleteDatacenterConnectorRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_MIGRATING_VM: - serviceImpl.createMigratingVm( - (com.google.cloud.vmmigration.v1.CreateMigratingVmRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_MIGRATING_VMS: - serviceImpl.listMigratingVms( - (com.google.cloud.vmmigration.v1.ListMigratingVmsRequest) request, - (io.grpc.stub.StreamObserver< - com.google.cloud.vmmigration.v1.ListMigratingVmsResponse>) - responseObserver); - break; - case METHODID_GET_MIGRATING_VM: - serviceImpl.getMigratingVm( - (com.google.cloud.vmmigration.v1.GetMigratingVmRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_UPDATE_MIGRATING_VM: - serviceImpl.updateMigratingVm( - (com.google.cloud.vmmigration.v1.UpdateMigratingVmRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_MIGRATING_VM: - serviceImpl.deleteMigratingVm( - (com.google.cloud.vmmigration.v1.DeleteMigratingVmRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_START_MIGRATION: - serviceImpl.startMigration( - (com.google.cloud.vmmigration.v1.StartMigrationRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_RESUME_MIGRATION: - serviceImpl.resumeMigration( - (com.google.cloud.vmmigration.v1.ResumeMigrationRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_PAUSE_MIGRATION: - serviceImpl.pauseMigration( - (com.google.cloud.vmmigration.v1.PauseMigrationRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_FINALIZE_MIGRATION: - serviceImpl.finalizeMigration( - (com.google.cloud.vmmigration.v1.FinalizeMigrationRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_CLONE_JOB: - serviceImpl.createCloneJob( - (com.google.cloud.vmmigration.v1.CreateCloneJobRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CANCEL_CLONE_JOB: - serviceImpl.cancelCloneJob( - (com.google.cloud.vmmigration.v1.CancelCloneJobRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_CLONE_JOBS: - serviceImpl.listCloneJobs( - (com.google.cloud.vmmigration.v1.ListCloneJobsRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_GET_CLONE_JOB: - serviceImpl.getCloneJob( - (com.google.cloud.vmmigration.v1.GetCloneJobRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_CREATE_CUTOVER_JOB: - serviceImpl.createCutoverJob( - (com.google.cloud.vmmigration.v1.CreateCutoverJobRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CANCEL_CUTOVER_JOB: - serviceImpl.cancelCutoverJob( - (com.google.cloud.vmmigration.v1.CancelCutoverJobRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_CUTOVER_JOBS: - serviceImpl.listCutoverJobs( - (com.google.cloud.vmmigration.v1.ListCutoverJobsRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_GET_CUTOVER_JOB: - serviceImpl.getCutoverJob( - (com.google.cloud.vmmigration.v1.GetCutoverJobRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_LIST_GROUPS: - serviceImpl.listGroups( - (com.google.cloud.vmmigration.v1.ListGroupsRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_GET_GROUP: - serviceImpl.getGroup( - (com.google.cloud.vmmigration.v1.GetGroupRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_CREATE_GROUP: - serviceImpl.createGroup( - (com.google.cloud.vmmigration.v1.CreateGroupRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_GROUP: - serviceImpl.updateGroup( - (com.google.cloud.vmmigration.v1.UpdateGroupRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_GROUP: - serviceImpl.deleteGroup( - (com.google.cloud.vmmigration.v1.DeleteGroupRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_ADD_GROUP_MIGRATION: - serviceImpl.addGroupMigration( - (com.google.cloud.vmmigration.v1.AddGroupMigrationRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_REMOVE_GROUP_MIGRATION: - serviceImpl.removeGroupMigration( - (com.google.cloud.vmmigration.v1.RemoveGroupMigrationRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_TARGET_PROJECTS: - serviceImpl.listTargetProjects( - (com.google.cloud.vmmigration.v1.ListTargetProjectsRequest) request, - (io.grpc.stub.StreamObserver< - com.google.cloud.vmmigration.v1.ListTargetProjectsResponse>) - responseObserver); - break; - case METHODID_GET_TARGET_PROJECT: - serviceImpl.getTargetProject( - (com.google.cloud.vmmigration.v1.GetTargetProjectRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_CREATE_TARGET_PROJECT: - serviceImpl.createTargetProject( - (com.google.cloud.vmmigration.v1.CreateTargetProjectRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_TARGET_PROJECT: - serviceImpl.updateTargetProject( - (com.google.cloud.vmmigration.v1.UpdateTargetProjectRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_TARGET_PROJECT: - serviceImpl.deleteTargetProject( - (com.google.cloud.vmmigration.v1.DeleteTargetProjectRequest) 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(); - } - } - } - - private abstract static class VmMigrationBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, - io.grpc.protobuf.ProtoServiceDescriptorSupplier { - VmMigrationBaseDescriptorSupplier() {} - - @java.lang.Override - public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.getDescriptor(); - } - - @java.lang.Override - public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { - return getFileDescriptor().findServiceByName("VmMigration"); - } - } - - private static final class VmMigrationFileDescriptorSupplier - extends VmMigrationBaseDescriptorSupplier { - VmMigrationFileDescriptorSupplier() {} - } - - private static final class VmMigrationMethodDescriptorSupplier - extends VmMigrationBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { - private final String methodName; - - VmMigrationMethodDescriptorSupplier(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 (VmMigrationGrpc.class) { - result = serviceDescriptor; - if (result == null) { - serviceDescriptor = - result = - io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new VmMigrationFileDescriptorSupplier()) - .addMethod(getListSourcesMethod()) - .addMethod(getGetSourceMethod()) - .addMethod(getCreateSourceMethod()) - .addMethod(getUpdateSourceMethod()) - .addMethod(getDeleteSourceMethod()) - .addMethod(getFetchInventoryMethod()) - .addMethod(getListUtilizationReportsMethod()) - .addMethod(getGetUtilizationReportMethod()) - .addMethod(getCreateUtilizationReportMethod()) - .addMethod(getDeleteUtilizationReportMethod()) - .addMethod(getListDatacenterConnectorsMethod()) - .addMethod(getGetDatacenterConnectorMethod()) - .addMethod(getCreateDatacenterConnectorMethod()) - .addMethod(getDeleteDatacenterConnectorMethod()) - .addMethod(getCreateMigratingVmMethod()) - .addMethod(getListMigratingVmsMethod()) - .addMethod(getGetMigratingVmMethod()) - .addMethod(getUpdateMigratingVmMethod()) - .addMethod(getDeleteMigratingVmMethod()) - .addMethod(getStartMigrationMethod()) - .addMethod(getResumeMigrationMethod()) - .addMethod(getPauseMigrationMethod()) - .addMethod(getFinalizeMigrationMethod()) - .addMethod(getCreateCloneJobMethod()) - .addMethod(getCancelCloneJobMethod()) - .addMethod(getListCloneJobsMethod()) - .addMethod(getGetCloneJobMethod()) - .addMethod(getCreateCutoverJobMethod()) - .addMethod(getCancelCutoverJobMethod()) - .addMethod(getListCutoverJobsMethod()) - .addMethod(getGetCutoverJobMethod()) - .addMethod(getListGroupsMethod()) - .addMethod(getGetGroupMethod()) - .addMethod(getCreateGroupMethod()) - .addMethod(getUpdateGroupMethod()) - .addMethod(getDeleteGroupMethod()) - .addMethod(getAddGroupMigrationMethod()) - .addMethod(getRemoveGroupMigrationMethod()) - .addMethod(getListTargetProjectsMethod()) - .addMethod(getGetTargetProjectMethod()) - .addMethod(getCreateTargetProjectMethod()) - .addMethod(getUpdateTargetProjectMethod()) - .addMethod(getDeleteTargetProjectMethod()) - .build(); - } - } - } - return result; - } -} diff --git a/google-cloud-vmmigration/src/main/java/com/google/cloud/vmmigration/v1/VmMigrationClient.java b/owl-bot-staging/v1/google-cloud-vmmigration/src/main/java/com/google/cloud/vmmigration/v1/VmMigrationClient.java similarity index 97% rename from google-cloud-vmmigration/src/main/java/com/google/cloud/vmmigration/v1/VmMigrationClient.java rename to owl-bot-staging/v1/google-cloud-vmmigration/src/main/java/com/google/cloud/vmmigration/v1/VmMigrationClient.java index c51d8a0..f056688 100644 --- a/google-cloud-vmmigration/src/main/java/com/google/cloud/vmmigration/v1/VmMigrationClient.java +++ b/owl-bot-staging/v1/google-cloud-vmmigration/src/main/java/com/google/cloud/vmmigration/v1/VmMigrationClient.java @@ -62,13 +62,13 @@ * methods: * *
    - *
  1. A "flattened" method. With this type of method, the fields of the request type have been + *
  2. A "flattened" method. With this type of method, the fields of the request type have been * converted into function parameters. It may be the case that not all fields are available as * parameters, and not every API method will have a flattened method entry point. - *
  3. A "request object" method. This type of method only takes one parameter, a request object, + *
  4. A "request object" method. This type of method only takes one parameter, a request object, * which must be constructed before the call. Not every API method will have a request object * method. - *
  5. A "callable" method. This type of method takes no parameters and returns an immutable API + *
  6. A "callable" method. This type of method takes no parameters and returns an immutable API * callable object, which can be used to initiate calls to the service. *
* @@ -2117,6 +2117,96 @@ public final OperationFuture deleteDatacenterConnector return stub.deleteDatacenterConnectorCallable(); } + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Upgrades the appliance relate to this DatacenterConnector to the in-place updateable version. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
+   * try (VmMigrationClient vmMigrationClient = VmMigrationClient.create()) {
+   *   UpgradeApplianceRequest request =
+   *       UpgradeApplianceRequest.newBuilder()
+   *           .setDatacenterConnector(
+   *               DatacenterConnectorName.of(
+   *                       "[PROJECT]", "[LOCATION]", "[SOURCE]", "[DATACENTER_CONNECTOR]")
+   *                   .toString())
+   *           .setRequestId("requestId693933066")
+   *           .build();
+   *   UpgradeApplianceResponse response = vmMigrationClient.upgradeApplianceAsync(request).get();
+   * }
+   * }
+ * + * @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 OperationFuture upgradeApplianceAsync( + UpgradeApplianceRequest request) { + return upgradeApplianceOperationCallable().futureCall(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Upgrades the appliance relate to this DatacenterConnector to the in-place updateable version. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
+   * try (VmMigrationClient vmMigrationClient = VmMigrationClient.create()) {
+   *   UpgradeApplianceRequest request =
+   *       UpgradeApplianceRequest.newBuilder()
+   *           .setDatacenterConnector(
+   *               DatacenterConnectorName.of(
+   *                       "[PROJECT]", "[LOCATION]", "[SOURCE]", "[DATACENTER_CONNECTOR]")
+   *                   .toString())
+   *           .setRequestId("requestId693933066")
+   *           .build();
+   *   OperationFuture future =
+   *       vmMigrationClient.upgradeApplianceOperationCallable().futureCall(request);
+   *   // Do something.
+   *   UpgradeApplianceResponse response = future.get();
+   * }
+   * }
+ */ + public final OperationCallable< + UpgradeApplianceRequest, UpgradeApplianceResponse, OperationMetadata> + upgradeApplianceOperationCallable() { + return stub.upgradeApplianceOperationCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Upgrades the appliance relate to this DatacenterConnector to the in-place updateable version. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
+   * try (VmMigrationClient vmMigrationClient = VmMigrationClient.create()) {
+   *   UpgradeApplianceRequest request =
+   *       UpgradeApplianceRequest.newBuilder()
+   *           .setDatacenterConnector(
+   *               DatacenterConnectorName.of(
+   *                       "[PROJECT]", "[LOCATION]", "[SOURCE]", "[DATACENTER_CONNECTOR]")
+   *                   .toString())
+   *           .setRequestId("requestId693933066")
+   *           .build();
+   *   ApiFuture future =
+   *       vmMigrationClient.upgradeApplianceCallable().futureCall(request);
+   *   // Do something.
+   *   Operation response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable upgradeApplianceCallable() { + return stub.upgradeApplianceCallable(); + } + // AUTO-GENERATED DOCUMENTATION AND METHOD. /** * Creates a new MigratingVm in a given Source. @@ -2342,6 +2432,7 @@ public final ListMigratingVmsPagedResponse listMigratingVms(String parent) { * .setPageToken("pageToken873572522") * .setFilter("filter-1274492040") * .setOrderBy("orderBy-1207110587") + * .setView(MigratingVmView.forNumber(0)) * .build(); * for (MigratingVm element : vmMigrationClient.listMigratingVms(request).iterateAll()) { * // doThingsWith(element); @@ -2373,6 +2464,7 @@ public final ListMigratingVmsPagedResponse listMigratingVms(ListMigratingVmsRequ * .setPageToken("pageToken873572522") * .setFilter("filter-1274492040") * .setOrderBy("orderBy-1207110587") + * .setView(MigratingVmView.forNumber(0)) * .build(); * ApiFuture future = * vmMigrationClient.listMigratingVmsPagedCallable().futureCall(request); @@ -2405,6 +2497,7 @@ public final ListMigratingVmsPagedResponse listMigratingVms(ListMigratingVmsRequ * .setPageToken("pageToken873572522") * .setFilter("filter-1274492040") * .setOrderBy("orderBy-1207110587") + * .setView(MigratingVmView.forNumber(0)) * .build(); * while (true) { * ListMigratingVmsResponse response = @@ -2491,6 +2584,7 @@ public final MigratingVm getMigratingVm(String name) { * .setName( * MigratingVmName.of("[PROJECT]", "[LOCATION]", "[SOURCE]", "[MIGRATING_VM]") * .toString()) + * .setView(MigratingVmView.forNumber(0)) * .build(); * MigratingVm response = vmMigrationClient.getMigratingVm(request); * } @@ -2518,6 +2612,7 @@ public final MigratingVm getMigratingVm(GetMigratingVmRequest request) { * .setName( * MigratingVmName.of("[PROJECT]", "[LOCATION]", "[SOURCE]", "[MIGRATING_VM]") * .toString()) + * .setView(MigratingVmView.forNumber(0)) * .build(); * ApiFuture future = * vmMigrationClient.getMigratingVmCallable().futureCall(request); @@ -6062,10 +6157,7 @@ public boolean awaitTermination(long duration, TimeUnit unit) throws Interrupted public static class ListSourcesPagedResponse extends AbstractPagedListResponse< - ListSourcesRequest, - ListSourcesResponse, - Source, - ListSourcesPage, + ListSourcesRequest, ListSourcesResponse, Source, ListSourcesPage, ListSourcesFixedSizeCollection> { public static ApiFuture createAsync( @@ -6112,10 +6204,7 @@ public ApiFuture createPageAsync( public static class ListSourcesFixedSizeCollection extends AbstractFixedSizeCollection< - ListSourcesRequest, - ListSourcesResponse, - Source, - ListSourcesPage, + ListSourcesRequest, ListSourcesResponse, Source, ListSourcesPage, ListSourcesFixedSizeCollection> { private ListSourcesFixedSizeCollection(List pages, int collectionSize) { @@ -6135,11 +6224,8 @@ protected ListSourcesFixedSizeCollection createCollection( public static class ListUtilizationReportsPagedResponse extends AbstractPagedListResponse< - ListUtilizationReportsRequest, - ListUtilizationReportsResponse, - UtilizationReport, - ListUtilizationReportsPage, - ListUtilizationReportsFixedSizeCollection> { + ListUtilizationReportsRequest, ListUtilizationReportsResponse, UtilizationReport, + ListUtilizationReportsPage, ListUtilizationReportsFixedSizeCollection> { public static ApiFuture createAsync( PageContext< @@ -6161,9 +6247,7 @@ private ListUtilizationReportsPagedResponse(ListUtilizationReportsPage page) { public static class ListUtilizationReportsPage extends AbstractPage< - ListUtilizationReportsRequest, - ListUtilizationReportsResponse, - UtilizationReport, + ListUtilizationReportsRequest, ListUtilizationReportsResponse, UtilizationReport, ListUtilizationReportsPage> { private ListUtilizationReportsPage( @@ -6199,11 +6283,8 @@ public ApiFuture createPageAsync( public static class ListUtilizationReportsFixedSizeCollection extends AbstractFixedSizeCollection< - ListUtilizationReportsRequest, - ListUtilizationReportsResponse, - UtilizationReport, - ListUtilizationReportsPage, - ListUtilizationReportsFixedSizeCollection> { + ListUtilizationReportsRequest, ListUtilizationReportsResponse, UtilizationReport, + ListUtilizationReportsPage, ListUtilizationReportsFixedSizeCollection> { private ListUtilizationReportsFixedSizeCollection( List pages, int collectionSize) { @@ -6223,16 +6304,12 @@ protected ListUtilizationReportsFixedSizeCollection createCollection( public static class ListDatacenterConnectorsPagedResponse extends AbstractPagedListResponse< - ListDatacenterConnectorsRequest, - ListDatacenterConnectorsResponse, - DatacenterConnector, - ListDatacenterConnectorsPage, - ListDatacenterConnectorsFixedSizeCollection> { + ListDatacenterConnectorsRequest, ListDatacenterConnectorsResponse, DatacenterConnector, + ListDatacenterConnectorsPage, ListDatacenterConnectorsFixedSizeCollection> { public static ApiFuture createAsync( PageContext< - ListDatacenterConnectorsRequest, - ListDatacenterConnectorsResponse, + ListDatacenterConnectorsRequest, ListDatacenterConnectorsResponse, DatacenterConnector> context, ApiFuture futureResponse) { @@ -6251,15 +6328,12 @@ private ListDatacenterConnectorsPagedResponse(ListDatacenterConnectorsPage page) public static class ListDatacenterConnectorsPage extends AbstractPage< - ListDatacenterConnectorsRequest, - ListDatacenterConnectorsResponse, - DatacenterConnector, + ListDatacenterConnectorsRequest, ListDatacenterConnectorsResponse, DatacenterConnector, ListDatacenterConnectorsPage> { private ListDatacenterConnectorsPage( PageContext< - ListDatacenterConnectorsRequest, - ListDatacenterConnectorsResponse, + ListDatacenterConnectorsRequest, ListDatacenterConnectorsResponse, DatacenterConnector> context, ListDatacenterConnectorsResponse response) { @@ -6273,8 +6347,7 @@ private static ListDatacenterConnectorsPage createEmptyPage() { @Override protected ListDatacenterConnectorsPage createPage( PageContext< - ListDatacenterConnectorsRequest, - ListDatacenterConnectorsResponse, + ListDatacenterConnectorsRequest, ListDatacenterConnectorsResponse, DatacenterConnector> context, ListDatacenterConnectorsResponse response) { @@ -6284,8 +6357,7 @@ protected ListDatacenterConnectorsPage createPage( @Override public ApiFuture createPageAsync( PageContext< - ListDatacenterConnectorsRequest, - ListDatacenterConnectorsResponse, + ListDatacenterConnectorsRequest, ListDatacenterConnectorsResponse, DatacenterConnector> context, ApiFuture futureResponse) { @@ -6295,11 +6367,8 @@ public ApiFuture createPageAsync( public static class ListDatacenterConnectorsFixedSizeCollection extends AbstractFixedSizeCollection< - ListDatacenterConnectorsRequest, - ListDatacenterConnectorsResponse, - DatacenterConnector, - ListDatacenterConnectorsPage, - ListDatacenterConnectorsFixedSizeCollection> { + ListDatacenterConnectorsRequest, ListDatacenterConnectorsResponse, DatacenterConnector, + ListDatacenterConnectorsPage, ListDatacenterConnectorsFixedSizeCollection> { private ListDatacenterConnectorsFixedSizeCollection( List pages, int collectionSize) { @@ -6319,10 +6388,7 @@ protected ListDatacenterConnectorsFixedSizeCollection createCollection( public static class ListMigratingVmsPagedResponse extends AbstractPagedListResponse< - ListMigratingVmsRequest, - ListMigratingVmsResponse, - MigratingVm, - ListMigratingVmsPage, + ListMigratingVmsRequest, ListMigratingVmsResponse, MigratingVm, ListMigratingVmsPage, ListMigratingVmsFixedSizeCollection> { public static ApiFuture createAsync( @@ -6372,10 +6438,7 @@ public ApiFuture createPageAsync( public static class ListMigratingVmsFixedSizeCollection extends AbstractFixedSizeCollection< - ListMigratingVmsRequest, - ListMigratingVmsResponse, - MigratingVm, - ListMigratingVmsPage, + ListMigratingVmsRequest, ListMigratingVmsResponse, MigratingVm, ListMigratingVmsPage, ListMigratingVmsFixedSizeCollection> { private ListMigratingVmsFixedSizeCollection( @@ -6396,10 +6459,7 @@ protected ListMigratingVmsFixedSizeCollection createCollection( public static class ListCloneJobsPagedResponse extends AbstractPagedListResponse< - ListCloneJobsRequest, - ListCloneJobsResponse, - CloneJob, - ListCloneJobsPage, + ListCloneJobsRequest, ListCloneJobsResponse, CloneJob, ListCloneJobsPage, ListCloneJobsFixedSizeCollection> { public static ApiFuture createAsync( @@ -6449,10 +6509,7 @@ public ApiFuture createPageAsync( public static class ListCloneJobsFixedSizeCollection extends AbstractFixedSizeCollection< - ListCloneJobsRequest, - ListCloneJobsResponse, - CloneJob, - ListCloneJobsPage, + ListCloneJobsRequest, ListCloneJobsResponse, CloneJob, ListCloneJobsPage, ListCloneJobsFixedSizeCollection> { private ListCloneJobsFixedSizeCollection(List pages, int collectionSize) { @@ -6472,10 +6529,7 @@ protected ListCloneJobsFixedSizeCollection createCollection( public static class ListCutoverJobsPagedResponse extends AbstractPagedListResponse< - ListCutoverJobsRequest, - ListCutoverJobsResponse, - CutoverJob, - ListCutoverJobsPage, + ListCutoverJobsRequest, ListCutoverJobsResponse, CutoverJob, ListCutoverJobsPage, ListCutoverJobsFixedSizeCollection> { public static ApiFuture createAsync( @@ -6525,10 +6579,7 @@ public ApiFuture createPageAsync( public static class ListCutoverJobsFixedSizeCollection extends AbstractFixedSizeCollection< - ListCutoverJobsRequest, - ListCutoverJobsResponse, - CutoverJob, - ListCutoverJobsPage, + ListCutoverJobsRequest, ListCutoverJobsResponse, CutoverJob, ListCutoverJobsPage, ListCutoverJobsFixedSizeCollection> { private ListCutoverJobsFixedSizeCollection( @@ -6549,10 +6600,7 @@ protected ListCutoverJobsFixedSizeCollection createCollection( public static class ListGroupsPagedResponse extends AbstractPagedListResponse< - ListGroupsRequest, - ListGroupsResponse, - Group, - ListGroupsPage, + ListGroupsRequest, ListGroupsResponse, Group, ListGroupsPage, ListGroupsFixedSizeCollection> { public static ApiFuture createAsync( @@ -6599,10 +6647,7 @@ public ApiFuture createPageAsync( public static class ListGroupsFixedSizeCollection extends AbstractFixedSizeCollection< - ListGroupsRequest, - ListGroupsResponse, - Group, - ListGroupsPage, + ListGroupsRequest, ListGroupsResponse, Group, ListGroupsPage, ListGroupsFixedSizeCollection> { private ListGroupsFixedSizeCollection(List pages, int collectionSize) { @@ -6622,11 +6667,8 @@ protected ListGroupsFixedSizeCollection createCollection( public static class ListTargetProjectsPagedResponse extends AbstractPagedListResponse< - ListTargetProjectsRequest, - ListTargetProjectsResponse, - TargetProject, - ListTargetProjectsPage, - ListTargetProjectsFixedSizeCollection> { + ListTargetProjectsRequest, ListTargetProjectsResponse, TargetProject, + ListTargetProjectsPage, ListTargetProjectsFixedSizeCollection> { public static ApiFuture createAsync( PageContext context, @@ -6646,9 +6688,7 @@ private ListTargetProjectsPagedResponse(ListTargetProjectsPage page) { public static class ListTargetProjectsPage extends AbstractPage< - ListTargetProjectsRequest, - ListTargetProjectsResponse, - TargetProject, + ListTargetProjectsRequest, ListTargetProjectsResponse, TargetProject, ListTargetProjectsPage> { private ListTargetProjectsPage( @@ -6678,11 +6718,8 @@ public ApiFuture createPageAsync( public static class ListTargetProjectsFixedSizeCollection extends AbstractFixedSizeCollection< - ListTargetProjectsRequest, - ListTargetProjectsResponse, - TargetProject, - ListTargetProjectsPage, - ListTargetProjectsFixedSizeCollection> { + ListTargetProjectsRequest, ListTargetProjectsResponse, TargetProject, + ListTargetProjectsPage, ListTargetProjectsFixedSizeCollection> { private ListTargetProjectsFixedSizeCollection( List pages, int collectionSize) { diff --git a/google-cloud-vmmigration/src/main/java/com/google/cloud/vmmigration/v1/VmMigrationSettings.java b/owl-bot-staging/v1/google-cloud-vmmigration/src/main/java/com/google/cloud/vmmigration/v1/VmMigrationSettings.java similarity index 96% rename from google-cloud-vmmigration/src/main/java/com/google/cloud/vmmigration/v1/VmMigrationSettings.java rename to owl-bot-staging/v1/google-cloud-vmmigration/src/main/java/com/google/cloud/vmmigration/v1/VmMigrationSettings.java index 8aa0228..1f37913 100644 --- a/google-cloud-vmmigration/src/main/java/com/google/cloud/vmmigration/v1/VmMigrationSettings.java +++ b/owl-bot-staging/v1/google-cloud-vmmigration/src/main/java/com/google/cloud/vmmigration/v1/VmMigrationSettings.java @@ -36,6 +36,7 @@ import com.google.api.gax.rpc.ClientSettings; import com.google.api.gax.rpc.OperationCallSettings; 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.vmmigration.v1.stub.VmMigrationStubSettings; @@ -52,9 +53,9 @@ *

The default instance has everything set to sensible defaults: * *

    - *
  • The default service address (vmmigration.googleapis.com) and default port (443) are used. - *
  • Credentials are acquired automatically through Application Default Credentials. - *
  • Retries are configured for idempotent methods but not for non-idempotent methods. + *
  • The default service address (vmmigration.googleapis.com) and default port (443) are used. + *
  • Credentials are acquired automatically through Application Default Credentials. + *
  • Retries are configured for idempotent methods but not for non-idempotent methods. *
* *

The builder of this class is recursive, so contained classes are themselves builders. When @@ -132,8 +133,7 @@ public UnaryCallSettings fetchInv /** Returns the object with the settings used for calls to listUtilizationReports. */ public PagedCallSettings< - ListUtilizationReportsRequest, - ListUtilizationReportsResponse, + ListUtilizationReportsRequest, ListUtilizationReportsResponse, ListUtilizationReportsPagedResponse> listUtilizationReportsSettings() { return ((VmMigrationStubSettings) getStubSettings()).listUtilizationReportsSettings(); @@ -171,8 +171,7 @@ public UnaryCallSettings fetchInv /** Returns the object with the settings used for calls to listDatacenterConnectors. */ public PagedCallSettings< - ListDatacenterConnectorsRequest, - ListDatacenterConnectorsResponse, + ListDatacenterConnectorsRequest, ListDatacenterConnectorsResponse, ListDatacenterConnectorsPagedResponse> listDatacenterConnectorsSettings() { return ((VmMigrationStubSettings) getStubSettings()).listDatacenterConnectorsSettings(); @@ -211,6 +210,17 @@ public UnaryCallSettings fetchInv .deleteDatacenterConnectorOperationSettings(); } + /** Returns the object with the settings used for calls to upgradeAppliance. */ + public UnaryCallSettings upgradeApplianceSettings() { + return ((VmMigrationStubSettings) getStubSettings()).upgradeApplianceSettings(); + } + + /** Returns the object with the settings used for calls to upgradeAppliance. */ + public OperationCallSettings + upgradeApplianceOperationSettings() { + return ((VmMigrationStubSettings) getStubSettings()).upgradeApplianceOperationSettings(); + } + /** Returns the object with the settings used for calls to createMigratingVm. */ public UnaryCallSettings createMigratingVmSettings() { return ((VmMigrationStubSettings) getStubSettings()).createMigratingVmSettings(); @@ -648,8 +658,7 @@ public UnaryCallSettings.Builder deleteSourceSet /** Returns the builder for the settings used for calls to listUtilizationReports. */ public PagedCallSettings.Builder< - ListUtilizationReportsRequest, - ListUtilizationReportsResponse, + ListUtilizationReportsRequest, ListUtilizationReportsResponse, ListUtilizationReportsPagedResponse> listUtilizationReportsSettings() { return getStubSettingsBuilder().listUtilizationReportsSettings(); @@ -688,8 +697,7 @@ public UnaryCallSettings.Builder deleteSourceSet /** Returns the builder for the settings used for calls to listDatacenterConnectors. */ public PagedCallSettings.Builder< - ListDatacenterConnectorsRequest, - ListDatacenterConnectorsResponse, + ListDatacenterConnectorsRequest, ListDatacenterConnectorsResponse, ListDatacenterConnectorsPagedResponse> listDatacenterConnectorsSettings() { return getStubSettingsBuilder().listDatacenterConnectorsSettings(); @@ -726,6 +734,19 @@ public UnaryCallSettings.Builder deleteSourceSet return getStubSettingsBuilder().deleteDatacenterConnectorOperationSettings(); } + /** Returns the builder for the settings used for calls to upgradeAppliance. */ + public UnaryCallSettings.Builder + upgradeApplianceSettings() { + return getStubSettingsBuilder().upgradeApplianceSettings(); + } + + /** Returns the builder for the settings used for calls to upgradeAppliance. */ + public OperationCallSettings.Builder< + UpgradeApplianceRequest, UpgradeApplianceResponse, OperationMetadata> + upgradeApplianceOperationSettings() { + return getStubSettingsBuilder().upgradeApplianceOperationSettings(); + } + /** Returns the builder for the settings used for calls to createMigratingVm. */ public UnaryCallSettings.Builder createMigratingVmSettings() { diff --git a/google-cloud-vmmigration/src/main/java/com/google/cloud/vmmigration/v1/gapic_metadata.json b/owl-bot-staging/v1/google-cloud-vmmigration/src/main/java/com/google/cloud/vmmigration/v1/gapic_metadata.json similarity index 98% rename from google-cloud-vmmigration/src/main/java/com/google/cloud/vmmigration/v1/gapic_metadata.json rename to owl-bot-staging/v1/google-cloud-vmmigration/src/main/java/com/google/cloud/vmmigration/v1/gapic_metadata.json index 09a1dc4..18e28fc 100644 --- a/google-cloud-vmmigration/src/main/java/com/google/cloud/vmmigration/v1/gapic_metadata.json +++ b/owl-bot-staging/v1/google-cloud-vmmigration/src/main/java/com/google/cloud/vmmigration/v1/gapic_metadata.json @@ -138,6 +138,9 @@ }, "UpdateTargetProject": { "methods": ["updateTargetProjectAsync", "updateTargetProjectAsync", "updateTargetProjectOperationCallable", "updateTargetProjectCallable"] + }, + "UpgradeAppliance": { + "methods": ["upgradeApplianceAsync", "upgradeApplianceOperationCallable", "upgradeApplianceCallable"] } } } diff --git a/google-cloud-vmmigration/src/main/java/com/google/cloud/vmmigration/v1/package-info.java b/owl-bot-staging/v1/google-cloud-vmmigration/src/main/java/com/google/cloud/vmmigration/v1/package-info.java similarity index 100% rename from google-cloud-vmmigration/src/main/java/com/google/cloud/vmmigration/v1/package-info.java rename to owl-bot-staging/v1/google-cloud-vmmigration/src/main/java/com/google/cloud/vmmigration/v1/package-info.java diff --git a/google-cloud-vmmigration/src/main/java/com/google/cloud/vmmigration/v1/stub/GrpcVmMigrationCallableFactory.java b/owl-bot-staging/v1/google-cloud-vmmigration/src/main/java/com/google/cloud/vmmigration/v1/stub/GrpcVmMigrationCallableFactory.java similarity index 100% rename from google-cloud-vmmigration/src/main/java/com/google/cloud/vmmigration/v1/stub/GrpcVmMigrationCallableFactory.java rename to owl-bot-staging/v1/google-cloud-vmmigration/src/main/java/com/google/cloud/vmmigration/v1/stub/GrpcVmMigrationCallableFactory.java diff --git a/google-cloud-vmmigration/src/main/java/com/google/cloud/vmmigration/v1/stub/GrpcVmMigrationStub.java b/owl-bot-staging/v1/google-cloud-vmmigration/src/main/java/com/google/cloud/vmmigration/v1/stub/GrpcVmMigrationStub.java similarity index 97% rename from google-cloud-vmmigration/src/main/java/com/google/cloud/vmmigration/v1/stub/GrpcVmMigrationStub.java rename to owl-bot-staging/v1/google-cloud-vmmigration/src/main/java/com/google/cloud/vmmigration/v1/stub/GrpcVmMigrationStub.java index f4613a0..962ce6c 100644 --- a/google-cloud-vmmigration/src/main/java/com/google/cloud/vmmigration/v1/stub/GrpcVmMigrationStub.java +++ b/owl-bot-staging/v1/google-cloud-vmmigration/src/main/java/com/google/cloud/vmmigration/v1/stub/GrpcVmMigrationStub.java @@ -100,6 +100,8 @@ import com.google.cloud.vmmigration.v1.UpdateMigratingVmRequest; import com.google.cloud.vmmigration.v1.UpdateSourceRequest; import com.google.cloud.vmmigration.v1.UpdateTargetProjectRequest; +import com.google.cloud.vmmigration.v1.UpgradeApplianceRequest; +import com.google.cloud.vmmigration.v1.UpgradeApplianceResponse; import com.google.cloud.vmmigration.v1.UtilizationReport; import com.google.common.collect.ImmutableMap; import com.google.longrunning.Operation; @@ -108,6 +110,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; @@ -264,6 +267,16 @@ public class GrpcVmMigrationStub extends VmMigrationStub { .setResponseMarshaller(ProtoUtils.marshaller(Operation.getDefaultInstance())) .build(); + private static final MethodDescriptor + upgradeApplianceMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.cloud.vmmigration.v1.VmMigration/UpgradeAppliance") + .setRequestMarshaller( + ProtoUtils.marshaller(UpgradeApplianceRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(Operation.getDefaultInstance())) + .build(); + private static final MethodDescriptor createMigratingVmMethodDescriptor = MethodDescriptor.newBuilder() @@ -592,6 +605,10 @@ public class GrpcVmMigrationStub extends VmMigrationStub { deleteDatacenterConnectorCallable; private final OperationCallable deleteDatacenterConnectorOperationCallable; + private final UnaryCallable upgradeApplianceCallable; + private final OperationCallable< + UpgradeApplianceRequest, UpgradeApplianceResponse, OperationMetadata> + upgradeApplianceOperationCallable; private final UnaryCallable createMigratingVmCallable; private final OperationCallable createMigratingVmOperationCallable; @@ -870,6 +887,17 @@ protected GrpcVmMigrationStub( return params.build(); }) .build(); + GrpcCallSettings upgradeApplianceTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(upgradeApplianceMethodDescriptor) + .setParamsExtractor( + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put( + "datacenter_connector", String.valueOf(request.getDatacenterConnector())); + return params.build(); + }) + .build(); GrpcCallSettings createMigratingVmTransportSettings = GrpcCallSettings.newBuilder() .setMethodDescriptor(createMigratingVmMethodDescriptor) @@ -1279,6 +1307,15 @@ protected GrpcVmMigrationStub( settings.deleteDatacenterConnectorOperationSettings(), clientContext, operationsStub); + this.upgradeApplianceCallable = + callableFactory.createUnaryCallable( + upgradeApplianceTransportSettings, settings.upgradeApplianceSettings(), clientContext); + this.upgradeApplianceOperationCallable = + callableFactory.createOperationCallable( + upgradeApplianceTransportSettings, + settings.upgradeApplianceOperationSettings(), + clientContext, + operationsStub); this.createMigratingVmCallable = callableFactory.createUnaryCallable( createMigratingVmTransportSettings, @@ -1663,6 +1700,17 @@ public UnaryCallable fetchInvento return deleteDatacenterConnectorOperationCallable; } + @Override + public UnaryCallable upgradeApplianceCallable() { + return upgradeApplianceCallable; + } + + @Override + public OperationCallable + upgradeApplianceOperationCallable() { + return upgradeApplianceOperationCallable; + } + @Override public UnaryCallable createMigratingVmCallable() { return createMigratingVmCallable; diff --git a/google-cloud-vmmigration/src/main/java/com/google/cloud/vmmigration/v1/stub/HttpJsonVmMigrationCallableFactory.java b/owl-bot-staging/v1/google-cloud-vmmigration/src/main/java/com/google/cloud/vmmigration/v1/stub/HttpJsonVmMigrationCallableFactory.java similarity index 100% rename from google-cloud-vmmigration/src/main/java/com/google/cloud/vmmigration/v1/stub/HttpJsonVmMigrationCallableFactory.java rename to owl-bot-staging/v1/google-cloud-vmmigration/src/main/java/com/google/cloud/vmmigration/v1/stub/HttpJsonVmMigrationCallableFactory.java diff --git a/google-cloud-vmmigration/src/main/java/com/google/cloud/vmmigration/v1/stub/HttpJsonVmMigrationStub.java b/owl-bot-staging/v1/google-cloud-vmmigration/src/main/java/com/google/cloud/vmmigration/v1/stub/HttpJsonVmMigrationStub.java similarity index 97% rename from google-cloud-vmmigration/src/main/java/com/google/cloud/vmmigration/v1/stub/HttpJsonVmMigrationStub.java rename to owl-bot-staging/v1/google-cloud-vmmigration/src/main/java/com/google/cloud/vmmigration/v1/stub/HttpJsonVmMigrationStub.java index 54a968d..6ab21c7 100644 --- a/google-cloud-vmmigration/src/main/java/com/google/cloud/vmmigration/v1/stub/HttpJsonVmMigrationStub.java +++ b/owl-bot-staging/v1/google-cloud-vmmigration/src/main/java/com/google/cloud/vmmigration/v1/stub/HttpJsonVmMigrationStub.java @@ -37,6 +37,7 @@ import com.google.api.gax.httpjson.ProtoMessageResponseParser; import com.google.api.gax.httpjson.ProtoRestSerializer; import com.google.api.gax.httpjson.longrunning.stub.HttpJsonOperationsStub; +import com.google.api.gax.longrunning.OperationSnapshot; import com.google.api.gax.rpc.ClientContext; import com.google.api.gax.rpc.OperationCallable; import com.google.api.gax.rpc.UnaryCallable; @@ -108,6 +109,8 @@ import com.google.cloud.vmmigration.v1.UpdateMigratingVmRequest; import com.google.cloud.vmmigration.v1.UpdateSourceRequest; import com.google.cloud.vmmigration.v1.UpdateTargetProjectRequest; +import com.google.cloud.vmmigration.v1.UpgradeApplianceRequest; +import com.google.cloud.vmmigration.v1.UpgradeApplianceResponse; import com.google.cloud.vmmigration.v1.UtilizationReport; import com.google.longrunning.Operation; import com.google.protobuf.Empty; @@ -148,6 +151,7 @@ public class HttpJsonVmMigrationStub extends VmMigrationStub { .add(AddGroupMigrationResponse.getDescriptor()) .add(Group.getDescriptor()) .add(StartMigrationResponse.getDescriptor()) + .add(UpgradeApplianceResponse.getDescriptor()) .add(PauseMigrationResponse.getDescriptor()) .build(); @@ -681,6 +685,47 @@ public class HttpJsonVmMigrationStub extends VmMigrationStub { HttpJsonOperationSnapshot.create(response)) .build(); + private static final ApiMethodDescriptor + upgradeApplianceMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.cloud.vmmigration.v1.VmMigration/UpgradeAppliance") + .setHttpMethod("POST") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1/{datacenterConnector=projects/*/locations/*/sources/*/datacenterConnectors/*}:upgradeAppliance", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam( + fields, "datacenterConnector", request.getDatacenterConnector()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + return fields; + }) + .setRequestBodyExtractor( + request -> + ProtoRestSerializer.create() + .toBody( + "*", request.toBuilder().clearDatacenterConnector().build())) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Operation.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .setOperationSnapshotFactory( + (UpgradeApplianceRequest request, Operation response) -> + HttpJsonOperationSnapshot.create(response)) + .build(); + private static final ApiMethodDescriptor createMigratingVmMethodDescriptor = ApiMethodDescriptor.newBuilder() @@ -749,6 +794,7 @@ public class HttpJsonVmMigrationStub extends VmMigrationStub { serializer.putQueryParam(fields, "orderBy", request.getOrderBy()); serializer.putQueryParam(fields, "pageSize", request.getPageSize()); serializer.putQueryParam(fields, "pageToken", request.getPageToken()); + serializer.putQueryParam(fields, "view", request.getView()); return fields; }) .setRequestBodyExtractor(request -> null) @@ -782,6 +828,7 @@ public class HttpJsonVmMigrationStub extends VmMigrationStub { Map> fields = new HashMap<>(); ProtoRestSerializer serializer = ProtoRestSerializer.create(); + serializer.putQueryParam(fields, "view", request.getView()); return fields; }) .setRequestBodyExtractor(request -> null) @@ -1833,6 +1880,10 @@ public class HttpJsonVmMigrationStub extends VmMigrationStub { deleteDatacenterConnectorCallable; private final OperationCallable deleteDatacenterConnectorOperationCallable; + private final UnaryCallable upgradeApplianceCallable; + private final OperationCallable< + UpgradeApplianceRequest, UpgradeApplianceResponse, OperationMetadata> + upgradeApplianceOperationCallable; private final UnaryCallable createMigratingVmCallable; private final OperationCallable createMigratingVmOperationCallable; @@ -2044,6 +2095,11 @@ protected HttpJsonVmMigrationStub( .setMethodDescriptor(deleteDatacenterConnectorMethodDescriptor) .setTypeRegistry(typeRegistry) .build(); + HttpJsonCallSettings upgradeApplianceTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(upgradeApplianceMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); HttpJsonCallSettings createMigratingVmTransportSettings = HttpJsonCallSettings.newBuilder() .setMethodDescriptor(createMigratingVmMethodDescriptor) @@ -2311,6 +2367,15 @@ protected HttpJsonVmMigrationStub( settings.deleteDatacenterConnectorOperationSettings(), clientContext, httpJsonOperationsStub); + this.upgradeApplianceCallable = + callableFactory.createUnaryCallable( + upgradeApplianceTransportSettings, settings.upgradeApplianceSettings(), clientContext); + this.upgradeApplianceOperationCallable = + callableFactory.createOperationCallable( + upgradeApplianceTransportSettings, + settings.upgradeApplianceOperationSettings(), + clientContext, + httpJsonOperationsStub); this.createMigratingVmCallable = callableFactory.createUnaryCallable( createMigratingVmTransportSettings, @@ -2571,6 +2636,7 @@ public static List getMethodDescriptors() { methodDescriptors.add(getDatacenterConnectorMethodDescriptor); methodDescriptors.add(createDatacenterConnectorMethodDescriptor); methodDescriptors.add(deleteDatacenterConnectorMethodDescriptor); + methodDescriptors.add(upgradeApplianceMethodDescriptor); methodDescriptors.add(createMigratingVmMethodDescriptor); methodDescriptors.add(listMigratingVmsMethodDescriptor); methodDescriptors.add(getMigratingVmMethodDescriptor); @@ -2744,6 +2810,17 @@ public UnaryCallable fetchInvento return deleteDatacenterConnectorOperationCallable; } + @Override + public UnaryCallable upgradeApplianceCallable() { + return upgradeApplianceCallable; + } + + @Override + public OperationCallable + upgradeApplianceOperationCallable() { + return upgradeApplianceOperationCallable; + } + @Override public UnaryCallable createMigratingVmCallable() { return createMigratingVmCallable; diff --git a/google-cloud-vmmigration/src/main/java/com/google/cloud/vmmigration/v1/stub/VmMigrationStub.java b/owl-bot-staging/v1/google-cloud-vmmigration/src/main/java/com/google/cloud/vmmigration/v1/stub/VmMigrationStub.java similarity index 97% rename from google-cloud-vmmigration/src/main/java/com/google/cloud/vmmigration/v1/stub/VmMigrationStub.java rename to owl-bot-staging/v1/google-cloud-vmmigration/src/main/java/com/google/cloud/vmmigration/v1/stub/VmMigrationStub.java index 2458756..1f2ad99 100644 --- a/google-cloud-vmmigration/src/main/java/com/google/cloud/vmmigration/v1/stub/VmMigrationStub.java +++ b/owl-bot-staging/v1/google-cloud-vmmigration/src/main/java/com/google/cloud/vmmigration/v1/stub/VmMigrationStub.java @@ -96,6 +96,8 @@ import com.google.cloud.vmmigration.v1.UpdateMigratingVmRequest; import com.google.cloud.vmmigration.v1.UpdateSourceRequest; import com.google.cloud.vmmigration.v1.UpdateTargetProjectRequest; +import com.google.cloud.vmmigration.v1.UpgradeApplianceRequest; +import com.google.cloud.vmmigration.v1.UpgradeApplianceResponse; import com.google.cloud.vmmigration.v1.UtilizationReport; import com.google.longrunning.Operation; import com.google.longrunning.stub.OperationsStub; @@ -238,6 +240,15 @@ public UnaryCallable fetchInvento throw new UnsupportedOperationException("Not implemented: deleteDatacenterConnectorCallable()"); } + public OperationCallable + upgradeApplianceOperationCallable() { + throw new UnsupportedOperationException("Not implemented: upgradeApplianceOperationCallable()"); + } + + public UnaryCallable upgradeApplianceCallable() { + throw new UnsupportedOperationException("Not implemented: upgradeApplianceCallable()"); + } + public OperationCallable createMigratingVmOperationCallable() { throw new UnsupportedOperationException( diff --git a/google-cloud-vmmigration/src/main/java/com/google/cloud/vmmigration/v1/stub/VmMigrationStubSettings.java b/owl-bot-staging/v1/google-cloud-vmmigration/src/main/java/com/google/cloud/vmmigration/v1/stub/VmMigrationStubSettings.java similarity index 96% rename from google-cloud-vmmigration/src/main/java/com/google/cloud/vmmigration/v1/stub/VmMigrationStubSettings.java rename to owl-bot-staging/v1/google-cloud-vmmigration/src/main/java/com/google/cloud/vmmigration/v1/stub/VmMigrationStubSettings.java index 7deaf92..88d6958 100644 --- a/google-cloud-vmmigration/src/main/java/com/google/cloud/vmmigration/v1/stub/VmMigrationStubSettings.java +++ b/owl-bot-staging/v1/google-cloud-vmmigration/src/main/java/com/google/cloud/vmmigration/v1/stub/VmMigrationStubSettings.java @@ -122,6 +122,8 @@ import com.google.cloud.vmmigration.v1.UpdateMigratingVmRequest; import com.google.cloud.vmmigration.v1.UpdateSourceRequest; import com.google.cloud.vmmigration.v1.UpdateTargetProjectRequest; +import com.google.cloud.vmmigration.v1.UpgradeApplianceRequest; +import com.google.cloud.vmmigration.v1.UpgradeApplianceResponse; import com.google.cloud.vmmigration.v1.UtilizationReport; import com.google.common.collect.ImmutableList; import com.google.common.collect.ImmutableMap; @@ -141,9 +143,9 @@ *

The default instance has everything set to sensible defaults: * *

    - *
  • The default service address (vmmigration.googleapis.com) and default port (443) are used. - *
  • Credentials are acquired automatically through Application Default Credentials. - *
  • Retries are configured for idempotent methods but not for non-idempotent methods. + *
  • The default service address (vmmigration.googleapis.com) and default port (443) are used. + *
  • Credentials are acquired automatically through Application Default Credentials. + *
  • Retries are configured for idempotent methods but not for non-idempotent methods. *
* *

The builder of this class is recursive, so contained classes are themselves builders. When @@ -189,8 +191,7 @@ public class VmMigrationStubSettings extends StubSettings fetchInventorySettings; private final PagedCallSettings< - ListUtilizationReportsRequest, - ListUtilizationReportsResponse, + ListUtilizationReportsRequest, ListUtilizationReportsResponse, ListUtilizationReportsPagedResponse> listUtilizationReportsSettings; private final UnaryCallSettings @@ -205,8 +206,7 @@ public class VmMigrationStubSettings extends StubSettings deleteUtilizationReportOperationSettings; private final PagedCallSettings< - ListDatacenterConnectorsRequest, - ListDatacenterConnectorsResponse, + ListDatacenterConnectorsRequest, ListDatacenterConnectorsResponse, ListDatacenterConnectorsPagedResponse> listDatacenterConnectorsSettings; private final UnaryCallSettings @@ -220,6 +220,10 @@ public class VmMigrationStubSettings extends StubSettings deleteDatacenterConnectorOperationSettings; + private final UnaryCallSettings upgradeApplianceSettings; + private final OperationCallSettings< + UpgradeApplianceRequest, UpgradeApplianceResponse, OperationMetadata> + upgradeApplianceOperationSettings; private final UnaryCallSettings createMigratingVmSettings; private final OperationCallSettings createMigratingVmOperationSettings; @@ -392,8 +396,7 @@ public Iterable extractResources( ListDatacenterConnectorsRequest, ListDatacenterConnectorsResponse, DatacenterConnector> LIST_DATACENTER_CONNECTORS_PAGE_STR_DESC = new PagedListDescriptor< - ListDatacenterConnectorsRequest, - ListDatacenterConnectorsResponse, + ListDatacenterConnectorsRequest, ListDatacenterConnectorsResponse, DatacenterConnector>() { @Override public String emptyToken() { @@ -644,13 +647,11 @@ public ApiFuture getFuturePagedResponse( }; private static final PagedListResponseFactory< - ListUtilizationReportsRequest, - ListUtilizationReportsResponse, + ListUtilizationReportsRequest, ListUtilizationReportsResponse, ListUtilizationReportsPagedResponse> LIST_UTILIZATION_REPORTS_PAGE_STR_FACT = new PagedListResponseFactory< - ListUtilizationReportsRequest, - ListUtilizationReportsResponse, + ListUtilizationReportsRequest, ListUtilizationReportsResponse, ListUtilizationReportsPagedResponse>() { @Override public ApiFuture getFuturePagedResponse( @@ -660,8 +661,7 @@ public ApiFuture getFuturePagedResponse( ApiCallContext context, ApiFuture futureResponse) { PageContext< - ListUtilizationReportsRequest, - ListUtilizationReportsResponse, + ListUtilizationReportsRequest, ListUtilizationReportsResponse, UtilizationReport> pageContext = PageContext.create( @@ -671,13 +671,11 @@ public ApiFuture getFuturePagedResponse( }; private static final PagedListResponseFactory< - ListDatacenterConnectorsRequest, - ListDatacenterConnectorsResponse, + ListDatacenterConnectorsRequest, ListDatacenterConnectorsResponse, ListDatacenterConnectorsPagedResponse> LIST_DATACENTER_CONNECTORS_PAGE_STR_FACT = new PagedListResponseFactory< - ListDatacenterConnectorsRequest, - ListDatacenterConnectorsResponse, + ListDatacenterConnectorsRequest, ListDatacenterConnectorsResponse, ListDatacenterConnectorsPagedResponse>() { @Override public ApiFuture getFuturePagedResponse( @@ -687,8 +685,7 @@ public ApiFuture getFuturePagedResponse( ApiCallContext context, ApiFuture futureResponse) { PageContext< - ListDatacenterConnectorsRequest, - ListDatacenterConnectorsResponse, + ListDatacenterConnectorsRequest, ListDatacenterConnectorsResponse, DatacenterConnector> pageContext = PageContext.create( @@ -771,8 +768,7 @@ public ApiFuture getFuturePagedResponse( ListTargetProjectsRequest, ListTargetProjectsResponse, ListTargetProjectsPagedResponse> LIST_TARGET_PROJECTS_PAGE_STR_FACT = new PagedListResponseFactory< - ListTargetProjectsRequest, - ListTargetProjectsResponse, + ListTargetProjectsRequest, ListTargetProjectsResponse, ListTargetProjectsPagedResponse>() { @Override public ApiFuture getFuturePagedResponse( @@ -839,8 +835,7 @@ public UnaryCallSettings fetchInv /** Returns the object with the settings used for calls to listUtilizationReports. */ public PagedCallSettings< - ListUtilizationReportsRequest, - ListUtilizationReportsResponse, + ListUtilizationReportsRequest, ListUtilizationReportsResponse, ListUtilizationReportsPagedResponse> listUtilizationReportsSettings() { return listUtilizationReportsSettings; @@ -878,8 +873,7 @@ public UnaryCallSettings fetchInv /** Returns the object with the settings used for calls to listDatacenterConnectors. */ public PagedCallSettings< - ListDatacenterConnectorsRequest, - ListDatacenterConnectorsResponse, + ListDatacenterConnectorsRequest, ListDatacenterConnectorsResponse, ListDatacenterConnectorsPagedResponse> listDatacenterConnectorsSettings() { return listDatacenterConnectorsSettings; @@ -916,6 +910,17 @@ public UnaryCallSettings fetchInv return deleteDatacenterConnectorOperationSettings; } + /** Returns the object with the settings used for calls to upgradeAppliance. */ + public UnaryCallSettings upgradeApplianceSettings() { + return upgradeApplianceSettings; + } + + /** Returns the object with the settings used for calls to upgradeAppliance. */ + public OperationCallSettings + upgradeApplianceOperationSettings() { + return upgradeApplianceOperationSettings; + } + /** Returns the object with the settings used for calls to createMigratingVm. */ public UnaryCallSettings createMigratingVmSettings() { return createMigratingVmSettings; @@ -1317,6 +1322,8 @@ protected VmMigrationStubSettings(Builder settingsBuilder) throws IOException { deleteDatacenterConnectorSettings = settingsBuilder.deleteDatacenterConnectorSettings().build(); deleteDatacenterConnectorOperationSettings = settingsBuilder.deleteDatacenterConnectorOperationSettings().build(); + upgradeApplianceSettings = settingsBuilder.upgradeApplianceSettings().build(); + upgradeApplianceOperationSettings = settingsBuilder.upgradeApplianceOperationSettings().build(); createMigratingVmSettings = settingsBuilder.createMigratingVmSettings().build(); createMigratingVmOperationSettings = settingsBuilder.createMigratingVmOperationSettings().build(); @@ -1395,8 +1402,7 @@ public static class Builder extends StubSettings.Builder fetchInventorySettings; private final PagedCallSettings.Builder< - ListUtilizationReportsRequest, - ListUtilizationReportsResponse, + ListUtilizationReportsRequest, ListUtilizationReportsResponse, ListUtilizationReportsPagedResponse> listUtilizationReportsSettings; private final UnaryCallSettings.Builder @@ -1412,8 +1418,7 @@ public static class Builder extends StubSettings.Builder deleteUtilizationReportOperationSettings; private final PagedCallSettings.Builder< - ListDatacenterConnectorsRequest, - ListDatacenterConnectorsResponse, + ListDatacenterConnectorsRequest, ListDatacenterConnectorsResponse, ListDatacenterConnectorsPagedResponse> listDatacenterConnectorsSettings; private final UnaryCallSettings.Builder @@ -1428,6 +1433,11 @@ public static class Builder extends StubSettings.Builder deleteDatacenterConnectorOperationSettings; + private final UnaryCallSettings.Builder + upgradeApplianceSettings; + private final OperationCallSettings.Builder< + UpgradeApplianceRequest, UpgradeApplianceResponse, OperationMetadata> + upgradeApplianceOperationSettings; private final UnaryCallSettings.Builder createMigratingVmSettings; private final OperationCallSettings.Builder< @@ -1614,6 +1624,8 @@ protected Builder(ClientContext clientContext) { createDatacenterConnectorOperationSettings = OperationCallSettings.newBuilder(); deleteDatacenterConnectorSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); deleteDatacenterConnectorOperationSettings = OperationCallSettings.newBuilder(); + upgradeApplianceSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + upgradeApplianceOperationSettings = OperationCallSettings.newBuilder(); createMigratingVmSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); createMigratingVmOperationSettings = OperationCallSettings.newBuilder(); listMigratingVmsSettings = PagedCallSettings.newBuilder(LIST_MIGRATING_VMS_PAGE_STR_FACT); @@ -1679,6 +1691,7 @@ protected Builder(ClientContext clientContext) { getDatacenterConnectorSettings, createDatacenterConnectorSettings, deleteDatacenterConnectorSettings, + upgradeApplianceSettings, createMigratingVmSettings, listMigratingVmsSettings, getMigratingVmSettings, @@ -1739,6 +1752,8 @@ protected Builder(VmMigrationStubSettings settings) { deleteDatacenterConnectorSettings = settings.deleteDatacenterConnectorSettings.toBuilder(); deleteDatacenterConnectorOperationSettings = settings.deleteDatacenterConnectorOperationSettings.toBuilder(); + upgradeApplianceSettings = settings.upgradeApplianceSettings.toBuilder(); + upgradeApplianceOperationSettings = settings.upgradeApplianceOperationSettings.toBuilder(); createMigratingVmSettings = settings.createMigratingVmSettings.toBuilder(); createMigratingVmOperationSettings = settings.createMigratingVmOperationSettings.toBuilder(); listMigratingVmsSettings = settings.listMigratingVmsSettings.toBuilder(); @@ -1808,6 +1823,7 @@ protected Builder(VmMigrationStubSettings settings) { getDatacenterConnectorSettings, createDatacenterConnectorSettings, deleteDatacenterConnectorSettings, + upgradeApplianceSettings, createMigratingVmSettings, listMigratingVmsSettings, getMigratingVmSettings, @@ -1936,6 +1952,11 @@ private static Builder initDefaults(Builder builder) { .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_0_codes")) .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_0_params")); + builder + .upgradeApplianceSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_0_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_0_params")); + builder .createMigratingVmSettings() .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_0_codes")) @@ -2251,6 +2272,30 @@ private static Builder initDefaults(Builder builder) { .setTotalTimeout(Duration.ofMillis(300000L)) .build())); + builder + .upgradeApplianceOperationSettings() + .setInitialCallSettings( + UnaryCallSettings + .newUnaryCallSettingsBuilder() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_0_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_0_params")) + .build()) + .setResponseTransformer( + ProtoOperationTransformers.ResponseTransformer.create(UpgradeApplianceResponse.class)) + .setMetadataTransformer( + ProtoOperationTransformers.MetadataTransformer.create(OperationMetadata.class)) + .setPollingAlgorithm( + OperationTimedPollAlgorithm.create( + RetrySettings.newBuilder() + .setInitialRetryDelay(Duration.ofMillis(5000L)) + .setRetryDelayMultiplier(1.5) + .setMaxRetryDelay(Duration.ofMillis(45000L)) + .setInitialRpcTimeout(Duration.ZERO) + .setRpcTimeoutMultiplier(1.0) + .setMaxRpcTimeout(Duration.ZERO) + .setTotalTimeout(Duration.ofMillis(300000L)) + .build())); + builder .createMigratingVmOperationSettings() .setInitialCallSettings( @@ -2784,8 +2829,7 @@ public UnaryCallSettings.Builder deleteSourceSet /** Returns the builder for the settings used for calls to listUtilizationReports. */ public PagedCallSettings.Builder< - ListUtilizationReportsRequest, - ListUtilizationReportsResponse, + ListUtilizationReportsRequest, ListUtilizationReportsResponse, ListUtilizationReportsPagedResponse> listUtilizationReportsSettings() { return listUtilizationReportsSettings; @@ -2828,8 +2872,7 @@ public UnaryCallSettings.Builder deleteSourceSet /** Returns the builder for the settings used for calls to listDatacenterConnectors. */ public PagedCallSettings.Builder< - ListDatacenterConnectorsRequest, - ListDatacenterConnectorsResponse, + ListDatacenterConnectorsRequest, ListDatacenterConnectorsResponse, ListDatacenterConnectorsPagedResponse> listDatacenterConnectorsSettings() { return listDatacenterConnectorsSettings; @@ -2870,6 +2913,21 @@ public UnaryCallSettings.Builder deleteSourceSet return deleteDatacenterConnectorOperationSettings; } + /** Returns the builder for the settings used for calls to upgradeAppliance. */ + public UnaryCallSettings.Builder + upgradeApplianceSettings() { + return upgradeApplianceSettings; + } + + /** Returns the builder for the settings used for calls to upgradeAppliance. */ + @BetaApi( + "The surface for use by generated code is not stable yet and may change in the future.") + public OperationCallSettings.Builder< + UpgradeApplianceRequest, UpgradeApplianceResponse, OperationMetadata> + upgradeApplianceOperationSettings() { + return upgradeApplianceOperationSettings; + } + /** Returns the builder for the settings used for calls to createMigratingVm. */ public UnaryCallSettings.Builder createMigratingVmSettings() { diff --git a/google-cloud-vmmigration/src/test/java/com/google/cloud/vmmigration/v1/MockVmMigration.java b/owl-bot-staging/v1/google-cloud-vmmigration/src/test/java/com/google/cloud/vmmigration/v1/MockVmMigration.java similarity index 100% rename from google-cloud-vmmigration/src/test/java/com/google/cloud/vmmigration/v1/MockVmMigration.java rename to owl-bot-staging/v1/google-cloud-vmmigration/src/test/java/com/google/cloud/vmmigration/v1/MockVmMigration.java diff --git a/google-cloud-vmmigration/src/test/java/com/google/cloud/vmmigration/v1/MockVmMigrationImpl.java b/owl-bot-staging/v1/google-cloud-vmmigration/src/test/java/com/google/cloud/vmmigration/v1/MockVmMigrationImpl.java similarity index 97% rename from google-cloud-vmmigration/src/test/java/com/google/cloud/vmmigration/v1/MockVmMigrationImpl.java rename to owl-bot-staging/v1/google-cloud-vmmigration/src/test/java/com/google/cloud/vmmigration/v1/MockVmMigrationImpl.java index 4c9340a..64b8ea2 100644 --- a/google-cloud-vmmigration/src/test/java/com/google/cloud/vmmigration/v1/MockVmMigrationImpl.java +++ b/owl-bot-staging/v1/google-cloud-vmmigration/src/test/java/com/google/cloud/vmmigration/v1/MockVmMigrationImpl.java @@ -354,6 +354,27 @@ public void deleteDatacenterConnector( } } + @Override + public void upgradeAppliance( + UpgradeApplianceRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof Operation) { + requests.add(request); + responseObserver.onNext(((Operation) 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 UpgradeAppliance, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + Operation.class.getName(), + Exception.class.getName()))); + } + } + @Override public void createMigratingVm( CreateMigratingVmRequest request, StreamObserver responseObserver) { diff --git a/google-cloud-vmmigration/src/test/java/com/google/cloud/vmmigration/v1/VmMigrationClientHttpJsonTest.java b/owl-bot-staging/v1/google-cloud-vmmigration/src/test/java/com/google/cloud/vmmigration/v1/VmMigrationClientHttpJsonTest.java similarity index 97% rename from google-cloud-vmmigration/src/test/java/com/google/cloud/vmmigration/v1/VmMigrationClientHttpJsonTest.java rename to owl-bot-staging/v1/google-cloud-vmmigration/src/test/java/com/google/cloud/vmmigration/v1/VmMigrationClientHttpJsonTest.java index 169b6c2..7e75885 100644 --- a/google-cloud-vmmigration/src/test/java/com/google/cloud/vmmigration/v1/VmMigrationClientHttpJsonTest.java +++ b/owl-bot-staging/v1/google-cloud-vmmigration/src/test/java/com/google/cloud/vmmigration/v1/VmMigrationClientHttpJsonTest.java @@ -1196,6 +1196,10 @@ public void getDatacenterConnectorTest() throws Exception { .setBucket("bucket-1378203158") .setStateTime(Timestamp.newBuilder().build()) .setError(Status.newBuilder().build()) + .setApplianceInfrastructureVersion("applianceInfrastructureVersion560843272") + .setApplianceSoftwareVersion("applianceSoftwareVersion-1982719036") + .setAvailableVersions(AvailableUpdates.newBuilder().build()) + .setUpgradeStatus(UpgradeStatus.newBuilder().build()) .build(); mockService.addResponse(expectedResponse); @@ -1254,6 +1258,10 @@ public void getDatacenterConnectorTest2() throws Exception { .setBucket("bucket-1378203158") .setStateTime(Timestamp.newBuilder().build()) .setError(Status.newBuilder().build()) + .setApplianceInfrastructureVersion("applianceInfrastructureVersion560843272") + .setApplianceSoftwareVersion("applianceSoftwareVersion-1982719036") + .setAvailableVersions(AvailableUpdates.newBuilder().build()) + .setUpgradeStatus(UpgradeStatus.newBuilder().build()) .build(); mockService.addResponse(expectedResponse); @@ -1311,6 +1319,10 @@ public void createDatacenterConnectorTest() throws Exception { .setBucket("bucket-1378203158") .setStateTime(Timestamp.newBuilder().build()) .setError(Status.newBuilder().build()) + .setApplianceInfrastructureVersion("applianceInfrastructureVersion560843272") + .setApplianceSoftwareVersion("applianceSoftwareVersion-1982719036") + .setAvailableVersions(AvailableUpdates.newBuilder().build()) + .setUpgradeStatus(UpgradeStatus.newBuilder().build()) .build(); Operation resultOperation = Operation.newBuilder() @@ -1380,6 +1392,10 @@ public void createDatacenterConnectorTest2() throws Exception { .setBucket("bucket-1378203158") .setStateTime(Timestamp.newBuilder().build()) .setError(Status.newBuilder().build()) + .setApplianceInfrastructureVersion("applianceInfrastructureVersion560843272") + .setApplianceSoftwareVersion("applianceSoftwareVersion-1982719036") + .setAvailableVersions(AvailableUpdates.newBuilder().build()) + .setUpgradeStatus(UpgradeStatus.newBuilder().build()) .build(); Operation resultOperation = Operation.newBuilder() @@ -1528,6 +1544,66 @@ public void deleteDatacenterConnectorExceptionTest2() throws Exception { } } + @Test + public void upgradeApplianceTest() throws Exception { + UpgradeApplianceResponse expectedResponse = UpgradeApplianceResponse.newBuilder().build(); + Operation resultOperation = + Operation.newBuilder() + .setName("upgradeApplianceTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockService.addResponse(resultOperation); + + UpgradeApplianceRequest request = + UpgradeApplianceRequest.newBuilder() + .setDatacenterConnector( + DatacenterConnectorName.of( + "[PROJECT]", "[LOCATION]", "[SOURCE]", "[DATACENTER_CONNECTOR]") + .toString()) + .setRequestId("requestId693933066") + .build(); + + UpgradeApplianceResponse actualResponse = client.upgradeApplianceAsync(request).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + 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 upgradeApplianceExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + UpgradeApplianceRequest request = + UpgradeApplianceRequest.newBuilder() + .setDatacenterConnector( + DatacenterConnectorName.of( + "[PROJECT]", "[LOCATION]", "[SOURCE]", "[DATACENTER_CONNECTOR]") + .toString()) + .setRequestId("requestId693933066") + .build(); + client.upgradeApplianceAsync(request).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + } + } + @Test public void createMigratingVmTest() throws Exception { MigratingVm expectedResponse = @@ -1546,7 +1622,9 @@ public void createMigratingVmTest() throws Exception { .setCurrentSyncInfo(ReplicationCycle.newBuilder().build()) .setGroup(LocationName.of("[PROJECT]", "[LOCATION]").toString()) .putAllLabels(new HashMap()) + .addAllRecentCloneJobs(new ArrayList()) .setError(Status.newBuilder().build()) + .addAllRecentCutoverJobs(new ArrayList()) .build(); Operation resultOperation = Operation.newBuilder() @@ -1614,7 +1692,9 @@ public void createMigratingVmTest2() throws Exception { .setCurrentSyncInfo(ReplicationCycle.newBuilder().build()) .setGroup(LocationName.of("[PROJECT]", "[LOCATION]").toString()) .putAllLabels(new HashMap()) + .addAllRecentCloneJobs(new ArrayList()) .setError(Status.newBuilder().build()) + .addAllRecentCutoverJobs(new ArrayList()) .build(); Operation resultOperation = Operation.newBuilder() @@ -1782,7 +1862,9 @@ public void getMigratingVmTest() throws Exception { .setCurrentSyncInfo(ReplicationCycle.newBuilder().build()) .setGroup(LocationName.of("[PROJECT]", "[LOCATION]").toString()) .putAllLabels(new HashMap()) + .addAllRecentCloneJobs(new ArrayList()) .setError(Status.newBuilder().build()) + .addAllRecentCutoverJobs(new ArrayList()) .build(); mockService.addResponse(expectedResponse); @@ -1842,7 +1924,9 @@ public void getMigratingVmTest2() throws Exception { .setCurrentSyncInfo(ReplicationCycle.newBuilder().build()) .setGroup(LocationName.of("[PROJECT]", "[LOCATION]").toString()) .putAllLabels(new HashMap()) + .addAllRecentCloneJobs(new ArrayList()) .setError(Status.newBuilder().build()) + .addAllRecentCutoverJobs(new ArrayList()) .build(); mockService.addResponse(expectedResponse); @@ -1902,7 +1986,9 @@ public void updateMigratingVmTest() throws Exception { .setCurrentSyncInfo(ReplicationCycle.newBuilder().build()) .setGroup(LocationName.of("[PROJECT]", "[LOCATION]").toString()) .putAllLabels(new HashMap()) + .addAllRecentCloneJobs(new ArrayList()) .setError(Status.newBuilder().build()) + .addAllRecentCutoverJobs(new ArrayList()) .build(); Operation resultOperation = Operation.newBuilder() @@ -1928,7 +2014,9 @@ public void updateMigratingVmTest() throws Exception { .setCurrentSyncInfo(ReplicationCycle.newBuilder().build()) .setGroup(LocationName.of("[PROJECT]", "[LOCATION]").toString()) .putAllLabels(new HashMap()) + .addAllRecentCloneJobs(new ArrayList()) .setError(Status.newBuilder().build()) + .addAllRecentCutoverJobs(new ArrayList()) .build(); FieldMask updateMask = FieldMask.newBuilder().build(); @@ -1974,7 +2062,9 @@ public void updateMigratingVmExceptionTest() throws Exception { .setCurrentSyncInfo(ReplicationCycle.newBuilder().build()) .setGroup(LocationName.of("[PROJECT]", "[LOCATION]").toString()) .putAllLabels(new HashMap()) + .addAllRecentCloneJobs(new ArrayList()) .setError(Status.newBuilder().build()) + .addAllRecentCutoverJobs(new ArrayList()) .build(); FieldMask updateMask = FieldMask.newBuilder().build(); client.updateMigratingVmAsync(migratingVm, updateMask).get(); @@ -2386,6 +2476,7 @@ public void createCloneJobTest() throws Exception { CloneJob expectedResponse = CloneJob.newBuilder() .setCreateTime(Timestamp.newBuilder().build()) + .setEndTime(Timestamp.newBuilder().build()) .setName( CloneJobName.of( "[PROJECT]", "[LOCATION]", "[SOURCE]", "[MIGRATING_VM]", "[CLONE_JOB]") @@ -2447,6 +2538,7 @@ public void createCloneJobTest2() throws Exception { CloneJob expectedResponse = CloneJob.newBuilder() .setCreateTime(Timestamp.newBuilder().build()) + .setEndTime(Timestamp.newBuilder().build()) .setName( CloneJobName.of( "[PROJECT]", "[LOCATION]", "[SOURCE]", "[MIGRATING_VM]", "[CLONE_JOB]") @@ -2708,6 +2800,7 @@ public void getCloneJobTest() throws Exception { CloneJob expectedResponse = CloneJob.newBuilder() .setCreateTime(Timestamp.newBuilder().build()) + .setEndTime(Timestamp.newBuilder().build()) .setName( CloneJobName.of( "[PROJECT]", "[LOCATION]", "[SOURCE]", "[MIGRATING_VM]", "[CLONE_JOB]") @@ -2760,6 +2853,7 @@ public void getCloneJobTest2() throws Exception { CloneJob expectedResponse = CloneJob.newBuilder() .setCreateTime(Timestamp.newBuilder().build()) + .setEndTime(Timestamp.newBuilder().build()) .setName( CloneJobName.of( "[PROJECT]", "[LOCATION]", "[SOURCE]", "[MIGRATING_VM]", "[CLONE_JOB]") @@ -2812,6 +2906,7 @@ public void createCutoverJobTest() throws Exception { CutoverJob expectedResponse = CutoverJob.newBuilder() .setCreateTime(Timestamp.newBuilder().build()) + .setEndTime(Timestamp.newBuilder().build()) .setName( CutoverJobName.of( "[PROJECT]", "[LOCATION]", "[SOURCE]", "[MIGRATING_VM]", "[CUTOVER_JOB]") @@ -2876,6 +2971,7 @@ public void createCutoverJobTest2() throws Exception { CutoverJob expectedResponse = CutoverJob.newBuilder() .setCreateTime(Timestamp.newBuilder().build()) + .setEndTime(Timestamp.newBuilder().build()) .setName( CutoverJobName.of( "[PROJECT]", "[LOCATION]", "[SOURCE]", "[MIGRATING_VM]", "[CUTOVER_JOB]") @@ -3141,6 +3237,7 @@ public void getCutoverJobTest() throws Exception { CutoverJob expectedResponse = CutoverJob.newBuilder() .setCreateTime(Timestamp.newBuilder().build()) + .setEndTime(Timestamp.newBuilder().build()) .setName( CutoverJobName.of( "[PROJECT]", "[LOCATION]", "[SOURCE]", "[MIGRATING_VM]", "[CUTOVER_JOB]") @@ -3196,6 +3293,7 @@ public void getCutoverJobTest2() throws Exception { CutoverJob expectedResponse = CutoverJob.newBuilder() .setCreateTime(Timestamp.newBuilder().build()) + .setEndTime(Timestamp.newBuilder().build()) .setName( CutoverJobName.of( "[PROJECT]", "[LOCATION]", "[SOURCE]", "[MIGRATING_VM]", "[CUTOVER_JOB]") diff --git a/google-cloud-vmmigration/src/test/java/com/google/cloud/vmmigration/v1/VmMigrationClientTest.java b/owl-bot-staging/v1/google-cloud-vmmigration/src/test/java/com/google/cloud/vmmigration/v1/VmMigrationClientTest.java similarity index 97% rename from google-cloud-vmmigration/src/test/java/com/google/cloud/vmmigration/v1/VmMigrationClientTest.java rename to owl-bot-staging/v1/google-cloud-vmmigration/src/test/java/com/google/cloud/vmmigration/v1/VmMigrationClientTest.java index b4c6cee..6681df7 100644 --- a/google-cloud-vmmigration/src/test/java/com/google/cloud/vmmigration/v1/VmMigrationClientTest.java +++ b/owl-bot-staging/v1/google-cloud-vmmigration/src/test/java/com/google/cloud/vmmigration/v1/VmMigrationClientTest.java @@ -1102,6 +1102,10 @@ public void getDatacenterConnectorTest() throws Exception { .setBucket("bucket-1378203158") .setStateTime(Timestamp.newBuilder().build()) .setError(Status.newBuilder().build()) + .setApplianceInfrastructureVersion("applianceInfrastructureVersion560843272") + .setApplianceSoftwareVersion("applianceSoftwareVersion-1982719036") + .setAvailableVersions(AvailableUpdates.newBuilder().build()) + .setUpgradeStatus(UpgradeStatus.newBuilder().build()) .build(); mockVmMigration.addResponse(expectedResponse); @@ -1155,6 +1159,10 @@ public void getDatacenterConnectorTest2() throws Exception { .setBucket("bucket-1378203158") .setStateTime(Timestamp.newBuilder().build()) .setError(Status.newBuilder().build()) + .setApplianceInfrastructureVersion("applianceInfrastructureVersion560843272") + .setApplianceSoftwareVersion("applianceSoftwareVersion-1982719036") + .setAvailableVersions(AvailableUpdates.newBuilder().build()) + .setUpgradeStatus(UpgradeStatus.newBuilder().build()) .build(); mockVmMigration.addResponse(expectedResponse); @@ -1205,6 +1213,10 @@ public void createDatacenterConnectorTest() throws Exception { .setBucket("bucket-1378203158") .setStateTime(Timestamp.newBuilder().build()) .setError(Status.newBuilder().build()) + .setApplianceInfrastructureVersion("applianceInfrastructureVersion560843272") + .setApplianceSoftwareVersion("applianceSoftwareVersion-1982719036") + .setAvailableVersions(AvailableUpdates.newBuilder().build()) + .setUpgradeStatus(UpgradeStatus.newBuilder().build()) .build(); Operation resultOperation = Operation.newBuilder() @@ -1274,6 +1286,10 @@ public void createDatacenterConnectorTest2() throws Exception { .setBucket("bucket-1378203158") .setStateTime(Timestamp.newBuilder().build()) .setError(Status.newBuilder().build()) + .setApplianceInfrastructureVersion("applianceInfrastructureVersion560843272") + .setApplianceSoftwareVersion("applianceSoftwareVersion-1982719036") + .setAvailableVersions(AvailableUpdates.newBuilder().build()) + .setUpgradeStatus(UpgradeStatus.newBuilder().build()) .build(); Operation resultOperation = Operation.newBuilder() @@ -1416,6 +1432,64 @@ public void deleteDatacenterConnectorExceptionTest2() throws Exception { } } + @Test + public void upgradeApplianceTest() throws Exception { + UpgradeApplianceResponse expectedResponse = UpgradeApplianceResponse.newBuilder().build(); + Operation resultOperation = + Operation.newBuilder() + .setName("upgradeApplianceTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockVmMigration.addResponse(resultOperation); + + UpgradeApplianceRequest request = + UpgradeApplianceRequest.newBuilder() + .setDatacenterConnector( + DatacenterConnectorName.of( + "[PROJECT]", "[LOCATION]", "[SOURCE]", "[DATACENTER_CONNECTOR]") + .toString()) + .setRequestId("requestId693933066") + .build(); + + UpgradeApplianceResponse actualResponse = client.upgradeApplianceAsync(request).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockVmMigration.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + UpgradeApplianceRequest actualRequest = ((UpgradeApplianceRequest) actualRequests.get(0)); + + Assert.assertEquals(request.getDatacenterConnector(), actualRequest.getDatacenterConnector()); + Assert.assertEquals(request.getRequestId(), actualRequest.getRequestId()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void upgradeApplianceExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockVmMigration.addException(exception); + + try { + UpgradeApplianceRequest request = + UpgradeApplianceRequest.newBuilder() + .setDatacenterConnector( + DatacenterConnectorName.of( + "[PROJECT]", "[LOCATION]", "[SOURCE]", "[DATACENTER_CONNECTOR]") + .toString()) + .setRequestId("requestId693933066") + .build(); + client.upgradeApplianceAsync(request).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + Assert.assertEquals(InvalidArgumentException.class, e.getCause().getClass()); + InvalidArgumentException apiException = ((InvalidArgumentException) e.getCause()); + Assert.assertEquals(StatusCode.Code.INVALID_ARGUMENT, apiException.getStatusCode().getCode()); + } + } + @Test public void createMigratingVmTest() throws Exception { MigratingVm expectedResponse = @@ -1434,7 +1508,9 @@ public void createMigratingVmTest() throws Exception { .setCurrentSyncInfo(ReplicationCycle.newBuilder().build()) .setGroup(LocationName.of("[PROJECT]", "[LOCATION]").toString()) .putAllLabels(new HashMap()) + .addAllRecentCloneJobs(new ArrayList()) .setError(Status.newBuilder().build()) + .addAllRecentCutoverJobs(new ArrayList()) .build(); Operation resultOperation = Operation.newBuilder() @@ -1501,7 +1577,9 @@ public void createMigratingVmTest2() throws Exception { .setCurrentSyncInfo(ReplicationCycle.newBuilder().build()) .setGroup(LocationName.of("[PROJECT]", "[LOCATION]").toString()) .putAllLabels(new HashMap()) + .addAllRecentCloneJobs(new ArrayList()) .setError(Status.newBuilder().build()) + .addAllRecentCutoverJobs(new ArrayList()) .build(); Operation resultOperation = Operation.newBuilder() @@ -1656,7 +1734,9 @@ public void getMigratingVmTest() throws Exception { .setCurrentSyncInfo(ReplicationCycle.newBuilder().build()) .setGroup(LocationName.of("[PROJECT]", "[LOCATION]").toString()) .putAllLabels(new HashMap()) + .addAllRecentCloneJobs(new ArrayList()) .setError(Status.newBuilder().build()) + .addAllRecentCutoverJobs(new ArrayList()) .build(); mockVmMigration.addResponse(expectedResponse); @@ -1710,7 +1790,9 @@ public void getMigratingVmTest2() throws Exception { .setCurrentSyncInfo(ReplicationCycle.newBuilder().build()) .setGroup(LocationName.of("[PROJECT]", "[LOCATION]").toString()) .putAllLabels(new HashMap()) + .addAllRecentCloneJobs(new ArrayList()) .setError(Status.newBuilder().build()) + .addAllRecentCutoverJobs(new ArrayList()) .build(); mockVmMigration.addResponse(expectedResponse); @@ -1762,7 +1844,9 @@ public void updateMigratingVmTest() throws Exception { .setCurrentSyncInfo(ReplicationCycle.newBuilder().build()) .setGroup(LocationName.of("[PROJECT]", "[LOCATION]").toString()) .putAllLabels(new HashMap()) + .addAllRecentCloneJobs(new ArrayList()) .setError(Status.newBuilder().build()) + .addAllRecentCutoverJobs(new ArrayList()) .build(); Operation resultOperation = Operation.newBuilder() @@ -2180,6 +2264,7 @@ public void createCloneJobTest() throws Exception { CloneJob expectedResponse = CloneJob.newBuilder() .setCreateTime(Timestamp.newBuilder().build()) + .setEndTime(Timestamp.newBuilder().build()) .setName( CloneJobName.of( "[PROJECT]", "[LOCATION]", "[SOURCE]", "[MIGRATING_VM]", "[CLONE_JOB]") @@ -2240,6 +2325,7 @@ public void createCloneJobTest2() throws Exception { CloneJob expectedResponse = CloneJob.newBuilder() .setCreateTime(Timestamp.newBuilder().build()) + .setEndTime(Timestamp.newBuilder().build()) .setName( CloneJobName.of( "[PROJECT]", "[LOCATION]", "[SOURCE]", "[MIGRATING_VM]", "[CLONE_JOB]") @@ -2476,6 +2562,7 @@ public void getCloneJobTest() throws Exception { CloneJob expectedResponse = CloneJob.newBuilder() .setCreateTime(Timestamp.newBuilder().build()) + .setEndTime(Timestamp.newBuilder().build()) .setName( CloneJobName.of( "[PROJECT]", "[LOCATION]", "[SOURCE]", "[MIGRATING_VM]", "[CLONE_JOB]") @@ -2522,6 +2609,7 @@ public void getCloneJobTest2() throws Exception { CloneJob expectedResponse = CloneJob.newBuilder() .setCreateTime(Timestamp.newBuilder().build()) + .setEndTime(Timestamp.newBuilder().build()) .setName( CloneJobName.of( "[PROJECT]", "[LOCATION]", "[SOURCE]", "[MIGRATING_VM]", "[CLONE_JOB]") @@ -2566,6 +2654,7 @@ public void createCutoverJobTest() throws Exception { CutoverJob expectedResponse = CutoverJob.newBuilder() .setCreateTime(Timestamp.newBuilder().build()) + .setEndTime(Timestamp.newBuilder().build()) .setName( CutoverJobName.of( "[PROJECT]", "[LOCATION]", "[SOURCE]", "[MIGRATING_VM]", "[CUTOVER_JOB]") @@ -2629,6 +2718,7 @@ public void createCutoverJobTest2() throws Exception { CutoverJob expectedResponse = CutoverJob.newBuilder() .setCreateTime(Timestamp.newBuilder().build()) + .setEndTime(Timestamp.newBuilder().build()) .setName( CutoverJobName.of( "[PROJECT]", "[LOCATION]", "[SOURCE]", "[MIGRATING_VM]", "[CUTOVER_JOB]") @@ -2869,6 +2959,7 @@ public void getCutoverJobTest() throws Exception { CutoverJob expectedResponse = CutoverJob.newBuilder() .setCreateTime(Timestamp.newBuilder().build()) + .setEndTime(Timestamp.newBuilder().build()) .setName( CutoverJobName.of( "[PROJECT]", "[LOCATION]", "[SOURCE]", "[MIGRATING_VM]", "[CUTOVER_JOB]") @@ -2918,6 +3009,7 @@ public void getCutoverJobTest2() throws Exception { CutoverJob expectedResponse = CutoverJob.newBuilder() .setCreateTime(Timestamp.newBuilder().build()) + .setEndTime(Timestamp.newBuilder().build()) .setName( CutoverJobName.of( "[PROJECT]", "[LOCATION]", "[SOURCE]", "[MIGRATING_VM]", "[CUTOVER_JOB]") diff --git a/owl-bot-staging/v1/grpc-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/VmMigrationGrpc.java b/owl-bot-staging/v1/grpc-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/VmMigrationGrpc.java new file mode 100644 index 0000000..a134393 --- /dev/null +++ b/owl-bot-staging/v1/grpc-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/VmMigrationGrpc.java @@ -0,0 +1,4097 @@ +package com.google.cloud.vmmigration.v1; + +import static io.grpc.MethodDescriptor.generateFullMethodName; + +/** + *

+ * VM Migration Service
+ * 
+ */ +@javax.annotation.Generated( + value = "by gRPC proto compiler", + comments = "Source: google/cloud/vmmigration/v1/vmmigration.proto") +@io.grpc.stub.annotations.GrpcGenerated +public final class VmMigrationGrpc { + + private VmMigrationGrpc() {} + + public static final String SERVICE_NAME = "google.cloud.vmmigration.v1.VmMigration"; + + // Static method descriptors that strictly reflect the proto. + private static volatile io.grpc.MethodDescriptor getListSourcesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListSources", + requestType = com.google.cloud.vmmigration.v1.ListSourcesRequest.class, + responseType = com.google.cloud.vmmigration.v1.ListSourcesResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListSourcesMethod() { + io.grpc.MethodDescriptor getListSourcesMethod; + if ((getListSourcesMethod = VmMigrationGrpc.getListSourcesMethod) == null) { + synchronized (VmMigrationGrpc.class) { + if ((getListSourcesMethod = VmMigrationGrpc.getListSourcesMethod) == null) { + VmMigrationGrpc.getListSourcesMethod = getListSourcesMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListSources")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.vmmigration.v1.ListSourcesRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.vmmigration.v1.ListSourcesResponse.getDefaultInstance())) + .setSchemaDescriptor(new VmMigrationMethodDescriptorSupplier("ListSources")) + .build(); + } + } + } + return getListSourcesMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetSourceMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetSource", + requestType = com.google.cloud.vmmigration.v1.GetSourceRequest.class, + responseType = com.google.cloud.vmmigration.v1.Source.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetSourceMethod() { + io.grpc.MethodDescriptor getGetSourceMethod; + if ((getGetSourceMethod = VmMigrationGrpc.getGetSourceMethod) == null) { + synchronized (VmMigrationGrpc.class) { + if ((getGetSourceMethod = VmMigrationGrpc.getGetSourceMethod) == null) { + VmMigrationGrpc.getGetSourceMethod = getGetSourceMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetSource")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.vmmigration.v1.GetSourceRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.vmmigration.v1.Source.getDefaultInstance())) + .setSchemaDescriptor(new VmMigrationMethodDescriptorSupplier("GetSource")) + .build(); + } + } + } + return getGetSourceMethod; + } + + private static volatile io.grpc.MethodDescriptor getCreateSourceMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateSource", + requestType = com.google.cloud.vmmigration.v1.CreateSourceRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCreateSourceMethod() { + io.grpc.MethodDescriptor getCreateSourceMethod; + if ((getCreateSourceMethod = VmMigrationGrpc.getCreateSourceMethod) == null) { + synchronized (VmMigrationGrpc.class) { + if ((getCreateSourceMethod = VmMigrationGrpc.getCreateSourceMethod) == null) { + VmMigrationGrpc.getCreateSourceMethod = getCreateSourceMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateSource")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.vmmigration.v1.CreateSourceRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new VmMigrationMethodDescriptorSupplier("CreateSource")) + .build(); + } + } + } + return getCreateSourceMethod; + } + + private static volatile io.grpc.MethodDescriptor getUpdateSourceMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateSource", + requestType = com.google.cloud.vmmigration.v1.UpdateSourceRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getUpdateSourceMethod() { + io.grpc.MethodDescriptor getUpdateSourceMethod; + if ((getUpdateSourceMethod = VmMigrationGrpc.getUpdateSourceMethod) == null) { + synchronized (VmMigrationGrpc.class) { + if ((getUpdateSourceMethod = VmMigrationGrpc.getUpdateSourceMethod) == null) { + VmMigrationGrpc.getUpdateSourceMethod = getUpdateSourceMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateSource")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.vmmigration.v1.UpdateSourceRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new VmMigrationMethodDescriptorSupplier("UpdateSource")) + .build(); + } + } + } + return getUpdateSourceMethod; + } + + private static volatile io.grpc.MethodDescriptor getDeleteSourceMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteSource", + requestType = com.google.cloud.vmmigration.v1.DeleteSourceRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getDeleteSourceMethod() { + io.grpc.MethodDescriptor getDeleteSourceMethod; + if ((getDeleteSourceMethod = VmMigrationGrpc.getDeleteSourceMethod) == null) { + synchronized (VmMigrationGrpc.class) { + if ((getDeleteSourceMethod = VmMigrationGrpc.getDeleteSourceMethod) == null) { + VmMigrationGrpc.getDeleteSourceMethod = getDeleteSourceMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteSource")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.vmmigration.v1.DeleteSourceRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new VmMigrationMethodDescriptorSupplier("DeleteSource")) + .build(); + } + } + } + return getDeleteSourceMethod; + } + + private static volatile io.grpc.MethodDescriptor getFetchInventoryMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "FetchInventory", + requestType = com.google.cloud.vmmigration.v1.FetchInventoryRequest.class, + responseType = com.google.cloud.vmmigration.v1.FetchInventoryResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getFetchInventoryMethod() { + io.grpc.MethodDescriptor getFetchInventoryMethod; + if ((getFetchInventoryMethod = VmMigrationGrpc.getFetchInventoryMethod) == null) { + synchronized (VmMigrationGrpc.class) { + if ((getFetchInventoryMethod = VmMigrationGrpc.getFetchInventoryMethod) == null) { + VmMigrationGrpc.getFetchInventoryMethod = getFetchInventoryMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "FetchInventory")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.vmmigration.v1.FetchInventoryRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.vmmigration.v1.FetchInventoryResponse.getDefaultInstance())) + .setSchemaDescriptor(new VmMigrationMethodDescriptorSupplier("FetchInventory")) + .build(); + } + } + } + return getFetchInventoryMethod; + } + + private static volatile io.grpc.MethodDescriptor getListUtilizationReportsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListUtilizationReports", + requestType = com.google.cloud.vmmigration.v1.ListUtilizationReportsRequest.class, + responseType = com.google.cloud.vmmigration.v1.ListUtilizationReportsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListUtilizationReportsMethod() { + io.grpc.MethodDescriptor getListUtilizationReportsMethod; + if ((getListUtilizationReportsMethod = VmMigrationGrpc.getListUtilizationReportsMethod) == null) { + synchronized (VmMigrationGrpc.class) { + if ((getListUtilizationReportsMethod = VmMigrationGrpc.getListUtilizationReportsMethod) == null) { + VmMigrationGrpc.getListUtilizationReportsMethod = getListUtilizationReportsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListUtilizationReports")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.vmmigration.v1.ListUtilizationReportsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.vmmigration.v1.ListUtilizationReportsResponse.getDefaultInstance())) + .setSchemaDescriptor(new VmMigrationMethodDescriptorSupplier("ListUtilizationReports")) + .build(); + } + } + } + return getListUtilizationReportsMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetUtilizationReportMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetUtilizationReport", + requestType = com.google.cloud.vmmigration.v1.GetUtilizationReportRequest.class, + responseType = com.google.cloud.vmmigration.v1.UtilizationReport.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetUtilizationReportMethod() { + io.grpc.MethodDescriptor getGetUtilizationReportMethod; + if ((getGetUtilizationReportMethod = VmMigrationGrpc.getGetUtilizationReportMethod) == null) { + synchronized (VmMigrationGrpc.class) { + if ((getGetUtilizationReportMethod = VmMigrationGrpc.getGetUtilizationReportMethod) == null) { + VmMigrationGrpc.getGetUtilizationReportMethod = getGetUtilizationReportMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetUtilizationReport")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.vmmigration.v1.GetUtilizationReportRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.vmmigration.v1.UtilizationReport.getDefaultInstance())) + .setSchemaDescriptor(new VmMigrationMethodDescriptorSupplier("GetUtilizationReport")) + .build(); + } + } + } + return getGetUtilizationReportMethod; + } + + private static volatile io.grpc.MethodDescriptor getCreateUtilizationReportMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateUtilizationReport", + requestType = com.google.cloud.vmmigration.v1.CreateUtilizationReportRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCreateUtilizationReportMethod() { + io.grpc.MethodDescriptor getCreateUtilizationReportMethod; + if ((getCreateUtilizationReportMethod = VmMigrationGrpc.getCreateUtilizationReportMethod) == null) { + synchronized (VmMigrationGrpc.class) { + if ((getCreateUtilizationReportMethod = VmMigrationGrpc.getCreateUtilizationReportMethod) == null) { + VmMigrationGrpc.getCreateUtilizationReportMethod = getCreateUtilizationReportMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateUtilizationReport")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.vmmigration.v1.CreateUtilizationReportRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new VmMigrationMethodDescriptorSupplier("CreateUtilizationReport")) + .build(); + } + } + } + return getCreateUtilizationReportMethod; + } + + private static volatile io.grpc.MethodDescriptor getDeleteUtilizationReportMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteUtilizationReport", + requestType = com.google.cloud.vmmigration.v1.DeleteUtilizationReportRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getDeleteUtilizationReportMethod() { + io.grpc.MethodDescriptor getDeleteUtilizationReportMethod; + if ((getDeleteUtilizationReportMethod = VmMigrationGrpc.getDeleteUtilizationReportMethod) == null) { + synchronized (VmMigrationGrpc.class) { + if ((getDeleteUtilizationReportMethod = VmMigrationGrpc.getDeleteUtilizationReportMethod) == null) { + VmMigrationGrpc.getDeleteUtilizationReportMethod = getDeleteUtilizationReportMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteUtilizationReport")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.vmmigration.v1.DeleteUtilizationReportRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new VmMigrationMethodDescriptorSupplier("DeleteUtilizationReport")) + .build(); + } + } + } + return getDeleteUtilizationReportMethod; + } + + private static volatile io.grpc.MethodDescriptor getListDatacenterConnectorsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListDatacenterConnectors", + requestType = com.google.cloud.vmmigration.v1.ListDatacenterConnectorsRequest.class, + responseType = com.google.cloud.vmmigration.v1.ListDatacenterConnectorsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListDatacenterConnectorsMethod() { + io.grpc.MethodDescriptor getListDatacenterConnectorsMethod; + if ((getListDatacenterConnectorsMethod = VmMigrationGrpc.getListDatacenterConnectorsMethod) == null) { + synchronized (VmMigrationGrpc.class) { + if ((getListDatacenterConnectorsMethod = VmMigrationGrpc.getListDatacenterConnectorsMethod) == null) { + VmMigrationGrpc.getListDatacenterConnectorsMethod = getListDatacenterConnectorsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListDatacenterConnectors")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.vmmigration.v1.ListDatacenterConnectorsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.vmmigration.v1.ListDatacenterConnectorsResponse.getDefaultInstance())) + .setSchemaDescriptor(new VmMigrationMethodDescriptorSupplier("ListDatacenterConnectors")) + .build(); + } + } + } + return getListDatacenterConnectorsMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetDatacenterConnectorMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetDatacenterConnector", + requestType = com.google.cloud.vmmigration.v1.GetDatacenterConnectorRequest.class, + responseType = com.google.cloud.vmmigration.v1.DatacenterConnector.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetDatacenterConnectorMethod() { + io.grpc.MethodDescriptor getGetDatacenterConnectorMethod; + if ((getGetDatacenterConnectorMethod = VmMigrationGrpc.getGetDatacenterConnectorMethod) == null) { + synchronized (VmMigrationGrpc.class) { + if ((getGetDatacenterConnectorMethod = VmMigrationGrpc.getGetDatacenterConnectorMethod) == null) { + VmMigrationGrpc.getGetDatacenterConnectorMethod = getGetDatacenterConnectorMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetDatacenterConnector")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.vmmigration.v1.GetDatacenterConnectorRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.vmmigration.v1.DatacenterConnector.getDefaultInstance())) + .setSchemaDescriptor(new VmMigrationMethodDescriptorSupplier("GetDatacenterConnector")) + .build(); + } + } + } + return getGetDatacenterConnectorMethod; + } + + private static volatile io.grpc.MethodDescriptor getCreateDatacenterConnectorMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateDatacenterConnector", + requestType = com.google.cloud.vmmigration.v1.CreateDatacenterConnectorRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCreateDatacenterConnectorMethod() { + io.grpc.MethodDescriptor getCreateDatacenterConnectorMethod; + if ((getCreateDatacenterConnectorMethod = VmMigrationGrpc.getCreateDatacenterConnectorMethod) == null) { + synchronized (VmMigrationGrpc.class) { + if ((getCreateDatacenterConnectorMethod = VmMigrationGrpc.getCreateDatacenterConnectorMethod) == null) { + VmMigrationGrpc.getCreateDatacenterConnectorMethod = getCreateDatacenterConnectorMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateDatacenterConnector")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.vmmigration.v1.CreateDatacenterConnectorRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new VmMigrationMethodDescriptorSupplier("CreateDatacenterConnector")) + .build(); + } + } + } + return getCreateDatacenterConnectorMethod; + } + + private static volatile io.grpc.MethodDescriptor getDeleteDatacenterConnectorMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteDatacenterConnector", + requestType = com.google.cloud.vmmigration.v1.DeleteDatacenterConnectorRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getDeleteDatacenterConnectorMethod() { + io.grpc.MethodDescriptor getDeleteDatacenterConnectorMethod; + if ((getDeleteDatacenterConnectorMethod = VmMigrationGrpc.getDeleteDatacenterConnectorMethod) == null) { + synchronized (VmMigrationGrpc.class) { + if ((getDeleteDatacenterConnectorMethod = VmMigrationGrpc.getDeleteDatacenterConnectorMethod) == null) { + VmMigrationGrpc.getDeleteDatacenterConnectorMethod = getDeleteDatacenterConnectorMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteDatacenterConnector")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.vmmigration.v1.DeleteDatacenterConnectorRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new VmMigrationMethodDescriptorSupplier("DeleteDatacenterConnector")) + .build(); + } + } + } + return getDeleteDatacenterConnectorMethod; + } + + private static volatile io.grpc.MethodDescriptor getUpgradeApplianceMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpgradeAppliance", + requestType = com.google.cloud.vmmigration.v1.UpgradeApplianceRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getUpgradeApplianceMethod() { + io.grpc.MethodDescriptor getUpgradeApplianceMethod; + if ((getUpgradeApplianceMethod = VmMigrationGrpc.getUpgradeApplianceMethod) == null) { + synchronized (VmMigrationGrpc.class) { + if ((getUpgradeApplianceMethod = VmMigrationGrpc.getUpgradeApplianceMethod) == null) { + VmMigrationGrpc.getUpgradeApplianceMethod = getUpgradeApplianceMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpgradeAppliance")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.vmmigration.v1.UpgradeApplianceRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new VmMigrationMethodDescriptorSupplier("UpgradeAppliance")) + .build(); + } + } + } + return getUpgradeApplianceMethod; + } + + private static volatile io.grpc.MethodDescriptor getCreateMigratingVmMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateMigratingVm", + requestType = com.google.cloud.vmmigration.v1.CreateMigratingVmRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCreateMigratingVmMethod() { + io.grpc.MethodDescriptor getCreateMigratingVmMethod; + if ((getCreateMigratingVmMethod = VmMigrationGrpc.getCreateMigratingVmMethod) == null) { + synchronized (VmMigrationGrpc.class) { + if ((getCreateMigratingVmMethod = VmMigrationGrpc.getCreateMigratingVmMethod) == null) { + VmMigrationGrpc.getCreateMigratingVmMethod = getCreateMigratingVmMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateMigratingVm")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.vmmigration.v1.CreateMigratingVmRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new VmMigrationMethodDescriptorSupplier("CreateMigratingVm")) + .build(); + } + } + } + return getCreateMigratingVmMethod; + } + + private static volatile io.grpc.MethodDescriptor getListMigratingVmsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListMigratingVms", + requestType = com.google.cloud.vmmigration.v1.ListMigratingVmsRequest.class, + responseType = com.google.cloud.vmmigration.v1.ListMigratingVmsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListMigratingVmsMethod() { + io.grpc.MethodDescriptor getListMigratingVmsMethod; + if ((getListMigratingVmsMethod = VmMigrationGrpc.getListMigratingVmsMethod) == null) { + synchronized (VmMigrationGrpc.class) { + if ((getListMigratingVmsMethod = VmMigrationGrpc.getListMigratingVmsMethod) == null) { + VmMigrationGrpc.getListMigratingVmsMethod = getListMigratingVmsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListMigratingVms")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.vmmigration.v1.ListMigratingVmsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.vmmigration.v1.ListMigratingVmsResponse.getDefaultInstance())) + .setSchemaDescriptor(new VmMigrationMethodDescriptorSupplier("ListMigratingVms")) + .build(); + } + } + } + return getListMigratingVmsMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetMigratingVmMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetMigratingVm", + requestType = com.google.cloud.vmmigration.v1.GetMigratingVmRequest.class, + responseType = com.google.cloud.vmmigration.v1.MigratingVm.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetMigratingVmMethod() { + io.grpc.MethodDescriptor getGetMigratingVmMethod; + if ((getGetMigratingVmMethod = VmMigrationGrpc.getGetMigratingVmMethod) == null) { + synchronized (VmMigrationGrpc.class) { + if ((getGetMigratingVmMethod = VmMigrationGrpc.getGetMigratingVmMethod) == null) { + VmMigrationGrpc.getGetMigratingVmMethod = getGetMigratingVmMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetMigratingVm")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.vmmigration.v1.GetMigratingVmRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.vmmigration.v1.MigratingVm.getDefaultInstance())) + .setSchemaDescriptor(new VmMigrationMethodDescriptorSupplier("GetMigratingVm")) + .build(); + } + } + } + return getGetMigratingVmMethod; + } + + private static volatile io.grpc.MethodDescriptor getUpdateMigratingVmMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateMigratingVm", + requestType = com.google.cloud.vmmigration.v1.UpdateMigratingVmRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getUpdateMigratingVmMethod() { + io.grpc.MethodDescriptor getUpdateMigratingVmMethod; + if ((getUpdateMigratingVmMethod = VmMigrationGrpc.getUpdateMigratingVmMethod) == null) { + synchronized (VmMigrationGrpc.class) { + if ((getUpdateMigratingVmMethod = VmMigrationGrpc.getUpdateMigratingVmMethod) == null) { + VmMigrationGrpc.getUpdateMigratingVmMethod = getUpdateMigratingVmMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateMigratingVm")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.vmmigration.v1.UpdateMigratingVmRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new VmMigrationMethodDescriptorSupplier("UpdateMigratingVm")) + .build(); + } + } + } + return getUpdateMigratingVmMethod; + } + + private static volatile io.grpc.MethodDescriptor getDeleteMigratingVmMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteMigratingVm", + requestType = com.google.cloud.vmmigration.v1.DeleteMigratingVmRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getDeleteMigratingVmMethod() { + io.grpc.MethodDescriptor getDeleteMigratingVmMethod; + if ((getDeleteMigratingVmMethod = VmMigrationGrpc.getDeleteMigratingVmMethod) == null) { + synchronized (VmMigrationGrpc.class) { + if ((getDeleteMigratingVmMethod = VmMigrationGrpc.getDeleteMigratingVmMethod) == null) { + VmMigrationGrpc.getDeleteMigratingVmMethod = getDeleteMigratingVmMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteMigratingVm")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.vmmigration.v1.DeleteMigratingVmRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new VmMigrationMethodDescriptorSupplier("DeleteMigratingVm")) + .build(); + } + } + } + return getDeleteMigratingVmMethod; + } + + private static volatile io.grpc.MethodDescriptor getStartMigrationMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "StartMigration", + requestType = com.google.cloud.vmmigration.v1.StartMigrationRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getStartMigrationMethod() { + io.grpc.MethodDescriptor getStartMigrationMethod; + if ((getStartMigrationMethod = VmMigrationGrpc.getStartMigrationMethod) == null) { + synchronized (VmMigrationGrpc.class) { + if ((getStartMigrationMethod = VmMigrationGrpc.getStartMigrationMethod) == null) { + VmMigrationGrpc.getStartMigrationMethod = getStartMigrationMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "StartMigration")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.vmmigration.v1.StartMigrationRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new VmMigrationMethodDescriptorSupplier("StartMigration")) + .build(); + } + } + } + return getStartMigrationMethod; + } + + private static volatile io.grpc.MethodDescriptor getResumeMigrationMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ResumeMigration", + requestType = com.google.cloud.vmmigration.v1.ResumeMigrationRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getResumeMigrationMethod() { + io.grpc.MethodDescriptor getResumeMigrationMethod; + if ((getResumeMigrationMethod = VmMigrationGrpc.getResumeMigrationMethod) == null) { + synchronized (VmMigrationGrpc.class) { + if ((getResumeMigrationMethod = VmMigrationGrpc.getResumeMigrationMethod) == null) { + VmMigrationGrpc.getResumeMigrationMethod = getResumeMigrationMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ResumeMigration")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.vmmigration.v1.ResumeMigrationRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new VmMigrationMethodDescriptorSupplier("ResumeMigration")) + .build(); + } + } + } + return getResumeMigrationMethod; + } + + private static volatile io.grpc.MethodDescriptor getPauseMigrationMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "PauseMigration", + requestType = com.google.cloud.vmmigration.v1.PauseMigrationRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getPauseMigrationMethod() { + io.grpc.MethodDescriptor getPauseMigrationMethod; + if ((getPauseMigrationMethod = VmMigrationGrpc.getPauseMigrationMethod) == null) { + synchronized (VmMigrationGrpc.class) { + if ((getPauseMigrationMethod = VmMigrationGrpc.getPauseMigrationMethod) == null) { + VmMigrationGrpc.getPauseMigrationMethod = getPauseMigrationMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "PauseMigration")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.vmmigration.v1.PauseMigrationRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new VmMigrationMethodDescriptorSupplier("PauseMigration")) + .build(); + } + } + } + return getPauseMigrationMethod; + } + + private static volatile io.grpc.MethodDescriptor getFinalizeMigrationMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "FinalizeMigration", + requestType = com.google.cloud.vmmigration.v1.FinalizeMigrationRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getFinalizeMigrationMethod() { + io.grpc.MethodDescriptor getFinalizeMigrationMethod; + if ((getFinalizeMigrationMethod = VmMigrationGrpc.getFinalizeMigrationMethod) == null) { + synchronized (VmMigrationGrpc.class) { + if ((getFinalizeMigrationMethod = VmMigrationGrpc.getFinalizeMigrationMethod) == null) { + VmMigrationGrpc.getFinalizeMigrationMethod = getFinalizeMigrationMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "FinalizeMigration")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.vmmigration.v1.FinalizeMigrationRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new VmMigrationMethodDescriptorSupplier("FinalizeMigration")) + .build(); + } + } + } + return getFinalizeMigrationMethod; + } + + private static volatile io.grpc.MethodDescriptor getCreateCloneJobMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateCloneJob", + requestType = com.google.cloud.vmmigration.v1.CreateCloneJobRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCreateCloneJobMethod() { + io.grpc.MethodDescriptor getCreateCloneJobMethod; + if ((getCreateCloneJobMethod = VmMigrationGrpc.getCreateCloneJobMethod) == null) { + synchronized (VmMigrationGrpc.class) { + if ((getCreateCloneJobMethod = VmMigrationGrpc.getCreateCloneJobMethod) == null) { + VmMigrationGrpc.getCreateCloneJobMethod = getCreateCloneJobMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateCloneJob")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.vmmigration.v1.CreateCloneJobRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new VmMigrationMethodDescriptorSupplier("CreateCloneJob")) + .build(); + } + } + } + return getCreateCloneJobMethod; + } + + private static volatile io.grpc.MethodDescriptor getCancelCloneJobMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CancelCloneJob", + requestType = com.google.cloud.vmmigration.v1.CancelCloneJobRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCancelCloneJobMethod() { + io.grpc.MethodDescriptor getCancelCloneJobMethod; + if ((getCancelCloneJobMethod = VmMigrationGrpc.getCancelCloneJobMethod) == null) { + synchronized (VmMigrationGrpc.class) { + if ((getCancelCloneJobMethod = VmMigrationGrpc.getCancelCloneJobMethod) == null) { + VmMigrationGrpc.getCancelCloneJobMethod = getCancelCloneJobMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CancelCloneJob")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.vmmigration.v1.CancelCloneJobRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new VmMigrationMethodDescriptorSupplier("CancelCloneJob")) + .build(); + } + } + } + return getCancelCloneJobMethod; + } + + private static volatile io.grpc.MethodDescriptor getListCloneJobsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListCloneJobs", + requestType = com.google.cloud.vmmigration.v1.ListCloneJobsRequest.class, + responseType = com.google.cloud.vmmigration.v1.ListCloneJobsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListCloneJobsMethod() { + io.grpc.MethodDescriptor getListCloneJobsMethod; + if ((getListCloneJobsMethod = VmMigrationGrpc.getListCloneJobsMethod) == null) { + synchronized (VmMigrationGrpc.class) { + if ((getListCloneJobsMethod = VmMigrationGrpc.getListCloneJobsMethod) == null) { + VmMigrationGrpc.getListCloneJobsMethod = getListCloneJobsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListCloneJobs")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.vmmigration.v1.ListCloneJobsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.vmmigration.v1.ListCloneJobsResponse.getDefaultInstance())) + .setSchemaDescriptor(new VmMigrationMethodDescriptorSupplier("ListCloneJobs")) + .build(); + } + } + } + return getListCloneJobsMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetCloneJobMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetCloneJob", + requestType = com.google.cloud.vmmigration.v1.GetCloneJobRequest.class, + responseType = com.google.cloud.vmmigration.v1.CloneJob.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetCloneJobMethod() { + io.grpc.MethodDescriptor getGetCloneJobMethod; + if ((getGetCloneJobMethod = VmMigrationGrpc.getGetCloneJobMethod) == null) { + synchronized (VmMigrationGrpc.class) { + if ((getGetCloneJobMethod = VmMigrationGrpc.getGetCloneJobMethod) == null) { + VmMigrationGrpc.getGetCloneJobMethod = getGetCloneJobMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetCloneJob")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.vmmigration.v1.GetCloneJobRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.vmmigration.v1.CloneJob.getDefaultInstance())) + .setSchemaDescriptor(new VmMigrationMethodDescriptorSupplier("GetCloneJob")) + .build(); + } + } + } + return getGetCloneJobMethod; + } + + private static volatile io.grpc.MethodDescriptor getCreateCutoverJobMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateCutoverJob", + requestType = com.google.cloud.vmmigration.v1.CreateCutoverJobRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCreateCutoverJobMethod() { + io.grpc.MethodDescriptor getCreateCutoverJobMethod; + if ((getCreateCutoverJobMethod = VmMigrationGrpc.getCreateCutoverJobMethod) == null) { + synchronized (VmMigrationGrpc.class) { + if ((getCreateCutoverJobMethod = VmMigrationGrpc.getCreateCutoverJobMethod) == null) { + VmMigrationGrpc.getCreateCutoverJobMethod = getCreateCutoverJobMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateCutoverJob")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.vmmigration.v1.CreateCutoverJobRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new VmMigrationMethodDescriptorSupplier("CreateCutoverJob")) + .build(); + } + } + } + return getCreateCutoverJobMethod; + } + + private static volatile io.grpc.MethodDescriptor getCancelCutoverJobMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CancelCutoverJob", + requestType = com.google.cloud.vmmigration.v1.CancelCutoverJobRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCancelCutoverJobMethod() { + io.grpc.MethodDescriptor getCancelCutoverJobMethod; + if ((getCancelCutoverJobMethod = VmMigrationGrpc.getCancelCutoverJobMethod) == null) { + synchronized (VmMigrationGrpc.class) { + if ((getCancelCutoverJobMethod = VmMigrationGrpc.getCancelCutoverJobMethod) == null) { + VmMigrationGrpc.getCancelCutoverJobMethod = getCancelCutoverJobMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CancelCutoverJob")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.vmmigration.v1.CancelCutoverJobRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new VmMigrationMethodDescriptorSupplier("CancelCutoverJob")) + .build(); + } + } + } + return getCancelCutoverJobMethod; + } + + private static volatile io.grpc.MethodDescriptor getListCutoverJobsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListCutoverJobs", + requestType = com.google.cloud.vmmigration.v1.ListCutoverJobsRequest.class, + responseType = com.google.cloud.vmmigration.v1.ListCutoverJobsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListCutoverJobsMethod() { + io.grpc.MethodDescriptor getListCutoverJobsMethod; + if ((getListCutoverJobsMethod = VmMigrationGrpc.getListCutoverJobsMethod) == null) { + synchronized (VmMigrationGrpc.class) { + if ((getListCutoverJobsMethod = VmMigrationGrpc.getListCutoverJobsMethod) == null) { + VmMigrationGrpc.getListCutoverJobsMethod = getListCutoverJobsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListCutoverJobs")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.vmmigration.v1.ListCutoverJobsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.vmmigration.v1.ListCutoverJobsResponse.getDefaultInstance())) + .setSchemaDescriptor(new VmMigrationMethodDescriptorSupplier("ListCutoverJobs")) + .build(); + } + } + } + return getListCutoverJobsMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetCutoverJobMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetCutoverJob", + requestType = com.google.cloud.vmmigration.v1.GetCutoverJobRequest.class, + responseType = com.google.cloud.vmmigration.v1.CutoverJob.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetCutoverJobMethod() { + io.grpc.MethodDescriptor getGetCutoverJobMethod; + if ((getGetCutoverJobMethod = VmMigrationGrpc.getGetCutoverJobMethod) == null) { + synchronized (VmMigrationGrpc.class) { + if ((getGetCutoverJobMethod = VmMigrationGrpc.getGetCutoverJobMethod) == null) { + VmMigrationGrpc.getGetCutoverJobMethod = getGetCutoverJobMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetCutoverJob")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.vmmigration.v1.GetCutoverJobRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.vmmigration.v1.CutoverJob.getDefaultInstance())) + .setSchemaDescriptor(new VmMigrationMethodDescriptorSupplier("GetCutoverJob")) + .build(); + } + } + } + return getGetCutoverJobMethod; + } + + private static volatile io.grpc.MethodDescriptor getListGroupsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListGroups", + requestType = com.google.cloud.vmmigration.v1.ListGroupsRequest.class, + responseType = com.google.cloud.vmmigration.v1.ListGroupsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListGroupsMethod() { + io.grpc.MethodDescriptor getListGroupsMethod; + if ((getListGroupsMethod = VmMigrationGrpc.getListGroupsMethod) == null) { + synchronized (VmMigrationGrpc.class) { + if ((getListGroupsMethod = VmMigrationGrpc.getListGroupsMethod) == null) { + VmMigrationGrpc.getListGroupsMethod = getListGroupsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListGroups")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.vmmigration.v1.ListGroupsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.vmmigration.v1.ListGroupsResponse.getDefaultInstance())) + .setSchemaDescriptor(new VmMigrationMethodDescriptorSupplier("ListGroups")) + .build(); + } + } + } + return getListGroupsMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetGroupMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetGroup", + requestType = com.google.cloud.vmmigration.v1.GetGroupRequest.class, + responseType = com.google.cloud.vmmigration.v1.Group.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetGroupMethod() { + io.grpc.MethodDescriptor getGetGroupMethod; + if ((getGetGroupMethod = VmMigrationGrpc.getGetGroupMethod) == null) { + synchronized (VmMigrationGrpc.class) { + if ((getGetGroupMethod = VmMigrationGrpc.getGetGroupMethod) == null) { + VmMigrationGrpc.getGetGroupMethod = getGetGroupMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetGroup")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.vmmigration.v1.GetGroupRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.vmmigration.v1.Group.getDefaultInstance())) + .setSchemaDescriptor(new VmMigrationMethodDescriptorSupplier("GetGroup")) + .build(); + } + } + } + return getGetGroupMethod; + } + + private static volatile io.grpc.MethodDescriptor getCreateGroupMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateGroup", + requestType = com.google.cloud.vmmigration.v1.CreateGroupRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCreateGroupMethod() { + io.grpc.MethodDescriptor getCreateGroupMethod; + if ((getCreateGroupMethod = VmMigrationGrpc.getCreateGroupMethod) == null) { + synchronized (VmMigrationGrpc.class) { + if ((getCreateGroupMethod = VmMigrationGrpc.getCreateGroupMethod) == null) { + VmMigrationGrpc.getCreateGroupMethod = getCreateGroupMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateGroup")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.vmmigration.v1.CreateGroupRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new VmMigrationMethodDescriptorSupplier("CreateGroup")) + .build(); + } + } + } + return getCreateGroupMethod; + } + + private static volatile io.grpc.MethodDescriptor getUpdateGroupMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateGroup", + requestType = com.google.cloud.vmmigration.v1.UpdateGroupRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getUpdateGroupMethod() { + io.grpc.MethodDescriptor getUpdateGroupMethod; + if ((getUpdateGroupMethod = VmMigrationGrpc.getUpdateGroupMethod) == null) { + synchronized (VmMigrationGrpc.class) { + if ((getUpdateGroupMethod = VmMigrationGrpc.getUpdateGroupMethod) == null) { + VmMigrationGrpc.getUpdateGroupMethod = getUpdateGroupMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateGroup")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.vmmigration.v1.UpdateGroupRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new VmMigrationMethodDescriptorSupplier("UpdateGroup")) + .build(); + } + } + } + return getUpdateGroupMethod; + } + + private static volatile io.grpc.MethodDescriptor getDeleteGroupMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteGroup", + requestType = com.google.cloud.vmmigration.v1.DeleteGroupRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getDeleteGroupMethod() { + io.grpc.MethodDescriptor getDeleteGroupMethod; + if ((getDeleteGroupMethod = VmMigrationGrpc.getDeleteGroupMethod) == null) { + synchronized (VmMigrationGrpc.class) { + if ((getDeleteGroupMethod = VmMigrationGrpc.getDeleteGroupMethod) == null) { + VmMigrationGrpc.getDeleteGroupMethod = getDeleteGroupMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteGroup")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.vmmigration.v1.DeleteGroupRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new VmMigrationMethodDescriptorSupplier("DeleteGroup")) + .build(); + } + } + } + return getDeleteGroupMethod; + } + + private static volatile io.grpc.MethodDescriptor getAddGroupMigrationMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "AddGroupMigration", + requestType = com.google.cloud.vmmigration.v1.AddGroupMigrationRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getAddGroupMigrationMethod() { + io.grpc.MethodDescriptor getAddGroupMigrationMethod; + if ((getAddGroupMigrationMethod = VmMigrationGrpc.getAddGroupMigrationMethod) == null) { + synchronized (VmMigrationGrpc.class) { + if ((getAddGroupMigrationMethod = VmMigrationGrpc.getAddGroupMigrationMethod) == null) { + VmMigrationGrpc.getAddGroupMigrationMethod = getAddGroupMigrationMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "AddGroupMigration")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.vmmigration.v1.AddGroupMigrationRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new VmMigrationMethodDescriptorSupplier("AddGroupMigration")) + .build(); + } + } + } + return getAddGroupMigrationMethod; + } + + private static volatile io.grpc.MethodDescriptor getRemoveGroupMigrationMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "RemoveGroupMigration", + requestType = com.google.cloud.vmmigration.v1.RemoveGroupMigrationRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getRemoveGroupMigrationMethod() { + io.grpc.MethodDescriptor getRemoveGroupMigrationMethod; + if ((getRemoveGroupMigrationMethod = VmMigrationGrpc.getRemoveGroupMigrationMethod) == null) { + synchronized (VmMigrationGrpc.class) { + if ((getRemoveGroupMigrationMethod = VmMigrationGrpc.getRemoveGroupMigrationMethod) == null) { + VmMigrationGrpc.getRemoveGroupMigrationMethod = getRemoveGroupMigrationMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RemoveGroupMigration")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.vmmigration.v1.RemoveGroupMigrationRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new VmMigrationMethodDescriptorSupplier("RemoveGroupMigration")) + .build(); + } + } + } + return getRemoveGroupMigrationMethod; + } + + private static volatile io.grpc.MethodDescriptor getListTargetProjectsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListTargetProjects", + requestType = com.google.cloud.vmmigration.v1.ListTargetProjectsRequest.class, + responseType = com.google.cloud.vmmigration.v1.ListTargetProjectsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListTargetProjectsMethod() { + io.grpc.MethodDescriptor getListTargetProjectsMethod; + if ((getListTargetProjectsMethod = VmMigrationGrpc.getListTargetProjectsMethod) == null) { + synchronized (VmMigrationGrpc.class) { + if ((getListTargetProjectsMethod = VmMigrationGrpc.getListTargetProjectsMethod) == null) { + VmMigrationGrpc.getListTargetProjectsMethod = getListTargetProjectsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListTargetProjects")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.vmmigration.v1.ListTargetProjectsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.vmmigration.v1.ListTargetProjectsResponse.getDefaultInstance())) + .setSchemaDescriptor(new VmMigrationMethodDescriptorSupplier("ListTargetProjects")) + .build(); + } + } + } + return getListTargetProjectsMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetTargetProjectMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetTargetProject", + requestType = com.google.cloud.vmmigration.v1.GetTargetProjectRequest.class, + responseType = com.google.cloud.vmmigration.v1.TargetProject.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetTargetProjectMethod() { + io.grpc.MethodDescriptor getGetTargetProjectMethod; + if ((getGetTargetProjectMethod = VmMigrationGrpc.getGetTargetProjectMethod) == null) { + synchronized (VmMigrationGrpc.class) { + if ((getGetTargetProjectMethod = VmMigrationGrpc.getGetTargetProjectMethod) == null) { + VmMigrationGrpc.getGetTargetProjectMethod = getGetTargetProjectMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetTargetProject")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.vmmigration.v1.GetTargetProjectRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.vmmigration.v1.TargetProject.getDefaultInstance())) + .setSchemaDescriptor(new VmMigrationMethodDescriptorSupplier("GetTargetProject")) + .build(); + } + } + } + return getGetTargetProjectMethod; + } + + private static volatile io.grpc.MethodDescriptor getCreateTargetProjectMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateTargetProject", + requestType = com.google.cloud.vmmigration.v1.CreateTargetProjectRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCreateTargetProjectMethod() { + io.grpc.MethodDescriptor getCreateTargetProjectMethod; + if ((getCreateTargetProjectMethod = VmMigrationGrpc.getCreateTargetProjectMethod) == null) { + synchronized (VmMigrationGrpc.class) { + if ((getCreateTargetProjectMethod = VmMigrationGrpc.getCreateTargetProjectMethod) == null) { + VmMigrationGrpc.getCreateTargetProjectMethod = getCreateTargetProjectMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateTargetProject")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.vmmigration.v1.CreateTargetProjectRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new VmMigrationMethodDescriptorSupplier("CreateTargetProject")) + .build(); + } + } + } + return getCreateTargetProjectMethod; + } + + private static volatile io.grpc.MethodDescriptor getUpdateTargetProjectMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateTargetProject", + requestType = com.google.cloud.vmmigration.v1.UpdateTargetProjectRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getUpdateTargetProjectMethod() { + io.grpc.MethodDescriptor getUpdateTargetProjectMethod; + if ((getUpdateTargetProjectMethod = VmMigrationGrpc.getUpdateTargetProjectMethod) == null) { + synchronized (VmMigrationGrpc.class) { + if ((getUpdateTargetProjectMethod = VmMigrationGrpc.getUpdateTargetProjectMethod) == null) { + VmMigrationGrpc.getUpdateTargetProjectMethod = getUpdateTargetProjectMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateTargetProject")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.vmmigration.v1.UpdateTargetProjectRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new VmMigrationMethodDescriptorSupplier("UpdateTargetProject")) + .build(); + } + } + } + return getUpdateTargetProjectMethod; + } + + private static volatile io.grpc.MethodDescriptor getDeleteTargetProjectMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteTargetProject", + requestType = com.google.cloud.vmmigration.v1.DeleteTargetProjectRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getDeleteTargetProjectMethod() { + io.grpc.MethodDescriptor getDeleteTargetProjectMethod; + if ((getDeleteTargetProjectMethod = VmMigrationGrpc.getDeleteTargetProjectMethod) == null) { + synchronized (VmMigrationGrpc.class) { + if ((getDeleteTargetProjectMethod = VmMigrationGrpc.getDeleteTargetProjectMethod) == null) { + VmMigrationGrpc.getDeleteTargetProjectMethod = getDeleteTargetProjectMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteTargetProject")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.vmmigration.v1.DeleteTargetProjectRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new VmMigrationMethodDescriptorSupplier("DeleteTargetProject")) + .build(); + } + } + } + return getDeleteTargetProjectMethod; + } + + /** + * Creates a new async stub that supports all call types for the service + */ + public static VmMigrationStub newStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public VmMigrationStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new VmMigrationStub(channel, callOptions); + } + }; + return VmMigrationStub.newStub(factory, channel); + } + + /** + * Creates a new blocking-style stub that supports unary and streaming output calls on the service + */ + public static VmMigrationBlockingStub newBlockingStub( + io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public VmMigrationBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new VmMigrationBlockingStub(channel, callOptions); + } + }; + return VmMigrationBlockingStub.newStub(factory, channel); + } + + /** + * Creates a new ListenableFuture-style stub that supports unary calls on the service + */ + public static VmMigrationFutureStub newFutureStub( + io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public VmMigrationFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new VmMigrationFutureStub(channel, callOptions); + } + }; + return VmMigrationFutureStub.newStub(factory, channel); + } + + /** + *
+   * VM Migration Service
+   * 
+ */ + public static abstract class VmMigrationImplBase implements io.grpc.BindableService { + + /** + *
+     * Lists Sources in a given project and location.
+     * 
+ */ + public void listSources(com.google.cloud.vmmigration.v1.ListSourcesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListSourcesMethod(), responseObserver); + } + + /** + *
+     * Gets details of a single Source.
+     * 
+ */ + public void getSource(com.google.cloud.vmmigration.v1.GetSourceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetSourceMethod(), responseObserver); + } + + /** + *
+     * Creates a new Source in a given project and location.
+     * 
+ */ + public void createSource(com.google.cloud.vmmigration.v1.CreateSourceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateSourceMethod(), responseObserver); + } + + /** + *
+     * Updates the parameters of a single Source.
+     * 
+ */ + public void updateSource(com.google.cloud.vmmigration.v1.UpdateSourceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateSourceMethod(), responseObserver); + } + + /** + *
+     * Deletes a single Source.
+     * 
+ */ + public void deleteSource(com.google.cloud.vmmigration.v1.DeleteSourceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteSourceMethod(), responseObserver); + } + + /** + *
+     * List remote source's inventory of VMs.
+     * The remote source is the onprem vCenter (remote in the sense it's not in
+     * Compute Engine). The inventory describes the list of existing VMs in that
+     * source. Note that this operation lists the VMs on the remote source, as
+     * opposed to listing the MigratingVms resources in the vmmigration service.
+     * 
+ */ + public void fetchInventory(com.google.cloud.vmmigration.v1.FetchInventoryRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getFetchInventoryMethod(), responseObserver); + } + + /** + *
+     * Lists Utilization Reports of the given Source.
+     * 
+ */ + public void listUtilizationReports(com.google.cloud.vmmigration.v1.ListUtilizationReportsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListUtilizationReportsMethod(), responseObserver); + } + + /** + *
+     * Gets a single Utilization Report.
+     * 
+ */ + public void getUtilizationReport(com.google.cloud.vmmigration.v1.GetUtilizationReportRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetUtilizationReportMethod(), responseObserver); + } + + /** + *
+     * Creates a new UtilizationReport.
+     * 
+ */ + public void createUtilizationReport(com.google.cloud.vmmigration.v1.CreateUtilizationReportRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateUtilizationReportMethod(), responseObserver); + } + + /** + *
+     * Deletes a single Utilization Report.
+     * 
+ */ + public void deleteUtilizationReport(com.google.cloud.vmmigration.v1.DeleteUtilizationReportRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteUtilizationReportMethod(), responseObserver); + } + + /** + *
+     * Lists DatacenterConnectors in a given Source.
+     * 
+ */ + public void listDatacenterConnectors(com.google.cloud.vmmigration.v1.ListDatacenterConnectorsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListDatacenterConnectorsMethod(), responseObserver); + } + + /** + *
+     * Gets details of a single DatacenterConnector.
+     * 
+ */ + public void getDatacenterConnector(com.google.cloud.vmmigration.v1.GetDatacenterConnectorRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetDatacenterConnectorMethod(), responseObserver); + } + + /** + *
+     * Creates a new DatacenterConnector in a given Source.
+     * 
+ */ + public void createDatacenterConnector(com.google.cloud.vmmigration.v1.CreateDatacenterConnectorRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateDatacenterConnectorMethod(), responseObserver); + } + + /** + *
+     * Deletes a single DatacenterConnector.
+     * 
+ */ + public void deleteDatacenterConnector(com.google.cloud.vmmigration.v1.DeleteDatacenterConnectorRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteDatacenterConnectorMethod(), responseObserver); + } + + /** + *
+     * Upgrades the appliance relate to this DatacenterConnector to the in-place
+     * updateable version.
+     * 
+ */ + public void upgradeAppliance(com.google.cloud.vmmigration.v1.UpgradeApplianceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpgradeApplianceMethod(), responseObserver); + } + + /** + *
+     * Creates a new MigratingVm in a given Source.
+     * 
+ */ + public void createMigratingVm(com.google.cloud.vmmigration.v1.CreateMigratingVmRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateMigratingVmMethod(), responseObserver); + } + + /** + *
+     * Lists MigratingVms in a given Source.
+     * 
+ */ + public void listMigratingVms(com.google.cloud.vmmigration.v1.ListMigratingVmsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListMigratingVmsMethod(), responseObserver); + } + + /** + *
+     * Gets details of a single MigratingVm.
+     * 
+ */ + public void getMigratingVm(com.google.cloud.vmmigration.v1.GetMigratingVmRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetMigratingVmMethod(), responseObserver); + } + + /** + *
+     * Updates the parameters of a single MigratingVm.
+     * 
+ */ + public void updateMigratingVm(com.google.cloud.vmmigration.v1.UpdateMigratingVmRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateMigratingVmMethod(), responseObserver); + } + + /** + *
+     * Deletes a single MigratingVm.
+     * 
+ */ + public void deleteMigratingVm(com.google.cloud.vmmigration.v1.DeleteMigratingVmRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteMigratingVmMethod(), responseObserver); + } + + /** + *
+     * Starts migration for a VM. Starts the process of uploading
+     * data and creating snapshots, in replication cycles scheduled by the policy.
+     * 
+ */ + public void startMigration(com.google.cloud.vmmigration.v1.StartMigrationRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getStartMigrationMethod(), responseObserver); + } + + /** + *
+     * Resumes a migration for a VM. When called on a paused migration, will start
+     * the process of uploading data and creating snapshots; when called on a
+     * completed cut-over migration, will update the migration to active state and
+     * start the process of uploading data and creating snapshots.
+     * 
+ */ + public void resumeMigration(com.google.cloud.vmmigration.v1.ResumeMigrationRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getResumeMigrationMethod(), responseObserver); + } + + /** + *
+     * Pauses a migration for a VM. If cycle tasks are running they will be
+     * cancelled, preserving source task data. Further replication cycles will not
+     * be triggered while the VM is paused.
+     * 
+ */ + public void pauseMigration(com.google.cloud.vmmigration.v1.PauseMigrationRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getPauseMigrationMethod(), responseObserver); + } + + /** + *
+     * Marks a migration as completed, deleting migration resources that are no
+     * longer being used. Only applicable after cutover is done.
+     * 
+ */ + public void finalizeMigration(com.google.cloud.vmmigration.v1.FinalizeMigrationRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getFinalizeMigrationMethod(), responseObserver); + } + + /** + *
+     * Initiates a Clone of a specific migrating VM.
+     * 
+ */ + public void createCloneJob(com.google.cloud.vmmigration.v1.CreateCloneJobRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateCloneJobMethod(), responseObserver); + } + + /** + *
+     * Initiates the cancellation of a running clone job.
+     * 
+ */ + public void cancelCloneJob(com.google.cloud.vmmigration.v1.CancelCloneJobRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCancelCloneJobMethod(), responseObserver); + } + + /** + *
+     * Lists CloneJobs of a given migrating VM.
+     * 
+ */ + public void listCloneJobs(com.google.cloud.vmmigration.v1.ListCloneJobsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListCloneJobsMethod(), responseObserver); + } + + /** + *
+     * Gets details of a single CloneJob.
+     * 
+ */ + public void getCloneJob(com.google.cloud.vmmigration.v1.GetCloneJobRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetCloneJobMethod(), responseObserver); + } + + /** + *
+     * Initiates a Cutover of a specific migrating VM.
+     * The returned LRO is completed when the cutover job resource is created
+     * and the job is initiated.
+     * 
+ */ + public void createCutoverJob(com.google.cloud.vmmigration.v1.CreateCutoverJobRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateCutoverJobMethod(), responseObserver); + } + + /** + *
+     * Initiates the cancellation of a running cutover job.
+     * 
+ */ + public void cancelCutoverJob(com.google.cloud.vmmigration.v1.CancelCutoverJobRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCancelCutoverJobMethod(), responseObserver); + } + + /** + *
+     * Lists CutoverJobs of a given migrating VM.
+     * 
+ */ + public void listCutoverJobs(com.google.cloud.vmmigration.v1.ListCutoverJobsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListCutoverJobsMethod(), responseObserver); + } + + /** + *
+     * Gets details of a single CutoverJob.
+     * 
+ */ + public void getCutoverJob(com.google.cloud.vmmigration.v1.GetCutoverJobRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetCutoverJobMethod(), responseObserver); + } + + /** + *
+     * Lists Groups in a given project and location.
+     * 
+ */ + public void listGroups(com.google.cloud.vmmigration.v1.ListGroupsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListGroupsMethod(), responseObserver); + } + + /** + *
+     * Gets details of a single Group.
+     * 
+ */ + public void getGroup(com.google.cloud.vmmigration.v1.GetGroupRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetGroupMethod(), responseObserver); + } + + /** + *
+     * Creates a new Group in a given project and location.
+     * 
+ */ + public void createGroup(com.google.cloud.vmmigration.v1.CreateGroupRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateGroupMethod(), responseObserver); + } + + /** + *
+     * Updates the parameters of a single Group.
+     * 
+ */ + public void updateGroup(com.google.cloud.vmmigration.v1.UpdateGroupRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateGroupMethod(), responseObserver); + } + + /** + *
+     * Deletes a single Group.
+     * 
+ */ + public void deleteGroup(com.google.cloud.vmmigration.v1.DeleteGroupRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteGroupMethod(), responseObserver); + } + + /** + *
+     * Adds a MigratingVm to a Group.
+     * 
+ */ + public void addGroupMigration(com.google.cloud.vmmigration.v1.AddGroupMigrationRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getAddGroupMigrationMethod(), responseObserver); + } + + /** + *
+     * Removes a MigratingVm from a Group.
+     * 
+ */ + public void removeGroupMigration(com.google.cloud.vmmigration.v1.RemoveGroupMigrationRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRemoveGroupMigrationMethod(), responseObserver); + } + + /** + *
+     * Lists TargetProjects in a given project.
+     * NOTE: TargetProject is a global resource; hence the only supported value
+     * for location is `global`.
+     * 
+ */ + public void listTargetProjects(com.google.cloud.vmmigration.v1.ListTargetProjectsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListTargetProjectsMethod(), responseObserver); + } + + /** + *
+     * Gets details of a single TargetProject.
+     * NOTE: TargetProject is a global resource; hence the only supported value
+     * for location is `global`.
+     * 
+ */ + public void getTargetProject(com.google.cloud.vmmigration.v1.GetTargetProjectRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetTargetProjectMethod(), responseObserver); + } + + /** + *
+     * Creates a new TargetProject in a given project.
+     * NOTE: TargetProject is a global resource; hence the only supported value
+     * for location is `global`.
+     * 
+ */ + public void createTargetProject(com.google.cloud.vmmigration.v1.CreateTargetProjectRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateTargetProjectMethod(), responseObserver); + } + + /** + *
+     * Updates the parameters of a single TargetProject.
+     * NOTE: TargetProject is a global resource; hence the only supported value
+     * for location is `global`.
+     * 
+ */ + public void updateTargetProject(com.google.cloud.vmmigration.v1.UpdateTargetProjectRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateTargetProjectMethod(), responseObserver); + } + + /** + *
+     * Deletes a single TargetProject.
+     * NOTE: TargetProject is a global resource; hence the only supported value
+     * for location is `global`.
+     * 
+ */ + public void deleteTargetProject(com.google.cloud.vmmigration.v1.DeleteTargetProjectRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteTargetProjectMethod(), responseObserver); + } + + @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { + return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) + .addMethod( + getListSourcesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.vmmigration.v1.ListSourcesRequest, + com.google.cloud.vmmigration.v1.ListSourcesResponse>( + this, METHODID_LIST_SOURCES))) + .addMethod( + getGetSourceMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.vmmigration.v1.GetSourceRequest, + com.google.cloud.vmmigration.v1.Source>( + this, METHODID_GET_SOURCE))) + .addMethod( + getCreateSourceMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.vmmigration.v1.CreateSourceRequest, + com.google.longrunning.Operation>( + this, METHODID_CREATE_SOURCE))) + .addMethod( + getUpdateSourceMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.vmmigration.v1.UpdateSourceRequest, + com.google.longrunning.Operation>( + this, METHODID_UPDATE_SOURCE))) + .addMethod( + getDeleteSourceMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.vmmigration.v1.DeleteSourceRequest, + com.google.longrunning.Operation>( + this, METHODID_DELETE_SOURCE))) + .addMethod( + getFetchInventoryMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.vmmigration.v1.FetchInventoryRequest, + com.google.cloud.vmmigration.v1.FetchInventoryResponse>( + this, METHODID_FETCH_INVENTORY))) + .addMethod( + getListUtilizationReportsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.vmmigration.v1.ListUtilizationReportsRequest, + com.google.cloud.vmmigration.v1.ListUtilizationReportsResponse>( + this, METHODID_LIST_UTILIZATION_REPORTS))) + .addMethod( + getGetUtilizationReportMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.vmmigration.v1.GetUtilizationReportRequest, + com.google.cloud.vmmigration.v1.UtilizationReport>( + this, METHODID_GET_UTILIZATION_REPORT))) + .addMethod( + getCreateUtilizationReportMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.vmmigration.v1.CreateUtilizationReportRequest, + com.google.longrunning.Operation>( + this, METHODID_CREATE_UTILIZATION_REPORT))) + .addMethod( + getDeleteUtilizationReportMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.vmmigration.v1.DeleteUtilizationReportRequest, + com.google.longrunning.Operation>( + this, METHODID_DELETE_UTILIZATION_REPORT))) + .addMethod( + getListDatacenterConnectorsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.vmmigration.v1.ListDatacenterConnectorsRequest, + com.google.cloud.vmmigration.v1.ListDatacenterConnectorsResponse>( + this, METHODID_LIST_DATACENTER_CONNECTORS))) + .addMethod( + getGetDatacenterConnectorMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.vmmigration.v1.GetDatacenterConnectorRequest, + com.google.cloud.vmmigration.v1.DatacenterConnector>( + this, METHODID_GET_DATACENTER_CONNECTOR))) + .addMethod( + getCreateDatacenterConnectorMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.vmmigration.v1.CreateDatacenterConnectorRequest, + com.google.longrunning.Operation>( + this, METHODID_CREATE_DATACENTER_CONNECTOR))) + .addMethod( + getDeleteDatacenterConnectorMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.vmmigration.v1.DeleteDatacenterConnectorRequest, + com.google.longrunning.Operation>( + this, METHODID_DELETE_DATACENTER_CONNECTOR))) + .addMethod( + getUpgradeApplianceMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.vmmigration.v1.UpgradeApplianceRequest, + com.google.longrunning.Operation>( + this, METHODID_UPGRADE_APPLIANCE))) + .addMethod( + getCreateMigratingVmMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.vmmigration.v1.CreateMigratingVmRequest, + com.google.longrunning.Operation>( + this, METHODID_CREATE_MIGRATING_VM))) + .addMethod( + getListMigratingVmsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.vmmigration.v1.ListMigratingVmsRequest, + com.google.cloud.vmmigration.v1.ListMigratingVmsResponse>( + this, METHODID_LIST_MIGRATING_VMS))) + .addMethod( + getGetMigratingVmMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.vmmigration.v1.GetMigratingVmRequest, + com.google.cloud.vmmigration.v1.MigratingVm>( + this, METHODID_GET_MIGRATING_VM))) + .addMethod( + getUpdateMigratingVmMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.vmmigration.v1.UpdateMigratingVmRequest, + com.google.longrunning.Operation>( + this, METHODID_UPDATE_MIGRATING_VM))) + .addMethod( + getDeleteMigratingVmMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.vmmigration.v1.DeleteMigratingVmRequest, + com.google.longrunning.Operation>( + this, METHODID_DELETE_MIGRATING_VM))) + .addMethod( + getStartMigrationMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.vmmigration.v1.StartMigrationRequest, + com.google.longrunning.Operation>( + this, METHODID_START_MIGRATION))) + .addMethod( + getResumeMigrationMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.vmmigration.v1.ResumeMigrationRequest, + com.google.longrunning.Operation>( + this, METHODID_RESUME_MIGRATION))) + .addMethod( + getPauseMigrationMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.vmmigration.v1.PauseMigrationRequest, + com.google.longrunning.Operation>( + this, METHODID_PAUSE_MIGRATION))) + .addMethod( + getFinalizeMigrationMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.vmmigration.v1.FinalizeMigrationRequest, + com.google.longrunning.Operation>( + this, METHODID_FINALIZE_MIGRATION))) + .addMethod( + getCreateCloneJobMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.vmmigration.v1.CreateCloneJobRequest, + com.google.longrunning.Operation>( + this, METHODID_CREATE_CLONE_JOB))) + .addMethod( + getCancelCloneJobMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.vmmigration.v1.CancelCloneJobRequest, + com.google.longrunning.Operation>( + this, METHODID_CANCEL_CLONE_JOB))) + .addMethod( + getListCloneJobsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.vmmigration.v1.ListCloneJobsRequest, + com.google.cloud.vmmigration.v1.ListCloneJobsResponse>( + this, METHODID_LIST_CLONE_JOBS))) + .addMethod( + getGetCloneJobMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.vmmigration.v1.GetCloneJobRequest, + com.google.cloud.vmmigration.v1.CloneJob>( + this, METHODID_GET_CLONE_JOB))) + .addMethod( + getCreateCutoverJobMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.vmmigration.v1.CreateCutoverJobRequest, + com.google.longrunning.Operation>( + this, METHODID_CREATE_CUTOVER_JOB))) + .addMethod( + getCancelCutoverJobMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.vmmigration.v1.CancelCutoverJobRequest, + com.google.longrunning.Operation>( + this, METHODID_CANCEL_CUTOVER_JOB))) + .addMethod( + getListCutoverJobsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.vmmigration.v1.ListCutoverJobsRequest, + com.google.cloud.vmmigration.v1.ListCutoverJobsResponse>( + this, METHODID_LIST_CUTOVER_JOBS))) + .addMethod( + getGetCutoverJobMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.vmmigration.v1.GetCutoverJobRequest, + com.google.cloud.vmmigration.v1.CutoverJob>( + this, METHODID_GET_CUTOVER_JOB))) + .addMethod( + getListGroupsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.vmmigration.v1.ListGroupsRequest, + com.google.cloud.vmmigration.v1.ListGroupsResponse>( + this, METHODID_LIST_GROUPS))) + .addMethod( + getGetGroupMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.vmmigration.v1.GetGroupRequest, + com.google.cloud.vmmigration.v1.Group>( + this, METHODID_GET_GROUP))) + .addMethod( + getCreateGroupMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.vmmigration.v1.CreateGroupRequest, + com.google.longrunning.Operation>( + this, METHODID_CREATE_GROUP))) + .addMethod( + getUpdateGroupMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.vmmigration.v1.UpdateGroupRequest, + com.google.longrunning.Operation>( + this, METHODID_UPDATE_GROUP))) + .addMethod( + getDeleteGroupMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.vmmigration.v1.DeleteGroupRequest, + com.google.longrunning.Operation>( + this, METHODID_DELETE_GROUP))) + .addMethod( + getAddGroupMigrationMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.vmmigration.v1.AddGroupMigrationRequest, + com.google.longrunning.Operation>( + this, METHODID_ADD_GROUP_MIGRATION))) + .addMethod( + getRemoveGroupMigrationMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.vmmigration.v1.RemoveGroupMigrationRequest, + com.google.longrunning.Operation>( + this, METHODID_REMOVE_GROUP_MIGRATION))) + .addMethod( + getListTargetProjectsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.vmmigration.v1.ListTargetProjectsRequest, + com.google.cloud.vmmigration.v1.ListTargetProjectsResponse>( + this, METHODID_LIST_TARGET_PROJECTS))) + .addMethod( + getGetTargetProjectMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.vmmigration.v1.GetTargetProjectRequest, + com.google.cloud.vmmigration.v1.TargetProject>( + this, METHODID_GET_TARGET_PROJECT))) + .addMethod( + getCreateTargetProjectMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.vmmigration.v1.CreateTargetProjectRequest, + com.google.longrunning.Operation>( + this, METHODID_CREATE_TARGET_PROJECT))) + .addMethod( + getUpdateTargetProjectMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.vmmigration.v1.UpdateTargetProjectRequest, + com.google.longrunning.Operation>( + this, METHODID_UPDATE_TARGET_PROJECT))) + .addMethod( + getDeleteTargetProjectMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.vmmigration.v1.DeleteTargetProjectRequest, + com.google.longrunning.Operation>( + this, METHODID_DELETE_TARGET_PROJECT))) + .build(); + } + } + + /** + *
+   * VM Migration Service
+   * 
+ */ + public static final class VmMigrationStub extends io.grpc.stub.AbstractAsyncStub { + private VmMigrationStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected VmMigrationStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new VmMigrationStub(channel, callOptions); + } + + /** + *
+     * Lists Sources in a given project and location.
+     * 
+ */ + public void listSources(com.google.cloud.vmmigration.v1.ListSourcesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListSourcesMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Gets details of a single Source.
+     * 
+ */ + public void getSource(com.google.cloud.vmmigration.v1.GetSourceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetSourceMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Creates a new Source in a given project and location.
+     * 
+ */ + public void createSource(com.google.cloud.vmmigration.v1.CreateSourceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateSourceMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Updates the parameters of a single Source.
+     * 
+ */ + public void updateSource(com.google.cloud.vmmigration.v1.UpdateSourceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateSourceMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Deletes a single Source.
+     * 
+ */ + public void deleteSource(com.google.cloud.vmmigration.v1.DeleteSourceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteSourceMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * List remote source's inventory of VMs.
+     * The remote source is the onprem vCenter (remote in the sense it's not in
+     * Compute Engine). The inventory describes the list of existing VMs in that
+     * source. Note that this operation lists the VMs on the remote source, as
+     * opposed to listing the MigratingVms resources in the vmmigration service.
+     * 
+ */ + public void fetchInventory(com.google.cloud.vmmigration.v1.FetchInventoryRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getFetchInventoryMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lists Utilization Reports of the given Source.
+     * 
+ */ + public void listUtilizationReports(com.google.cloud.vmmigration.v1.ListUtilizationReportsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListUtilizationReportsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Gets a single Utilization Report.
+     * 
+ */ + public void getUtilizationReport(com.google.cloud.vmmigration.v1.GetUtilizationReportRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetUtilizationReportMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Creates a new UtilizationReport.
+     * 
+ */ + public void createUtilizationReport(com.google.cloud.vmmigration.v1.CreateUtilizationReportRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateUtilizationReportMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Deletes a single Utilization Report.
+     * 
+ */ + public void deleteUtilizationReport(com.google.cloud.vmmigration.v1.DeleteUtilizationReportRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteUtilizationReportMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lists DatacenterConnectors in a given Source.
+     * 
+ */ + public void listDatacenterConnectors(com.google.cloud.vmmigration.v1.ListDatacenterConnectorsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListDatacenterConnectorsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Gets details of a single DatacenterConnector.
+     * 
+ */ + public void getDatacenterConnector(com.google.cloud.vmmigration.v1.GetDatacenterConnectorRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetDatacenterConnectorMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Creates a new DatacenterConnector in a given Source.
+     * 
+ */ + public void createDatacenterConnector(com.google.cloud.vmmigration.v1.CreateDatacenterConnectorRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateDatacenterConnectorMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Deletes a single DatacenterConnector.
+     * 
+ */ + public void deleteDatacenterConnector(com.google.cloud.vmmigration.v1.DeleteDatacenterConnectorRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteDatacenterConnectorMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Upgrades the appliance relate to this DatacenterConnector to the in-place
+     * updateable version.
+     * 
+ */ + public void upgradeAppliance(com.google.cloud.vmmigration.v1.UpgradeApplianceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpgradeApplianceMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Creates a new MigratingVm in a given Source.
+     * 
+ */ + public void createMigratingVm(com.google.cloud.vmmigration.v1.CreateMigratingVmRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateMigratingVmMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lists MigratingVms in a given Source.
+     * 
+ */ + public void listMigratingVms(com.google.cloud.vmmigration.v1.ListMigratingVmsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListMigratingVmsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Gets details of a single MigratingVm.
+     * 
+ */ + public void getMigratingVm(com.google.cloud.vmmigration.v1.GetMigratingVmRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetMigratingVmMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Updates the parameters of a single MigratingVm.
+     * 
+ */ + public void updateMigratingVm(com.google.cloud.vmmigration.v1.UpdateMigratingVmRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateMigratingVmMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Deletes a single MigratingVm.
+     * 
+ */ + public void deleteMigratingVm(com.google.cloud.vmmigration.v1.DeleteMigratingVmRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteMigratingVmMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Starts migration for a VM. Starts the process of uploading
+     * data and creating snapshots, in replication cycles scheduled by the policy.
+     * 
+ */ + public void startMigration(com.google.cloud.vmmigration.v1.StartMigrationRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getStartMigrationMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Resumes a migration for a VM. When called on a paused migration, will start
+     * the process of uploading data and creating snapshots; when called on a
+     * completed cut-over migration, will update the migration to active state and
+     * start the process of uploading data and creating snapshots.
+     * 
+ */ + public void resumeMigration(com.google.cloud.vmmigration.v1.ResumeMigrationRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getResumeMigrationMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Pauses a migration for a VM. If cycle tasks are running they will be
+     * cancelled, preserving source task data. Further replication cycles will not
+     * be triggered while the VM is paused.
+     * 
+ */ + public void pauseMigration(com.google.cloud.vmmigration.v1.PauseMigrationRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getPauseMigrationMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Marks a migration as completed, deleting migration resources that are no
+     * longer being used. Only applicable after cutover is done.
+     * 
+ */ + public void finalizeMigration(com.google.cloud.vmmigration.v1.FinalizeMigrationRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getFinalizeMigrationMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Initiates a Clone of a specific migrating VM.
+     * 
+ */ + public void createCloneJob(com.google.cloud.vmmigration.v1.CreateCloneJobRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateCloneJobMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Initiates the cancellation of a running clone job.
+     * 
+ */ + public void cancelCloneJob(com.google.cloud.vmmigration.v1.CancelCloneJobRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCancelCloneJobMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lists CloneJobs of a given migrating VM.
+     * 
+ */ + public void listCloneJobs(com.google.cloud.vmmigration.v1.ListCloneJobsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListCloneJobsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Gets details of a single CloneJob.
+     * 
+ */ + public void getCloneJob(com.google.cloud.vmmigration.v1.GetCloneJobRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetCloneJobMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Initiates a Cutover of a specific migrating VM.
+     * The returned LRO is completed when the cutover job resource is created
+     * and the job is initiated.
+     * 
+ */ + public void createCutoverJob(com.google.cloud.vmmigration.v1.CreateCutoverJobRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateCutoverJobMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Initiates the cancellation of a running cutover job.
+     * 
+ */ + public void cancelCutoverJob(com.google.cloud.vmmigration.v1.CancelCutoverJobRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCancelCutoverJobMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lists CutoverJobs of a given migrating VM.
+     * 
+ */ + public void listCutoverJobs(com.google.cloud.vmmigration.v1.ListCutoverJobsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListCutoverJobsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Gets details of a single CutoverJob.
+     * 
+ */ + public void getCutoverJob(com.google.cloud.vmmigration.v1.GetCutoverJobRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetCutoverJobMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lists Groups in a given project and location.
+     * 
+ */ + public void listGroups(com.google.cloud.vmmigration.v1.ListGroupsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListGroupsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Gets details of a single Group.
+     * 
+ */ + public void getGroup(com.google.cloud.vmmigration.v1.GetGroupRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetGroupMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Creates a new Group in a given project and location.
+     * 
+ */ + public void createGroup(com.google.cloud.vmmigration.v1.CreateGroupRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateGroupMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Updates the parameters of a single Group.
+     * 
+ */ + public void updateGroup(com.google.cloud.vmmigration.v1.UpdateGroupRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateGroupMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Deletes a single Group.
+     * 
+ */ + public void deleteGroup(com.google.cloud.vmmigration.v1.DeleteGroupRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteGroupMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Adds a MigratingVm to a Group.
+     * 
+ */ + public void addGroupMigration(com.google.cloud.vmmigration.v1.AddGroupMigrationRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getAddGroupMigrationMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Removes a MigratingVm from a Group.
+     * 
+ */ + public void removeGroupMigration(com.google.cloud.vmmigration.v1.RemoveGroupMigrationRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getRemoveGroupMigrationMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lists TargetProjects in a given project.
+     * NOTE: TargetProject is a global resource; hence the only supported value
+     * for location is `global`.
+     * 
+ */ + public void listTargetProjects(com.google.cloud.vmmigration.v1.ListTargetProjectsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListTargetProjectsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Gets details of a single TargetProject.
+     * NOTE: TargetProject is a global resource; hence the only supported value
+     * for location is `global`.
+     * 
+ */ + public void getTargetProject(com.google.cloud.vmmigration.v1.GetTargetProjectRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetTargetProjectMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Creates a new TargetProject in a given project.
+     * NOTE: TargetProject is a global resource; hence the only supported value
+     * for location is `global`.
+     * 
+ */ + public void createTargetProject(com.google.cloud.vmmigration.v1.CreateTargetProjectRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateTargetProjectMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Updates the parameters of a single TargetProject.
+     * NOTE: TargetProject is a global resource; hence the only supported value
+     * for location is `global`.
+     * 
+ */ + public void updateTargetProject(com.google.cloud.vmmigration.v1.UpdateTargetProjectRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateTargetProjectMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Deletes a single TargetProject.
+     * NOTE: TargetProject is a global resource; hence the only supported value
+     * for location is `global`.
+     * 
+ */ + public void deleteTargetProject(com.google.cloud.vmmigration.v1.DeleteTargetProjectRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteTargetProjectMethod(), getCallOptions()), request, responseObserver); + } + } + + /** + *
+   * VM Migration Service
+   * 
+ */ + public static final class VmMigrationBlockingStub extends io.grpc.stub.AbstractBlockingStub { + private VmMigrationBlockingStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected VmMigrationBlockingStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new VmMigrationBlockingStub(channel, callOptions); + } + + /** + *
+     * Lists Sources in a given project and location.
+     * 
+ */ + public com.google.cloud.vmmigration.v1.ListSourcesResponse listSources(com.google.cloud.vmmigration.v1.ListSourcesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListSourcesMethod(), getCallOptions(), request); + } + + /** + *
+     * Gets details of a single Source.
+     * 
+ */ + public com.google.cloud.vmmigration.v1.Source getSource(com.google.cloud.vmmigration.v1.GetSourceRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetSourceMethod(), getCallOptions(), request); + } + + /** + *
+     * Creates a new Source in a given project and location.
+     * 
+ */ + public com.google.longrunning.Operation createSource(com.google.cloud.vmmigration.v1.CreateSourceRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateSourceMethod(), getCallOptions(), request); + } + + /** + *
+     * Updates the parameters of a single Source.
+     * 
+ */ + public com.google.longrunning.Operation updateSource(com.google.cloud.vmmigration.v1.UpdateSourceRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateSourceMethod(), getCallOptions(), request); + } + + /** + *
+     * Deletes a single Source.
+     * 
+ */ + public com.google.longrunning.Operation deleteSource(com.google.cloud.vmmigration.v1.DeleteSourceRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteSourceMethod(), getCallOptions(), request); + } + + /** + *
+     * List remote source's inventory of VMs.
+     * The remote source is the onprem vCenter (remote in the sense it's not in
+     * Compute Engine). The inventory describes the list of existing VMs in that
+     * source. Note that this operation lists the VMs on the remote source, as
+     * opposed to listing the MigratingVms resources in the vmmigration service.
+     * 
+ */ + public com.google.cloud.vmmigration.v1.FetchInventoryResponse fetchInventory(com.google.cloud.vmmigration.v1.FetchInventoryRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getFetchInventoryMethod(), getCallOptions(), request); + } + + /** + *
+     * Lists Utilization Reports of the given Source.
+     * 
+ */ + public com.google.cloud.vmmigration.v1.ListUtilizationReportsResponse listUtilizationReports(com.google.cloud.vmmigration.v1.ListUtilizationReportsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListUtilizationReportsMethod(), getCallOptions(), request); + } + + /** + *
+     * Gets a single Utilization Report.
+     * 
+ */ + public com.google.cloud.vmmigration.v1.UtilizationReport getUtilizationReport(com.google.cloud.vmmigration.v1.GetUtilizationReportRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetUtilizationReportMethod(), getCallOptions(), request); + } + + /** + *
+     * Creates a new UtilizationReport.
+     * 
+ */ + public com.google.longrunning.Operation createUtilizationReport(com.google.cloud.vmmigration.v1.CreateUtilizationReportRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateUtilizationReportMethod(), getCallOptions(), request); + } + + /** + *
+     * Deletes a single Utilization Report.
+     * 
+ */ + public com.google.longrunning.Operation deleteUtilizationReport(com.google.cloud.vmmigration.v1.DeleteUtilizationReportRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteUtilizationReportMethod(), getCallOptions(), request); + } + + /** + *
+     * Lists DatacenterConnectors in a given Source.
+     * 
+ */ + public com.google.cloud.vmmigration.v1.ListDatacenterConnectorsResponse listDatacenterConnectors(com.google.cloud.vmmigration.v1.ListDatacenterConnectorsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListDatacenterConnectorsMethod(), getCallOptions(), request); + } + + /** + *
+     * Gets details of a single DatacenterConnector.
+     * 
+ */ + public com.google.cloud.vmmigration.v1.DatacenterConnector getDatacenterConnector(com.google.cloud.vmmigration.v1.GetDatacenterConnectorRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetDatacenterConnectorMethod(), getCallOptions(), request); + } + + /** + *
+     * Creates a new DatacenterConnector in a given Source.
+     * 
+ */ + public com.google.longrunning.Operation createDatacenterConnector(com.google.cloud.vmmigration.v1.CreateDatacenterConnectorRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateDatacenterConnectorMethod(), getCallOptions(), request); + } + + /** + *
+     * Deletes a single DatacenterConnector.
+     * 
+ */ + public com.google.longrunning.Operation deleteDatacenterConnector(com.google.cloud.vmmigration.v1.DeleteDatacenterConnectorRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteDatacenterConnectorMethod(), getCallOptions(), request); + } + + /** + *
+     * Upgrades the appliance relate to this DatacenterConnector to the in-place
+     * updateable version.
+     * 
+ */ + public com.google.longrunning.Operation upgradeAppliance(com.google.cloud.vmmigration.v1.UpgradeApplianceRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpgradeApplianceMethod(), getCallOptions(), request); + } + + /** + *
+     * Creates a new MigratingVm in a given Source.
+     * 
+ */ + public com.google.longrunning.Operation createMigratingVm(com.google.cloud.vmmigration.v1.CreateMigratingVmRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateMigratingVmMethod(), getCallOptions(), request); + } + + /** + *
+     * Lists MigratingVms in a given Source.
+     * 
+ */ + public com.google.cloud.vmmigration.v1.ListMigratingVmsResponse listMigratingVms(com.google.cloud.vmmigration.v1.ListMigratingVmsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListMigratingVmsMethod(), getCallOptions(), request); + } + + /** + *
+     * Gets details of a single MigratingVm.
+     * 
+ */ + public com.google.cloud.vmmigration.v1.MigratingVm getMigratingVm(com.google.cloud.vmmigration.v1.GetMigratingVmRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetMigratingVmMethod(), getCallOptions(), request); + } + + /** + *
+     * Updates the parameters of a single MigratingVm.
+     * 
+ */ + public com.google.longrunning.Operation updateMigratingVm(com.google.cloud.vmmigration.v1.UpdateMigratingVmRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateMigratingVmMethod(), getCallOptions(), request); + } + + /** + *
+     * Deletes a single MigratingVm.
+     * 
+ */ + public com.google.longrunning.Operation deleteMigratingVm(com.google.cloud.vmmigration.v1.DeleteMigratingVmRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteMigratingVmMethod(), getCallOptions(), request); + } + + /** + *
+     * Starts migration for a VM. Starts the process of uploading
+     * data and creating snapshots, in replication cycles scheduled by the policy.
+     * 
+ */ + public com.google.longrunning.Operation startMigration(com.google.cloud.vmmigration.v1.StartMigrationRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getStartMigrationMethod(), getCallOptions(), request); + } + + /** + *
+     * Resumes a migration for a VM. When called on a paused migration, will start
+     * the process of uploading data and creating snapshots; when called on a
+     * completed cut-over migration, will update the migration to active state and
+     * start the process of uploading data and creating snapshots.
+     * 
+ */ + public com.google.longrunning.Operation resumeMigration(com.google.cloud.vmmigration.v1.ResumeMigrationRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getResumeMigrationMethod(), getCallOptions(), request); + } + + /** + *
+     * Pauses a migration for a VM. If cycle tasks are running they will be
+     * cancelled, preserving source task data. Further replication cycles will not
+     * be triggered while the VM is paused.
+     * 
+ */ + public com.google.longrunning.Operation pauseMigration(com.google.cloud.vmmigration.v1.PauseMigrationRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getPauseMigrationMethod(), getCallOptions(), request); + } + + /** + *
+     * Marks a migration as completed, deleting migration resources that are no
+     * longer being used. Only applicable after cutover is done.
+     * 
+ */ + public com.google.longrunning.Operation finalizeMigration(com.google.cloud.vmmigration.v1.FinalizeMigrationRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getFinalizeMigrationMethod(), getCallOptions(), request); + } + + /** + *
+     * Initiates a Clone of a specific migrating VM.
+     * 
+ */ + public com.google.longrunning.Operation createCloneJob(com.google.cloud.vmmigration.v1.CreateCloneJobRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateCloneJobMethod(), getCallOptions(), request); + } + + /** + *
+     * Initiates the cancellation of a running clone job.
+     * 
+ */ + public com.google.longrunning.Operation cancelCloneJob(com.google.cloud.vmmigration.v1.CancelCloneJobRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCancelCloneJobMethod(), getCallOptions(), request); + } + + /** + *
+     * Lists CloneJobs of a given migrating VM.
+     * 
+ */ + public com.google.cloud.vmmigration.v1.ListCloneJobsResponse listCloneJobs(com.google.cloud.vmmigration.v1.ListCloneJobsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListCloneJobsMethod(), getCallOptions(), request); + } + + /** + *
+     * Gets details of a single CloneJob.
+     * 
+ */ + public com.google.cloud.vmmigration.v1.CloneJob getCloneJob(com.google.cloud.vmmigration.v1.GetCloneJobRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetCloneJobMethod(), getCallOptions(), request); + } + + /** + *
+     * Initiates a Cutover of a specific migrating VM.
+     * The returned LRO is completed when the cutover job resource is created
+     * and the job is initiated.
+     * 
+ */ + public com.google.longrunning.Operation createCutoverJob(com.google.cloud.vmmigration.v1.CreateCutoverJobRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateCutoverJobMethod(), getCallOptions(), request); + } + + /** + *
+     * Initiates the cancellation of a running cutover job.
+     * 
+ */ + public com.google.longrunning.Operation cancelCutoverJob(com.google.cloud.vmmigration.v1.CancelCutoverJobRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCancelCutoverJobMethod(), getCallOptions(), request); + } + + /** + *
+     * Lists CutoverJobs of a given migrating VM.
+     * 
+ */ + public com.google.cloud.vmmigration.v1.ListCutoverJobsResponse listCutoverJobs(com.google.cloud.vmmigration.v1.ListCutoverJobsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListCutoverJobsMethod(), getCallOptions(), request); + } + + /** + *
+     * Gets details of a single CutoverJob.
+     * 
+ */ + public com.google.cloud.vmmigration.v1.CutoverJob getCutoverJob(com.google.cloud.vmmigration.v1.GetCutoverJobRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetCutoverJobMethod(), getCallOptions(), request); + } + + /** + *
+     * Lists Groups in a given project and location.
+     * 
+ */ + public com.google.cloud.vmmigration.v1.ListGroupsResponse listGroups(com.google.cloud.vmmigration.v1.ListGroupsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListGroupsMethod(), getCallOptions(), request); + } + + /** + *
+     * Gets details of a single Group.
+     * 
+ */ + public com.google.cloud.vmmigration.v1.Group getGroup(com.google.cloud.vmmigration.v1.GetGroupRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetGroupMethod(), getCallOptions(), request); + } + + /** + *
+     * Creates a new Group in a given project and location.
+     * 
+ */ + public com.google.longrunning.Operation createGroup(com.google.cloud.vmmigration.v1.CreateGroupRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateGroupMethod(), getCallOptions(), request); + } + + /** + *
+     * Updates the parameters of a single Group.
+     * 
+ */ + public com.google.longrunning.Operation updateGroup(com.google.cloud.vmmigration.v1.UpdateGroupRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateGroupMethod(), getCallOptions(), request); + } + + /** + *
+     * Deletes a single Group.
+     * 
+ */ + public com.google.longrunning.Operation deleteGroup(com.google.cloud.vmmigration.v1.DeleteGroupRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteGroupMethod(), getCallOptions(), request); + } + + /** + *
+     * Adds a MigratingVm to a Group.
+     * 
+ */ + public com.google.longrunning.Operation addGroupMigration(com.google.cloud.vmmigration.v1.AddGroupMigrationRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getAddGroupMigrationMethod(), getCallOptions(), request); + } + + /** + *
+     * Removes a MigratingVm from a Group.
+     * 
+ */ + public com.google.longrunning.Operation removeGroupMigration(com.google.cloud.vmmigration.v1.RemoveGroupMigrationRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getRemoveGroupMigrationMethod(), getCallOptions(), request); + } + + /** + *
+     * Lists TargetProjects in a given project.
+     * NOTE: TargetProject is a global resource; hence the only supported value
+     * for location is `global`.
+     * 
+ */ + public com.google.cloud.vmmigration.v1.ListTargetProjectsResponse listTargetProjects(com.google.cloud.vmmigration.v1.ListTargetProjectsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListTargetProjectsMethod(), getCallOptions(), request); + } + + /** + *
+     * Gets details of a single TargetProject.
+     * NOTE: TargetProject is a global resource; hence the only supported value
+     * for location is `global`.
+     * 
+ */ + public com.google.cloud.vmmigration.v1.TargetProject getTargetProject(com.google.cloud.vmmigration.v1.GetTargetProjectRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetTargetProjectMethod(), getCallOptions(), request); + } + + /** + *
+     * Creates a new TargetProject in a given project.
+     * NOTE: TargetProject is a global resource; hence the only supported value
+     * for location is `global`.
+     * 
+ */ + public com.google.longrunning.Operation createTargetProject(com.google.cloud.vmmigration.v1.CreateTargetProjectRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateTargetProjectMethod(), getCallOptions(), request); + } + + /** + *
+     * Updates the parameters of a single TargetProject.
+     * NOTE: TargetProject is a global resource; hence the only supported value
+     * for location is `global`.
+     * 
+ */ + public com.google.longrunning.Operation updateTargetProject(com.google.cloud.vmmigration.v1.UpdateTargetProjectRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateTargetProjectMethod(), getCallOptions(), request); + } + + /** + *
+     * Deletes a single TargetProject.
+     * NOTE: TargetProject is a global resource; hence the only supported value
+     * for location is `global`.
+     * 
+ */ + public com.google.longrunning.Operation deleteTargetProject(com.google.cloud.vmmigration.v1.DeleteTargetProjectRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteTargetProjectMethod(), getCallOptions(), request); + } + } + + /** + *
+   * VM Migration Service
+   * 
+ */ + public static final class VmMigrationFutureStub extends io.grpc.stub.AbstractFutureStub { + private VmMigrationFutureStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected VmMigrationFutureStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new VmMigrationFutureStub(channel, callOptions); + } + + /** + *
+     * Lists Sources in a given project and location.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listSources( + com.google.cloud.vmmigration.v1.ListSourcesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListSourcesMethod(), getCallOptions()), request); + } + + /** + *
+     * Gets details of a single Source.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getSource( + com.google.cloud.vmmigration.v1.GetSourceRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetSourceMethod(), getCallOptions()), request); + } + + /** + *
+     * Creates a new Source in a given project and location.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture createSource( + com.google.cloud.vmmigration.v1.CreateSourceRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateSourceMethod(), getCallOptions()), request); + } + + /** + *
+     * Updates the parameters of a single Source.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture updateSource( + com.google.cloud.vmmigration.v1.UpdateSourceRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateSourceMethod(), getCallOptions()), request); + } + + /** + *
+     * Deletes a single Source.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deleteSource( + com.google.cloud.vmmigration.v1.DeleteSourceRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteSourceMethod(), getCallOptions()), request); + } + + /** + *
+     * List remote source's inventory of VMs.
+     * The remote source is the onprem vCenter (remote in the sense it's not in
+     * Compute Engine). The inventory describes the list of existing VMs in that
+     * source. Note that this operation lists the VMs on the remote source, as
+     * opposed to listing the MigratingVms resources in the vmmigration service.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture fetchInventory( + com.google.cloud.vmmigration.v1.FetchInventoryRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getFetchInventoryMethod(), getCallOptions()), request); + } + + /** + *
+     * Lists Utilization Reports of the given Source.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listUtilizationReports( + com.google.cloud.vmmigration.v1.ListUtilizationReportsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListUtilizationReportsMethod(), getCallOptions()), request); + } + + /** + *
+     * Gets a single Utilization Report.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getUtilizationReport( + com.google.cloud.vmmigration.v1.GetUtilizationReportRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetUtilizationReportMethod(), getCallOptions()), request); + } + + /** + *
+     * Creates a new UtilizationReport.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture createUtilizationReport( + com.google.cloud.vmmigration.v1.CreateUtilizationReportRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateUtilizationReportMethod(), getCallOptions()), request); + } + + /** + *
+     * Deletes a single Utilization Report.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deleteUtilizationReport( + com.google.cloud.vmmigration.v1.DeleteUtilizationReportRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteUtilizationReportMethod(), getCallOptions()), request); + } + + /** + *
+     * Lists DatacenterConnectors in a given Source.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listDatacenterConnectors( + com.google.cloud.vmmigration.v1.ListDatacenterConnectorsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListDatacenterConnectorsMethod(), getCallOptions()), request); + } + + /** + *
+     * Gets details of a single DatacenterConnector.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getDatacenterConnector( + com.google.cloud.vmmigration.v1.GetDatacenterConnectorRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetDatacenterConnectorMethod(), getCallOptions()), request); + } + + /** + *
+     * Creates a new DatacenterConnector in a given Source.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture createDatacenterConnector( + com.google.cloud.vmmigration.v1.CreateDatacenterConnectorRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateDatacenterConnectorMethod(), getCallOptions()), request); + } + + /** + *
+     * Deletes a single DatacenterConnector.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deleteDatacenterConnector( + com.google.cloud.vmmigration.v1.DeleteDatacenterConnectorRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteDatacenterConnectorMethod(), getCallOptions()), request); + } + + /** + *
+     * Upgrades the appliance relate to this DatacenterConnector to the in-place
+     * updateable version.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture upgradeAppliance( + com.google.cloud.vmmigration.v1.UpgradeApplianceRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpgradeApplianceMethod(), getCallOptions()), request); + } + + /** + *
+     * Creates a new MigratingVm in a given Source.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture createMigratingVm( + com.google.cloud.vmmigration.v1.CreateMigratingVmRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateMigratingVmMethod(), getCallOptions()), request); + } + + /** + *
+     * Lists MigratingVms in a given Source.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listMigratingVms( + com.google.cloud.vmmigration.v1.ListMigratingVmsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListMigratingVmsMethod(), getCallOptions()), request); + } + + /** + *
+     * Gets details of a single MigratingVm.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getMigratingVm( + com.google.cloud.vmmigration.v1.GetMigratingVmRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetMigratingVmMethod(), getCallOptions()), request); + } + + /** + *
+     * Updates the parameters of a single MigratingVm.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture updateMigratingVm( + com.google.cloud.vmmigration.v1.UpdateMigratingVmRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateMigratingVmMethod(), getCallOptions()), request); + } + + /** + *
+     * Deletes a single MigratingVm.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deleteMigratingVm( + com.google.cloud.vmmigration.v1.DeleteMigratingVmRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteMigratingVmMethod(), getCallOptions()), request); + } + + /** + *
+     * Starts migration for a VM. Starts the process of uploading
+     * data and creating snapshots, in replication cycles scheduled by the policy.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture startMigration( + com.google.cloud.vmmigration.v1.StartMigrationRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getStartMigrationMethod(), getCallOptions()), request); + } + + /** + *
+     * Resumes a migration for a VM. When called on a paused migration, will start
+     * the process of uploading data and creating snapshots; when called on a
+     * completed cut-over migration, will update the migration to active state and
+     * start the process of uploading data and creating snapshots.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture resumeMigration( + com.google.cloud.vmmigration.v1.ResumeMigrationRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getResumeMigrationMethod(), getCallOptions()), request); + } + + /** + *
+     * Pauses a migration for a VM. If cycle tasks are running they will be
+     * cancelled, preserving source task data. Further replication cycles will not
+     * be triggered while the VM is paused.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture pauseMigration( + com.google.cloud.vmmigration.v1.PauseMigrationRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getPauseMigrationMethod(), getCallOptions()), request); + } + + /** + *
+     * Marks a migration as completed, deleting migration resources that are no
+     * longer being used. Only applicable after cutover is done.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture finalizeMigration( + com.google.cloud.vmmigration.v1.FinalizeMigrationRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getFinalizeMigrationMethod(), getCallOptions()), request); + } + + /** + *
+     * Initiates a Clone of a specific migrating VM.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture createCloneJob( + com.google.cloud.vmmigration.v1.CreateCloneJobRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateCloneJobMethod(), getCallOptions()), request); + } + + /** + *
+     * Initiates the cancellation of a running clone job.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture cancelCloneJob( + com.google.cloud.vmmigration.v1.CancelCloneJobRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCancelCloneJobMethod(), getCallOptions()), request); + } + + /** + *
+     * Lists CloneJobs of a given migrating VM.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listCloneJobs( + com.google.cloud.vmmigration.v1.ListCloneJobsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListCloneJobsMethod(), getCallOptions()), request); + } + + /** + *
+     * Gets details of a single CloneJob.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getCloneJob( + com.google.cloud.vmmigration.v1.GetCloneJobRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetCloneJobMethod(), getCallOptions()), request); + } + + /** + *
+     * Initiates a Cutover of a specific migrating VM.
+     * The returned LRO is completed when the cutover job resource is created
+     * and the job is initiated.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture createCutoverJob( + com.google.cloud.vmmigration.v1.CreateCutoverJobRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateCutoverJobMethod(), getCallOptions()), request); + } + + /** + *
+     * Initiates the cancellation of a running cutover job.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture cancelCutoverJob( + com.google.cloud.vmmigration.v1.CancelCutoverJobRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCancelCutoverJobMethod(), getCallOptions()), request); + } + + /** + *
+     * Lists CutoverJobs of a given migrating VM.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listCutoverJobs( + com.google.cloud.vmmigration.v1.ListCutoverJobsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListCutoverJobsMethod(), getCallOptions()), request); + } + + /** + *
+     * Gets details of a single CutoverJob.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getCutoverJob( + com.google.cloud.vmmigration.v1.GetCutoverJobRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetCutoverJobMethod(), getCallOptions()), request); + } + + /** + *
+     * Lists Groups in a given project and location.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listGroups( + com.google.cloud.vmmigration.v1.ListGroupsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListGroupsMethod(), getCallOptions()), request); + } + + /** + *
+     * Gets details of a single Group.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getGroup( + com.google.cloud.vmmigration.v1.GetGroupRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetGroupMethod(), getCallOptions()), request); + } + + /** + *
+     * Creates a new Group in a given project and location.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture createGroup( + com.google.cloud.vmmigration.v1.CreateGroupRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateGroupMethod(), getCallOptions()), request); + } + + /** + *
+     * Updates the parameters of a single Group.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture updateGroup( + com.google.cloud.vmmigration.v1.UpdateGroupRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateGroupMethod(), getCallOptions()), request); + } + + /** + *
+     * Deletes a single Group.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deleteGroup( + com.google.cloud.vmmigration.v1.DeleteGroupRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteGroupMethod(), getCallOptions()), request); + } + + /** + *
+     * Adds a MigratingVm to a Group.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture addGroupMigration( + com.google.cloud.vmmigration.v1.AddGroupMigrationRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getAddGroupMigrationMethod(), getCallOptions()), request); + } + + /** + *
+     * Removes a MigratingVm from a Group.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture removeGroupMigration( + com.google.cloud.vmmigration.v1.RemoveGroupMigrationRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getRemoveGroupMigrationMethod(), getCallOptions()), request); + } + + /** + *
+     * Lists TargetProjects in a given project.
+     * NOTE: TargetProject is a global resource; hence the only supported value
+     * for location is `global`.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listTargetProjects( + com.google.cloud.vmmigration.v1.ListTargetProjectsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListTargetProjectsMethod(), getCallOptions()), request); + } + + /** + *
+     * Gets details of a single TargetProject.
+     * NOTE: TargetProject is a global resource; hence the only supported value
+     * for location is `global`.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getTargetProject( + com.google.cloud.vmmigration.v1.GetTargetProjectRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetTargetProjectMethod(), getCallOptions()), request); + } + + /** + *
+     * Creates a new TargetProject in a given project.
+     * NOTE: TargetProject is a global resource; hence the only supported value
+     * for location is `global`.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture createTargetProject( + com.google.cloud.vmmigration.v1.CreateTargetProjectRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateTargetProjectMethod(), getCallOptions()), request); + } + + /** + *
+     * Updates the parameters of a single TargetProject.
+     * NOTE: TargetProject is a global resource; hence the only supported value
+     * for location is `global`.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture updateTargetProject( + com.google.cloud.vmmigration.v1.UpdateTargetProjectRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateTargetProjectMethod(), getCallOptions()), request); + } + + /** + *
+     * Deletes a single TargetProject.
+     * NOTE: TargetProject is a global resource; hence the only supported value
+     * for location is `global`.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deleteTargetProject( + com.google.cloud.vmmigration.v1.DeleteTargetProjectRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteTargetProjectMethod(), getCallOptions()), request); + } + } + + private static final int METHODID_LIST_SOURCES = 0; + private static final int METHODID_GET_SOURCE = 1; + private static final int METHODID_CREATE_SOURCE = 2; + private static final int METHODID_UPDATE_SOURCE = 3; + private static final int METHODID_DELETE_SOURCE = 4; + private static final int METHODID_FETCH_INVENTORY = 5; + private static final int METHODID_LIST_UTILIZATION_REPORTS = 6; + private static final int METHODID_GET_UTILIZATION_REPORT = 7; + private static final int METHODID_CREATE_UTILIZATION_REPORT = 8; + private static final int METHODID_DELETE_UTILIZATION_REPORT = 9; + private static final int METHODID_LIST_DATACENTER_CONNECTORS = 10; + private static final int METHODID_GET_DATACENTER_CONNECTOR = 11; + private static final int METHODID_CREATE_DATACENTER_CONNECTOR = 12; + private static final int METHODID_DELETE_DATACENTER_CONNECTOR = 13; + private static final int METHODID_UPGRADE_APPLIANCE = 14; + private static final int METHODID_CREATE_MIGRATING_VM = 15; + private static final int METHODID_LIST_MIGRATING_VMS = 16; + private static final int METHODID_GET_MIGRATING_VM = 17; + private static final int METHODID_UPDATE_MIGRATING_VM = 18; + private static final int METHODID_DELETE_MIGRATING_VM = 19; + private static final int METHODID_START_MIGRATION = 20; + private static final int METHODID_RESUME_MIGRATION = 21; + private static final int METHODID_PAUSE_MIGRATION = 22; + private static final int METHODID_FINALIZE_MIGRATION = 23; + private static final int METHODID_CREATE_CLONE_JOB = 24; + private static final int METHODID_CANCEL_CLONE_JOB = 25; + private static final int METHODID_LIST_CLONE_JOBS = 26; + private static final int METHODID_GET_CLONE_JOB = 27; + private static final int METHODID_CREATE_CUTOVER_JOB = 28; + private static final int METHODID_CANCEL_CUTOVER_JOB = 29; + private static final int METHODID_LIST_CUTOVER_JOBS = 30; + private static final int METHODID_GET_CUTOVER_JOB = 31; + private static final int METHODID_LIST_GROUPS = 32; + private static final int METHODID_GET_GROUP = 33; + private static final int METHODID_CREATE_GROUP = 34; + private static final int METHODID_UPDATE_GROUP = 35; + private static final int METHODID_DELETE_GROUP = 36; + private static final int METHODID_ADD_GROUP_MIGRATION = 37; + private static final int METHODID_REMOVE_GROUP_MIGRATION = 38; + private static final int METHODID_LIST_TARGET_PROJECTS = 39; + private static final int METHODID_GET_TARGET_PROJECT = 40; + private static final int METHODID_CREATE_TARGET_PROJECT = 41; + private static final int METHODID_UPDATE_TARGET_PROJECT = 42; + private static final int METHODID_DELETE_TARGET_PROJECT = 43; + + 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 VmMigrationImplBase serviceImpl; + private final int methodId; + + MethodHandlers(VmMigrationImplBase 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_LIST_SOURCES: + serviceImpl.listSources((com.google.cloud.vmmigration.v1.ListSourcesRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_SOURCE: + serviceImpl.getSource((com.google.cloud.vmmigration.v1.GetSourceRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CREATE_SOURCE: + serviceImpl.createSource((com.google.cloud.vmmigration.v1.CreateSourceRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_SOURCE: + serviceImpl.updateSource((com.google.cloud.vmmigration.v1.UpdateSourceRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_SOURCE: + serviceImpl.deleteSource((com.google.cloud.vmmigration.v1.DeleteSourceRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_FETCH_INVENTORY: + serviceImpl.fetchInventory((com.google.cloud.vmmigration.v1.FetchInventoryRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_UTILIZATION_REPORTS: + serviceImpl.listUtilizationReports((com.google.cloud.vmmigration.v1.ListUtilizationReportsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_UTILIZATION_REPORT: + serviceImpl.getUtilizationReport((com.google.cloud.vmmigration.v1.GetUtilizationReportRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CREATE_UTILIZATION_REPORT: + serviceImpl.createUtilizationReport((com.google.cloud.vmmigration.v1.CreateUtilizationReportRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_UTILIZATION_REPORT: + serviceImpl.deleteUtilizationReport((com.google.cloud.vmmigration.v1.DeleteUtilizationReportRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_DATACENTER_CONNECTORS: + serviceImpl.listDatacenterConnectors((com.google.cloud.vmmigration.v1.ListDatacenterConnectorsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_DATACENTER_CONNECTOR: + serviceImpl.getDatacenterConnector((com.google.cloud.vmmigration.v1.GetDatacenterConnectorRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CREATE_DATACENTER_CONNECTOR: + serviceImpl.createDatacenterConnector((com.google.cloud.vmmigration.v1.CreateDatacenterConnectorRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_DATACENTER_CONNECTOR: + serviceImpl.deleteDatacenterConnector((com.google.cloud.vmmigration.v1.DeleteDatacenterConnectorRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPGRADE_APPLIANCE: + serviceImpl.upgradeAppliance((com.google.cloud.vmmigration.v1.UpgradeApplianceRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CREATE_MIGRATING_VM: + serviceImpl.createMigratingVm((com.google.cloud.vmmigration.v1.CreateMigratingVmRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_MIGRATING_VMS: + serviceImpl.listMigratingVms((com.google.cloud.vmmigration.v1.ListMigratingVmsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_MIGRATING_VM: + serviceImpl.getMigratingVm((com.google.cloud.vmmigration.v1.GetMigratingVmRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_MIGRATING_VM: + serviceImpl.updateMigratingVm((com.google.cloud.vmmigration.v1.UpdateMigratingVmRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_MIGRATING_VM: + serviceImpl.deleteMigratingVm((com.google.cloud.vmmigration.v1.DeleteMigratingVmRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_START_MIGRATION: + serviceImpl.startMigration((com.google.cloud.vmmigration.v1.StartMigrationRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_RESUME_MIGRATION: + serviceImpl.resumeMigration((com.google.cloud.vmmigration.v1.ResumeMigrationRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_PAUSE_MIGRATION: + serviceImpl.pauseMigration((com.google.cloud.vmmigration.v1.PauseMigrationRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_FINALIZE_MIGRATION: + serviceImpl.finalizeMigration((com.google.cloud.vmmigration.v1.FinalizeMigrationRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CREATE_CLONE_JOB: + serviceImpl.createCloneJob((com.google.cloud.vmmigration.v1.CreateCloneJobRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CANCEL_CLONE_JOB: + serviceImpl.cancelCloneJob((com.google.cloud.vmmigration.v1.CancelCloneJobRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_CLONE_JOBS: + serviceImpl.listCloneJobs((com.google.cloud.vmmigration.v1.ListCloneJobsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_CLONE_JOB: + serviceImpl.getCloneJob((com.google.cloud.vmmigration.v1.GetCloneJobRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CREATE_CUTOVER_JOB: + serviceImpl.createCutoverJob((com.google.cloud.vmmigration.v1.CreateCutoverJobRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CANCEL_CUTOVER_JOB: + serviceImpl.cancelCutoverJob((com.google.cloud.vmmigration.v1.CancelCutoverJobRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_CUTOVER_JOBS: + serviceImpl.listCutoverJobs((com.google.cloud.vmmigration.v1.ListCutoverJobsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_CUTOVER_JOB: + serviceImpl.getCutoverJob((com.google.cloud.vmmigration.v1.GetCutoverJobRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_GROUPS: + serviceImpl.listGroups((com.google.cloud.vmmigration.v1.ListGroupsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_GROUP: + serviceImpl.getGroup((com.google.cloud.vmmigration.v1.GetGroupRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CREATE_GROUP: + serviceImpl.createGroup((com.google.cloud.vmmigration.v1.CreateGroupRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_GROUP: + serviceImpl.updateGroup((com.google.cloud.vmmigration.v1.UpdateGroupRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_GROUP: + serviceImpl.deleteGroup((com.google.cloud.vmmigration.v1.DeleteGroupRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_ADD_GROUP_MIGRATION: + serviceImpl.addGroupMigration((com.google.cloud.vmmigration.v1.AddGroupMigrationRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_REMOVE_GROUP_MIGRATION: + serviceImpl.removeGroupMigration((com.google.cloud.vmmigration.v1.RemoveGroupMigrationRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_TARGET_PROJECTS: + serviceImpl.listTargetProjects((com.google.cloud.vmmigration.v1.ListTargetProjectsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_TARGET_PROJECT: + serviceImpl.getTargetProject((com.google.cloud.vmmigration.v1.GetTargetProjectRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CREATE_TARGET_PROJECT: + serviceImpl.createTargetProject((com.google.cloud.vmmigration.v1.CreateTargetProjectRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_TARGET_PROJECT: + serviceImpl.updateTargetProject((com.google.cloud.vmmigration.v1.UpdateTargetProjectRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_TARGET_PROJECT: + serviceImpl.deleteTargetProject((com.google.cloud.vmmigration.v1.DeleteTargetProjectRequest) 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(); + } + } + } + + private static abstract class VmMigrationBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { + VmMigrationBaseDescriptorSupplier() {} + + @java.lang.Override + public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.getDescriptor(); + } + + @java.lang.Override + public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { + return getFileDescriptor().findServiceByName("VmMigration"); + } + } + + private static final class VmMigrationFileDescriptorSupplier + extends VmMigrationBaseDescriptorSupplier { + VmMigrationFileDescriptorSupplier() {} + } + + private static final class VmMigrationMethodDescriptorSupplier + extends VmMigrationBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { + private final String methodName; + + VmMigrationMethodDescriptorSupplier(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 (VmMigrationGrpc.class) { + result = serviceDescriptor; + if (result == null) { + serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new VmMigrationFileDescriptorSupplier()) + .addMethod(getListSourcesMethod()) + .addMethod(getGetSourceMethod()) + .addMethod(getCreateSourceMethod()) + .addMethod(getUpdateSourceMethod()) + .addMethod(getDeleteSourceMethod()) + .addMethod(getFetchInventoryMethod()) + .addMethod(getListUtilizationReportsMethod()) + .addMethod(getGetUtilizationReportMethod()) + .addMethod(getCreateUtilizationReportMethod()) + .addMethod(getDeleteUtilizationReportMethod()) + .addMethod(getListDatacenterConnectorsMethod()) + .addMethod(getGetDatacenterConnectorMethod()) + .addMethod(getCreateDatacenterConnectorMethod()) + .addMethod(getDeleteDatacenterConnectorMethod()) + .addMethod(getUpgradeApplianceMethod()) + .addMethod(getCreateMigratingVmMethod()) + .addMethod(getListMigratingVmsMethod()) + .addMethod(getGetMigratingVmMethod()) + .addMethod(getUpdateMigratingVmMethod()) + .addMethod(getDeleteMigratingVmMethod()) + .addMethod(getStartMigrationMethod()) + .addMethod(getResumeMigrationMethod()) + .addMethod(getPauseMigrationMethod()) + .addMethod(getFinalizeMigrationMethod()) + .addMethod(getCreateCloneJobMethod()) + .addMethod(getCancelCloneJobMethod()) + .addMethod(getListCloneJobsMethod()) + .addMethod(getGetCloneJobMethod()) + .addMethod(getCreateCutoverJobMethod()) + .addMethod(getCancelCutoverJobMethod()) + .addMethod(getListCutoverJobsMethod()) + .addMethod(getGetCutoverJobMethod()) + .addMethod(getListGroupsMethod()) + .addMethod(getGetGroupMethod()) + .addMethod(getCreateGroupMethod()) + .addMethod(getUpdateGroupMethod()) + .addMethod(getDeleteGroupMethod()) + .addMethod(getAddGroupMigrationMethod()) + .addMethod(getRemoveGroupMigrationMethod()) + .addMethod(getListTargetProjectsMethod()) + .addMethod(getGetTargetProjectMethod()) + .addMethod(getCreateTargetProjectMethod()) + .addMethod(getUpdateTargetProjectMethod()) + .addMethod(getDeleteTargetProjectMethod()) + .build(); + } + } + } + return result; + } +} diff --git a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/AddGroupMigrationRequest.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/AddGroupMigrationRequest.java similarity index 66% rename from proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/AddGroupMigrationRequest.java rename to owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/AddGroupMigrationRequest.java index 692a047..f21f22c 100644 --- a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/AddGroupMigrationRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/AddGroupMigrationRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; /** - * - * *
  * Request message for 'AddGroupMigration' request.
  * 
* * Protobuf type {@code google.cloud.vmmigration.v1.AddGroupMigrationRequest} */ -public final class AddGroupMigrationRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class AddGroupMigrationRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.vmmigration.v1.AddGroupMigrationRequest) AddGroupMigrationRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use AddGroupMigrationRequest.newBuilder() to construct. private AddGroupMigrationRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private AddGroupMigrationRequest() { group_ = ""; migratingVm_ = ""; @@ -44,15 +26,16 @@ private AddGroupMigrationRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new AddGroupMigrationRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private AddGroupMigrationRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,27 +54,25 @@ private AddGroupMigrationRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - group_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + group_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - migratingVm_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + migratingVm_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -99,41 +80,34 @@ private AddGroupMigrationRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_AddGroupMigrationRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_AddGroupMigrationRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_AddGroupMigrationRequest_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_AddGroupMigrationRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.AddGroupMigrationRequest.class, - com.google.cloud.vmmigration.v1.AddGroupMigrationRequest.Builder.class); + com.google.cloud.vmmigration.v1.AddGroupMigrationRequest.class, com.google.cloud.vmmigration.v1.AddGroupMigrationRequest.Builder.class); } public static final int GROUP_FIELD_NUMBER = 1; private volatile java.lang.Object group_; /** - * - * *
    * Required. The full path name of the Group to add to.
    * 
* - * - * string group = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string group = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The group. */ @java.lang.Override @@ -142,31 +116,29 @@ public java.lang.String getGroup() { 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(); group_ = s; return s; } } /** - * - * *
    * Required. The full path name of the Group to add to.
    * 
* - * - * string group = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string group = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for group. */ @java.lang.Override - public com.google.protobuf.ByteString getGroupBytes() { + public com.google.protobuf.ByteString + getGroupBytes() { java.lang.Object ref = group_; 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); group_ = b; return b; } else { @@ -177,14 +149,11 @@ public com.google.protobuf.ByteString getGroupBytes() { public static final int MIGRATING_VM_FIELD_NUMBER = 2; private volatile java.lang.Object migratingVm_; /** - * - * *
    * The full path name of the MigratingVm to add.
    * 
* * string migrating_vm = 2 [(.google.api.resource_reference) = { ... } - * * @return The migratingVm. */ @java.lang.Override @@ -193,29 +162,29 @@ public java.lang.String getMigratingVm() { 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(); migratingVm_ = s; return s; } } /** - * - * *
    * The full path name of the MigratingVm to add.
    * 
* * string migrating_vm = 2 [(.google.api.resource_reference) = { ... } - * * @return The bytes for migratingVm. */ @java.lang.Override - public com.google.protobuf.ByteString getMigratingVmBytes() { + public com.google.protobuf.ByteString + getMigratingVmBytes() { java.lang.Object ref = migratingVm_; 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); migratingVm_ = b; return b; } else { @@ -224,7 +193,6 @@ public com.google.protobuf.ByteString getMigratingVmBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -236,7 +204,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(group_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, group_); } @@ -266,16 +235,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.vmmigration.v1.AddGroupMigrationRequest)) { return super.equals(obj); } - com.google.cloud.vmmigration.v1.AddGroupMigrationRequest other = - (com.google.cloud.vmmigration.v1.AddGroupMigrationRequest) obj; + com.google.cloud.vmmigration.v1.AddGroupMigrationRequest other = (com.google.cloud.vmmigration.v1.AddGroupMigrationRequest) obj; - if (!getGroup().equals(other.getGroup())) return false; - if (!getMigratingVm().equals(other.getMigratingVm())) return false; + if (!getGroup() + .equals(other.getGroup())) return false; + if (!getMigratingVm() + .equals(other.getMigratingVm())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -297,127 +267,117 @@ public int hashCode() { } public static com.google.cloud.vmmigration.v1.AddGroupMigrationRequest 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.vmmigration.v1.AddGroupMigrationRequest 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.vmmigration.v1.AddGroupMigrationRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.vmmigration.v1.AddGroupMigrationRequest 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.vmmigration.v1.AddGroupMigrationRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.vmmigration.v1.AddGroupMigrationRequest 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.vmmigration.v1.AddGroupMigrationRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.vmmigration.v1.AddGroupMigrationRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.vmmigration.v1.AddGroupMigrationRequest 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.vmmigration.v1.AddGroupMigrationRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.vmmigration.v1.AddGroupMigrationRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.vmmigration.v1.AddGroupMigrationRequest 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.vmmigration.v1.AddGroupMigrationRequest 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.vmmigration.v1.AddGroupMigrationRequest 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.vmmigration.v1.AddGroupMigrationRequest prototype) { + public static Builder newBuilder(com.google.cloud.vmmigration.v1.AddGroupMigrationRequest 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 message for 'AddGroupMigration' request.
    * 
* * Protobuf type {@code google.cloud.vmmigration.v1.AddGroupMigrationRequest} */ - 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.vmmigration.v1.AddGroupMigrationRequest) com.google.cloud.vmmigration.v1.AddGroupMigrationRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_AddGroupMigrationRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_AddGroupMigrationRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_AddGroupMigrationRequest_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_AddGroupMigrationRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.AddGroupMigrationRequest.class, - com.google.cloud.vmmigration.v1.AddGroupMigrationRequest.Builder.class); + com.google.cloud.vmmigration.v1.AddGroupMigrationRequest.class, com.google.cloud.vmmigration.v1.AddGroupMigrationRequest.Builder.class); } // Construct using com.google.cloud.vmmigration.v1.AddGroupMigrationRequest.newBuilder() @@ -425,15 +385,16 @@ 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) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -445,9 +406,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_AddGroupMigrationRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_AddGroupMigrationRequest_descriptor; } @java.lang.Override @@ -466,8 +427,7 @@ public com.google.cloud.vmmigration.v1.AddGroupMigrationRequest build() { @java.lang.Override public com.google.cloud.vmmigration.v1.AddGroupMigrationRequest buildPartial() { - com.google.cloud.vmmigration.v1.AddGroupMigrationRequest result = - new com.google.cloud.vmmigration.v1.AddGroupMigrationRequest(this); + com.google.cloud.vmmigration.v1.AddGroupMigrationRequest result = new com.google.cloud.vmmigration.v1.AddGroupMigrationRequest(this); result.group_ = group_; result.migratingVm_ = migratingVm_; onBuilt(); @@ -478,39 +438,38 @@ public com.google.cloud.vmmigration.v1.AddGroupMigrationRequest buildPartial() { 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.vmmigration.v1.AddGroupMigrationRequest) { - return mergeFrom((com.google.cloud.vmmigration.v1.AddGroupMigrationRequest) other); + return mergeFrom((com.google.cloud.vmmigration.v1.AddGroupMigrationRequest)other); } else { super.mergeFrom(other); return this; @@ -518,8 +477,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.vmmigration.v1.AddGroupMigrationRequest other) { - if (other == com.google.cloud.vmmigration.v1.AddGroupMigrationRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.vmmigration.v1.AddGroupMigrationRequest.getDefaultInstance()) return this; if (!other.getGroup().isEmpty()) { group_ = other.group_; onChanged(); @@ -547,8 +505,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.vmmigration.v1.AddGroupMigrationRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.vmmigration.v1.AddGroupMigrationRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -560,22 +517,18 @@ public Builder mergeFrom( private java.lang.Object group_ = ""; /** - * - * *
      * Required. The full path name of the Group to add to.
      * 
* - * - * string group = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string group = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The group. */ public java.lang.String getGroup() { java.lang.Object ref = group_; 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(); group_ = s; return s; @@ -584,23 +537,20 @@ public java.lang.String getGroup() { } } /** - * - * *
      * Required. The full path name of the Group to add to.
      * 
* - * - * string group = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string group = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for group. */ - public com.google.protobuf.ByteString getGroupBytes() { + public com.google.protobuf.ByteString + getGroupBytes() { java.lang.Object ref = group_; 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); group_ = b; return b; } else { @@ -608,67 +558,54 @@ public com.google.protobuf.ByteString getGroupBytes() { } } /** - * - * *
      * Required. The full path name of the Group to add to.
      * 
* - * - * string group = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string group = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The group to set. * @return This builder for chaining. */ - public Builder setGroup(java.lang.String value) { + public Builder setGroup( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + group_ = value; onChanged(); return this; } /** - * - * *
      * Required. The full path name of the Group to add to.
      * 
* - * - * string group = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string group = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearGroup() { - + group_ = getDefaultInstance().getGroup(); onChanged(); return this; } /** - * - * *
      * Required. The full path name of the Group to add to.
      * 
* - * - * string group = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string group = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for group to set. * @return This builder for chaining. */ - public Builder setGroupBytes(com.google.protobuf.ByteString value) { + public Builder setGroupBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + group_ = value; onChanged(); return this; @@ -676,20 +613,18 @@ public Builder setGroupBytes(com.google.protobuf.ByteString value) { private java.lang.Object migratingVm_ = ""; /** - * - * *
      * The full path name of the MigratingVm to add.
      * 
* * string migrating_vm = 2 [(.google.api.resource_reference) = { ... } - * * @return The migratingVm. */ public java.lang.String getMigratingVm() { java.lang.Object ref = migratingVm_; 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(); migratingVm_ = s; return s; @@ -698,21 +633,20 @@ public java.lang.String getMigratingVm() { } } /** - * - * *
      * The full path name of the MigratingVm to add.
      * 
* * string migrating_vm = 2 [(.google.api.resource_reference) = { ... } - * * @return The bytes for migratingVm. */ - public com.google.protobuf.ByteString getMigratingVmBytes() { + public com.google.protobuf.ByteString + getMigratingVmBytes() { java.lang.Object ref = migratingVm_; 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); migratingVm_ = b; return b; } else { @@ -720,68 +654,61 @@ public com.google.protobuf.ByteString getMigratingVmBytes() { } } /** - * - * *
      * The full path name of the MigratingVm to add.
      * 
* * string migrating_vm = 2 [(.google.api.resource_reference) = { ... } - * * @param value The migratingVm to set. * @return This builder for chaining. */ - public Builder setMigratingVm(java.lang.String value) { + public Builder setMigratingVm( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + migratingVm_ = value; onChanged(); return this; } /** - * - * *
      * The full path name of the MigratingVm to add.
      * 
* * string migrating_vm = 2 [(.google.api.resource_reference) = { ... } - * * @return This builder for chaining. */ public Builder clearMigratingVm() { - + migratingVm_ = getDefaultInstance().getMigratingVm(); onChanged(); return this; } /** - * - * *
      * The full path name of the MigratingVm to add.
      * 
* * string migrating_vm = 2 [(.google.api.resource_reference) = { ... } - * * @param value The bytes for migratingVm to set. * @return This builder for chaining. */ - public Builder setMigratingVmBytes(com.google.protobuf.ByteString value) { + public Builder setMigratingVmBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + migratingVm_ = 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); } @@ -791,12 +718,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.vmmigration.v1.AddGroupMigrationRequest) } // @@protoc_insertion_point(class_scope:google.cloud.vmmigration.v1.AddGroupMigrationRequest) private static final com.google.cloud.vmmigration.v1.AddGroupMigrationRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.vmmigration.v1.AddGroupMigrationRequest(); } @@ -805,16 +732,16 @@ public static com.google.cloud.vmmigration.v1.AddGroupMigrationRequest getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AddGroupMigrationRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AddGroupMigrationRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AddGroupMigrationRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AddGroupMigrationRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -829,4 +756,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.vmmigration.v1.AddGroupMigrationRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/AddGroupMigrationRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/AddGroupMigrationRequestOrBuilder.java new file mode 100644 index 0000000..7799e13 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/AddGroupMigrationRequestOrBuilder.java @@ -0,0 +1,49 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/vmmigration/v1/vmmigration.proto + +package com.google.cloud.vmmigration.v1; + +public interface AddGroupMigrationRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.AddGroupMigrationRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The full path name of the Group to add to.
+   * 
+ * + * string group = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The group. + */ + java.lang.String getGroup(); + /** + *
+   * Required. The full path name of the Group to add to.
+   * 
+ * + * string group = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for group. + */ + com.google.protobuf.ByteString + getGroupBytes(); + + /** + *
+   * The full path name of the MigratingVm to add.
+   * 
+ * + * string migrating_vm = 2 [(.google.api.resource_reference) = { ... } + * @return The migratingVm. + */ + java.lang.String getMigratingVm(); + /** + *
+   * The full path name of the MigratingVm to add.
+   * 
+ * + * string migrating_vm = 2 [(.google.api.resource_reference) = { ... } + * @return The bytes for migratingVm. + */ + com.google.protobuf.ByteString + getMigratingVmBytes(); +} diff --git a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/AddGroupMigrationResponse.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/AddGroupMigrationResponse.java similarity index 65% rename from proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/AddGroupMigrationResponse.java rename to owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/AddGroupMigrationResponse.java index 7f3496a..9473c6e 100644 --- a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/AddGroupMigrationResponse.java +++ b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/AddGroupMigrationResponse.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; /** - * - * *
  * Response message for 'AddGroupMigration' request.
  * 
* * Protobuf type {@code google.cloud.vmmigration.v1.AddGroupMigrationResponse} */ -public final class AddGroupMigrationResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class AddGroupMigrationResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.vmmigration.v1.AddGroupMigrationResponse) AddGroupMigrationResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use AddGroupMigrationResponse.newBuilder() to construct. private AddGroupMigrationResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private AddGroupMigrationResponse() {} + private AddGroupMigrationResponse() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new AddGroupMigrationResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private AddGroupMigrationResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,13 +52,13 @@ private AddGroupMigrationResponse( case 0: done = true; break; - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -82,30 +66,27 @@ private AddGroupMigrationResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_AddGroupMigrationResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_AddGroupMigrationResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_AddGroupMigrationResponse_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_AddGroupMigrationResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.AddGroupMigrationResponse.class, - com.google.cloud.vmmigration.v1.AddGroupMigrationResponse.Builder.class); + com.google.cloud.vmmigration.v1.AddGroupMigrationResponse.class, com.google.cloud.vmmigration.v1.AddGroupMigrationResponse.Builder.class); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -117,7 +98,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 { unknownFields.writeTo(output); } @@ -135,13 +117,12 @@ 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.vmmigration.v1.AddGroupMigrationResponse)) { return super.equals(obj); } - com.google.cloud.vmmigration.v1.AddGroupMigrationResponse other = - (com.google.cloud.vmmigration.v1.AddGroupMigrationResponse) obj; + com.google.cloud.vmmigration.v1.AddGroupMigrationResponse other = (com.google.cloud.vmmigration.v1.AddGroupMigrationResponse) obj; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -160,127 +141,117 @@ public int hashCode() { } public static com.google.cloud.vmmigration.v1.AddGroupMigrationResponse 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.vmmigration.v1.AddGroupMigrationResponse 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.vmmigration.v1.AddGroupMigrationResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.vmmigration.v1.AddGroupMigrationResponse 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.vmmigration.v1.AddGroupMigrationResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.vmmigration.v1.AddGroupMigrationResponse 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.vmmigration.v1.AddGroupMigrationResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.vmmigration.v1.AddGroupMigrationResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.vmmigration.v1.AddGroupMigrationResponse 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.vmmigration.v1.AddGroupMigrationResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.vmmigration.v1.AddGroupMigrationResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.vmmigration.v1.AddGroupMigrationResponse 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.vmmigration.v1.AddGroupMigrationResponse 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.vmmigration.v1.AddGroupMigrationResponse 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.vmmigration.v1.AddGroupMigrationResponse prototype) { + public static Builder newBuilder(com.google.cloud.vmmigration.v1.AddGroupMigrationResponse 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; } /** - * - * *
    * Response message for 'AddGroupMigration' request.
    * 
* * Protobuf type {@code google.cloud.vmmigration.v1.AddGroupMigrationResponse} */ - 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.vmmigration.v1.AddGroupMigrationResponse) com.google.cloud.vmmigration.v1.AddGroupMigrationResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_AddGroupMigrationResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_AddGroupMigrationResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_AddGroupMigrationResponse_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_AddGroupMigrationResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.AddGroupMigrationResponse.class, - com.google.cloud.vmmigration.v1.AddGroupMigrationResponse.Builder.class); + com.google.cloud.vmmigration.v1.AddGroupMigrationResponse.class, com.google.cloud.vmmigration.v1.AddGroupMigrationResponse.Builder.class); } // Construct using com.google.cloud.vmmigration.v1.AddGroupMigrationResponse.newBuilder() @@ -288,15 +259,16 @@ 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) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -304,9 +276,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_AddGroupMigrationResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_AddGroupMigrationResponse_descriptor; } @java.lang.Override @@ -325,8 +297,7 @@ public com.google.cloud.vmmigration.v1.AddGroupMigrationResponse build() { @java.lang.Override public com.google.cloud.vmmigration.v1.AddGroupMigrationResponse buildPartial() { - com.google.cloud.vmmigration.v1.AddGroupMigrationResponse result = - new com.google.cloud.vmmigration.v1.AddGroupMigrationResponse(this); + com.google.cloud.vmmigration.v1.AddGroupMigrationResponse result = new com.google.cloud.vmmigration.v1.AddGroupMigrationResponse(this); onBuilt(); return result; } @@ -335,39 +306,38 @@ public com.google.cloud.vmmigration.v1.AddGroupMigrationResponse buildPartial() 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.vmmigration.v1.AddGroupMigrationResponse) { - return mergeFrom((com.google.cloud.vmmigration.v1.AddGroupMigrationResponse) other); + return mergeFrom((com.google.cloud.vmmigration.v1.AddGroupMigrationResponse)other); } else { super.mergeFrom(other); return this; @@ -375,8 +345,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.vmmigration.v1.AddGroupMigrationResponse other) { - if (other == com.google.cloud.vmmigration.v1.AddGroupMigrationResponse.getDefaultInstance()) - return this; + if (other == com.google.cloud.vmmigration.v1.AddGroupMigrationResponse.getDefaultInstance()) return this; this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -396,8 +365,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.vmmigration.v1.AddGroupMigrationResponse) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.vmmigration.v1.AddGroupMigrationResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -406,9 +374,9 @@ public Builder mergeFrom( } 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); } @@ -418,12 +386,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.vmmigration.v1.AddGroupMigrationResponse) } // @@protoc_insertion_point(class_scope:google.cloud.vmmigration.v1.AddGroupMigrationResponse) private static final com.google.cloud.vmmigration.v1.AddGroupMigrationResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.vmmigration.v1.AddGroupMigrationResponse(); } @@ -432,16 +400,16 @@ public static com.google.cloud.vmmigration.v1.AddGroupMigrationResponse getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AddGroupMigrationResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AddGroupMigrationResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AddGroupMigrationResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AddGroupMigrationResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -456,4 +424,6 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.vmmigration.v1.AddGroupMigrationResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/AddGroupMigrationResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/AddGroupMigrationResponseOrBuilder.java new file mode 100644 index 0000000..7b4025a --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/AddGroupMigrationResponseOrBuilder.java @@ -0,0 +1,9 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/vmmigration/v1/vmmigration.proto + +package com.google.cloud.vmmigration.v1; + +public interface AddGroupMigrationResponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.AddGroupMigrationResponse) + com.google.protobuf.MessageOrBuilder { +} diff --git a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ApplianceVersion.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ApplianceVersion.java new file mode 100644 index 0000000..ca3e460 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ApplianceVersion.java @@ -0,0 +1,1008 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/vmmigration/v1/vmmigration.proto + +package com.google.cloud.vmmigration.v1; + +/** + *
+ * Describes an appliance version.
+ * 
+ * + * Protobuf type {@code google.cloud.vmmigration.v1.ApplianceVersion} + */ +public final class ApplianceVersion extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:google.cloud.vmmigration.v1.ApplianceVersion) + ApplianceVersionOrBuilder { +private static final long serialVersionUID = 0L; + // Use ApplianceVersion.newBuilder() to construct. + private ApplianceVersion(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private ApplianceVersion() { + version_ = ""; + uri_ = ""; + releaseNotesUri_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new ApplianceVersion(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private ApplianceVersion( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + + version_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + + uri_ = s; + break; + } + case 24: { + + critical_ = input.readBool(); + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); + + releaseNotesUri_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ApplianceVersion_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ApplianceVersion_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.vmmigration.v1.ApplianceVersion.class, com.google.cloud.vmmigration.v1.ApplianceVersion.Builder.class); + } + + public static final int VERSION_FIELD_NUMBER = 1; + private volatile java.lang.Object version_; + /** + *
+   * The appliance version.
+   * 
+ * + * string version = 1; + * @return The version. + */ + @java.lang.Override + public java.lang.String getVersion() { + java.lang.Object ref = version_; + 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(); + version_ = s; + return s; + } + } + /** + *
+   * The appliance version.
+   * 
+ * + * string version = 1; + * @return The bytes for version. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getVersionBytes() { + java.lang.Object ref = version_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + version_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int URI_FIELD_NUMBER = 2; + private volatile java.lang.Object uri_; + /** + *
+   * A link for downloading the version.
+   * 
+ * + * string uri = 2; + * @return The uri. + */ + @java.lang.Override + public java.lang.String getUri() { + java.lang.Object ref = uri_; + 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(); + uri_ = s; + return s; + } + } + /** + *
+   * A link for downloading the version.
+   * 
+ * + * string uri = 2; + * @return The bytes for uri. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getUriBytes() { + java.lang.Object ref = uri_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + uri_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int CRITICAL_FIELD_NUMBER = 3; + private boolean critical_; + /** + *
+   * Determine whether it's critical to upgrade the appliance to this version.
+   * 
+ * + * bool critical = 3; + * @return The critical. + */ + @java.lang.Override + public boolean getCritical() { + return critical_; + } + + public static final int RELEASE_NOTES_URI_FIELD_NUMBER = 4; + private volatile java.lang.Object releaseNotesUri_; + /** + *
+   * Link to a page that contains the version release notes.
+   * 
+ * + * string release_notes_uri = 4; + * @return The releaseNotesUri. + */ + @java.lang.Override + public java.lang.String getReleaseNotesUri() { + java.lang.Object ref = releaseNotesUri_; + 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(); + releaseNotesUri_ = s; + return s; + } + } + /** + *
+   * Link to a page that contains the version release notes.
+   * 
+ * + * string release_notes_uri = 4; + * @return The bytes for releaseNotesUri. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getReleaseNotesUriBytes() { + java.lang.Object ref = releaseNotesUri_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + releaseNotesUri_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + 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(version_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, version_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(uri_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, uri_); + } + if (critical_ != false) { + output.writeBool(3, critical_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(releaseNotesUri_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 4, releaseNotesUri_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(version_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, version_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(uri_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, uri_); + } + if (critical_ != false) { + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(3, critical_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(releaseNotesUri_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, releaseNotesUri_); + } + size += unknownFields.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.vmmigration.v1.ApplianceVersion)) { + return super.equals(obj); + } + com.google.cloud.vmmigration.v1.ApplianceVersion other = (com.google.cloud.vmmigration.v1.ApplianceVersion) obj; + + if (!getVersion() + .equals(other.getVersion())) return false; + if (!getUri() + .equals(other.getUri())) return false; + if (getCritical() + != other.getCritical()) return false; + if (!getReleaseNotesUri() + .equals(other.getReleaseNotesUri())) return false; + if (!unknownFields.equals(other.unknownFields)) 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) + VERSION_FIELD_NUMBER; + hash = (53 * hash) + getVersion().hashCode(); + hash = (37 * hash) + URI_FIELD_NUMBER; + hash = (53 * hash) + getUri().hashCode(); + hash = (37 * hash) + CRITICAL_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getCritical()); + hash = (37 * hash) + RELEASE_NOTES_URI_FIELD_NUMBER; + hash = (53 * hash) + getReleaseNotesUri().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.vmmigration.v1.ApplianceVersion parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.vmmigration.v1.ApplianceVersion 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.vmmigration.v1.ApplianceVersion parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.vmmigration.v1.ApplianceVersion 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.vmmigration.v1.ApplianceVersion parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.vmmigration.v1.ApplianceVersion parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.vmmigration.v1.ApplianceVersion parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.vmmigration.v1.ApplianceVersion 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.vmmigration.v1.ApplianceVersion parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.google.cloud.vmmigration.v1.ApplianceVersion 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.vmmigration.v1.ApplianceVersion parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.vmmigration.v1.ApplianceVersion 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.vmmigration.v1.ApplianceVersion 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; + } + /** + *
+   * Describes an appliance version.
+   * 
+ * + * Protobuf type {@code google.cloud.vmmigration.v1.ApplianceVersion} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:google.cloud.vmmigration.v1.ApplianceVersion) + com.google.cloud.vmmigration.v1.ApplianceVersionOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ApplianceVersion_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ApplianceVersion_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.vmmigration.v1.ApplianceVersion.class, com.google.cloud.vmmigration.v1.ApplianceVersion.Builder.class); + } + + // Construct using com.google.cloud.vmmigration.v1.ApplianceVersion.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + version_ = ""; + + uri_ = ""; + + critical_ = false; + + releaseNotesUri_ = ""; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ApplianceVersion_descriptor; + } + + @java.lang.Override + public com.google.cloud.vmmigration.v1.ApplianceVersion getDefaultInstanceForType() { + return com.google.cloud.vmmigration.v1.ApplianceVersion.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.vmmigration.v1.ApplianceVersion build() { + com.google.cloud.vmmigration.v1.ApplianceVersion result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.vmmigration.v1.ApplianceVersion buildPartial() { + com.google.cloud.vmmigration.v1.ApplianceVersion result = new com.google.cloud.vmmigration.v1.ApplianceVersion(this); + result.version_ = version_; + result.uri_ = uri_; + result.critical_ = critical_; + result.releaseNotesUri_ = releaseNotesUri_; + onBuilt(); + return result; + } + + @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.vmmigration.v1.ApplianceVersion) { + return mergeFrom((com.google.cloud.vmmigration.v1.ApplianceVersion)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.vmmigration.v1.ApplianceVersion other) { + if (other == com.google.cloud.vmmigration.v1.ApplianceVersion.getDefaultInstance()) return this; + if (!other.getVersion().isEmpty()) { + version_ = other.version_; + onChanged(); + } + if (!other.getUri().isEmpty()) { + uri_ = other.uri_; + onChanged(); + } + if (other.getCritical() != false) { + setCritical(other.getCritical()); + } + if (!other.getReleaseNotesUri().isEmpty()) { + releaseNotesUri_ = other.releaseNotesUri_; + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + 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 { + com.google.cloud.vmmigration.v1.ApplianceVersion parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.cloud.vmmigration.v1.ApplianceVersion) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private java.lang.Object version_ = ""; + /** + *
+     * The appliance version.
+     * 
+ * + * string version = 1; + * @return The version. + */ + public java.lang.String getVersion() { + java.lang.Object ref = version_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + version_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * The appliance version.
+     * 
+ * + * string version = 1; + * @return The bytes for version. + */ + public com.google.protobuf.ByteString + getVersionBytes() { + java.lang.Object ref = version_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + version_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * The appliance version.
+     * 
+ * + * string version = 1; + * @param value The version to set. + * @return This builder for chaining. + */ + public Builder setVersion( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + version_ = value; + onChanged(); + return this; + } + /** + *
+     * The appliance version.
+     * 
+ * + * string version = 1; + * @return This builder for chaining. + */ + public Builder clearVersion() { + + version_ = getDefaultInstance().getVersion(); + onChanged(); + return this; + } + /** + *
+     * The appliance version.
+     * 
+ * + * string version = 1; + * @param value The bytes for version to set. + * @return This builder for chaining. + */ + public Builder setVersionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + version_ = value; + onChanged(); + return this; + } + + private java.lang.Object uri_ = ""; + /** + *
+     * A link for downloading the version.
+     * 
+ * + * string uri = 2; + * @return The uri. + */ + public java.lang.String getUri() { + java.lang.Object ref = uri_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + uri_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * A link for downloading the version.
+     * 
+ * + * string uri = 2; + * @return The bytes for uri. + */ + public com.google.protobuf.ByteString + getUriBytes() { + java.lang.Object ref = uri_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + uri_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * A link for downloading the version.
+     * 
+ * + * string uri = 2; + * @param value The uri to set. + * @return This builder for chaining. + */ + public Builder setUri( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + uri_ = value; + onChanged(); + return this; + } + /** + *
+     * A link for downloading the version.
+     * 
+ * + * string uri = 2; + * @return This builder for chaining. + */ + public Builder clearUri() { + + uri_ = getDefaultInstance().getUri(); + onChanged(); + return this; + } + /** + *
+     * A link for downloading the version.
+     * 
+ * + * string uri = 2; + * @param value The bytes for uri to set. + * @return This builder for chaining. + */ + public Builder setUriBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + uri_ = value; + onChanged(); + return this; + } + + private boolean critical_ ; + /** + *
+     * Determine whether it's critical to upgrade the appliance to this version.
+     * 
+ * + * bool critical = 3; + * @return The critical. + */ + @java.lang.Override + public boolean getCritical() { + return critical_; + } + /** + *
+     * Determine whether it's critical to upgrade the appliance to this version.
+     * 
+ * + * bool critical = 3; + * @param value The critical to set. + * @return This builder for chaining. + */ + public Builder setCritical(boolean value) { + + critical_ = value; + onChanged(); + return this; + } + /** + *
+     * Determine whether it's critical to upgrade the appliance to this version.
+     * 
+ * + * bool critical = 3; + * @return This builder for chaining. + */ + public Builder clearCritical() { + + critical_ = false; + onChanged(); + return this; + } + + private java.lang.Object releaseNotesUri_ = ""; + /** + *
+     * Link to a page that contains the version release notes.
+     * 
+ * + * string release_notes_uri = 4; + * @return The releaseNotesUri. + */ + public java.lang.String getReleaseNotesUri() { + java.lang.Object ref = releaseNotesUri_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + releaseNotesUri_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * Link to a page that contains the version release notes.
+     * 
+ * + * string release_notes_uri = 4; + * @return The bytes for releaseNotesUri. + */ + public com.google.protobuf.ByteString + getReleaseNotesUriBytes() { + java.lang.Object ref = releaseNotesUri_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + releaseNotesUri_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * Link to a page that contains the version release notes.
+     * 
+ * + * string release_notes_uri = 4; + * @param value The releaseNotesUri to set. + * @return This builder for chaining. + */ + public Builder setReleaseNotesUri( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + releaseNotesUri_ = value; + onChanged(); + return this; + } + /** + *
+     * Link to a page that contains the version release notes.
+     * 
+ * + * string release_notes_uri = 4; + * @return This builder for chaining. + */ + public Builder clearReleaseNotesUri() { + + releaseNotesUri_ = getDefaultInstance().getReleaseNotesUri(); + onChanged(); + return this; + } + /** + *
+     * Link to a page that contains the version release notes.
+     * 
+ * + * string release_notes_uri = 4; + * @param value The bytes for releaseNotesUri to set. + * @return This builder for chaining. + */ + public Builder setReleaseNotesUriBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + releaseNotesUri_ = value; + 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.vmmigration.v1.ApplianceVersion) + } + + // @@protoc_insertion_point(class_scope:google.cloud.vmmigration.v1.ApplianceVersion) + private static final com.google.cloud.vmmigration.v1.ApplianceVersion DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.google.cloud.vmmigration.v1.ApplianceVersion(); + } + + public static com.google.cloud.vmmigration.v1.ApplianceVersion getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ApplianceVersion parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ApplianceVersion(input, extensionRegistry); + } + }; + + 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.vmmigration.v1.ApplianceVersion getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ApplianceVersionOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ApplianceVersionOrBuilder.java new file mode 100644 index 0000000..47ca2ed --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ApplianceVersionOrBuilder.java @@ -0,0 +1,79 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/vmmigration/v1/vmmigration.proto + +package com.google.cloud.vmmigration.v1; + +public interface ApplianceVersionOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.ApplianceVersion) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * The appliance version.
+   * 
+ * + * string version = 1; + * @return The version. + */ + java.lang.String getVersion(); + /** + *
+   * The appliance version.
+   * 
+ * + * string version = 1; + * @return The bytes for version. + */ + com.google.protobuf.ByteString + getVersionBytes(); + + /** + *
+   * A link for downloading the version.
+   * 
+ * + * string uri = 2; + * @return The uri. + */ + java.lang.String getUri(); + /** + *
+   * A link for downloading the version.
+   * 
+ * + * string uri = 2; + * @return The bytes for uri. + */ + com.google.protobuf.ByteString + getUriBytes(); + + /** + *
+   * Determine whether it's critical to upgrade the appliance to this version.
+   * 
+ * + * bool critical = 3; + * @return The critical. + */ + boolean getCritical(); + + /** + *
+   * Link to a page that contains the version release notes.
+   * 
+ * + * string release_notes_uri = 4; + * @return The releaseNotesUri. + */ + java.lang.String getReleaseNotesUri(); + /** + *
+   * Link to a page that contains the version release notes.
+   * 
+ * + * string release_notes_uri = 4; + * @return The bytes for releaseNotesUri. + */ + com.google.protobuf.ByteString + getReleaseNotesUriBytes(); +} diff --git a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/AppliedLicense.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/AppliedLicense.java similarity index 71% rename from proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/AppliedLicense.java rename to owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/AppliedLicense.java index 1b55bd8..a844009 100644 --- a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/AppliedLicense.java +++ b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/AppliedLicense.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; /** - * - * *
  * AppliedLicense holds the license data returned by adaptation module report.
  * 
* * Protobuf type {@code google.cloud.vmmigration.v1.AppliedLicense} */ -public final class AppliedLicense extends com.google.protobuf.GeneratedMessageV3 - implements +public final class AppliedLicense extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.vmmigration.v1.AppliedLicense) AppliedLicenseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use AppliedLicense.newBuilder() to construct. private AppliedLicense(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private AppliedLicense() { type_ = 0; osLicense_ = ""; @@ -44,15 +26,16 @@ private AppliedLicense() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new AppliedLicense(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private AppliedLicense( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,27 +54,25 @@ private AppliedLicense( case 0: done = true; break; - case 8: - { - int rawValue = input.readEnum(); + case 8: { + int rawValue = input.readEnum(); - type_ = rawValue; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + type_ = rawValue; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - osLicense_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + osLicense_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -99,41 +80,36 @@ private AppliedLicense( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_AppliedLicense_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_AppliedLicense_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_AppliedLicense_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_AppliedLicense_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.AppliedLicense.class, - com.google.cloud.vmmigration.v1.AppliedLicense.Builder.class); + com.google.cloud.vmmigration.v1.AppliedLicense.class, com.google.cloud.vmmigration.v1.AppliedLicense.Builder.class); } /** - * - * *
    * License types used in OS adaptation.
    * 
* * Protobuf enum {@code google.cloud.vmmigration.v1.AppliedLicense.Type} */ - public enum Type implements com.google.protobuf.ProtocolMessageEnum { + public enum Type + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Unspecified license for the OS.
      * 
@@ -142,8 +118,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ TYPE_UNSPECIFIED(0), /** - * - * *
      * No license available for the OS.
      * 
@@ -152,8 +126,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ NONE(1), /** - * - * *
      * The license type is Pay As You Go license type.
      * 
@@ -162,8 +134,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ PAYG(2), /** - * - * *
      * The license type is is Bring Your Own License type.
      * 
@@ -175,8 +145,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Unspecified license for the OS.
      * 
@@ -185,8 +153,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * No license available for the OS.
      * 
@@ -195,8 +161,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int NONE_VALUE = 1; /** - * - * *
      * The license type is Pay As You Go license type.
      * 
@@ -205,8 +169,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PAYG_VALUE = 2; /** - * - * *
      * The license type is is Bring Your Own License type.
      * 
@@ -215,6 +177,7 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int BYOL_VALUE = 3; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -239,51 +202,50 @@ public static Type valueOf(int value) { */ public static Type forNumber(int value) { switch (value) { - case 0: - return TYPE_UNSPECIFIED; - case 1: - return NONE; - case 2: - return PAYG; - case 3: - return BYOL; - default: - return null; + case 0: return TYPE_UNSPECIFIED; + case 1: return NONE; + case 2: return PAYG; + case 3: return BYOL; + 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< + Type> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Type findValueByNumber(int number) { + return Type.forNumber(number); + } + }; - 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() { + 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() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.cloud.vmmigration.v1.AppliedLicense.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; @@ -303,52 +265,38 @@ private Type(int value) { public static final int TYPE_FIELD_NUMBER = 1; private int type_; /** - * - * *
    * The license type that was used in OS adaptation.
    * 
* * .google.cloud.vmmigration.v1.AppliedLicense.Type type = 1; - * * @return The enum numeric value on the wire for type. */ - @java.lang.Override - public int getTypeValue() { + @java.lang.Override public int getTypeValue() { return type_; } /** - * - * *
    * The license type that was used in OS adaptation.
    * 
* * .google.cloud.vmmigration.v1.AppliedLicense.Type type = 1; - * * @return The type. */ - @java.lang.Override - public com.google.cloud.vmmigration.v1.AppliedLicense.Type getType() { + @java.lang.Override public com.google.cloud.vmmigration.v1.AppliedLicense.Type getType() { @SuppressWarnings("deprecation") - com.google.cloud.vmmigration.v1.AppliedLicense.Type result = - com.google.cloud.vmmigration.v1.AppliedLicense.Type.valueOf(type_); - return result == null - ? com.google.cloud.vmmigration.v1.AppliedLicense.Type.UNRECOGNIZED - : result; + com.google.cloud.vmmigration.v1.AppliedLicense.Type result = com.google.cloud.vmmigration.v1.AppliedLicense.Type.valueOf(type_); + return result == null ? com.google.cloud.vmmigration.v1.AppliedLicense.Type.UNRECOGNIZED : result; } public static final int OS_LICENSE_FIELD_NUMBER = 2; private volatile java.lang.Object osLicense_; /** - * - * *
    * The OS license returned from the adaptation module's report.
    * 
* * string os_license = 2; - * * @return The osLicense. */ @java.lang.Override @@ -357,29 +305,29 @@ public java.lang.String getOsLicense() { 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(); osLicense_ = s; return s; } } /** - * - * *
    * The OS license returned from the adaptation module's report.
    * 
* * string os_license = 2; - * * @return The bytes for osLicense. */ @java.lang.Override - public com.google.protobuf.ByteString getOsLicenseBytes() { + public com.google.protobuf.ByteString + getOsLicenseBytes() { java.lang.Object ref = osLicense_; 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); osLicense_ = b; return b; } else { @@ -388,7 +336,6 @@ public com.google.protobuf.ByteString getOsLicenseBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -400,7 +347,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 (type_ != com.google.cloud.vmmigration.v1.AppliedLicense.Type.TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(1, type_); } @@ -417,7 +365,8 @@ public int getSerializedSize() { size = 0; if (type_ != com.google.cloud.vmmigration.v1.AppliedLicense.Type.TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, type_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, type_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(osLicense_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, osLicense_); @@ -430,16 +379,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.vmmigration.v1.AppliedLicense)) { return super.equals(obj); } - com.google.cloud.vmmigration.v1.AppliedLicense other = - (com.google.cloud.vmmigration.v1.AppliedLicense) obj; + com.google.cloud.vmmigration.v1.AppliedLicense other = (com.google.cloud.vmmigration.v1.AppliedLicense) obj; if (type_ != other.type_) return false; - if (!getOsLicense().equals(other.getOsLicense())) return false; + if (!getOsLicense() + .equals(other.getOsLicense())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -460,127 +409,118 @@ public int hashCode() { return hash; } - public static com.google.cloud.vmmigration.v1.AppliedLicense parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.vmmigration.v1.AppliedLicense parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.vmmigration.v1.AppliedLicense 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.vmmigration.v1.AppliedLicense parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.vmmigration.v1.AppliedLicense 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.vmmigration.v1.AppliedLicense parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.vmmigration.v1.AppliedLicense 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.vmmigration.v1.AppliedLicense parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.vmmigration.v1.AppliedLicense 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.vmmigration.v1.AppliedLicense parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.vmmigration.v1.AppliedLicense parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.vmmigration.v1.AppliedLicense 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.vmmigration.v1.AppliedLicense 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.vmmigration.v1.AppliedLicense 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.vmmigration.v1.AppliedLicense 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; } /** - * - * *
    * AppliedLicense holds the license data returned by adaptation module report.
    * 
* * Protobuf type {@code google.cloud.vmmigration.v1.AppliedLicense} */ - 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.vmmigration.v1.AppliedLicense) com.google.cloud.vmmigration.v1.AppliedLicenseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_AppliedLicense_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_AppliedLicense_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_AppliedLicense_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_AppliedLicense_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.AppliedLicense.class, - com.google.cloud.vmmigration.v1.AppliedLicense.Builder.class); + com.google.cloud.vmmigration.v1.AppliedLicense.class, com.google.cloud.vmmigration.v1.AppliedLicense.Builder.class); } // Construct using com.google.cloud.vmmigration.v1.AppliedLicense.newBuilder() @@ -588,15 +528,16 @@ 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) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -608,9 +549,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_AppliedLicense_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_AppliedLicense_descriptor; } @java.lang.Override @@ -629,8 +570,7 @@ public com.google.cloud.vmmigration.v1.AppliedLicense build() { @java.lang.Override public com.google.cloud.vmmigration.v1.AppliedLicense buildPartial() { - com.google.cloud.vmmigration.v1.AppliedLicense result = - new com.google.cloud.vmmigration.v1.AppliedLicense(this); + com.google.cloud.vmmigration.v1.AppliedLicense result = new com.google.cloud.vmmigration.v1.AppliedLicense(this); result.type_ = type_; result.osLicense_ = osLicense_; onBuilt(); @@ -641,39 +581,38 @@ public com.google.cloud.vmmigration.v1.AppliedLicense buildPartial() { 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.vmmigration.v1.AppliedLicense) { - return mergeFrom((com.google.cloud.vmmigration.v1.AppliedLicense) other); + return mergeFrom((com.google.cloud.vmmigration.v1.AppliedLicense)other); } else { super.mergeFrom(other); return this; @@ -720,67 +659,51 @@ public Builder mergeFrom( private int type_ = 0; /** - * - * *
      * The license type that was used in OS adaptation.
      * 
* * .google.cloud.vmmigration.v1.AppliedLicense.Type type = 1; - * * @return The enum numeric value on the wire for type. */ - @java.lang.Override - public int getTypeValue() { + @java.lang.Override public int getTypeValue() { return type_; } /** - * - * *
      * The license type that was used in OS adaptation.
      * 
* * .google.cloud.vmmigration.v1.AppliedLicense.Type type = 1; - * * @param value The enum numeric value on the wire for type to set. * @return This builder for chaining. */ public Builder setTypeValue(int value) { - + type_ = value; onChanged(); return this; } /** - * - * *
      * The license type that was used in OS adaptation.
      * 
* * .google.cloud.vmmigration.v1.AppliedLicense.Type type = 1; - * * @return The type. */ @java.lang.Override public com.google.cloud.vmmigration.v1.AppliedLicense.Type getType() { @SuppressWarnings("deprecation") - com.google.cloud.vmmigration.v1.AppliedLicense.Type result = - com.google.cloud.vmmigration.v1.AppliedLicense.Type.valueOf(type_); - return result == null - ? com.google.cloud.vmmigration.v1.AppliedLicense.Type.UNRECOGNIZED - : result; + com.google.cloud.vmmigration.v1.AppliedLicense.Type result = com.google.cloud.vmmigration.v1.AppliedLicense.Type.valueOf(type_); + return result == null ? com.google.cloud.vmmigration.v1.AppliedLicense.Type.UNRECOGNIZED : result; } /** - * - * *
      * The license type that was used in OS adaptation.
      * 
* * .google.cloud.vmmigration.v1.AppliedLicense.Type type = 1; - * * @param value The type to set. * @return This builder for chaining. */ @@ -788,24 +711,21 @@ public Builder setType(com.google.cloud.vmmigration.v1.AppliedLicense.Type value if (value == null) { throw new NullPointerException(); } - + type_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The license type that was used in OS adaptation.
      * 
* * .google.cloud.vmmigration.v1.AppliedLicense.Type type = 1; - * * @return This builder for chaining. */ public Builder clearType() { - + type_ = 0; onChanged(); return this; @@ -813,20 +733,18 @@ public Builder clearType() { private java.lang.Object osLicense_ = ""; /** - * - * *
      * The OS license returned from the adaptation module's report.
      * 
* * string os_license = 2; - * * @return The osLicense. */ public java.lang.String getOsLicense() { java.lang.Object ref = osLicense_; 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(); osLicense_ = s; return s; @@ -835,21 +753,20 @@ public java.lang.String getOsLicense() { } } /** - * - * *
      * The OS license returned from the adaptation module's report.
      * 
* * string os_license = 2; - * * @return The bytes for osLicense. */ - public com.google.protobuf.ByteString getOsLicenseBytes() { + public com.google.protobuf.ByteString + getOsLicenseBytes() { java.lang.Object ref = osLicense_; 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); osLicense_ = b; return b; } else { @@ -857,68 +774,61 @@ public com.google.protobuf.ByteString getOsLicenseBytes() { } } /** - * - * *
      * The OS license returned from the adaptation module's report.
      * 
* * string os_license = 2; - * * @param value The osLicense to set. * @return This builder for chaining. */ - public Builder setOsLicense(java.lang.String value) { + public Builder setOsLicense( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + osLicense_ = value; onChanged(); return this; } /** - * - * *
      * The OS license returned from the adaptation module's report.
      * 
* * string os_license = 2; - * * @return This builder for chaining. */ public Builder clearOsLicense() { - + osLicense_ = getDefaultInstance().getOsLicense(); onChanged(); return this; } /** - * - * *
      * The OS license returned from the adaptation module's report.
      * 
* * string os_license = 2; - * * @param value The bytes for osLicense to set. * @return This builder for chaining. */ - public Builder setOsLicenseBytes(com.google.protobuf.ByteString value) { + public Builder setOsLicenseBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + osLicense_ = 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); } @@ -928,12 +838,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.vmmigration.v1.AppliedLicense) } // @@protoc_insertion_point(class_scope:google.cloud.vmmigration.v1.AppliedLicense) private static final com.google.cloud.vmmigration.v1.AppliedLicense DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.vmmigration.v1.AppliedLicense(); } @@ -942,16 +852,16 @@ public static com.google.cloud.vmmigration.v1.AppliedLicense getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AppliedLicense parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AppliedLicense(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AppliedLicense parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AppliedLicense(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -966,4 +876,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.vmmigration.v1.AppliedLicense getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/AppliedLicenseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/AppliedLicenseOrBuilder.java similarity index 61% rename from proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/AppliedLicenseOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/AppliedLicenseOrBuilder.java index 526b9cb..f01b55a 100644 --- a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/AppliedLicenseOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/AppliedLicenseOrBuilder.java @@ -1,75 +1,48 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; -public interface AppliedLicenseOrBuilder - extends +public interface AppliedLicenseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.AppliedLicense) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The license type that was used in OS adaptation.
    * 
* * .google.cloud.vmmigration.v1.AppliedLicense.Type type = 1; - * * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** - * - * *
    * The license type that was used in OS adaptation.
    * 
* * .google.cloud.vmmigration.v1.AppliedLicense.Type type = 1; - * * @return The type. */ com.google.cloud.vmmigration.v1.AppliedLicense.Type getType(); /** - * - * *
    * The OS license returned from the adaptation module's report.
    * 
* * string os_license = 2; - * * @return The osLicense. */ java.lang.String getOsLicense(); /** - * - * *
    * The OS license returned from the adaptation module's report.
    * 
* * string os_license = 2; - * * @return The bytes for osLicense. */ - com.google.protobuf.ByteString getOsLicenseBytes(); + com.google.protobuf.ByteString + getOsLicenseBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/AvailableUpdates.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/AvailableUpdates.java new file mode 100644 index 0000000..150f2e4 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/AvailableUpdates.java @@ -0,0 +1,949 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/vmmigration/v1/vmmigration.proto + +package com.google.cloud.vmmigration.v1; + +/** + *
+ * Holds informatiom about the available versions for upgrade.
+ * 
+ * + * Protobuf type {@code google.cloud.vmmigration.v1.AvailableUpdates} + */ +public final class AvailableUpdates extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:google.cloud.vmmigration.v1.AvailableUpdates) + AvailableUpdatesOrBuilder { +private static final long serialVersionUID = 0L; + // Use AvailableUpdates.newBuilder() to construct. + private AvailableUpdates(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private AvailableUpdates() { + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new AvailableUpdates(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private AvailableUpdates( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + com.google.cloud.vmmigration.v1.ApplianceVersion.Builder subBuilder = null; + if (newDeployableAppliance_ != null) { + subBuilder = newDeployableAppliance_.toBuilder(); + } + newDeployableAppliance_ = input.readMessage(com.google.cloud.vmmigration.v1.ApplianceVersion.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(newDeployableAppliance_); + newDeployableAppliance_ = subBuilder.buildPartial(); + } + + break; + } + case 18: { + com.google.cloud.vmmigration.v1.ApplianceVersion.Builder subBuilder = null; + if (inPlaceUpdate_ != null) { + subBuilder = inPlaceUpdate_.toBuilder(); + } + inPlaceUpdate_ = input.readMessage(com.google.cloud.vmmigration.v1.ApplianceVersion.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(inPlaceUpdate_); + inPlaceUpdate_ = subBuilder.buildPartial(); + } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_AvailableUpdates_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_AvailableUpdates_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.vmmigration.v1.AvailableUpdates.class, com.google.cloud.vmmigration.v1.AvailableUpdates.Builder.class); + } + + public static final int NEW_DEPLOYABLE_APPLIANCE_FIELD_NUMBER = 1; + private com.google.cloud.vmmigration.v1.ApplianceVersion newDeployableAppliance_; + /** + *
+   * The newest deployable version of the appliance.
+   * The current appliance can't be updated into this version, and the owner
+   * must manually deploy this OVA to a new appliance.
+   * 
+ * + * .google.cloud.vmmigration.v1.ApplianceVersion new_deployable_appliance = 1; + * @return Whether the newDeployableAppliance field is set. + */ + @java.lang.Override + public boolean hasNewDeployableAppliance() { + return newDeployableAppliance_ != null; + } + /** + *
+   * The newest deployable version of the appliance.
+   * The current appliance can't be updated into this version, and the owner
+   * must manually deploy this OVA to a new appliance.
+   * 
+ * + * .google.cloud.vmmigration.v1.ApplianceVersion new_deployable_appliance = 1; + * @return The newDeployableAppliance. + */ + @java.lang.Override + public com.google.cloud.vmmigration.v1.ApplianceVersion getNewDeployableAppliance() { + return newDeployableAppliance_ == null ? com.google.cloud.vmmigration.v1.ApplianceVersion.getDefaultInstance() : newDeployableAppliance_; + } + /** + *
+   * The newest deployable version of the appliance.
+   * The current appliance can't be updated into this version, and the owner
+   * must manually deploy this OVA to a new appliance.
+   * 
+ * + * .google.cloud.vmmigration.v1.ApplianceVersion new_deployable_appliance = 1; + */ + @java.lang.Override + public com.google.cloud.vmmigration.v1.ApplianceVersionOrBuilder getNewDeployableApplianceOrBuilder() { + return getNewDeployableAppliance(); + } + + public static final int IN_PLACE_UPDATE_FIELD_NUMBER = 2; + private com.google.cloud.vmmigration.v1.ApplianceVersion inPlaceUpdate_; + /** + *
+   * The latest version for in place update.
+   * The current appliance can be updated to this version using the API or m4c
+   * CLI.
+   * 
+ * + * .google.cloud.vmmigration.v1.ApplianceVersion in_place_update = 2; + * @return Whether the inPlaceUpdate field is set. + */ + @java.lang.Override + public boolean hasInPlaceUpdate() { + return inPlaceUpdate_ != null; + } + /** + *
+   * The latest version for in place update.
+   * The current appliance can be updated to this version using the API or m4c
+   * CLI.
+   * 
+ * + * .google.cloud.vmmigration.v1.ApplianceVersion in_place_update = 2; + * @return The inPlaceUpdate. + */ + @java.lang.Override + public com.google.cloud.vmmigration.v1.ApplianceVersion getInPlaceUpdate() { + return inPlaceUpdate_ == null ? com.google.cloud.vmmigration.v1.ApplianceVersion.getDefaultInstance() : inPlaceUpdate_; + } + /** + *
+   * The latest version for in place update.
+   * The current appliance can be updated to this version using the API or m4c
+   * CLI.
+   * 
+ * + * .google.cloud.vmmigration.v1.ApplianceVersion in_place_update = 2; + */ + @java.lang.Override + public com.google.cloud.vmmigration.v1.ApplianceVersionOrBuilder getInPlaceUpdateOrBuilder() { + return getInPlaceUpdate(); + } + + 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 (newDeployableAppliance_ != null) { + output.writeMessage(1, getNewDeployableAppliance()); + } + if (inPlaceUpdate_ != null) { + output.writeMessage(2, getInPlaceUpdate()); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (newDeployableAppliance_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getNewDeployableAppliance()); + } + if (inPlaceUpdate_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getInPlaceUpdate()); + } + size += unknownFields.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.vmmigration.v1.AvailableUpdates)) { + return super.equals(obj); + } + com.google.cloud.vmmigration.v1.AvailableUpdates other = (com.google.cloud.vmmigration.v1.AvailableUpdates) obj; + + if (hasNewDeployableAppliance() != other.hasNewDeployableAppliance()) return false; + if (hasNewDeployableAppliance()) { + if (!getNewDeployableAppliance() + .equals(other.getNewDeployableAppliance())) return false; + } + if (hasInPlaceUpdate() != other.hasInPlaceUpdate()) return false; + if (hasInPlaceUpdate()) { + if (!getInPlaceUpdate() + .equals(other.getInPlaceUpdate())) return false; + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasNewDeployableAppliance()) { + hash = (37 * hash) + NEW_DEPLOYABLE_APPLIANCE_FIELD_NUMBER; + hash = (53 * hash) + getNewDeployableAppliance().hashCode(); + } + if (hasInPlaceUpdate()) { + hash = (37 * hash) + IN_PLACE_UPDATE_FIELD_NUMBER; + hash = (53 * hash) + getInPlaceUpdate().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.vmmigration.v1.AvailableUpdates parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.vmmigration.v1.AvailableUpdates 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.vmmigration.v1.AvailableUpdates parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.vmmigration.v1.AvailableUpdates 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.vmmigration.v1.AvailableUpdates parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.vmmigration.v1.AvailableUpdates parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.vmmigration.v1.AvailableUpdates parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.vmmigration.v1.AvailableUpdates 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.vmmigration.v1.AvailableUpdates parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.google.cloud.vmmigration.v1.AvailableUpdates 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.vmmigration.v1.AvailableUpdates parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.vmmigration.v1.AvailableUpdates 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.vmmigration.v1.AvailableUpdates 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; + } + /** + *
+   * Holds informatiom about the available versions for upgrade.
+   * 
+ * + * Protobuf type {@code google.cloud.vmmigration.v1.AvailableUpdates} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:google.cloud.vmmigration.v1.AvailableUpdates) + com.google.cloud.vmmigration.v1.AvailableUpdatesOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_AvailableUpdates_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_AvailableUpdates_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.vmmigration.v1.AvailableUpdates.class, com.google.cloud.vmmigration.v1.AvailableUpdates.Builder.class); + } + + // Construct using com.google.cloud.vmmigration.v1.AvailableUpdates.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + if (newDeployableApplianceBuilder_ == null) { + newDeployableAppliance_ = null; + } else { + newDeployableAppliance_ = null; + newDeployableApplianceBuilder_ = null; + } + if (inPlaceUpdateBuilder_ == null) { + inPlaceUpdate_ = null; + } else { + inPlaceUpdate_ = null; + inPlaceUpdateBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_AvailableUpdates_descriptor; + } + + @java.lang.Override + public com.google.cloud.vmmigration.v1.AvailableUpdates getDefaultInstanceForType() { + return com.google.cloud.vmmigration.v1.AvailableUpdates.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.vmmigration.v1.AvailableUpdates build() { + com.google.cloud.vmmigration.v1.AvailableUpdates result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.vmmigration.v1.AvailableUpdates buildPartial() { + com.google.cloud.vmmigration.v1.AvailableUpdates result = new com.google.cloud.vmmigration.v1.AvailableUpdates(this); + if (newDeployableApplianceBuilder_ == null) { + result.newDeployableAppliance_ = newDeployableAppliance_; + } else { + result.newDeployableAppliance_ = newDeployableApplianceBuilder_.build(); + } + if (inPlaceUpdateBuilder_ == null) { + result.inPlaceUpdate_ = inPlaceUpdate_; + } else { + result.inPlaceUpdate_ = inPlaceUpdateBuilder_.build(); + } + onBuilt(); + return result; + } + + @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.vmmigration.v1.AvailableUpdates) { + return mergeFrom((com.google.cloud.vmmigration.v1.AvailableUpdates)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.vmmigration.v1.AvailableUpdates other) { + if (other == com.google.cloud.vmmigration.v1.AvailableUpdates.getDefaultInstance()) return this; + if (other.hasNewDeployableAppliance()) { + mergeNewDeployableAppliance(other.getNewDeployableAppliance()); + } + if (other.hasInPlaceUpdate()) { + mergeInPlaceUpdate(other.getInPlaceUpdate()); + } + this.mergeUnknownFields(other.unknownFields); + 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 { + com.google.cloud.vmmigration.v1.AvailableUpdates parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.cloud.vmmigration.v1.AvailableUpdates) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private com.google.cloud.vmmigration.v1.ApplianceVersion newDeployableAppliance_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.vmmigration.v1.ApplianceVersion, com.google.cloud.vmmigration.v1.ApplianceVersion.Builder, com.google.cloud.vmmigration.v1.ApplianceVersionOrBuilder> newDeployableApplianceBuilder_; + /** + *
+     * The newest deployable version of the appliance.
+     * The current appliance can't be updated into this version, and the owner
+     * must manually deploy this OVA to a new appliance.
+     * 
+ * + * .google.cloud.vmmigration.v1.ApplianceVersion new_deployable_appliance = 1; + * @return Whether the newDeployableAppliance field is set. + */ + public boolean hasNewDeployableAppliance() { + return newDeployableApplianceBuilder_ != null || newDeployableAppliance_ != null; + } + /** + *
+     * The newest deployable version of the appliance.
+     * The current appliance can't be updated into this version, and the owner
+     * must manually deploy this OVA to a new appliance.
+     * 
+ * + * .google.cloud.vmmigration.v1.ApplianceVersion new_deployable_appliance = 1; + * @return The newDeployableAppliance. + */ + public com.google.cloud.vmmigration.v1.ApplianceVersion getNewDeployableAppliance() { + if (newDeployableApplianceBuilder_ == null) { + return newDeployableAppliance_ == null ? com.google.cloud.vmmigration.v1.ApplianceVersion.getDefaultInstance() : newDeployableAppliance_; + } else { + return newDeployableApplianceBuilder_.getMessage(); + } + } + /** + *
+     * The newest deployable version of the appliance.
+     * The current appliance can't be updated into this version, and the owner
+     * must manually deploy this OVA to a new appliance.
+     * 
+ * + * .google.cloud.vmmigration.v1.ApplianceVersion new_deployable_appliance = 1; + */ + public Builder setNewDeployableAppliance(com.google.cloud.vmmigration.v1.ApplianceVersion value) { + if (newDeployableApplianceBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + newDeployableAppliance_ = value; + onChanged(); + } else { + newDeployableApplianceBuilder_.setMessage(value); + } + + return this; + } + /** + *
+     * The newest deployable version of the appliance.
+     * The current appliance can't be updated into this version, and the owner
+     * must manually deploy this OVA to a new appliance.
+     * 
+ * + * .google.cloud.vmmigration.v1.ApplianceVersion new_deployable_appliance = 1; + */ + public Builder setNewDeployableAppliance( + com.google.cloud.vmmigration.v1.ApplianceVersion.Builder builderForValue) { + if (newDeployableApplianceBuilder_ == null) { + newDeployableAppliance_ = builderForValue.build(); + onChanged(); + } else { + newDeployableApplianceBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + *
+     * The newest deployable version of the appliance.
+     * The current appliance can't be updated into this version, and the owner
+     * must manually deploy this OVA to a new appliance.
+     * 
+ * + * .google.cloud.vmmigration.v1.ApplianceVersion new_deployable_appliance = 1; + */ + public Builder mergeNewDeployableAppliance(com.google.cloud.vmmigration.v1.ApplianceVersion value) { + if (newDeployableApplianceBuilder_ == null) { + if (newDeployableAppliance_ != null) { + newDeployableAppliance_ = + com.google.cloud.vmmigration.v1.ApplianceVersion.newBuilder(newDeployableAppliance_).mergeFrom(value).buildPartial(); + } else { + newDeployableAppliance_ = value; + } + onChanged(); + } else { + newDeployableApplianceBuilder_.mergeFrom(value); + } + + return this; + } + /** + *
+     * The newest deployable version of the appliance.
+     * The current appliance can't be updated into this version, and the owner
+     * must manually deploy this OVA to a new appliance.
+     * 
+ * + * .google.cloud.vmmigration.v1.ApplianceVersion new_deployable_appliance = 1; + */ + public Builder clearNewDeployableAppliance() { + if (newDeployableApplianceBuilder_ == null) { + newDeployableAppliance_ = null; + onChanged(); + } else { + newDeployableAppliance_ = null; + newDeployableApplianceBuilder_ = null; + } + + return this; + } + /** + *
+     * The newest deployable version of the appliance.
+     * The current appliance can't be updated into this version, and the owner
+     * must manually deploy this OVA to a new appliance.
+     * 
+ * + * .google.cloud.vmmigration.v1.ApplianceVersion new_deployable_appliance = 1; + */ + public com.google.cloud.vmmigration.v1.ApplianceVersion.Builder getNewDeployableApplianceBuilder() { + + onChanged(); + return getNewDeployableApplianceFieldBuilder().getBuilder(); + } + /** + *
+     * The newest deployable version of the appliance.
+     * The current appliance can't be updated into this version, and the owner
+     * must manually deploy this OVA to a new appliance.
+     * 
+ * + * .google.cloud.vmmigration.v1.ApplianceVersion new_deployable_appliance = 1; + */ + public com.google.cloud.vmmigration.v1.ApplianceVersionOrBuilder getNewDeployableApplianceOrBuilder() { + if (newDeployableApplianceBuilder_ != null) { + return newDeployableApplianceBuilder_.getMessageOrBuilder(); + } else { + return newDeployableAppliance_ == null ? + com.google.cloud.vmmigration.v1.ApplianceVersion.getDefaultInstance() : newDeployableAppliance_; + } + } + /** + *
+     * The newest deployable version of the appliance.
+     * The current appliance can't be updated into this version, and the owner
+     * must manually deploy this OVA to a new appliance.
+     * 
+ * + * .google.cloud.vmmigration.v1.ApplianceVersion new_deployable_appliance = 1; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.vmmigration.v1.ApplianceVersion, com.google.cloud.vmmigration.v1.ApplianceVersion.Builder, com.google.cloud.vmmigration.v1.ApplianceVersionOrBuilder> + getNewDeployableApplianceFieldBuilder() { + if (newDeployableApplianceBuilder_ == null) { + newDeployableApplianceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.vmmigration.v1.ApplianceVersion, com.google.cloud.vmmigration.v1.ApplianceVersion.Builder, com.google.cloud.vmmigration.v1.ApplianceVersionOrBuilder>( + getNewDeployableAppliance(), + getParentForChildren(), + isClean()); + newDeployableAppliance_ = null; + } + return newDeployableApplianceBuilder_; + } + + private com.google.cloud.vmmigration.v1.ApplianceVersion inPlaceUpdate_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.vmmigration.v1.ApplianceVersion, com.google.cloud.vmmigration.v1.ApplianceVersion.Builder, com.google.cloud.vmmigration.v1.ApplianceVersionOrBuilder> inPlaceUpdateBuilder_; + /** + *
+     * The latest version for in place update.
+     * The current appliance can be updated to this version using the API or m4c
+     * CLI.
+     * 
+ * + * .google.cloud.vmmigration.v1.ApplianceVersion in_place_update = 2; + * @return Whether the inPlaceUpdate field is set. + */ + public boolean hasInPlaceUpdate() { + return inPlaceUpdateBuilder_ != null || inPlaceUpdate_ != null; + } + /** + *
+     * The latest version for in place update.
+     * The current appliance can be updated to this version using the API or m4c
+     * CLI.
+     * 
+ * + * .google.cloud.vmmigration.v1.ApplianceVersion in_place_update = 2; + * @return The inPlaceUpdate. + */ + public com.google.cloud.vmmigration.v1.ApplianceVersion getInPlaceUpdate() { + if (inPlaceUpdateBuilder_ == null) { + return inPlaceUpdate_ == null ? com.google.cloud.vmmigration.v1.ApplianceVersion.getDefaultInstance() : inPlaceUpdate_; + } else { + return inPlaceUpdateBuilder_.getMessage(); + } + } + /** + *
+     * The latest version for in place update.
+     * The current appliance can be updated to this version using the API or m4c
+     * CLI.
+     * 
+ * + * .google.cloud.vmmigration.v1.ApplianceVersion in_place_update = 2; + */ + public Builder setInPlaceUpdate(com.google.cloud.vmmigration.v1.ApplianceVersion value) { + if (inPlaceUpdateBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + inPlaceUpdate_ = value; + onChanged(); + } else { + inPlaceUpdateBuilder_.setMessage(value); + } + + return this; + } + /** + *
+     * The latest version for in place update.
+     * The current appliance can be updated to this version using the API or m4c
+     * CLI.
+     * 
+ * + * .google.cloud.vmmigration.v1.ApplianceVersion in_place_update = 2; + */ + public Builder setInPlaceUpdate( + com.google.cloud.vmmigration.v1.ApplianceVersion.Builder builderForValue) { + if (inPlaceUpdateBuilder_ == null) { + inPlaceUpdate_ = builderForValue.build(); + onChanged(); + } else { + inPlaceUpdateBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + *
+     * The latest version for in place update.
+     * The current appliance can be updated to this version using the API or m4c
+     * CLI.
+     * 
+ * + * .google.cloud.vmmigration.v1.ApplianceVersion in_place_update = 2; + */ + public Builder mergeInPlaceUpdate(com.google.cloud.vmmigration.v1.ApplianceVersion value) { + if (inPlaceUpdateBuilder_ == null) { + if (inPlaceUpdate_ != null) { + inPlaceUpdate_ = + com.google.cloud.vmmigration.v1.ApplianceVersion.newBuilder(inPlaceUpdate_).mergeFrom(value).buildPartial(); + } else { + inPlaceUpdate_ = value; + } + onChanged(); + } else { + inPlaceUpdateBuilder_.mergeFrom(value); + } + + return this; + } + /** + *
+     * The latest version for in place update.
+     * The current appliance can be updated to this version using the API or m4c
+     * CLI.
+     * 
+ * + * .google.cloud.vmmigration.v1.ApplianceVersion in_place_update = 2; + */ + public Builder clearInPlaceUpdate() { + if (inPlaceUpdateBuilder_ == null) { + inPlaceUpdate_ = null; + onChanged(); + } else { + inPlaceUpdate_ = null; + inPlaceUpdateBuilder_ = null; + } + + return this; + } + /** + *
+     * The latest version for in place update.
+     * The current appliance can be updated to this version using the API or m4c
+     * CLI.
+     * 
+ * + * .google.cloud.vmmigration.v1.ApplianceVersion in_place_update = 2; + */ + public com.google.cloud.vmmigration.v1.ApplianceVersion.Builder getInPlaceUpdateBuilder() { + + onChanged(); + return getInPlaceUpdateFieldBuilder().getBuilder(); + } + /** + *
+     * The latest version for in place update.
+     * The current appliance can be updated to this version using the API or m4c
+     * CLI.
+     * 
+ * + * .google.cloud.vmmigration.v1.ApplianceVersion in_place_update = 2; + */ + public com.google.cloud.vmmigration.v1.ApplianceVersionOrBuilder getInPlaceUpdateOrBuilder() { + if (inPlaceUpdateBuilder_ != null) { + return inPlaceUpdateBuilder_.getMessageOrBuilder(); + } else { + return inPlaceUpdate_ == null ? + com.google.cloud.vmmigration.v1.ApplianceVersion.getDefaultInstance() : inPlaceUpdate_; + } + } + /** + *
+     * The latest version for in place update.
+     * The current appliance can be updated to this version using the API or m4c
+     * CLI.
+     * 
+ * + * .google.cloud.vmmigration.v1.ApplianceVersion in_place_update = 2; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.vmmigration.v1.ApplianceVersion, com.google.cloud.vmmigration.v1.ApplianceVersion.Builder, com.google.cloud.vmmigration.v1.ApplianceVersionOrBuilder> + getInPlaceUpdateFieldBuilder() { + if (inPlaceUpdateBuilder_ == null) { + inPlaceUpdateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.vmmigration.v1.ApplianceVersion, com.google.cloud.vmmigration.v1.ApplianceVersion.Builder, com.google.cloud.vmmigration.v1.ApplianceVersionOrBuilder>( + getInPlaceUpdate(), + getParentForChildren(), + isClean()); + inPlaceUpdate_ = null; + } + return inPlaceUpdateBuilder_; + } + @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.vmmigration.v1.AvailableUpdates) + } + + // @@protoc_insertion_point(class_scope:google.cloud.vmmigration.v1.AvailableUpdates) + private static final com.google.cloud.vmmigration.v1.AvailableUpdates DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.google.cloud.vmmigration.v1.AvailableUpdates(); + } + + public static com.google.cloud.vmmigration.v1.AvailableUpdates getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AvailableUpdates parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AvailableUpdates(input, extensionRegistry); + } + }; + + 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.vmmigration.v1.AvailableUpdates getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/AvailableUpdatesOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/AvailableUpdatesOrBuilder.java new file mode 100644 index 0000000..dc8c5ec --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/AvailableUpdatesOrBuilder.java @@ -0,0 +1,75 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/vmmigration/v1/vmmigration.proto + +package com.google.cloud.vmmigration.v1; + +public interface AvailableUpdatesOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.AvailableUpdates) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * The newest deployable version of the appliance.
+   * The current appliance can't be updated into this version, and the owner
+   * must manually deploy this OVA to a new appliance.
+   * 
+ * + * .google.cloud.vmmigration.v1.ApplianceVersion new_deployable_appliance = 1; + * @return Whether the newDeployableAppliance field is set. + */ + boolean hasNewDeployableAppliance(); + /** + *
+   * The newest deployable version of the appliance.
+   * The current appliance can't be updated into this version, and the owner
+   * must manually deploy this OVA to a new appliance.
+   * 
+ * + * .google.cloud.vmmigration.v1.ApplianceVersion new_deployable_appliance = 1; + * @return The newDeployableAppliance. + */ + com.google.cloud.vmmigration.v1.ApplianceVersion getNewDeployableAppliance(); + /** + *
+   * The newest deployable version of the appliance.
+   * The current appliance can't be updated into this version, and the owner
+   * must manually deploy this OVA to a new appliance.
+   * 
+ * + * .google.cloud.vmmigration.v1.ApplianceVersion new_deployable_appliance = 1; + */ + com.google.cloud.vmmigration.v1.ApplianceVersionOrBuilder getNewDeployableApplianceOrBuilder(); + + /** + *
+   * The latest version for in place update.
+   * The current appliance can be updated to this version using the API or m4c
+   * CLI.
+   * 
+ * + * .google.cloud.vmmigration.v1.ApplianceVersion in_place_update = 2; + * @return Whether the inPlaceUpdate field is set. + */ + boolean hasInPlaceUpdate(); + /** + *
+   * The latest version for in place update.
+   * The current appliance can be updated to this version using the API or m4c
+   * CLI.
+   * 
+ * + * .google.cloud.vmmigration.v1.ApplianceVersion in_place_update = 2; + * @return The inPlaceUpdate. + */ + com.google.cloud.vmmigration.v1.ApplianceVersion getInPlaceUpdate(); + /** + *
+   * The latest version for in place update.
+   * The current appliance can be updated to this version using the API or m4c
+   * CLI.
+   * 
+ * + * .google.cloud.vmmigration.v1.ApplianceVersion in_place_update = 2; + */ + com.google.cloud.vmmigration.v1.ApplianceVersionOrBuilder getInPlaceUpdateOrBuilder(); +} diff --git a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CancelCloneJobRequest.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CancelCloneJobRequest.java similarity index 64% rename from proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CancelCloneJobRequest.java rename to owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CancelCloneJobRequest.java index 7d98767..36331c3 100644 --- a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CancelCloneJobRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CancelCloneJobRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; /** - * - * *
  * Request message for 'CancelCloneJob' request.
  * 
* * Protobuf type {@code google.cloud.vmmigration.v1.CancelCloneJobRequest} */ -public final class CancelCloneJobRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CancelCloneJobRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.vmmigration.v1.CancelCloneJobRequest) CancelCloneJobRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CancelCloneJobRequest.newBuilder() to construct. private CancelCloneJobRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CancelCloneJobRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CancelCloneJobRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private CancelCloneJobRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private CancelCloneJobRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,41 +73,34 @@ private CancelCloneJobRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_CancelCloneJobRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_CancelCloneJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_CancelCloneJobRequest_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_CancelCloneJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.CancelCloneJobRequest.class, - com.google.cloud.vmmigration.v1.CancelCloneJobRequest.Builder.class); + com.google.cloud.vmmigration.v1.CancelCloneJobRequest.class, com.google.cloud.vmmigration.v1.CancelCloneJobRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The clone job 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 @@ -134,31 +109,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; } } /** - * - * *
    * Required. The clone job 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 { @@ -167,7 +140,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -179,7 +151,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_); } @@ -203,15 +176,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.vmmigration.v1.CancelCloneJobRequest)) { return super.equals(obj); } - com.google.cloud.vmmigration.v1.CancelCloneJobRequest other = - (com.google.cloud.vmmigration.v1.CancelCloneJobRequest) obj; + com.google.cloud.vmmigration.v1.CancelCloneJobRequest other = (com.google.cloud.vmmigration.v1.CancelCloneJobRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -231,127 +204,117 @@ public int hashCode() { } public static com.google.cloud.vmmigration.v1.CancelCloneJobRequest 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.vmmigration.v1.CancelCloneJobRequest 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.vmmigration.v1.CancelCloneJobRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.vmmigration.v1.CancelCloneJobRequest 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.vmmigration.v1.CancelCloneJobRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.vmmigration.v1.CancelCloneJobRequest 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.vmmigration.v1.CancelCloneJobRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.vmmigration.v1.CancelCloneJobRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.vmmigration.v1.CancelCloneJobRequest 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.vmmigration.v1.CancelCloneJobRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.vmmigration.v1.CancelCloneJobRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.vmmigration.v1.CancelCloneJobRequest 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.vmmigration.v1.CancelCloneJobRequest 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.vmmigration.v1.CancelCloneJobRequest 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.vmmigration.v1.CancelCloneJobRequest prototype) { + public static Builder newBuilder(com.google.cloud.vmmigration.v1.CancelCloneJobRequest 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 message for 'CancelCloneJob' request.
    * 
* * Protobuf type {@code google.cloud.vmmigration.v1.CancelCloneJobRequest} */ - 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.vmmigration.v1.CancelCloneJobRequest) com.google.cloud.vmmigration.v1.CancelCloneJobRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_CancelCloneJobRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_CancelCloneJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_CancelCloneJobRequest_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_CancelCloneJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.CancelCloneJobRequest.class, - com.google.cloud.vmmigration.v1.CancelCloneJobRequest.Builder.class); + com.google.cloud.vmmigration.v1.CancelCloneJobRequest.class, com.google.cloud.vmmigration.v1.CancelCloneJobRequest.Builder.class); } // Construct using com.google.cloud.vmmigration.v1.CancelCloneJobRequest.newBuilder() @@ -359,15 +322,16 @@ 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) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -377,9 +341,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_CancelCloneJobRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_CancelCloneJobRequest_descriptor; } @java.lang.Override @@ -398,8 +362,7 @@ public com.google.cloud.vmmigration.v1.CancelCloneJobRequest build() { @java.lang.Override public com.google.cloud.vmmigration.v1.CancelCloneJobRequest buildPartial() { - com.google.cloud.vmmigration.v1.CancelCloneJobRequest result = - new com.google.cloud.vmmigration.v1.CancelCloneJobRequest(this); + com.google.cloud.vmmigration.v1.CancelCloneJobRequest result = new com.google.cloud.vmmigration.v1.CancelCloneJobRequest(this); result.name_ = name_; onBuilt(); return result; @@ -409,39 +372,38 @@ public com.google.cloud.vmmigration.v1.CancelCloneJobRequest buildPartial() { 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.vmmigration.v1.CancelCloneJobRequest) { - return mergeFrom((com.google.cloud.vmmigration.v1.CancelCloneJobRequest) other); + return mergeFrom((com.google.cloud.vmmigration.v1.CancelCloneJobRequest)other); } else { super.mergeFrom(other); return this; @@ -449,8 +411,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.vmmigration.v1.CancelCloneJobRequest other) { - if (other == com.google.cloud.vmmigration.v1.CancelCloneJobRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.vmmigration.v1.CancelCloneJobRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -474,8 +435,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.vmmigration.v1.CancelCloneJobRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.vmmigration.v1.CancelCloneJobRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -487,22 +447,18 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The clone job 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; @@ -511,23 +467,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The clone job 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 { @@ -535,74 +488,61 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The clone job 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The clone job 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() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The clone job 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) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = 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); } @@ -612,12 +552,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.vmmigration.v1.CancelCloneJobRequest) } // @@protoc_insertion_point(class_scope:google.cloud.vmmigration.v1.CancelCloneJobRequest) private static final com.google.cloud.vmmigration.v1.CancelCloneJobRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.vmmigration.v1.CancelCloneJobRequest(); } @@ -626,16 +566,16 @@ public static com.google.cloud.vmmigration.v1.CancelCloneJobRequest getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CancelCloneJobRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CancelCloneJobRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CancelCloneJobRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CancelCloneJobRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -650,4 +590,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.vmmigration.v1.CancelCloneJobRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CancelCloneJobRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CancelCloneJobRequestOrBuilder.java new file mode 100644 index 0000000..cfc200d --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CancelCloneJobRequestOrBuilder.java @@ -0,0 +1,29 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/vmmigration/v1/vmmigration.proto + +package com.google.cloud.vmmigration.v1; + +public interface CancelCloneJobRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.CancelCloneJobRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The clone job id
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The clone job 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/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CancelCloneJobResponse.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CancelCloneJobResponse.java similarity index 65% rename from proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CancelCloneJobResponse.java rename to owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CancelCloneJobResponse.java index a92aeb4..2fad11e 100644 --- a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CancelCloneJobResponse.java +++ b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CancelCloneJobResponse.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; /** - * - * *
  * Response message for 'CancelCloneJob' request.
  * 
* * Protobuf type {@code google.cloud.vmmigration.v1.CancelCloneJobResponse} */ -public final class CancelCloneJobResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CancelCloneJobResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.vmmigration.v1.CancelCloneJobResponse) CancelCloneJobResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CancelCloneJobResponse.newBuilder() to construct. private CancelCloneJobResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private CancelCloneJobResponse() {} + private CancelCloneJobResponse() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CancelCloneJobResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private CancelCloneJobResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,13 +52,13 @@ private CancelCloneJobResponse( case 0: done = true; break; - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -82,30 +66,27 @@ private CancelCloneJobResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_CancelCloneJobResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_CancelCloneJobResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_CancelCloneJobResponse_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_CancelCloneJobResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.CancelCloneJobResponse.class, - com.google.cloud.vmmigration.v1.CancelCloneJobResponse.Builder.class); + com.google.cloud.vmmigration.v1.CancelCloneJobResponse.class, com.google.cloud.vmmigration.v1.CancelCloneJobResponse.Builder.class); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -117,7 +98,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 { unknownFields.writeTo(output); } @@ -135,13 +117,12 @@ 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.vmmigration.v1.CancelCloneJobResponse)) { return super.equals(obj); } - com.google.cloud.vmmigration.v1.CancelCloneJobResponse other = - (com.google.cloud.vmmigration.v1.CancelCloneJobResponse) obj; + com.google.cloud.vmmigration.v1.CancelCloneJobResponse other = (com.google.cloud.vmmigration.v1.CancelCloneJobResponse) obj; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -160,127 +141,117 @@ public int hashCode() { } public static com.google.cloud.vmmigration.v1.CancelCloneJobResponse 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.vmmigration.v1.CancelCloneJobResponse 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.vmmigration.v1.CancelCloneJobResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.vmmigration.v1.CancelCloneJobResponse 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.vmmigration.v1.CancelCloneJobResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.vmmigration.v1.CancelCloneJobResponse 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.vmmigration.v1.CancelCloneJobResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.vmmigration.v1.CancelCloneJobResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.vmmigration.v1.CancelCloneJobResponse 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.vmmigration.v1.CancelCloneJobResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.vmmigration.v1.CancelCloneJobResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.vmmigration.v1.CancelCloneJobResponse 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.vmmigration.v1.CancelCloneJobResponse 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.vmmigration.v1.CancelCloneJobResponse 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.vmmigration.v1.CancelCloneJobResponse prototype) { + public static Builder newBuilder(com.google.cloud.vmmigration.v1.CancelCloneJobResponse 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; } /** - * - * *
    * Response message for 'CancelCloneJob' request.
    * 
* * Protobuf type {@code google.cloud.vmmigration.v1.CancelCloneJobResponse} */ - 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.vmmigration.v1.CancelCloneJobResponse) com.google.cloud.vmmigration.v1.CancelCloneJobResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_CancelCloneJobResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_CancelCloneJobResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_CancelCloneJobResponse_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_CancelCloneJobResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.CancelCloneJobResponse.class, - com.google.cloud.vmmigration.v1.CancelCloneJobResponse.Builder.class); + com.google.cloud.vmmigration.v1.CancelCloneJobResponse.class, com.google.cloud.vmmigration.v1.CancelCloneJobResponse.Builder.class); } // Construct using com.google.cloud.vmmigration.v1.CancelCloneJobResponse.newBuilder() @@ -288,15 +259,16 @@ 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) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -304,9 +276,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_CancelCloneJobResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_CancelCloneJobResponse_descriptor; } @java.lang.Override @@ -325,8 +297,7 @@ public com.google.cloud.vmmigration.v1.CancelCloneJobResponse build() { @java.lang.Override public com.google.cloud.vmmigration.v1.CancelCloneJobResponse buildPartial() { - com.google.cloud.vmmigration.v1.CancelCloneJobResponse result = - new com.google.cloud.vmmigration.v1.CancelCloneJobResponse(this); + com.google.cloud.vmmigration.v1.CancelCloneJobResponse result = new com.google.cloud.vmmigration.v1.CancelCloneJobResponse(this); onBuilt(); return result; } @@ -335,39 +306,38 @@ public com.google.cloud.vmmigration.v1.CancelCloneJobResponse buildPartial() { 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.vmmigration.v1.CancelCloneJobResponse) { - return mergeFrom((com.google.cloud.vmmigration.v1.CancelCloneJobResponse) other); + return mergeFrom((com.google.cloud.vmmigration.v1.CancelCloneJobResponse)other); } else { super.mergeFrom(other); return this; @@ -375,8 +345,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.vmmigration.v1.CancelCloneJobResponse other) { - if (other == com.google.cloud.vmmigration.v1.CancelCloneJobResponse.getDefaultInstance()) - return this; + if (other == com.google.cloud.vmmigration.v1.CancelCloneJobResponse.getDefaultInstance()) return this; this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -396,8 +365,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.vmmigration.v1.CancelCloneJobResponse) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.vmmigration.v1.CancelCloneJobResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -406,9 +374,9 @@ public Builder mergeFrom( } 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); } @@ -418,12 +386,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.vmmigration.v1.CancelCloneJobResponse) } // @@protoc_insertion_point(class_scope:google.cloud.vmmigration.v1.CancelCloneJobResponse) private static final com.google.cloud.vmmigration.v1.CancelCloneJobResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.vmmigration.v1.CancelCloneJobResponse(); } @@ -432,16 +400,16 @@ public static com.google.cloud.vmmigration.v1.CancelCloneJobResponse getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CancelCloneJobResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CancelCloneJobResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CancelCloneJobResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CancelCloneJobResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -456,4 +424,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.vmmigration.v1.CancelCloneJobResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CancelCloneJobResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CancelCloneJobResponseOrBuilder.java new file mode 100644 index 0000000..480bd7b --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CancelCloneJobResponseOrBuilder.java @@ -0,0 +1,9 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/vmmigration/v1/vmmigration.proto + +package com.google.cloud.vmmigration.v1; + +public interface CancelCloneJobResponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.CancelCloneJobResponse) + com.google.protobuf.MessageOrBuilder { +} diff --git a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CancelCutoverJobRequest.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CancelCutoverJobRequest.java similarity index 64% rename from proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CancelCutoverJobRequest.java rename to owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CancelCutoverJobRequest.java index 151a1cd..db47a66 100644 --- a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CancelCutoverJobRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CancelCutoverJobRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; /** - * - * *
  * Request message for 'CancelCutoverJob' request.
  * 
* * Protobuf type {@code google.cloud.vmmigration.v1.CancelCutoverJobRequest} */ -public final class CancelCutoverJobRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CancelCutoverJobRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.vmmigration.v1.CancelCutoverJobRequest) CancelCutoverJobRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CancelCutoverJobRequest.newBuilder() to construct. private CancelCutoverJobRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CancelCutoverJobRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CancelCutoverJobRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private CancelCutoverJobRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private CancelCutoverJobRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,41 +73,34 @@ private CancelCutoverJobRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_CancelCutoverJobRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_CancelCutoverJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_CancelCutoverJobRequest_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_CancelCutoverJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.CancelCutoverJobRequest.class, - com.google.cloud.vmmigration.v1.CancelCutoverJobRequest.Builder.class); + com.google.cloud.vmmigration.v1.CancelCutoverJobRequest.class, com.google.cloud.vmmigration.v1.CancelCutoverJobRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The cutover job 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 @@ -134,31 +109,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; } } /** - * - * *
    * Required. The cutover job 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 { @@ -167,7 +140,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -179,7 +151,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_); } @@ -203,15 +176,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.vmmigration.v1.CancelCutoverJobRequest)) { return super.equals(obj); } - com.google.cloud.vmmigration.v1.CancelCutoverJobRequest other = - (com.google.cloud.vmmigration.v1.CancelCutoverJobRequest) obj; + com.google.cloud.vmmigration.v1.CancelCutoverJobRequest other = (com.google.cloud.vmmigration.v1.CancelCutoverJobRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -231,127 +204,117 @@ public int hashCode() { } public static com.google.cloud.vmmigration.v1.CancelCutoverJobRequest 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.vmmigration.v1.CancelCutoverJobRequest 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.vmmigration.v1.CancelCutoverJobRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.vmmigration.v1.CancelCutoverJobRequest 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.vmmigration.v1.CancelCutoverJobRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.vmmigration.v1.CancelCutoverJobRequest 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.vmmigration.v1.CancelCutoverJobRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.vmmigration.v1.CancelCutoverJobRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.vmmigration.v1.CancelCutoverJobRequest 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.vmmigration.v1.CancelCutoverJobRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.vmmigration.v1.CancelCutoverJobRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.vmmigration.v1.CancelCutoverJobRequest 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.vmmigration.v1.CancelCutoverJobRequest 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.vmmigration.v1.CancelCutoverJobRequest 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.vmmigration.v1.CancelCutoverJobRequest prototype) { + public static Builder newBuilder(com.google.cloud.vmmigration.v1.CancelCutoverJobRequest 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 message for 'CancelCutoverJob' request.
    * 
* * Protobuf type {@code google.cloud.vmmigration.v1.CancelCutoverJobRequest} */ - 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.vmmigration.v1.CancelCutoverJobRequest) com.google.cloud.vmmigration.v1.CancelCutoverJobRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_CancelCutoverJobRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_CancelCutoverJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_CancelCutoverJobRequest_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_CancelCutoverJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.CancelCutoverJobRequest.class, - com.google.cloud.vmmigration.v1.CancelCutoverJobRequest.Builder.class); + com.google.cloud.vmmigration.v1.CancelCutoverJobRequest.class, com.google.cloud.vmmigration.v1.CancelCutoverJobRequest.Builder.class); } // Construct using com.google.cloud.vmmigration.v1.CancelCutoverJobRequest.newBuilder() @@ -359,15 +322,16 @@ 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) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -377,9 +341,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_CancelCutoverJobRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_CancelCutoverJobRequest_descriptor; } @java.lang.Override @@ -398,8 +362,7 @@ public com.google.cloud.vmmigration.v1.CancelCutoverJobRequest build() { @java.lang.Override public com.google.cloud.vmmigration.v1.CancelCutoverJobRequest buildPartial() { - com.google.cloud.vmmigration.v1.CancelCutoverJobRequest result = - new com.google.cloud.vmmigration.v1.CancelCutoverJobRequest(this); + com.google.cloud.vmmigration.v1.CancelCutoverJobRequest result = new com.google.cloud.vmmigration.v1.CancelCutoverJobRequest(this); result.name_ = name_; onBuilt(); return result; @@ -409,39 +372,38 @@ public com.google.cloud.vmmigration.v1.CancelCutoverJobRequest buildPartial() { 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.vmmigration.v1.CancelCutoverJobRequest) { - return mergeFrom((com.google.cloud.vmmigration.v1.CancelCutoverJobRequest) other); + return mergeFrom((com.google.cloud.vmmigration.v1.CancelCutoverJobRequest)other); } else { super.mergeFrom(other); return this; @@ -449,8 +411,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.vmmigration.v1.CancelCutoverJobRequest other) { - if (other == com.google.cloud.vmmigration.v1.CancelCutoverJobRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.vmmigration.v1.CancelCutoverJobRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -474,8 +435,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.vmmigration.v1.CancelCutoverJobRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.vmmigration.v1.CancelCutoverJobRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -487,22 +447,18 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The cutover job 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; @@ -511,23 +467,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The cutover job 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 { @@ -535,74 +488,61 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The cutover job 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The cutover job 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() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The cutover job 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) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = 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); } @@ -612,12 +552,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.vmmigration.v1.CancelCutoverJobRequest) } // @@protoc_insertion_point(class_scope:google.cloud.vmmigration.v1.CancelCutoverJobRequest) private static final com.google.cloud.vmmigration.v1.CancelCutoverJobRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.vmmigration.v1.CancelCutoverJobRequest(); } @@ -626,16 +566,16 @@ public static com.google.cloud.vmmigration.v1.CancelCutoverJobRequest getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CancelCutoverJobRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CancelCutoverJobRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CancelCutoverJobRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CancelCutoverJobRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -650,4 +590,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.vmmigration.v1.CancelCutoverJobRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CancelCutoverJobRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CancelCutoverJobRequestOrBuilder.java new file mode 100644 index 0000000..eb0b31c --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CancelCutoverJobRequestOrBuilder.java @@ -0,0 +1,29 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/vmmigration/v1/vmmigration.proto + +package com.google.cloud.vmmigration.v1; + +public interface CancelCutoverJobRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.CancelCutoverJobRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The cutover job id
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The cutover job 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/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CancelCutoverJobResponse.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CancelCutoverJobResponse.java similarity index 65% rename from proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CancelCutoverJobResponse.java rename to owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CancelCutoverJobResponse.java index b0b9915..d822ca3 100644 --- a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CancelCutoverJobResponse.java +++ b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CancelCutoverJobResponse.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; /** - * - * *
  * Response message for 'CancelCutoverJob' request.
  * 
* * Protobuf type {@code google.cloud.vmmigration.v1.CancelCutoverJobResponse} */ -public final class CancelCutoverJobResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CancelCutoverJobResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.vmmigration.v1.CancelCutoverJobResponse) CancelCutoverJobResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CancelCutoverJobResponse.newBuilder() to construct. private CancelCutoverJobResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private CancelCutoverJobResponse() {} + private CancelCutoverJobResponse() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CancelCutoverJobResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private CancelCutoverJobResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,13 +52,13 @@ private CancelCutoverJobResponse( case 0: done = true; break; - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -82,30 +66,27 @@ private CancelCutoverJobResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_CancelCutoverJobResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_CancelCutoverJobResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_CancelCutoverJobResponse_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_CancelCutoverJobResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.CancelCutoverJobResponse.class, - com.google.cloud.vmmigration.v1.CancelCutoverJobResponse.Builder.class); + com.google.cloud.vmmigration.v1.CancelCutoverJobResponse.class, com.google.cloud.vmmigration.v1.CancelCutoverJobResponse.Builder.class); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -117,7 +98,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 { unknownFields.writeTo(output); } @@ -135,13 +117,12 @@ 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.vmmigration.v1.CancelCutoverJobResponse)) { return super.equals(obj); } - com.google.cloud.vmmigration.v1.CancelCutoverJobResponse other = - (com.google.cloud.vmmigration.v1.CancelCutoverJobResponse) obj; + com.google.cloud.vmmigration.v1.CancelCutoverJobResponse other = (com.google.cloud.vmmigration.v1.CancelCutoverJobResponse) obj; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -160,127 +141,117 @@ public int hashCode() { } public static com.google.cloud.vmmigration.v1.CancelCutoverJobResponse 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.vmmigration.v1.CancelCutoverJobResponse 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.vmmigration.v1.CancelCutoverJobResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.vmmigration.v1.CancelCutoverJobResponse 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.vmmigration.v1.CancelCutoverJobResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.vmmigration.v1.CancelCutoverJobResponse 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.vmmigration.v1.CancelCutoverJobResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.vmmigration.v1.CancelCutoverJobResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.vmmigration.v1.CancelCutoverJobResponse 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.vmmigration.v1.CancelCutoverJobResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.vmmigration.v1.CancelCutoverJobResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.vmmigration.v1.CancelCutoverJobResponse 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.vmmigration.v1.CancelCutoverJobResponse 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.vmmigration.v1.CancelCutoverJobResponse 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.vmmigration.v1.CancelCutoverJobResponse prototype) { + public static Builder newBuilder(com.google.cloud.vmmigration.v1.CancelCutoverJobResponse 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; } /** - * - * *
    * Response message for 'CancelCutoverJob' request.
    * 
* * Protobuf type {@code google.cloud.vmmigration.v1.CancelCutoverJobResponse} */ - 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.vmmigration.v1.CancelCutoverJobResponse) com.google.cloud.vmmigration.v1.CancelCutoverJobResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_CancelCutoverJobResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_CancelCutoverJobResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_CancelCutoverJobResponse_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_CancelCutoverJobResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.CancelCutoverJobResponse.class, - com.google.cloud.vmmigration.v1.CancelCutoverJobResponse.Builder.class); + com.google.cloud.vmmigration.v1.CancelCutoverJobResponse.class, com.google.cloud.vmmigration.v1.CancelCutoverJobResponse.Builder.class); } // Construct using com.google.cloud.vmmigration.v1.CancelCutoverJobResponse.newBuilder() @@ -288,15 +259,16 @@ 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) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -304,9 +276,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_CancelCutoverJobResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_CancelCutoverJobResponse_descriptor; } @java.lang.Override @@ -325,8 +297,7 @@ public com.google.cloud.vmmigration.v1.CancelCutoverJobResponse build() { @java.lang.Override public com.google.cloud.vmmigration.v1.CancelCutoverJobResponse buildPartial() { - com.google.cloud.vmmigration.v1.CancelCutoverJobResponse result = - new com.google.cloud.vmmigration.v1.CancelCutoverJobResponse(this); + com.google.cloud.vmmigration.v1.CancelCutoverJobResponse result = new com.google.cloud.vmmigration.v1.CancelCutoverJobResponse(this); onBuilt(); return result; } @@ -335,39 +306,38 @@ public com.google.cloud.vmmigration.v1.CancelCutoverJobResponse buildPartial() { 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.vmmigration.v1.CancelCutoverJobResponse) { - return mergeFrom((com.google.cloud.vmmigration.v1.CancelCutoverJobResponse) other); + return mergeFrom((com.google.cloud.vmmigration.v1.CancelCutoverJobResponse)other); } else { super.mergeFrom(other); return this; @@ -375,8 +345,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.vmmigration.v1.CancelCutoverJobResponse other) { - if (other == com.google.cloud.vmmigration.v1.CancelCutoverJobResponse.getDefaultInstance()) - return this; + if (other == com.google.cloud.vmmigration.v1.CancelCutoverJobResponse.getDefaultInstance()) return this; this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -396,8 +365,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.vmmigration.v1.CancelCutoverJobResponse) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.vmmigration.v1.CancelCutoverJobResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -406,9 +374,9 @@ public Builder mergeFrom( } 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); } @@ -418,12 +386,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.vmmigration.v1.CancelCutoverJobResponse) } // @@protoc_insertion_point(class_scope:google.cloud.vmmigration.v1.CancelCutoverJobResponse) private static final com.google.cloud.vmmigration.v1.CancelCutoverJobResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.vmmigration.v1.CancelCutoverJobResponse(); } @@ -432,16 +400,16 @@ public static com.google.cloud.vmmigration.v1.CancelCutoverJobResponse getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CancelCutoverJobResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CancelCutoverJobResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CancelCutoverJobResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CancelCutoverJobResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -456,4 +424,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.vmmigration.v1.CancelCutoverJobResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CancelCutoverJobResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CancelCutoverJobResponseOrBuilder.java new file mode 100644 index 0000000..07168f1 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CancelCutoverJobResponseOrBuilder.java @@ -0,0 +1,9 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/vmmigration/v1/vmmigration.proto + +package com.google.cloud.vmmigration.v1; + +public interface CancelCutoverJobResponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.CancelCutoverJobResponse) + com.google.protobuf.MessageOrBuilder { +} diff --git a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CloneJob.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CloneJob.java similarity index 61% rename from proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CloneJob.java rename to owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CloneJob.java index 734677a..eaf2b26 100644 --- a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CloneJob.java +++ b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CloneJob.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; /** - * - * *
  * CloneJob describes the process of creating a clone of a
  * [MigratingVM][google.cloud.vmmigration.v1.MigratingVm] to the
@@ -36,16 +19,15 @@
  *
  * Protobuf type {@code google.cloud.vmmigration.v1.CloneJob}
  */
-public final class CloneJob extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class CloneJob extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.vmmigration.v1.CloneJob)
     CloneJobOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use CloneJob.newBuilder() to construct.
   private CloneJob(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private CloneJob() {
     name_ = "";
     state_ = 0;
@@ -53,15 +35,16 @@ private CloneJob() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new CloneJob();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private CloneJob(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -80,91 +63,91 @@ private CloneJob(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              com.google.protobuf.Timestamp.Builder subBuilder = null;
-              if (createTime_ != null) {
-                subBuilder = createTime_.toBuilder();
-              }
-              createTime_ =
-                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(createTime_);
-                createTime_ = subBuilder.buildPartial();
-              }
-
-              break;
+          case 10: {
+            com.google.protobuf.Timestamp.Builder subBuilder = null;
+            if (createTime_ != null) {
+              subBuilder = createTime_.toBuilder();
+            }
+            createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(createTime_);
+              createTime_ = subBuilder.buildPartial();
             }
-          case 26:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
 
-              name_ = s;
-              break;
+            break;
+          }
+          case 26: {
+            java.lang.String s = input.readStringRequireUtf8();
+
+            name_ = s;
+            break;
+          }
+          case 96: {
+            int rawValue = input.readEnum();
+
+            state_ = rawValue;
+            break;
+          }
+          case 114: {
+            com.google.protobuf.Timestamp.Builder subBuilder = null;
+            if (stateTime_ != null) {
+              subBuilder = stateTime_.toBuilder();
+            }
+            stateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(stateTime_);
+              stateTime_ = subBuilder.buildPartial();
             }
-          case 96:
-            {
-              int rawValue = input.readEnum();
 
-              state_ = rawValue;
-              break;
+            break;
+          }
+          case 138: {
+            com.google.rpc.Status.Builder subBuilder = null;
+            if (error_ != null) {
+              subBuilder = error_.toBuilder();
+            }
+            error_ = input.readMessage(com.google.rpc.Status.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(error_);
+              error_ = subBuilder.buildPartial();
             }
-          case 114:
-            {
-              com.google.protobuf.Timestamp.Builder subBuilder = null;
-              if (stateTime_ != null) {
-                subBuilder = stateTime_.toBuilder();
-              }
-              stateTime_ =
-                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(stateTime_);
-                stateTime_ = subBuilder.buildPartial();
-              }
-
-              break;
+
+            break;
+          }
+          case 162: {
+            com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails.Builder subBuilder = null;
+            if (targetVmDetailsCase_ == 20) {
+              subBuilder = ((com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails) targetVmDetails_).toBuilder();
             }
-          case 138:
-            {
-              com.google.rpc.Status.Builder subBuilder = null;
-              if (error_ != null) {
-                subBuilder = error_.toBuilder();
-              }
-              error_ = input.readMessage(com.google.rpc.Status.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(error_);
-                error_ = subBuilder.buildPartial();
-              }
-
-              break;
+            targetVmDetails_ =
+                input.readMessage(com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom((com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails) targetVmDetails_);
+              targetVmDetails_ = subBuilder.buildPartial();
             }
-          case 162:
-            {
-              com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails.Builder subBuilder = null;
-              if (targetVmDetailsCase_ == 20) {
-                subBuilder =
-                    ((com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails) targetVmDetails_)
-                        .toBuilder();
-              }
-              targetVmDetails_ =
-                  input.readMessage(
-                      com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails.parser(),
-                      extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(
-                    (com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails) targetVmDetails_);
-                targetVmDetails_ = subBuilder.buildPartial();
-              }
-              targetVmDetailsCase_ = 20;
-              break;
+            targetVmDetailsCase_ = 20;
+            break;
+          }
+          case 178: {
+            com.google.protobuf.Timestamp.Builder subBuilder = null;
+            if (endTime_ != null) {
+              subBuilder = endTime_.toBuilder();
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            endTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(endTime_);
+              endTime_ = subBuilder.buildPartial();
             }
+
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
+            }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -172,41 +155,36 @@ private CloneJob(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.vmmigration.v1.VmMigrationProto
-        .internal_static_google_cloud_vmmigration_v1_CloneJob_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_CloneJob_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.vmmigration.v1.VmMigrationProto
-        .internal_static_google_cloud_vmmigration_v1_CloneJob_fieldAccessorTable
+    return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_CloneJob_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.vmmigration.v1.CloneJob.class,
-            com.google.cloud.vmmigration.v1.CloneJob.Builder.class);
+            com.google.cloud.vmmigration.v1.CloneJob.class, com.google.cloud.vmmigration.v1.CloneJob.Builder.class);
   }
 
   /**
-   *
-   *
    * 
    * Possible states of the clone job.
    * 
* * Protobuf enum {@code google.cloud.vmmigration.v1.CloneJob.State} */ - public enum State implements com.google.protobuf.ProtocolMessageEnum { + public enum State + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * The state is unknown. This is used for API compatibility only and is not
      * used by the system.
@@ -216,8 +194,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     STATE_UNSPECIFIED(0),
     /**
-     *
-     *
      * 
      * The clone job has not yet started.
      * 
@@ -226,8 +202,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ PENDING(1), /** - * - * *
      * The clone job is active and running.
      * 
@@ -236,8 +210,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ ACTIVE(2), /** - * - * *
      * The clone job finished with errors.
      * 
@@ -246,8 +218,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ FAILED(3), /** - * - * *
      * The clone job finished successfully.
      * 
@@ -256,8 +226,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ SUCCEEDED(4), /** - * - * *
      * The clone job was cancelled.
      * 
@@ -266,8 +234,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ CANCELLED(5), /** - * - * *
      * The clone job is being cancelled.
      * 
@@ -276,8 +242,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ CANCELLING(6), /** - * - * *
      * OS adaptation is running as part of the clone job to generate license.
      * 
@@ -289,8 +253,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * The state is unknown. This is used for API compatibility only and is not
      * used by the system.
@@ -300,8 +262,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int STATE_UNSPECIFIED_VALUE = 0;
     /**
-     *
-     *
      * 
      * The clone job has not yet started.
      * 
@@ -310,8 +270,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PENDING_VALUE = 1; /** - * - * *
      * The clone job is active and running.
      * 
@@ -320,8 +278,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ACTIVE_VALUE = 2; /** - * - * *
      * The clone job finished with errors.
      * 
@@ -330,8 +286,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int FAILED_VALUE = 3; /** - * - * *
      * The clone job finished successfully.
      * 
@@ -340,8 +294,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SUCCEEDED_VALUE = 4; /** - * - * *
      * The clone job was cancelled.
      * 
@@ -350,8 +302,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CANCELLED_VALUE = 5; /** - * - * *
      * The clone job is being cancelled.
      * 
@@ -360,8 +310,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CANCELLING_VALUE = 6; /** - * - * *
      * OS adaptation is running as part of the clone job to generate license.
      * 
@@ -370,6 +318,7 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ADAPTING_OS_VALUE = 7; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -394,59 +343,54 @@ public static State valueOf(int value) { */ public static State forNumber(int value) { switch (value) { - case 0: - return STATE_UNSPECIFIED; - case 1: - return PENDING; - case 2: - return ACTIVE; - case 3: - return FAILED; - case 4: - return SUCCEEDED; - case 5: - return CANCELLED; - case 6: - return CANCELLING; - case 7: - return ADAPTING_OS; - default: - return null; - } - } - - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { - return internalValueMap; + case 0: return STATE_UNSPECIFIED; + case 1: return PENDING; + case 2: return ACTIVE; + case 3: return FAILED; + case 4: return SUCCEEDED; + case 5: return CANCELLED; + case 6: return CANCELLING; + case 7: return ADAPTING_OS; + default: return null; + } } - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public State findValueByNumber(int number) { - return State.forNumber(number); - } - }; + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { + return internalValueMap; + } + private static final com.google.protobuf.Internal.EnumLiteMap< + State> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public State findValueByNumber(int number) { + return State.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() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.cloud.vmmigration.v1.CloneJob.getDescriptor().getEnumTypes().get(0); } private static final State[] VALUES = values(); - public static State valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static State 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; @@ -465,15 +409,12 @@ private State(int value) { private int targetVmDetailsCase_ = 0; private java.lang.Object targetVmDetails_; - public enum TargetVmDetailsCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { COMPUTE_ENGINE_TARGET_DETAILS(20), TARGETVMDETAILS_NOT_SET(0); private final int value; - private TargetVmDetailsCase(int value) { this.value = value; } @@ -489,36 +430,29 @@ public static TargetVmDetailsCase valueOf(int value) { public static TargetVmDetailsCase forNumber(int value) { switch (value) { - case 20: - return COMPUTE_ENGINE_TARGET_DETAILS; - case 0: - return TARGETVMDETAILS_NOT_SET; - default: - return null; + case 20: return COMPUTE_ENGINE_TARGET_DETAILS; + case 0: return TARGETVMDETAILS_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public TargetVmDetailsCase getTargetVmDetailsCase() { - return TargetVmDetailsCase.forNumber(targetVmDetailsCase_); + public TargetVmDetailsCase + getTargetVmDetailsCase() { + return TargetVmDetailsCase.forNumber( + targetVmDetailsCase_); } public static final int COMPUTE_ENGINE_TARGET_DETAILS_FIELD_NUMBER = 20; /** - * - * *
    * Output only. Details of the target VM in Compute Engine.
    * 
* - * - * .google.cloud.vmmigration.v1.ComputeEngineTargetDetails compute_engine_target_details = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.vmmigration.v1.ComputeEngineTargetDetails compute_engine_target_details = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the computeEngineTargetDetails field is set. */ @java.lang.Override @@ -526,42 +460,31 @@ public boolean hasComputeEngineTargetDetails() { return targetVmDetailsCase_ == 20; } /** - * - * *
    * Output only. Details of the target VM in Compute Engine.
    * 
* - * - * .google.cloud.vmmigration.v1.ComputeEngineTargetDetails compute_engine_target_details = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.vmmigration.v1.ComputeEngineTargetDetails compute_engine_target_details = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The computeEngineTargetDetails. */ @java.lang.Override - public com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails - getComputeEngineTargetDetails() { + public com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails getComputeEngineTargetDetails() { if (targetVmDetailsCase_ == 20) { - return (com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails) targetVmDetails_; + return (com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails) targetVmDetails_; } return com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails.getDefaultInstance(); } /** - * - * *
    * Output only. Details of the target VM in Compute Engine.
    * 
* - * - * .google.cloud.vmmigration.v1.ComputeEngineTargetDetails compute_engine_target_details = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.vmmigration.v1.ComputeEngineTargetDetails compute_engine_target_details = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public com.google.cloud.vmmigration.v1.ComputeEngineTargetDetailsOrBuilder - getComputeEngineTargetDetailsOrBuilder() { + public com.google.cloud.vmmigration.v1.ComputeEngineTargetDetailsOrBuilder getComputeEngineTargetDetailsOrBuilder() { if (targetVmDetailsCase_ == 20) { - return (com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails) targetVmDetails_; + return (com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails) targetVmDetails_; } return com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails.getDefaultInstance(); } @@ -569,16 +492,12 @@ public boolean hasComputeEngineTargetDetails() { public static final int CREATE_TIME_FIELD_NUMBER = 1; private com.google.protobuf.Timestamp createTime_; /** - * - * *
-   * Output only. The time the clone job was created (as an API call, not when it was
-   * actually created in the target).
+   * Output only. The time the clone job was created (as an API call, not when
+   * it was actually created in the target).
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ @java.lang.Override @@ -586,16 +505,12 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
-   * Output only. The time the clone job was created (as an API call, not when it was
-   * actually created in the target).
+   * Output only. The time the clone job was created (as an API call, not when
+   * it was actually created in the target).
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ @java.lang.Override @@ -603,32 +518,64 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
-   * Output only. The time the clone job was created (as an API call, not when it was
-   * actually created in the target).
+   * Output only. The time the clone job was created (as an API call, not when
+   * it was actually created in the target).
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { return getCreateTime(); } - public static final int NAME_FIELD_NUMBER = 3; - private volatile java.lang.Object name_; + public static final int END_TIME_FIELD_NUMBER = 22; + private com.google.protobuf.Timestamp endTime_; /** + *
+   * Output only. The time the clone job was ended.
+   * 
* + * .google.protobuf.Timestamp end_time = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return Whether the endTime field is set. + */ + @java.lang.Override + public boolean hasEndTime() { + return endTime_ != null; + } + /** + *
+   * Output only. The time the clone job was ended.
+   * 
* + * .google.protobuf.Timestamp end_time = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The endTime. + */ + @java.lang.Override + public com.google.protobuf.Timestamp getEndTime() { + return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; + } + /** *
-   * The name of the clone.
+   * Output only. The time the clone job was ended.
    * 
* - * string name = 3; + * .google.protobuf.Timestamp end_time = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + @java.lang.Override + public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { + return getEndTime(); + } + + public static final int NAME_FIELD_NUMBER = 3; + private volatile java.lang.Object name_; + /** + *
+   * Output only. The name of the clone.
+   * 
* + * string name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The name. */ @java.lang.Override @@ -637,29 +584,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 clone.
+   * Output only. The name of the clone.
    * 
* - * string name = 3; - * + * string name = 3 [(.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 { @@ -670,55 +617,38 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int STATE_FIELD_NUMBER = 12; private int state_; /** - * - * *
    * Output only. State of the clone job.
    * 
* - * - * .google.cloud.vmmigration.v1.CloneJob.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.vmmigration.v1.CloneJob.State state = 12 [(.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 clone job.
    * 
* - * - * .google.cloud.vmmigration.v1.CloneJob.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.vmmigration.v1.CloneJob.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ - @java.lang.Override - public com.google.cloud.vmmigration.v1.CloneJob.State getState() { + @java.lang.Override public com.google.cloud.vmmigration.v1.CloneJob.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.vmmigration.v1.CloneJob.State result = - com.google.cloud.vmmigration.v1.CloneJob.State.valueOf(state_); + com.google.cloud.vmmigration.v1.CloneJob.State result = com.google.cloud.vmmigration.v1.CloneJob.State.valueOf(state_); return result == null ? com.google.cloud.vmmigration.v1.CloneJob.State.UNRECOGNIZED : result; } public static final int STATE_TIME_FIELD_NUMBER = 14; private com.google.protobuf.Timestamp stateTime_; /** - * - * *
    * Output only. The time the state was last updated.
    * 
* - * .google.protobuf.Timestamp state_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp state_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the stateTime field is set. */ @java.lang.Override @@ -726,15 +656,11 @@ public boolean hasStateTime() { return stateTime_ != null; } /** - * - * *
    * Output only. The time the state was last updated.
    * 
* - * .google.protobuf.Timestamp state_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp state_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The stateTime. */ @java.lang.Override @@ -742,14 +668,11 @@ public com.google.protobuf.Timestamp getStateTime() { return stateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : stateTime_; } /** - * - * *
    * Output only. The time the state was last updated.
    * 
* - * .google.protobuf.Timestamp state_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp state_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getStateTimeOrBuilder() { @@ -759,14 +682,12 @@ public com.google.protobuf.TimestampOrBuilder getStateTimeOrBuilder() { public static final int ERROR_FIELD_NUMBER = 17; private com.google.rpc.Status error_; /** - * - * *
-   * Output only. Provides details for the errors that led to the Clone Job's state.
+   * Output only. Provides details for the errors that led to the Clone Job's
+   * state.
    * 
* * .google.rpc.Status error = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return Whether the error field is set. */ @java.lang.Override @@ -774,14 +695,12 @@ public boolean hasError() { return error_ != null; } /** - * - * *
-   * Output only. Provides details for the errors that led to the Clone Job's state.
+   * Output only. Provides details for the errors that led to the Clone Job's
+   * state.
    * 
* * .google.rpc.Status error = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The error. */ @java.lang.Override @@ -789,10 +708,9 @@ public com.google.rpc.Status getError() { return error_ == null ? com.google.rpc.Status.getDefaultInstance() : error_; } /** - * - * *
-   * Output only. Provides details for the errors that led to the Clone Job's state.
+   * Output only. Provides details for the errors that led to the Clone Job's
+   * state.
    * 
* * .google.rpc.Status error = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -803,7 +721,6 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -815,7 +732,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 (createTime_ != null) { output.writeMessage(1, getCreateTime()); } @@ -832,8 +750,10 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io output.writeMessage(17, getError()); } if (targetVmDetailsCase_ == 20) { - output.writeMessage( - 20, (com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails) targetVmDetails_); + output.writeMessage(20, (com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails) targetVmDetails_); + } + if (endTime_ != null) { + output.writeMessage(22, getEndTime()); } unknownFields.writeTo(output); } @@ -845,24 +765,31 @@ public int getSerializedSize() { size = 0; if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getCreateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getCreateTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, name_); } if (state_ != com.google.cloud.vmmigration.v1.CloneJob.State.STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(12, state_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(12, state_); } if (stateTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(14, getStateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(14, getStateTime()); } if (error_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(17, getError()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(17, getError()); } if (targetVmDetailsCase_ == 20) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 20, (com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails) targetVmDetails_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(20, (com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails) targetVmDetails_); + } + if (endTime_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(22, getEndTime()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -872,7 +799,7 @@ 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.vmmigration.v1.CloneJob)) { return super.equals(obj); @@ -881,23 +808,32 @@ public boolean equals(final java.lang.Object obj) { if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime().equals(other.getCreateTime())) return false; + if (!getCreateTime() + .equals(other.getCreateTime())) return false; } - if (!getName().equals(other.getName())) return false; + if (hasEndTime() != other.hasEndTime()) return false; + if (hasEndTime()) { + if (!getEndTime() + .equals(other.getEndTime())) return false; + } + if (!getName() + .equals(other.getName())) return false; if (state_ != other.state_) return false; if (hasStateTime() != other.hasStateTime()) return false; if (hasStateTime()) { - if (!getStateTime().equals(other.getStateTime())) return false; + if (!getStateTime() + .equals(other.getStateTime())) return false; } if (hasError() != other.hasError()) return false; if (hasError()) { - if (!getError().equals(other.getError())) return false; + if (!getError() + .equals(other.getError())) return false; } if (!getTargetVmDetailsCase().equals(other.getTargetVmDetailsCase())) return false; switch (targetVmDetailsCase_) { case 20: - if (!getComputeEngineTargetDetails().equals(other.getComputeEngineTargetDetails())) - return false; + if (!getComputeEngineTargetDetails() + .equals(other.getComputeEngineTargetDetails())) return false; break; case 0: default: @@ -917,6 +853,10 @@ public int hashCode() { hash = (37 * hash) + CREATE_TIME_FIELD_NUMBER; hash = (53 * hash) + getCreateTime().hashCode(); } + if (hasEndTime()) { + hash = (37 * hash) + END_TIME_FIELD_NUMBER; + hash = (53 * hash) + getEndTime().hashCode(); + } hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); hash = (37 * hash) + STATE_FIELD_NUMBER; @@ -942,104 +882,97 @@ public int hashCode() { return hash; } - public static com.google.cloud.vmmigration.v1.CloneJob parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.vmmigration.v1.CloneJob parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.vmmigration.v1.CloneJob 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.vmmigration.v1.CloneJob parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.vmmigration.v1.CloneJob 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.vmmigration.v1.CloneJob parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.vmmigration.v1.CloneJob 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.vmmigration.v1.CloneJob parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.vmmigration.v1.CloneJob 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.vmmigration.v1.CloneJob parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.vmmigration.v1.CloneJob parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.vmmigration.v1.CloneJob 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.vmmigration.v1.CloneJob 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.vmmigration.v1.CloneJob 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.vmmigration.v1.CloneJob 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; } /** - * - * *
    * CloneJob describes the process of creating a clone of a
    * [MigratingVM][google.cloud.vmmigration.v1.MigratingVm] to the
@@ -1055,23 +988,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.vmmigration.v1.CloneJob}
    */
-  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.vmmigration.v1.CloneJob)
       com.google.cloud.vmmigration.v1.CloneJobOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.vmmigration.v1.VmMigrationProto
-          .internal_static_google_cloud_vmmigration_v1_CloneJob_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_CloneJob_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.vmmigration.v1.VmMigrationProto
-          .internal_static_google_cloud_vmmigration_v1_CloneJob_fieldAccessorTable
+      return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_CloneJob_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.vmmigration.v1.CloneJob.class,
-              com.google.cloud.vmmigration.v1.CloneJob.Builder.class);
+              com.google.cloud.vmmigration.v1.CloneJob.class, com.google.cloud.vmmigration.v1.CloneJob.Builder.class);
     }
 
     // Construct using com.google.cloud.vmmigration.v1.CloneJob.newBuilder()
@@ -1079,15 +1010,16 @@ 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) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1097,6 +1029,12 @@ public Builder clear() {
         createTime_ = null;
         createTimeBuilder_ = null;
       }
+      if (endTimeBuilder_ == null) {
+        endTime_ = null;
+      } else {
+        endTime_ = null;
+        endTimeBuilder_ = null;
+      }
       name_ = "";
 
       state_ = 0;
@@ -1119,9 +1057,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.vmmigration.v1.VmMigrationProto
-          .internal_static_google_cloud_vmmigration_v1_CloneJob_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_CloneJob_descriptor;
     }
 
     @java.lang.Override
@@ -1140,8 +1078,7 @@ public com.google.cloud.vmmigration.v1.CloneJob build() {
 
     @java.lang.Override
     public com.google.cloud.vmmigration.v1.CloneJob buildPartial() {
-      com.google.cloud.vmmigration.v1.CloneJob result =
-          new com.google.cloud.vmmigration.v1.CloneJob(this);
+      com.google.cloud.vmmigration.v1.CloneJob result = new com.google.cloud.vmmigration.v1.CloneJob(this);
       if (targetVmDetailsCase_ == 20) {
         if (computeEngineTargetDetailsBuilder_ == null) {
           result.targetVmDetails_ = targetVmDetails_;
@@ -1154,6 +1091,11 @@ public com.google.cloud.vmmigration.v1.CloneJob buildPartial() {
       } else {
         result.createTime_ = createTimeBuilder_.build();
       }
+      if (endTimeBuilder_ == null) {
+        result.endTime_ = endTime_;
+      } else {
+        result.endTime_ = endTimeBuilder_.build();
+      }
       result.name_ = name_;
       result.state_ = state_;
       if (stateTimeBuilder_ == null) {
@@ -1175,39 +1117,38 @@ public com.google.cloud.vmmigration.v1.CloneJob buildPartial() {
     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.vmmigration.v1.CloneJob) {
-        return mergeFrom((com.google.cloud.vmmigration.v1.CloneJob) other);
+        return mergeFrom((com.google.cloud.vmmigration.v1.CloneJob)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1219,6 +1160,9 @@ public Builder mergeFrom(com.google.cloud.vmmigration.v1.CloneJob other) {
       if (other.hasCreateTime()) {
         mergeCreateTime(other.getCreateTime());
       }
+      if (other.hasEndTime()) {
+        mergeEndTime(other.getEndTime());
+      }
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         onChanged();
@@ -1233,15 +1177,13 @@ public Builder mergeFrom(com.google.cloud.vmmigration.v1.CloneJob other) {
         mergeError(other.getError());
       }
       switch (other.getTargetVmDetailsCase()) {
-        case COMPUTE_ENGINE_TARGET_DETAILS:
-          {
-            mergeComputeEngineTargetDetails(other.getComputeEngineTargetDetails());
-            break;
-          }
-        case TARGETVMDETAILS_NOT_SET:
-          {
-            break;
-          }
+        case COMPUTE_ENGINE_TARGET_DETAILS: {
+          mergeComputeEngineTargetDetails(other.getComputeEngineTargetDetails());
+          break;
+        }
+        case TARGETVMDETAILS_NOT_SET: {
+          break;
+        }
       }
       this.mergeUnknownFields(other.unknownFields);
       onChanged();
@@ -1271,12 +1213,12 @@ public Builder mergeFrom(
       }
       return this;
     }
-
     private int targetVmDetailsCase_ = 0;
     private java.lang.Object targetVmDetails_;
-
-    public TargetVmDetailsCase getTargetVmDetailsCase() {
-      return TargetVmDetailsCase.forNumber(targetVmDetailsCase_);
+    public TargetVmDetailsCase
+        getTargetVmDetailsCase() {
+      return TargetVmDetailsCase.forNumber(
+          targetVmDetailsCase_);
     }
 
     public Builder clearTargetVmDetails() {
@@ -1286,22 +1228,15 @@ public Builder clearTargetVmDetails() {
       return this;
     }
 
+
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails,
-            com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails.Builder,
-            com.google.cloud.vmmigration.v1.ComputeEngineTargetDetailsOrBuilder>
-        computeEngineTargetDetailsBuilder_;
+        com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails, com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails.Builder, com.google.cloud.vmmigration.v1.ComputeEngineTargetDetailsOrBuilder> computeEngineTargetDetailsBuilder_;
     /**
-     *
-     *
      * 
      * Output only. Details of the target VM in Compute Engine.
      * 
* - * - * .google.cloud.vmmigration.v1.ComputeEngineTargetDetails compute_engine_target_details = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.vmmigration.v1.ComputeEngineTargetDetails compute_engine_target_details = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the computeEngineTargetDetails field is set. */ @java.lang.Override @@ -1309,21 +1244,15 @@ public boolean hasComputeEngineTargetDetails() { return targetVmDetailsCase_ == 20; } /** - * - * *
      * Output only. Details of the target VM in Compute Engine.
      * 
* - * - * .google.cloud.vmmigration.v1.ComputeEngineTargetDetails compute_engine_target_details = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.vmmigration.v1.ComputeEngineTargetDetails compute_engine_target_details = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The computeEngineTargetDetails. */ @java.lang.Override - public com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails - getComputeEngineTargetDetails() { + public com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails getComputeEngineTargetDetails() { if (computeEngineTargetDetailsBuilder_ == null) { if (targetVmDetailsCase_ == 20) { return (com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails) targetVmDetails_; @@ -1337,18 +1266,13 @@ public boolean hasComputeEngineTargetDetails() { } } /** - * - * *
      * Output only. Details of the target VM in Compute Engine.
      * 
* - * - * .google.cloud.vmmigration.v1.ComputeEngineTargetDetails compute_engine_target_details = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.vmmigration.v1.ComputeEngineTargetDetails compute_engine_target_details = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setComputeEngineTargetDetails( - com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails value) { + public Builder setComputeEngineTargetDetails(com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails value) { if (computeEngineTargetDetailsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1362,15 +1286,11 @@ public Builder setComputeEngineTargetDetails( return this; } /** - * - * *
      * Output only. Details of the target VM in Compute Engine.
      * 
* - * - * .google.cloud.vmmigration.v1.ComputeEngineTargetDetails compute_engine_target_details = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.vmmigration.v1.ComputeEngineTargetDetails compute_engine_target_details = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setComputeEngineTargetDetails( com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails.Builder builderForValue) { @@ -1384,28 +1304,18 @@ public Builder setComputeEngineTargetDetails( return this; } /** - * - * *
      * Output only. Details of the target VM in Compute Engine.
      * 
* - * - * .google.cloud.vmmigration.v1.ComputeEngineTargetDetails compute_engine_target_details = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.vmmigration.v1.ComputeEngineTargetDetails compute_engine_target_details = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder mergeComputeEngineTargetDetails( - com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails value) { + public Builder mergeComputeEngineTargetDetails(com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails value) { if (computeEngineTargetDetailsBuilder_ == null) { - if (targetVmDetailsCase_ == 20 - && targetVmDetails_ - != com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails - .getDefaultInstance()) { - targetVmDetails_ = - com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails.newBuilder( - (com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails) targetVmDetails_) - .mergeFrom(value) - .buildPartial(); + if (targetVmDetailsCase_ == 20 && + targetVmDetails_ != com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails.getDefaultInstance()) { + targetVmDetails_ = com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails.newBuilder((com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails) targetVmDetails_) + .mergeFrom(value).buildPartial(); } else { targetVmDetails_ = value; } @@ -1421,15 +1331,11 @@ public Builder mergeComputeEngineTargetDetails( return this; } /** - * - * *
      * Output only. Details of the target VM in Compute Engine.
      * 
* - * - * .google.cloud.vmmigration.v1.ComputeEngineTargetDetails compute_engine_target_details = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.vmmigration.v1.ComputeEngineTargetDetails compute_engine_target_details = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearComputeEngineTargetDetails() { if (computeEngineTargetDetailsBuilder_ == null) { @@ -1448,34 +1354,24 @@ public Builder clearComputeEngineTargetDetails() { return this; } /** - * - * *
      * Output only. Details of the target VM in Compute Engine.
      * 
* - * - * .google.cloud.vmmigration.v1.ComputeEngineTargetDetails compute_engine_target_details = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.vmmigration.v1.ComputeEngineTargetDetails compute_engine_target_details = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails.Builder - getComputeEngineTargetDetailsBuilder() { + public com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails.Builder getComputeEngineTargetDetailsBuilder() { return getComputeEngineTargetDetailsFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. Details of the target VM in Compute Engine.
      * 
* - * - * .google.cloud.vmmigration.v1.ComputeEngineTargetDetails compute_engine_target_details = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.vmmigration.v1.ComputeEngineTargetDetails compute_engine_target_details = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public com.google.cloud.vmmigration.v1.ComputeEngineTargetDetailsOrBuilder - getComputeEngineTargetDetailsOrBuilder() { + public com.google.cloud.vmmigration.v1.ComputeEngineTargetDetailsOrBuilder getComputeEngineTargetDetailsOrBuilder() { if ((targetVmDetailsCase_ == 20) && (computeEngineTargetDetailsBuilder_ != null)) { return computeEngineTargetDetailsBuilder_.getMessageOrBuilder(); } else { @@ -1486,99 +1382,69 @@ public Builder clearComputeEngineTargetDetails() { } } /** - * - * *
      * Output only. Details of the target VM in Compute Engine.
      * 
* - * - * .google.cloud.vmmigration.v1.ComputeEngineTargetDetails compute_engine_target_details = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.vmmigration.v1.ComputeEngineTargetDetails compute_engine_target_details = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails, - com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails.Builder, - com.google.cloud.vmmigration.v1.ComputeEngineTargetDetailsOrBuilder> + com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails, com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails.Builder, com.google.cloud.vmmigration.v1.ComputeEngineTargetDetailsOrBuilder> getComputeEngineTargetDetailsFieldBuilder() { if (computeEngineTargetDetailsBuilder_ == null) { if (!(targetVmDetailsCase_ == 20)) { - targetVmDetails_ = - com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails.getDefaultInstance(); + targetVmDetails_ = com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails.getDefaultInstance(); } - computeEngineTargetDetailsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails, - com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails.Builder, - com.google.cloud.vmmigration.v1.ComputeEngineTargetDetailsOrBuilder>( + computeEngineTargetDetailsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails, com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails.Builder, com.google.cloud.vmmigration.v1.ComputeEngineTargetDetailsOrBuilder>( (com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails) targetVmDetails_, getParentForChildren(), isClean()); targetVmDetails_ = null; } targetVmDetailsCase_ = 20; - onChanged(); - ; + onChanged();; return computeEngineTargetDetailsBuilder_; } private com.google.protobuf.Timestamp createTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - createTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; /** - * - * *
-     * Output only. The time the clone job was created (as an API call, not when it was
-     * actually created in the target).
+     * Output only. The time the clone job was created (as an API call, not when
+     * it was actually created in the target).
      * 
* - * - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** - * - * *
-     * Output only. The time the clone job was created (as an API call, not when it was
-     * actually created in the target).
+     * Output only. The time the clone job was created (as an API call, not when
+     * it was actually created in the target).
      * 
* - * - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** - * - * *
-     * Output only. The time the clone job was created (as an API call, not when it was
-     * actually created in the target).
+     * Output only. The time the clone job was created (as an API call, not when
+     * it was actually created in the target).
      * 
* - * - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -1594,18 +1460,15 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
-     * Output only. The time the clone job was created (as an API call, not when it was
-     * actually created in the target).
+     * Output only. The time the clone job was created (as an API call, not when
+     * it was actually created in the target).
      * 
* - * - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); onChanged(); @@ -1616,22 +1479,18 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
-     * Output only. The time the clone job was created (as an API call, not when it was
-     * actually created in the target).
+     * Output only. The time the clone job was created (as an API call, not when
+     * it was actually created in the target).
      * 
* - * - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { if (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -1643,16 +1502,12 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
-     * Output only. The time the clone job was created (as an API call, not when it was
-     * actually created in the target).
+     * Output only. The time the clone job was created (as an API call, not when
+     * it was actually created in the target).
      * 
* - * - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearCreateTime() { if (createTimeBuilder_ == null) { @@ -1666,88 +1521,225 @@ public Builder clearCreateTime() { return this; } /** - * - * *
-     * Output only. The time the clone job was created (as an API call, not when it was
-     * actually created in the target).
+     * Output only. The time the clone job was created (as an API call, not when
+     * it was actually created in the target).
      * 
* - * - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
-     * Output only. The time the clone job was created (as an API call, not when it was
-     * actually created in the target).
+     * Output only. The time the clone job was created (as an API call, not when
+     * it was actually created in the target).
      * 
* - * - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } } /** - * - * *
-     * Output only. The time the clone job was created (as an API call, not when it was
-     * actually created in the target).
+     * Output only. The time the clone job was created (as an API call, not when
+     * it was actually created in the target).
      * 
* - * - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 1 [(.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> getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { - createTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getCreateTime(), getParentForChildren(), isClean()); + createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), + getParentForChildren(), + isClean()); createTime_ = null; } return createTimeBuilder_; } - private java.lang.Object name_ = ""; + 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_; /** + *
+     * Output only. The time the clone job was ended.
+     * 
* + * .google.protobuf.Timestamp end_time = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return Whether the endTime field is set. + */ + public boolean hasEndTime() { + return endTimeBuilder_ != null || endTime_ != null; + } + /** + *
+     * Output only. The time the clone job was ended.
+     * 
* + * .google.protobuf.Timestamp end_time = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The endTime. + */ + public com.google.protobuf.Timestamp getEndTime() { + if (endTimeBuilder_ == null) { + return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; + } else { + return endTimeBuilder_.getMessage(); + } + } + /** *
-     * The name of the clone.
+     * Output only. The time the clone job was ended.
      * 
* - * string name = 3; + * .google.protobuf.Timestamp end_time = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public Builder setEndTime(com.google.protobuf.Timestamp value) { + if (endTimeBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + endTime_ = value; + onChanged(); + } else { + endTimeBuilder_.setMessage(value); + } + + return this; + } + /** + *
+     * Output only. The time the clone job was ended.
+     * 
* + * .google.protobuf.Timestamp end_time = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public Builder setEndTime( + com.google.protobuf.Timestamp.Builder builderForValue) { + if (endTimeBuilder_ == null) { + endTime_ = builderForValue.build(); + onChanged(); + } else { + endTimeBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + *
+     * Output only. The time the clone job was ended.
+     * 
+ * + * .google.protobuf.Timestamp end_time = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public Builder mergeEndTime(com.google.protobuf.Timestamp value) { + if (endTimeBuilder_ == null) { + if (endTime_ != null) { + endTime_ = + com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); + } else { + endTime_ = value; + } + onChanged(); + } else { + endTimeBuilder_.mergeFrom(value); + } + + return this; + } + /** + *
+     * Output only. The time the clone job was ended.
+     * 
+ * + * .google.protobuf.Timestamp end_time = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public Builder clearEndTime() { + if (endTimeBuilder_ == null) { + endTime_ = null; + onChanged(); + } else { + endTime_ = null; + endTimeBuilder_ = null; + } + + return this; + } + /** + *
+     * Output only. The time the clone job was ended.
+     * 
+ * + * .google.protobuf.Timestamp end_time = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { + + onChanged(); + return getEndTimeFieldBuilder().getBuilder(); + } + /** + *
+     * Output only. The time the clone job was ended.
+     * 
+ * + * .google.protobuf.Timestamp end_time = 22 [(.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_; + } + } + /** + *
+     * Output only. The time the clone job was ended.
+     * 
+ * + * .google.protobuf.Timestamp end_time = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + private com.google.protobuf.SingleFieldBuilderV3< + 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()); + endTime_ = null; + } + return endTimeBuilder_; + } + + private java.lang.Object name_ = ""; + /** + *
+     * Output only. The name of the clone.
+     * 
+ * + * string name = 3 [(.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; @@ -1756,21 +1748,20 @@ public java.lang.String getName() { } } /** - * - * *
-     * The name of the clone.
+     * Output only. The name of the clone.
      * 
* - * string name = 3; - * + * string name = 3 [(.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 { @@ -1778,61 +1769,54 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
-     * The name of the clone.
+     * Output only. The name of the clone.
      * 
* - * string name = 3; - * + * string name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
-     * The name of the clone.
+     * Output only. The name of the clone.
      * 
* - * string name = 3; - * + * string name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
-     * The name of the clone.
+     * Output only. The name of the clone.
      * 
* - * string name = 3; - * + * string name = 3 [(.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) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -1840,73 +1824,51 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private int state_ = 0; /** - * - * *
      * Output only. State of the clone job.
      * 
* - * - * .google.cloud.vmmigration.v1.CloneJob.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.vmmigration.v1.CloneJob.State state = 12 [(.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 clone job.
      * 
* - * - * .google.cloud.vmmigration.v1.CloneJob.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.vmmigration.v1.CloneJob.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ public Builder setStateValue(int value) { - + state_ = value; onChanged(); return this; } /** - * - * *
      * Output only. State of the clone job.
      * 
* - * - * .google.cloud.vmmigration.v1.CloneJob.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.vmmigration.v1.CloneJob.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ @java.lang.Override public com.google.cloud.vmmigration.v1.CloneJob.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.vmmigration.v1.CloneJob.State result = - com.google.cloud.vmmigration.v1.CloneJob.State.valueOf(state_); + com.google.cloud.vmmigration.v1.CloneJob.State result = com.google.cloud.vmmigration.v1.CloneJob.State.valueOf(state_); return result == null ? com.google.cloud.vmmigration.v1.CloneJob.State.UNRECOGNIZED : result; } /** - * - * *
      * Output only. State of the clone job.
      * 
* - * - * .google.cloud.vmmigration.v1.CloneJob.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.vmmigration.v1.CloneJob.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The state to set. * @return This builder for chaining. */ @@ -1914,26 +1876,21 @@ public Builder setState(com.google.cloud.vmmigration.v1.CloneJob.State value) { if (value == null) { throw new NullPointerException(); } - + state_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Output only. State of the clone job.
      * 
* - * - * .google.cloud.vmmigration.v1.CloneJob.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.vmmigration.v1.CloneJob.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearState() { - + state_ = 0; onChanged(); return this; @@ -1941,37 +1898,24 @@ public Builder clearState() { private com.google.protobuf.Timestamp stateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - stateTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> stateTimeBuilder_; /** - * - * *
      * Output only. The time the state was last updated.
      * 
* - * - * .google.protobuf.Timestamp state_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp state_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the stateTime field is set. */ public boolean hasStateTime() { return stateTimeBuilder_ != null || stateTime_ != null; } /** - * - * *
      * Output only. The time the state was last updated.
      * 
* - * - * .google.protobuf.Timestamp state_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp state_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The stateTime. */ public com.google.protobuf.Timestamp getStateTime() { @@ -1982,15 +1926,11 @@ public com.google.protobuf.Timestamp getStateTime() { } } /** - * - * *
      * Output only. The time the state was last updated.
      * 
* - * - * .google.protobuf.Timestamp state_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp state_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setStateTime(com.google.protobuf.Timestamp value) { if (stateTimeBuilder_ == null) { @@ -2006,17 +1946,14 @@ public Builder setStateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time the state was last updated.
      * 
* - * - * .google.protobuf.Timestamp state_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp state_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setStateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setStateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (stateTimeBuilder_ == null) { stateTime_ = builderForValue.build(); onChanged(); @@ -2027,21 +1964,17 @@ public Builder setStateTime(com.google.protobuf.Timestamp.Builder builderForValu return this; } /** - * - * *
      * Output only. The time the state was last updated.
      * 
* - * - * .google.protobuf.Timestamp state_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp state_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeStateTime(com.google.protobuf.Timestamp value) { if (stateTimeBuilder_ == null) { if (stateTime_ != null) { stateTime_ = - com.google.protobuf.Timestamp.newBuilder(stateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(stateTime_).mergeFrom(value).buildPartial(); } else { stateTime_ = value; } @@ -2053,15 +1986,11 @@ public Builder mergeStateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time the state was last updated.
      * 
* - * - * .google.protobuf.Timestamp state_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp state_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearStateTime() { if (stateTimeBuilder_ == null) { @@ -2075,62 +2004,48 @@ public Builder clearStateTime() { return this; } /** - * - * *
      * Output only. The time the state was last updated.
      * 
* - * - * .google.protobuf.Timestamp state_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp state_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getStateTimeBuilder() { - + onChanged(); return getStateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The time the state was last updated.
      * 
* - * - * .google.protobuf.Timestamp state_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp state_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getStateTimeOrBuilder() { if (stateTimeBuilder_ != null) { return stateTimeBuilder_.getMessageOrBuilder(); } else { - return stateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : stateTime_; + return stateTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : stateTime_; } } /** - * - * *
      * Output only. The time the state was last updated.
      * 
* - * - * .google.protobuf.Timestamp state_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp state_time = 14 [(.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> getStateTimeFieldBuilder() { if (stateTimeBuilder_ == null) { - stateTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getStateTime(), getParentForChildren(), isClean()); + stateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getStateTime(), + getParentForChildren(), + isClean()); stateTime_ = null; } return stateTimeBuilder_; @@ -2138,31 +2053,26 @@ public com.google.protobuf.TimestampOrBuilder getStateTimeOrBuilder() { private com.google.rpc.Status error_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> - errorBuilder_; + com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> errorBuilder_; /** - * - * *
-     * Output only. Provides details for the errors that led to the Clone Job's state.
+     * Output only. Provides details for the errors that led to the Clone Job's
+     * state.
      * 
* * .google.rpc.Status error = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return Whether the error field is set. */ public boolean hasError() { return errorBuilder_ != null || error_ != null; } /** - * - * *
-     * Output only. Provides details for the errors that led to the Clone Job's state.
+     * Output only. Provides details for the errors that led to the Clone Job's
+     * state.
      * 
* * .google.rpc.Status error = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The error. */ public com.google.rpc.Status getError() { @@ -2173,10 +2083,9 @@ public com.google.rpc.Status getError() { } } /** - * - * *
-     * Output only. Provides details for the errors that led to the Clone Job's state.
+     * Output only. Provides details for the errors that led to the Clone Job's
+     * state.
      * 
* * .google.rpc.Status error = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -2195,15 +2104,15 @@ public Builder setError(com.google.rpc.Status value) { return this; } /** - * - * *
-     * Output only. Provides details for the errors that led to the Clone Job's state.
+     * Output only. Provides details for the errors that led to the Clone Job's
+     * state.
      * 
* * .google.rpc.Status error = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setError(com.google.rpc.Status.Builder builderForValue) { + public Builder setError( + com.google.rpc.Status.Builder builderForValue) { if (errorBuilder_ == null) { error_ = builderForValue.build(); onChanged(); @@ -2214,10 +2123,9 @@ public Builder setError(com.google.rpc.Status.Builder builderForValue) { return this; } /** - * - * *
-     * Output only. Provides details for the errors that led to the Clone Job's state.
+     * Output only. Provides details for the errors that led to the Clone Job's
+     * state.
      * 
* * .google.rpc.Status error = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -2225,7 +2133,8 @@ public Builder setError(com.google.rpc.Status.Builder builderForValue) { public Builder mergeError(com.google.rpc.Status value) { if (errorBuilder_ == null) { if (error_ != null) { - error_ = com.google.rpc.Status.newBuilder(error_).mergeFrom(value).buildPartial(); + error_ = + com.google.rpc.Status.newBuilder(error_).mergeFrom(value).buildPartial(); } else { error_ = value; } @@ -2237,10 +2146,9 @@ public Builder mergeError(com.google.rpc.Status value) { return this; } /** - * - * *
-     * Output only. Provides details for the errors that led to the Clone Job's state.
+     * Output only. Provides details for the errors that led to the Clone Job's
+     * state.
      * 
* * .google.rpc.Status error = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -2257,24 +2165,22 @@ public Builder clearError() { return this; } /** - * - * *
-     * Output only. Provides details for the errors that led to the Clone Job's state.
+     * Output only. Provides details for the errors that led to the Clone Job's
+     * state.
      * 
* * .google.rpc.Status error = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.rpc.Status.Builder getErrorBuilder() { - + onChanged(); return getErrorFieldBuilder().getBuilder(); } /** - * - * *
-     * Output only. Provides details for the errors that led to the Clone Job's state.
+     * Output only. Provides details for the errors that led to the Clone Job's
+     * state.
      * 
* * .google.rpc.Status error = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -2283,34 +2189,34 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() { if (errorBuilder_ != null) { return errorBuilder_.getMessageOrBuilder(); } else { - return error_ == null ? com.google.rpc.Status.getDefaultInstance() : error_; + return error_ == null ? + com.google.rpc.Status.getDefaultInstance() : error_; } } /** - * - * *
-     * Output only. Provides details for the errors that led to the Clone Job's state.
+     * Output only. Provides details for the errors that led to the Clone Job's
+     * state.
      * 
* * .google.rpc.Status error = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ 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> getErrorFieldBuilder() { if (errorBuilder_ == null) { - errorBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.Status, - com.google.rpc.Status.Builder, - com.google.rpc.StatusOrBuilder>(getError(), getParentForChildren(), isClean()); + errorBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder>( + getError(), + getParentForChildren(), + isClean()); error_ = null; } return errorBuilder_; } - @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); } @@ -2320,12 +2226,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.vmmigration.v1.CloneJob) } // @@protoc_insertion_point(class_scope:google.cloud.vmmigration.v1.CloneJob) private static final com.google.cloud.vmmigration.v1.CloneJob DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.vmmigration.v1.CloneJob(); } @@ -2334,16 +2240,16 @@ public static com.google.cloud.vmmigration.v1.CloneJob getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CloneJob parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CloneJob(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CloneJob parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CloneJob(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2358,4 +2264,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.vmmigration.v1.CloneJob getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CloneJobName.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CloneJobName.java similarity index 100% rename from proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CloneJobName.java rename to owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CloneJobName.java diff --git a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CloneJobOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CloneJobOrBuilder.java similarity index 60% rename from proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CloneJobOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CloneJobOrBuilder.java index 9e1d2b3..d941503 100644 --- a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CloneJobOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CloneJobOrBuilder.java @@ -1,232 +1,186 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; -public interface CloneJobOrBuilder - extends +public interface CloneJobOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.CloneJob) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Output only. Details of the target VM in Compute Engine.
    * 
* - * - * .google.cloud.vmmigration.v1.ComputeEngineTargetDetails compute_engine_target_details = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.vmmigration.v1.ComputeEngineTargetDetails compute_engine_target_details = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the computeEngineTargetDetails field is set. */ boolean hasComputeEngineTargetDetails(); /** - * - * *
    * Output only. Details of the target VM in Compute Engine.
    * 
* - * - * .google.cloud.vmmigration.v1.ComputeEngineTargetDetails compute_engine_target_details = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.vmmigration.v1.ComputeEngineTargetDetails compute_engine_target_details = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The computeEngineTargetDetails. */ com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails getComputeEngineTargetDetails(); /** - * - * *
    * Output only. Details of the target VM in Compute Engine.
    * 
* - * - * .google.cloud.vmmigration.v1.ComputeEngineTargetDetails compute_engine_target_details = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.vmmigration.v1.ComputeEngineTargetDetails compute_engine_target_details = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - com.google.cloud.vmmigration.v1.ComputeEngineTargetDetailsOrBuilder - getComputeEngineTargetDetailsOrBuilder(); + com.google.cloud.vmmigration.v1.ComputeEngineTargetDetailsOrBuilder getComputeEngineTargetDetailsOrBuilder(); /** - * - * *
-   * Output only. The time the clone job was created (as an API call, not when it was
-   * actually created in the target).
+   * Output only. The time the clone job was created (as an API call, not when
+   * it was actually created in the target).
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** - * - * *
-   * Output only. The time the clone job was created (as an API call, not when it was
-   * actually created in the target).
+   * Output only. The time the clone job was created (as an API call, not when
+   * it was actually created in the target).
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** - * - * *
-   * Output only. The time the clone job was created (as an API call, not when it was
-   * actually created in the target).
+   * Output only. The time the clone job was created (as an API call, not when
+   * it was actually created in the target).
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** + *
+   * Output only. The time the clone job was ended.
+   * 
* + * .google.protobuf.Timestamp end_time = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return Whether the endTime field is set. + */ + boolean hasEndTime(); + /** + *
+   * Output only. The time the clone job was ended.
+   * 
* + * .google.protobuf.Timestamp end_time = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The endTime. + */ + com.google.protobuf.Timestamp getEndTime(); + /** *
-   * The name of the clone.
+   * Output only. The time the clone job was ended.
    * 
* - * string name = 3; + * .google.protobuf.Timestamp end_time = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder(); + + /** + *
+   * Output only. The name of the clone.
+   * 
* + * string name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The name. */ java.lang.String getName(); /** - * - * *
-   * The name of the clone.
+   * Output only. The name of the clone.
    * 
* - * string name = 3; - * + * string name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Output only. State of the clone job.
    * 
* - * - * .google.cloud.vmmigration.v1.CloneJob.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.vmmigration.v1.CloneJob.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for state. */ int getStateValue(); /** - * - * *
    * Output only. State of the clone job.
    * 
* - * - * .google.cloud.vmmigration.v1.CloneJob.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.vmmigration.v1.CloneJob.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ com.google.cloud.vmmigration.v1.CloneJob.State getState(); /** - * - * *
    * Output only. The time the state was last updated.
    * 
* - * .google.protobuf.Timestamp state_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp state_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the stateTime field is set. */ boolean hasStateTime(); /** - * - * *
    * Output only. The time the state was last updated.
    * 
* - * .google.protobuf.Timestamp state_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp state_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The stateTime. */ com.google.protobuf.Timestamp getStateTime(); /** - * - * *
    * Output only. The time the state was last updated.
    * 
* - * .google.protobuf.Timestamp state_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp state_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getStateTimeOrBuilder(); /** - * - * *
-   * Output only. Provides details for the errors that led to the Clone Job's state.
+   * Output only. Provides details for the errors that led to the Clone Job's
+   * state.
    * 
* * .google.rpc.Status error = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return Whether the error field is set. */ boolean hasError(); /** - * - * *
-   * Output only. Provides details for the errors that led to the Clone Job's state.
+   * Output only. Provides details for the errors that led to the Clone Job's
+   * state.
    * 
* * .google.rpc.Status error = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The error. */ com.google.rpc.Status getError(); /** - * - * *
-   * Output only. Provides details for the errors that led to the Clone Job's state.
+   * Output only. Provides details for the errors that led to the Clone Job's
+   * state.
    * 
* * .google.rpc.Status error = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; diff --git a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ComputeEngineBootOption.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ComputeEngineBootOption.java similarity index 68% rename from proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ComputeEngineBootOption.java rename to owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ComputeEngineBootOption.java index a5ff7dc..d661301 100644 --- a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ComputeEngineBootOption.java +++ b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ComputeEngineBootOption.java @@ -1,36 +1,18 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; /** - * - * *
  * Possible values for vm boot option.
  * 
* * Protobuf enum {@code google.cloud.vmmigration.v1.ComputeEngineBootOption} */ -public enum ComputeEngineBootOption implements com.google.protobuf.ProtocolMessageEnum { +public enum ComputeEngineBootOption + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
    * The boot option is unknown.
    * 
@@ -39,8 +21,6 @@ public enum ComputeEngineBootOption implements com.google.protobuf.ProtocolMessa */ COMPUTE_ENGINE_BOOT_OPTION_UNSPECIFIED(0), /** - * - * *
    * The boot option is EFI.
    * 
@@ -49,8 +29,6 @@ public enum ComputeEngineBootOption implements com.google.protobuf.ProtocolMessa */ COMPUTE_ENGINE_BOOT_OPTION_EFI(1), /** - * - * *
    * The boot option is BIOS.
    * 
@@ -62,8 +40,6 @@ public enum ComputeEngineBootOption implements com.google.protobuf.ProtocolMessa ; /** - * - * *
    * The boot option is unknown.
    * 
@@ -72,8 +48,6 @@ public enum ComputeEngineBootOption implements com.google.protobuf.ProtocolMessa */ public static final int COMPUTE_ENGINE_BOOT_OPTION_UNSPECIFIED_VALUE = 0; /** - * - * *
    * The boot option is EFI.
    * 
@@ -82,8 +56,6 @@ public enum ComputeEngineBootOption implements com.google.protobuf.ProtocolMessa */ public static final int COMPUTE_ENGINE_BOOT_OPTION_EFI_VALUE = 1; /** - * - * *
    * The boot option is BIOS.
    * 
@@ -92,6 +64,7 @@ public enum ComputeEngineBootOption implements com.google.protobuf.ProtocolMessa */ public static final int COMPUTE_ENGINE_BOOT_OPTION_BIOS_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -116,14 +89,10 @@ public static ComputeEngineBootOption valueOf(int value) { */ public static ComputeEngineBootOption forNumber(int value) { switch (value) { - case 0: - return COMPUTE_ENGINE_BOOT_OPTION_UNSPECIFIED; - case 1: - return COMPUTE_ENGINE_BOOT_OPTION_EFI; - case 2: - return COMPUTE_ENGINE_BOOT_OPTION_BIOS; - default: - return null; + case 0: return COMPUTE_ENGINE_BOOT_OPTION_UNSPECIFIED; + case 1: return COMPUTE_ENGINE_BOOT_OPTION_EFI; + case 2: return COMPUTE_ENGINE_BOOT_OPTION_BIOS; + default: return null; } } @@ -131,29 +100,29 @@ public static ComputeEngineBootOption forNumber(int value) { internalGetValueMap() { return internalValueMap; } - - private static final com.google.protobuf.Internal.EnumLiteMap - internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public ComputeEngineBootOption findValueByNumber(int number) { - return ComputeEngineBootOption.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap< + ComputeEngineBootOption> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public ComputeEngineBootOption findValueByNumber(int number) { + return ComputeEngineBootOption.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.vmmigration.v1.VmMigrationProto.getDescriptor().getEnumTypes().get(3); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.getDescriptor().getEnumTypes().get(4); } private static final ComputeEngineBootOption[] VALUES = values(); @@ -161,7 +130,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor public static ComputeEngineBootOption 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; @@ -177,3 +147,4 @@ private ComputeEngineBootOption(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.vmmigration.v1.ComputeEngineBootOption) } + diff --git a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ComputeEngineDiskType.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ComputeEngineDiskType.java similarity index 70% rename from proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ComputeEngineDiskType.java rename to owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ComputeEngineDiskType.java index fe8e44f..823aa97 100644 --- a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ComputeEngineDiskType.java +++ b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ComputeEngineDiskType.java @@ -1,36 +1,18 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; /** - * - * *
  * Types of disks supported for Compute Engine VM.
  * 
* * Protobuf enum {@code google.cloud.vmmigration.v1.ComputeEngineDiskType} */ -public enum ComputeEngineDiskType implements com.google.protobuf.ProtocolMessageEnum { +public enum ComputeEngineDiskType + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
    * An unspecified disk type. Will be used as STANDARD.
    * 
@@ -39,8 +21,6 @@ public enum ComputeEngineDiskType implements com.google.protobuf.ProtocolMessage */ COMPUTE_ENGINE_DISK_TYPE_UNSPECIFIED(0), /** - * - * *
    * A Standard disk type.
    * 
@@ -49,8 +29,6 @@ public enum ComputeEngineDiskType implements com.google.protobuf.ProtocolMessage */ COMPUTE_ENGINE_DISK_TYPE_STANDARD(1), /** - * - * *
    * SSD hard disk type.
    * 
@@ -59,8 +37,6 @@ public enum ComputeEngineDiskType implements com.google.protobuf.ProtocolMessage */ COMPUTE_ENGINE_DISK_TYPE_SSD(2), /** - * - * *
    * An alternative to SSD persistent disks that balance performance and
    * cost.
@@ -73,8 +49,6 @@ public enum ComputeEngineDiskType implements com.google.protobuf.ProtocolMessage
   ;
 
   /**
-   *
-   *
    * 
    * An unspecified disk type. Will be used as STANDARD.
    * 
@@ -83,8 +57,6 @@ public enum ComputeEngineDiskType implements com.google.protobuf.ProtocolMessage */ public static final int COMPUTE_ENGINE_DISK_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
    * A Standard disk type.
    * 
@@ -93,8 +65,6 @@ public enum ComputeEngineDiskType implements com.google.protobuf.ProtocolMessage */ public static final int COMPUTE_ENGINE_DISK_TYPE_STANDARD_VALUE = 1; /** - * - * *
    * SSD hard disk type.
    * 
@@ -103,8 +73,6 @@ public enum ComputeEngineDiskType implements com.google.protobuf.ProtocolMessage */ public static final int COMPUTE_ENGINE_DISK_TYPE_SSD_VALUE = 2; /** - * - * *
    * An alternative to SSD persistent disks that balance performance and
    * cost.
@@ -114,6 +82,7 @@ public enum ComputeEngineDiskType implements com.google.protobuf.ProtocolMessage
    */
   public static final int COMPUTE_ENGINE_DISK_TYPE_BALANCED_VALUE = 3;
 
+
   public final int getNumber() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalArgumentException(
@@ -138,16 +107,11 @@ public static ComputeEngineDiskType valueOf(int value) {
    */
   public static ComputeEngineDiskType forNumber(int value) {
     switch (value) {
-      case 0:
-        return COMPUTE_ENGINE_DISK_TYPE_UNSPECIFIED;
-      case 1:
-        return COMPUTE_ENGINE_DISK_TYPE_STANDARD;
-      case 2:
-        return COMPUTE_ENGINE_DISK_TYPE_SSD;
-      case 3:
-        return COMPUTE_ENGINE_DISK_TYPE_BALANCED;
-      default:
-        return null;
+      case 0: return COMPUTE_ENGINE_DISK_TYPE_UNSPECIFIED;
+      case 1: return COMPUTE_ENGINE_DISK_TYPE_STANDARD;
+      case 2: return COMPUTE_ENGINE_DISK_TYPE_SSD;
+      case 3: return COMPUTE_ENGINE_DISK_TYPE_BALANCED;
+      default: return null;
     }
   }
 
@@ -155,29 +119,29 @@ public static ComputeEngineDiskType forNumber(int value) {
       internalGetValueMap() {
     return internalValueMap;
   }
-
-  private static final com.google.protobuf.Internal.EnumLiteMap
-      internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public ComputeEngineDiskType findValueByNumber(int number) {
-              return ComputeEngineDiskType.forNumber(number);
-            }
-          };
-
-  public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+  private static final com.google.protobuf.Internal.EnumLiteMap<
+      ComputeEngineDiskType> internalValueMap =
+        new com.google.protobuf.Internal.EnumLiteMap() {
+          public ComputeEngineDiskType findValueByNumber(int number) {
+            return ComputeEngineDiskType.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.vmmigration.v1.VmMigrationProto.getDescriptor().getEnumTypes().get(1);
+  public static final com.google.protobuf.Descriptors.EnumDescriptor
+      getDescriptor() {
+    return com.google.cloud.vmmigration.v1.VmMigrationProto.getDescriptor().getEnumTypes().get(2);
   }
 
   private static final ComputeEngineDiskType[] VALUES = values();
@@ -185,7 +149,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor
   public static ComputeEngineDiskType 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,3 +166,4 @@ private ComputeEngineDiskType(int value) {
 
   // @@protoc_insertion_point(enum_scope:google.cloud.vmmigration.v1.ComputeEngineDiskType)
 }
+
diff --git a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ComputeEngineLicenseType.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ComputeEngineLicenseType.java
similarity index 69%
rename from proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ComputeEngineLicenseType.java
rename to owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ComputeEngineLicenseType.java
index 5027bd5..57074ce 100644
--- a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ComputeEngineLicenseType.java
+++ b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ComputeEngineLicenseType.java
@@ -1,36 +1,18 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/vmmigration/v1/vmmigration.proto
 
 package com.google.cloud.vmmigration.v1;
 
 /**
- *
- *
  * 
  * Types of licenses used in OS adaptation.
  * 
* * Protobuf enum {@code google.cloud.vmmigration.v1.ComputeEngineLicenseType} */ -public enum ComputeEngineLicenseType implements com.google.protobuf.ProtocolMessageEnum { +public enum ComputeEngineLicenseType + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
    * The license type is the default for the OS.
    * 
@@ -39,8 +21,6 @@ public enum ComputeEngineLicenseType implements com.google.protobuf.ProtocolMess */ COMPUTE_ENGINE_LICENSE_TYPE_DEFAULT(0), /** - * - * *
    * The license type is Pay As You Go license type.
    * 
@@ -49,8 +29,6 @@ public enum ComputeEngineLicenseType implements com.google.protobuf.ProtocolMess */ COMPUTE_ENGINE_LICENSE_TYPE_PAYG(1), /** - * - * *
    * The license type is Bring Your Own License type.
    * 
@@ -62,8 +40,6 @@ public enum ComputeEngineLicenseType implements com.google.protobuf.ProtocolMess ; /** - * - * *
    * The license type is the default for the OS.
    * 
@@ -72,8 +48,6 @@ public enum ComputeEngineLicenseType implements com.google.protobuf.ProtocolMess */ public static final int COMPUTE_ENGINE_LICENSE_TYPE_DEFAULT_VALUE = 0; /** - * - * *
    * The license type is Pay As You Go license type.
    * 
@@ -82,8 +56,6 @@ public enum ComputeEngineLicenseType implements com.google.protobuf.ProtocolMess */ public static final int COMPUTE_ENGINE_LICENSE_TYPE_PAYG_VALUE = 1; /** - * - * *
    * The license type is Bring Your Own License type.
    * 
@@ -92,6 +64,7 @@ public enum ComputeEngineLicenseType implements com.google.protobuf.ProtocolMess */ public static final int COMPUTE_ENGINE_LICENSE_TYPE_BYOL_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -116,14 +89,10 @@ public static ComputeEngineLicenseType valueOf(int value) { */ public static ComputeEngineLicenseType forNumber(int value) { switch (value) { - case 0: - return COMPUTE_ENGINE_LICENSE_TYPE_DEFAULT; - case 1: - return COMPUTE_ENGINE_LICENSE_TYPE_PAYG; - case 2: - return COMPUTE_ENGINE_LICENSE_TYPE_BYOL; - default: - return null; + case 0: return COMPUTE_ENGINE_LICENSE_TYPE_DEFAULT; + case 1: return COMPUTE_ENGINE_LICENSE_TYPE_PAYG; + case 2: return COMPUTE_ENGINE_LICENSE_TYPE_BYOL; + default: return null; } } @@ -131,29 +100,29 @@ public static ComputeEngineLicenseType forNumber(int value) { internalGetValueMap() { return internalValueMap; } - - private static final com.google.protobuf.Internal.EnumLiteMap - internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public ComputeEngineLicenseType findValueByNumber(int number) { - return ComputeEngineLicenseType.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap< + ComputeEngineLicenseType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public ComputeEngineLicenseType findValueByNumber(int number) { + return ComputeEngineLicenseType.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.vmmigration.v1.VmMigrationProto.getDescriptor().getEnumTypes().get(2); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.getDescriptor().getEnumTypes().get(3); } private static final ComputeEngineLicenseType[] VALUES = values(); @@ -161,7 +130,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor public static ComputeEngineLicenseType 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; @@ -177,3 +147,4 @@ private ComputeEngineLicenseType(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.vmmigration.v1.ComputeEngineLicenseType) } + diff --git a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ComputeEngineTargetDefaults.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ComputeEngineTargetDefaults.java similarity index 64% rename from proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ComputeEngineTargetDefaults.java rename to owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ComputeEngineTargetDefaults.java index 65fe076..92e365a 100644 --- a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ComputeEngineTargetDefaults.java +++ b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ComputeEngineTargetDefaults.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; /** - * - * *
  * ComputeEngineTargetDefaults is a collection of details for creating a VM in a
  * target Compute Engine project.
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.cloud.vmmigration.v1.ComputeEngineTargetDefaults}
  */
-public final class ComputeEngineTargetDefaults extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ComputeEngineTargetDefaults extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.vmmigration.v1.ComputeEngineTargetDefaults)
     ComputeEngineTargetDefaultsOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ComputeEngineTargetDefaults.newBuilder() to construct.
   private ComputeEngineTargetDefaults(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private ComputeEngineTargetDefaults() {
     vmName_ = "";
     targetProject_ = "";
@@ -50,19 +32,22 @@ private ComputeEngineTargetDefaults() {
     diskType_ = 0;
     licenseType_ = 0;
     bootOption_ = 0;
+    additionalLicenses_ = com.google.protobuf.LazyStringArrayList.EMPTY;
+    hostname_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ComputeEngineTargetDefaults();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private ComputeEngineTargetDefaults(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -82,165 +67,157 @@ private ComputeEngineTargetDefaults(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              vmName_ = s;
-              break;
-            }
-          case 18:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            vmName_ = s;
+            break;
+          }
+          case 18: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              targetProject_ = s;
-              break;
-            }
-          case 26:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            targetProject_ = s;
+            break;
+          }
+          case 26: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              zone_ = s;
-              break;
-            }
-          case 34:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            zone_ = s;
+            break;
+          }
+          case 34: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              machineTypeSeries_ = s;
-              break;
-            }
-          case 42:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            machineTypeSeries_ = s;
+            break;
+          }
+          case 42: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              machineType_ = s;
-              break;
-            }
-          case 50:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                networkTags_ = new com.google.protobuf.LazyStringArrayList();
-                mutable_bitField0_ |= 0x00000001;
-              }
-              networkTags_.add(s);
-              break;
+            machineType_ = s;
+            break;
+          }
+          case 50: {
+            java.lang.String s = input.readStringRequireUtf8();
+            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+              networkTags_ = new com.google.protobuf.LazyStringArrayList();
+              mutable_bitField0_ |= 0x00000001;
             }
-          case 58:
-            {
-              if (!((mutable_bitField0_ & 0x00000002) != 0)) {
-                networkInterfaces_ =
-                    new java.util.ArrayList();
-                mutable_bitField0_ |= 0x00000002;
-              }
-              networkInterfaces_.add(
-                  input.readMessage(
-                      com.google.cloud.vmmigration.v1.NetworkInterface.parser(),
-                      extensionRegistry));
-              break;
+            networkTags_.add(s);
+            break;
+          }
+          case 58: {
+            if (!((mutable_bitField0_ & 0x00000002) != 0)) {
+              networkInterfaces_ = new java.util.ArrayList();
+              mutable_bitField0_ |= 0x00000002;
             }
-          case 66:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            networkInterfaces_.add(
+                input.readMessage(com.google.cloud.vmmigration.v1.NetworkInterface.parser(), extensionRegistry));
+            break;
+          }
+          case 66: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              serviceAccount_ = s;
-              break;
-            }
-          case 72:
-            {
-              int rawValue = input.readEnum();
+            serviceAccount_ = s;
+            break;
+          }
+          case 72: {
+            int rawValue = input.readEnum();
 
-              diskType_ = rawValue;
-              break;
-            }
-          case 82:
-            {
-              if (!((mutable_bitField0_ & 0x00000004) != 0)) {
-                labels_ =
-                    com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry);
-                mutable_bitField0_ |= 0x00000004;
-              }
-              com.google.protobuf.MapEntry labels__ =
-                  input.readMessage(
-                      LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-              labels_.getMutableMap().put(labels__.getKey(), labels__.getValue());
-              break;
+            diskType_ = rawValue;
+            break;
+          }
+          case 82: {
+            if (!((mutable_bitField0_ & 0x00000004) != 0)) {
+              labels_ = com.google.protobuf.MapField.newMapField(
+                  LabelsDefaultEntryHolder.defaultEntry);
+              mutable_bitField0_ |= 0x00000004;
             }
-          case 88:
-            {
-              int rawValue = input.readEnum();
+            com.google.protobuf.MapEntry
+            labels__ = input.readMessage(
+                LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+            labels_.getMutableMap().put(
+                labels__.getKey(), labels__.getValue());
+            break;
+          }
+          case 88: {
+            int rawValue = input.readEnum();
 
-              licenseType_ = rawValue;
-              break;
+            licenseType_ = rawValue;
+            break;
+          }
+          case 98: {
+            com.google.cloud.vmmigration.v1.AppliedLicense.Builder subBuilder = null;
+            if (appliedLicense_ != null) {
+              subBuilder = appliedLicense_.toBuilder();
             }
-          case 98:
-            {
-              com.google.cloud.vmmigration.v1.AppliedLicense.Builder subBuilder = null;
-              if (appliedLicense_ != null) {
-                subBuilder = appliedLicense_.toBuilder();
-              }
-              appliedLicense_ =
-                  input.readMessage(
-                      com.google.cloud.vmmigration.v1.AppliedLicense.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(appliedLicense_);
-                appliedLicense_ = subBuilder.buildPartial();
-              }
-
-              break;
+            appliedLicense_ = input.readMessage(com.google.cloud.vmmigration.v1.AppliedLicense.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(appliedLicense_);
+              appliedLicense_ = subBuilder.buildPartial();
             }
-          case 106:
-            {
-              com.google.cloud.vmmigration.v1.ComputeScheduling.Builder subBuilder = null;
-              if (computeScheduling_ != null) {
-                subBuilder = computeScheduling_.toBuilder();
-              }
-              computeScheduling_ =
-                  input.readMessage(
-                      com.google.cloud.vmmigration.v1.ComputeScheduling.parser(),
-                      extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(computeScheduling_);
-                computeScheduling_ = subBuilder.buildPartial();
-              }
-
-              break;
+
+            break;
+          }
+          case 106: {
+            com.google.cloud.vmmigration.v1.ComputeScheduling.Builder subBuilder = null;
+            if (computeScheduling_ != null) {
+              subBuilder = computeScheduling_.toBuilder();
             }
-          case 112:
-            {
-              secureBoot_ = input.readBool();
-              break;
+            computeScheduling_ = input.readMessage(com.google.cloud.vmmigration.v1.ComputeScheduling.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(computeScheduling_);
+              computeScheduling_ = subBuilder.buildPartial();
             }
-          case 120:
-            {
-              int rawValue = input.readEnum();
 
-              bootOption_ = rawValue;
-              break;
+            break;
+          }
+          case 112: {
+
+            secureBoot_ = input.readBool();
+            break;
+          }
+          case 120: {
+            int rawValue = input.readEnum();
+
+            bootOption_ = rawValue;
+            break;
+          }
+          case 130: {
+            if (!((mutable_bitField0_ & 0x00000008) != 0)) {
+              metadata_ = com.google.protobuf.MapField.newMapField(
+                  MetadataDefaultEntryHolder.defaultEntry);
+              mutable_bitField0_ |= 0x00000008;
             }
-          case 130:
-            {
-              if (!((mutable_bitField0_ & 0x00000008) != 0)) {
-                metadata_ =
-                    com.google.protobuf.MapField.newMapField(
-                        MetadataDefaultEntryHolder.defaultEntry);
-                mutable_bitField0_ |= 0x00000008;
-              }
-              com.google.protobuf.MapEntry metadata__ =
-                  input.readMessage(
-                      MetadataDefaultEntryHolder.defaultEntry.getParserForType(),
-                      extensionRegistry);
-              metadata_.getMutableMap().put(metadata__.getKey(), metadata__.getValue());
-              break;
+            com.google.protobuf.MapEntry
+            metadata__ = input.readMessage(
+                MetadataDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+            metadata_.getMutableMap().put(
+                metadata__.getKey(), metadata__.getValue());
+            break;
+          }
+          case 138: {
+            java.lang.String s = input.readStringRequireUtf8();
+            if (!((mutable_bitField0_ & 0x00000010) != 0)) {
+              additionalLicenses_ = new com.google.protobuf.LazyStringArrayList();
+              mutable_bitField0_ |= 0x00000010;
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            additionalLicenses_.add(s);
+            break;
+          }
+          case 146: {
+            java.lang.String s = input.readStringRequireUtf8();
+
+            hostname_ = s;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -248,7 +225,8 @@ private ComputeEngineTargetDefaults(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       if (((mutable_bitField0_ & 0x00000001) != 0)) {
         networkTags_ = networkTags_.getUnmodifiableView();
@@ -256,50 +234,48 @@ private ComputeEngineTargetDefaults(
       if (((mutable_bitField0_ & 0x00000002) != 0)) {
         networkInterfaces_ = java.util.Collections.unmodifiableList(networkInterfaces_);
       }
+      if (((mutable_bitField0_ & 0x00000010) != 0)) {
+        additionalLicenses_ = additionalLicenses_.getUnmodifiableView();
+      }
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.vmmigration.v1.VmMigrationProto
-        .internal_static_google_cloud_vmmigration_v1_ComputeEngineTargetDefaults_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ComputeEngineTargetDefaults_descriptor;
   }
 
   @SuppressWarnings({"rawtypes"})
   @java.lang.Override
-  protected com.google.protobuf.MapField internalGetMapField(int number) {
+  protected com.google.protobuf.MapField internalGetMapField(
+      int number) {
     switch (number) {
       case 10:
         return internalGetLabels();
       case 16:
         return internalGetMetadata();
       default:
-        throw new RuntimeException("Invalid map field number: " + number);
+        throw new RuntimeException(
+            "Invalid map field number: " + number);
     }
   }
-
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.vmmigration.v1.VmMigrationProto
-        .internal_static_google_cloud_vmmigration_v1_ComputeEngineTargetDefaults_fieldAccessorTable
+    return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ComputeEngineTargetDefaults_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaults.class,
-            com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaults.Builder.class);
+            com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaults.class, com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaults.Builder.class);
   }
 
   public static final int VM_NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object vmName_;
   /**
-   *
-   *
    * 
    * The name of the VM to create.
    * 
* * string vm_name = 1; - * * @return The vmName. */ @java.lang.Override @@ -308,29 +284,29 @@ public java.lang.String getVmName() { 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(); vmName_ = s; return s; } } /** - * - * *
    * The name of the VM to create.
    * 
* * string vm_name = 1; - * * @return The bytes for vmName. */ @java.lang.Override - public com.google.protobuf.ByteString getVmNameBytes() { + public com.google.protobuf.ByteString + getVmNameBytes() { java.lang.Object ref = vmName_; 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); vmName_ = b; return b; } else { @@ -341,15 +317,12 @@ public com.google.protobuf.ByteString getVmNameBytes() { public static final int TARGET_PROJECT_FIELD_NUMBER = 2; private volatile java.lang.Object targetProject_; /** - * - * *
    * The full path of the resource of type TargetProject which represents the
    * Compute Engine project in which to create this VM.
    * 
* * string target_project = 2 [(.google.api.resource_reference) = { ... } - * * @return The targetProject. */ @java.lang.Override @@ -358,30 +331,30 @@ public java.lang.String getTargetProject() { 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(); targetProject_ = s; return s; } } /** - * - * *
    * The full path of the resource of type TargetProject which represents the
    * Compute Engine project in which to create this VM.
    * 
* * string target_project = 2 [(.google.api.resource_reference) = { ... } - * * @return The bytes for targetProject. */ @java.lang.Override - public com.google.protobuf.ByteString getTargetProjectBytes() { + public com.google.protobuf.ByteString + getTargetProjectBytes() { java.lang.Object ref = targetProject_; 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); targetProject_ = b; return b; } else { @@ -392,14 +365,11 @@ public com.google.protobuf.ByteString getTargetProjectBytes() { public static final int ZONE_FIELD_NUMBER = 3; private volatile java.lang.Object zone_; /** - * - * *
    * The zone in which to create the VM.
    * 
* * string zone = 3; - * * @return The zone. */ @java.lang.Override @@ -408,29 +378,29 @@ public java.lang.String getZone() { 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(); zone_ = s; return s; } } /** - * - * *
    * The zone in which to create the VM.
    * 
* * string zone = 3; - * * @return The bytes for zone. */ @java.lang.Override - public com.google.protobuf.ByteString getZoneBytes() { + public com.google.protobuf.ByteString + getZoneBytes() { java.lang.Object ref = zone_; 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); zone_ = b; return b; } else { @@ -441,14 +411,11 @@ public com.google.protobuf.ByteString getZoneBytes() { public static final int MACHINE_TYPE_SERIES_FIELD_NUMBER = 4; private volatile java.lang.Object machineTypeSeries_; /** - * - * *
    * The machine type series to create the VM with.
    * 
* * string machine_type_series = 4; - * * @return The machineTypeSeries. */ @java.lang.Override @@ -457,29 +424,29 @@ public java.lang.String getMachineTypeSeries() { 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(); machineTypeSeries_ = s; return s; } } /** - * - * *
    * The machine type series to create the VM with.
    * 
* * string machine_type_series = 4; - * * @return The bytes for machineTypeSeries. */ @java.lang.Override - public com.google.protobuf.ByteString getMachineTypeSeriesBytes() { + public com.google.protobuf.ByteString + getMachineTypeSeriesBytes() { java.lang.Object ref = machineTypeSeries_; 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); machineTypeSeries_ = b; return b; } else { @@ -490,14 +457,11 @@ public com.google.protobuf.ByteString getMachineTypeSeriesBytes() { public static final int MACHINE_TYPE_FIELD_NUMBER = 5; private volatile java.lang.Object machineType_; /** - * - * *
    * The machine type to create the VM with.
    * 
* * string machine_type = 5; - * * @return The machineType. */ @java.lang.Override @@ -506,29 +470,29 @@ public java.lang.String getMachineType() { 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(); machineType_ = s; return s; } } /** - * - * *
    * The machine type to create the VM with.
    * 
* * string machine_type = 5; - * * @return The bytes for machineType. */ @java.lang.Override - public com.google.protobuf.ByteString getMachineTypeBytes() { + public com.google.protobuf.ByteString + getMachineTypeBytes() { java.lang.Object ref = machineType_; 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); machineType_ = b; return b; } else { @@ -539,42 +503,34 @@ public com.google.protobuf.ByteString getMachineTypeBytes() { public static final int NETWORK_TAGS_FIELD_NUMBER = 6; private com.google.protobuf.LazyStringList networkTags_; /** - * - * *
    * A map of network tags to associate with the VM.
    * 
* * repeated string network_tags = 6; - * * @return A list containing the networkTags. */ - public com.google.protobuf.ProtocolStringList getNetworkTagsList() { + public com.google.protobuf.ProtocolStringList + getNetworkTagsList() { return networkTags_; } /** - * - * *
    * A map of network tags to associate with the VM.
    * 
* * repeated string network_tags = 6; - * * @return The count of networkTags. */ public int getNetworkTagsCount() { return networkTags_.size(); } /** - * - * *
    * A map of network tags to associate with the VM.
    * 
* * repeated string network_tags = 6; - * * @param index The index of the element to return. * @return The networkTags at the given index. */ @@ -582,26 +538,22 @@ public java.lang.String getNetworkTags(int index) { return networkTags_.get(index); } /** - * - * *
    * A map of network tags to associate with the VM.
    * 
* * repeated string network_tags = 6; - * * @param index The index of the value to return. * @return The bytes of the networkTags at the given index. */ - public com.google.protobuf.ByteString getNetworkTagsBytes(int index) { + public com.google.protobuf.ByteString + getNetworkTagsBytes(int index) { return networkTags_.getByteString(index); } public static final int NETWORK_INTERFACES_FIELD_NUMBER = 7; private java.util.List networkInterfaces_; /** - * - * *
    * List of NICs connected to this VM.
    * 
@@ -609,13 +561,10 @@ public com.google.protobuf.ByteString getNetworkTagsBytes(int index) { * repeated .google.cloud.vmmigration.v1.NetworkInterface network_interfaces = 7; */ @java.lang.Override - public java.util.List - getNetworkInterfacesList() { + public java.util.List getNetworkInterfacesList() { return networkInterfaces_; } /** - * - * *
    * List of NICs connected to this VM.
    * 
@@ -623,13 +572,11 @@ public com.google.protobuf.ByteString getNetworkTagsBytes(int index) { * repeated .google.cloud.vmmigration.v1.NetworkInterface network_interfaces = 7; */ @java.lang.Override - public java.util.List + public java.util.List getNetworkInterfacesOrBuilderList() { return networkInterfaces_; } /** - * - * *
    * List of NICs connected to this VM.
    * 
@@ -641,8 +588,6 @@ public int getNetworkInterfacesCount() { return networkInterfaces_.size(); } /** - * - * *
    * List of NICs connected to this VM.
    * 
@@ -654,8 +599,6 @@ public com.google.cloud.vmmigration.v1.NetworkInterface getNetworkInterfaces(int return networkInterfaces_.get(index); } /** - * - * *
    * List of NICs connected to this VM.
    * 
@@ -671,14 +614,11 @@ public com.google.cloud.vmmigration.v1.NetworkInterfaceOrBuilder getNetworkInter public static final int SERVICE_ACCOUNT_FIELD_NUMBER = 8; private volatile java.lang.Object serviceAccount_; /** - * - * *
    * The service account to associate the VM with.
    * 
* * string service_account = 8; - * * @return The serviceAccount. */ @java.lang.Override @@ -687,29 +627,29 @@ public java.lang.String getServiceAccount() { 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(); serviceAccount_ = s; return s; } } /** - * - * *
    * The service account to associate the VM with.
    * 
* * string service_account = 8; - * * @return The bytes for serviceAccount. */ @java.lang.Override - public com.google.protobuf.ByteString getServiceAccountBytes() { + public com.google.protobuf.ByteString + getServiceAccountBytes() { java.lang.Object ref = serviceAccount_; 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); serviceAccount_ = b; return b; } else { @@ -720,59 +660,49 @@ public com.google.protobuf.ByteString getServiceAccountBytes() { public static final int DISK_TYPE_FIELD_NUMBER = 9; private int diskType_; /** - * - * *
    * The disk type to use in the VM.
    * 
* * .google.cloud.vmmigration.v1.ComputeEngineDiskType disk_type = 9; - * * @return The enum numeric value on the wire for diskType. */ - @java.lang.Override - public int getDiskTypeValue() { + @java.lang.Override public int getDiskTypeValue() { return diskType_; } /** - * - * *
    * The disk type to use in the VM.
    * 
* * .google.cloud.vmmigration.v1.ComputeEngineDiskType disk_type = 9; - * * @return The diskType. */ - @java.lang.Override - public com.google.cloud.vmmigration.v1.ComputeEngineDiskType getDiskType() { + @java.lang.Override public com.google.cloud.vmmigration.v1.ComputeEngineDiskType getDiskType() { @SuppressWarnings("deprecation") - com.google.cloud.vmmigration.v1.ComputeEngineDiskType result = - com.google.cloud.vmmigration.v1.ComputeEngineDiskType.valueOf(diskType_); - return result == null - ? com.google.cloud.vmmigration.v1.ComputeEngineDiskType.UNRECOGNIZED - : result; + com.google.cloud.vmmigration.v1.ComputeEngineDiskType result = com.google.cloud.vmmigration.v1.ComputeEngineDiskType.valueOf(diskType_); + return result == null ? com.google.cloud.vmmigration.v1.ComputeEngineDiskType.UNRECOGNIZED : result; } public static final int LABELS_FIELD_NUMBER = 10; - private static final class LabelsDefaultEntryHolder { - static final com.google.protobuf.MapEntry defaultEntry = - com.google.protobuf.MapEntry.newDefaultInstance( - com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_ComputeEngineTargetDefaults_LabelsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); - } - - private com.google.protobuf.MapField labels_; - - private com.google.protobuf.MapField internalGetLabels() { + static final com.google.protobuf.MapEntry< + java.lang.String, java.lang.String> defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ComputeEngineTargetDefaults_LabelsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); + } + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> labels_; + private com.google.protobuf.MapField + internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + LabelsDefaultEntryHolder.defaultEntry); } return labels_; } @@ -781,30 +711,28 @@ public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** - * - * *
    * A map of labels to associate with the VM.
    * 
* * map<string, string> labels = 10; */ + @java.lang.Override - public boolean containsLabels(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsLabels( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetLabels().getMap().containsKey(key); } - /** Use {@link #getLabelsMap()} instead. */ + /** + * Use {@link #getLabelsMap()} instead. + */ @java.lang.Override @java.lang.Deprecated public java.util.Map getLabels() { return getLabelsMap(); } /** - * - * *
    * A map of labels to associate with the VM.
    * 
@@ -812,12 +740,11 @@ public java.util.Map getLabels() { * map<string, string> labels = 10; */ @java.lang.Override + public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** - * - * *
    * A map of labels to associate with the VM.
    * 
@@ -825,16 +752,16 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 10; */ @java.lang.Override - public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.String defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetLabels().getMap(); + + public java.lang.String getLabelsOrDefault( + java.lang.String key, + java.lang.String defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
    * A map of labels to associate with the VM.
    * 
@@ -842,11 +769,12 @@ public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.Strin * map<string, string> labels = 10; */ @java.lang.Override - public java.lang.String getLabelsOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetLabels().getMap(); + + public java.lang.String getLabelsOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -856,54 +784,38 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) { public static final int LICENSE_TYPE_FIELD_NUMBER = 11; private int licenseType_; /** - * - * *
    * The license type to use in OS adaptation.
    * 
* * .google.cloud.vmmigration.v1.ComputeEngineLicenseType license_type = 11; - * * @return The enum numeric value on the wire for licenseType. */ - @java.lang.Override - public int getLicenseTypeValue() { + @java.lang.Override public int getLicenseTypeValue() { return licenseType_; } /** - * - * *
    * The license type to use in OS adaptation.
    * 
* * .google.cloud.vmmigration.v1.ComputeEngineLicenseType license_type = 11; - * * @return The licenseType. */ - @java.lang.Override - public com.google.cloud.vmmigration.v1.ComputeEngineLicenseType getLicenseType() { + @java.lang.Override public com.google.cloud.vmmigration.v1.ComputeEngineLicenseType getLicenseType() { @SuppressWarnings("deprecation") - com.google.cloud.vmmigration.v1.ComputeEngineLicenseType result = - com.google.cloud.vmmigration.v1.ComputeEngineLicenseType.valueOf(licenseType_); - return result == null - ? com.google.cloud.vmmigration.v1.ComputeEngineLicenseType.UNRECOGNIZED - : result; + com.google.cloud.vmmigration.v1.ComputeEngineLicenseType result = com.google.cloud.vmmigration.v1.ComputeEngineLicenseType.valueOf(licenseType_); + return result == null ? com.google.cloud.vmmigration.v1.ComputeEngineLicenseType.UNRECOGNIZED : result; } public static final int APPLIED_LICENSE_FIELD_NUMBER = 12; private com.google.cloud.vmmigration.v1.AppliedLicense appliedLicense_; /** - * - * *
    * Output only. The OS license returned from the adaptation module report.
    * 
* - * - * .google.cloud.vmmigration.v1.AppliedLicense applied_license = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.vmmigration.v1.AppliedLicense applied_license = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the appliedLicense field is set. */ @java.lang.Override @@ -911,34 +823,23 @@ public boolean hasAppliedLicense() { return appliedLicense_ != null; } /** - * - * *
    * Output only. The OS license returned from the adaptation module report.
    * 
* - * - * .google.cloud.vmmigration.v1.AppliedLicense applied_license = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.vmmigration.v1.AppliedLicense applied_license = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The appliedLicense. */ @java.lang.Override public com.google.cloud.vmmigration.v1.AppliedLicense getAppliedLicense() { - return appliedLicense_ == null - ? com.google.cloud.vmmigration.v1.AppliedLicense.getDefaultInstance() - : appliedLicense_; + return appliedLicense_ == null ? com.google.cloud.vmmigration.v1.AppliedLicense.getDefaultInstance() : appliedLicense_; } /** - * - * *
    * Output only. The OS license returned from the adaptation module report.
    * 
* - * - * .google.cloud.vmmigration.v1.AppliedLicense applied_license = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.vmmigration.v1.AppliedLicense applied_license = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.cloud.vmmigration.v1.AppliedLicenseOrBuilder getAppliedLicenseOrBuilder() { @@ -948,14 +849,11 @@ public com.google.cloud.vmmigration.v1.AppliedLicenseOrBuilder getAppliedLicense public static final int COMPUTE_SCHEDULING_FIELD_NUMBER = 13; private com.google.cloud.vmmigration.v1.ComputeScheduling computeScheduling_; /** - * - * *
    * Compute instance scheduling information (if empty default is used).
    * 
* * .google.cloud.vmmigration.v1.ComputeScheduling compute_scheduling = 13; - * * @return Whether the computeScheduling field is set. */ @java.lang.Override @@ -963,25 +861,18 @@ public boolean hasComputeScheduling() { return computeScheduling_ != null; } /** - * - * *
    * Compute instance scheduling information (if empty default is used).
    * 
* * .google.cloud.vmmigration.v1.ComputeScheduling compute_scheduling = 13; - * * @return The computeScheduling. */ @java.lang.Override public com.google.cloud.vmmigration.v1.ComputeScheduling getComputeScheduling() { - return computeScheduling_ == null - ? com.google.cloud.vmmigration.v1.ComputeScheduling.getDefaultInstance() - : computeScheduling_; + return computeScheduling_ == null ? com.google.cloud.vmmigration.v1.ComputeScheduling.getDefaultInstance() : computeScheduling_; } /** - * - * *
    * Compute instance scheduling information (if empty default is used).
    * 
@@ -989,23 +880,19 @@ public com.google.cloud.vmmigration.v1.ComputeScheduling getComputeScheduling() * .google.cloud.vmmigration.v1.ComputeScheduling compute_scheduling = 13; */ @java.lang.Override - public com.google.cloud.vmmigration.v1.ComputeSchedulingOrBuilder - getComputeSchedulingOrBuilder() { + public com.google.cloud.vmmigration.v1.ComputeSchedulingOrBuilder getComputeSchedulingOrBuilder() { return getComputeScheduling(); } public static final int SECURE_BOOT_FIELD_NUMBER = 14; private boolean secureBoot_; /** - * - * *
    * Defines whether the instance has Secure Boot enabled.
    * This can be set to true only if the vm boot option is EFI.
    * 
* * bool secure_boot = 14; - * * @return The secureBoot. */ @java.lang.Override @@ -1016,63 +903,49 @@ public boolean getSecureBoot() { public static final int BOOT_OPTION_FIELD_NUMBER = 15; private int bootOption_; /** - * - * *
    * Output only. The VM Boot Option, as set in the source vm.
    * 
* - * - * .google.cloud.vmmigration.v1.ComputeEngineBootOption boot_option = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.vmmigration.v1.ComputeEngineBootOption boot_option = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for bootOption. */ - @java.lang.Override - public int getBootOptionValue() { + @java.lang.Override public int getBootOptionValue() { return bootOption_; } /** - * - * *
    * Output only. The VM Boot Option, as set in the source vm.
    * 
* - * - * .google.cloud.vmmigration.v1.ComputeEngineBootOption boot_option = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.vmmigration.v1.ComputeEngineBootOption boot_option = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The bootOption. */ - @java.lang.Override - public com.google.cloud.vmmigration.v1.ComputeEngineBootOption getBootOption() { + @java.lang.Override public com.google.cloud.vmmigration.v1.ComputeEngineBootOption getBootOption() { @SuppressWarnings("deprecation") - com.google.cloud.vmmigration.v1.ComputeEngineBootOption result = - com.google.cloud.vmmigration.v1.ComputeEngineBootOption.valueOf(bootOption_); - return result == null - ? com.google.cloud.vmmigration.v1.ComputeEngineBootOption.UNRECOGNIZED - : result; + com.google.cloud.vmmigration.v1.ComputeEngineBootOption result = com.google.cloud.vmmigration.v1.ComputeEngineBootOption.valueOf(bootOption_); + return result == null ? com.google.cloud.vmmigration.v1.ComputeEngineBootOption.UNRECOGNIZED : result; } public static final int METADATA_FIELD_NUMBER = 16; - private static final class MetadataDefaultEntryHolder { - static final com.google.protobuf.MapEntry defaultEntry = - com.google.protobuf.MapEntry.newDefaultInstance( - com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_ComputeEngineTargetDefaults_MetadataEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); - } - - private com.google.protobuf.MapField metadata_; - - private com.google.protobuf.MapField internalGetMetadata() { + static final com.google.protobuf.MapEntry< + java.lang.String, java.lang.String> defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ComputeEngineTargetDefaults_MetadataEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); + } + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> metadata_; + private com.google.protobuf.MapField + internalGetMetadata() { if (metadata_ == null) { - return com.google.protobuf.MapField.emptyMapField(MetadataDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + MetadataDefaultEntryHolder.defaultEntry); } return metadata_; } @@ -1081,30 +954,28 @@ public int getMetadataCount() { return internalGetMetadata().getMap().size(); } /** - * - * *
    * The metadata key/value pairs to assign to the VM.
    * 
* * map<string, string> metadata = 16; */ + @java.lang.Override - public boolean containsMetadata(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsMetadata( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetMetadata().getMap().containsKey(key); } - /** Use {@link #getMetadataMap()} instead. */ + /** + * Use {@link #getMetadataMap()} instead. + */ @java.lang.Override @java.lang.Deprecated public java.util.Map getMetadata() { return getMetadataMap(); } /** - * - * *
    * The metadata key/value pairs to assign to the VM.
    * 
@@ -1112,12 +983,11 @@ public java.util.Map getMetadata() { * map<string, string> metadata = 16; */ @java.lang.Override + public java.util.Map getMetadataMap() { return internalGetMetadata().getMap(); } /** - * - * *
    * The metadata key/value pairs to assign to the VM.
    * 
@@ -1125,17 +995,16 @@ public java.util.Map getMetadataMap() { * map<string, string> metadata = 16; */ @java.lang.Override + public java.lang.String getMetadataOrDefault( - java.lang.String key, java.lang.String defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetMetadata().getMap(); + java.lang.String key, + java.lang.String defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetMetadata().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
    * The metadata key/value pairs to assign to the VM.
    * 
@@ -1143,39 +1012,137 @@ public java.lang.String getMetadataOrDefault( * map<string, string> metadata = 16; */ @java.lang.Override - public java.lang.String getMetadataOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetMetadata().getMap(); + + public java.lang.String getMetadataOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetMetadata().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } - 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; + public static final int ADDITIONAL_LICENSES_FIELD_NUMBER = 17; + private com.google.protobuf.LazyStringList additionalLicenses_; + /** + *
+   * Additional licenses to assign to the VM.
+   * 
+ * + * repeated string additional_licenses = 17; + * @return A list containing the additionalLicenses. + */ + public com.google.protobuf.ProtocolStringList + getAdditionalLicensesList() { + return additionalLicenses_; + } + /** + *
+   * Additional licenses to assign to the VM.
+   * 
+ * + * repeated string additional_licenses = 17; + * @return The count of additionalLicenses. + */ + public int getAdditionalLicensesCount() { + return additionalLicenses_.size(); + } + /** + *
+   * Additional licenses to assign to the VM.
+   * 
+ * + * repeated string additional_licenses = 17; + * @param index The index of the element to return. + * @return The additionalLicenses at the given index. + */ + public java.lang.String getAdditionalLicenses(int index) { + return additionalLicenses_.get(index); + } + /** + *
+   * Additional licenses to assign to the VM.
+   * 
+ * + * repeated string additional_licenses = 17; + * @param index The index of the value to return. + * @return The bytes of the additionalLicenses at the given index. + */ + public com.google.protobuf.ByteString + getAdditionalLicensesBytes(int index) { + return additionalLicenses_.getByteString(index); } + public static final int HOSTNAME_FIELD_NUMBER = 18; + private volatile java.lang.Object hostname_; + /** + *
+   * The hostname to assign to the VM.
+   * 
+ * + * string hostname = 18; + * @return The hostname. + */ @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(vmName_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, vmName_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(targetProject_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, targetProject_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(zone_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, zone_); + public java.lang.String getHostname() { + java.lang.Object ref = hostname_; + 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(); + hostname_ = s; + return s; + } + } + /** + *
+   * The hostname to assign to the VM.
+   * 
+ * + * string hostname = 18; + * @return The bytes for hostname. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getHostnameBytes() { + java.lang.Object ref = hostname_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + hostname_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + 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(vmName_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, vmName_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(targetProject_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, targetProject_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(zone_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, zone_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(machineTypeSeries_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, machineTypeSeries_); @@ -1192,18 +1159,16 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(serviceAccount_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 8, serviceAccount_); } - if (diskType_ - != com.google.cloud.vmmigration.v1.ComputeEngineDiskType - .COMPUTE_ENGINE_DISK_TYPE_UNSPECIFIED - .getNumber()) { + if (diskType_ != com.google.cloud.vmmigration.v1.ComputeEngineDiskType.COMPUTE_ENGINE_DISK_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(9, diskType_); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( - output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 10); - if (licenseType_ - != com.google.cloud.vmmigration.v1.ComputeEngineLicenseType - .COMPUTE_ENGINE_LICENSE_TYPE_DEFAULT - .getNumber()) { + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetLabels(), + LabelsDefaultEntryHolder.defaultEntry, + 10); + if (licenseType_ != com.google.cloud.vmmigration.v1.ComputeEngineLicenseType.COMPUTE_ENGINE_LICENSE_TYPE_DEFAULT.getNumber()) { output.writeEnum(11, licenseType_); } if (appliedLicense_ != null) { @@ -1215,14 +1180,21 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (secureBoot_ != false) { output.writeBool(14, secureBoot_); } - if (bootOption_ - != com.google.cloud.vmmigration.v1.ComputeEngineBootOption - .COMPUTE_ENGINE_BOOT_OPTION_UNSPECIFIED - .getNumber()) { + if (bootOption_ != com.google.cloud.vmmigration.v1.ComputeEngineBootOption.COMPUTE_ENGINE_BOOT_OPTION_UNSPECIFIED.getNumber()) { output.writeEnum(15, bootOption_); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( - output, internalGetMetadata(), MetadataDefaultEntryHolder.defaultEntry, 16); + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetMetadata(), + MetadataDefaultEntryHolder.defaultEntry, + 16); + for (int i = 0; i < additionalLicenses_.size(); i++) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 17, additionalLicenses_.getRaw(i)); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(hostname_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 18, hostname_); + } unknownFields.writeTo(output); } @@ -1256,58 +1228,66 @@ public int getSerializedSize() { size += 1 * getNetworkTagsList().size(); } for (int i = 0; i < networkInterfaces_.size(); i++) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(7, networkInterfaces_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(7, networkInterfaces_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(serviceAccount_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, serviceAccount_); } - if (diskType_ - != com.google.cloud.vmmigration.v1.ComputeEngineDiskType - .COMPUTE_ENGINE_DISK_TYPE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(9, diskType_); - } - for (java.util.Map.Entry entry : - internalGetLabels().getMap().entrySet()) { - com.google.protobuf.MapEntry labels__ = - LabelsDefaultEntryHolder.defaultEntry - .newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream.computeMessageSize(10, labels__); - } - if (licenseType_ - != com.google.cloud.vmmigration.v1.ComputeEngineLicenseType - .COMPUTE_ENGINE_LICENSE_TYPE_DEFAULT - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(11, licenseType_); + if (diskType_ != com.google.cloud.vmmigration.v1.ComputeEngineDiskType.COMPUTE_ENGINE_DISK_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(9, diskType_); + } + for (java.util.Map.Entry entry + : internalGetLabels().getMap().entrySet()) { + com.google.protobuf.MapEntry + labels__ = LabelsDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(10, labels__); + } + if (licenseType_ != com.google.cloud.vmmigration.v1.ComputeEngineLicenseType.COMPUTE_ENGINE_LICENSE_TYPE_DEFAULT.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(11, licenseType_); } if (appliedLicense_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(12, getAppliedLicense()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(12, getAppliedLicense()); } if (computeScheduling_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(13, getComputeScheduling()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(13, getComputeScheduling()); } if (secureBoot_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(14, secureBoot_); - } - if (bootOption_ - != com.google.cloud.vmmigration.v1.ComputeEngineBootOption - .COMPUTE_ENGINE_BOOT_OPTION_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(15, bootOption_); - } - for (java.util.Map.Entry entry : - internalGetMetadata().getMap().entrySet()) { - com.google.protobuf.MapEntry metadata__ = - MetadataDefaultEntryHolder.defaultEntry - .newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream.computeMessageSize(16, metadata__); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(14, secureBoot_); + } + if (bootOption_ != com.google.cloud.vmmigration.v1.ComputeEngineBootOption.COMPUTE_ENGINE_BOOT_OPTION_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(15, bootOption_); + } + for (java.util.Map.Entry entry + : internalGetMetadata().getMap().entrySet()) { + com.google.protobuf.MapEntry + metadata__ = MetadataDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(16, metadata__); + } + { + int dataSize = 0; + for (int i = 0; i < additionalLicenses_.size(); i++) { + dataSize += computeStringSizeNoTag(additionalLicenses_.getRaw(i)); + } + size += dataSize; + size += 2 * getAdditionalLicensesList().size(); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(hostname_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(18, hostname_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1317,36 +1297,52 @@ 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.vmmigration.v1.ComputeEngineTargetDefaults)) { return super.equals(obj); } - com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaults other = - (com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaults) obj; - - if (!getVmName().equals(other.getVmName())) return false; - if (!getTargetProject().equals(other.getTargetProject())) return false; - if (!getZone().equals(other.getZone())) return false; - if (!getMachineTypeSeries().equals(other.getMachineTypeSeries())) return false; - if (!getMachineType().equals(other.getMachineType())) return false; - if (!getNetworkTagsList().equals(other.getNetworkTagsList())) return false; - if (!getNetworkInterfacesList().equals(other.getNetworkInterfacesList())) return false; - if (!getServiceAccount().equals(other.getServiceAccount())) return false; + com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaults other = (com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaults) obj; + + if (!getVmName() + .equals(other.getVmName())) return false; + if (!getTargetProject() + .equals(other.getTargetProject())) return false; + if (!getZone() + .equals(other.getZone())) return false; + if (!getMachineTypeSeries() + .equals(other.getMachineTypeSeries())) return false; + if (!getMachineType() + .equals(other.getMachineType())) return false; + if (!getNetworkTagsList() + .equals(other.getNetworkTagsList())) return false; + if (!getNetworkInterfacesList() + .equals(other.getNetworkInterfacesList())) return false; + if (!getServiceAccount() + .equals(other.getServiceAccount())) return false; if (diskType_ != other.diskType_) return false; - if (!internalGetLabels().equals(other.internalGetLabels())) return false; + if (!internalGetLabels().equals( + other.internalGetLabels())) return false; if (licenseType_ != other.licenseType_) return false; if (hasAppliedLicense() != other.hasAppliedLicense()) return false; if (hasAppliedLicense()) { - if (!getAppliedLicense().equals(other.getAppliedLicense())) return false; + if (!getAppliedLicense() + .equals(other.getAppliedLicense())) return false; } if (hasComputeScheduling() != other.hasComputeScheduling()) return false; if (hasComputeScheduling()) { - if (!getComputeScheduling().equals(other.getComputeScheduling())) return false; + if (!getComputeScheduling() + .equals(other.getComputeScheduling())) return false; } - if (getSecureBoot() != other.getSecureBoot()) return false; + if (getSecureBoot() + != other.getSecureBoot()) return false; if (bootOption_ != other.bootOption_) return false; - if (!internalGetMetadata().equals(other.internalGetMetadata())) return false; + if (!internalGetMetadata().equals( + other.internalGetMetadata())) return false; + if (!getAdditionalLicensesList() + .equals(other.getAdditionalLicensesList())) return false; + if (!getHostname() + .equals(other.getHostname())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -1395,117 +1391,116 @@ public int hashCode() { hash = (53 * hash) + getComputeScheduling().hashCode(); } hash = (37 * hash) + SECURE_BOOT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getSecureBoot()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getSecureBoot()); hash = (37 * hash) + BOOT_OPTION_FIELD_NUMBER; hash = (53 * hash) + bootOption_; if (!internalGetMetadata().getMap().isEmpty()) { hash = (37 * hash) + METADATA_FIELD_NUMBER; hash = (53 * hash) + internalGetMetadata().hashCode(); } + if (getAdditionalLicensesCount() > 0) { + hash = (37 * hash) + ADDITIONAL_LICENSES_FIELD_NUMBER; + hash = (53 * hash) + getAdditionalLicensesList().hashCode(); + } + hash = (37 * hash) + HOSTNAME_FIELD_NUMBER; + hash = (53 * hash) + getHostname().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaults 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.vmmigration.v1.ComputeEngineTargetDefaults 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.vmmigration.v1.ComputeEngineTargetDefaults parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaults 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.vmmigration.v1.ComputeEngineTargetDefaults parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaults 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.vmmigration.v1.ComputeEngineTargetDefaults parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaults parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaults 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.vmmigration.v1.ComputeEngineTargetDefaults parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaults parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaults 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.vmmigration.v1.ComputeEngineTargetDefaults 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.vmmigration.v1.ComputeEngineTargetDefaults 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.vmmigration.v1.ComputeEngineTargetDefaults prototype) { + public static Builder newBuilder(com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaults 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; } /** - * - * *
    * ComputeEngineTargetDefaults is a collection of details for creating a VM in a
    * target Compute Engine project.
@@ -1513,47 +1508,47 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.vmmigration.v1.ComputeEngineTargetDefaults}
    */
-  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.vmmigration.v1.ComputeEngineTargetDefaults)
       com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaultsOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.vmmigration.v1.VmMigrationProto
-          .internal_static_google_cloud_vmmigration_v1_ComputeEngineTargetDefaults_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ComputeEngineTargetDefaults_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMapField(int number) {
+    protected com.google.protobuf.MapField internalGetMapField(
+        int number) {
       switch (number) {
         case 10:
           return internalGetLabels();
         case 16:
           return internalGetMetadata();
         default:
-          throw new RuntimeException("Invalid map field number: " + number);
+          throw new RuntimeException(
+              "Invalid map field number: " + number);
       }
     }
-
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMutableMapField(int number) {
+    protected com.google.protobuf.MapField internalGetMutableMapField(
+        int number) {
       switch (number) {
         case 10:
           return internalGetMutableLabels();
         case 16:
           return internalGetMutableMetadata();
         default:
-          throw new RuntimeException("Invalid map field number: " + number);
+          throw new RuntimeException(
+              "Invalid map field number: " + number);
       }
     }
-
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.vmmigration.v1.VmMigrationProto
-          .internal_static_google_cloud_vmmigration_v1_ComputeEngineTargetDefaults_fieldAccessorTable
+      return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ComputeEngineTargetDefaults_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaults.class,
-              com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaults.Builder.class);
+              com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaults.class, com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaults.Builder.class);
     }
 
     // Construct using com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaults.newBuilder()
@@ -1561,17 +1556,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) {
         getNetworkInterfacesFieldBuilder();
       }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1617,13 +1612,17 @@ public Builder clear() {
       bootOption_ = 0;
 
       internalGetMutableMetadata().clear();
+      additionalLicenses_ = com.google.protobuf.LazyStringArrayList.EMPTY;
+      bitField0_ = (bitField0_ & ~0x00000010);
+      hostname_ = "";
+
       return this;
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.vmmigration.v1.VmMigrationProto
-          .internal_static_google_cloud_vmmigration_v1_ComputeEngineTargetDefaults_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ComputeEngineTargetDefaults_descriptor;
     }
 
     @java.lang.Override
@@ -1642,8 +1641,7 @@ public com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaults build() {
 
     @java.lang.Override
     public com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaults buildPartial() {
-      com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaults result =
-          new com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaults(this);
+      com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaults result = new com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaults(this);
       int from_bitField0_ = bitField0_;
       result.vmName_ = vmName_;
       result.targetProject_ = targetProject_;
@@ -1683,6 +1681,12 @@ public com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaults buildPartial(
       result.bootOption_ = bootOption_;
       result.metadata_ = internalGetMetadata();
       result.metadata_.makeImmutable();
+      if (((bitField0_ & 0x00000010) != 0)) {
+        additionalLicenses_ = additionalLicenses_.getUnmodifiableView();
+        bitField0_ = (bitField0_ & ~0x00000010);
+      }
+      result.additionalLicenses_ = additionalLicenses_;
+      result.hostname_ = hostname_;
       onBuilt();
       return result;
     }
@@ -1691,39 +1695,38 @@ public com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaults buildPartial(
     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.vmmigration.v1.ComputeEngineTargetDefaults) {
-        return mergeFrom((com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaults) other);
+        return mergeFrom((com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaults)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1731,8 +1734,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaults other) {
-      if (other == com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaults.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaults.getDefaultInstance()) return this;
       if (!other.getVmName().isEmpty()) {
         vmName_ = other.vmName_;
         onChanged();
@@ -1781,10 +1783,9 @@ public Builder mergeFrom(com.google.cloud.vmmigration.v1.ComputeEngineTargetDefa
             networkInterfacesBuilder_ = null;
             networkInterfaces_ = other.networkInterfaces_;
             bitField0_ = (bitField0_ & ~0x00000002);
-            networkInterfacesBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getNetworkInterfacesFieldBuilder()
-                    : null;
+            networkInterfacesBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getNetworkInterfacesFieldBuilder() : null;
           } else {
             networkInterfacesBuilder_.addAllMessages(other.networkInterfaces_);
           }
@@ -1797,7 +1798,8 @@ public Builder mergeFrom(com.google.cloud.vmmigration.v1.ComputeEngineTargetDefa
       if (other.diskType_ != 0) {
         setDiskTypeValue(other.getDiskTypeValue());
       }
-      internalGetMutableLabels().mergeFrom(other.internalGetLabels());
+      internalGetMutableLabels().mergeFrom(
+          other.internalGetLabels());
       if (other.licenseType_ != 0) {
         setLicenseTypeValue(other.getLicenseTypeValue());
       }
@@ -1813,7 +1815,22 @@ public Builder mergeFrom(com.google.cloud.vmmigration.v1.ComputeEngineTargetDefa
       if (other.bootOption_ != 0) {
         setBootOptionValue(other.getBootOptionValue());
       }
-      internalGetMutableMetadata().mergeFrom(other.internalGetMetadata());
+      internalGetMutableMetadata().mergeFrom(
+          other.internalGetMetadata());
+      if (!other.additionalLicenses_.isEmpty()) {
+        if (additionalLicenses_.isEmpty()) {
+          additionalLicenses_ = other.additionalLicenses_;
+          bitField0_ = (bitField0_ & ~0x00000010);
+        } else {
+          ensureAdditionalLicensesIsMutable();
+          additionalLicenses_.addAll(other.additionalLicenses_);
+        }
+        onChanged();
+      }
+      if (!other.getHostname().isEmpty()) {
+        hostname_ = other.hostname_;
+        onChanged();
+      }
       this.mergeUnknownFields(other.unknownFields);
       onChanged();
       return this;
@@ -1833,8 +1850,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaults) e.getUnfinishedMessage();
+        parsedMessage = (com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaults) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -1843,25 +1859,22 @@ public Builder mergeFrom(
       }
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object vmName_ = "";
     /**
-     *
-     *
      * 
      * The name of the VM to create.
      * 
* * string vm_name = 1; - * * @return The vmName. */ public java.lang.String getVmName() { java.lang.Object ref = vmName_; 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(); vmName_ = s; return s; @@ -1870,21 +1883,20 @@ public java.lang.String getVmName() { } } /** - * - * *
      * The name of the VM to create.
      * 
* * string vm_name = 1; - * * @return The bytes for vmName. */ - public com.google.protobuf.ByteString getVmNameBytes() { + public com.google.protobuf.ByteString + getVmNameBytes() { java.lang.Object ref = vmName_; 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); vmName_ = b; return b; } else { @@ -1892,61 +1904,54 @@ public com.google.protobuf.ByteString getVmNameBytes() { } } /** - * - * *
      * The name of the VM to create.
      * 
* * string vm_name = 1; - * * @param value The vmName to set. * @return This builder for chaining. */ - public Builder setVmName(java.lang.String value) { + public Builder setVmName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + vmName_ = value; onChanged(); return this; } /** - * - * *
      * The name of the VM to create.
      * 
* * string vm_name = 1; - * * @return This builder for chaining. */ public Builder clearVmName() { - + vmName_ = getDefaultInstance().getVmName(); onChanged(); return this; } /** - * - * *
      * The name of the VM to create.
      * 
* * string vm_name = 1; - * * @param value The bytes for vmName to set. * @return This builder for chaining. */ - public Builder setVmNameBytes(com.google.protobuf.ByteString value) { + public Builder setVmNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + vmName_ = value; onChanged(); return this; @@ -1954,21 +1959,19 @@ public Builder setVmNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object targetProject_ = ""; /** - * - * *
      * The full path of the resource of type TargetProject which represents the
      * Compute Engine project in which to create this VM.
      * 
* * string target_project = 2 [(.google.api.resource_reference) = { ... } - * * @return The targetProject. */ public java.lang.String getTargetProject() { java.lang.Object ref = targetProject_; 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(); targetProject_ = s; return s; @@ -1977,22 +1980,21 @@ public java.lang.String getTargetProject() { } } /** - * - * *
      * The full path of the resource of type TargetProject which represents the
      * Compute Engine project in which to create this VM.
      * 
* * string target_project = 2 [(.google.api.resource_reference) = { ... } - * * @return The bytes for targetProject. */ - public com.google.protobuf.ByteString getTargetProjectBytes() { + public com.google.protobuf.ByteString + getTargetProjectBytes() { java.lang.Object ref = targetProject_; 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); targetProject_ = b; return b; } else { @@ -2000,64 +2002,57 @@ public com.google.protobuf.ByteString getTargetProjectBytes() { } } /** - * - * *
      * The full path of the resource of type TargetProject which represents the
      * Compute Engine project in which to create this VM.
      * 
* * string target_project = 2 [(.google.api.resource_reference) = { ... } - * * @param value The targetProject to set. * @return This builder for chaining. */ - public Builder setTargetProject(java.lang.String value) { + public Builder setTargetProject( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + targetProject_ = value; onChanged(); return this; } /** - * - * *
      * The full path of the resource of type TargetProject which represents the
      * Compute Engine project in which to create this VM.
      * 
* * string target_project = 2 [(.google.api.resource_reference) = { ... } - * * @return This builder for chaining. */ public Builder clearTargetProject() { - + targetProject_ = getDefaultInstance().getTargetProject(); onChanged(); return this; } /** - * - * *
      * The full path of the resource of type TargetProject which represents the
      * Compute Engine project in which to create this VM.
      * 
* * string target_project = 2 [(.google.api.resource_reference) = { ... } - * * @param value The bytes for targetProject to set. * @return This builder for chaining. */ - public Builder setTargetProjectBytes(com.google.protobuf.ByteString value) { + public Builder setTargetProjectBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + targetProject_ = value; onChanged(); return this; @@ -2065,20 +2060,18 @@ public Builder setTargetProjectBytes(com.google.protobuf.ByteString value) { private java.lang.Object zone_ = ""; /** - * - * *
      * The zone in which to create the VM.
      * 
* * string zone = 3; - * * @return The zone. */ public java.lang.String getZone() { java.lang.Object ref = zone_; 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(); zone_ = s; return s; @@ -2087,21 +2080,20 @@ public java.lang.String getZone() { } } /** - * - * *
      * The zone in which to create the VM.
      * 
* * string zone = 3; - * * @return The bytes for zone. */ - public com.google.protobuf.ByteString getZoneBytes() { + public com.google.protobuf.ByteString + getZoneBytes() { java.lang.Object ref = zone_; 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); zone_ = b; return b; } else { @@ -2109,61 +2101,54 @@ public com.google.protobuf.ByteString getZoneBytes() { } } /** - * - * *
      * The zone in which to create the VM.
      * 
* * string zone = 3; - * * @param value The zone to set. * @return This builder for chaining. */ - public Builder setZone(java.lang.String value) { + public Builder setZone( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + zone_ = value; onChanged(); return this; } /** - * - * *
      * The zone in which to create the VM.
      * 
* * string zone = 3; - * * @return This builder for chaining. */ public Builder clearZone() { - + zone_ = getDefaultInstance().getZone(); onChanged(); return this; } /** - * - * *
      * The zone in which to create the VM.
      * 
* * string zone = 3; - * * @param value The bytes for zone to set. * @return This builder for chaining. */ - public Builder setZoneBytes(com.google.protobuf.ByteString value) { + public Builder setZoneBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + zone_ = value; onChanged(); return this; @@ -2171,20 +2156,18 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { private java.lang.Object machineTypeSeries_ = ""; /** - * - * *
      * The machine type series to create the VM with.
      * 
* * string machine_type_series = 4; - * * @return The machineTypeSeries. */ public java.lang.String getMachineTypeSeries() { java.lang.Object ref = machineTypeSeries_; 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(); machineTypeSeries_ = s; return s; @@ -2193,21 +2176,20 @@ public java.lang.String getMachineTypeSeries() { } } /** - * - * *
      * The machine type series to create the VM with.
      * 
* * string machine_type_series = 4; - * * @return The bytes for machineTypeSeries. */ - public com.google.protobuf.ByteString getMachineTypeSeriesBytes() { + public com.google.protobuf.ByteString + getMachineTypeSeriesBytes() { java.lang.Object ref = machineTypeSeries_; 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); machineTypeSeries_ = b; return b; } else { @@ -2215,61 +2197,54 @@ public com.google.protobuf.ByteString getMachineTypeSeriesBytes() { } } /** - * - * *
      * The machine type series to create the VM with.
      * 
* * string machine_type_series = 4; - * * @param value The machineTypeSeries to set. * @return This builder for chaining. */ - public Builder setMachineTypeSeries(java.lang.String value) { + public Builder setMachineTypeSeries( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + machineTypeSeries_ = value; onChanged(); return this; } /** - * - * *
      * The machine type series to create the VM with.
      * 
* * string machine_type_series = 4; - * * @return This builder for chaining. */ public Builder clearMachineTypeSeries() { - + machineTypeSeries_ = getDefaultInstance().getMachineTypeSeries(); onChanged(); return this; } /** - * - * *
      * The machine type series to create the VM with.
      * 
* * string machine_type_series = 4; - * * @param value The bytes for machineTypeSeries to set. * @return This builder for chaining. */ - public Builder setMachineTypeSeriesBytes(com.google.protobuf.ByteString value) { + public Builder setMachineTypeSeriesBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + machineTypeSeries_ = value; onChanged(); return this; @@ -2277,20 +2252,18 @@ public Builder setMachineTypeSeriesBytes(com.google.protobuf.ByteString value) { private java.lang.Object machineType_ = ""; /** - * - * *
      * The machine type to create the VM with.
      * 
* * string machine_type = 5; - * * @return The machineType. */ public java.lang.String getMachineType() { java.lang.Object ref = machineType_; 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(); machineType_ = s; return s; @@ -2299,21 +2272,20 @@ public java.lang.String getMachineType() { } } /** - * - * *
      * The machine type to create the VM with.
      * 
* * string machine_type = 5; - * * @return The bytes for machineType. */ - public com.google.protobuf.ByteString getMachineTypeBytes() { + public com.google.protobuf.ByteString + getMachineTypeBytes() { java.lang.Object ref = machineType_; 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); machineType_ = b; return b; } else { @@ -2321,112 +2293,95 @@ public com.google.protobuf.ByteString getMachineTypeBytes() { } } /** - * - * *
      * The machine type to create the VM with.
      * 
* * string machine_type = 5; - * * @param value The machineType to set. * @return This builder for chaining. */ - public Builder setMachineType(java.lang.String value) { + public Builder setMachineType( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + machineType_ = value; onChanged(); return this; } /** - * - * *
      * The machine type to create the VM with.
      * 
* * string machine_type = 5; - * * @return This builder for chaining. */ public Builder clearMachineType() { - + machineType_ = getDefaultInstance().getMachineType(); onChanged(); return this; } /** - * - * *
      * The machine type to create the VM with.
      * 
* * string machine_type = 5; - * * @param value The bytes for machineType to set. * @return This builder for chaining. */ - public Builder setMachineTypeBytes(com.google.protobuf.ByteString value) { + public Builder setMachineTypeBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + machineType_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList networkTags_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList networkTags_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureNetworkTagsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { networkTags_ = new com.google.protobuf.LazyStringArrayList(networkTags_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
      * A map of network tags to associate with the VM.
      * 
* * repeated string network_tags = 6; - * * @return A list containing the networkTags. */ - public com.google.protobuf.ProtocolStringList getNetworkTagsList() { + public com.google.protobuf.ProtocolStringList + getNetworkTagsList() { return networkTags_.getUnmodifiableView(); } /** - * - * *
      * A map of network tags to associate with the VM.
      * 
* * repeated string network_tags = 6; - * * @return The count of networkTags. */ public int getNetworkTagsCount() { return networkTags_.size(); } /** - * - * *
      * A map of network tags to associate with the VM.
      * 
* * repeated string network_tags = 6; - * * @param index The index of the element to return. * @return The networkTags at the given index. */ @@ -2434,90 +2389,80 @@ public java.lang.String getNetworkTags(int index) { return networkTags_.get(index); } /** - * - * *
      * A map of network tags to associate with the VM.
      * 
* * repeated string network_tags = 6; - * * @param index The index of the value to return. * @return The bytes of the networkTags at the given index. */ - public com.google.protobuf.ByteString getNetworkTagsBytes(int index) { + public com.google.protobuf.ByteString + getNetworkTagsBytes(int index) { return networkTags_.getByteString(index); } /** - * - * *
      * A map of network tags to associate with the VM.
      * 
* * repeated string network_tags = 6; - * * @param index The index to set the value at. * @param value The networkTags to set. * @return This builder for chaining. */ - public Builder setNetworkTags(int index, java.lang.String value) { + public Builder setNetworkTags( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureNetworkTagsIsMutable(); + throw new NullPointerException(); + } + ensureNetworkTagsIsMutable(); networkTags_.set(index, value); onChanged(); return this; } /** - * - * *
      * A map of network tags to associate with the VM.
      * 
* * repeated string network_tags = 6; - * * @param value The networkTags to add. * @return This builder for chaining. */ - public Builder addNetworkTags(java.lang.String value) { + public Builder addNetworkTags( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureNetworkTagsIsMutable(); + throw new NullPointerException(); + } + ensureNetworkTagsIsMutable(); networkTags_.add(value); onChanged(); return this; } /** - * - * *
      * A map of network tags to associate with the VM.
      * 
* * repeated string network_tags = 6; - * * @param values The networkTags to add. * @return This builder for chaining. */ - public Builder addAllNetworkTags(java.lang.Iterable values) { + public Builder addAllNetworkTags( + java.lang.Iterable values) { ensureNetworkTagsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, networkTags_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, networkTags_); onChanged(); return this; } /** - * - * *
      * A map of network tags to associate with the VM.
      * 
* * repeated string network_tags = 6; - * * @return This builder for chaining. */ public Builder clearNetworkTags() { @@ -2527,22 +2472,20 @@ public Builder clearNetworkTags() { return this; } /** - * - * *
      * A map of network tags to associate with the VM.
      * 
* * repeated string network_tags = 6; - * * @param value The bytes of the networkTags to add. * @return This builder for chaining. */ - public Builder addNetworkTagsBytes(com.google.protobuf.ByteString value) { + public Builder addNetworkTagsBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureNetworkTagsIsMutable(); networkTags_.add(value); onChanged(); @@ -2550,34 +2493,25 @@ public Builder addNetworkTagsBytes(com.google.protobuf.ByteString value) { } private java.util.List networkInterfaces_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureNetworkInterfacesIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - networkInterfaces_ = - new java.util.ArrayList( - networkInterfaces_); + networkInterfaces_ = new java.util.ArrayList(networkInterfaces_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.vmmigration.v1.NetworkInterface, - com.google.cloud.vmmigration.v1.NetworkInterface.Builder, - com.google.cloud.vmmigration.v1.NetworkInterfaceOrBuilder> - networkInterfacesBuilder_; + com.google.cloud.vmmigration.v1.NetworkInterface, com.google.cloud.vmmigration.v1.NetworkInterface.Builder, com.google.cloud.vmmigration.v1.NetworkInterfaceOrBuilder> networkInterfacesBuilder_; /** - * - * *
      * List of NICs connected to this VM.
      * 
* * repeated .google.cloud.vmmigration.v1.NetworkInterface network_interfaces = 7; */ - public java.util.List - getNetworkInterfacesList() { + public java.util.List getNetworkInterfacesList() { if (networkInterfacesBuilder_ == null) { return java.util.Collections.unmodifiableList(networkInterfaces_); } else { @@ -2585,8 +2519,6 @@ private void ensureNetworkInterfacesIsMutable() { } } /** - * - * *
      * List of NICs connected to this VM.
      * 
@@ -2601,8 +2533,6 @@ public int getNetworkInterfacesCount() { } } /** - * - * *
      * List of NICs connected to this VM.
      * 
@@ -2617,8 +2547,6 @@ public com.google.cloud.vmmigration.v1.NetworkInterface getNetworkInterfaces(int } } /** - * - * *
      * List of NICs connected to this VM.
      * 
@@ -2640,8 +2568,6 @@ public Builder setNetworkInterfaces( return this; } /** - * - * *
      * List of NICs connected to this VM.
      * 
@@ -2660,8 +2586,6 @@ public Builder setNetworkInterfaces( return this; } /** - * - * *
      * List of NICs connected to this VM.
      * 
@@ -2682,8 +2606,6 @@ public Builder addNetworkInterfaces(com.google.cloud.vmmigration.v1.NetworkInter return this; } /** - * - * *
      * List of NICs connected to this VM.
      * 
@@ -2705,8 +2627,6 @@ public Builder addNetworkInterfaces( return this; } /** - * - * *
      * List of NICs connected to this VM.
      * 
@@ -2725,8 +2645,6 @@ public Builder addNetworkInterfaces( return this; } /** - * - * *
      * List of NICs connected to this VM.
      * 
@@ -2745,8 +2663,6 @@ public Builder addNetworkInterfaces( return this; } /** - * - * *
      * List of NICs connected to this VM.
      * 
@@ -2757,7 +2673,8 @@ public Builder addAllNetworkInterfaces( java.lang.Iterable values) { if (networkInterfacesBuilder_ == null) { ensureNetworkInterfacesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, networkInterfaces_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, networkInterfaces_); onChanged(); } else { networkInterfacesBuilder_.addAllMessages(values); @@ -2765,8 +2682,6 @@ public Builder addAllNetworkInterfaces( return this; } /** - * - * *
      * List of NICs connected to this VM.
      * 
@@ -2784,8 +2699,6 @@ public Builder clearNetworkInterfaces() { return this; } /** - * - * *
      * List of NICs connected to this VM.
      * 
@@ -2803,8 +2716,6 @@ public Builder removeNetworkInterfaces(int index) { return this; } /** - * - * *
      * List of NICs connected to this VM.
      * 
@@ -2816,8 +2727,6 @@ public com.google.cloud.vmmigration.v1.NetworkInterface.Builder getNetworkInterf return getNetworkInterfacesFieldBuilder().getBuilder(index); } /** - * - * *
      * List of NICs connected to this VM.
      * 
@@ -2827,22 +2736,19 @@ public com.google.cloud.vmmigration.v1.NetworkInterface.Builder getNetworkInterf public com.google.cloud.vmmigration.v1.NetworkInterfaceOrBuilder getNetworkInterfacesOrBuilder( int index) { if (networkInterfacesBuilder_ == null) { - return networkInterfaces_.get(index); - } else { + return networkInterfaces_.get(index); } else { return networkInterfacesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * List of NICs connected to this VM.
      * 
* * repeated .google.cloud.vmmigration.v1.NetworkInterface network_interfaces = 7; */ - public java.util.List - getNetworkInterfacesOrBuilderList() { + public java.util.List + getNetworkInterfacesOrBuilderList() { if (networkInterfacesBuilder_ != null) { return networkInterfacesBuilder_.getMessageOrBuilderList(); } else { @@ -2850,8 +2756,6 @@ public com.google.cloud.vmmigration.v1.NetworkInterfaceOrBuilder getNetworkInter } } /** - * - * *
      * List of NICs connected to this VM.
      * 
@@ -2859,12 +2763,10 @@ public com.google.cloud.vmmigration.v1.NetworkInterfaceOrBuilder getNetworkInter * repeated .google.cloud.vmmigration.v1.NetworkInterface network_interfaces = 7; */ public com.google.cloud.vmmigration.v1.NetworkInterface.Builder addNetworkInterfacesBuilder() { - return getNetworkInterfacesFieldBuilder() - .addBuilder(com.google.cloud.vmmigration.v1.NetworkInterface.getDefaultInstance()); + return getNetworkInterfacesFieldBuilder().addBuilder( + com.google.cloud.vmmigration.v1.NetworkInterface.getDefaultInstance()); } /** - * - * *
      * List of NICs connected to this VM.
      * 
@@ -2873,34 +2775,26 @@ public com.google.cloud.vmmigration.v1.NetworkInterface.Builder addNetworkInterf */ public com.google.cloud.vmmigration.v1.NetworkInterface.Builder addNetworkInterfacesBuilder( int index) { - return getNetworkInterfacesFieldBuilder() - .addBuilder(index, com.google.cloud.vmmigration.v1.NetworkInterface.getDefaultInstance()); + return getNetworkInterfacesFieldBuilder().addBuilder( + index, com.google.cloud.vmmigration.v1.NetworkInterface.getDefaultInstance()); } /** - * - * *
      * List of NICs connected to this VM.
      * 
* * repeated .google.cloud.vmmigration.v1.NetworkInterface network_interfaces = 7; */ - public java.util.List - getNetworkInterfacesBuilderList() { + public java.util.List + getNetworkInterfacesBuilderList() { return getNetworkInterfacesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.vmmigration.v1.NetworkInterface, - com.google.cloud.vmmigration.v1.NetworkInterface.Builder, - com.google.cloud.vmmigration.v1.NetworkInterfaceOrBuilder> + com.google.cloud.vmmigration.v1.NetworkInterface, com.google.cloud.vmmigration.v1.NetworkInterface.Builder, com.google.cloud.vmmigration.v1.NetworkInterfaceOrBuilder> getNetworkInterfacesFieldBuilder() { if (networkInterfacesBuilder_ == null) { - networkInterfacesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.vmmigration.v1.NetworkInterface, - com.google.cloud.vmmigration.v1.NetworkInterface.Builder, - com.google.cloud.vmmigration.v1.NetworkInterfaceOrBuilder>( + networkInterfacesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.vmmigration.v1.NetworkInterface, com.google.cloud.vmmigration.v1.NetworkInterface.Builder, com.google.cloud.vmmigration.v1.NetworkInterfaceOrBuilder>( networkInterfaces_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), @@ -2912,20 +2806,18 @@ public com.google.cloud.vmmigration.v1.NetworkInterface.Builder addNetworkInterf private java.lang.Object serviceAccount_ = ""; /** - * - * *
      * The service account to associate the VM with.
      * 
* * string service_account = 8; - * * @return The serviceAccount. */ public java.lang.String getServiceAccount() { java.lang.Object ref = serviceAccount_; 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(); serviceAccount_ = s; return s; @@ -2934,21 +2826,20 @@ public java.lang.String getServiceAccount() { } } /** - * - * *
      * The service account to associate the VM with.
      * 
* * string service_account = 8; - * * @return The bytes for serviceAccount. */ - public com.google.protobuf.ByteString getServiceAccountBytes() { + public com.google.protobuf.ByteString + getServiceAccountBytes() { java.lang.Object ref = serviceAccount_; 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); serviceAccount_ = b; return b; } else { @@ -2956,61 +2847,54 @@ public com.google.protobuf.ByteString getServiceAccountBytes() { } } /** - * - * *
      * The service account to associate the VM with.
      * 
* * string service_account = 8; - * * @param value The serviceAccount to set. * @return This builder for chaining. */ - public Builder setServiceAccount(java.lang.String value) { + public Builder setServiceAccount( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + serviceAccount_ = value; onChanged(); return this; } /** - * - * *
      * The service account to associate the VM with.
      * 
* * string service_account = 8; - * * @return This builder for chaining. */ public Builder clearServiceAccount() { - + serviceAccount_ = getDefaultInstance().getServiceAccount(); onChanged(); return this; } /** - * - * *
      * The service account to associate the VM with.
      * 
* * string service_account = 8; - * * @param value The bytes for serviceAccount to set. * @return This builder for chaining. */ - public Builder setServiceAccountBytes(com.google.protobuf.ByteString value) { + public Builder setServiceAccountBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + serviceAccount_ = value; onChanged(); return this; @@ -3018,67 +2902,51 @@ public Builder setServiceAccountBytes(com.google.protobuf.ByteString value) { private int diskType_ = 0; /** - * - * *
      * The disk type to use in the VM.
      * 
* * .google.cloud.vmmigration.v1.ComputeEngineDiskType disk_type = 9; - * * @return The enum numeric value on the wire for diskType. */ - @java.lang.Override - public int getDiskTypeValue() { + @java.lang.Override public int getDiskTypeValue() { return diskType_; } /** - * - * *
      * The disk type to use in the VM.
      * 
* * .google.cloud.vmmigration.v1.ComputeEngineDiskType disk_type = 9; - * * @param value The enum numeric value on the wire for diskType to set. * @return This builder for chaining. */ public Builder setDiskTypeValue(int value) { - + diskType_ = value; onChanged(); return this; } /** - * - * *
      * The disk type to use in the VM.
      * 
* * .google.cloud.vmmigration.v1.ComputeEngineDiskType disk_type = 9; - * * @return The diskType. */ @java.lang.Override public com.google.cloud.vmmigration.v1.ComputeEngineDiskType getDiskType() { @SuppressWarnings("deprecation") - com.google.cloud.vmmigration.v1.ComputeEngineDiskType result = - com.google.cloud.vmmigration.v1.ComputeEngineDiskType.valueOf(diskType_); - return result == null - ? com.google.cloud.vmmigration.v1.ComputeEngineDiskType.UNRECOGNIZED - : result; + com.google.cloud.vmmigration.v1.ComputeEngineDiskType result = com.google.cloud.vmmigration.v1.ComputeEngineDiskType.valueOf(diskType_); + return result == null ? com.google.cloud.vmmigration.v1.ComputeEngineDiskType.UNRECOGNIZED : result; } /** - * - * *
      * The disk type to use in the VM.
      * 
* * .google.cloud.vmmigration.v1.ComputeEngineDiskType disk_type = 9; - * * @param value The diskType to set. * @return This builder for chaining. */ @@ -3086,44 +2954,42 @@ public Builder setDiskType(com.google.cloud.vmmigration.v1.ComputeEngineDiskType if (value == null) { throw new NullPointerException(); } - + diskType_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The disk type to use in the VM.
      * 
* * .google.cloud.vmmigration.v1.ComputeEngineDiskType disk_type = 9; - * * @return This builder for chaining. */ public Builder clearDiskType() { - + diskType_ = 0; onChanged(); return this; } - private com.google.protobuf.MapField labels_; - - private com.google.protobuf.MapField internalGetLabels() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> labels_; + private com.google.protobuf.MapField + internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + LabelsDefaultEntryHolder.defaultEntry); } return labels_; } - private com.google.protobuf.MapField - internalGetMutableLabels() { - onChanged(); - ; + internalGetMutableLabels() { + onChanged();; if (labels_ == null) { - labels_ = com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); + labels_ = com.google.protobuf.MapField.newMapField( + LabelsDefaultEntryHolder.defaultEntry); } if (!labels_.isMutable()) { labels_ = labels_.copy(); @@ -3135,30 +3001,28 @@ public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** - * - * *
      * A map of labels to associate with the VM.
      * 
* * map<string, string> labels = 10; */ + @java.lang.Override - public boolean containsLabels(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsLabels( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetLabels().getMap().containsKey(key); } - /** Use {@link #getLabelsMap()} instead. */ + /** + * Use {@link #getLabelsMap()} instead. + */ @java.lang.Override @java.lang.Deprecated public java.util.Map getLabels() { return getLabelsMap(); } /** - * - * *
      * A map of labels to associate with the VM.
      * 
@@ -3166,12 +3030,11 @@ public java.util.Map getLabels() { * map<string, string> labels = 10; */ @java.lang.Override + public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** - * - * *
      * A map of labels to associate with the VM.
      * 
@@ -3179,17 +3042,16 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 10; */ @java.lang.Override + public java.lang.String getLabelsOrDefault( - java.lang.String key, java.lang.String defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetLabels().getMap(); + java.lang.String key, + java.lang.String defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
      * A map of labels to associate with the VM.
      * 
@@ -3197,11 +3059,12 @@ public java.lang.String getLabelsOrDefault( * map<string, string> labels = 10; */ @java.lang.Override - public java.lang.String getLabelsOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetLabels().getMap(); + + public java.lang.String getLabelsOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -3209,127 +3072,114 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) { } public Builder clearLabels() { - internalGetMutableLabels().getMutableMap().clear(); + internalGetMutableLabels().getMutableMap() + .clear(); return this; } /** - * - * *
      * A map of labels to associate with the VM.
      * 
* * map<string, string> labels = 10; */ - public Builder removeLabels(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - internalGetMutableLabels().getMutableMap().remove(key); + + public Builder removeLabels( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + internalGetMutableLabels().getMutableMap() + .remove(key); return this; } - /** Use alternate mutation accessors instead. */ + /** + * Use alternate mutation accessors instead. + */ @java.lang.Deprecated - public java.util.Map getMutableLabels() { + public java.util.Map + getMutableLabels() { return internalGetMutableLabels().getMutableMap(); } /** - * - * *
      * A map of labels to associate with the VM.
      * 
* * map<string, string> labels = 10; */ - public Builder putLabels(java.lang.String key, java.lang.String value) { - if (key == null) { - throw new NullPointerException("map key"); - } + public Builder putLabels( + java.lang.String key, + java.lang.String value) { + if (key == null) { throw new NullPointerException("map key"); } if (value == null) { - throw new NullPointerException("map value"); - } + throw new NullPointerException("map value"); +} - internalGetMutableLabels().getMutableMap().put(key, value); + internalGetMutableLabels().getMutableMap() + .put(key, value); return this; } /** - * - * *
      * A map of labels to associate with the VM.
      * 
* * map<string, string> labels = 10; */ - public Builder putAllLabels(java.util.Map values) { - internalGetMutableLabels().getMutableMap().putAll(values); + + public Builder putAllLabels( + java.util.Map values) { + internalGetMutableLabels().getMutableMap() + .putAll(values); return this; } private int licenseType_ = 0; /** - * - * *
      * The license type to use in OS adaptation.
      * 
* * .google.cloud.vmmigration.v1.ComputeEngineLicenseType license_type = 11; - * * @return The enum numeric value on the wire for licenseType. */ - @java.lang.Override - public int getLicenseTypeValue() { + @java.lang.Override public int getLicenseTypeValue() { return licenseType_; } /** - * - * *
      * The license type to use in OS adaptation.
      * 
* * .google.cloud.vmmigration.v1.ComputeEngineLicenseType license_type = 11; - * * @param value The enum numeric value on the wire for licenseType to set. * @return This builder for chaining. */ public Builder setLicenseTypeValue(int value) { - + licenseType_ = value; onChanged(); return this; } /** - * - * *
      * The license type to use in OS adaptation.
      * 
* * .google.cloud.vmmigration.v1.ComputeEngineLicenseType license_type = 11; - * * @return The licenseType. */ @java.lang.Override public com.google.cloud.vmmigration.v1.ComputeEngineLicenseType getLicenseType() { @SuppressWarnings("deprecation") - com.google.cloud.vmmigration.v1.ComputeEngineLicenseType result = - com.google.cloud.vmmigration.v1.ComputeEngineLicenseType.valueOf(licenseType_); - return result == null - ? com.google.cloud.vmmigration.v1.ComputeEngineLicenseType.UNRECOGNIZED - : result; + com.google.cloud.vmmigration.v1.ComputeEngineLicenseType result = com.google.cloud.vmmigration.v1.ComputeEngineLicenseType.valueOf(licenseType_); + return result == null ? com.google.cloud.vmmigration.v1.ComputeEngineLicenseType.UNRECOGNIZED : result; } /** - * - * *
      * The license type to use in OS adaptation.
      * 
* * .google.cloud.vmmigration.v1.ComputeEngineLicenseType license_type = 11; - * * @param value The licenseType to set. * @return This builder for chaining. */ @@ -3337,24 +3187,21 @@ public Builder setLicenseType(com.google.cloud.vmmigration.v1.ComputeEngineLicen if (value == null) { throw new NullPointerException(); } - + licenseType_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The license type to use in OS adaptation.
      * 
* * .google.cloud.vmmigration.v1.ComputeEngineLicenseType license_type = 11; - * * @return This builder for chaining. */ public Builder clearLicenseType() { - + licenseType_ = 0; onChanged(); return this; @@ -3362,58 +3209,39 @@ public Builder clearLicenseType() { private com.google.cloud.vmmigration.v1.AppliedLicense appliedLicense_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.vmmigration.v1.AppliedLicense, - com.google.cloud.vmmigration.v1.AppliedLicense.Builder, - com.google.cloud.vmmigration.v1.AppliedLicenseOrBuilder> - appliedLicenseBuilder_; + com.google.cloud.vmmigration.v1.AppliedLicense, com.google.cloud.vmmigration.v1.AppliedLicense.Builder, com.google.cloud.vmmigration.v1.AppliedLicenseOrBuilder> appliedLicenseBuilder_; /** - * - * *
      * Output only. The OS license returned from the adaptation module report.
      * 
* - * - * .google.cloud.vmmigration.v1.AppliedLicense applied_license = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.vmmigration.v1.AppliedLicense applied_license = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the appliedLicense field is set. */ public boolean hasAppliedLicense() { return appliedLicenseBuilder_ != null || appliedLicense_ != null; } /** - * - * *
      * Output only. The OS license returned from the adaptation module report.
      * 
* - * - * .google.cloud.vmmigration.v1.AppliedLicense applied_license = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.vmmigration.v1.AppliedLicense applied_license = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The appliedLicense. */ public com.google.cloud.vmmigration.v1.AppliedLicense getAppliedLicense() { if (appliedLicenseBuilder_ == null) { - return appliedLicense_ == null - ? com.google.cloud.vmmigration.v1.AppliedLicense.getDefaultInstance() - : appliedLicense_; + return appliedLicense_ == null ? com.google.cloud.vmmigration.v1.AppliedLicense.getDefaultInstance() : appliedLicense_; } else { return appliedLicenseBuilder_.getMessage(); } } /** - * - * *
      * Output only. The OS license returned from the adaptation module report.
      * 
* - * - * .google.cloud.vmmigration.v1.AppliedLicense applied_license = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.vmmigration.v1.AppliedLicense applied_license = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setAppliedLicense(com.google.cloud.vmmigration.v1.AppliedLicense value) { if (appliedLicenseBuilder_ == null) { @@ -3429,15 +3257,11 @@ public Builder setAppliedLicense(com.google.cloud.vmmigration.v1.AppliedLicense return this; } /** - * - * *
      * Output only. The OS license returned from the adaptation module report.
      * 
* - * - * .google.cloud.vmmigration.v1.AppliedLicense applied_license = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.vmmigration.v1.AppliedLicense applied_license = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setAppliedLicense( com.google.cloud.vmmigration.v1.AppliedLicense.Builder builderForValue) { @@ -3451,23 +3275,17 @@ public Builder setAppliedLicense( return this; } /** - * - * *
      * Output only. The OS license returned from the adaptation module report.
      * 
* - * - * .google.cloud.vmmigration.v1.AppliedLicense applied_license = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.vmmigration.v1.AppliedLicense applied_license = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeAppliedLicense(com.google.cloud.vmmigration.v1.AppliedLicense value) { if (appliedLicenseBuilder_ == null) { if (appliedLicense_ != null) { appliedLicense_ = - com.google.cloud.vmmigration.v1.AppliedLicense.newBuilder(appliedLicense_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.vmmigration.v1.AppliedLicense.newBuilder(appliedLicense_).mergeFrom(value).buildPartial(); } else { appliedLicense_ = value; } @@ -3479,15 +3297,11 @@ public Builder mergeAppliedLicense(com.google.cloud.vmmigration.v1.AppliedLicens return this; } /** - * - * *
      * Output only. The OS license returned from the adaptation module report.
      * 
* - * - * .google.cloud.vmmigration.v1.AppliedLicense applied_license = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.vmmigration.v1.AppliedLicense applied_license = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearAppliedLicense() { if (appliedLicenseBuilder_ == null) { @@ -3501,64 +3315,48 @@ public Builder clearAppliedLicense() { return this; } /** - * - * *
      * Output only. The OS license returned from the adaptation module report.
      * 
* - * - * .google.cloud.vmmigration.v1.AppliedLicense applied_license = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.vmmigration.v1.AppliedLicense applied_license = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.vmmigration.v1.AppliedLicense.Builder getAppliedLicenseBuilder() { - + onChanged(); return getAppliedLicenseFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The OS license returned from the adaptation module report.
      * 
* - * - * .google.cloud.vmmigration.v1.AppliedLicense applied_license = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.vmmigration.v1.AppliedLicense applied_license = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.vmmigration.v1.AppliedLicenseOrBuilder getAppliedLicenseOrBuilder() { if (appliedLicenseBuilder_ != null) { return appliedLicenseBuilder_.getMessageOrBuilder(); } else { - return appliedLicense_ == null - ? com.google.cloud.vmmigration.v1.AppliedLicense.getDefaultInstance() - : appliedLicense_; + return appliedLicense_ == null ? + com.google.cloud.vmmigration.v1.AppliedLicense.getDefaultInstance() : appliedLicense_; } } /** - * - * *
      * Output only. The OS license returned from the adaptation module report.
      * 
* - * - * .google.cloud.vmmigration.v1.AppliedLicense applied_license = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.vmmigration.v1.AppliedLicense applied_license = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.vmmigration.v1.AppliedLicense, - com.google.cloud.vmmigration.v1.AppliedLicense.Builder, - com.google.cloud.vmmigration.v1.AppliedLicenseOrBuilder> + com.google.cloud.vmmigration.v1.AppliedLicense, com.google.cloud.vmmigration.v1.AppliedLicense.Builder, com.google.cloud.vmmigration.v1.AppliedLicenseOrBuilder> getAppliedLicenseFieldBuilder() { if (appliedLicenseBuilder_ == null) { - appliedLicenseBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.vmmigration.v1.AppliedLicense, - com.google.cloud.vmmigration.v1.AppliedLicense.Builder, - com.google.cloud.vmmigration.v1.AppliedLicenseOrBuilder>( - getAppliedLicense(), getParentForChildren(), isClean()); + appliedLicenseBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.vmmigration.v1.AppliedLicense, com.google.cloud.vmmigration.v1.AppliedLicense.Builder, com.google.cloud.vmmigration.v1.AppliedLicenseOrBuilder>( + getAppliedLicense(), + getParentForChildren(), + isClean()); appliedLicense_ = null; } return appliedLicenseBuilder_; @@ -3566,47 +3364,34 @@ public com.google.cloud.vmmigration.v1.AppliedLicenseOrBuilder getAppliedLicense private com.google.cloud.vmmigration.v1.ComputeScheduling computeScheduling_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.vmmigration.v1.ComputeScheduling, - com.google.cloud.vmmigration.v1.ComputeScheduling.Builder, - com.google.cloud.vmmigration.v1.ComputeSchedulingOrBuilder> - computeSchedulingBuilder_; + com.google.cloud.vmmigration.v1.ComputeScheduling, com.google.cloud.vmmigration.v1.ComputeScheduling.Builder, com.google.cloud.vmmigration.v1.ComputeSchedulingOrBuilder> computeSchedulingBuilder_; /** - * - * *
      * Compute instance scheduling information (if empty default is used).
      * 
* * .google.cloud.vmmigration.v1.ComputeScheduling compute_scheduling = 13; - * * @return Whether the computeScheduling field is set. */ public boolean hasComputeScheduling() { return computeSchedulingBuilder_ != null || computeScheduling_ != null; } /** - * - * *
      * Compute instance scheduling information (if empty default is used).
      * 
* * .google.cloud.vmmigration.v1.ComputeScheduling compute_scheduling = 13; - * * @return The computeScheduling. */ public com.google.cloud.vmmigration.v1.ComputeScheduling getComputeScheduling() { if (computeSchedulingBuilder_ == null) { - return computeScheduling_ == null - ? com.google.cloud.vmmigration.v1.ComputeScheduling.getDefaultInstance() - : computeScheduling_; + return computeScheduling_ == null ? com.google.cloud.vmmigration.v1.ComputeScheduling.getDefaultInstance() : computeScheduling_; } else { return computeSchedulingBuilder_.getMessage(); } } /** - * - * *
      * Compute instance scheduling information (if empty default is used).
      * 
@@ -3627,8 +3412,6 @@ public Builder setComputeScheduling(com.google.cloud.vmmigration.v1.ComputeSched return this; } /** - * - * *
      * Compute instance scheduling information (if empty default is used).
      * 
@@ -3647,8 +3430,6 @@ public Builder setComputeScheduling( return this; } /** - * - * *
      * Compute instance scheduling information (if empty default is used).
      * 
@@ -3659,9 +3440,7 @@ public Builder mergeComputeScheduling(com.google.cloud.vmmigration.v1.ComputeSch if (computeSchedulingBuilder_ == null) { if (computeScheduling_ != null) { computeScheduling_ = - com.google.cloud.vmmigration.v1.ComputeScheduling.newBuilder(computeScheduling_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.vmmigration.v1.ComputeScheduling.newBuilder(computeScheduling_).mergeFrom(value).buildPartial(); } else { computeScheduling_ = value; } @@ -3673,8 +3452,6 @@ public Builder mergeComputeScheduling(com.google.cloud.vmmigration.v1.ComputeSch return this; } /** - * - * *
      * Compute instance scheduling information (if empty default is used).
      * 
@@ -3693,8 +3470,6 @@ public Builder clearComputeScheduling() { return this; } /** - * - * *
      * Compute instance scheduling information (if empty default is used).
      * 
@@ -3702,32 +3477,26 @@ public Builder clearComputeScheduling() { * .google.cloud.vmmigration.v1.ComputeScheduling compute_scheduling = 13; */ public com.google.cloud.vmmigration.v1.ComputeScheduling.Builder getComputeSchedulingBuilder() { - + onChanged(); return getComputeSchedulingFieldBuilder().getBuilder(); } /** - * - * *
      * Compute instance scheduling information (if empty default is used).
      * 
* * .google.cloud.vmmigration.v1.ComputeScheduling compute_scheduling = 13; */ - public com.google.cloud.vmmigration.v1.ComputeSchedulingOrBuilder - getComputeSchedulingOrBuilder() { + public com.google.cloud.vmmigration.v1.ComputeSchedulingOrBuilder getComputeSchedulingOrBuilder() { if (computeSchedulingBuilder_ != null) { return computeSchedulingBuilder_.getMessageOrBuilder(); } else { - return computeScheduling_ == null - ? com.google.cloud.vmmigration.v1.ComputeScheduling.getDefaultInstance() - : computeScheduling_; + return computeScheduling_ == null ? + com.google.cloud.vmmigration.v1.ComputeScheduling.getDefaultInstance() : computeScheduling_; } } /** - * - * *
      * Compute instance scheduling information (if empty default is used).
      * 
@@ -3735,33 +3504,27 @@ public com.google.cloud.vmmigration.v1.ComputeScheduling.Builder getComputeSched * .google.cloud.vmmigration.v1.ComputeScheduling compute_scheduling = 13; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.vmmigration.v1.ComputeScheduling, - com.google.cloud.vmmigration.v1.ComputeScheduling.Builder, - com.google.cloud.vmmigration.v1.ComputeSchedulingOrBuilder> + com.google.cloud.vmmigration.v1.ComputeScheduling, com.google.cloud.vmmigration.v1.ComputeScheduling.Builder, com.google.cloud.vmmigration.v1.ComputeSchedulingOrBuilder> getComputeSchedulingFieldBuilder() { if (computeSchedulingBuilder_ == null) { - computeSchedulingBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.vmmigration.v1.ComputeScheduling, - com.google.cloud.vmmigration.v1.ComputeScheduling.Builder, - com.google.cloud.vmmigration.v1.ComputeSchedulingOrBuilder>( - getComputeScheduling(), getParentForChildren(), isClean()); + computeSchedulingBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.vmmigration.v1.ComputeScheduling, com.google.cloud.vmmigration.v1.ComputeScheduling.Builder, com.google.cloud.vmmigration.v1.ComputeSchedulingOrBuilder>( + getComputeScheduling(), + getParentForChildren(), + isClean()); computeScheduling_ = null; } return computeSchedulingBuilder_; } - private boolean secureBoot_; + private boolean secureBoot_ ; /** - * - * *
      * Defines whether the instance has Secure Boot enabled.
      * This can be set to true only if the vm boot option is EFI.
      * 
* * bool secure_boot = 14; - * * @return The secureBoot. */ @java.lang.Override @@ -3769,38 +3532,32 @@ public boolean getSecureBoot() { return secureBoot_; } /** - * - * *
      * Defines whether the instance has Secure Boot enabled.
      * This can be set to true only if the vm boot option is EFI.
      * 
* * bool secure_boot = 14; - * * @param value The secureBoot to set. * @return This builder for chaining. */ public Builder setSecureBoot(boolean value) { - + secureBoot_ = value; onChanged(); return this; } /** - * - * *
      * Defines whether the instance has Secure Boot enabled.
      * This can be set to true only if the vm boot option is EFI.
      * 
* * bool secure_boot = 14; - * * @return This builder for chaining. */ public Builder clearSecureBoot() { - + secureBoot_ = false; onChanged(); return this; @@ -3808,75 +3565,51 @@ public Builder clearSecureBoot() { private int bootOption_ = 0; /** - * - * *
      * Output only. The VM Boot Option, as set in the source vm.
      * 
* - * - * .google.cloud.vmmigration.v1.ComputeEngineBootOption boot_option = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.vmmigration.v1.ComputeEngineBootOption boot_option = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for bootOption. */ - @java.lang.Override - public int getBootOptionValue() { + @java.lang.Override public int getBootOptionValue() { return bootOption_; } /** - * - * *
      * Output only. The VM Boot Option, as set in the source vm.
      * 
* - * - * .google.cloud.vmmigration.v1.ComputeEngineBootOption boot_option = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.vmmigration.v1.ComputeEngineBootOption boot_option = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The enum numeric value on the wire for bootOption to set. * @return This builder for chaining. */ public Builder setBootOptionValue(int value) { - + bootOption_ = value; onChanged(); return this; } /** - * - * *
      * Output only. The VM Boot Option, as set in the source vm.
      * 
* - * - * .google.cloud.vmmigration.v1.ComputeEngineBootOption boot_option = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.vmmigration.v1.ComputeEngineBootOption boot_option = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The bootOption. */ @java.lang.Override public com.google.cloud.vmmigration.v1.ComputeEngineBootOption getBootOption() { @SuppressWarnings("deprecation") - com.google.cloud.vmmigration.v1.ComputeEngineBootOption result = - com.google.cloud.vmmigration.v1.ComputeEngineBootOption.valueOf(bootOption_); - return result == null - ? com.google.cloud.vmmigration.v1.ComputeEngineBootOption.UNRECOGNIZED - : result; + com.google.cloud.vmmigration.v1.ComputeEngineBootOption result = com.google.cloud.vmmigration.v1.ComputeEngineBootOption.valueOf(bootOption_); + return result == null ? com.google.cloud.vmmigration.v1.ComputeEngineBootOption.UNRECOGNIZED : result; } /** - * - * *
      * Output only. The VM Boot Option, as set in the source vm.
      * 
* - * - * .google.cloud.vmmigration.v1.ComputeEngineBootOption boot_option = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.vmmigration.v1.ComputeEngineBootOption boot_option = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The bootOption to set. * @return This builder for chaining. */ @@ -3884,47 +3617,42 @@ public Builder setBootOption(com.google.cloud.vmmigration.v1.ComputeEngineBootOp if (value == null) { throw new NullPointerException(); } - + bootOption_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Output only. The VM Boot Option, as set in the source vm.
      * 
* - * - * .google.cloud.vmmigration.v1.ComputeEngineBootOption boot_option = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.vmmigration.v1.ComputeEngineBootOption boot_option = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearBootOption() { - + bootOption_ = 0; onChanged(); return this; } - private com.google.protobuf.MapField metadata_; - - private com.google.protobuf.MapField internalGetMetadata() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> metadata_; + private com.google.protobuf.MapField + internalGetMetadata() { if (metadata_ == null) { - return com.google.protobuf.MapField.emptyMapField(MetadataDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + MetadataDefaultEntryHolder.defaultEntry); } return metadata_; } - private com.google.protobuf.MapField - internalGetMutableMetadata() { - onChanged(); - ; + internalGetMutableMetadata() { + onChanged();; if (metadata_ == null) { - metadata_ = - com.google.protobuf.MapField.newMapField(MetadataDefaultEntryHolder.defaultEntry); + metadata_ = com.google.protobuf.MapField.newMapField( + MetadataDefaultEntryHolder.defaultEntry); } if (!metadata_.isMutable()) { metadata_ = metadata_.copy(); @@ -3936,30 +3664,28 @@ public int getMetadataCount() { return internalGetMetadata().getMap().size(); } /** - * - * *
      * The metadata key/value pairs to assign to the VM.
      * 
* * map<string, string> metadata = 16; */ + @java.lang.Override - public boolean containsMetadata(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsMetadata( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetMetadata().getMap().containsKey(key); } - /** Use {@link #getMetadataMap()} instead. */ + /** + * Use {@link #getMetadataMap()} instead. + */ @java.lang.Override @java.lang.Deprecated public java.util.Map getMetadata() { return getMetadataMap(); } /** - * - * *
      * The metadata key/value pairs to assign to the VM.
      * 
@@ -3967,12 +3693,11 @@ public java.util.Map getMetadata() { * map<string, string> metadata = 16; */ @java.lang.Override + public java.util.Map getMetadataMap() { return internalGetMetadata().getMap(); } /** - * - * *
      * The metadata key/value pairs to assign to the VM.
      * 
@@ -3980,17 +3705,16 @@ public java.util.Map getMetadataMap() { * map<string, string> metadata = 16; */ @java.lang.Override + public java.lang.String getMetadataOrDefault( - java.lang.String key, java.lang.String defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetMetadata().getMap(); + java.lang.String key, + java.lang.String defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetMetadata().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
      * The metadata key/value pairs to assign to the VM.
      * 
@@ -3998,11 +3722,12 @@ public java.lang.String getMetadataOrDefault( * map<string, string> metadata = 16; */ @java.lang.Override - public java.lang.String getMetadataOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetMetadata().getMap(); + + public java.lang.String getMetadataOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetMetadata().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -4010,66 +3735,311 @@ public java.lang.String getMetadataOrThrow(java.lang.String key) { } public Builder clearMetadata() { - internalGetMutableMetadata().getMutableMap().clear(); + internalGetMutableMetadata().getMutableMap() + .clear(); return this; } /** - * - * *
      * The metadata key/value pairs to assign to the VM.
      * 
* * map<string, string> metadata = 16; */ - public Builder removeMetadata(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - internalGetMutableMetadata().getMutableMap().remove(key); + + public Builder removeMetadata( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + internalGetMutableMetadata().getMutableMap() + .remove(key); return this; } - /** Use alternate mutation accessors instead. */ + /** + * Use alternate mutation accessors instead. + */ @java.lang.Deprecated - public java.util.Map getMutableMetadata() { + public java.util.Map + getMutableMetadata() { return internalGetMutableMetadata().getMutableMap(); } /** - * - * *
      * The metadata key/value pairs to assign to the VM.
      * 
* * map<string, string> metadata = 16; */ - public Builder putMetadata(java.lang.String key, java.lang.String value) { - if (key == null) { - throw new NullPointerException("map key"); - } + public Builder putMetadata( + java.lang.String key, + java.lang.String value) { + if (key == null) { throw new NullPointerException("map key"); } if (value == null) { - throw new NullPointerException("map value"); - } + throw new NullPointerException("map value"); +} - internalGetMutableMetadata().getMutableMap().put(key, value); + internalGetMutableMetadata().getMutableMap() + .put(key, value); return this; } /** - * - * *
      * The metadata key/value pairs to assign to the VM.
      * 
* * map<string, string> metadata = 16; */ - public Builder putAllMetadata(java.util.Map values) { - internalGetMutableMetadata().getMutableMap().putAll(values); + + public Builder putAllMetadata( + java.util.Map values) { + internalGetMutableMetadata().getMutableMap() + .putAll(values); return this; } + private com.google.protobuf.LazyStringList additionalLicenses_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureAdditionalLicensesIsMutable() { + if (!((bitField0_ & 0x00000010) != 0)) { + additionalLicenses_ = new com.google.protobuf.LazyStringArrayList(additionalLicenses_); + bitField0_ |= 0x00000010; + } + } + /** + *
+     * Additional licenses to assign to the VM.
+     * 
+ * + * repeated string additional_licenses = 17; + * @return A list containing the additionalLicenses. + */ + public com.google.protobuf.ProtocolStringList + getAdditionalLicensesList() { + return additionalLicenses_.getUnmodifiableView(); + } + /** + *
+     * Additional licenses to assign to the VM.
+     * 
+ * + * repeated string additional_licenses = 17; + * @return The count of additionalLicenses. + */ + public int getAdditionalLicensesCount() { + return additionalLicenses_.size(); + } + /** + *
+     * Additional licenses to assign to the VM.
+     * 
+ * + * repeated string additional_licenses = 17; + * @param index The index of the element to return. + * @return The additionalLicenses at the given index. + */ + public java.lang.String getAdditionalLicenses(int index) { + return additionalLicenses_.get(index); + } + /** + *
+     * Additional licenses to assign to the VM.
+     * 
+ * + * repeated string additional_licenses = 17; + * @param index The index of the value to return. + * @return The bytes of the additionalLicenses at the given index. + */ + public com.google.protobuf.ByteString + getAdditionalLicensesBytes(int index) { + return additionalLicenses_.getByteString(index); + } + /** + *
+     * Additional licenses to assign to the VM.
+     * 
+ * + * repeated string additional_licenses = 17; + * @param index The index to set the value at. + * @param value The additionalLicenses to set. + * @return This builder for chaining. + */ + public Builder setAdditionalLicenses( + int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureAdditionalLicensesIsMutable(); + additionalLicenses_.set(index, value); + onChanged(); + return this; + } + /** + *
+     * Additional licenses to assign to the VM.
+     * 
+ * + * repeated string additional_licenses = 17; + * @param value The additionalLicenses to add. + * @return This builder for chaining. + */ + public Builder addAdditionalLicenses( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureAdditionalLicensesIsMutable(); + additionalLicenses_.add(value); + onChanged(); + return this; + } + /** + *
+     * Additional licenses to assign to the VM.
+     * 
+ * + * repeated string additional_licenses = 17; + * @param values The additionalLicenses to add. + * @return This builder for chaining. + */ + public Builder addAllAdditionalLicenses( + java.lang.Iterable values) { + ensureAdditionalLicensesIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, additionalLicenses_); + onChanged(); + return this; + } + /** + *
+     * Additional licenses to assign to the VM.
+     * 
+ * + * repeated string additional_licenses = 17; + * @return This builder for chaining. + */ + public Builder clearAdditionalLicenses() { + additionalLicenses_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000010); + onChanged(); + return this; + } + /** + *
+     * Additional licenses to assign to the VM.
+     * 
+ * + * repeated string additional_licenses = 17; + * @param value The bytes of the additionalLicenses to add. + * @return This builder for chaining. + */ + public Builder addAdditionalLicensesBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + ensureAdditionalLicensesIsMutable(); + additionalLicenses_.add(value); + onChanged(); + return this; + } + + private java.lang.Object hostname_ = ""; + /** + *
+     * The hostname to assign to the VM.
+     * 
+ * + * string hostname = 18; + * @return The hostname. + */ + public java.lang.String getHostname() { + java.lang.Object ref = hostname_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + hostname_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * The hostname to assign to the VM.
+     * 
+ * + * string hostname = 18; + * @return The bytes for hostname. + */ + public com.google.protobuf.ByteString + getHostnameBytes() { + java.lang.Object ref = hostname_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + hostname_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * The hostname to assign to the VM.
+     * 
+ * + * string hostname = 18; + * @param value The hostname to set. + * @return This builder for chaining. + */ + public Builder setHostname( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + hostname_ = value; + onChanged(); + return this; + } + /** + *
+     * The hostname to assign to the VM.
+     * 
+ * + * string hostname = 18; + * @return This builder for chaining. + */ + public Builder clearHostname() { + + hostname_ = getDefaultInstance().getHostname(); + onChanged(); + return this; + } + /** + *
+     * The hostname to assign to the VM.
+     * 
+ * + * string hostname = 18; + * @param value The bytes for hostname to set. + * @return This builder for chaining. + */ + public Builder setHostnameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + hostname_ = 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); } @@ -4079,12 +4049,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.vmmigration.v1.ComputeEngineTargetDefaults) } // @@protoc_insertion_point(class_scope:google.cloud.vmmigration.v1.ComputeEngineTargetDefaults) private static final com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaults DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaults(); } @@ -4093,16 +4063,16 @@ public static com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaults getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ComputeEngineTargetDefaults parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ComputeEngineTargetDefaults(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ComputeEngineTargetDefaults parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ComputeEngineTargetDefaults(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4117,4 +4087,6 @@ public com.google.protobuf.Parser getParserForType( public com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaults getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ComputeEngineTargetDefaultsOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ComputeEngineTargetDefaultsOrBuilder.java similarity index 73% rename from proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ComputeEngineTargetDefaultsOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ComputeEngineTargetDefaultsOrBuilder.java index 61f0692..cadc4f6 100644 --- a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ComputeEngineTargetDefaultsOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ComputeEngineTargetDefaultsOrBuilder.java @@ -1,219 +1,165 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; -public interface ComputeEngineTargetDefaultsOrBuilder - extends +public interface ComputeEngineTargetDefaultsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.ComputeEngineTargetDefaults) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The name of the VM to create.
    * 
* * string vm_name = 1; - * * @return The vmName. */ java.lang.String getVmName(); /** - * - * *
    * The name of the VM to create.
    * 
* * string vm_name = 1; - * * @return The bytes for vmName. */ - com.google.protobuf.ByteString getVmNameBytes(); + com.google.protobuf.ByteString + getVmNameBytes(); /** - * - * *
    * The full path of the resource of type TargetProject which represents the
    * Compute Engine project in which to create this VM.
    * 
* * string target_project = 2 [(.google.api.resource_reference) = { ... } - * * @return The targetProject. */ java.lang.String getTargetProject(); /** - * - * *
    * The full path of the resource of type TargetProject which represents the
    * Compute Engine project in which to create this VM.
    * 
* * string target_project = 2 [(.google.api.resource_reference) = { ... } - * * @return The bytes for targetProject. */ - com.google.protobuf.ByteString getTargetProjectBytes(); + com.google.protobuf.ByteString + getTargetProjectBytes(); /** - * - * *
    * The zone in which to create the VM.
    * 
* * string zone = 3; - * * @return The zone. */ java.lang.String getZone(); /** - * - * *
    * The zone in which to create the VM.
    * 
* * string zone = 3; - * * @return The bytes for zone. */ - com.google.protobuf.ByteString getZoneBytes(); + com.google.protobuf.ByteString + getZoneBytes(); /** - * - * *
    * The machine type series to create the VM with.
    * 
* * string machine_type_series = 4; - * * @return The machineTypeSeries. */ java.lang.String getMachineTypeSeries(); /** - * - * *
    * The machine type series to create the VM with.
    * 
* * string machine_type_series = 4; - * * @return The bytes for machineTypeSeries. */ - com.google.protobuf.ByteString getMachineTypeSeriesBytes(); + com.google.protobuf.ByteString + getMachineTypeSeriesBytes(); /** - * - * *
    * The machine type to create the VM with.
    * 
* * string machine_type = 5; - * * @return The machineType. */ java.lang.String getMachineType(); /** - * - * *
    * The machine type to create the VM with.
    * 
* * string machine_type = 5; - * * @return The bytes for machineType. */ - com.google.protobuf.ByteString getMachineTypeBytes(); + com.google.protobuf.ByteString + getMachineTypeBytes(); /** - * - * *
    * A map of network tags to associate with the VM.
    * 
* * repeated string network_tags = 6; - * * @return A list containing the networkTags. */ - java.util.List getNetworkTagsList(); + java.util.List + getNetworkTagsList(); /** - * - * *
    * A map of network tags to associate with the VM.
    * 
* * repeated string network_tags = 6; - * * @return The count of networkTags. */ int getNetworkTagsCount(); /** - * - * *
    * A map of network tags to associate with the VM.
    * 
* * repeated string network_tags = 6; - * * @param index The index of the element to return. * @return The networkTags at the given index. */ java.lang.String getNetworkTags(int index); /** - * - * *
    * A map of network tags to associate with the VM.
    * 
* * repeated string network_tags = 6; - * * @param index The index of the value to return. * @return The bytes of the networkTags at the given index. */ - com.google.protobuf.ByteString getNetworkTagsBytes(int index); + com.google.protobuf.ByteString + getNetworkTagsBytes(int index); /** - * - * *
    * List of NICs connected to this VM.
    * 
* * repeated .google.cloud.vmmigration.v1.NetworkInterface network_interfaces = 7; */ - java.util.List getNetworkInterfacesList(); + java.util.List + getNetworkInterfacesList(); /** - * - * *
    * List of NICs connected to this VM.
    * 
@@ -222,8 +168,6 @@ public interface ComputeEngineTargetDefaultsOrBuilder */ com.google.cloud.vmmigration.v1.NetworkInterface getNetworkInterfaces(int index); /** - * - * *
    * List of NICs connected to this VM.
    * 
@@ -232,19 +176,15 @@ public interface ComputeEngineTargetDefaultsOrBuilder */ int getNetworkInterfacesCount(); /** - * - * *
    * List of NICs connected to this VM.
    * 
* * repeated .google.cloud.vmmigration.v1.NetworkInterface network_interfaces = 7; */ - java.util.List + java.util.List getNetworkInterfacesOrBuilderList(); /** - * - * *
    * List of NICs connected to this VM.
    * 
@@ -255,58 +195,45 @@ com.google.cloud.vmmigration.v1.NetworkInterfaceOrBuilder getNetworkInterfacesOr int index); /** - * - * *
    * The service account to associate the VM with.
    * 
* * string service_account = 8; - * * @return The serviceAccount. */ java.lang.String getServiceAccount(); /** - * - * *
    * The service account to associate the VM with.
    * 
* * string service_account = 8; - * * @return The bytes for serviceAccount. */ - com.google.protobuf.ByteString getServiceAccountBytes(); + com.google.protobuf.ByteString + getServiceAccountBytes(); /** - * - * *
    * The disk type to use in the VM.
    * 
* * .google.cloud.vmmigration.v1.ComputeEngineDiskType disk_type = 9; - * * @return The enum numeric value on the wire for diskType. */ int getDiskTypeValue(); /** - * - * *
    * The disk type to use in the VM.
    * 
* * .google.cloud.vmmigration.v1.ComputeEngineDiskType disk_type = 9; - * * @return The diskType. */ com.google.cloud.vmmigration.v1.ComputeEngineDiskType getDiskType(); /** - * - * *
    * A map of labels to associate with the VM.
    * 
@@ -315,31 +242,30 @@ com.google.cloud.vmmigration.v1.NetworkInterfaceOrBuilder getNetworkInterfacesOr */ int getLabelsCount(); /** - * - * *
    * A map of labels to associate with the VM.
    * 
* * map<string, string> labels = 10; */ - boolean containsLabels(java.lang.String key); - /** Use {@link #getLabelsMap()} instead. */ + boolean containsLabels( + java.lang.String key); + /** + * Use {@link #getLabelsMap()} instead. + */ @java.lang.Deprecated - java.util.Map getLabels(); + java.util.Map + getLabels(); /** - * - * *
    * A map of labels to associate with the VM.
    * 
* * map<string, string> labels = 10; */ - java.util.Map getLabelsMap(); + java.util.Map + getLabelsMap(); /** - * - * *
    * A map of labels to associate with the VM.
    * 
@@ -348,114 +274,86 @@ com.google.cloud.vmmigration.v1.NetworkInterfaceOrBuilder getNetworkInterfacesOr */ /* nullable */ - java.lang.String getLabelsOrDefault( +java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ - java.lang.String defaultValue); +java.lang.String defaultValue); /** - * - * *
    * A map of labels to associate with the VM.
    * 
* * map<string, string> labels = 10; */ - java.lang.String getLabelsOrThrow(java.lang.String key); + + java.lang.String getLabelsOrThrow( + java.lang.String key); /** - * - * *
    * The license type to use in OS adaptation.
    * 
* * .google.cloud.vmmigration.v1.ComputeEngineLicenseType license_type = 11; - * * @return The enum numeric value on the wire for licenseType. */ int getLicenseTypeValue(); /** - * - * *
    * The license type to use in OS adaptation.
    * 
* * .google.cloud.vmmigration.v1.ComputeEngineLicenseType license_type = 11; - * * @return The licenseType. */ com.google.cloud.vmmigration.v1.ComputeEngineLicenseType getLicenseType(); /** - * - * *
    * Output only. The OS license returned from the adaptation module report.
    * 
* - * - * .google.cloud.vmmigration.v1.AppliedLicense applied_license = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.vmmigration.v1.AppliedLicense applied_license = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the appliedLicense field is set. */ boolean hasAppliedLicense(); /** - * - * *
    * Output only. The OS license returned from the adaptation module report.
    * 
* - * - * .google.cloud.vmmigration.v1.AppliedLicense applied_license = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.vmmigration.v1.AppliedLicense applied_license = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The appliedLicense. */ com.google.cloud.vmmigration.v1.AppliedLicense getAppliedLicense(); /** - * - * *
    * Output only. The OS license returned from the adaptation module report.
    * 
* - * - * .google.cloud.vmmigration.v1.AppliedLicense applied_license = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.vmmigration.v1.AppliedLicense applied_license = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.cloud.vmmigration.v1.AppliedLicenseOrBuilder getAppliedLicenseOrBuilder(); /** - * - * *
    * Compute instance scheduling information (if empty default is used).
    * 
* * .google.cloud.vmmigration.v1.ComputeScheduling compute_scheduling = 13; - * * @return Whether the computeScheduling field is set. */ boolean hasComputeScheduling(); /** - * - * *
    * Compute instance scheduling information (if empty default is used).
    * 
* * .google.cloud.vmmigration.v1.ComputeScheduling compute_scheduling = 13; - * * @return The computeScheduling. */ com.google.cloud.vmmigration.v1.ComputeScheduling getComputeScheduling(); /** - * - * *
    * Compute instance scheduling information (if empty default is used).
    * 
@@ -465,51 +363,36 @@ java.lang.String getLabelsOrDefault( com.google.cloud.vmmigration.v1.ComputeSchedulingOrBuilder getComputeSchedulingOrBuilder(); /** - * - * *
    * Defines whether the instance has Secure Boot enabled.
    * This can be set to true only if the vm boot option is EFI.
    * 
* * bool secure_boot = 14; - * * @return The secureBoot. */ boolean getSecureBoot(); /** - * - * *
    * Output only. The VM Boot Option, as set in the source vm.
    * 
* - * - * .google.cloud.vmmigration.v1.ComputeEngineBootOption boot_option = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.vmmigration.v1.ComputeEngineBootOption boot_option = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for bootOption. */ int getBootOptionValue(); /** - * - * *
    * Output only. The VM Boot Option, as set in the source vm.
    * 
* - * - * .google.cloud.vmmigration.v1.ComputeEngineBootOption boot_option = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.vmmigration.v1.ComputeEngineBootOption boot_option = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The bootOption. */ com.google.cloud.vmmigration.v1.ComputeEngineBootOption getBootOption(); /** - * - * *
    * The metadata key/value pairs to assign to the VM.
    * 
@@ -518,31 +401,30 @@ java.lang.String getLabelsOrDefault( */ int getMetadataCount(); /** - * - * *
    * The metadata key/value pairs to assign to the VM.
    * 
* * map<string, string> metadata = 16; */ - boolean containsMetadata(java.lang.String key); - /** Use {@link #getMetadataMap()} instead. */ + boolean containsMetadata( + java.lang.String key); + /** + * Use {@link #getMetadataMap()} instead. + */ @java.lang.Deprecated - java.util.Map getMetadata(); + java.util.Map + getMetadata(); /** - * - * *
    * The metadata key/value pairs to assign to the VM.
    * 
* * map<string, string> metadata = 16; */ - java.util.Map getMetadataMap(); + java.util.Map + getMetadataMap(); /** - * - * *
    * The metadata key/value pairs to assign to the VM.
    * 
@@ -551,18 +433,79 @@ java.lang.String getLabelsOrDefault( */ /* nullable */ - java.lang.String getMetadataOrDefault( +java.lang.String getMetadataOrDefault( java.lang.String key, /* nullable */ - java.lang.String defaultValue); +java.lang.String defaultValue); /** - * - * *
    * The metadata key/value pairs to assign to the VM.
    * 
* * map<string, string> metadata = 16; */ - java.lang.String getMetadataOrThrow(java.lang.String key); + + java.lang.String getMetadataOrThrow( + java.lang.String key); + + /** + *
+   * Additional licenses to assign to the VM.
+   * 
+ * + * repeated string additional_licenses = 17; + * @return A list containing the additionalLicenses. + */ + java.util.List + getAdditionalLicensesList(); + /** + *
+   * Additional licenses to assign to the VM.
+   * 
+ * + * repeated string additional_licenses = 17; + * @return The count of additionalLicenses. + */ + int getAdditionalLicensesCount(); + /** + *
+   * Additional licenses to assign to the VM.
+   * 
+ * + * repeated string additional_licenses = 17; + * @param index The index of the element to return. + * @return The additionalLicenses at the given index. + */ + java.lang.String getAdditionalLicenses(int index); + /** + *
+   * Additional licenses to assign to the VM.
+   * 
+ * + * repeated string additional_licenses = 17; + * @param index The index of the value to return. + * @return The bytes of the additionalLicenses at the given index. + */ + com.google.protobuf.ByteString + getAdditionalLicensesBytes(int index); + + /** + *
+   * The hostname to assign to the VM.
+   * 
+ * + * string hostname = 18; + * @return The hostname. + */ + java.lang.String getHostname(); + /** + *
+   * The hostname to assign to the VM.
+   * 
+ * + * string hostname = 18; + * @return The bytes for hostname. + */ + com.google.protobuf.ByteString + getHostnameBytes(); } diff --git a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ComputeEngineTargetDetails.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ComputeEngineTargetDetails.java similarity index 65% rename from proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ComputeEngineTargetDetails.java rename to owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ComputeEngineTargetDetails.java index 39e2c02..c2b6c67 100644 --- a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ComputeEngineTargetDetails.java +++ b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ComputeEngineTargetDetails.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; /** - * - * *
  * ComputeEngineTargetDetails is a collection of details for creating a VM in a
  * target Compute Engine project.
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.cloud.vmmigration.v1.ComputeEngineTargetDetails}
  */
-public final class ComputeEngineTargetDetails extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ComputeEngineTargetDetails extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.vmmigration.v1.ComputeEngineTargetDetails)
     ComputeEngineTargetDetailsOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ComputeEngineTargetDetails.newBuilder() to construct.
   private ComputeEngineTargetDetails(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private ComputeEngineTargetDetails() {
     vmName_ = "";
     project_ = "";
@@ -50,19 +32,22 @@ private ComputeEngineTargetDetails() {
     diskType_ = 0;
     licenseType_ = 0;
     bootOption_ = 0;
+    additionalLicenses_ = com.google.protobuf.LazyStringArrayList.EMPTY;
+    hostname_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ComputeEngineTargetDetails();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private ComputeEngineTargetDetails(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -82,165 +67,157 @@ private ComputeEngineTargetDetails(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              vmName_ = s;
-              break;
-            }
-          case 18:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            vmName_ = s;
+            break;
+          }
+          case 18: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              project_ = s;
-              break;
-            }
-          case 26:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            project_ = s;
+            break;
+          }
+          case 26: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              zone_ = s;
-              break;
-            }
-          case 34:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            zone_ = s;
+            break;
+          }
+          case 34: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              machineTypeSeries_ = s;
-              break;
-            }
-          case 42:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            machineTypeSeries_ = s;
+            break;
+          }
+          case 42: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              machineType_ = s;
-              break;
-            }
-          case 50:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                networkTags_ = new com.google.protobuf.LazyStringArrayList();
-                mutable_bitField0_ |= 0x00000001;
-              }
-              networkTags_.add(s);
-              break;
+            machineType_ = s;
+            break;
+          }
+          case 50: {
+            java.lang.String s = input.readStringRequireUtf8();
+            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+              networkTags_ = new com.google.protobuf.LazyStringArrayList();
+              mutable_bitField0_ |= 0x00000001;
             }
-          case 58:
-            {
-              if (!((mutable_bitField0_ & 0x00000002) != 0)) {
-                networkInterfaces_ =
-                    new java.util.ArrayList();
-                mutable_bitField0_ |= 0x00000002;
-              }
-              networkInterfaces_.add(
-                  input.readMessage(
-                      com.google.cloud.vmmigration.v1.NetworkInterface.parser(),
-                      extensionRegistry));
-              break;
+            networkTags_.add(s);
+            break;
+          }
+          case 58: {
+            if (!((mutable_bitField0_ & 0x00000002) != 0)) {
+              networkInterfaces_ = new java.util.ArrayList();
+              mutable_bitField0_ |= 0x00000002;
             }
-          case 66:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            networkInterfaces_.add(
+                input.readMessage(com.google.cloud.vmmigration.v1.NetworkInterface.parser(), extensionRegistry));
+            break;
+          }
+          case 66: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              serviceAccount_ = s;
-              break;
-            }
-          case 72:
-            {
-              int rawValue = input.readEnum();
+            serviceAccount_ = s;
+            break;
+          }
+          case 72: {
+            int rawValue = input.readEnum();
 
-              diskType_ = rawValue;
-              break;
-            }
-          case 82:
-            {
-              if (!((mutable_bitField0_ & 0x00000004) != 0)) {
-                labels_ =
-                    com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry);
-                mutable_bitField0_ |= 0x00000004;
-              }
-              com.google.protobuf.MapEntry labels__ =
-                  input.readMessage(
-                      LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-              labels_.getMutableMap().put(labels__.getKey(), labels__.getValue());
-              break;
+            diskType_ = rawValue;
+            break;
+          }
+          case 82: {
+            if (!((mutable_bitField0_ & 0x00000004) != 0)) {
+              labels_ = com.google.protobuf.MapField.newMapField(
+                  LabelsDefaultEntryHolder.defaultEntry);
+              mutable_bitField0_ |= 0x00000004;
             }
-          case 88:
-            {
-              int rawValue = input.readEnum();
+            com.google.protobuf.MapEntry
+            labels__ = input.readMessage(
+                LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+            labels_.getMutableMap().put(
+                labels__.getKey(), labels__.getValue());
+            break;
+          }
+          case 88: {
+            int rawValue = input.readEnum();
 
-              licenseType_ = rawValue;
-              break;
+            licenseType_ = rawValue;
+            break;
+          }
+          case 98: {
+            com.google.cloud.vmmigration.v1.AppliedLicense.Builder subBuilder = null;
+            if (appliedLicense_ != null) {
+              subBuilder = appliedLicense_.toBuilder();
             }
-          case 98:
-            {
-              com.google.cloud.vmmigration.v1.AppliedLicense.Builder subBuilder = null;
-              if (appliedLicense_ != null) {
-                subBuilder = appliedLicense_.toBuilder();
-              }
-              appliedLicense_ =
-                  input.readMessage(
-                      com.google.cloud.vmmigration.v1.AppliedLicense.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(appliedLicense_);
-                appliedLicense_ = subBuilder.buildPartial();
-              }
-
-              break;
+            appliedLicense_ = input.readMessage(com.google.cloud.vmmigration.v1.AppliedLicense.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(appliedLicense_);
+              appliedLicense_ = subBuilder.buildPartial();
             }
-          case 106:
-            {
-              com.google.cloud.vmmigration.v1.ComputeScheduling.Builder subBuilder = null;
-              if (computeScheduling_ != null) {
-                subBuilder = computeScheduling_.toBuilder();
-              }
-              computeScheduling_ =
-                  input.readMessage(
-                      com.google.cloud.vmmigration.v1.ComputeScheduling.parser(),
-                      extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(computeScheduling_);
-                computeScheduling_ = subBuilder.buildPartial();
-              }
-
-              break;
+
+            break;
+          }
+          case 106: {
+            com.google.cloud.vmmigration.v1.ComputeScheduling.Builder subBuilder = null;
+            if (computeScheduling_ != null) {
+              subBuilder = computeScheduling_.toBuilder();
             }
-          case 112:
-            {
-              secureBoot_ = input.readBool();
-              break;
+            computeScheduling_ = input.readMessage(com.google.cloud.vmmigration.v1.ComputeScheduling.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(computeScheduling_);
+              computeScheduling_ = subBuilder.buildPartial();
             }
-          case 120:
-            {
-              int rawValue = input.readEnum();
 
-              bootOption_ = rawValue;
-              break;
+            break;
+          }
+          case 112: {
+
+            secureBoot_ = input.readBool();
+            break;
+          }
+          case 120: {
+            int rawValue = input.readEnum();
+
+            bootOption_ = rawValue;
+            break;
+          }
+          case 130: {
+            if (!((mutable_bitField0_ & 0x00000008) != 0)) {
+              metadata_ = com.google.protobuf.MapField.newMapField(
+                  MetadataDefaultEntryHolder.defaultEntry);
+              mutable_bitField0_ |= 0x00000008;
             }
-          case 130:
-            {
-              if (!((mutable_bitField0_ & 0x00000008) != 0)) {
-                metadata_ =
-                    com.google.protobuf.MapField.newMapField(
-                        MetadataDefaultEntryHolder.defaultEntry);
-                mutable_bitField0_ |= 0x00000008;
-              }
-              com.google.protobuf.MapEntry metadata__ =
-                  input.readMessage(
-                      MetadataDefaultEntryHolder.defaultEntry.getParserForType(),
-                      extensionRegistry);
-              metadata_.getMutableMap().put(metadata__.getKey(), metadata__.getValue());
-              break;
+            com.google.protobuf.MapEntry
+            metadata__ = input.readMessage(
+                MetadataDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+            metadata_.getMutableMap().put(
+                metadata__.getKey(), metadata__.getValue());
+            break;
+          }
+          case 138: {
+            java.lang.String s = input.readStringRequireUtf8();
+            if (!((mutable_bitField0_ & 0x00000010) != 0)) {
+              additionalLicenses_ = new com.google.protobuf.LazyStringArrayList();
+              mutable_bitField0_ |= 0x00000010;
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            additionalLicenses_.add(s);
+            break;
+          }
+          case 146: {
+            java.lang.String s = input.readStringRequireUtf8();
+
+            hostname_ = s;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -248,7 +225,8 @@ private ComputeEngineTargetDetails(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       if (((mutable_bitField0_ & 0x00000001) != 0)) {
         networkTags_ = networkTags_.getUnmodifiableView();
@@ -256,50 +234,48 @@ private ComputeEngineTargetDetails(
       if (((mutable_bitField0_ & 0x00000002) != 0)) {
         networkInterfaces_ = java.util.Collections.unmodifiableList(networkInterfaces_);
       }
+      if (((mutable_bitField0_ & 0x00000010) != 0)) {
+        additionalLicenses_ = additionalLicenses_.getUnmodifiableView();
+      }
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.vmmigration.v1.VmMigrationProto
-        .internal_static_google_cloud_vmmigration_v1_ComputeEngineTargetDetails_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ComputeEngineTargetDetails_descriptor;
   }
 
   @SuppressWarnings({"rawtypes"})
   @java.lang.Override
-  protected com.google.protobuf.MapField internalGetMapField(int number) {
+  protected com.google.protobuf.MapField internalGetMapField(
+      int number) {
     switch (number) {
       case 10:
         return internalGetLabels();
       case 16:
         return internalGetMetadata();
       default:
-        throw new RuntimeException("Invalid map field number: " + number);
+        throw new RuntimeException(
+            "Invalid map field number: " + number);
     }
   }
-
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.vmmigration.v1.VmMigrationProto
-        .internal_static_google_cloud_vmmigration_v1_ComputeEngineTargetDetails_fieldAccessorTable
+    return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ComputeEngineTargetDetails_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails.class,
-            com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails.Builder.class);
+            com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails.class, com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails.Builder.class);
   }
 
   public static final int VM_NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object vmName_;
   /**
-   *
-   *
    * 
    * The name of the VM to create.
    * 
* * string vm_name = 1; - * * @return The vmName. */ @java.lang.Override @@ -308,29 +284,29 @@ public java.lang.String getVmName() { 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(); vmName_ = s; return s; } } /** - * - * *
    * The name of the VM to create.
    * 
* * string vm_name = 1; - * * @return The bytes for vmName. */ @java.lang.Override - public com.google.protobuf.ByteString getVmNameBytes() { + public com.google.protobuf.ByteString + getVmNameBytes() { java.lang.Object ref = vmName_; 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); vmName_ = b; return b; } else { @@ -341,14 +317,11 @@ public com.google.protobuf.ByteString getVmNameBytes() { public static final int PROJECT_FIELD_NUMBER = 2; private volatile java.lang.Object project_; /** - * - * *
    * The GCP target project ID or project name.
    * 
* * string project = 2; - * * @return The project. */ @java.lang.Override @@ -357,29 +330,29 @@ public java.lang.String getProject() { 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(); project_ = s; return s; } } /** - * - * *
    * The GCP target project ID or project name.
    * 
* * string project = 2; - * * @return The bytes for project. */ @java.lang.Override - public com.google.protobuf.ByteString getProjectBytes() { + public com.google.protobuf.ByteString + getProjectBytes() { java.lang.Object ref = project_; 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); project_ = b; return b; } else { @@ -390,14 +363,11 @@ public com.google.protobuf.ByteString getProjectBytes() { public static final int ZONE_FIELD_NUMBER = 3; private volatile java.lang.Object zone_; /** - * - * *
    * The zone in which to create the VM.
    * 
* * string zone = 3; - * * @return The zone. */ @java.lang.Override @@ -406,29 +376,29 @@ public java.lang.String getZone() { 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(); zone_ = s; return s; } } /** - * - * *
    * The zone in which to create the VM.
    * 
* * string zone = 3; - * * @return The bytes for zone. */ @java.lang.Override - public com.google.protobuf.ByteString getZoneBytes() { + public com.google.protobuf.ByteString + getZoneBytes() { java.lang.Object ref = zone_; 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); zone_ = b; return b; } else { @@ -439,14 +409,11 @@ public com.google.protobuf.ByteString getZoneBytes() { public static final int MACHINE_TYPE_SERIES_FIELD_NUMBER = 4; private volatile java.lang.Object machineTypeSeries_; /** - * - * *
    * The machine type series to create the VM with.
    * 
* * string machine_type_series = 4; - * * @return The machineTypeSeries. */ @java.lang.Override @@ -455,29 +422,29 @@ public java.lang.String getMachineTypeSeries() { 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(); machineTypeSeries_ = s; return s; } } /** - * - * *
    * The machine type series to create the VM with.
    * 
* * string machine_type_series = 4; - * * @return The bytes for machineTypeSeries. */ @java.lang.Override - public com.google.protobuf.ByteString getMachineTypeSeriesBytes() { + public com.google.protobuf.ByteString + getMachineTypeSeriesBytes() { java.lang.Object ref = machineTypeSeries_; 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); machineTypeSeries_ = b; return b; } else { @@ -488,14 +455,11 @@ public com.google.protobuf.ByteString getMachineTypeSeriesBytes() { public static final int MACHINE_TYPE_FIELD_NUMBER = 5; private volatile java.lang.Object machineType_; /** - * - * *
    * The machine type to create the VM with.
    * 
* * string machine_type = 5; - * * @return The machineType. */ @java.lang.Override @@ -504,29 +468,29 @@ public java.lang.String getMachineType() { 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(); machineType_ = s; return s; } } /** - * - * *
    * The machine type to create the VM with.
    * 
* * string machine_type = 5; - * * @return The bytes for machineType. */ @java.lang.Override - public com.google.protobuf.ByteString getMachineTypeBytes() { + public com.google.protobuf.ByteString + getMachineTypeBytes() { java.lang.Object ref = machineType_; 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); machineType_ = b; return b; } else { @@ -537,42 +501,34 @@ public com.google.protobuf.ByteString getMachineTypeBytes() { public static final int NETWORK_TAGS_FIELD_NUMBER = 6; private com.google.protobuf.LazyStringList networkTags_; /** - * - * *
    * A map of network tags to associate with the VM.
    * 
* * repeated string network_tags = 6; - * * @return A list containing the networkTags. */ - public com.google.protobuf.ProtocolStringList getNetworkTagsList() { + public com.google.protobuf.ProtocolStringList + getNetworkTagsList() { return networkTags_; } /** - * - * *
    * A map of network tags to associate with the VM.
    * 
* * repeated string network_tags = 6; - * * @return The count of networkTags. */ public int getNetworkTagsCount() { return networkTags_.size(); } /** - * - * *
    * A map of network tags to associate with the VM.
    * 
* * repeated string network_tags = 6; - * * @param index The index of the element to return. * @return The networkTags at the given index. */ @@ -580,26 +536,22 @@ public java.lang.String getNetworkTags(int index) { return networkTags_.get(index); } /** - * - * *
    * A map of network tags to associate with the VM.
    * 
* * repeated string network_tags = 6; - * * @param index The index of the value to return. * @return The bytes of the networkTags at the given index. */ - public com.google.protobuf.ByteString getNetworkTagsBytes(int index) { + public com.google.protobuf.ByteString + getNetworkTagsBytes(int index) { return networkTags_.getByteString(index); } public static final int NETWORK_INTERFACES_FIELD_NUMBER = 7; private java.util.List networkInterfaces_; /** - * - * *
    * List of NICs connected to this VM.
    * 
@@ -607,13 +559,10 @@ public com.google.protobuf.ByteString getNetworkTagsBytes(int index) { * repeated .google.cloud.vmmigration.v1.NetworkInterface network_interfaces = 7; */ @java.lang.Override - public java.util.List - getNetworkInterfacesList() { + public java.util.List getNetworkInterfacesList() { return networkInterfaces_; } /** - * - * *
    * List of NICs connected to this VM.
    * 
@@ -621,13 +570,11 @@ public com.google.protobuf.ByteString getNetworkTagsBytes(int index) { * repeated .google.cloud.vmmigration.v1.NetworkInterface network_interfaces = 7; */ @java.lang.Override - public java.util.List + public java.util.List getNetworkInterfacesOrBuilderList() { return networkInterfaces_; } /** - * - * *
    * List of NICs connected to this VM.
    * 
@@ -639,8 +586,6 @@ public int getNetworkInterfacesCount() { return networkInterfaces_.size(); } /** - * - * *
    * List of NICs connected to this VM.
    * 
@@ -652,8 +597,6 @@ public com.google.cloud.vmmigration.v1.NetworkInterface getNetworkInterfaces(int return networkInterfaces_.get(index); } /** - * - * *
    * List of NICs connected to this VM.
    * 
@@ -669,14 +612,11 @@ public com.google.cloud.vmmigration.v1.NetworkInterfaceOrBuilder getNetworkInter public static final int SERVICE_ACCOUNT_FIELD_NUMBER = 8; private volatile java.lang.Object serviceAccount_; /** - * - * *
    * The service account to associate the VM with.
    * 
* * string service_account = 8; - * * @return The serviceAccount. */ @java.lang.Override @@ -685,29 +625,29 @@ public java.lang.String getServiceAccount() { 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(); serviceAccount_ = s; return s; } } /** - * - * *
    * The service account to associate the VM with.
    * 
* * string service_account = 8; - * * @return The bytes for serviceAccount. */ @java.lang.Override - public com.google.protobuf.ByteString getServiceAccountBytes() { + public com.google.protobuf.ByteString + getServiceAccountBytes() { java.lang.Object ref = serviceAccount_; 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); serviceAccount_ = b; return b; } else { @@ -718,59 +658,49 @@ public com.google.protobuf.ByteString getServiceAccountBytes() { public static final int DISK_TYPE_FIELD_NUMBER = 9; private int diskType_; /** - * - * *
    * The disk type to use in the VM.
    * 
* * .google.cloud.vmmigration.v1.ComputeEngineDiskType disk_type = 9; - * * @return The enum numeric value on the wire for diskType. */ - @java.lang.Override - public int getDiskTypeValue() { + @java.lang.Override public int getDiskTypeValue() { return diskType_; } /** - * - * *
    * The disk type to use in the VM.
    * 
* * .google.cloud.vmmigration.v1.ComputeEngineDiskType disk_type = 9; - * * @return The diskType. */ - @java.lang.Override - public com.google.cloud.vmmigration.v1.ComputeEngineDiskType getDiskType() { + @java.lang.Override public com.google.cloud.vmmigration.v1.ComputeEngineDiskType getDiskType() { @SuppressWarnings("deprecation") - com.google.cloud.vmmigration.v1.ComputeEngineDiskType result = - com.google.cloud.vmmigration.v1.ComputeEngineDiskType.valueOf(diskType_); - return result == null - ? com.google.cloud.vmmigration.v1.ComputeEngineDiskType.UNRECOGNIZED - : result; + com.google.cloud.vmmigration.v1.ComputeEngineDiskType result = com.google.cloud.vmmigration.v1.ComputeEngineDiskType.valueOf(diskType_); + return result == null ? com.google.cloud.vmmigration.v1.ComputeEngineDiskType.UNRECOGNIZED : result; } public static final int LABELS_FIELD_NUMBER = 10; - private static final class LabelsDefaultEntryHolder { - static final com.google.protobuf.MapEntry defaultEntry = - com.google.protobuf.MapEntry.newDefaultInstance( - com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_ComputeEngineTargetDetails_LabelsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); - } - - private com.google.protobuf.MapField labels_; - - private com.google.protobuf.MapField internalGetLabels() { + static final com.google.protobuf.MapEntry< + java.lang.String, java.lang.String> defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ComputeEngineTargetDetails_LabelsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); + } + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> labels_; + private com.google.protobuf.MapField + internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + LabelsDefaultEntryHolder.defaultEntry); } return labels_; } @@ -779,30 +709,28 @@ public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** - * - * *
    * A map of labels to associate with the VM.
    * 
* * map<string, string> labels = 10; */ + @java.lang.Override - public boolean containsLabels(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsLabels( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetLabels().getMap().containsKey(key); } - /** Use {@link #getLabelsMap()} instead. */ + /** + * Use {@link #getLabelsMap()} instead. + */ @java.lang.Override @java.lang.Deprecated public java.util.Map getLabels() { return getLabelsMap(); } /** - * - * *
    * A map of labels to associate with the VM.
    * 
@@ -810,12 +738,11 @@ public java.util.Map getLabels() { * map<string, string> labels = 10; */ @java.lang.Override + public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** - * - * *
    * A map of labels to associate with the VM.
    * 
@@ -823,16 +750,16 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 10; */ @java.lang.Override - public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.String defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetLabels().getMap(); + + public java.lang.String getLabelsOrDefault( + java.lang.String key, + java.lang.String defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
    * A map of labels to associate with the VM.
    * 
@@ -840,11 +767,12 @@ public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.Strin * map<string, string> labels = 10; */ @java.lang.Override - public java.lang.String getLabelsOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetLabels().getMap(); + + public java.lang.String getLabelsOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -854,52 +782,38 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) { public static final int LICENSE_TYPE_FIELD_NUMBER = 11; private int licenseType_; /** - * - * *
    * The license type to use in OS adaptation.
    * 
* * .google.cloud.vmmigration.v1.ComputeEngineLicenseType license_type = 11; - * * @return The enum numeric value on the wire for licenseType. */ - @java.lang.Override - public int getLicenseTypeValue() { + @java.lang.Override public int getLicenseTypeValue() { return licenseType_; } /** - * - * *
    * The license type to use in OS adaptation.
    * 
* * .google.cloud.vmmigration.v1.ComputeEngineLicenseType license_type = 11; - * * @return The licenseType. */ - @java.lang.Override - public com.google.cloud.vmmigration.v1.ComputeEngineLicenseType getLicenseType() { + @java.lang.Override public com.google.cloud.vmmigration.v1.ComputeEngineLicenseType getLicenseType() { @SuppressWarnings("deprecation") - com.google.cloud.vmmigration.v1.ComputeEngineLicenseType result = - com.google.cloud.vmmigration.v1.ComputeEngineLicenseType.valueOf(licenseType_); - return result == null - ? com.google.cloud.vmmigration.v1.ComputeEngineLicenseType.UNRECOGNIZED - : result; + com.google.cloud.vmmigration.v1.ComputeEngineLicenseType result = com.google.cloud.vmmigration.v1.ComputeEngineLicenseType.valueOf(licenseType_); + return result == null ? com.google.cloud.vmmigration.v1.ComputeEngineLicenseType.UNRECOGNIZED : result; } public static final int APPLIED_LICENSE_FIELD_NUMBER = 12; private com.google.cloud.vmmigration.v1.AppliedLicense appliedLicense_; /** - * - * *
    * The OS license returned from the adaptation module report.
    * 
* * .google.cloud.vmmigration.v1.AppliedLicense applied_license = 12; - * * @return Whether the appliedLicense field is set. */ @java.lang.Override @@ -907,25 +821,18 @@ public boolean hasAppliedLicense() { return appliedLicense_ != null; } /** - * - * *
    * The OS license returned from the adaptation module report.
    * 
* * .google.cloud.vmmigration.v1.AppliedLicense applied_license = 12; - * * @return The appliedLicense. */ @java.lang.Override public com.google.cloud.vmmigration.v1.AppliedLicense getAppliedLicense() { - return appliedLicense_ == null - ? com.google.cloud.vmmigration.v1.AppliedLicense.getDefaultInstance() - : appliedLicense_; + return appliedLicense_ == null ? com.google.cloud.vmmigration.v1.AppliedLicense.getDefaultInstance() : appliedLicense_; } /** - * - * *
    * The OS license returned from the adaptation module report.
    * 
@@ -940,14 +847,11 @@ public com.google.cloud.vmmigration.v1.AppliedLicenseOrBuilder getAppliedLicense public static final int COMPUTE_SCHEDULING_FIELD_NUMBER = 13; private com.google.cloud.vmmigration.v1.ComputeScheduling computeScheduling_; /** - * - * *
    * Compute instance scheduling information (if empty default is used).
    * 
* * .google.cloud.vmmigration.v1.ComputeScheduling compute_scheduling = 13; - * * @return Whether the computeScheduling field is set. */ @java.lang.Override @@ -955,25 +859,18 @@ public boolean hasComputeScheduling() { return computeScheduling_ != null; } /** - * - * *
    * Compute instance scheduling information (if empty default is used).
    * 
* * .google.cloud.vmmigration.v1.ComputeScheduling compute_scheduling = 13; - * * @return The computeScheduling. */ @java.lang.Override public com.google.cloud.vmmigration.v1.ComputeScheduling getComputeScheduling() { - return computeScheduling_ == null - ? com.google.cloud.vmmigration.v1.ComputeScheduling.getDefaultInstance() - : computeScheduling_; + return computeScheduling_ == null ? com.google.cloud.vmmigration.v1.ComputeScheduling.getDefaultInstance() : computeScheduling_; } /** - * - * *
    * Compute instance scheduling information (if empty default is used).
    * 
@@ -981,23 +878,19 @@ public com.google.cloud.vmmigration.v1.ComputeScheduling getComputeScheduling() * .google.cloud.vmmigration.v1.ComputeScheduling compute_scheduling = 13; */ @java.lang.Override - public com.google.cloud.vmmigration.v1.ComputeSchedulingOrBuilder - getComputeSchedulingOrBuilder() { + public com.google.cloud.vmmigration.v1.ComputeSchedulingOrBuilder getComputeSchedulingOrBuilder() { return getComputeScheduling(); } public static final int SECURE_BOOT_FIELD_NUMBER = 14; private boolean secureBoot_; /** - * - * *
    * Defines whether the instance has Secure Boot enabled.
    * This can be set to true only if the vm boot option is EFI.
    * 
* * bool secure_boot = 14; - * * @return The secureBoot. */ @java.lang.Override @@ -1008,59 +901,49 @@ public boolean getSecureBoot() { public static final int BOOT_OPTION_FIELD_NUMBER = 15; private int bootOption_; /** - * - * *
    * The VM Boot Option, as set in the source vm.
    * 
* * .google.cloud.vmmigration.v1.ComputeEngineBootOption boot_option = 15; - * * @return The enum numeric value on the wire for bootOption. */ - @java.lang.Override - public int getBootOptionValue() { + @java.lang.Override public int getBootOptionValue() { return bootOption_; } /** - * - * *
    * The VM Boot Option, as set in the source vm.
    * 
* * .google.cloud.vmmigration.v1.ComputeEngineBootOption boot_option = 15; - * * @return The bootOption. */ - @java.lang.Override - public com.google.cloud.vmmigration.v1.ComputeEngineBootOption getBootOption() { + @java.lang.Override public com.google.cloud.vmmigration.v1.ComputeEngineBootOption getBootOption() { @SuppressWarnings("deprecation") - com.google.cloud.vmmigration.v1.ComputeEngineBootOption result = - com.google.cloud.vmmigration.v1.ComputeEngineBootOption.valueOf(bootOption_); - return result == null - ? com.google.cloud.vmmigration.v1.ComputeEngineBootOption.UNRECOGNIZED - : result; + com.google.cloud.vmmigration.v1.ComputeEngineBootOption result = com.google.cloud.vmmigration.v1.ComputeEngineBootOption.valueOf(bootOption_); + return result == null ? com.google.cloud.vmmigration.v1.ComputeEngineBootOption.UNRECOGNIZED : result; } public static final int METADATA_FIELD_NUMBER = 16; - private static final class MetadataDefaultEntryHolder { - static final com.google.protobuf.MapEntry defaultEntry = - com.google.protobuf.MapEntry.newDefaultInstance( - com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_ComputeEngineTargetDetails_MetadataEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); - } - - private com.google.protobuf.MapField metadata_; - - private com.google.protobuf.MapField internalGetMetadata() { + static final com.google.protobuf.MapEntry< + java.lang.String, java.lang.String> defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ComputeEngineTargetDetails_MetadataEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); + } + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> metadata_; + private com.google.protobuf.MapField + internalGetMetadata() { if (metadata_ == null) { - return com.google.protobuf.MapField.emptyMapField(MetadataDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + MetadataDefaultEntryHolder.defaultEntry); } return metadata_; } @@ -1069,30 +952,28 @@ public int getMetadataCount() { return internalGetMetadata().getMap().size(); } /** - * - * *
    * The metadata key/value pairs to assign to the VM.
    * 
* * map<string, string> metadata = 16; */ + @java.lang.Override - public boolean containsMetadata(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsMetadata( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetMetadata().getMap().containsKey(key); } - /** Use {@link #getMetadataMap()} instead. */ + /** + * Use {@link #getMetadataMap()} instead. + */ @java.lang.Override @java.lang.Deprecated public java.util.Map getMetadata() { return getMetadataMap(); } /** - * - * *
    * The metadata key/value pairs to assign to the VM.
    * 
@@ -1100,12 +981,11 @@ public java.util.Map getMetadata() { * map<string, string> metadata = 16; */ @java.lang.Override + public java.util.Map getMetadataMap() { return internalGetMetadata().getMap(); } /** - * - * *
    * The metadata key/value pairs to assign to the VM.
    * 
@@ -1113,17 +993,16 @@ public java.util.Map getMetadataMap() { * map<string, string> metadata = 16; */ @java.lang.Override + public java.lang.String getMetadataOrDefault( - java.lang.String key, java.lang.String defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetMetadata().getMap(); + java.lang.String key, + java.lang.String defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetMetadata().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
    * The metadata key/value pairs to assign to the VM.
    * 
@@ -1131,39 +1010,137 @@ public java.lang.String getMetadataOrDefault( * map<string, string> metadata = 16; */ @java.lang.Override - public java.lang.String getMetadataOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetMetadata().getMap(); + + public java.lang.String getMetadataOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetMetadata().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } - 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; + public static final int ADDITIONAL_LICENSES_FIELD_NUMBER = 17; + private com.google.protobuf.LazyStringList additionalLicenses_; + /** + *
+   * Additional licenses to assign to the VM.
+   * 
+ * + * repeated string additional_licenses = 17; + * @return A list containing the additionalLicenses. + */ + public com.google.protobuf.ProtocolStringList + getAdditionalLicensesList() { + return additionalLicenses_; + } + /** + *
+   * Additional licenses to assign to the VM.
+   * 
+ * + * repeated string additional_licenses = 17; + * @return The count of additionalLicenses. + */ + public int getAdditionalLicensesCount() { + return additionalLicenses_.size(); + } + /** + *
+   * Additional licenses to assign to the VM.
+   * 
+ * + * repeated string additional_licenses = 17; + * @param index The index of the element to return. + * @return The additionalLicenses at the given index. + */ + public java.lang.String getAdditionalLicenses(int index) { + return additionalLicenses_.get(index); + } + /** + *
+   * Additional licenses to assign to the VM.
+   * 
+ * + * repeated string additional_licenses = 17; + * @param index The index of the value to return. + * @return The bytes of the additionalLicenses at the given index. + */ + public com.google.protobuf.ByteString + getAdditionalLicensesBytes(int index) { + return additionalLicenses_.getByteString(index); } + public static final int HOSTNAME_FIELD_NUMBER = 18; + private volatile java.lang.Object hostname_; + /** + *
+   * The hostname to assign to the VM.
+   * 
+ * + * string hostname = 18; + * @return The hostname. + */ @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(vmName_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, vmName_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(project_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, project_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(zone_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, zone_); + public java.lang.String getHostname() { + java.lang.Object ref = hostname_; + 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(); + hostname_ = s; + return s; + } + } + /** + *
+   * The hostname to assign to the VM.
+   * 
+ * + * string hostname = 18; + * @return The bytes for hostname. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getHostnameBytes() { + java.lang.Object ref = hostname_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + hostname_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + 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(vmName_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, vmName_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(project_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, project_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(zone_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, zone_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(machineTypeSeries_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, machineTypeSeries_); @@ -1180,18 +1157,16 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(serviceAccount_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 8, serviceAccount_); } - if (diskType_ - != com.google.cloud.vmmigration.v1.ComputeEngineDiskType - .COMPUTE_ENGINE_DISK_TYPE_UNSPECIFIED - .getNumber()) { + if (diskType_ != com.google.cloud.vmmigration.v1.ComputeEngineDiskType.COMPUTE_ENGINE_DISK_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(9, diskType_); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( - output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 10); - if (licenseType_ - != com.google.cloud.vmmigration.v1.ComputeEngineLicenseType - .COMPUTE_ENGINE_LICENSE_TYPE_DEFAULT - .getNumber()) { + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetLabels(), + LabelsDefaultEntryHolder.defaultEntry, + 10); + if (licenseType_ != com.google.cloud.vmmigration.v1.ComputeEngineLicenseType.COMPUTE_ENGINE_LICENSE_TYPE_DEFAULT.getNumber()) { output.writeEnum(11, licenseType_); } if (appliedLicense_ != null) { @@ -1203,14 +1178,21 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (secureBoot_ != false) { output.writeBool(14, secureBoot_); } - if (bootOption_ - != com.google.cloud.vmmigration.v1.ComputeEngineBootOption - .COMPUTE_ENGINE_BOOT_OPTION_UNSPECIFIED - .getNumber()) { + if (bootOption_ != com.google.cloud.vmmigration.v1.ComputeEngineBootOption.COMPUTE_ENGINE_BOOT_OPTION_UNSPECIFIED.getNumber()) { output.writeEnum(15, bootOption_); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( - output, internalGetMetadata(), MetadataDefaultEntryHolder.defaultEntry, 16); + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetMetadata(), + MetadataDefaultEntryHolder.defaultEntry, + 16); + for (int i = 0; i < additionalLicenses_.size(); i++) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 17, additionalLicenses_.getRaw(i)); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(hostname_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 18, hostname_); + } unknownFields.writeTo(output); } @@ -1244,58 +1226,66 @@ public int getSerializedSize() { size += 1 * getNetworkTagsList().size(); } for (int i = 0; i < networkInterfaces_.size(); i++) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(7, networkInterfaces_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(7, networkInterfaces_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(serviceAccount_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, serviceAccount_); } - if (diskType_ - != com.google.cloud.vmmigration.v1.ComputeEngineDiskType - .COMPUTE_ENGINE_DISK_TYPE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(9, diskType_); - } - for (java.util.Map.Entry entry : - internalGetLabels().getMap().entrySet()) { - com.google.protobuf.MapEntry labels__ = - LabelsDefaultEntryHolder.defaultEntry - .newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream.computeMessageSize(10, labels__); - } - if (licenseType_ - != com.google.cloud.vmmigration.v1.ComputeEngineLicenseType - .COMPUTE_ENGINE_LICENSE_TYPE_DEFAULT - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(11, licenseType_); + if (diskType_ != com.google.cloud.vmmigration.v1.ComputeEngineDiskType.COMPUTE_ENGINE_DISK_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(9, diskType_); + } + for (java.util.Map.Entry entry + : internalGetLabels().getMap().entrySet()) { + com.google.protobuf.MapEntry + labels__ = LabelsDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(10, labels__); + } + if (licenseType_ != com.google.cloud.vmmigration.v1.ComputeEngineLicenseType.COMPUTE_ENGINE_LICENSE_TYPE_DEFAULT.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(11, licenseType_); } if (appliedLicense_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(12, getAppliedLicense()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(12, getAppliedLicense()); } if (computeScheduling_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(13, getComputeScheduling()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(13, getComputeScheduling()); } if (secureBoot_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(14, secureBoot_); - } - if (bootOption_ - != com.google.cloud.vmmigration.v1.ComputeEngineBootOption - .COMPUTE_ENGINE_BOOT_OPTION_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(15, bootOption_); - } - for (java.util.Map.Entry entry : - internalGetMetadata().getMap().entrySet()) { - com.google.protobuf.MapEntry metadata__ = - MetadataDefaultEntryHolder.defaultEntry - .newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream.computeMessageSize(16, metadata__); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(14, secureBoot_); + } + if (bootOption_ != com.google.cloud.vmmigration.v1.ComputeEngineBootOption.COMPUTE_ENGINE_BOOT_OPTION_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(15, bootOption_); + } + for (java.util.Map.Entry entry + : internalGetMetadata().getMap().entrySet()) { + com.google.protobuf.MapEntry + metadata__ = MetadataDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(16, metadata__); + } + { + int dataSize = 0; + for (int i = 0; i < additionalLicenses_.size(); i++) { + dataSize += computeStringSizeNoTag(additionalLicenses_.getRaw(i)); + } + size += dataSize; + size += 2 * getAdditionalLicensesList().size(); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(hostname_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(18, hostname_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1305,36 +1295,52 @@ 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.vmmigration.v1.ComputeEngineTargetDetails)) { return super.equals(obj); } - com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails other = - (com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails) obj; - - if (!getVmName().equals(other.getVmName())) return false; - if (!getProject().equals(other.getProject())) return false; - if (!getZone().equals(other.getZone())) return false; - if (!getMachineTypeSeries().equals(other.getMachineTypeSeries())) return false; - if (!getMachineType().equals(other.getMachineType())) return false; - if (!getNetworkTagsList().equals(other.getNetworkTagsList())) return false; - if (!getNetworkInterfacesList().equals(other.getNetworkInterfacesList())) return false; - if (!getServiceAccount().equals(other.getServiceAccount())) return false; + com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails other = (com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails) obj; + + if (!getVmName() + .equals(other.getVmName())) return false; + if (!getProject() + .equals(other.getProject())) return false; + if (!getZone() + .equals(other.getZone())) return false; + if (!getMachineTypeSeries() + .equals(other.getMachineTypeSeries())) return false; + if (!getMachineType() + .equals(other.getMachineType())) return false; + if (!getNetworkTagsList() + .equals(other.getNetworkTagsList())) return false; + if (!getNetworkInterfacesList() + .equals(other.getNetworkInterfacesList())) return false; + if (!getServiceAccount() + .equals(other.getServiceAccount())) return false; if (diskType_ != other.diskType_) return false; - if (!internalGetLabels().equals(other.internalGetLabels())) return false; + if (!internalGetLabels().equals( + other.internalGetLabels())) return false; if (licenseType_ != other.licenseType_) return false; if (hasAppliedLicense() != other.hasAppliedLicense()) return false; if (hasAppliedLicense()) { - if (!getAppliedLicense().equals(other.getAppliedLicense())) return false; + if (!getAppliedLicense() + .equals(other.getAppliedLicense())) return false; } if (hasComputeScheduling() != other.hasComputeScheduling()) return false; if (hasComputeScheduling()) { - if (!getComputeScheduling().equals(other.getComputeScheduling())) return false; + if (!getComputeScheduling() + .equals(other.getComputeScheduling())) return false; } - if (getSecureBoot() != other.getSecureBoot()) return false; + if (getSecureBoot() + != other.getSecureBoot()) return false; if (bootOption_ != other.bootOption_) return false; - if (!internalGetMetadata().equals(other.internalGetMetadata())) return false; + if (!internalGetMetadata().equals( + other.internalGetMetadata())) return false; + if (!getAdditionalLicensesList() + .equals(other.getAdditionalLicensesList())) return false; + if (!getHostname() + .equals(other.getHostname())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -1383,117 +1389,116 @@ public int hashCode() { hash = (53 * hash) + getComputeScheduling().hashCode(); } hash = (37 * hash) + SECURE_BOOT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getSecureBoot()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getSecureBoot()); hash = (37 * hash) + BOOT_OPTION_FIELD_NUMBER; hash = (53 * hash) + bootOption_; if (!internalGetMetadata().getMap().isEmpty()) { hash = (37 * hash) + METADATA_FIELD_NUMBER; hash = (53 * hash) + internalGetMetadata().hashCode(); } + if (getAdditionalLicensesCount() > 0) { + hash = (37 * hash) + ADDITIONAL_LICENSES_FIELD_NUMBER; + hash = (53 * hash) + getAdditionalLicensesList().hashCode(); + } + hash = (37 * hash) + HOSTNAME_FIELD_NUMBER; + hash = (53 * hash) + getHostname().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails 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.vmmigration.v1.ComputeEngineTargetDetails 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.vmmigration.v1.ComputeEngineTargetDetails parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails 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.vmmigration.v1.ComputeEngineTargetDetails parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails 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.vmmigration.v1.ComputeEngineTargetDetails parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails 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.vmmigration.v1.ComputeEngineTargetDetails parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails 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.vmmigration.v1.ComputeEngineTargetDetails 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.vmmigration.v1.ComputeEngineTargetDetails 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.vmmigration.v1.ComputeEngineTargetDetails prototype) { + public static Builder newBuilder(com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails 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; } /** - * - * *
    * ComputeEngineTargetDetails is a collection of details for creating a VM in a
    * target Compute Engine project.
@@ -1501,47 +1506,47 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.vmmigration.v1.ComputeEngineTargetDetails}
    */
-  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.vmmigration.v1.ComputeEngineTargetDetails)
       com.google.cloud.vmmigration.v1.ComputeEngineTargetDetailsOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.vmmigration.v1.VmMigrationProto
-          .internal_static_google_cloud_vmmigration_v1_ComputeEngineTargetDetails_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ComputeEngineTargetDetails_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMapField(int number) {
+    protected com.google.protobuf.MapField internalGetMapField(
+        int number) {
       switch (number) {
         case 10:
           return internalGetLabels();
         case 16:
           return internalGetMetadata();
         default:
-          throw new RuntimeException("Invalid map field number: " + number);
+          throw new RuntimeException(
+              "Invalid map field number: " + number);
       }
     }
-
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMutableMapField(int number) {
+    protected com.google.protobuf.MapField internalGetMutableMapField(
+        int number) {
       switch (number) {
         case 10:
           return internalGetMutableLabels();
         case 16:
           return internalGetMutableMetadata();
         default:
-          throw new RuntimeException("Invalid map field number: " + number);
+          throw new RuntimeException(
+              "Invalid map field number: " + number);
       }
     }
-
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.vmmigration.v1.VmMigrationProto
-          .internal_static_google_cloud_vmmigration_v1_ComputeEngineTargetDetails_fieldAccessorTable
+      return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ComputeEngineTargetDetails_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails.class,
-              com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails.Builder.class);
+              com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails.class, com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails.Builder.class);
     }
 
     // Construct using com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails.newBuilder()
@@ -1549,17 +1554,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) {
         getNetworkInterfacesFieldBuilder();
       }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1605,13 +1610,17 @@ public Builder clear() {
       bootOption_ = 0;
 
       internalGetMutableMetadata().clear();
+      additionalLicenses_ = com.google.protobuf.LazyStringArrayList.EMPTY;
+      bitField0_ = (bitField0_ & ~0x00000010);
+      hostname_ = "";
+
       return this;
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.vmmigration.v1.VmMigrationProto
-          .internal_static_google_cloud_vmmigration_v1_ComputeEngineTargetDetails_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ComputeEngineTargetDetails_descriptor;
     }
 
     @java.lang.Override
@@ -1630,8 +1639,7 @@ public com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails build() {
 
     @java.lang.Override
     public com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails buildPartial() {
-      com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails result =
-          new com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails(this);
+      com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails result = new com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails(this);
       int from_bitField0_ = bitField0_;
       result.vmName_ = vmName_;
       result.project_ = project_;
@@ -1671,6 +1679,12 @@ public com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails buildPartial()
       result.bootOption_ = bootOption_;
       result.metadata_ = internalGetMetadata();
       result.metadata_.makeImmutable();
+      if (((bitField0_ & 0x00000010) != 0)) {
+        additionalLicenses_ = additionalLicenses_.getUnmodifiableView();
+        bitField0_ = (bitField0_ & ~0x00000010);
+      }
+      result.additionalLicenses_ = additionalLicenses_;
+      result.hostname_ = hostname_;
       onBuilt();
       return result;
     }
@@ -1679,39 +1693,38 @@ public com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails buildPartial()
     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.vmmigration.v1.ComputeEngineTargetDetails) {
-        return mergeFrom((com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails) other);
+        return mergeFrom((com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1719,8 +1732,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails other) {
-      if (other == com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails.getDefaultInstance()) return this;
       if (!other.getVmName().isEmpty()) {
         vmName_ = other.vmName_;
         onChanged();
@@ -1769,10 +1781,9 @@ public Builder mergeFrom(com.google.cloud.vmmigration.v1.ComputeEngineTargetDeta
             networkInterfacesBuilder_ = null;
             networkInterfaces_ = other.networkInterfaces_;
             bitField0_ = (bitField0_ & ~0x00000002);
-            networkInterfacesBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getNetworkInterfacesFieldBuilder()
-                    : null;
+            networkInterfacesBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getNetworkInterfacesFieldBuilder() : null;
           } else {
             networkInterfacesBuilder_.addAllMessages(other.networkInterfaces_);
           }
@@ -1785,7 +1796,8 @@ public Builder mergeFrom(com.google.cloud.vmmigration.v1.ComputeEngineTargetDeta
       if (other.diskType_ != 0) {
         setDiskTypeValue(other.getDiskTypeValue());
       }
-      internalGetMutableLabels().mergeFrom(other.internalGetLabels());
+      internalGetMutableLabels().mergeFrom(
+          other.internalGetLabels());
       if (other.licenseType_ != 0) {
         setLicenseTypeValue(other.getLicenseTypeValue());
       }
@@ -1801,7 +1813,22 @@ public Builder mergeFrom(com.google.cloud.vmmigration.v1.ComputeEngineTargetDeta
       if (other.bootOption_ != 0) {
         setBootOptionValue(other.getBootOptionValue());
       }
-      internalGetMutableMetadata().mergeFrom(other.internalGetMetadata());
+      internalGetMutableMetadata().mergeFrom(
+          other.internalGetMetadata());
+      if (!other.additionalLicenses_.isEmpty()) {
+        if (additionalLicenses_.isEmpty()) {
+          additionalLicenses_ = other.additionalLicenses_;
+          bitField0_ = (bitField0_ & ~0x00000010);
+        } else {
+          ensureAdditionalLicensesIsMutable();
+          additionalLicenses_.addAll(other.additionalLicenses_);
+        }
+        onChanged();
+      }
+      if (!other.getHostname().isEmpty()) {
+        hostname_ = other.hostname_;
+        onChanged();
+      }
       this.mergeUnknownFields(other.unknownFields);
       onChanged();
       return this;
@@ -1821,8 +1848,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails) e.getUnfinishedMessage();
+        parsedMessage = (com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -1831,25 +1857,22 @@ public Builder mergeFrom(
       }
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object vmName_ = "";
     /**
-     *
-     *
      * 
      * The name of the VM to create.
      * 
* * string vm_name = 1; - * * @return The vmName. */ public java.lang.String getVmName() { java.lang.Object ref = vmName_; 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(); vmName_ = s; return s; @@ -1858,21 +1881,20 @@ public java.lang.String getVmName() { } } /** - * - * *
      * The name of the VM to create.
      * 
* * string vm_name = 1; - * * @return The bytes for vmName. */ - public com.google.protobuf.ByteString getVmNameBytes() { + public com.google.protobuf.ByteString + getVmNameBytes() { java.lang.Object ref = vmName_; 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); vmName_ = b; return b; } else { @@ -1880,61 +1902,54 @@ public com.google.protobuf.ByteString getVmNameBytes() { } } /** - * - * *
      * The name of the VM to create.
      * 
* * string vm_name = 1; - * * @param value The vmName to set. * @return This builder for chaining. */ - public Builder setVmName(java.lang.String value) { + public Builder setVmName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + vmName_ = value; onChanged(); return this; } /** - * - * *
      * The name of the VM to create.
      * 
* * string vm_name = 1; - * * @return This builder for chaining. */ public Builder clearVmName() { - + vmName_ = getDefaultInstance().getVmName(); onChanged(); return this; } /** - * - * *
      * The name of the VM to create.
      * 
* * string vm_name = 1; - * * @param value The bytes for vmName to set. * @return This builder for chaining. */ - public Builder setVmNameBytes(com.google.protobuf.ByteString value) { + public Builder setVmNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + vmName_ = value; onChanged(); return this; @@ -1942,20 +1957,18 @@ public Builder setVmNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object project_ = ""; /** - * - * *
      * The GCP target project ID or project name.
      * 
* * string project = 2; - * * @return The project. */ public java.lang.String getProject() { java.lang.Object ref = project_; 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(); project_ = s; return s; @@ -1964,21 +1977,20 @@ public java.lang.String getProject() { } } /** - * - * *
      * The GCP target project ID or project name.
      * 
* * string project = 2; - * * @return The bytes for project. */ - public com.google.protobuf.ByteString getProjectBytes() { + public com.google.protobuf.ByteString + getProjectBytes() { java.lang.Object ref = project_; 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); project_ = b; return b; } else { @@ -1986,61 +1998,54 @@ public com.google.protobuf.ByteString getProjectBytes() { } } /** - * - * *
      * The GCP target project ID or project name.
      * 
* * string project = 2; - * * @param value The project to set. * @return This builder for chaining. */ - public Builder setProject(java.lang.String value) { + public Builder setProject( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + project_ = value; onChanged(); return this; } /** - * - * *
      * The GCP target project ID or project name.
      * 
* * string project = 2; - * * @return This builder for chaining. */ public Builder clearProject() { - + project_ = getDefaultInstance().getProject(); onChanged(); return this; } /** - * - * *
      * The GCP target project ID or project name.
      * 
* * string project = 2; - * * @param value The bytes for project to set. * @return This builder for chaining. */ - public Builder setProjectBytes(com.google.protobuf.ByteString value) { + public Builder setProjectBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + project_ = value; onChanged(); return this; @@ -2048,20 +2053,18 @@ public Builder setProjectBytes(com.google.protobuf.ByteString value) { private java.lang.Object zone_ = ""; /** - * - * *
      * The zone in which to create the VM.
      * 
* * string zone = 3; - * * @return The zone. */ public java.lang.String getZone() { java.lang.Object ref = zone_; 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(); zone_ = s; return s; @@ -2070,21 +2073,20 @@ public java.lang.String getZone() { } } /** - * - * *
      * The zone in which to create the VM.
      * 
* * string zone = 3; - * * @return The bytes for zone. */ - public com.google.protobuf.ByteString getZoneBytes() { + public com.google.protobuf.ByteString + getZoneBytes() { java.lang.Object ref = zone_; 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); zone_ = b; return b; } else { @@ -2092,61 +2094,54 @@ public com.google.protobuf.ByteString getZoneBytes() { } } /** - * - * *
      * The zone in which to create the VM.
      * 
* * string zone = 3; - * * @param value The zone to set. * @return This builder for chaining. */ - public Builder setZone(java.lang.String value) { + public Builder setZone( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + zone_ = value; onChanged(); return this; } /** - * - * *
      * The zone in which to create the VM.
      * 
* * string zone = 3; - * * @return This builder for chaining. */ public Builder clearZone() { - + zone_ = getDefaultInstance().getZone(); onChanged(); return this; } /** - * - * *
      * The zone in which to create the VM.
      * 
* * string zone = 3; - * * @param value The bytes for zone to set. * @return This builder for chaining. */ - public Builder setZoneBytes(com.google.protobuf.ByteString value) { + public Builder setZoneBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + zone_ = value; onChanged(); return this; @@ -2154,20 +2149,18 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { private java.lang.Object machineTypeSeries_ = ""; /** - * - * *
      * The machine type series to create the VM with.
      * 
* * string machine_type_series = 4; - * * @return The machineTypeSeries. */ public java.lang.String getMachineTypeSeries() { java.lang.Object ref = machineTypeSeries_; 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(); machineTypeSeries_ = s; return s; @@ -2176,21 +2169,20 @@ public java.lang.String getMachineTypeSeries() { } } /** - * - * *
      * The machine type series to create the VM with.
      * 
* * string machine_type_series = 4; - * * @return The bytes for machineTypeSeries. */ - public com.google.protobuf.ByteString getMachineTypeSeriesBytes() { + public com.google.protobuf.ByteString + getMachineTypeSeriesBytes() { java.lang.Object ref = machineTypeSeries_; 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); machineTypeSeries_ = b; return b; } else { @@ -2198,61 +2190,54 @@ public com.google.protobuf.ByteString getMachineTypeSeriesBytes() { } } /** - * - * *
      * The machine type series to create the VM with.
      * 
* * string machine_type_series = 4; - * * @param value The machineTypeSeries to set. * @return This builder for chaining. */ - public Builder setMachineTypeSeries(java.lang.String value) { + public Builder setMachineTypeSeries( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + machineTypeSeries_ = value; onChanged(); return this; } /** - * - * *
      * The machine type series to create the VM with.
      * 
* * string machine_type_series = 4; - * * @return This builder for chaining. */ public Builder clearMachineTypeSeries() { - + machineTypeSeries_ = getDefaultInstance().getMachineTypeSeries(); onChanged(); return this; } /** - * - * *
      * The machine type series to create the VM with.
      * 
* * string machine_type_series = 4; - * * @param value The bytes for machineTypeSeries to set. * @return This builder for chaining. */ - public Builder setMachineTypeSeriesBytes(com.google.protobuf.ByteString value) { + public Builder setMachineTypeSeriesBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + machineTypeSeries_ = value; onChanged(); return this; @@ -2260,20 +2245,18 @@ public Builder setMachineTypeSeriesBytes(com.google.protobuf.ByteString value) { private java.lang.Object machineType_ = ""; /** - * - * *
      * The machine type to create the VM with.
      * 
* * string machine_type = 5; - * * @return The machineType. */ public java.lang.String getMachineType() { java.lang.Object ref = machineType_; 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(); machineType_ = s; return s; @@ -2282,21 +2265,20 @@ public java.lang.String getMachineType() { } } /** - * - * *
      * The machine type to create the VM with.
      * 
* * string machine_type = 5; - * * @return The bytes for machineType. */ - public com.google.protobuf.ByteString getMachineTypeBytes() { + public com.google.protobuf.ByteString + getMachineTypeBytes() { java.lang.Object ref = machineType_; 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); machineType_ = b; return b; } else { @@ -2304,112 +2286,95 @@ public com.google.protobuf.ByteString getMachineTypeBytes() { } } /** - * - * *
      * The machine type to create the VM with.
      * 
* * string machine_type = 5; - * * @param value The machineType to set. * @return This builder for chaining. */ - public Builder setMachineType(java.lang.String value) { + public Builder setMachineType( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + machineType_ = value; onChanged(); return this; } /** - * - * *
      * The machine type to create the VM with.
      * 
* * string machine_type = 5; - * * @return This builder for chaining. */ public Builder clearMachineType() { - + machineType_ = getDefaultInstance().getMachineType(); onChanged(); return this; } /** - * - * *
      * The machine type to create the VM with.
      * 
* * string machine_type = 5; - * * @param value The bytes for machineType to set. * @return This builder for chaining. */ - public Builder setMachineTypeBytes(com.google.protobuf.ByteString value) { + public Builder setMachineTypeBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + machineType_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList networkTags_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList networkTags_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureNetworkTagsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { networkTags_ = new com.google.protobuf.LazyStringArrayList(networkTags_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
      * A map of network tags to associate with the VM.
      * 
* * repeated string network_tags = 6; - * * @return A list containing the networkTags. */ - public com.google.protobuf.ProtocolStringList getNetworkTagsList() { + public com.google.protobuf.ProtocolStringList + getNetworkTagsList() { return networkTags_.getUnmodifiableView(); } /** - * - * *
      * A map of network tags to associate with the VM.
      * 
* * repeated string network_tags = 6; - * * @return The count of networkTags. */ public int getNetworkTagsCount() { return networkTags_.size(); } /** - * - * *
      * A map of network tags to associate with the VM.
      * 
* * repeated string network_tags = 6; - * * @param index The index of the element to return. * @return The networkTags at the given index. */ @@ -2417,90 +2382,80 @@ public java.lang.String getNetworkTags(int index) { return networkTags_.get(index); } /** - * - * *
      * A map of network tags to associate with the VM.
      * 
* * repeated string network_tags = 6; - * * @param index The index of the value to return. * @return The bytes of the networkTags at the given index. */ - public com.google.protobuf.ByteString getNetworkTagsBytes(int index) { + public com.google.protobuf.ByteString + getNetworkTagsBytes(int index) { return networkTags_.getByteString(index); } /** - * - * *
      * A map of network tags to associate with the VM.
      * 
* * repeated string network_tags = 6; - * * @param index The index to set the value at. * @param value The networkTags to set. * @return This builder for chaining. */ - public Builder setNetworkTags(int index, java.lang.String value) { + public Builder setNetworkTags( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureNetworkTagsIsMutable(); + throw new NullPointerException(); + } + ensureNetworkTagsIsMutable(); networkTags_.set(index, value); onChanged(); return this; } /** - * - * *
      * A map of network tags to associate with the VM.
      * 
* * repeated string network_tags = 6; - * * @param value The networkTags to add. * @return This builder for chaining. */ - public Builder addNetworkTags(java.lang.String value) { + public Builder addNetworkTags( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureNetworkTagsIsMutable(); + throw new NullPointerException(); + } + ensureNetworkTagsIsMutable(); networkTags_.add(value); onChanged(); return this; } /** - * - * *
      * A map of network tags to associate with the VM.
      * 
* * repeated string network_tags = 6; - * * @param values The networkTags to add. * @return This builder for chaining. */ - public Builder addAllNetworkTags(java.lang.Iterable values) { + public Builder addAllNetworkTags( + java.lang.Iterable values) { ensureNetworkTagsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, networkTags_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, networkTags_); onChanged(); return this; } /** - * - * *
      * A map of network tags to associate with the VM.
      * 
* * repeated string network_tags = 6; - * * @return This builder for chaining. */ public Builder clearNetworkTags() { @@ -2510,22 +2465,20 @@ public Builder clearNetworkTags() { return this; } /** - * - * *
      * A map of network tags to associate with the VM.
      * 
* * repeated string network_tags = 6; - * * @param value The bytes of the networkTags to add. * @return This builder for chaining. */ - public Builder addNetworkTagsBytes(com.google.protobuf.ByteString value) { + public Builder addNetworkTagsBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureNetworkTagsIsMutable(); networkTags_.add(value); onChanged(); @@ -2533,34 +2486,25 @@ public Builder addNetworkTagsBytes(com.google.protobuf.ByteString value) { } private java.util.List networkInterfaces_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureNetworkInterfacesIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - networkInterfaces_ = - new java.util.ArrayList( - networkInterfaces_); + networkInterfaces_ = new java.util.ArrayList(networkInterfaces_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.vmmigration.v1.NetworkInterface, - com.google.cloud.vmmigration.v1.NetworkInterface.Builder, - com.google.cloud.vmmigration.v1.NetworkInterfaceOrBuilder> - networkInterfacesBuilder_; + com.google.cloud.vmmigration.v1.NetworkInterface, com.google.cloud.vmmigration.v1.NetworkInterface.Builder, com.google.cloud.vmmigration.v1.NetworkInterfaceOrBuilder> networkInterfacesBuilder_; /** - * - * *
      * List of NICs connected to this VM.
      * 
* * repeated .google.cloud.vmmigration.v1.NetworkInterface network_interfaces = 7; */ - public java.util.List - getNetworkInterfacesList() { + public java.util.List getNetworkInterfacesList() { if (networkInterfacesBuilder_ == null) { return java.util.Collections.unmodifiableList(networkInterfaces_); } else { @@ -2568,8 +2512,6 @@ private void ensureNetworkInterfacesIsMutable() { } } /** - * - * *
      * List of NICs connected to this VM.
      * 
@@ -2584,8 +2526,6 @@ public int getNetworkInterfacesCount() { } } /** - * - * *
      * List of NICs connected to this VM.
      * 
@@ -2600,8 +2540,6 @@ public com.google.cloud.vmmigration.v1.NetworkInterface getNetworkInterfaces(int } } /** - * - * *
      * List of NICs connected to this VM.
      * 
@@ -2623,8 +2561,6 @@ public Builder setNetworkInterfaces( return this; } /** - * - * *
      * List of NICs connected to this VM.
      * 
@@ -2643,8 +2579,6 @@ public Builder setNetworkInterfaces( return this; } /** - * - * *
      * List of NICs connected to this VM.
      * 
@@ -2665,8 +2599,6 @@ public Builder addNetworkInterfaces(com.google.cloud.vmmigration.v1.NetworkInter return this; } /** - * - * *
      * List of NICs connected to this VM.
      * 
@@ -2688,8 +2620,6 @@ public Builder addNetworkInterfaces( return this; } /** - * - * *
      * List of NICs connected to this VM.
      * 
@@ -2708,8 +2638,6 @@ public Builder addNetworkInterfaces( return this; } /** - * - * *
      * List of NICs connected to this VM.
      * 
@@ -2728,8 +2656,6 @@ public Builder addNetworkInterfaces( return this; } /** - * - * *
      * List of NICs connected to this VM.
      * 
@@ -2740,7 +2666,8 @@ public Builder addAllNetworkInterfaces( java.lang.Iterable values) { if (networkInterfacesBuilder_ == null) { ensureNetworkInterfacesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, networkInterfaces_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, networkInterfaces_); onChanged(); } else { networkInterfacesBuilder_.addAllMessages(values); @@ -2748,8 +2675,6 @@ public Builder addAllNetworkInterfaces( return this; } /** - * - * *
      * List of NICs connected to this VM.
      * 
@@ -2767,8 +2692,6 @@ public Builder clearNetworkInterfaces() { return this; } /** - * - * *
      * List of NICs connected to this VM.
      * 
@@ -2786,8 +2709,6 @@ public Builder removeNetworkInterfaces(int index) { return this; } /** - * - * *
      * List of NICs connected to this VM.
      * 
@@ -2799,8 +2720,6 @@ public com.google.cloud.vmmigration.v1.NetworkInterface.Builder getNetworkInterf return getNetworkInterfacesFieldBuilder().getBuilder(index); } /** - * - * *
      * List of NICs connected to this VM.
      * 
@@ -2810,22 +2729,19 @@ public com.google.cloud.vmmigration.v1.NetworkInterface.Builder getNetworkInterf public com.google.cloud.vmmigration.v1.NetworkInterfaceOrBuilder getNetworkInterfacesOrBuilder( int index) { if (networkInterfacesBuilder_ == null) { - return networkInterfaces_.get(index); - } else { + return networkInterfaces_.get(index); } else { return networkInterfacesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * List of NICs connected to this VM.
      * 
* * repeated .google.cloud.vmmigration.v1.NetworkInterface network_interfaces = 7; */ - public java.util.List - getNetworkInterfacesOrBuilderList() { + public java.util.List + getNetworkInterfacesOrBuilderList() { if (networkInterfacesBuilder_ != null) { return networkInterfacesBuilder_.getMessageOrBuilderList(); } else { @@ -2833,8 +2749,6 @@ public com.google.cloud.vmmigration.v1.NetworkInterfaceOrBuilder getNetworkInter } } /** - * - * *
      * List of NICs connected to this VM.
      * 
@@ -2842,12 +2756,10 @@ public com.google.cloud.vmmigration.v1.NetworkInterfaceOrBuilder getNetworkInter * repeated .google.cloud.vmmigration.v1.NetworkInterface network_interfaces = 7; */ public com.google.cloud.vmmigration.v1.NetworkInterface.Builder addNetworkInterfacesBuilder() { - return getNetworkInterfacesFieldBuilder() - .addBuilder(com.google.cloud.vmmigration.v1.NetworkInterface.getDefaultInstance()); + return getNetworkInterfacesFieldBuilder().addBuilder( + com.google.cloud.vmmigration.v1.NetworkInterface.getDefaultInstance()); } /** - * - * *
      * List of NICs connected to this VM.
      * 
@@ -2856,34 +2768,26 @@ public com.google.cloud.vmmigration.v1.NetworkInterface.Builder addNetworkInterf */ public com.google.cloud.vmmigration.v1.NetworkInterface.Builder addNetworkInterfacesBuilder( int index) { - return getNetworkInterfacesFieldBuilder() - .addBuilder(index, com.google.cloud.vmmigration.v1.NetworkInterface.getDefaultInstance()); + return getNetworkInterfacesFieldBuilder().addBuilder( + index, com.google.cloud.vmmigration.v1.NetworkInterface.getDefaultInstance()); } /** - * - * *
      * List of NICs connected to this VM.
      * 
* * repeated .google.cloud.vmmigration.v1.NetworkInterface network_interfaces = 7; */ - public java.util.List - getNetworkInterfacesBuilderList() { + public java.util.List + getNetworkInterfacesBuilderList() { return getNetworkInterfacesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.vmmigration.v1.NetworkInterface, - com.google.cloud.vmmigration.v1.NetworkInterface.Builder, - com.google.cloud.vmmigration.v1.NetworkInterfaceOrBuilder> + com.google.cloud.vmmigration.v1.NetworkInterface, com.google.cloud.vmmigration.v1.NetworkInterface.Builder, com.google.cloud.vmmigration.v1.NetworkInterfaceOrBuilder> getNetworkInterfacesFieldBuilder() { if (networkInterfacesBuilder_ == null) { - networkInterfacesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.vmmigration.v1.NetworkInterface, - com.google.cloud.vmmigration.v1.NetworkInterface.Builder, - com.google.cloud.vmmigration.v1.NetworkInterfaceOrBuilder>( + networkInterfacesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.vmmigration.v1.NetworkInterface, com.google.cloud.vmmigration.v1.NetworkInterface.Builder, com.google.cloud.vmmigration.v1.NetworkInterfaceOrBuilder>( networkInterfaces_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), @@ -2895,20 +2799,18 @@ public com.google.cloud.vmmigration.v1.NetworkInterface.Builder addNetworkInterf private java.lang.Object serviceAccount_ = ""; /** - * - * *
      * The service account to associate the VM with.
      * 
* * string service_account = 8; - * * @return The serviceAccount. */ public java.lang.String getServiceAccount() { java.lang.Object ref = serviceAccount_; 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(); serviceAccount_ = s; return s; @@ -2917,21 +2819,20 @@ public java.lang.String getServiceAccount() { } } /** - * - * *
      * The service account to associate the VM with.
      * 
* * string service_account = 8; - * * @return The bytes for serviceAccount. */ - public com.google.protobuf.ByteString getServiceAccountBytes() { + public com.google.protobuf.ByteString + getServiceAccountBytes() { java.lang.Object ref = serviceAccount_; 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); serviceAccount_ = b; return b; } else { @@ -2939,61 +2840,54 @@ public com.google.protobuf.ByteString getServiceAccountBytes() { } } /** - * - * *
      * The service account to associate the VM with.
      * 
* * string service_account = 8; - * * @param value The serviceAccount to set. * @return This builder for chaining. */ - public Builder setServiceAccount(java.lang.String value) { + public Builder setServiceAccount( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + serviceAccount_ = value; onChanged(); return this; } /** - * - * *
      * The service account to associate the VM with.
      * 
* * string service_account = 8; - * * @return This builder for chaining. */ public Builder clearServiceAccount() { - + serviceAccount_ = getDefaultInstance().getServiceAccount(); onChanged(); return this; } /** - * - * *
      * The service account to associate the VM with.
      * 
* * string service_account = 8; - * * @param value The bytes for serviceAccount to set. * @return This builder for chaining. */ - public Builder setServiceAccountBytes(com.google.protobuf.ByteString value) { + public Builder setServiceAccountBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + serviceAccount_ = value; onChanged(); return this; @@ -3001,67 +2895,51 @@ public Builder setServiceAccountBytes(com.google.protobuf.ByteString value) { private int diskType_ = 0; /** - * - * *
      * The disk type to use in the VM.
      * 
* * .google.cloud.vmmigration.v1.ComputeEngineDiskType disk_type = 9; - * * @return The enum numeric value on the wire for diskType. */ - @java.lang.Override - public int getDiskTypeValue() { + @java.lang.Override public int getDiskTypeValue() { return diskType_; } /** - * - * *
      * The disk type to use in the VM.
      * 
* * .google.cloud.vmmigration.v1.ComputeEngineDiskType disk_type = 9; - * * @param value The enum numeric value on the wire for diskType to set. * @return This builder for chaining. */ public Builder setDiskTypeValue(int value) { - + diskType_ = value; onChanged(); return this; } /** - * - * *
      * The disk type to use in the VM.
      * 
* * .google.cloud.vmmigration.v1.ComputeEngineDiskType disk_type = 9; - * * @return The diskType. */ @java.lang.Override public com.google.cloud.vmmigration.v1.ComputeEngineDiskType getDiskType() { @SuppressWarnings("deprecation") - com.google.cloud.vmmigration.v1.ComputeEngineDiskType result = - com.google.cloud.vmmigration.v1.ComputeEngineDiskType.valueOf(diskType_); - return result == null - ? com.google.cloud.vmmigration.v1.ComputeEngineDiskType.UNRECOGNIZED - : result; + com.google.cloud.vmmigration.v1.ComputeEngineDiskType result = com.google.cloud.vmmigration.v1.ComputeEngineDiskType.valueOf(diskType_); + return result == null ? com.google.cloud.vmmigration.v1.ComputeEngineDiskType.UNRECOGNIZED : result; } /** - * - * *
      * The disk type to use in the VM.
      * 
* * .google.cloud.vmmigration.v1.ComputeEngineDiskType disk_type = 9; - * * @param value The diskType to set. * @return This builder for chaining. */ @@ -3069,44 +2947,42 @@ public Builder setDiskType(com.google.cloud.vmmigration.v1.ComputeEngineDiskType if (value == null) { throw new NullPointerException(); } - + diskType_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The disk type to use in the VM.
      * 
* * .google.cloud.vmmigration.v1.ComputeEngineDiskType disk_type = 9; - * * @return This builder for chaining. */ public Builder clearDiskType() { - + diskType_ = 0; onChanged(); return this; } - private com.google.protobuf.MapField labels_; - - private com.google.protobuf.MapField internalGetLabels() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> labels_; + private com.google.protobuf.MapField + internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + LabelsDefaultEntryHolder.defaultEntry); } return labels_; } - private com.google.protobuf.MapField - internalGetMutableLabels() { - onChanged(); - ; + internalGetMutableLabels() { + onChanged();; if (labels_ == null) { - labels_ = com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); + labels_ = com.google.protobuf.MapField.newMapField( + LabelsDefaultEntryHolder.defaultEntry); } if (!labels_.isMutable()) { labels_ = labels_.copy(); @@ -3118,30 +2994,28 @@ public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** - * - * *
      * A map of labels to associate with the VM.
      * 
* * map<string, string> labels = 10; */ + @java.lang.Override - public boolean containsLabels(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsLabels( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetLabels().getMap().containsKey(key); } - /** Use {@link #getLabelsMap()} instead. */ + /** + * Use {@link #getLabelsMap()} instead. + */ @java.lang.Override @java.lang.Deprecated public java.util.Map getLabels() { return getLabelsMap(); } /** - * - * *
      * A map of labels to associate with the VM.
      * 
@@ -3149,12 +3023,11 @@ public java.util.Map getLabels() { * map<string, string> labels = 10; */ @java.lang.Override + public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** - * - * *
      * A map of labels to associate with the VM.
      * 
@@ -3162,17 +3035,16 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 10; */ @java.lang.Override + public java.lang.String getLabelsOrDefault( - java.lang.String key, java.lang.String defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetLabels().getMap(); + java.lang.String key, + java.lang.String defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
      * A map of labels to associate with the VM.
      * 
@@ -3180,11 +3052,12 @@ public java.lang.String getLabelsOrDefault( * map<string, string> labels = 10; */ @java.lang.Override - public java.lang.String getLabelsOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetLabels().getMap(); + + public java.lang.String getLabelsOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -3192,127 +3065,114 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) { } public Builder clearLabels() { - internalGetMutableLabels().getMutableMap().clear(); + internalGetMutableLabels().getMutableMap() + .clear(); return this; } /** - * - * *
      * A map of labels to associate with the VM.
      * 
* * map<string, string> labels = 10; */ - public Builder removeLabels(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - internalGetMutableLabels().getMutableMap().remove(key); + + public Builder removeLabels( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + internalGetMutableLabels().getMutableMap() + .remove(key); return this; } - /** Use alternate mutation accessors instead. */ + /** + * Use alternate mutation accessors instead. + */ @java.lang.Deprecated - public java.util.Map getMutableLabels() { + public java.util.Map + getMutableLabels() { return internalGetMutableLabels().getMutableMap(); } /** - * - * *
      * A map of labels to associate with the VM.
      * 
* * map<string, string> labels = 10; */ - public Builder putLabels(java.lang.String key, java.lang.String value) { - if (key == null) { - throw new NullPointerException("map key"); - } + public Builder putLabels( + java.lang.String key, + java.lang.String value) { + if (key == null) { throw new NullPointerException("map key"); } if (value == null) { - throw new NullPointerException("map value"); - } + throw new NullPointerException("map value"); +} - internalGetMutableLabels().getMutableMap().put(key, value); + internalGetMutableLabels().getMutableMap() + .put(key, value); return this; } /** - * - * *
      * A map of labels to associate with the VM.
      * 
* * map<string, string> labels = 10; */ - public Builder putAllLabels(java.util.Map values) { - internalGetMutableLabels().getMutableMap().putAll(values); + + public Builder putAllLabels( + java.util.Map values) { + internalGetMutableLabels().getMutableMap() + .putAll(values); return this; } private int licenseType_ = 0; /** - * - * *
      * The license type to use in OS adaptation.
      * 
* * .google.cloud.vmmigration.v1.ComputeEngineLicenseType license_type = 11; - * * @return The enum numeric value on the wire for licenseType. */ - @java.lang.Override - public int getLicenseTypeValue() { + @java.lang.Override public int getLicenseTypeValue() { return licenseType_; } /** - * - * *
      * The license type to use in OS adaptation.
      * 
* * .google.cloud.vmmigration.v1.ComputeEngineLicenseType license_type = 11; - * * @param value The enum numeric value on the wire for licenseType to set. * @return This builder for chaining. */ public Builder setLicenseTypeValue(int value) { - + licenseType_ = value; onChanged(); return this; } /** - * - * *
      * The license type to use in OS adaptation.
      * 
* * .google.cloud.vmmigration.v1.ComputeEngineLicenseType license_type = 11; - * * @return The licenseType. */ @java.lang.Override public com.google.cloud.vmmigration.v1.ComputeEngineLicenseType getLicenseType() { @SuppressWarnings("deprecation") - com.google.cloud.vmmigration.v1.ComputeEngineLicenseType result = - com.google.cloud.vmmigration.v1.ComputeEngineLicenseType.valueOf(licenseType_); - return result == null - ? com.google.cloud.vmmigration.v1.ComputeEngineLicenseType.UNRECOGNIZED - : result; + com.google.cloud.vmmigration.v1.ComputeEngineLicenseType result = com.google.cloud.vmmigration.v1.ComputeEngineLicenseType.valueOf(licenseType_); + return result == null ? com.google.cloud.vmmigration.v1.ComputeEngineLicenseType.UNRECOGNIZED : result; } /** - * - * *
      * The license type to use in OS adaptation.
      * 
* * .google.cloud.vmmigration.v1.ComputeEngineLicenseType license_type = 11; - * * @param value The licenseType to set. * @return This builder for chaining. */ @@ -3320,24 +3180,21 @@ public Builder setLicenseType(com.google.cloud.vmmigration.v1.ComputeEngineLicen if (value == null) { throw new NullPointerException(); } - + licenseType_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The license type to use in OS adaptation.
      * 
* * .google.cloud.vmmigration.v1.ComputeEngineLicenseType license_type = 11; - * * @return This builder for chaining. */ public Builder clearLicenseType() { - + licenseType_ = 0; onChanged(); return this; @@ -3345,47 +3202,34 @@ public Builder clearLicenseType() { private com.google.cloud.vmmigration.v1.AppliedLicense appliedLicense_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.vmmigration.v1.AppliedLicense, - com.google.cloud.vmmigration.v1.AppliedLicense.Builder, - com.google.cloud.vmmigration.v1.AppliedLicenseOrBuilder> - appliedLicenseBuilder_; + com.google.cloud.vmmigration.v1.AppliedLicense, com.google.cloud.vmmigration.v1.AppliedLicense.Builder, com.google.cloud.vmmigration.v1.AppliedLicenseOrBuilder> appliedLicenseBuilder_; /** - * - * *
      * The OS license returned from the adaptation module report.
      * 
* * .google.cloud.vmmigration.v1.AppliedLicense applied_license = 12; - * * @return Whether the appliedLicense field is set. */ public boolean hasAppliedLicense() { return appliedLicenseBuilder_ != null || appliedLicense_ != null; } /** - * - * *
      * The OS license returned from the adaptation module report.
      * 
* * .google.cloud.vmmigration.v1.AppliedLicense applied_license = 12; - * * @return The appliedLicense. */ public com.google.cloud.vmmigration.v1.AppliedLicense getAppliedLicense() { if (appliedLicenseBuilder_ == null) { - return appliedLicense_ == null - ? com.google.cloud.vmmigration.v1.AppliedLicense.getDefaultInstance() - : appliedLicense_; + return appliedLicense_ == null ? com.google.cloud.vmmigration.v1.AppliedLicense.getDefaultInstance() : appliedLicense_; } else { return appliedLicenseBuilder_.getMessage(); } } /** - * - * *
      * The OS license returned from the adaptation module report.
      * 
@@ -3406,8 +3250,6 @@ public Builder setAppliedLicense(com.google.cloud.vmmigration.v1.AppliedLicense return this; } /** - * - * *
      * The OS license returned from the adaptation module report.
      * 
@@ -3426,8 +3268,6 @@ public Builder setAppliedLicense( return this; } /** - * - * *
      * The OS license returned from the adaptation module report.
      * 
@@ -3438,9 +3278,7 @@ public Builder mergeAppliedLicense(com.google.cloud.vmmigration.v1.AppliedLicens if (appliedLicenseBuilder_ == null) { if (appliedLicense_ != null) { appliedLicense_ = - com.google.cloud.vmmigration.v1.AppliedLicense.newBuilder(appliedLicense_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.vmmigration.v1.AppliedLicense.newBuilder(appliedLicense_).mergeFrom(value).buildPartial(); } else { appliedLicense_ = value; } @@ -3452,8 +3290,6 @@ public Builder mergeAppliedLicense(com.google.cloud.vmmigration.v1.AppliedLicens return this; } /** - * - * *
      * The OS license returned from the adaptation module report.
      * 
@@ -3472,8 +3308,6 @@ public Builder clearAppliedLicense() { return this; } /** - * - * *
      * The OS license returned from the adaptation module report.
      * 
@@ -3481,13 +3315,11 @@ public Builder clearAppliedLicense() { * .google.cloud.vmmigration.v1.AppliedLicense applied_license = 12; */ public com.google.cloud.vmmigration.v1.AppliedLicense.Builder getAppliedLicenseBuilder() { - + onChanged(); return getAppliedLicenseFieldBuilder().getBuilder(); } /** - * - * *
      * The OS license returned from the adaptation module report.
      * 
@@ -3498,14 +3330,11 @@ public com.google.cloud.vmmigration.v1.AppliedLicenseOrBuilder getAppliedLicense if (appliedLicenseBuilder_ != null) { return appliedLicenseBuilder_.getMessageOrBuilder(); } else { - return appliedLicense_ == null - ? com.google.cloud.vmmigration.v1.AppliedLicense.getDefaultInstance() - : appliedLicense_; + return appliedLicense_ == null ? + com.google.cloud.vmmigration.v1.AppliedLicense.getDefaultInstance() : appliedLicense_; } } /** - * - * *
      * The OS license returned from the adaptation module report.
      * 
@@ -3513,17 +3342,14 @@ public com.google.cloud.vmmigration.v1.AppliedLicenseOrBuilder getAppliedLicense * .google.cloud.vmmigration.v1.AppliedLicense applied_license = 12; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.vmmigration.v1.AppliedLicense, - com.google.cloud.vmmigration.v1.AppliedLicense.Builder, - com.google.cloud.vmmigration.v1.AppliedLicenseOrBuilder> + com.google.cloud.vmmigration.v1.AppliedLicense, com.google.cloud.vmmigration.v1.AppliedLicense.Builder, com.google.cloud.vmmigration.v1.AppliedLicenseOrBuilder> getAppliedLicenseFieldBuilder() { if (appliedLicenseBuilder_ == null) { - appliedLicenseBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.vmmigration.v1.AppliedLicense, - com.google.cloud.vmmigration.v1.AppliedLicense.Builder, - com.google.cloud.vmmigration.v1.AppliedLicenseOrBuilder>( - getAppliedLicense(), getParentForChildren(), isClean()); + appliedLicenseBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.vmmigration.v1.AppliedLicense, com.google.cloud.vmmigration.v1.AppliedLicense.Builder, com.google.cloud.vmmigration.v1.AppliedLicenseOrBuilder>( + getAppliedLicense(), + getParentForChildren(), + isClean()); appliedLicense_ = null; } return appliedLicenseBuilder_; @@ -3531,47 +3357,34 @@ public com.google.cloud.vmmigration.v1.AppliedLicenseOrBuilder getAppliedLicense private com.google.cloud.vmmigration.v1.ComputeScheduling computeScheduling_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.vmmigration.v1.ComputeScheduling, - com.google.cloud.vmmigration.v1.ComputeScheduling.Builder, - com.google.cloud.vmmigration.v1.ComputeSchedulingOrBuilder> - computeSchedulingBuilder_; + com.google.cloud.vmmigration.v1.ComputeScheduling, com.google.cloud.vmmigration.v1.ComputeScheduling.Builder, com.google.cloud.vmmigration.v1.ComputeSchedulingOrBuilder> computeSchedulingBuilder_; /** - * - * *
      * Compute instance scheduling information (if empty default is used).
      * 
* * .google.cloud.vmmigration.v1.ComputeScheduling compute_scheduling = 13; - * * @return Whether the computeScheduling field is set. */ public boolean hasComputeScheduling() { return computeSchedulingBuilder_ != null || computeScheduling_ != null; } /** - * - * *
      * Compute instance scheduling information (if empty default is used).
      * 
* * .google.cloud.vmmigration.v1.ComputeScheduling compute_scheduling = 13; - * * @return The computeScheduling. */ public com.google.cloud.vmmigration.v1.ComputeScheduling getComputeScheduling() { if (computeSchedulingBuilder_ == null) { - return computeScheduling_ == null - ? com.google.cloud.vmmigration.v1.ComputeScheduling.getDefaultInstance() - : computeScheduling_; + return computeScheduling_ == null ? com.google.cloud.vmmigration.v1.ComputeScheduling.getDefaultInstance() : computeScheduling_; } else { return computeSchedulingBuilder_.getMessage(); } } /** - * - * *
      * Compute instance scheduling information (if empty default is used).
      * 
@@ -3592,8 +3405,6 @@ public Builder setComputeScheduling(com.google.cloud.vmmigration.v1.ComputeSched return this; } /** - * - * *
      * Compute instance scheduling information (if empty default is used).
      * 
@@ -3612,8 +3423,6 @@ public Builder setComputeScheduling( return this; } /** - * - * *
      * Compute instance scheduling information (if empty default is used).
      * 
@@ -3624,9 +3433,7 @@ public Builder mergeComputeScheduling(com.google.cloud.vmmigration.v1.ComputeSch if (computeSchedulingBuilder_ == null) { if (computeScheduling_ != null) { computeScheduling_ = - com.google.cloud.vmmigration.v1.ComputeScheduling.newBuilder(computeScheduling_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.vmmigration.v1.ComputeScheduling.newBuilder(computeScheduling_).mergeFrom(value).buildPartial(); } else { computeScheduling_ = value; } @@ -3638,8 +3445,6 @@ public Builder mergeComputeScheduling(com.google.cloud.vmmigration.v1.ComputeSch return this; } /** - * - * *
      * Compute instance scheduling information (if empty default is used).
      * 
@@ -3658,8 +3463,6 @@ public Builder clearComputeScheduling() { return this; } /** - * - * *
      * Compute instance scheduling information (if empty default is used).
      * 
@@ -3667,32 +3470,26 @@ public Builder clearComputeScheduling() { * .google.cloud.vmmigration.v1.ComputeScheduling compute_scheduling = 13; */ public com.google.cloud.vmmigration.v1.ComputeScheduling.Builder getComputeSchedulingBuilder() { - + onChanged(); return getComputeSchedulingFieldBuilder().getBuilder(); } /** - * - * *
      * Compute instance scheduling information (if empty default is used).
      * 
* * .google.cloud.vmmigration.v1.ComputeScheduling compute_scheduling = 13; */ - public com.google.cloud.vmmigration.v1.ComputeSchedulingOrBuilder - getComputeSchedulingOrBuilder() { + public com.google.cloud.vmmigration.v1.ComputeSchedulingOrBuilder getComputeSchedulingOrBuilder() { if (computeSchedulingBuilder_ != null) { return computeSchedulingBuilder_.getMessageOrBuilder(); } else { - return computeScheduling_ == null - ? com.google.cloud.vmmigration.v1.ComputeScheduling.getDefaultInstance() - : computeScheduling_; + return computeScheduling_ == null ? + com.google.cloud.vmmigration.v1.ComputeScheduling.getDefaultInstance() : computeScheduling_; } } /** - * - * *
      * Compute instance scheduling information (if empty default is used).
      * 
@@ -3700,33 +3497,27 @@ public com.google.cloud.vmmigration.v1.ComputeScheduling.Builder getComputeSched * .google.cloud.vmmigration.v1.ComputeScheduling compute_scheduling = 13; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.vmmigration.v1.ComputeScheduling, - com.google.cloud.vmmigration.v1.ComputeScheduling.Builder, - com.google.cloud.vmmigration.v1.ComputeSchedulingOrBuilder> + com.google.cloud.vmmigration.v1.ComputeScheduling, com.google.cloud.vmmigration.v1.ComputeScheduling.Builder, com.google.cloud.vmmigration.v1.ComputeSchedulingOrBuilder> getComputeSchedulingFieldBuilder() { if (computeSchedulingBuilder_ == null) { - computeSchedulingBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.vmmigration.v1.ComputeScheduling, - com.google.cloud.vmmigration.v1.ComputeScheduling.Builder, - com.google.cloud.vmmigration.v1.ComputeSchedulingOrBuilder>( - getComputeScheduling(), getParentForChildren(), isClean()); + computeSchedulingBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.vmmigration.v1.ComputeScheduling, com.google.cloud.vmmigration.v1.ComputeScheduling.Builder, com.google.cloud.vmmigration.v1.ComputeSchedulingOrBuilder>( + getComputeScheduling(), + getParentForChildren(), + isClean()); computeScheduling_ = null; } return computeSchedulingBuilder_; } - private boolean secureBoot_; + private boolean secureBoot_ ; /** - * - * *
      * Defines whether the instance has Secure Boot enabled.
      * This can be set to true only if the vm boot option is EFI.
      * 
* * bool secure_boot = 14; - * * @return The secureBoot. */ @java.lang.Override @@ -3734,38 +3525,32 @@ public boolean getSecureBoot() { return secureBoot_; } /** - * - * *
      * Defines whether the instance has Secure Boot enabled.
      * This can be set to true only if the vm boot option is EFI.
      * 
* * bool secure_boot = 14; - * * @param value The secureBoot to set. * @return This builder for chaining. */ public Builder setSecureBoot(boolean value) { - + secureBoot_ = value; onChanged(); return this; } /** - * - * *
      * Defines whether the instance has Secure Boot enabled.
      * This can be set to true only if the vm boot option is EFI.
      * 
* * bool secure_boot = 14; - * * @return This builder for chaining. */ public Builder clearSecureBoot() { - + secureBoot_ = false; onChanged(); return this; @@ -3773,67 +3558,51 @@ public Builder clearSecureBoot() { private int bootOption_ = 0; /** - * - * *
      * The VM Boot Option, as set in the source vm.
      * 
* * .google.cloud.vmmigration.v1.ComputeEngineBootOption boot_option = 15; - * * @return The enum numeric value on the wire for bootOption. */ - @java.lang.Override - public int getBootOptionValue() { + @java.lang.Override public int getBootOptionValue() { return bootOption_; } /** - * - * *
      * The VM Boot Option, as set in the source vm.
      * 
* * .google.cloud.vmmigration.v1.ComputeEngineBootOption boot_option = 15; - * * @param value The enum numeric value on the wire for bootOption to set. * @return This builder for chaining. */ public Builder setBootOptionValue(int value) { - + bootOption_ = value; onChanged(); return this; } /** - * - * *
      * The VM Boot Option, as set in the source vm.
      * 
* * .google.cloud.vmmigration.v1.ComputeEngineBootOption boot_option = 15; - * * @return The bootOption. */ @java.lang.Override public com.google.cloud.vmmigration.v1.ComputeEngineBootOption getBootOption() { @SuppressWarnings("deprecation") - com.google.cloud.vmmigration.v1.ComputeEngineBootOption result = - com.google.cloud.vmmigration.v1.ComputeEngineBootOption.valueOf(bootOption_); - return result == null - ? com.google.cloud.vmmigration.v1.ComputeEngineBootOption.UNRECOGNIZED - : result; + com.google.cloud.vmmigration.v1.ComputeEngineBootOption result = com.google.cloud.vmmigration.v1.ComputeEngineBootOption.valueOf(bootOption_); + return result == null ? com.google.cloud.vmmigration.v1.ComputeEngineBootOption.UNRECOGNIZED : result; } /** - * - * *
      * The VM Boot Option, as set in the source vm.
      * 
* * .google.cloud.vmmigration.v1.ComputeEngineBootOption boot_option = 15; - * * @param value The bootOption to set. * @return This builder for chaining. */ @@ -3841,45 +3610,42 @@ public Builder setBootOption(com.google.cloud.vmmigration.v1.ComputeEngineBootOp if (value == null) { throw new NullPointerException(); } - + bootOption_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The VM Boot Option, as set in the source vm.
      * 
* * .google.cloud.vmmigration.v1.ComputeEngineBootOption boot_option = 15; - * * @return This builder for chaining. */ public Builder clearBootOption() { - + bootOption_ = 0; onChanged(); return this; } - private com.google.protobuf.MapField metadata_; - - private com.google.protobuf.MapField internalGetMetadata() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> metadata_; + private com.google.protobuf.MapField + internalGetMetadata() { if (metadata_ == null) { - return com.google.protobuf.MapField.emptyMapField(MetadataDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + MetadataDefaultEntryHolder.defaultEntry); } return metadata_; } - private com.google.protobuf.MapField - internalGetMutableMetadata() { - onChanged(); - ; + internalGetMutableMetadata() { + onChanged();; if (metadata_ == null) { - metadata_ = - com.google.protobuf.MapField.newMapField(MetadataDefaultEntryHolder.defaultEntry); + metadata_ = com.google.protobuf.MapField.newMapField( + MetadataDefaultEntryHolder.defaultEntry); } if (!metadata_.isMutable()) { metadata_ = metadata_.copy(); @@ -3891,30 +3657,28 @@ public int getMetadataCount() { return internalGetMetadata().getMap().size(); } /** - * - * *
      * The metadata key/value pairs to assign to the VM.
      * 
* * map<string, string> metadata = 16; */ + @java.lang.Override - public boolean containsMetadata(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsMetadata( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetMetadata().getMap().containsKey(key); } - /** Use {@link #getMetadataMap()} instead. */ + /** + * Use {@link #getMetadataMap()} instead. + */ @java.lang.Override @java.lang.Deprecated public java.util.Map getMetadata() { return getMetadataMap(); } /** - * - * *
      * The metadata key/value pairs to assign to the VM.
      * 
@@ -3922,12 +3686,11 @@ public java.util.Map getMetadata() { * map<string, string> metadata = 16; */ @java.lang.Override + public java.util.Map getMetadataMap() { return internalGetMetadata().getMap(); } /** - * - * *
      * The metadata key/value pairs to assign to the VM.
      * 
@@ -3935,17 +3698,16 @@ public java.util.Map getMetadataMap() { * map<string, string> metadata = 16; */ @java.lang.Override + public java.lang.String getMetadataOrDefault( - java.lang.String key, java.lang.String defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetMetadata().getMap(); + java.lang.String key, + java.lang.String defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetMetadata().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
      * The metadata key/value pairs to assign to the VM.
      * 
@@ -3953,11 +3715,12 @@ public java.lang.String getMetadataOrDefault( * map<string, string> metadata = 16; */ @java.lang.Override - public java.lang.String getMetadataOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetMetadata().getMap(); + + public java.lang.String getMetadataOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetMetadata().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -3965,66 +3728,311 @@ public java.lang.String getMetadataOrThrow(java.lang.String key) { } public Builder clearMetadata() { - internalGetMutableMetadata().getMutableMap().clear(); + internalGetMutableMetadata().getMutableMap() + .clear(); return this; } /** - * - * *
      * The metadata key/value pairs to assign to the VM.
      * 
* * map<string, string> metadata = 16; */ - public Builder removeMetadata(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - internalGetMutableMetadata().getMutableMap().remove(key); + + public Builder removeMetadata( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + internalGetMutableMetadata().getMutableMap() + .remove(key); return this; } - /** Use alternate mutation accessors instead. */ + /** + * Use alternate mutation accessors instead. + */ @java.lang.Deprecated - public java.util.Map getMutableMetadata() { + public java.util.Map + getMutableMetadata() { return internalGetMutableMetadata().getMutableMap(); } /** - * - * *
      * The metadata key/value pairs to assign to the VM.
      * 
* * map<string, string> metadata = 16; */ - public Builder putMetadata(java.lang.String key, java.lang.String value) { - if (key == null) { - throw new NullPointerException("map key"); - } + public Builder putMetadata( + java.lang.String key, + java.lang.String value) { + if (key == null) { throw new NullPointerException("map key"); } if (value == null) { - throw new NullPointerException("map value"); - } + throw new NullPointerException("map value"); +} - internalGetMutableMetadata().getMutableMap().put(key, value); + internalGetMutableMetadata().getMutableMap() + .put(key, value); return this; } /** - * - * *
      * The metadata key/value pairs to assign to the VM.
      * 
* * map<string, string> metadata = 16; */ - public Builder putAllMetadata(java.util.Map values) { - internalGetMutableMetadata().getMutableMap().putAll(values); + + public Builder putAllMetadata( + java.util.Map values) { + internalGetMutableMetadata().getMutableMap() + .putAll(values); return this; } + private com.google.protobuf.LazyStringList additionalLicenses_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureAdditionalLicensesIsMutable() { + if (!((bitField0_ & 0x00000010) != 0)) { + additionalLicenses_ = new com.google.protobuf.LazyStringArrayList(additionalLicenses_); + bitField0_ |= 0x00000010; + } + } + /** + *
+     * Additional licenses to assign to the VM.
+     * 
+ * + * repeated string additional_licenses = 17; + * @return A list containing the additionalLicenses. + */ + public com.google.protobuf.ProtocolStringList + getAdditionalLicensesList() { + return additionalLicenses_.getUnmodifiableView(); + } + /** + *
+     * Additional licenses to assign to the VM.
+     * 
+ * + * repeated string additional_licenses = 17; + * @return The count of additionalLicenses. + */ + public int getAdditionalLicensesCount() { + return additionalLicenses_.size(); + } + /** + *
+     * Additional licenses to assign to the VM.
+     * 
+ * + * repeated string additional_licenses = 17; + * @param index The index of the element to return. + * @return The additionalLicenses at the given index. + */ + public java.lang.String getAdditionalLicenses(int index) { + return additionalLicenses_.get(index); + } + /** + *
+     * Additional licenses to assign to the VM.
+     * 
+ * + * repeated string additional_licenses = 17; + * @param index The index of the value to return. + * @return The bytes of the additionalLicenses at the given index. + */ + public com.google.protobuf.ByteString + getAdditionalLicensesBytes(int index) { + return additionalLicenses_.getByteString(index); + } + /** + *
+     * Additional licenses to assign to the VM.
+     * 
+ * + * repeated string additional_licenses = 17; + * @param index The index to set the value at. + * @param value The additionalLicenses to set. + * @return This builder for chaining. + */ + public Builder setAdditionalLicenses( + int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureAdditionalLicensesIsMutable(); + additionalLicenses_.set(index, value); + onChanged(); + return this; + } + /** + *
+     * Additional licenses to assign to the VM.
+     * 
+ * + * repeated string additional_licenses = 17; + * @param value The additionalLicenses to add. + * @return This builder for chaining. + */ + public Builder addAdditionalLicenses( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureAdditionalLicensesIsMutable(); + additionalLicenses_.add(value); + onChanged(); + return this; + } + /** + *
+     * Additional licenses to assign to the VM.
+     * 
+ * + * repeated string additional_licenses = 17; + * @param values The additionalLicenses to add. + * @return This builder for chaining. + */ + public Builder addAllAdditionalLicenses( + java.lang.Iterable values) { + ensureAdditionalLicensesIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, additionalLicenses_); + onChanged(); + return this; + } + /** + *
+     * Additional licenses to assign to the VM.
+     * 
+ * + * repeated string additional_licenses = 17; + * @return This builder for chaining. + */ + public Builder clearAdditionalLicenses() { + additionalLicenses_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000010); + onChanged(); + return this; + } + /** + *
+     * Additional licenses to assign to the VM.
+     * 
+ * + * repeated string additional_licenses = 17; + * @param value The bytes of the additionalLicenses to add. + * @return This builder for chaining. + */ + public Builder addAdditionalLicensesBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + ensureAdditionalLicensesIsMutable(); + additionalLicenses_.add(value); + onChanged(); + return this; + } + + private java.lang.Object hostname_ = ""; + /** + *
+     * The hostname to assign to the VM.
+     * 
+ * + * string hostname = 18; + * @return The hostname. + */ + public java.lang.String getHostname() { + java.lang.Object ref = hostname_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + hostname_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * The hostname to assign to the VM.
+     * 
+ * + * string hostname = 18; + * @return The bytes for hostname. + */ + public com.google.protobuf.ByteString + getHostnameBytes() { + java.lang.Object ref = hostname_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + hostname_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * The hostname to assign to the VM.
+     * 
+ * + * string hostname = 18; + * @param value The hostname to set. + * @return This builder for chaining. + */ + public Builder setHostname( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + hostname_ = value; + onChanged(); + return this; + } + /** + *
+     * The hostname to assign to the VM.
+     * 
+ * + * string hostname = 18; + * @return This builder for chaining. + */ + public Builder clearHostname() { + + hostname_ = getDefaultInstance().getHostname(); + onChanged(); + return this; + } + /** + *
+     * The hostname to assign to the VM.
+     * 
+ * + * string hostname = 18; + * @param value The bytes for hostname to set. + * @return This builder for chaining. + */ + public Builder setHostnameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + hostname_ = 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); } @@ -4034,12 +4042,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.vmmigration.v1.ComputeEngineTargetDetails) } // @@protoc_insertion_point(class_scope:google.cloud.vmmigration.v1.ComputeEngineTargetDetails) private static final com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails(); } @@ -4048,16 +4056,16 @@ public static com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ComputeEngineTargetDetails parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ComputeEngineTargetDetails(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ComputeEngineTargetDetails parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ComputeEngineTargetDetails(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4072,4 +4080,6 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ComputeEngineTargetDetailsOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ComputeEngineTargetDetailsOrBuilder.java similarity index 77% rename from proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ComputeEngineTargetDetailsOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ComputeEngineTargetDetailsOrBuilder.java index 7a9f0b5..6b2c848 100644 --- a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ComputeEngineTargetDetailsOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ComputeEngineTargetDetailsOrBuilder.java @@ -1,217 +1,163 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; -public interface ComputeEngineTargetDetailsOrBuilder - extends +public interface ComputeEngineTargetDetailsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.ComputeEngineTargetDetails) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The name of the VM to create.
    * 
* * string vm_name = 1; - * * @return The vmName. */ java.lang.String getVmName(); /** - * - * *
    * The name of the VM to create.
    * 
* * string vm_name = 1; - * * @return The bytes for vmName. */ - com.google.protobuf.ByteString getVmNameBytes(); + com.google.protobuf.ByteString + getVmNameBytes(); /** - * - * *
    * The GCP target project ID or project name.
    * 
* * string project = 2; - * * @return The project. */ java.lang.String getProject(); /** - * - * *
    * The GCP target project ID or project name.
    * 
* * string project = 2; - * * @return The bytes for project. */ - com.google.protobuf.ByteString getProjectBytes(); + com.google.protobuf.ByteString + getProjectBytes(); /** - * - * *
    * The zone in which to create the VM.
    * 
* * string zone = 3; - * * @return The zone. */ java.lang.String getZone(); /** - * - * *
    * The zone in which to create the VM.
    * 
* * string zone = 3; - * * @return The bytes for zone. */ - com.google.protobuf.ByteString getZoneBytes(); + com.google.protobuf.ByteString + getZoneBytes(); /** - * - * *
    * The machine type series to create the VM with.
    * 
* * string machine_type_series = 4; - * * @return The machineTypeSeries. */ java.lang.String getMachineTypeSeries(); /** - * - * *
    * The machine type series to create the VM with.
    * 
* * string machine_type_series = 4; - * * @return The bytes for machineTypeSeries. */ - com.google.protobuf.ByteString getMachineTypeSeriesBytes(); + com.google.protobuf.ByteString + getMachineTypeSeriesBytes(); /** - * - * *
    * The machine type to create the VM with.
    * 
* * string machine_type = 5; - * * @return The machineType. */ java.lang.String getMachineType(); /** - * - * *
    * The machine type to create the VM with.
    * 
* * string machine_type = 5; - * * @return The bytes for machineType. */ - com.google.protobuf.ByteString getMachineTypeBytes(); + com.google.protobuf.ByteString + getMachineTypeBytes(); /** - * - * *
    * A map of network tags to associate with the VM.
    * 
* * repeated string network_tags = 6; - * * @return A list containing the networkTags. */ - java.util.List getNetworkTagsList(); + java.util.List + getNetworkTagsList(); /** - * - * *
    * A map of network tags to associate with the VM.
    * 
* * repeated string network_tags = 6; - * * @return The count of networkTags. */ int getNetworkTagsCount(); /** - * - * *
    * A map of network tags to associate with the VM.
    * 
* * repeated string network_tags = 6; - * * @param index The index of the element to return. * @return The networkTags at the given index. */ java.lang.String getNetworkTags(int index); /** - * - * *
    * A map of network tags to associate with the VM.
    * 
* * repeated string network_tags = 6; - * * @param index The index of the value to return. * @return The bytes of the networkTags at the given index. */ - com.google.protobuf.ByteString getNetworkTagsBytes(int index); + com.google.protobuf.ByteString + getNetworkTagsBytes(int index); /** - * - * *
    * List of NICs connected to this VM.
    * 
* * repeated .google.cloud.vmmigration.v1.NetworkInterface network_interfaces = 7; */ - java.util.List getNetworkInterfacesList(); + java.util.List + getNetworkInterfacesList(); /** - * - * *
    * List of NICs connected to this VM.
    * 
@@ -220,8 +166,6 @@ public interface ComputeEngineTargetDetailsOrBuilder */ com.google.cloud.vmmigration.v1.NetworkInterface getNetworkInterfaces(int index); /** - * - * *
    * List of NICs connected to this VM.
    * 
@@ -230,19 +174,15 @@ public interface ComputeEngineTargetDetailsOrBuilder */ int getNetworkInterfacesCount(); /** - * - * *
    * List of NICs connected to this VM.
    * 
* * repeated .google.cloud.vmmigration.v1.NetworkInterface network_interfaces = 7; */ - java.util.List + java.util.List getNetworkInterfacesOrBuilderList(); /** - * - * *
    * List of NICs connected to this VM.
    * 
@@ -253,58 +193,45 @@ com.google.cloud.vmmigration.v1.NetworkInterfaceOrBuilder getNetworkInterfacesOr int index); /** - * - * *
    * The service account to associate the VM with.
    * 
* * string service_account = 8; - * * @return The serviceAccount. */ java.lang.String getServiceAccount(); /** - * - * *
    * The service account to associate the VM with.
    * 
* * string service_account = 8; - * * @return The bytes for serviceAccount. */ - com.google.protobuf.ByteString getServiceAccountBytes(); + com.google.protobuf.ByteString + getServiceAccountBytes(); /** - * - * *
    * The disk type to use in the VM.
    * 
* * .google.cloud.vmmigration.v1.ComputeEngineDiskType disk_type = 9; - * * @return The enum numeric value on the wire for diskType. */ int getDiskTypeValue(); /** - * - * *
    * The disk type to use in the VM.
    * 
* * .google.cloud.vmmigration.v1.ComputeEngineDiskType disk_type = 9; - * * @return The diskType. */ com.google.cloud.vmmigration.v1.ComputeEngineDiskType getDiskType(); /** - * - * *
    * A map of labels to associate with the VM.
    * 
@@ -313,31 +240,30 @@ com.google.cloud.vmmigration.v1.NetworkInterfaceOrBuilder getNetworkInterfacesOr */ int getLabelsCount(); /** - * - * *
    * A map of labels to associate with the VM.
    * 
* * map<string, string> labels = 10; */ - boolean containsLabels(java.lang.String key); - /** Use {@link #getLabelsMap()} instead. */ + boolean containsLabels( + java.lang.String key); + /** + * Use {@link #getLabelsMap()} instead. + */ @java.lang.Deprecated - java.util.Map getLabels(); + java.util.Map + getLabels(); /** - * - * *
    * A map of labels to associate with the VM.
    * 
* * map<string, string> labels = 10; */ - java.util.Map getLabelsMap(); + java.util.Map + getLabelsMap(); /** - * - * *
    * A map of labels to associate with the VM.
    * 
@@ -346,73 +272,59 @@ com.google.cloud.vmmigration.v1.NetworkInterfaceOrBuilder getNetworkInterfacesOr */ /* nullable */ - java.lang.String getLabelsOrDefault( +java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ - java.lang.String defaultValue); +java.lang.String defaultValue); /** - * - * *
    * A map of labels to associate with the VM.
    * 
* * map<string, string> labels = 10; */ - java.lang.String getLabelsOrThrow(java.lang.String key); + + java.lang.String getLabelsOrThrow( + java.lang.String key); /** - * - * *
    * The license type to use in OS adaptation.
    * 
* * .google.cloud.vmmigration.v1.ComputeEngineLicenseType license_type = 11; - * * @return The enum numeric value on the wire for licenseType. */ int getLicenseTypeValue(); /** - * - * *
    * The license type to use in OS adaptation.
    * 
* * .google.cloud.vmmigration.v1.ComputeEngineLicenseType license_type = 11; - * * @return The licenseType. */ com.google.cloud.vmmigration.v1.ComputeEngineLicenseType getLicenseType(); /** - * - * *
    * The OS license returned from the adaptation module report.
    * 
* * .google.cloud.vmmigration.v1.AppliedLicense applied_license = 12; - * * @return Whether the appliedLicense field is set. */ boolean hasAppliedLicense(); /** - * - * *
    * The OS license returned from the adaptation module report.
    * 
* * .google.cloud.vmmigration.v1.AppliedLicense applied_license = 12; - * * @return The appliedLicense. */ com.google.cloud.vmmigration.v1.AppliedLicense getAppliedLicense(); /** - * - * *
    * The OS license returned from the adaptation module report.
    * 
@@ -422,32 +334,24 @@ java.lang.String getLabelsOrDefault( com.google.cloud.vmmigration.v1.AppliedLicenseOrBuilder getAppliedLicenseOrBuilder(); /** - * - * *
    * Compute instance scheduling information (if empty default is used).
    * 
* * .google.cloud.vmmigration.v1.ComputeScheduling compute_scheduling = 13; - * * @return Whether the computeScheduling field is set. */ boolean hasComputeScheduling(); /** - * - * *
    * Compute instance scheduling information (if empty default is used).
    * 
* * .google.cloud.vmmigration.v1.ComputeScheduling compute_scheduling = 13; - * * @return The computeScheduling. */ com.google.cloud.vmmigration.v1.ComputeScheduling getComputeScheduling(); /** - * - * *
    * Compute instance scheduling information (if empty default is used).
    * 
@@ -457,47 +361,36 @@ java.lang.String getLabelsOrDefault( com.google.cloud.vmmigration.v1.ComputeSchedulingOrBuilder getComputeSchedulingOrBuilder(); /** - * - * *
    * Defines whether the instance has Secure Boot enabled.
    * This can be set to true only if the vm boot option is EFI.
    * 
* * bool secure_boot = 14; - * * @return The secureBoot. */ boolean getSecureBoot(); /** - * - * *
    * The VM Boot Option, as set in the source vm.
    * 
* * .google.cloud.vmmigration.v1.ComputeEngineBootOption boot_option = 15; - * * @return The enum numeric value on the wire for bootOption. */ int getBootOptionValue(); /** - * - * *
    * The VM Boot Option, as set in the source vm.
    * 
* * .google.cloud.vmmigration.v1.ComputeEngineBootOption boot_option = 15; - * * @return The bootOption. */ com.google.cloud.vmmigration.v1.ComputeEngineBootOption getBootOption(); /** - * - * *
    * The metadata key/value pairs to assign to the VM.
    * 
@@ -506,31 +399,30 @@ java.lang.String getLabelsOrDefault( */ int getMetadataCount(); /** - * - * *
    * The metadata key/value pairs to assign to the VM.
    * 
* * map<string, string> metadata = 16; */ - boolean containsMetadata(java.lang.String key); - /** Use {@link #getMetadataMap()} instead. */ + boolean containsMetadata( + java.lang.String key); + /** + * Use {@link #getMetadataMap()} instead. + */ @java.lang.Deprecated - java.util.Map getMetadata(); + java.util.Map + getMetadata(); /** - * - * *
    * The metadata key/value pairs to assign to the VM.
    * 
* * map<string, string> metadata = 16; */ - java.util.Map getMetadataMap(); + java.util.Map + getMetadataMap(); /** - * - * *
    * The metadata key/value pairs to assign to the VM.
    * 
@@ -539,18 +431,79 @@ java.lang.String getLabelsOrDefault( */ /* nullable */ - java.lang.String getMetadataOrDefault( +java.lang.String getMetadataOrDefault( java.lang.String key, /* nullable */ - java.lang.String defaultValue); +java.lang.String defaultValue); /** - * - * *
    * The metadata key/value pairs to assign to the VM.
    * 
* * map<string, string> metadata = 16; */ - java.lang.String getMetadataOrThrow(java.lang.String key); + + java.lang.String getMetadataOrThrow( + java.lang.String key); + + /** + *
+   * Additional licenses to assign to the VM.
+   * 
+ * + * repeated string additional_licenses = 17; + * @return A list containing the additionalLicenses. + */ + java.util.List + getAdditionalLicensesList(); + /** + *
+   * Additional licenses to assign to the VM.
+   * 
+ * + * repeated string additional_licenses = 17; + * @return The count of additionalLicenses. + */ + int getAdditionalLicensesCount(); + /** + *
+   * Additional licenses to assign to the VM.
+   * 
+ * + * repeated string additional_licenses = 17; + * @param index The index of the element to return. + * @return The additionalLicenses at the given index. + */ + java.lang.String getAdditionalLicenses(int index); + /** + *
+   * Additional licenses to assign to the VM.
+   * 
+ * + * repeated string additional_licenses = 17; + * @param index The index of the value to return. + * @return The bytes of the additionalLicenses at the given index. + */ + com.google.protobuf.ByteString + getAdditionalLicensesBytes(int index); + + /** + *
+   * The hostname to assign to the VM.
+   * 
+ * + * string hostname = 18; + * @return The hostname. + */ + java.lang.String getHostname(); + /** + *
+   * The hostname to assign to the VM.
+   * 
+ * + * string hostname = 18; + * @return The bytes for hostname. + */ + com.google.protobuf.ByteString + getHostnameBytes(); } diff --git a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ComputeScheduling.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ComputeScheduling.java similarity index 73% rename from proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ComputeScheduling.java rename to owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ComputeScheduling.java index 54b6bf9..17f0bb9 100644 --- a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ComputeScheduling.java +++ b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ComputeScheduling.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; /** - * - * *
  * Scheduling information for VM on maintenance/restart behaviour and
  * node allocation in sole tenant nodes.
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.cloud.vmmigration.v1.ComputeScheduling}
  */
-public final class ComputeScheduling extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ComputeScheduling extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.vmmigration.v1.ComputeScheduling)
     ComputeSchedulingOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ComputeScheduling.newBuilder() to construct.
   private ComputeScheduling(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private ComputeScheduling() {
     onHostMaintenance_ = 0;
     restartType_ = 0;
@@ -46,15 +28,16 @@ private ComputeScheduling() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ComputeScheduling();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private ComputeScheduling(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -74,46 +57,39 @@ private ComputeScheduling(
           case 0:
             done = true;
             break;
-          case 8:
-            {
-              int rawValue = input.readEnum();
+          case 8: {
+            int rawValue = input.readEnum();
 
-              onHostMaintenance_ = rawValue;
-              break;
-            }
-          case 26:
-            {
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                nodeAffinities_ =
-                    new java.util.ArrayList<
-                        com.google.cloud.vmmigration.v1.SchedulingNodeAffinity>();
-                mutable_bitField0_ |= 0x00000001;
-              }
-              nodeAffinities_.add(
-                  input.readMessage(
-                      com.google.cloud.vmmigration.v1.SchedulingNodeAffinity.parser(),
-                      extensionRegistry));
-              break;
-            }
-          case 32:
-            {
-              minNodeCpus_ = input.readInt32();
-              break;
+            onHostMaintenance_ = rawValue;
+            break;
+          }
+          case 26: {
+            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+              nodeAffinities_ = new java.util.ArrayList();
+              mutable_bitField0_ |= 0x00000001;
             }
-          case 40:
-            {
-              int rawValue = input.readEnum();
+            nodeAffinities_.add(
+                input.readMessage(com.google.cloud.vmmigration.v1.SchedulingNodeAffinity.parser(), extensionRegistry));
+            break;
+          }
+          case 32: {
 
-              restartType_ = rawValue;
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            minNodeCpus_ = input.readInt32();
+            break;
+          }
+          case 40: {
+            int rawValue = input.readEnum();
+
+            restartType_ = rawValue;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -121,7 +97,8 @@ private ComputeScheduling(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       if (((mutable_bitField0_ & 0x00000001) != 0)) {
         nodeAffinities_ = java.util.Collections.unmodifiableList(nodeAffinities_);
@@ -130,27 +107,25 @@ private ComputeScheduling(
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.vmmigration.v1.VmMigrationProto
-        .internal_static_google_cloud_vmmigration_v1_ComputeScheduling_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ComputeScheduling_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.vmmigration.v1.VmMigrationProto
-        .internal_static_google_cloud_vmmigration_v1_ComputeScheduling_fieldAccessorTable
+    return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ComputeScheduling_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.vmmigration.v1.ComputeScheduling.class,
-            com.google.cloud.vmmigration.v1.ComputeScheduling.Builder.class);
+            com.google.cloud.vmmigration.v1.ComputeScheduling.class, com.google.cloud.vmmigration.v1.ComputeScheduling.Builder.class);
   }
 
-  /** Protobuf enum {@code google.cloud.vmmigration.v1.ComputeScheduling.OnHostMaintenance} */
-  public enum OnHostMaintenance implements com.google.protobuf.ProtocolMessageEnum {
+  /**
+   * Protobuf enum {@code google.cloud.vmmigration.v1.ComputeScheduling.OnHostMaintenance}
+   */
+  public enum OnHostMaintenance
+      implements com.google.protobuf.ProtocolMessageEnum {
     /**
-     *
-     *
      * 
      * An unknown, unexpected behavior.
      * 
@@ -159,8 +134,6 @@ public enum OnHostMaintenance implements com.google.protobuf.ProtocolMessageEnum */ ON_HOST_MAINTENANCE_UNSPECIFIED(0), /** - * - * *
      * Terminate the instance when the host machine undergoes maintenance.
      * 
@@ -169,8 +142,6 @@ public enum OnHostMaintenance implements com.google.protobuf.ProtocolMessageEnum */ TERMINATE(1), /** - * - * *
      * Migrate the instance when the host machine undergoes maintenance.
      * 
@@ -182,8 +153,6 @@ public enum OnHostMaintenance implements com.google.protobuf.ProtocolMessageEnum ; /** - * - * *
      * An unknown, unexpected behavior.
      * 
@@ -192,8 +161,6 @@ public enum OnHostMaintenance implements com.google.protobuf.ProtocolMessageEnum */ public static final int ON_HOST_MAINTENANCE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Terminate the instance when the host machine undergoes maintenance.
      * 
@@ -202,8 +169,6 @@ public enum OnHostMaintenance implements com.google.protobuf.ProtocolMessageEnum */ public static final int TERMINATE_VALUE = 1; /** - * - * *
      * Migrate the instance when the host machine undergoes maintenance.
      * 
@@ -212,6 +177,7 @@ public enum OnHostMaintenance implements com.google.protobuf.ProtocolMessageEnum */ public static final int MIGRATE_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -236,14 +202,10 @@ public static OnHostMaintenance valueOf(int value) { */ public static OnHostMaintenance forNumber(int value) { switch (value) { - case 0: - return ON_HOST_MAINTENANCE_UNSPECIFIED; - case 1: - return TERMINATE; - case 2: - return MIGRATE; - default: - return null; + case 0: return ON_HOST_MAINTENANCE_UNSPECIFIED; + case 1: return TERMINATE; + case 2: return MIGRATE; + default: return null; } } @@ -251,31 +213,29 @@ public static OnHostMaintenance forNumber(int value) { internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + OnHostMaintenance> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public OnHostMaintenance findValueByNumber(int number) { + return OnHostMaintenance.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap - internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public OnHostMaintenance findValueByNumber(int number) { - return OnHostMaintenance.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.vmmigration.v1.ComputeScheduling.getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.cloud.vmmigration.v1.ComputeScheduling.getDescriptor().getEnumTypes().get(0); } private static final OnHostMaintenance[] VALUES = values(); @@ -283,7 +243,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor public static OnHostMaintenance 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; @@ -301,8 +262,6 @@ private OnHostMaintenance(int value) { } /** - * - * *
    * Defines whether the Instance should be automatically restarted whenever
    * it is terminated by Compute Engine (not terminated by user).
@@ -310,10 +269,9 @@ private OnHostMaintenance(int value) {
    *
    * Protobuf enum {@code google.cloud.vmmigration.v1.ComputeScheduling.RestartType}
    */
-  public enum RestartType implements com.google.protobuf.ProtocolMessageEnum {
+  public enum RestartType
+      implements com.google.protobuf.ProtocolMessageEnum {
     /**
-     *
-     *
      * 
      * Unspecified behavior. This will use the default.
      * 
@@ -322,8 +280,6 @@ public enum RestartType implements com.google.protobuf.ProtocolMessageEnum { */ RESTART_TYPE_UNSPECIFIED(0), /** - * - * *
      * The Instance should be automatically restarted whenever it is
      * terminated by Compute Engine.
@@ -333,8 +289,6 @@ public enum RestartType implements com.google.protobuf.ProtocolMessageEnum {
      */
     AUTOMATIC_RESTART(1),
     /**
-     *
-     *
      * 
      * The Instance isn't automatically restarted whenever it is
      * terminated by Compute Engine.
@@ -347,8 +301,6 @@ public enum RestartType implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * Unspecified behavior. This will use the default.
      * 
@@ -357,8 +309,6 @@ public enum RestartType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int RESTART_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * The Instance should be automatically restarted whenever it is
      * terminated by Compute Engine.
@@ -368,8 +318,6 @@ public enum RestartType implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int AUTOMATIC_RESTART_VALUE = 1;
     /**
-     *
-     *
      * 
      * The Instance isn't automatically restarted whenever it is
      * terminated by Compute Engine.
@@ -379,6 +327,7 @@ public enum RestartType implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int NO_AUTOMATIC_RESTART_VALUE = 2;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -403,51 +352,49 @@ public static RestartType valueOf(int value) {
      */
     public static RestartType forNumber(int value) {
       switch (value) {
-        case 0:
-          return RESTART_TYPE_UNSPECIFIED;
-        case 1:
-          return AUTOMATIC_RESTART;
-        case 2:
-          return NO_AUTOMATIC_RESTART;
-        default:
-          return null;
+        case 0: return RESTART_TYPE_UNSPECIFIED;
+        case 1: return AUTOMATIC_RESTART;
+        case 2: return NO_AUTOMATIC_RESTART;
+        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<
+        RestartType> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public RestartType findValueByNumber(int number) {
+              return RestartType.forNumber(number);
+            }
+          };
 
-    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public RestartType findValueByNumber(int number) {
-            return RestartType.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.vmmigration.v1.ComputeScheduling.getDescriptor()
-          .getEnumTypes()
-          .get(1);
+    public static final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptor() {
+      return com.google.cloud.vmmigration.v1.ComputeScheduling.getDescriptor().getEnumTypes().get(1);
     }
 
     private static final RestartType[] VALUES = values();
 
-    public static RestartType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static RestartType 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;
@@ -467,52 +414,35 @@ private RestartType(int value) {
   public static final int ON_HOST_MAINTENANCE_FIELD_NUMBER = 1;
   private int onHostMaintenance_;
   /**
-   *
-   *
    * 
    * How the instance should behave when the host machine undergoes
    * maintenance that may temporarily impact instance performance.
    * 
* - * .google.cloud.vmmigration.v1.ComputeScheduling.OnHostMaintenance on_host_maintenance = 1; - * - * + * .google.cloud.vmmigration.v1.ComputeScheduling.OnHostMaintenance on_host_maintenance = 1; * @return The enum numeric value on the wire for onHostMaintenance. */ - @java.lang.Override - public int getOnHostMaintenanceValue() { + @java.lang.Override public int getOnHostMaintenanceValue() { return onHostMaintenance_; } /** - * - * *
    * How the instance should behave when the host machine undergoes
    * maintenance that may temporarily impact instance performance.
    * 
* - * .google.cloud.vmmigration.v1.ComputeScheduling.OnHostMaintenance on_host_maintenance = 1; - * - * + * .google.cloud.vmmigration.v1.ComputeScheduling.OnHostMaintenance on_host_maintenance = 1; * @return The onHostMaintenance. */ - @java.lang.Override - public com.google.cloud.vmmigration.v1.ComputeScheduling.OnHostMaintenance - getOnHostMaintenance() { + @java.lang.Override public com.google.cloud.vmmigration.v1.ComputeScheduling.OnHostMaintenance getOnHostMaintenance() { @SuppressWarnings("deprecation") - com.google.cloud.vmmigration.v1.ComputeScheduling.OnHostMaintenance result = - com.google.cloud.vmmigration.v1.ComputeScheduling.OnHostMaintenance.valueOf( - onHostMaintenance_); - return result == null - ? com.google.cloud.vmmigration.v1.ComputeScheduling.OnHostMaintenance.UNRECOGNIZED - : result; + com.google.cloud.vmmigration.v1.ComputeScheduling.OnHostMaintenance result = com.google.cloud.vmmigration.v1.ComputeScheduling.OnHostMaintenance.valueOf(onHostMaintenance_); + return result == null ? com.google.cloud.vmmigration.v1.ComputeScheduling.OnHostMaintenance.UNRECOGNIZED : result; } public static final int RESTART_TYPE_FIELD_NUMBER = 5; private int restartType_; /** - * - * *
    * Whether the Instance should be automatically restarted whenever it is
    * terminated by Compute Engine (not terminated by user).
@@ -523,16 +453,12 @@ public int getOnHostMaintenanceValue() {
    * 
* * .google.cloud.vmmigration.v1.ComputeScheduling.RestartType restart_type = 5; - * * @return The enum numeric value on the wire for restartType. */ - @java.lang.Override - public int getRestartTypeValue() { + @java.lang.Override public int getRestartTypeValue() { return restartType_; } /** - * - * *
    * Whether the Instance should be automatically restarted whenever it is
    * terminated by Compute Engine (not terminated by user).
@@ -543,24 +469,17 @@ public int getRestartTypeValue() {
    * 
* * .google.cloud.vmmigration.v1.ComputeScheduling.RestartType restart_type = 5; - * * @return The restartType. */ - @java.lang.Override - public com.google.cloud.vmmigration.v1.ComputeScheduling.RestartType getRestartType() { + @java.lang.Override public com.google.cloud.vmmigration.v1.ComputeScheduling.RestartType getRestartType() { @SuppressWarnings("deprecation") - com.google.cloud.vmmigration.v1.ComputeScheduling.RestartType result = - com.google.cloud.vmmigration.v1.ComputeScheduling.RestartType.valueOf(restartType_); - return result == null - ? com.google.cloud.vmmigration.v1.ComputeScheduling.RestartType.UNRECOGNIZED - : result; + com.google.cloud.vmmigration.v1.ComputeScheduling.RestartType result = com.google.cloud.vmmigration.v1.ComputeScheduling.RestartType.valueOf(restartType_); + return result == null ? com.google.cloud.vmmigration.v1.ComputeScheduling.RestartType.UNRECOGNIZED : result; } public static final int NODE_AFFINITIES_FIELD_NUMBER = 3; private java.util.List nodeAffinities_; /** - * - * *
    * A set of node affinity and anti-affinity configurations for sole tenant
    * nodes.
@@ -569,13 +488,10 @@ public com.google.cloud.vmmigration.v1.ComputeScheduling.RestartType getRestartT
    * repeated .google.cloud.vmmigration.v1.SchedulingNodeAffinity node_affinities = 3;
    */
   @java.lang.Override
-  public java.util.List
-      getNodeAffinitiesList() {
+  public java.util.List getNodeAffinitiesList() {
     return nodeAffinities_;
   }
   /**
-   *
-   *
    * 
    * A set of node affinity and anti-affinity configurations for sole tenant
    * nodes.
@@ -584,13 +500,11 @@ public com.google.cloud.vmmigration.v1.ComputeScheduling.RestartType getRestartT
    * repeated .google.cloud.vmmigration.v1.SchedulingNodeAffinity node_affinities = 3;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getNodeAffinitiesOrBuilderList() {
     return nodeAffinities_;
   }
   /**
-   *
-   *
    * 
    * A set of node affinity and anti-affinity configurations for sole tenant
    * nodes.
@@ -603,8 +517,6 @@ public int getNodeAffinitiesCount() {
     return nodeAffinities_.size();
   }
   /**
-   *
-   *
    * 
    * A set of node affinity and anti-affinity configurations for sole tenant
    * nodes.
@@ -617,8 +529,6 @@ public com.google.cloud.vmmigration.v1.SchedulingNodeAffinity getNodeAffinities(
     return nodeAffinities_.get(index);
   }
   /**
-   *
-   *
    * 
    * A set of node affinity and anti-affinity configurations for sole tenant
    * nodes.
@@ -635,8 +545,6 @@ public com.google.cloud.vmmigration.v1.SchedulingNodeAffinityOrBuilder getNodeAf
   public static final int MIN_NODE_CPUS_FIELD_NUMBER = 4;
   private int minNodeCpus_;
   /**
-   *
-   *
    * 
    * The minimum number of virtual CPUs this instance will consume when
    * running on a sole-tenant node. Ignored if no node_affinites are
@@ -644,7 +552,6 @@ public com.google.cloud.vmmigration.v1.SchedulingNodeAffinityOrBuilder getNodeAf
    * 
* * int32 min_node_cpus = 4; - * * @return The minNodeCpus. */ @java.lang.Override @@ -653,7 +560,6 @@ public int getMinNodeCpus() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -665,11 +571,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (onHostMaintenance_ - != com.google.cloud.vmmigration.v1.ComputeScheduling.OnHostMaintenance - .ON_HOST_MAINTENANCE_UNSPECIFIED - .getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (onHostMaintenance_ != com.google.cloud.vmmigration.v1.ComputeScheduling.OnHostMaintenance.ON_HOST_MAINTENANCE_UNSPECIFIED.getNumber()) { output.writeEnum(1, onHostMaintenance_); } for (int i = 0; i < nodeAffinities_.size(); i++) { @@ -678,9 +582,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (minNodeCpus_ != 0) { output.writeInt32(4, minNodeCpus_); } - if (restartType_ - != com.google.cloud.vmmigration.v1.ComputeScheduling.RestartType.RESTART_TYPE_UNSPECIFIED - .getNumber()) { + if (restartType_ != com.google.cloud.vmmigration.v1.ComputeScheduling.RestartType.RESTART_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(5, restartType_); } unknownFields.writeTo(output); @@ -692,22 +594,21 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (onHostMaintenance_ - != com.google.cloud.vmmigration.v1.ComputeScheduling.OnHostMaintenance - .ON_HOST_MAINTENANCE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, onHostMaintenance_); + if (onHostMaintenance_ != com.google.cloud.vmmigration.v1.ComputeScheduling.OnHostMaintenance.ON_HOST_MAINTENANCE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, onHostMaintenance_); } for (int i = 0; i < nodeAffinities_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, nodeAffinities_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, nodeAffinities_.get(i)); } if (minNodeCpus_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(4, minNodeCpus_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(4, minNodeCpus_); } - if (restartType_ - != com.google.cloud.vmmigration.v1.ComputeScheduling.RestartType.RESTART_TYPE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(5, restartType_); + if (restartType_ != com.google.cloud.vmmigration.v1.ComputeScheduling.RestartType.RESTART_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(5, restartType_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -717,18 +618,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.vmmigration.v1.ComputeScheduling)) { return super.equals(obj); } - com.google.cloud.vmmigration.v1.ComputeScheduling other = - (com.google.cloud.vmmigration.v1.ComputeScheduling) obj; + com.google.cloud.vmmigration.v1.ComputeScheduling other = (com.google.cloud.vmmigration.v1.ComputeScheduling) obj; if (onHostMaintenance_ != other.onHostMaintenance_) return false; if (restartType_ != other.restartType_) return false; - if (!getNodeAffinitiesList().equals(other.getNodeAffinitiesList())) return false; - if (getMinNodeCpus() != other.getMinNodeCpus()) return false; + if (!getNodeAffinitiesList() + .equals(other.getNodeAffinitiesList())) return false; + if (getMinNodeCpus() + != other.getMinNodeCpus()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -756,103 +658,96 @@ public int hashCode() { } public static com.google.cloud.vmmigration.v1.ComputeScheduling 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.vmmigration.v1.ComputeScheduling 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.vmmigration.v1.ComputeScheduling parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.vmmigration.v1.ComputeScheduling 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.vmmigration.v1.ComputeScheduling parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.vmmigration.v1.ComputeScheduling 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.vmmigration.v1.ComputeScheduling parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.vmmigration.v1.ComputeScheduling parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.vmmigration.v1.ComputeScheduling 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.vmmigration.v1.ComputeScheduling parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.vmmigration.v1.ComputeScheduling parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.vmmigration.v1.ComputeScheduling 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.vmmigration.v1.ComputeScheduling 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.vmmigration.v1.ComputeScheduling 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.vmmigration.v1.ComputeScheduling 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; } /** - * - * *
    * Scheduling information for VM on maintenance/restart behaviour and
    * node allocation in sole tenant nodes.
@@ -860,23 +755,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.vmmigration.v1.ComputeScheduling}
    */
-  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.vmmigration.v1.ComputeScheduling)
       com.google.cloud.vmmigration.v1.ComputeSchedulingOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.vmmigration.v1.VmMigrationProto
-          .internal_static_google_cloud_vmmigration_v1_ComputeScheduling_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ComputeScheduling_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.vmmigration.v1.VmMigrationProto
-          .internal_static_google_cloud_vmmigration_v1_ComputeScheduling_fieldAccessorTable
+      return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ComputeScheduling_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.vmmigration.v1.ComputeScheduling.class,
-              com.google.cloud.vmmigration.v1.ComputeScheduling.Builder.class);
+              com.google.cloud.vmmigration.v1.ComputeScheduling.class, com.google.cloud.vmmigration.v1.ComputeScheduling.Builder.class);
     }
 
     // Construct using com.google.cloud.vmmigration.v1.ComputeScheduling.newBuilder()
@@ -884,17 +777,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) {
         getNodeAffinitiesFieldBuilder();
       }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -914,9 +807,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.vmmigration.v1.VmMigrationProto
-          .internal_static_google_cloud_vmmigration_v1_ComputeScheduling_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ComputeScheduling_descriptor;
     }
 
     @java.lang.Override
@@ -935,8 +828,7 @@ public com.google.cloud.vmmigration.v1.ComputeScheduling build() {
 
     @java.lang.Override
     public com.google.cloud.vmmigration.v1.ComputeScheduling buildPartial() {
-      com.google.cloud.vmmigration.v1.ComputeScheduling result =
-          new com.google.cloud.vmmigration.v1.ComputeScheduling(this);
+      com.google.cloud.vmmigration.v1.ComputeScheduling result = new com.google.cloud.vmmigration.v1.ComputeScheduling(this);
       int from_bitField0_ = bitField0_;
       result.onHostMaintenance_ = onHostMaintenance_;
       result.restartType_ = restartType_;
@@ -958,39 +850,38 @@ public com.google.cloud.vmmigration.v1.ComputeScheduling buildPartial() {
     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.vmmigration.v1.ComputeScheduling) {
-        return mergeFrom((com.google.cloud.vmmigration.v1.ComputeScheduling) other);
+        return mergeFrom((com.google.cloud.vmmigration.v1.ComputeScheduling)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -998,8 +889,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.vmmigration.v1.ComputeScheduling other) {
-      if (other == com.google.cloud.vmmigration.v1.ComputeScheduling.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.vmmigration.v1.ComputeScheduling.getDefaultInstance()) return this;
       if (other.onHostMaintenance_ != 0) {
         setOnHostMaintenanceValue(other.getOnHostMaintenanceValue());
       }
@@ -1024,10 +914,9 @@ public Builder mergeFrom(com.google.cloud.vmmigration.v1.ComputeScheduling other
             nodeAffinitiesBuilder_ = null;
             nodeAffinities_ = other.nodeAffinities_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            nodeAffinitiesBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getNodeAffinitiesFieldBuilder()
-                    : null;
+            nodeAffinitiesBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getNodeAffinitiesFieldBuilder() : null;
           } else {
             nodeAffinitiesBuilder_.addAllMessages(other.nodeAffinities_);
           }
@@ -1055,8 +944,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.cloud.vmmigration.v1.ComputeScheduling) e.getUnfinishedMessage();
+        parsedMessage = (com.google.cloud.vmmigration.v1.ComputeScheduling) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -1065,115 +953,82 @@ public Builder mergeFrom(
       }
       return this;
     }
-
     private int bitField0_;
 
     private int onHostMaintenance_ = 0;
     /**
-     *
-     *
      * 
      * How the instance should behave when the host machine undergoes
      * maintenance that may temporarily impact instance performance.
      * 
* - * - * .google.cloud.vmmigration.v1.ComputeScheduling.OnHostMaintenance on_host_maintenance = 1; - * - * + * .google.cloud.vmmigration.v1.ComputeScheduling.OnHostMaintenance on_host_maintenance = 1; * @return The enum numeric value on the wire for onHostMaintenance. */ - @java.lang.Override - public int getOnHostMaintenanceValue() { + @java.lang.Override public int getOnHostMaintenanceValue() { return onHostMaintenance_; } /** - * - * *
      * How the instance should behave when the host machine undergoes
      * maintenance that may temporarily impact instance performance.
      * 
* - * - * .google.cloud.vmmigration.v1.ComputeScheduling.OnHostMaintenance on_host_maintenance = 1; - * - * + * .google.cloud.vmmigration.v1.ComputeScheduling.OnHostMaintenance on_host_maintenance = 1; * @param value The enum numeric value on the wire for onHostMaintenance to set. * @return This builder for chaining. */ public Builder setOnHostMaintenanceValue(int value) { - + onHostMaintenance_ = value; onChanged(); return this; } /** - * - * *
      * How the instance should behave when the host machine undergoes
      * maintenance that may temporarily impact instance performance.
      * 
* - * - * .google.cloud.vmmigration.v1.ComputeScheduling.OnHostMaintenance on_host_maintenance = 1; - * - * + * .google.cloud.vmmigration.v1.ComputeScheduling.OnHostMaintenance on_host_maintenance = 1; * @return The onHostMaintenance. */ @java.lang.Override - public com.google.cloud.vmmigration.v1.ComputeScheduling.OnHostMaintenance - getOnHostMaintenance() { + public com.google.cloud.vmmigration.v1.ComputeScheduling.OnHostMaintenance getOnHostMaintenance() { @SuppressWarnings("deprecation") - com.google.cloud.vmmigration.v1.ComputeScheduling.OnHostMaintenance result = - com.google.cloud.vmmigration.v1.ComputeScheduling.OnHostMaintenance.valueOf( - onHostMaintenance_); - return result == null - ? com.google.cloud.vmmigration.v1.ComputeScheduling.OnHostMaintenance.UNRECOGNIZED - : result; + com.google.cloud.vmmigration.v1.ComputeScheduling.OnHostMaintenance result = com.google.cloud.vmmigration.v1.ComputeScheduling.OnHostMaintenance.valueOf(onHostMaintenance_); + return result == null ? com.google.cloud.vmmigration.v1.ComputeScheduling.OnHostMaintenance.UNRECOGNIZED : result; } /** - * - * *
      * How the instance should behave when the host machine undergoes
      * maintenance that may temporarily impact instance performance.
      * 
* - * - * .google.cloud.vmmigration.v1.ComputeScheduling.OnHostMaintenance on_host_maintenance = 1; - * - * + * .google.cloud.vmmigration.v1.ComputeScheduling.OnHostMaintenance on_host_maintenance = 1; * @param value The onHostMaintenance to set. * @return This builder for chaining. */ - public Builder setOnHostMaintenance( - com.google.cloud.vmmigration.v1.ComputeScheduling.OnHostMaintenance value) { + public Builder setOnHostMaintenance(com.google.cloud.vmmigration.v1.ComputeScheduling.OnHostMaintenance value) { if (value == null) { throw new NullPointerException(); } - + onHostMaintenance_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * How the instance should behave when the host machine undergoes
      * maintenance that may temporarily impact instance performance.
      * 
* - * - * .google.cloud.vmmigration.v1.ComputeScheduling.OnHostMaintenance on_host_maintenance = 1; - * - * + * .google.cloud.vmmigration.v1.ComputeScheduling.OnHostMaintenance on_host_maintenance = 1; * @return This builder for chaining. */ public Builder clearOnHostMaintenance() { - + onHostMaintenance_ = 0; onChanged(); return this; @@ -1181,8 +1036,6 @@ public Builder clearOnHostMaintenance() { private int restartType_ = 0; /** - * - * *
      * Whether the Instance should be automatically restarted whenever it is
      * terminated by Compute Engine (not terminated by user).
@@ -1193,16 +1046,12 @@ public Builder clearOnHostMaintenance() {
      * 
* * .google.cloud.vmmigration.v1.ComputeScheduling.RestartType restart_type = 5; - * * @return The enum numeric value on the wire for restartType. */ - @java.lang.Override - public int getRestartTypeValue() { + @java.lang.Override public int getRestartTypeValue() { return restartType_; } /** - * - * *
      * Whether the Instance should be automatically restarted whenever it is
      * terminated by Compute Engine (not terminated by user).
@@ -1213,19 +1062,16 @@ public int getRestartTypeValue() {
      * 
* * .google.cloud.vmmigration.v1.ComputeScheduling.RestartType restart_type = 5; - * * @param value The enum numeric value on the wire for restartType to set. * @return This builder for chaining. */ public Builder setRestartTypeValue(int value) { - + restartType_ = value; onChanged(); return this; } /** - * - * *
      * Whether the Instance should be automatically restarted whenever it is
      * terminated by Compute Engine (not terminated by user).
@@ -1236,21 +1082,15 @@ public Builder setRestartTypeValue(int value) {
      * 
* * .google.cloud.vmmigration.v1.ComputeScheduling.RestartType restart_type = 5; - * * @return The restartType. */ @java.lang.Override public com.google.cloud.vmmigration.v1.ComputeScheduling.RestartType getRestartType() { @SuppressWarnings("deprecation") - com.google.cloud.vmmigration.v1.ComputeScheduling.RestartType result = - com.google.cloud.vmmigration.v1.ComputeScheduling.RestartType.valueOf(restartType_); - return result == null - ? com.google.cloud.vmmigration.v1.ComputeScheduling.RestartType.UNRECOGNIZED - : result; + com.google.cloud.vmmigration.v1.ComputeScheduling.RestartType result = com.google.cloud.vmmigration.v1.ComputeScheduling.RestartType.valueOf(restartType_); + return result == null ? com.google.cloud.vmmigration.v1.ComputeScheduling.RestartType.UNRECOGNIZED : result; } /** - * - * *
      * Whether the Instance should be automatically restarted whenever it is
      * terminated by Compute Engine (not terminated by user).
@@ -1261,23 +1101,19 @@ public com.google.cloud.vmmigration.v1.ComputeScheduling.RestartType getRestartT
      * 
* * .google.cloud.vmmigration.v1.ComputeScheduling.RestartType restart_type = 5; - * * @param value The restartType to set. * @return This builder for chaining. */ - public Builder setRestartType( - com.google.cloud.vmmigration.v1.ComputeScheduling.RestartType value) { + public Builder setRestartType(com.google.cloud.vmmigration.v1.ComputeScheduling.RestartType value) { if (value == null) { throw new NullPointerException(); } - + restartType_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Whether the Instance should be automatically restarted whenever it is
      * terminated by Compute Engine (not terminated by user).
@@ -1288,47 +1124,36 @@ public Builder setRestartType(
      * 
* * .google.cloud.vmmigration.v1.ComputeScheduling.RestartType restart_type = 5; - * * @return This builder for chaining. */ public Builder clearRestartType() { - + restartType_ = 0; onChanged(); return this; } private java.util.List nodeAffinities_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureNodeAffinitiesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - nodeAffinities_ = - new java.util.ArrayList( - nodeAffinities_); + nodeAffinities_ = new java.util.ArrayList(nodeAffinities_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.vmmigration.v1.SchedulingNodeAffinity, - com.google.cloud.vmmigration.v1.SchedulingNodeAffinity.Builder, - com.google.cloud.vmmigration.v1.SchedulingNodeAffinityOrBuilder> - nodeAffinitiesBuilder_; + com.google.cloud.vmmigration.v1.SchedulingNodeAffinity, com.google.cloud.vmmigration.v1.SchedulingNodeAffinity.Builder, com.google.cloud.vmmigration.v1.SchedulingNodeAffinityOrBuilder> nodeAffinitiesBuilder_; /** - * - * *
      * A set of node affinity and anti-affinity configurations for sole tenant
      * nodes.
      * 
* - * repeated .google.cloud.vmmigration.v1.SchedulingNodeAffinity node_affinities = 3; - * + * repeated .google.cloud.vmmigration.v1.SchedulingNodeAffinity node_affinities = 3; */ - public java.util.List - getNodeAffinitiesList() { + public java.util.List getNodeAffinitiesList() { if (nodeAffinitiesBuilder_ == null) { return java.util.Collections.unmodifiableList(nodeAffinities_); } else { @@ -1336,15 +1161,12 @@ private void ensureNodeAffinitiesIsMutable() { } } /** - * - * *
      * A set of node affinity and anti-affinity configurations for sole tenant
      * nodes.
      * 
* - * repeated .google.cloud.vmmigration.v1.SchedulingNodeAffinity node_affinities = 3; - * + * repeated .google.cloud.vmmigration.v1.SchedulingNodeAffinity node_affinities = 3; */ public int getNodeAffinitiesCount() { if (nodeAffinitiesBuilder_ == null) { @@ -1354,15 +1176,12 @@ public int getNodeAffinitiesCount() { } } /** - * - * *
      * A set of node affinity and anti-affinity configurations for sole tenant
      * nodes.
      * 
* - * repeated .google.cloud.vmmigration.v1.SchedulingNodeAffinity node_affinities = 3; - * + * repeated .google.cloud.vmmigration.v1.SchedulingNodeAffinity node_affinities = 3; */ public com.google.cloud.vmmigration.v1.SchedulingNodeAffinity getNodeAffinities(int index) { if (nodeAffinitiesBuilder_ == null) { @@ -1372,15 +1191,12 @@ public com.google.cloud.vmmigration.v1.SchedulingNodeAffinity getNodeAffinities( } } /** - * - * *
      * A set of node affinity and anti-affinity configurations for sole tenant
      * nodes.
      * 
* - * repeated .google.cloud.vmmigration.v1.SchedulingNodeAffinity node_affinities = 3; - * + * repeated .google.cloud.vmmigration.v1.SchedulingNodeAffinity node_affinities = 3; */ public Builder setNodeAffinities( int index, com.google.cloud.vmmigration.v1.SchedulingNodeAffinity value) { @@ -1397,15 +1213,12 @@ public Builder setNodeAffinities( return this; } /** - * - * *
      * A set of node affinity and anti-affinity configurations for sole tenant
      * nodes.
      * 
* - * repeated .google.cloud.vmmigration.v1.SchedulingNodeAffinity node_affinities = 3; - * + * repeated .google.cloud.vmmigration.v1.SchedulingNodeAffinity node_affinities = 3; */ public Builder setNodeAffinities( int index, com.google.cloud.vmmigration.v1.SchedulingNodeAffinity.Builder builderForValue) { @@ -1419,15 +1232,12 @@ public Builder setNodeAffinities( return this; } /** - * - * *
      * A set of node affinity and anti-affinity configurations for sole tenant
      * nodes.
      * 
* - * repeated .google.cloud.vmmigration.v1.SchedulingNodeAffinity node_affinities = 3; - * + * repeated .google.cloud.vmmigration.v1.SchedulingNodeAffinity node_affinities = 3; */ public Builder addNodeAffinities(com.google.cloud.vmmigration.v1.SchedulingNodeAffinity value) { if (nodeAffinitiesBuilder_ == null) { @@ -1443,15 +1253,12 @@ public Builder addNodeAffinities(com.google.cloud.vmmigration.v1.SchedulingNodeA return this; } /** - * - * *
      * A set of node affinity and anti-affinity configurations for sole tenant
      * nodes.
      * 
* - * repeated .google.cloud.vmmigration.v1.SchedulingNodeAffinity node_affinities = 3; - * + * repeated .google.cloud.vmmigration.v1.SchedulingNodeAffinity node_affinities = 3; */ public Builder addNodeAffinities( int index, com.google.cloud.vmmigration.v1.SchedulingNodeAffinity value) { @@ -1468,15 +1275,12 @@ public Builder addNodeAffinities( return this; } /** - * - * *
      * A set of node affinity and anti-affinity configurations for sole tenant
      * nodes.
      * 
* - * repeated .google.cloud.vmmigration.v1.SchedulingNodeAffinity node_affinities = 3; - * + * repeated .google.cloud.vmmigration.v1.SchedulingNodeAffinity node_affinities = 3; */ public Builder addNodeAffinities( com.google.cloud.vmmigration.v1.SchedulingNodeAffinity.Builder builderForValue) { @@ -1490,15 +1294,12 @@ public Builder addNodeAffinities( return this; } /** - * - * *
      * A set of node affinity and anti-affinity configurations for sole tenant
      * nodes.
      * 
* - * repeated .google.cloud.vmmigration.v1.SchedulingNodeAffinity node_affinities = 3; - * + * repeated .google.cloud.vmmigration.v1.SchedulingNodeAffinity node_affinities = 3; */ public Builder addNodeAffinities( int index, com.google.cloud.vmmigration.v1.SchedulingNodeAffinity.Builder builderForValue) { @@ -1512,22 +1313,19 @@ public Builder addNodeAffinities( return this; } /** - * - * *
      * A set of node affinity and anti-affinity configurations for sole tenant
      * nodes.
      * 
* - * repeated .google.cloud.vmmigration.v1.SchedulingNodeAffinity node_affinities = 3; - * + * repeated .google.cloud.vmmigration.v1.SchedulingNodeAffinity node_affinities = 3; */ public Builder addAllNodeAffinities( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (nodeAffinitiesBuilder_ == null) { ensureNodeAffinitiesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, nodeAffinities_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, nodeAffinities_); onChanged(); } else { nodeAffinitiesBuilder_.addAllMessages(values); @@ -1535,15 +1333,12 @@ public Builder addAllNodeAffinities( return this; } /** - * - * *
      * A set of node affinity and anti-affinity configurations for sole tenant
      * nodes.
      * 
* - * repeated .google.cloud.vmmigration.v1.SchedulingNodeAffinity node_affinities = 3; - * + * repeated .google.cloud.vmmigration.v1.SchedulingNodeAffinity node_affinities = 3; */ public Builder clearNodeAffinities() { if (nodeAffinitiesBuilder_ == null) { @@ -1556,15 +1351,12 @@ public Builder clearNodeAffinities() { return this; } /** - * - * *
      * A set of node affinity and anti-affinity configurations for sole tenant
      * nodes.
      * 
* - * repeated .google.cloud.vmmigration.v1.SchedulingNodeAffinity node_affinities = 3; - * + * repeated .google.cloud.vmmigration.v1.SchedulingNodeAffinity node_affinities = 3; */ public Builder removeNodeAffinities(int index) { if (nodeAffinitiesBuilder_ == null) { @@ -1577,52 +1369,42 @@ public Builder removeNodeAffinities(int index) { return this; } /** - * - * *
      * A set of node affinity and anti-affinity configurations for sole tenant
      * nodes.
      * 
* - * repeated .google.cloud.vmmigration.v1.SchedulingNodeAffinity node_affinities = 3; - * + * repeated .google.cloud.vmmigration.v1.SchedulingNodeAffinity node_affinities = 3; */ public com.google.cloud.vmmigration.v1.SchedulingNodeAffinity.Builder getNodeAffinitiesBuilder( int index) { return getNodeAffinitiesFieldBuilder().getBuilder(index); } /** - * - * *
      * A set of node affinity and anti-affinity configurations for sole tenant
      * nodes.
      * 
* - * repeated .google.cloud.vmmigration.v1.SchedulingNodeAffinity node_affinities = 3; - * + * repeated .google.cloud.vmmigration.v1.SchedulingNodeAffinity node_affinities = 3; */ - public com.google.cloud.vmmigration.v1.SchedulingNodeAffinityOrBuilder - getNodeAffinitiesOrBuilder(int index) { + public com.google.cloud.vmmigration.v1.SchedulingNodeAffinityOrBuilder getNodeAffinitiesOrBuilder( + int index) { if (nodeAffinitiesBuilder_ == null) { - return nodeAffinities_.get(index); - } else { + return nodeAffinities_.get(index); } else { return nodeAffinitiesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * A set of node affinity and anti-affinity configurations for sole tenant
      * nodes.
      * 
* - * repeated .google.cloud.vmmigration.v1.SchedulingNodeAffinity node_affinities = 3; - * + * repeated .google.cloud.vmmigration.v1.SchedulingNodeAffinity node_affinities = 3; */ - public java.util.List - getNodeAffinitiesOrBuilderList() { + public java.util.List + getNodeAffinitiesOrBuilderList() { if (nodeAffinitiesBuilder_ != null) { return nodeAffinitiesBuilder_.getMessageOrBuilderList(); } else { @@ -1630,65 +1412,48 @@ public com.google.cloud.vmmigration.v1.SchedulingNodeAffinity.Builder getNodeAff } } /** - * - * *
      * A set of node affinity and anti-affinity configurations for sole tenant
      * nodes.
      * 
* - * repeated .google.cloud.vmmigration.v1.SchedulingNodeAffinity node_affinities = 3; - * + * repeated .google.cloud.vmmigration.v1.SchedulingNodeAffinity node_affinities = 3; */ - public com.google.cloud.vmmigration.v1.SchedulingNodeAffinity.Builder - addNodeAffinitiesBuilder() { - return getNodeAffinitiesFieldBuilder() - .addBuilder(com.google.cloud.vmmigration.v1.SchedulingNodeAffinity.getDefaultInstance()); + public com.google.cloud.vmmigration.v1.SchedulingNodeAffinity.Builder addNodeAffinitiesBuilder() { + return getNodeAffinitiesFieldBuilder().addBuilder( + com.google.cloud.vmmigration.v1.SchedulingNodeAffinity.getDefaultInstance()); } /** - * - * *
      * A set of node affinity and anti-affinity configurations for sole tenant
      * nodes.
      * 
* - * repeated .google.cloud.vmmigration.v1.SchedulingNodeAffinity node_affinities = 3; - * + * repeated .google.cloud.vmmigration.v1.SchedulingNodeAffinity node_affinities = 3; */ public com.google.cloud.vmmigration.v1.SchedulingNodeAffinity.Builder addNodeAffinitiesBuilder( int index) { - return getNodeAffinitiesFieldBuilder() - .addBuilder( - index, com.google.cloud.vmmigration.v1.SchedulingNodeAffinity.getDefaultInstance()); + return getNodeAffinitiesFieldBuilder().addBuilder( + index, com.google.cloud.vmmigration.v1.SchedulingNodeAffinity.getDefaultInstance()); } /** - * - * *
      * A set of node affinity and anti-affinity configurations for sole tenant
      * nodes.
      * 
* - * repeated .google.cloud.vmmigration.v1.SchedulingNodeAffinity node_affinities = 3; - * + * repeated .google.cloud.vmmigration.v1.SchedulingNodeAffinity node_affinities = 3; */ - public java.util.List - getNodeAffinitiesBuilderList() { + public java.util.List + getNodeAffinitiesBuilderList() { return getNodeAffinitiesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.vmmigration.v1.SchedulingNodeAffinity, - com.google.cloud.vmmigration.v1.SchedulingNodeAffinity.Builder, - com.google.cloud.vmmigration.v1.SchedulingNodeAffinityOrBuilder> + com.google.cloud.vmmigration.v1.SchedulingNodeAffinity, com.google.cloud.vmmigration.v1.SchedulingNodeAffinity.Builder, com.google.cloud.vmmigration.v1.SchedulingNodeAffinityOrBuilder> getNodeAffinitiesFieldBuilder() { if (nodeAffinitiesBuilder_ == null) { - nodeAffinitiesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.vmmigration.v1.SchedulingNodeAffinity, - com.google.cloud.vmmigration.v1.SchedulingNodeAffinity.Builder, - com.google.cloud.vmmigration.v1.SchedulingNodeAffinityOrBuilder>( + nodeAffinitiesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.vmmigration.v1.SchedulingNodeAffinity, com.google.cloud.vmmigration.v1.SchedulingNodeAffinity.Builder, com.google.cloud.vmmigration.v1.SchedulingNodeAffinityOrBuilder>( nodeAffinities_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -1698,10 +1463,8 @@ public com.google.cloud.vmmigration.v1.SchedulingNodeAffinity.Builder addNodeAff return nodeAffinitiesBuilder_; } - private int minNodeCpus_; + private int minNodeCpus_ ; /** - * - * *
      * The minimum number of virtual CPUs this instance will consume when
      * running on a sole-tenant node. Ignored if no node_affinites are
@@ -1709,7 +1472,6 @@ public com.google.cloud.vmmigration.v1.SchedulingNodeAffinity.Builder addNodeAff
      * 
* * int32 min_node_cpus = 4; - * * @return The minNodeCpus. */ @java.lang.Override @@ -1717,8 +1479,6 @@ public int getMinNodeCpus() { return minNodeCpus_; } /** - * - * *
      * The minimum number of virtual CPUs this instance will consume when
      * running on a sole-tenant node. Ignored if no node_affinites are
@@ -1726,19 +1486,16 @@ public int getMinNodeCpus() {
      * 
* * int32 min_node_cpus = 4; - * * @param value The minNodeCpus to set. * @return This builder for chaining. */ public Builder setMinNodeCpus(int value) { - + minNodeCpus_ = value; onChanged(); return this; } /** - * - * *
      * The minimum number of virtual CPUs this instance will consume when
      * running on a sole-tenant node. Ignored if no node_affinites are
@@ -1746,18 +1503,17 @@ public Builder setMinNodeCpus(int value) {
      * 
* * int32 min_node_cpus = 4; - * * @return This builder for chaining. */ public Builder clearMinNodeCpus() { - + minNodeCpus_ = 0; 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); } @@ -1767,12 +1523,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.vmmigration.v1.ComputeScheduling) } // @@protoc_insertion_point(class_scope:google.cloud.vmmigration.v1.ComputeScheduling) private static final com.google.cloud.vmmigration.v1.ComputeScheduling DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.vmmigration.v1.ComputeScheduling(); } @@ -1781,16 +1537,16 @@ public static com.google.cloud.vmmigration.v1.ComputeScheduling getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ComputeScheduling parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ComputeScheduling(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ComputeScheduling parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ComputeScheduling(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1805,4 +1561,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.vmmigration.v1.ComputeScheduling getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ComputeSchedulingOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ComputeSchedulingOrBuilder.java similarity index 81% rename from proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ComputeSchedulingOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ComputeSchedulingOrBuilder.java index 76b2792..28553b9 100644 --- a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ComputeSchedulingOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ComputeSchedulingOrBuilder.java @@ -1,60 +1,34 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; -public interface ComputeSchedulingOrBuilder - extends +public interface ComputeSchedulingOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.ComputeScheduling) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * How the instance should behave when the host machine undergoes
    * maintenance that may temporarily impact instance performance.
    * 
* - * .google.cloud.vmmigration.v1.ComputeScheduling.OnHostMaintenance on_host_maintenance = 1; - * - * + * .google.cloud.vmmigration.v1.ComputeScheduling.OnHostMaintenance on_host_maintenance = 1; * @return The enum numeric value on the wire for onHostMaintenance. */ int getOnHostMaintenanceValue(); /** - * - * *
    * How the instance should behave when the host machine undergoes
    * maintenance that may temporarily impact instance performance.
    * 
* - * .google.cloud.vmmigration.v1.ComputeScheduling.OnHostMaintenance on_host_maintenance = 1; - * - * + * .google.cloud.vmmigration.v1.ComputeScheduling.OnHostMaintenance on_host_maintenance = 1; * @return The onHostMaintenance. */ com.google.cloud.vmmigration.v1.ComputeScheduling.OnHostMaintenance getOnHostMaintenance(); /** - * - * *
    * Whether the Instance should be automatically restarted whenever it is
    * terminated by Compute Engine (not terminated by user).
@@ -65,13 +39,10 @@ public interface ComputeSchedulingOrBuilder
    * 
* * .google.cloud.vmmigration.v1.ComputeScheduling.RestartType restart_type = 5; - * * @return The enum numeric value on the wire for restartType. */ int getRestartTypeValue(); /** - * - * *
    * Whether the Instance should be automatically restarted whenever it is
    * terminated by Compute Engine (not terminated by user).
@@ -82,14 +53,11 @@ public interface ComputeSchedulingOrBuilder
    * 
* * .google.cloud.vmmigration.v1.ComputeScheduling.RestartType restart_type = 5; - * * @return The restartType. */ com.google.cloud.vmmigration.v1.ComputeScheduling.RestartType getRestartType(); /** - * - * *
    * A set of node affinity and anti-affinity configurations for sole tenant
    * nodes.
@@ -97,10 +65,9 @@ public interface ComputeSchedulingOrBuilder
    *
    * repeated .google.cloud.vmmigration.v1.SchedulingNodeAffinity node_affinities = 3;
    */
-  java.util.List getNodeAffinitiesList();
+  java.util.List 
+      getNodeAffinitiesList();
   /**
-   *
-   *
    * 
    * A set of node affinity and anti-affinity configurations for sole tenant
    * nodes.
@@ -110,8 +77,6 @@ public interface ComputeSchedulingOrBuilder
    */
   com.google.cloud.vmmigration.v1.SchedulingNodeAffinity getNodeAffinities(int index);
   /**
-   *
-   *
    * 
    * A set of node affinity and anti-affinity configurations for sole tenant
    * nodes.
@@ -121,8 +86,6 @@ public interface ComputeSchedulingOrBuilder
    */
   int getNodeAffinitiesCount();
   /**
-   *
-   *
    * 
    * A set of node affinity and anti-affinity configurations for sole tenant
    * nodes.
@@ -130,11 +93,9 @@ public interface ComputeSchedulingOrBuilder
    *
    * repeated .google.cloud.vmmigration.v1.SchedulingNodeAffinity node_affinities = 3;
    */
-  java.util.List
+  java.util.List 
       getNodeAffinitiesOrBuilderList();
   /**
-   *
-   *
    * 
    * A set of node affinity and anti-affinity configurations for sole tenant
    * nodes.
@@ -146,8 +107,6 @@ com.google.cloud.vmmigration.v1.SchedulingNodeAffinityOrBuilder getNodeAffinitie
       int index);
 
   /**
-   *
-   *
    * 
    * The minimum number of virtual CPUs this instance will consume when
    * running on a sole-tenant node. Ignored if no node_affinites are
@@ -155,7 +114,6 @@ com.google.cloud.vmmigration.v1.SchedulingNodeAffinityOrBuilder getNodeAffinitie
    * 
* * int32 min_node_cpus = 4; - * * @return The minNodeCpus. */ int getMinNodeCpus(); diff --git a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CreateCloneJobRequest.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CreateCloneJobRequest.java similarity index 68% rename from proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CreateCloneJobRequest.java rename to owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CreateCloneJobRequest.java index f36b570..2c46825 100644 --- a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CreateCloneJobRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CreateCloneJobRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; /** - * - * *
  * Request message for 'CreateCloneJob' request.
  * 
* * Protobuf type {@code google.cloud.vmmigration.v1.CreateCloneJobRequest} */ -public final class CreateCloneJobRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateCloneJobRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.vmmigration.v1.CreateCloneJobRequest) CreateCloneJobRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateCloneJobRequest.newBuilder() to construct. private CreateCloneJobRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateCloneJobRequest() { parent_ = ""; cloneJobId_ = ""; @@ -45,15 +27,16 @@ private CreateCloneJobRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateCloneJobRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private CreateCloneJobRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,50 +55,44 @@ private CreateCloneJobRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - cloneJobId_ = s; - break; + cloneJobId_ = s; + break; + } + case 26: { + com.google.cloud.vmmigration.v1.CloneJob.Builder subBuilder = null; + if (cloneJob_ != null) { + subBuilder = cloneJob_.toBuilder(); } - case 26: - { - com.google.cloud.vmmigration.v1.CloneJob.Builder subBuilder = null; - if (cloneJob_ != null) { - subBuilder = cloneJob_.toBuilder(); - } - cloneJob_ = - input.readMessage( - com.google.cloud.vmmigration.v1.CloneJob.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(cloneJob_); - cloneJob_ = subBuilder.buildPartial(); - } - - break; + cloneJob_ = input.readMessage(com.google.cloud.vmmigration.v1.CloneJob.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(cloneJob_); + cloneJob_ = subBuilder.buildPartial(); } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); - requestId_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); + + requestId_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -123,41 +100,34 @@ private CreateCloneJobRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_CreateCloneJobRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_CreateCloneJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_CreateCloneJobRequest_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_CreateCloneJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.CreateCloneJobRequest.class, - com.google.cloud.vmmigration.v1.CreateCloneJobRequest.Builder.class); + com.google.cloud.vmmigration.v1.CreateCloneJobRequest.class, com.google.cloud.vmmigration.v1.CreateCloneJobRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The Clone's parent.
    * 
* - * - * 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 @@ -166,31 +136,29 @@ 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 Clone's parent.
    * 
* - * - * 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 { @@ -201,14 +169,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int CLONE_JOB_ID_FIELD_NUMBER = 2; private volatile java.lang.Object cloneJobId_; /** - * - * *
    * Required. The clone job identifier.
    * 
* * string clone_job_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The cloneJobId. */ @java.lang.Override @@ -217,29 +182,29 @@ public java.lang.String getCloneJobId() { 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(); cloneJobId_ = s; return s; } } /** - * - * *
    * Required. The clone job identifier.
    * 
* * string clone_job_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for cloneJobId. */ @java.lang.Override - public com.google.protobuf.ByteString getCloneJobIdBytes() { + public com.google.protobuf.ByteString + getCloneJobIdBytes() { java.lang.Object ref = cloneJobId_; 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); cloneJobId_ = b; return b; } else { @@ -250,16 +215,11 @@ public com.google.protobuf.ByteString getCloneJobIdBytes() { public static final int CLONE_JOB_FIELD_NUMBER = 3; private com.google.cloud.vmmigration.v1.CloneJob cloneJob_; /** - * - * *
    * Required. The clone request body.
    * 
* - * - * .google.cloud.vmmigration.v1.CloneJob clone_job = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.vmmigration.v1.CloneJob clone_job = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the cloneJob field is set. */ @java.lang.Override @@ -267,34 +227,23 @@ public boolean hasCloneJob() { return cloneJob_ != null; } /** - * - * *
    * Required. The clone request body.
    * 
* - * - * .google.cloud.vmmigration.v1.CloneJob clone_job = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.vmmigration.v1.CloneJob clone_job = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The cloneJob. */ @java.lang.Override public com.google.cloud.vmmigration.v1.CloneJob getCloneJob() { - return cloneJob_ == null - ? com.google.cloud.vmmigration.v1.CloneJob.getDefaultInstance() - : cloneJob_; + return cloneJob_ == null ? com.google.cloud.vmmigration.v1.CloneJob.getDefaultInstance() : cloneJob_; } /** - * - * *
    * Required. The clone request body.
    * 
* - * - * .google.cloud.vmmigration.v1.CloneJob clone_job = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.vmmigration.v1.CloneJob clone_job = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.vmmigration.v1.CloneJobOrBuilder getCloneJobOrBuilder() { @@ -304,8 +253,6 @@ public com.google.cloud.vmmigration.v1.CloneJobOrBuilder getCloneJobOrBuilder() public static final int REQUEST_ID_FIELD_NUMBER = 4; private volatile java.lang.Object requestId_; /** - * - * *
    * A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -321,7 +268,6 @@ public com.google.cloud.vmmigration.v1.CloneJobOrBuilder getCloneJobOrBuilder()
    * 
* * string request_id = 4; - * * @return The requestId. */ @java.lang.Override @@ -330,15 +276,14 @@ public java.lang.String getRequestId() { 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(); requestId_ = s; return s; } } /** - * - * *
    * A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -354,15 +299,16 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 4; - * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; 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); requestId_ = b; return b; } else { @@ -371,7 +317,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -383,7 +328,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_); } @@ -412,7 +358,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, cloneJobId_); } if (cloneJob_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getCloneJob()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getCloneJob()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, requestId_); @@ -425,21 +372,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.vmmigration.v1.CreateCloneJobRequest)) { return super.equals(obj); } - com.google.cloud.vmmigration.v1.CreateCloneJobRequest other = - (com.google.cloud.vmmigration.v1.CreateCloneJobRequest) obj; + com.google.cloud.vmmigration.v1.CreateCloneJobRequest other = (com.google.cloud.vmmigration.v1.CreateCloneJobRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (!getCloneJobId().equals(other.getCloneJobId())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (!getCloneJobId() + .equals(other.getCloneJobId())) return false; if (hasCloneJob() != other.hasCloneJob()) return false; if (hasCloneJob()) { - if (!getCloneJob().equals(other.getCloneJob())) return false; + if (!getCloneJob() + .equals(other.getCloneJob())) return false; } - if (!getRequestId().equals(other.getRequestId())) return false; + if (!getRequestId() + .equals(other.getRequestId())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -467,127 +417,117 @@ public int hashCode() { } public static com.google.cloud.vmmigration.v1.CreateCloneJobRequest 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.vmmigration.v1.CreateCloneJobRequest 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.vmmigration.v1.CreateCloneJobRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.vmmigration.v1.CreateCloneJobRequest 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.vmmigration.v1.CreateCloneJobRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.vmmigration.v1.CreateCloneJobRequest 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.vmmigration.v1.CreateCloneJobRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.vmmigration.v1.CreateCloneJobRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.vmmigration.v1.CreateCloneJobRequest 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.vmmigration.v1.CreateCloneJobRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.vmmigration.v1.CreateCloneJobRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.vmmigration.v1.CreateCloneJobRequest 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.vmmigration.v1.CreateCloneJobRequest 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.vmmigration.v1.CreateCloneJobRequest 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.vmmigration.v1.CreateCloneJobRequest prototype) { + public static Builder newBuilder(com.google.cloud.vmmigration.v1.CreateCloneJobRequest 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 message for 'CreateCloneJob' request.
    * 
* * Protobuf type {@code google.cloud.vmmigration.v1.CreateCloneJobRequest} */ - 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.vmmigration.v1.CreateCloneJobRequest) com.google.cloud.vmmigration.v1.CreateCloneJobRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_CreateCloneJobRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_CreateCloneJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_CreateCloneJobRequest_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_CreateCloneJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.CreateCloneJobRequest.class, - com.google.cloud.vmmigration.v1.CreateCloneJobRequest.Builder.class); + com.google.cloud.vmmigration.v1.CreateCloneJobRequest.class, com.google.cloud.vmmigration.v1.CreateCloneJobRequest.Builder.class); } // Construct using com.google.cloud.vmmigration.v1.CreateCloneJobRequest.newBuilder() @@ -595,15 +535,16 @@ 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) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -623,9 +564,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_CreateCloneJobRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_CreateCloneJobRequest_descriptor; } @java.lang.Override @@ -644,8 +585,7 @@ public com.google.cloud.vmmigration.v1.CreateCloneJobRequest build() { @java.lang.Override public com.google.cloud.vmmigration.v1.CreateCloneJobRequest buildPartial() { - com.google.cloud.vmmigration.v1.CreateCloneJobRequest result = - new com.google.cloud.vmmigration.v1.CreateCloneJobRequest(this); + com.google.cloud.vmmigration.v1.CreateCloneJobRequest result = new com.google.cloud.vmmigration.v1.CreateCloneJobRequest(this); result.parent_ = parent_; result.cloneJobId_ = cloneJobId_; if (cloneJobBuilder_ == null) { @@ -662,39 +602,38 @@ public com.google.cloud.vmmigration.v1.CreateCloneJobRequest buildPartial() { 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.vmmigration.v1.CreateCloneJobRequest) { - return mergeFrom((com.google.cloud.vmmigration.v1.CreateCloneJobRequest) other); + return mergeFrom((com.google.cloud.vmmigration.v1.CreateCloneJobRequest)other); } else { super.mergeFrom(other); return this; @@ -702,8 +641,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.vmmigration.v1.CreateCloneJobRequest other) { - if (other == com.google.cloud.vmmigration.v1.CreateCloneJobRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.vmmigration.v1.CreateCloneJobRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -738,8 +676,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.vmmigration.v1.CreateCloneJobRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.vmmigration.v1.CreateCloneJobRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -751,22 +688,18 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The Clone's parent.
      * 
* - * - * 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; @@ -775,23 +708,20 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The Clone's parent.
      * 
* - * - * 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 { @@ -799,67 +729,54 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The Clone's parent.
      * 
* - * - * 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) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The Clone's parent.
      * 
* - * - * 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() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The Clone's parent.
      * 
* - * - * 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) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -867,20 +784,18 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object cloneJobId_ = ""; /** - * - * *
      * Required. The clone job identifier.
      * 
* * string clone_job_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The cloneJobId. */ public java.lang.String getCloneJobId() { java.lang.Object ref = cloneJobId_; 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(); cloneJobId_ = s; return s; @@ -889,21 +804,20 @@ public java.lang.String getCloneJobId() { } } /** - * - * *
      * Required. The clone job identifier.
      * 
* * string clone_job_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for cloneJobId. */ - public com.google.protobuf.ByteString getCloneJobIdBytes() { + public com.google.protobuf.ByteString + getCloneJobIdBytes() { java.lang.Object ref = cloneJobId_; 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); cloneJobId_ = b; return b; } else { @@ -911,61 +825,54 @@ public com.google.protobuf.ByteString getCloneJobIdBytes() { } } /** - * - * *
      * Required. The clone job identifier.
      * 
* * string clone_job_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The cloneJobId to set. * @return This builder for chaining. */ - public Builder setCloneJobId(java.lang.String value) { + public Builder setCloneJobId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + cloneJobId_ = value; onChanged(); return this; } /** - * - * *
      * Required. The clone job identifier.
      * 
* * string clone_job_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearCloneJobId() { - + cloneJobId_ = getDefaultInstance().getCloneJobId(); onChanged(); return this; } /** - * - * *
      * Required. The clone job identifier.
      * 
* * string clone_job_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for cloneJobId to set. * @return This builder for chaining. */ - public Builder setCloneJobIdBytes(com.google.protobuf.ByteString value) { + public Builder setCloneJobIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + cloneJobId_ = value; onChanged(); return this; @@ -973,58 +880,39 @@ public Builder setCloneJobIdBytes(com.google.protobuf.ByteString value) { private com.google.cloud.vmmigration.v1.CloneJob cloneJob_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.vmmigration.v1.CloneJob, - com.google.cloud.vmmigration.v1.CloneJob.Builder, - com.google.cloud.vmmigration.v1.CloneJobOrBuilder> - cloneJobBuilder_; + com.google.cloud.vmmigration.v1.CloneJob, com.google.cloud.vmmigration.v1.CloneJob.Builder, com.google.cloud.vmmigration.v1.CloneJobOrBuilder> cloneJobBuilder_; /** - * - * *
      * Required. The clone request body.
      * 
* - * - * .google.cloud.vmmigration.v1.CloneJob clone_job = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.vmmigration.v1.CloneJob clone_job = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the cloneJob field is set. */ public boolean hasCloneJob() { return cloneJobBuilder_ != null || cloneJob_ != null; } /** - * - * *
      * Required. The clone request body.
      * 
* - * - * .google.cloud.vmmigration.v1.CloneJob clone_job = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.vmmigration.v1.CloneJob clone_job = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The cloneJob. */ public com.google.cloud.vmmigration.v1.CloneJob getCloneJob() { if (cloneJobBuilder_ == null) { - return cloneJob_ == null - ? com.google.cloud.vmmigration.v1.CloneJob.getDefaultInstance() - : cloneJob_; + return cloneJob_ == null ? com.google.cloud.vmmigration.v1.CloneJob.getDefaultInstance() : cloneJob_; } else { return cloneJobBuilder_.getMessage(); } } /** - * - * *
      * Required. The clone request body.
      * 
* - * - * .google.cloud.vmmigration.v1.CloneJob clone_job = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.vmmigration.v1.CloneJob clone_job = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setCloneJob(com.google.cloud.vmmigration.v1.CloneJob value) { if (cloneJobBuilder_ == null) { @@ -1040,17 +928,14 @@ public Builder setCloneJob(com.google.cloud.vmmigration.v1.CloneJob value) { return this; } /** - * - * *
      * Required. The clone request body.
      * 
* - * - * .google.cloud.vmmigration.v1.CloneJob clone_job = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.vmmigration.v1.CloneJob clone_job = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setCloneJob(com.google.cloud.vmmigration.v1.CloneJob.Builder builderForValue) { + public Builder setCloneJob( + com.google.cloud.vmmigration.v1.CloneJob.Builder builderForValue) { if (cloneJobBuilder_ == null) { cloneJob_ = builderForValue.build(); onChanged(); @@ -1061,23 +946,17 @@ public Builder setCloneJob(com.google.cloud.vmmigration.v1.CloneJob.Builder buil return this; } /** - * - * *
      * Required. The clone request body.
      * 
* - * - * .google.cloud.vmmigration.v1.CloneJob clone_job = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.vmmigration.v1.CloneJob clone_job = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeCloneJob(com.google.cloud.vmmigration.v1.CloneJob value) { if (cloneJobBuilder_ == null) { if (cloneJob_ != null) { cloneJob_ = - com.google.cloud.vmmigration.v1.CloneJob.newBuilder(cloneJob_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.vmmigration.v1.CloneJob.newBuilder(cloneJob_).mergeFrom(value).buildPartial(); } else { cloneJob_ = value; } @@ -1089,15 +968,11 @@ public Builder mergeCloneJob(com.google.cloud.vmmigration.v1.CloneJob value) { return this; } /** - * - * *
      * Required. The clone request body.
      * 
* - * - * .google.cloud.vmmigration.v1.CloneJob clone_job = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.vmmigration.v1.CloneJob clone_job = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearCloneJob() { if (cloneJobBuilder_ == null) { @@ -1111,64 +986,48 @@ public Builder clearCloneJob() { return this; } /** - * - * *
      * Required. The clone request body.
      * 
* - * - * .google.cloud.vmmigration.v1.CloneJob clone_job = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.vmmigration.v1.CloneJob clone_job = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.vmmigration.v1.CloneJob.Builder getCloneJobBuilder() { - + onChanged(); return getCloneJobFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The clone request body.
      * 
* - * - * .google.cloud.vmmigration.v1.CloneJob clone_job = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.vmmigration.v1.CloneJob clone_job = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.vmmigration.v1.CloneJobOrBuilder getCloneJobOrBuilder() { if (cloneJobBuilder_ != null) { return cloneJobBuilder_.getMessageOrBuilder(); } else { - return cloneJob_ == null - ? com.google.cloud.vmmigration.v1.CloneJob.getDefaultInstance() - : cloneJob_; + return cloneJob_ == null ? + com.google.cloud.vmmigration.v1.CloneJob.getDefaultInstance() : cloneJob_; } } /** - * - * *
      * Required. The clone request body.
      * 
* - * - * .google.cloud.vmmigration.v1.CloneJob clone_job = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.vmmigration.v1.CloneJob clone_job = 3 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.vmmigration.v1.CloneJob, - com.google.cloud.vmmigration.v1.CloneJob.Builder, - com.google.cloud.vmmigration.v1.CloneJobOrBuilder> + com.google.cloud.vmmigration.v1.CloneJob, com.google.cloud.vmmigration.v1.CloneJob.Builder, com.google.cloud.vmmigration.v1.CloneJobOrBuilder> getCloneJobFieldBuilder() { if (cloneJobBuilder_ == null) { - cloneJobBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.vmmigration.v1.CloneJob, - com.google.cloud.vmmigration.v1.CloneJob.Builder, - com.google.cloud.vmmigration.v1.CloneJobOrBuilder>( - getCloneJob(), getParentForChildren(), isClean()); + cloneJobBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.vmmigration.v1.CloneJob, com.google.cloud.vmmigration.v1.CloneJob.Builder, com.google.cloud.vmmigration.v1.CloneJobOrBuilder>( + getCloneJob(), + getParentForChildren(), + isClean()); cloneJob_ = null; } return cloneJobBuilder_; @@ -1176,8 +1035,6 @@ public com.google.cloud.vmmigration.v1.CloneJobOrBuilder getCloneJobOrBuilder() private java.lang.Object requestId_ = ""; /** - * - * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1193,13 +1050,13 @@ public com.google.cloud.vmmigration.v1.CloneJobOrBuilder getCloneJobOrBuilder()
      * 
* * string request_id = 4; - * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; 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(); requestId_ = s; return s; @@ -1208,8 +1065,6 @@ public java.lang.String getRequestId() { } } /** - * - * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1225,14 +1080,15 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 4; - * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; 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); requestId_ = b; return b; } else { @@ -1240,8 +1096,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } } /** - * - * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1257,22 +1111,20 @@ public com.google.protobuf.ByteString getRequestIdBytes() {
      * 
* * string request_id = 4; - * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId(java.lang.String value) { + public Builder setRequestId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + requestId_ = value; onChanged(); return this; } /** - * - * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1288,18 +1140,15 @@ public Builder setRequestId(java.lang.String value) {
      * 
* * string request_id = 4; - * * @return This builder for chaining. */ public Builder clearRequestId() { - + requestId_ = getDefaultInstance().getRequestId(); onChanged(); return this; } /** - * - * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1315,23 +1164,23 @@ public Builder clearRequestId() {
      * 
* * string request_id = 4; - * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { + public Builder setRequestIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + requestId_ = 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); } @@ -1341,12 +1190,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.vmmigration.v1.CreateCloneJobRequest) } // @@protoc_insertion_point(class_scope:google.cloud.vmmigration.v1.CreateCloneJobRequest) private static final com.google.cloud.vmmigration.v1.CreateCloneJobRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.vmmigration.v1.CreateCloneJobRequest(); } @@ -1355,16 +1204,16 @@ public static com.google.cloud.vmmigration.v1.CreateCloneJobRequest getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateCloneJobRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateCloneJobRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateCloneJobRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CreateCloneJobRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1379,4 +1228,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.vmmigration.v1.CreateCloneJobRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CreateCloneJobRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CreateCloneJobRequestOrBuilder.java similarity index 67% rename from proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CreateCloneJobRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CreateCloneJobRequestOrBuilder.java index 0553658..875c937 100644 --- a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CreateCloneJobRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CreateCloneJobRequestOrBuilder.java @@ -1,126 +1,80 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; -public interface CreateCloneJobRequestOrBuilder - extends +public interface CreateCloneJobRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.CreateCloneJobRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The Clone's parent.
    * 
* - * - * 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 Clone's parent.
    * 
* - * - * 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. The clone job identifier.
    * 
* * string clone_job_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The cloneJobId. */ java.lang.String getCloneJobId(); /** - * - * *
    * Required. The clone job identifier.
    * 
* * string clone_job_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for cloneJobId. */ - com.google.protobuf.ByteString getCloneJobIdBytes(); + com.google.protobuf.ByteString + getCloneJobIdBytes(); /** - * - * *
    * Required. The clone request body.
    * 
* - * - * .google.cloud.vmmigration.v1.CloneJob clone_job = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.vmmigration.v1.CloneJob clone_job = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the cloneJob field is set. */ boolean hasCloneJob(); /** - * - * *
    * Required. The clone request body.
    * 
* - * - * .google.cloud.vmmigration.v1.CloneJob clone_job = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.vmmigration.v1.CloneJob clone_job = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The cloneJob. */ com.google.cloud.vmmigration.v1.CloneJob getCloneJob(); /** - * - * *
    * Required. The clone request body.
    * 
* - * - * .google.cloud.vmmigration.v1.CloneJob clone_job = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.vmmigration.v1.CloneJob clone_job = 3 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.vmmigration.v1.CloneJobOrBuilder getCloneJobOrBuilder(); /** - * - * *
    * A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -136,13 +90,10 @@ public interface CreateCloneJobRequestOrBuilder
    * 
* * string request_id = 4; - * * @return The requestId. */ java.lang.String getRequestId(); /** - * - * *
    * A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -158,8 +109,8 @@ public interface CreateCloneJobRequestOrBuilder
    * 
* * string request_id = 4; - * * @return The bytes for requestId. */ - com.google.protobuf.ByteString getRequestIdBytes(); + com.google.protobuf.ByteString + getRequestIdBytes(); } diff --git a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CreateCutoverJobRequest.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CreateCutoverJobRequest.java similarity index 69% rename from proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CreateCutoverJobRequest.java rename to owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CreateCutoverJobRequest.java index fc02d55..9ac29ae 100644 --- a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CreateCutoverJobRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CreateCutoverJobRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; /** - * - * *
  * Request message for 'CreateCutoverJob' request.
  * 
* * Protobuf type {@code google.cloud.vmmigration.v1.CreateCutoverJobRequest} */ -public final class CreateCutoverJobRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateCutoverJobRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.vmmigration.v1.CreateCutoverJobRequest) CreateCutoverJobRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateCutoverJobRequest.newBuilder() to construct. private CreateCutoverJobRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateCutoverJobRequest() { parent_ = ""; cutoverJobId_ = ""; @@ -45,15 +27,16 @@ private CreateCutoverJobRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateCutoverJobRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private CreateCutoverJobRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,50 +55,44 @@ private CreateCutoverJobRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - cutoverJobId_ = s; - break; + cutoverJobId_ = s; + break; + } + case 26: { + com.google.cloud.vmmigration.v1.CutoverJob.Builder subBuilder = null; + if (cutoverJob_ != null) { + subBuilder = cutoverJob_.toBuilder(); } - case 26: - { - com.google.cloud.vmmigration.v1.CutoverJob.Builder subBuilder = null; - if (cutoverJob_ != null) { - subBuilder = cutoverJob_.toBuilder(); - } - cutoverJob_ = - input.readMessage( - com.google.cloud.vmmigration.v1.CutoverJob.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(cutoverJob_); - cutoverJob_ = subBuilder.buildPartial(); - } - - break; + cutoverJob_ = input.readMessage(com.google.cloud.vmmigration.v1.CutoverJob.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(cutoverJob_); + cutoverJob_ = subBuilder.buildPartial(); } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); - requestId_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); + + requestId_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -123,41 +100,34 @@ private CreateCutoverJobRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_CreateCutoverJobRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_CreateCutoverJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_CreateCutoverJobRequest_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_CreateCutoverJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.CreateCutoverJobRequest.class, - com.google.cloud.vmmigration.v1.CreateCutoverJobRequest.Builder.class); + com.google.cloud.vmmigration.v1.CreateCutoverJobRequest.class, com.google.cloud.vmmigration.v1.CreateCutoverJobRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The Cutover's parent.
    * 
* - * - * 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 @@ -166,31 +136,29 @@ 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 Cutover's parent.
    * 
* - * - * 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 { @@ -201,14 +169,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int CUTOVER_JOB_ID_FIELD_NUMBER = 2; private volatile java.lang.Object cutoverJobId_; /** - * - * *
    * Required. The cutover job identifier.
    * 
* * string cutover_job_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The cutoverJobId. */ @java.lang.Override @@ -217,29 +182,29 @@ public java.lang.String getCutoverJobId() { 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(); cutoverJobId_ = s; return s; } } /** - * - * *
    * Required. The cutover job identifier.
    * 
* * string cutover_job_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for cutoverJobId. */ @java.lang.Override - public com.google.protobuf.ByteString getCutoverJobIdBytes() { + public com.google.protobuf.ByteString + getCutoverJobIdBytes() { java.lang.Object ref = cutoverJobId_; 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); cutoverJobId_ = b; return b; } else { @@ -250,16 +215,11 @@ public com.google.protobuf.ByteString getCutoverJobIdBytes() { public static final int CUTOVER_JOB_FIELD_NUMBER = 3; private com.google.cloud.vmmigration.v1.CutoverJob cutoverJob_; /** - * - * *
    * Required. The cutover request body.
    * 
* - * - * .google.cloud.vmmigration.v1.CutoverJob cutover_job = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.vmmigration.v1.CutoverJob cutover_job = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the cutoverJob field is set. */ @java.lang.Override @@ -267,34 +227,23 @@ public boolean hasCutoverJob() { return cutoverJob_ != null; } /** - * - * *
    * Required. The cutover request body.
    * 
* - * - * .google.cloud.vmmigration.v1.CutoverJob cutover_job = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.vmmigration.v1.CutoverJob cutover_job = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The cutoverJob. */ @java.lang.Override public com.google.cloud.vmmigration.v1.CutoverJob getCutoverJob() { - return cutoverJob_ == null - ? com.google.cloud.vmmigration.v1.CutoverJob.getDefaultInstance() - : cutoverJob_; + return cutoverJob_ == null ? com.google.cloud.vmmigration.v1.CutoverJob.getDefaultInstance() : cutoverJob_; } /** - * - * *
    * Required. The cutover request body.
    * 
* - * - * .google.cloud.vmmigration.v1.CutoverJob cutover_job = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.vmmigration.v1.CutoverJob cutover_job = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.vmmigration.v1.CutoverJobOrBuilder getCutoverJobOrBuilder() { @@ -304,8 +253,6 @@ public com.google.cloud.vmmigration.v1.CutoverJobOrBuilder getCutoverJobOrBuilde public static final int REQUEST_ID_FIELD_NUMBER = 4; private volatile java.lang.Object requestId_; /** - * - * *
    * A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -321,7 +268,6 @@ public com.google.cloud.vmmigration.v1.CutoverJobOrBuilder getCutoverJobOrBuilde
    * 
* * string request_id = 4; - * * @return The requestId. */ @java.lang.Override @@ -330,15 +276,14 @@ public java.lang.String getRequestId() { 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(); requestId_ = s; return s; } } /** - * - * *
    * A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -354,15 +299,16 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 4; - * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; 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); requestId_ = b; return b; } else { @@ -371,7 +317,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -383,7 +328,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_); } @@ -412,7 +358,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, cutoverJobId_); } if (cutoverJob_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getCutoverJob()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getCutoverJob()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, requestId_); @@ -425,21 +372,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.vmmigration.v1.CreateCutoverJobRequest)) { return super.equals(obj); } - com.google.cloud.vmmigration.v1.CreateCutoverJobRequest other = - (com.google.cloud.vmmigration.v1.CreateCutoverJobRequest) obj; + com.google.cloud.vmmigration.v1.CreateCutoverJobRequest other = (com.google.cloud.vmmigration.v1.CreateCutoverJobRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (!getCutoverJobId().equals(other.getCutoverJobId())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (!getCutoverJobId() + .equals(other.getCutoverJobId())) return false; if (hasCutoverJob() != other.hasCutoverJob()) return false; if (hasCutoverJob()) { - if (!getCutoverJob().equals(other.getCutoverJob())) return false; + if (!getCutoverJob() + .equals(other.getCutoverJob())) return false; } - if (!getRequestId().equals(other.getRequestId())) return false; + if (!getRequestId() + .equals(other.getRequestId())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -467,127 +417,117 @@ public int hashCode() { } public static com.google.cloud.vmmigration.v1.CreateCutoverJobRequest 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.vmmigration.v1.CreateCutoverJobRequest 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.vmmigration.v1.CreateCutoverJobRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.vmmigration.v1.CreateCutoverJobRequest 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.vmmigration.v1.CreateCutoverJobRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.vmmigration.v1.CreateCutoverJobRequest 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.vmmigration.v1.CreateCutoverJobRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.vmmigration.v1.CreateCutoverJobRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.vmmigration.v1.CreateCutoverJobRequest 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.vmmigration.v1.CreateCutoverJobRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.vmmigration.v1.CreateCutoverJobRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.vmmigration.v1.CreateCutoverJobRequest 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.vmmigration.v1.CreateCutoverJobRequest 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.vmmigration.v1.CreateCutoverJobRequest 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.vmmigration.v1.CreateCutoverJobRequest prototype) { + public static Builder newBuilder(com.google.cloud.vmmigration.v1.CreateCutoverJobRequest 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 message for 'CreateCutoverJob' request.
    * 
* * Protobuf type {@code google.cloud.vmmigration.v1.CreateCutoverJobRequest} */ - 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.vmmigration.v1.CreateCutoverJobRequest) com.google.cloud.vmmigration.v1.CreateCutoverJobRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_CreateCutoverJobRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_CreateCutoverJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_CreateCutoverJobRequest_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_CreateCutoverJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.CreateCutoverJobRequest.class, - com.google.cloud.vmmigration.v1.CreateCutoverJobRequest.Builder.class); + com.google.cloud.vmmigration.v1.CreateCutoverJobRequest.class, com.google.cloud.vmmigration.v1.CreateCutoverJobRequest.Builder.class); } // Construct using com.google.cloud.vmmigration.v1.CreateCutoverJobRequest.newBuilder() @@ -595,15 +535,16 @@ 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) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -623,9 +564,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_CreateCutoverJobRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_CreateCutoverJobRequest_descriptor; } @java.lang.Override @@ -644,8 +585,7 @@ public com.google.cloud.vmmigration.v1.CreateCutoverJobRequest build() { @java.lang.Override public com.google.cloud.vmmigration.v1.CreateCutoverJobRequest buildPartial() { - com.google.cloud.vmmigration.v1.CreateCutoverJobRequest result = - new com.google.cloud.vmmigration.v1.CreateCutoverJobRequest(this); + com.google.cloud.vmmigration.v1.CreateCutoverJobRequest result = new com.google.cloud.vmmigration.v1.CreateCutoverJobRequest(this); result.parent_ = parent_; result.cutoverJobId_ = cutoverJobId_; if (cutoverJobBuilder_ == null) { @@ -662,39 +602,38 @@ public com.google.cloud.vmmigration.v1.CreateCutoverJobRequest buildPartial() { 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.vmmigration.v1.CreateCutoverJobRequest) { - return mergeFrom((com.google.cloud.vmmigration.v1.CreateCutoverJobRequest) other); + return mergeFrom((com.google.cloud.vmmigration.v1.CreateCutoverJobRequest)other); } else { super.mergeFrom(other); return this; @@ -702,8 +641,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.vmmigration.v1.CreateCutoverJobRequest other) { - if (other == com.google.cloud.vmmigration.v1.CreateCutoverJobRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.vmmigration.v1.CreateCutoverJobRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -738,8 +676,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.vmmigration.v1.CreateCutoverJobRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.vmmigration.v1.CreateCutoverJobRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -751,22 +688,18 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The Cutover's parent.
      * 
* - * - * 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; @@ -775,23 +708,20 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The Cutover's parent.
      * 
* - * - * 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 { @@ -799,67 +729,54 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The Cutover's parent.
      * 
* - * - * 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) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The Cutover's parent.
      * 
* - * - * 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() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The Cutover's parent.
      * 
* - * - * 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) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -867,20 +784,18 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object cutoverJobId_ = ""; /** - * - * *
      * Required. The cutover job identifier.
      * 
* * string cutover_job_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The cutoverJobId. */ public java.lang.String getCutoverJobId() { java.lang.Object ref = cutoverJobId_; 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(); cutoverJobId_ = s; return s; @@ -889,21 +804,20 @@ public java.lang.String getCutoverJobId() { } } /** - * - * *
      * Required. The cutover job identifier.
      * 
* * string cutover_job_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for cutoverJobId. */ - public com.google.protobuf.ByteString getCutoverJobIdBytes() { + public com.google.protobuf.ByteString + getCutoverJobIdBytes() { java.lang.Object ref = cutoverJobId_; 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); cutoverJobId_ = b; return b; } else { @@ -911,61 +825,54 @@ public com.google.protobuf.ByteString getCutoverJobIdBytes() { } } /** - * - * *
      * Required. The cutover job identifier.
      * 
* * string cutover_job_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The cutoverJobId to set. * @return This builder for chaining. */ - public Builder setCutoverJobId(java.lang.String value) { + public Builder setCutoverJobId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + cutoverJobId_ = value; onChanged(); return this; } /** - * - * *
      * Required. The cutover job identifier.
      * 
* * string cutover_job_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearCutoverJobId() { - + cutoverJobId_ = getDefaultInstance().getCutoverJobId(); onChanged(); return this; } /** - * - * *
      * Required. The cutover job identifier.
      * 
* * string cutover_job_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for cutoverJobId to set. * @return This builder for chaining. */ - public Builder setCutoverJobIdBytes(com.google.protobuf.ByteString value) { + public Builder setCutoverJobIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + cutoverJobId_ = value; onChanged(); return this; @@ -973,58 +880,39 @@ public Builder setCutoverJobIdBytes(com.google.protobuf.ByteString value) { private com.google.cloud.vmmigration.v1.CutoverJob cutoverJob_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.vmmigration.v1.CutoverJob, - com.google.cloud.vmmigration.v1.CutoverJob.Builder, - com.google.cloud.vmmigration.v1.CutoverJobOrBuilder> - cutoverJobBuilder_; + com.google.cloud.vmmigration.v1.CutoverJob, com.google.cloud.vmmigration.v1.CutoverJob.Builder, com.google.cloud.vmmigration.v1.CutoverJobOrBuilder> cutoverJobBuilder_; /** - * - * *
      * Required. The cutover request body.
      * 
* - * - * .google.cloud.vmmigration.v1.CutoverJob cutover_job = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.vmmigration.v1.CutoverJob cutover_job = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the cutoverJob field is set. */ public boolean hasCutoverJob() { return cutoverJobBuilder_ != null || cutoverJob_ != null; } /** - * - * *
      * Required. The cutover request body.
      * 
* - * - * .google.cloud.vmmigration.v1.CutoverJob cutover_job = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.vmmigration.v1.CutoverJob cutover_job = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The cutoverJob. */ public com.google.cloud.vmmigration.v1.CutoverJob getCutoverJob() { if (cutoverJobBuilder_ == null) { - return cutoverJob_ == null - ? com.google.cloud.vmmigration.v1.CutoverJob.getDefaultInstance() - : cutoverJob_; + return cutoverJob_ == null ? com.google.cloud.vmmigration.v1.CutoverJob.getDefaultInstance() : cutoverJob_; } else { return cutoverJobBuilder_.getMessage(); } } /** - * - * *
      * Required. The cutover request body.
      * 
* - * - * .google.cloud.vmmigration.v1.CutoverJob cutover_job = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.vmmigration.v1.CutoverJob cutover_job = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setCutoverJob(com.google.cloud.vmmigration.v1.CutoverJob value) { if (cutoverJobBuilder_ == null) { @@ -1040,15 +928,11 @@ public Builder setCutoverJob(com.google.cloud.vmmigration.v1.CutoverJob value) { return this; } /** - * - * *
      * Required. The cutover request body.
      * 
* - * - * .google.cloud.vmmigration.v1.CutoverJob cutover_job = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.vmmigration.v1.CutoverJob cutover_job = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setCutoverJob( com.google.cloud.vmmigration.v1.CutoverJob.Builder builderForValue) { @@ -1062,23 +946,17 @@ public Builder setCutoverJob( return this; } /** - * - * *
      * Required. The cutover request body.
      * 
* - * - * .google.cloud.vmmigration.v1.CutoverJob cutover_job = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.vmmigration.v1.CutoverJob cutover_job = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeCutoverJob(com.google.cloud.vmmigration.v1.CutoverJob value) { if (cutoverJobBuilder_ == null) { if (cutoverJob_ != null) { cutoverJob_ = - com.google.cloud.vmmigration.v1.CutoverJob.newBuilder(cutoverJob_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.vmmigration.v1.CutoverJob.newBuilder(cutoverJob_).mergeFrom(value).buildPartial(); } else { cutoverJob_ = value; } @@ -1090,15 +968,11 @@ public Builder mergeCutoverJob(com.google.cloud.vmmigration.v1.CutoverJob value) return this; } /** - * - * *
      * Required. The cutover request body.
      * 
* - * - * .google.cloud.vmmigration.v1.CutoverJob cutover_job = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.vmmigration.v1.CutoverJob cutover_job = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearCutoverJob() { if (cutoverJobBuilder_ == null) { @@ -1112,64 +986,48 @@ public Builder clearCutoverJob() { return this; } /** - * - * *
      * Required. The cutover request body.
      * 
* - * - * .google.cloud.vmmigration.v1.CutoverJob cutover_job = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.vmmigration.v1.CutoverJob cutover_job = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.vmmigration.v1.CutoverJob.Builder getCutoverJobBuilder() { - + onChanged(); return getCutoverJobFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The cutover request body.
      * 
* - * - * .google.cloud.vmmigration.v1.CutoverJob cutover_job = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.vmmigration.v1.CutoverJob cutover_job = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.vmmigration.v1.CutoverJobOrBuilder getCutoverJobOrBuilder() { if (cutoverJobBuilder_ != null) { return cutoverJobBuilder_.getMessageOrBuilder(); } else { - return cutoverJob_ == null - ? com.google.cloud.vmmigration.v1.CutoverJob.getDefaultInstance() - : cutoverJob_; + return cutoverJob_ == null ? + com.google.cloud.vmmigration.v1.CutoverJob.getDefaultInstance() : cutoverJob_; } } /** - * - * *
      * Required. The cutover request body.
      * 
* - * - * .google.cloud.vmmigration.v1.CutoverJob cutover_job = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.vmmigration.v1.CutoverJob cutover_job = 3 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.vmmigration.v1.CutoverJob, - com.google.cloud.vmmigration.v1.CutoverJob.Builder, - com.google.cloud.vmmigration.v1.CutoverJobOrBuilder> + com.google.cloud.vmmigration.v1.CutoverJob, com.google.cloud.vmmigration.v1.CutoverJob.Builder, com.google.cloud.vmmigration.v1.CutoverJobOrBuilder> getCutoverJobFieldBuilder() { if (cutoverJobBuilder_ == null) { - cutoverJobBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.vmmigration.v1.CutoverJob, - com.google.cloud.vmmigration.v1.CutoverJob.Builder, - com.google.cloud.vmmigration.v1.CutoverJobOrBuilder>( - getCutoverJob(), getParentForChildren(), isClean()); + cutoverJobBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.vmmigration.v1.CutoverJob, com.google.cloud.vmmigration.v1.CutoverJob.Builder, com.google.cloud.vmmigration.v1.CutoverJobOrBuilder>( + getCutoverJob(), + getParentForChildren(), + isClean()); cutoverJob_ = null; } return cutoverJobBuilder_; @@ -1177,8 +1035,6 @@ public com.google.cloud.vmmigration.v1.CutoverJobOrBuilder getCutoverJobOrBuilde private java.lang.Object requestId_ = ""; /** - * - * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1194,13 +1050,13 @@ public com.google.cloud.vmmigration.v1.CutoverJobOrBuilder getCutoverJobOrBuilde
      * 
* * string request_id = 4; - * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; 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(); requestId_ = s; return s; @@ -1209,8 +1065,6 @@ public java.lang.String getRequestId() { } } /** - * - * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1226,14 +1080,15 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 4; - * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; 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); requestId_ = b; return b; } else { @@ -1241,8 +1096,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } } /** - * - * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1258,22 +1111,20 @@ public com.google.protobuf.ByteString getRequestIdBytes() {
      * 
* * string request_id = 4; - * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId(java.lang.String value) { + public Builder setRequestId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + requestId_ = value; onChanged(); return this; } /** - * - * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1289,18 +1140,15 @@ public Builder setRequestId(java.lang.String value) {
      * 
* * string request_id = 4; - * * @return This builder for chaining. */ public Builder clearRequestId() { - + requestId_ = getDefaultInstance().getRequestId(); onChanged(); return this; } /** - * - * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1316,23 +1164,23 @@ public Builder clearRequestId() {
      * 
* * string request_id = 4; - * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { + public Builder setRequestIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + requestId_ = 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); } @@ -1342,12 +1190,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.vmmigration.v1.CreateCutoverJobRequest) } // @@protoc_insertion_point(class_scope:google.cloud.vmmigration.v1.CreateCutoverJobRequest) private static final com.google.cloud.vmmigration.v1.CreateCutoverJobRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.vmmigration.v1.CreateCutoverJobRequest(); } @@ -1356,16 +1204,16 @@ public static com.google.cloud.vmmigration.v1.CreateCutoverJobRequest getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateCutoverJobRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateCutoverJobRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateCutoverJobRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CreateCutoverJobRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1380,4 +1228,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.vmmigration.v1.CreateCutoverJobRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CreateCutoverJobRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CreateCutoverJobRequestOrBuilder.java similarity index 67% rename from proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CreateCutoverJobRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CreateCutoverJobRequestOrBuilder.java index 7a2408b..437891f 100644 --- a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CreateCutoverJobRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CreateCutoverJobRequestOrBuilder.java @@ -1,126 +1,80 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; -public interface CreateCutoverJobRequestOrBuilder - extends +public interface CreateCutoverJobRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.CreateCutoverJobRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The Cutover's parent.
    * 
* - * - * 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 Cutover's parent.
    * 
* - * - * 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. The cutover job identifier.
    * 
* * string cutover_job_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The cutoverJobId. */ java.lang.String getCutoverJobId(); /** - * - * *
    * Required. The cutover job identifier.
    * 
* * string cutover_job_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for cutoverJobId. */ - com.google.protobuf.ByteString getCutoverJobIdBytes(); + com.google.protobuf.ByteString + getCutoverJobIdBytes(); /** - * - * *
    * Required. The cutover request body.
    * 
* - * - * .google.cloud.vmmigration.v1.CutoverJob cutover_job = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.vmmigration.v1.CutoverJob cutover_job = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the cutoverJob field is set. */ boolean hasCutoverJob(); /** - * - * *
    * Required. The cutover request body.
    * 
* - * - * .google.cloud.vmmigration.v1.CutoverJob cutover_job = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.vmmigration.v1.CutoverJob cutover_job = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The cutoverJob. */ com.google.cloud.vmmigration.v1.CutoverJob getCutoverJob(); /** - * - * *
    * Required. The cutover request body.
    * 
* - * - * .google.cloud.vmmigration.v1.CutoverJob cutover_job = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.vmmigration.v1.CutoverJob cutover_job = 3 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.vmmigration.v1.CutoverJobOrBuilder getCutoverJobOrBuilder(); /** - * - * *
    * A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -136,13 +90,10 @@ public interface CreateCutoverJobRequestOrBuilder
    * 
* * string request_id = 4; - * * @return The requestId. */ java.lang.String getRequestId(); /** - * - * *
    * A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -158,8 +109,8 @@ public interface CreateCutoverJobRequestOrBuilder
    * 
* * string request_id = 4; - * * @return The bytes for requestId. */ - com.google.protobuf.ByteString getRequestIdBytes(); + com.google.protobuf.ByteString + getRequestIdBytes(); } diff --git a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CreateDatacenterConnectorRequest.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CreateDatacenterConnectorRequest.java similarity index 68% rename from proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CreateDatacenterConnectorRequest.java rename to owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CreateDatacenterConnectorRequest.java index afbeea5..cafe7ec 100644 --- a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CreateDatacenterConnectorRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CreateDatacenterConnectorRequest.java @@ -1,43 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; /** - * - * *
  * Request message for 'CreateDatacenterConnector' request.
  * 
* * Protobuf type {@code google.cloud.vmmigration.v1.CreateDatacenterConnectorRequest} */ -public final class CreateDatacenterConnectorRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateDatacenterConnectorRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.vmmigration.v1.CreateDatacenterConnectorRequest) CreateDatacenterConnectorRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateDatacenterConnectorRequest.newBuilder() to construct. - private CreateDatacenterConnectorRequest( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private CreateDatacenterConnectorRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateDatacenterConnectorRequest() { parent_ = ""; datacenterConnectorId_ = ""; @@ -46,15 +27,16 @@ private CreateDatacenterConnectorRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateDatacenterConnectorRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private CreateDatacenterConnectorRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -73,51 +55,44 @@ private CreateDatacenterConnectorRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - datacenterConnectorId_ = s; - break; + datacenterConnectorId_ = s; + break; + } + case 26: { + com.google.cloud.vmmigration.v1.DatacenterConnector.Builder subBuilder = null; + if (datacenterConnector_ != null) { + subBuilder = datacenterConnector_.toBuilder(); } - case 26: - { - com.google.cloud.vmmigration.v1.DatacenterConnector.Builder subBuilder = null; - if (datacenterConnector_ != null) { - subBuilder = datacenterConnector_.toBuilder(); - } - datacenterConnector_ = - input.readMessage( - com.google.cloud.vmmigration.v1.DatacenterConnector.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(datacenterConnector_); - datacenterConnector_ = subBuilder.buildPartial(); - } - - break; + datacenterConnector_ = input.readMessage(com.google.cloud.vmmigration.v1.DatacenterConnector.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(datacenterConnector_); + datacenterConnector_ = subBuilder.buildPartial(); } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); - requestId_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); + + requestId_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -125,33 +100,29 @@ private CreateDatacenterConnectorRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_CreateDatacenterConnectorRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_CreateDatacenterConnectorRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_CreateDatacenterConnectorRequest_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_CreateDatacenterConnectorRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.CreateDatacenterConnectorRequest.class, - com.google.cloud.vmmigration.v1.CreateDatacenterConnectorRequest.Builder.class); + com.google.cloud.vmmigration.v1.CreateDatacenterConnectorRequest.class, com.google.cloud.vmmigration.v1.CreateDatacenterConnectorRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The DatacenterConnector's parent.
    * Required. The Source in where the new DatacenterConnector will be created.
@@ -159,10 +130,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * `projects/my-project/locations/us-central1/sources/my-source`
    * 
* - * - * 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 @@ -171,15 +139,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 DatacenterConnector's parent.
    * Required. The Source in where the new DatacenterConnector will be created.
@@ -187,18 +154,17 @@ public java.lang.String getParent() {
    * `projects/my-project/locations/us-central1/sources/my-source`
    * 
* - * - * 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 { @@ -209,14 +175,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int DATACENTER_CONNECTOR_ID_FIELD_NUMBER = 2; private volatile java.lang.Object datacenterConnectorId_; /** - * - * *
    * Required. The datacenterConnector identifier.
    * 
* * string datacenter_connector_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The datacenterConnectorId. */ @java.lang.Override @@ -225,29 +188,29 @@ public java.lang.String getDatacenterConnectorId() { 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(); datacenterConnectorId_ = s; return s; } } /** - * - * *
    * Required. The datacenterConnector identifier.
    * 
* * string datacenter_connector_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for datacenterConnectorId. */ @java.lang.Override - public com.google.protobuf.ByteString getDatacenterConnectorIdBytes() { + public com.google.protobuf.ByteString + getDatacenterConnectorIdBytes() { java.lang.Object ref = datacenterConnectorId_; 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); datacenterConnectorId_ = b; return b; } else { @@ -258,16 +221,11 @@ public com.google.protobuf.ByteString getDatacenterConnectorIdBytes() { public static final int DATACENTER_CONNECTOR_FIELD_NUMBER = 3; private com.google.cloud.vmmigration.v1.DatacenterConnector datacenterConnector_; /** - * - * *
    * Required. The create request body.
    * 
* - * - * .google.cloud.vmmigration.v1.DatacenterConnector datacenter_connector = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.vmmigration.v1.DatacenterConnector datacenter_connector = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the datacenterConnector field is set. */ @java.lang.Override @@ -275,46 +233,32 @@ public boolean hasDatacenterConnector() { return datacenterConnector_ != null; } /** - * - * *
    * Required. The create request body.
    * 
* - * - * .google.cloud.vmmigration.v1.DatacenterConnector datacenter_connector = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.vmmigration.v1.DatacenterConnector datacenter_connector = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The datacenterConnector. */ @java.lang.Override public com.google.cloud.vmmigration.v1.DatacenterConnector getDatacenterConnector() { - return datacenterConnector_ == null - ? com.google.cloud.vmmigration.v1.DatacenterConnector.getDefaultInstance() - : datacenterConnector_; + return datacenterConnector_ == null ? com.google.cloud.vmmigration.v1.DatacenterConnector.getDefaultInstance() : datacenterConnector_; } /** - * - * *
    * Required. The create request body.
    * 
* - * - * .google.cloud.vmmigration.v1.DatacenterConnector datacenter_connector = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.vmmigration.v1.DatacenterConnector datacenter_connector = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public com.google.cloud.vmmigration.v1.DatacenterConnectorOrBuilder - getDatacenterConnectorOrBuilder() { + public com.google.cloud.vmmigration.v1.DatacenterConnectorOrBuilder getDatacenterConnectorOrBuilder() { return getDatacenterConnector(); } public static final int REQUEST_ID_FIELD_NUMBER = 4; private volatile java.lang.Object requestId_; /** - * - * *
    * A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -330,7 +274,6 @@ public com.google.cloud.vmmigration.v1.DatacenterConnector getDatacenterConnecto
    * 
* * string request_id = 4; - * * @return The requestId. */ @java.lang.Override @@ -339,15 +282,14 @@ public java.lang.String getRequestId() { 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(); requestId_ = s; return s; } } /** - * - * *
    * A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -363,15 +305,16 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 4; - * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; 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); requestId_ = b; return b; } else { @@ -380,7 +323,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -392,7 +334,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_); } @@ -421,7 +364,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, datacenterConnectorId_); } if (datacenterConnector_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getDatacenterConnector()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getDatacenterConnector()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, requestId_); @@ -434,21 +378,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.vmmigration.v1.CreateDatacenterConnectorRequest)) { return super.equals(obj); } - com.google.cloud.vmmigration.v1.CreateDatacenterConnectorRequest other = - (com.google.cloud.vmmigration.v1.CreateDatacenterConnectorRequest) obj; + com.google.cloud.vmmigration.v1.CreateDatacenterConnectorRequest other = (com.google.cloud.vmmigration.v1.CreateDatacenterConnectorRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (!getDatacenterConnectorId().equals(other.getDatacenterConnectorId())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (!getDatacenterConnectorId() + .equals(other.getDatacenterConnectorId())) return false; if (hasDatacenterConnector() != other.hasDatacenterConnector()) return false; if (hasDatacenterConnector()) { - if (!getDatacenterConnector().equals(other.getDatacenterConnector())) return false; + if (!getDatacenterConnector() + .equals(other.getDatacenterConnector())) return false; } - if (!getRequestId().equals(other.getRequestId())) return false; + if (!getRequestId() + .equals(other.getRequestId())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -476,127 +423,117 @@ public int hashCode() { } public static com.google.cloud.vmmigration.v1.CreateDatacenterConnectorRequest 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.vmmigration.v1.CreateDatacenterConnectorRequest 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.vmmigration.v1.CreateDatacenterConnectorRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.vmmigration.v1.CreateDatacenterConnectorRequest 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.vmmigration.v1.CreateDatacenterConnectorRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.vmmigration.v1.CreateDatacenterConnectorRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.vmmigration.v1.CreateDatacenterConnectorRequest 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.vmmigration.v1.CreateDatacenterConnectorRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.vmmigration.v1.CreateDatacenterConnectorRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.vmmigration.v1.CreateDatacenterConnectorRequest 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.vmmigration.v1.CreateDatacenterConnectorRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.vmmigration.v1.CreateDatacenterConnectorRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.vmmigration.v1.CreateDatacenterConnectorRequest 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.vmmigration.v1.CreateDatacenterConnectorRequest 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.vmmigration.v1.CreateDatacenterConnectorRequest 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.vmmigration.v1.CreateDatacenterConnectorRequest prototype) { + public static Builder newBuilder(com.google.cloud.vmmigration.v1.CreateDatacenterConnectorRequest 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 message for 'CreateDatacenterConnector' request.
    * 
* * Protobuf type {@code google.cloud.vmmigration.v1.CreateDatacenterConnectorRequest} */ - 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.vmmigration.v1.CreateDatacenterConnectorRequest) com.google.cloud.vmmigration.v1.CreateDatacenterConnectorRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_CreateDatacenterConnectorRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_CreateDatacenterConnectorRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_CreateDatacenterConnectorRequest_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_CreateDatacenterConnectorRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.CreateDatacenterConnectorRequest.class, - com.google.cloud.vmmigration.v1.CreateDatacenterConnectorRequest.Builder.class); + com.google.cloud.vmmigration.v1.CreateDatacenterConnectorRequest.class, com.google.cloud.vmmigration.v1.CreateDatacenterConnectorRequest.Builder.class); } // Construct using com.google.cloud.vmmigration.v1.CreateDatacenterConnectorRequest.newBuilder() @@ -604,15 +541,16 @@ 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) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -632,14 +570,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_CreateDatacenterConnectorRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_CreateDatacenterConnectorRequest_descriptor; } @java.lang.Override - public com.google.cloud.vmmigration.v1.CreateDatacenterConnectorRequest - getDefaultInstanceForType() { + public com.google.cloud.vmmigration.v1.CreateDatacenterConnectorRequest getDefaultInstanceForType() { return com.google.cloud.vmmigration.v1.CreateDatacenterConnectorRequest.getDefaultInstance(); } @@ -654,8 +591,7 @@ public com.google.cloud.vmmigration.v1.CreateDatacenterConnectorRequest build() @java.lang.Override public com.google.cloud.vmmigration.v1.CreateDatacenterConnectorRequest buildPartial() { - com.google.cloud.vmmigration.v1.CreateDatacenterConnectorRequest result = - new com.google.cloud.vmmigration.v1.CreateDatacenterConnectorRequest(this); + com.google.cloud.vmmigration.v1.CreateDatacenterConnectorRequest result = new com.google.cloud.vmmigration.v1.CreateDatacenterConnectorRequest(this); result.parent_ = parent_; result.datacenterConnectorId_ = datacenterConnectorId_; if (datacenterConnectorBuilder_ == null) { @@ -672,50 +608,46 @@ public com.google.cloud.vmmigration.v1.CreateDatacenterConnectorRequest buildPar 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.vmmigration.v1.CreateDatacenterConnectorRequest) { - return mergeFrom((com.google.cloud.vmmigration.v1.CreateDatacenterConnectorRequest) other); + return mergeFrom((com.google.cloud.vmmigration.v1.CreateDatacenterConnectorRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.vmmigration.v1.CreateDatacenterConnectorRequest other) { - if (other - == com.google.cloud.vmmigration.v1.CreateDatacenterConnectorRequest.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.cloud.vmmigration.v1.CreateDatacenterConnectorRequest other) { + if (other == com.google.cloud.vmmigration.v1.CreateDatacenterConnectorRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -750,9 +682,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.vmmigration.v1.CreateDatacenterConnectorRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.vmmigration.v1.CreateDatacenterConnectorRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -764,8 +694,6 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The DatacenterConnector's parent.
      * Required. The Source in where the new DatacenterConnector will be created.
@@ -773,16 +701,14 @@ public Builder mergeFrom(
      * `projects/my-project/locations/us-central1/sources/my-source`
      * 
* - * - * 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; @@ -791,8 +717,6 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The DatacenterConnector's parent.
      * Required. The Source in where the new DatacenterConnector will be created.
@@ -800,17 +724,16 @@ public java.lang.String getParent() {
      * `projects/my-project/locations/us-central1/sources/my-source`
      * 
* - * - * 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 { @@ -818,8 +741,6 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The DatacenterConnector's parent.
      * Required. The Source in where the new DatacenterConnector will be created.
@@ -827,25 +748,21 @@ public com.google.protobuf.ByteString getParentBytes() {
      * `projects/my-project/locations/us-central1/sources/my-source`
      * 
* - * - * 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) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The DatacenterConnector's parent.
      * Required. The Source in where the new DatacenterConnector will be created.
@@ -853,21 +770,16 @@ public Builder setParent(java.lang.String value) {
      * `projects/my-project/locations/us-central1/sources/my-source`
      * 
* - * - * 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() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The DatacenterConnector's parent.
      * Required. The Source in where the new DatacenterConnector will be created.
@@ -875,19 +787,17 @@ public Builder clearParent() {
      * `projects/my-project/locations/us-central1/sources/my-source`
      * 
* - * - * 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) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -895,20 +805,18 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object datacenterConnectorId_ = ""; /** - * - * *
      * Required. The datacenterConnector identifier.
      * 
* * string datacenter_connector_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The datacenterConnectorId. */ public java.lang.String getDatacenterConnectorId() { java.lang.Object ref = datacenterConnectorId_; 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(); datacenterConnectorId_ = s; return s; @@ -917,21 +825,20 @@ public java.lang.String getDatacenterConnectorId() { } } /** - * - * *
      * Required. The datacenterConnector identifier.
      * 
* * string datacenter_connector_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for datacenterConnectorId. */ - public com.google.protobuf.ByteString getDatacenterConnectorIdBytes() { + public com.google.protobuf.ByteString + getDatacenterConnectorIdBytes() { java.lang.Object ref = datacenterConnectorId_; 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); datacenterConnectorId_ = b; return b; } else { @@ -939,61 +846,54 @@ public com.google.protobuf.ByteString getDatacenterConnectorIdBytes() { } } /** - * - * *
      * Required. The datacenterConnector identifier.
      * 
* * string datacenter_connector_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The datacenterConnectorId to set. * @return This builder for chaining. */ - public Builder setDatacenterConnectorId(java.lang.String value) { + public Builder setDatacenterConnectorId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + datacenterConnectorId_ = value; onChanged(); return this; } /** - * - * *
      * Required. The datacenterConnector identifier.
      * 
* * string datacenter_connector_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearDatacenterConnectorId() { - + datacenterConnectorId_ = getDefaultInstance().getDatacenterConnectorId(); onChanged(); return this; } /** - * - * *
      * Required. The datacenterConnector identifier.
      * 
* * string datacenter_connector_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for datacenterConnectorId to set. * @return This builder for chaining. */ - public Builder setDatacenterConnectorIdBytes(com.google.protobuf.ByteString value) { + public Builder setDatacenterConnectorIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + datacenterConnectorId_ = value; onChanged(); return this; @@ -1001,61 +901,41 @@ public Builder setDatacenterConnectorIdBytes(com.google.protobuf.ByteString valu private com.google.cloud.vmmigration.v1.DatacenterConnector datacenterConnector_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.vmmigration.v1.DatacenterConnector, - com.google.cloud.vmmigration.v1.DatacenterConnector.Builder, - com.google.cloud.vmmigration.v1.DatacenterConnectorOrBuilder> - datacenterConnectorBuilder_; + com.google.cloud.vmmigration.v1.DatacenterConnector, com.google.cloud.vmmigration.v1.DatacenterConnector.Builder, com.google.cloud.vmmigration.v1.DatacenterConnectorOrBuilder> datacenterConnectorBuilder_; /** - * - * *
      * Required. The create request body.
      * 
* - * - * .google.cloud.vmmigration.v1.DatacenterConnector datacenter_connector = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.vmmigration.v1.DatacenterConnector datacenter_connector = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the datacenterConnector field is set. */ public boolean hasDatacenterConnector() { return datacenterConnectorBuilder_ != null || datacenterConnector_ != null; } /** - * - * *
      * Required. The create request body.
      * 
* - * - * .google.cloud.vmmigration.v1.DatacenterConnector datacenter_connector = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.vmmigration.v1.DatacenterConnector datacenter_connector = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The datacenterConnector. */ public com.google.cloud.vmmigration.v1.DatacenterConnector getDatacenterConnector() { if (datacenterConnectorBuilder_ == null) { - return datacenterConnector_ == null - ? com.google.cloud.vmmigration.v1.DatacenterConnector.getDefaultInstance() - : datacenterConnector_; + return datacenterConnector_ == null ? com.google.cloud.vmmigration.v1.DatacenterConnector.getDefaultInstance() : datacenterConnector_; } else { return datacenterConnectorBuilder_.getMessage(); } } /** - * - * *
      * Required. The create request body.
      * 
* - * - * .google.cloud.vmmigration.v1.DatacenterConnector datacenter_connector = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.vmmigration.v1.DatacenterConnector datacenter_connector = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setDatacenterConnector( - com.google.cloud.vmmigration.v1.DatacenterConnector value) { + public Builder setDatacenterConnector(com.google.cloud.vmmigration.v1.DatacenterConnector value) { if (datacenterConnectorBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1069,15 +949,11 @@ public Builder setDatacenterConnector( return this; } /** - * - * *
      * Required. The create request body.
      * 
* - * - * .google.cloud.vmmigration.v1.DatacenterConnector datacenter_connector = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.vmmigration.v1.DatacenterConnector datacenter_connector = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setDatacenterConnector( com.google.cloud.vmmigration.v1.DatacenterConnector.Builder builderForValue) { @@ -1091,24 +967,17 @@ public Builder setDatacenterConnector( return this; } /** - * - * *
      * Required. The create request body.
      * 
* - * - * .google.cloud.vmmigration.v1.DatacenterConnector datacenter_connector = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.vmmigration.v1.DatacenterConnector datacenter_connector = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder mergeDatacenterConnector( - com.google.cloud.vmmigration.v1.DatacenterConnector value) { + public Builder mergeDatacenterConnector(com.google.cloud.vmmigration.v1.DatacenterConnector value) { if (datacenterConnectorBuilder_ == null) { if (datacenterConnector_ != null) { datacenterConnector_ = - com.google.cloud.vmmigration.v1.DatacenterConnector.newBuilder(datacenterConnector_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.vmmigration.v1.DatacenterConnector.newBuilder(datacenterConnector_).mergeFrom(value).buildPartial(); } else { datacenterConnector_ = value; } @@ -1120,15 +989,11 @@ public Builder mergeDatacenterConnector( return this; } /** - * - * *
      * Required. The create request body.
      * 
* - * - * .google.cloud.vmmigration.v1.DatacenterConnector datacenter_connector = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.vmmigration.v1.DatacenterConnector datacenter_connector = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearDatacenterConnector() { if (datacenterConnectorBuilder_ == null) { @@ -1142,66 +1007,48 @@ public Builder clearDatacenterConnector() { return this; } /** - * - * *
      * Required. The create request body.
      * 
* - * - * .google.cloud.vmmigration.v1.DatacenterConnector datacenter_connector = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.vmmigration.v1.DatacenterConnector datacenter_connector = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.vmmigration.v1.DatacenterConnector.Builder - getDatacenterConnectorBuilder() { - + public com.google.cloud.vmmigration.v1.DatacenterConnector.Builder getDatacenterConnectorBuilder() { + onChanged(); return getDatacenterConnectorFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The create request body.
      * 
* - * - * .google.cloud.vmmigration.v1.DatacenterConnector datacenter_connector = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.vmmigration.v1.DatacenterConnector datacenter_connector = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.vmmigration.v1.DatacenterConnectorOrBuilder - getDatacenterConnectorOrBuilder() { + public com.google.cloud.vmmigration.v1.DatacenterConnectorOrBuilder getDatacenterConnectorOrBuilder() { if (datacenterConnectorBuilder_ != null) { return datacenterConnectorBuilder_.getMessageOrBuilder(); } else { - return datacenterConnector_ == null - ? com.google.cloud.vmmigration.v1.DatacenterConnector.getDefaultInstance() - : datacenterConnector_; + return datacenterConnector_ == null ? + com.google.cloud.vmmigration.v1.DatacenterConnector.getDefaultInstance() : datacenterConnector_; } } /** - * - * *
      * Required. The create request body.
      * 
* - * - * .google.cloud.vmmigration.v1.DatacenterConnector datacenter_connector = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.vmmigration.v1.DatacenterConnector datacenter_connector = 3 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.vmmigration.v1.DatacenterConnector, - com.google.cloud.vmmigration.v1.DatacenterConnector.Builder, - com.google.cloud.vmmigration.v1.DatacenterConnectorOrBuilder> + com.google.cloud.vmmigration.v1.DatacenterConnector, com.google.cloud.vmmigration.v1.DatacenterConnector.Builder, com.google.cloud.vmmigration.v1.DatacenterConnectorOrBuilder> getDatacenterConnectorFieldBuilder() { if (datacenterConnectorBuilder_ == null) { - datacenterConnectorBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.vmmigration.v1.DatacenterConnector, - com.google.cloud.vmmigration.v1.DatacenterConnector.Builder, - com.google.cloud.vmmigration.v1.DatacenterConnectorOrBuilder>( - getDatacenterConnector(), getParentForChildren(), isClean()); + datacenterConnectorBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.vmmigration.v1.DatacenterConnector, com.google.cloud.vmmigration.v1.DatacenterConnector.Builder, com.google.cloud.vmmigration.v1.DatacenterConnectorOrBuilder>( + getDatacenterConnector(), + getParentForChildren(), + isClean()); datacenterConnector_ = null; } return datacenterConnectorBuilder_; @@ -1209,8 +1056,6 @@ public Builder clearDatacenterConnector() { private java.lang.Object requestId_ = ""; /** - * - * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1226,13 +1071,13 @@ public Builder clearDatacenterConnector() {
      * 
* * string request_id = 4; - * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; 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(); requestId_ = s; return s; @@ -1241,8 +1086,6 @@ public java.lang.String getRequestId() { } } /** - * - * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1258,14 +1101,15 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 4; - * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; 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); requestId_ = b; return b; } else { @@ -1273,8 +1117,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } } /** - * - * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1290,22 +1132,20 @@ public com.google.protobuf.ByteString getRequestIdBytes() {
      * 
* * string request_id = 4; - * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId(java.lang.String value) { + public Builder setRequestId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + requestId_ = value; onChanged(); return this; } /** - * - * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1321,18 +1161,15 @@ public Builder setRequestId(java.lang.String value) {
      * 
* * string request_id = 4; - * * @return This builder for chaining. */ public Builder clearRequestId() { - + requestId_ = getDefaultInstance().getRequestId(); onChanged(); return this; } /** - * - * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1348,23 +1185,23 @@ public Builder clearRequestId() {
      * 
* * string request_id = 4; - * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { + public Builder setRequestIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + requestId_ = 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); } @@ -1374,32 +1211,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.vmmigration.v1.CreateDatacenterConnectorRequest) } // @@protoc_insertion_point(class_scope:google.cloud.vmmigration.v1.CreateDatacenterConnectorRequest) - private static final com.google.cloud.vmmigration.v1.CreateDatacenterConnectorRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.vmmigration.v1.CreateDatacenterConnectorRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.vmmigration.v1.CreateDatacenterConnectorRequest(); } - public static com.google.cloud.vmmigration.v1.CreateDatacenterConnectorRequest - getDefaultInstance() { + public static com.google.cloud.vmmigration.v1.CreateDatacenterConnectorRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateDatacenterConnectorRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateDatacenterConnectorRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateDatacenterConnectorRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CreateDatacenterConnectorRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1411,8 +1246,9 @@ public com.google.protobuf.Parser getParserFor } @java.lang.Override - public com.google.cloud.vmmigration.v1.CreateDatacenterConnectorRequest - getDefaultInstanceForType() { + public com.google.cloud.vmmigration.v1.CreateDatacenterConnectorRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CreateDatacenterConnectorRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CreateDatacenterConnectorRequestOrBuilder.java similarity index 69% rename from proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CreateDatacenterConnectorRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CreateDatacenterConnectorRequestOrBuilder.java index b4ae985..dca80de 100644 --- a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CreateDatacenterConnectorRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CreateDatacenterConnectorRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; -public interface CreateDatacenterConnectorRequestOrBuilder - extends +public interface CreateDatacenterConnectorRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.CreateDatacenterConnectorRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The DatacenterConnector's parent.
    * Required. The Source in where the new DatacenterConnector will be created.
@@ -33,16 +15,11 @@ public interface CreateDatacenterConnectorRequestOrBuilder
    * `projects/my-project/locations/us-central1/sources/my-source`
    * 
* - * - * 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 DatacenterConnector's parent.
    * Required. The Source in where the new DatacenterConnector will be created.
@@ -50,83 +27,60 @@ public interface CreateDatacenterConnectorRequestOrBuilder
    * `projects/my-project/locations/us-central1/sources/my-source`
    * 
* - * - * 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. The datacenterConnector identifier.
    * 
* * string datacenter_connector_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The datacenterConnectorId. */ java.lang.String getDatacenterConnectorId(); /** - * - * *
    * Required. The datacenterConnector identifier.
    * 
* * string datacenter_connector_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for datacenterConnectorId. */ - com.google.protobuf.ByteString getDatacenterConnectorIdBytes(); + com.google.protobuf.ByteString + getDatacenterConnectorIdBytes(); /** - * - * *
    * Required. The create request body.
    * 
* - * - * .google.cloud.vmmigration.v1.DatacenterConnector datacenter_connector = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.vmmigration.v1.DatacenterConnector datacenter_connector = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the datacenterConnector field is set. */ boolean hasDatacenterConnector(); /** - * - * *
    * Required. The create request body.
    * 
* - * - * .google.cloud.vmmigration.v1.DatacenterConnector datacenter_connector = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.vmmigration.v1.DatacenterConnector datacenter_connector = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The datacenterConnector. */ com.google.cloud.vmmigration.v1.DatacenterConnector getDatacenterConnector(); /** - * - * *
    * Required. The create request body.
    * 
* - * - * .google.cloud.vmmigration.v1.DatacenterConnector datacenter_connector = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.vmmigration.v1.DatacenterConnector datacenter_connector = 3 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.vmmigration.v1.DatacenterConnectorOrBuilder getDatacenterConnectorOrBuilder(); /** - * - * *
    * A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -142,13 +96,10 @@ public interface CreateDatacenterConnectorRequestOrBuilder
    * 
* * string request_id = 4; - * * @return The requestId. */ java.lang.String getRequestId(); /** - * - * *
    * A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -164,8 +115,8 @@ public interface CreateDatacenterConnectorRequestOrBuilder
    * 
* * string request_id = 4; - * * @return The bytes for requestId. */ - com.google.protobuf.ByteString getRequestIdBytes(); + com.google.protobuf.ByteString + getRequestIdBytes(); } diff --git a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CreateGroupRequest.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CreateGroupRequest.java similarity index 71% rename from proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CreateGroupRequest.java rename to owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CreateGroupRequest.java index f7c7a3d..b0efdc1 100644 --- a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CreateGroupRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CreateGroupRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; /** - * - * *
  * Request message for 'CreateGroup' request.
  * 
* * Protobuf type {@code google.cloud.vmmigration.v1.CreateGroupRequest} */ -public final class CreateGroupRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateGroupRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.vmmigration.v1.CreateGroupRequest) CreateGroupRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateGroupRequest.newBuilder() to construct. private CreateGroupRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateGroupRequest() { parent_ = ""; groupId_ = ""; @@ -45,15 +27,16 @@ private CreateGroupRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateGroupRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private CreateGroupRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,50 +55,44 @@ private CreateGroupRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - groupId_ = s; - break; + groupId_ = s; + break; + } + case 26: { + com.google.cloud.vmmigration.v1.Group.Builder subBuilder = null; + if (group_ != null) { + subBuilder = group_.toBuilder(); } - case 26: - { - com.google.cloud.vmmigration.v1.Group.Builder subBuilder = null; - if (group_ != null) { - subBuilder = group_.toBuilder(); - } - group_ = - input.readMessage( - com.google.cloud.vmmigration.v1.Group.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(group_); - group_ = subBuilder.buildPartial(); - } - - break; + group_ = input.readMessage(com.google.cloud.vmmigration.v1.Group.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(group_); + group_ = subBuilder.buildPartial(); } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); - requestId_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); + + requestId_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -123,41 +100,34 @@ private CreateGroupRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_CreateGroupRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_CreateGroupRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_CreateGroupRequest_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_CreateGroupRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.CreateGroupRequest.class, - com.google.cloud.vmmigration.v1.CreateGroupRequest.Builder.class); + com.google.cloud.vmmigration.v1.CreateGroupRequest.class, com.google.cloud.vmmigration.v1.CreateGroupRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The Group's parent.
    * 
* - * - * 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 @@ -166,31 +136,29 @@ 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 Group's parent.
    * 
* - * - * 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 { @@ -201,14 +169,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int GROUP_ID_FIELD_NUMBER = 2; private volatile java.lang.Object groupId_; /** - * - * *
    * Required. The group identifier.
    * 
* * string group_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The groupId. */ @java.lang.Override @@ -217,29 +182,29 @@ public java.lang.String getGroupId() { 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(); groupId_ = s; return s; } } /** - * - * *
    * Required. The group identifier.
    * 
* * string group_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for groupId. */ @java.lang.Override - public com.google.protobuf.ByteString getGroupIdBytes() { + public com.google.protobuf.ByteString + getGroupIdBytes() { java.lang.Object ref = groupId_; 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); groupId_ = b; return b; } else { @@ -250,15 +215,11 @@ public com.google.protobuf.ByteString getGroupIdBytes() { public static final int GROUP_FIELD_NUMBER = 3; private com.google.cloud.vmmigration.v1.Group group_; /** - * - * *
    * Required. The create request body.
    * 
* - * .google.cloud.vmmigration.v1.Group group = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.vmmigration.v1.Group group = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the group field is set. */ @java.lang.Override @@ -266,15 +227,11 @@ public boolean hasGroup() { return group_ != null; } /** - * - * *
    * Required. The create request body.
    * 
* - * .google.cloud.vmmigration.v1.Group group = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.vmmigration.v1.Group group = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The group. */ @java.lang.Override @@ -282,14 +239,11 @@ public com.google.cloud.vmmigration.v1.Group getGroup() { return group_ == null ? com.google.cloud.vmmigration.v1.Group.getDefaultInstance() : group_; } /** - * - * *
    * Required. The create request body.
    * 
* - * .google.cloud.vmmigration.v1.Group group = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.vmmigration.v1.Group group = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.vmmigration.v1.GroupOrBuilder getGroupOrBuilder() { @@ -299,8 +253,6 @@ public com.google.cloud.vmmigration.v1.GroupOrBuilder getGroupOrBuilder() { public static final int REQUEST_ID_FIELD_NUMBER = 4; private volatile java.lang.Object requestId_; /** - * - * *
    * A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -316,7 +268,6 @@ public com.google.cloud.vmmigration.v1.GroupOrBuilder getGroupOrBuilder() {
    * 
* * string request_id = 4; - * * @return The requestId. */ @java.lang.Override @@ -325,15 +276,14 @@ public java.lang.String getRequestId() { 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(); requestId_ = s; return s; } } /** - * - * *
    * A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -349,15 +299,16 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 4; - * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; 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); requestId_ = b; return b; } else { @@ -366,7 +317,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -378,7 +328,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_); } @@ -407,7 +358,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, groupId_); } if (group_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getGroup()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getGroup()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, requestId_); @@ -420,21 +372,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.vmmigration.v1.CreateGroupRequest)) { return super.equals(obj); } - com.google.cloud.vmmigration.v1.CreateGroupRequest other = - (com.google.cloud.vmmigration.v1.CreateGroupRequest) obj; + com.google.cloud.vmmigration.v1.CreateGroupRequest other = (com.google.cloud.vmmigration.v1.CreateGroupRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (!getGroupId().equals(other.getGroupId())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (!getGroupId() + .equals(other.getGroupId())) return false; if (hasGroup() != other.hasGroup()) return false; if (hasGroup()) { - if (!getGroup().equals(other.getGroup())) return false; + if (!getGroup() + .equals(other.getGroup())) return false; } - if (!getRequestId().equals(other.getRequestId())) return false; + if (!getRequestId() + .equals(other.getRequestId())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -462,126 +417,117 @@ public int hashCode() { } public static com.google.cloud.vmmigration.v1.CreateGroupRequest 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.vmmigration.v1.CreateGroupRequest 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.vmmigration.v1.CreateGroupRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.vmmigration.v1.CreateGroupRequest 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.vmmigration.v1.CreateGroupRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.vmmigration.v1.CreateGroupRequest 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.vmmigration.v1.CreateGroupRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.vmmigration.v1.CreateGroupRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.vmmigration.v1.CreateGroupRequest 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.vmmigration.v1.CreateGroupRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.vmmigration.v1.CreateGroupRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.vmmigration.v1.CreateGroupRequest 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.vmmigration.v1.CreateGroupRequest 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.vmmigration.v1.CreateGroupRequest 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.vmmigration.v1.CreateGroupRequest 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 message for 'CreateGroup' request.
    * 
* * Protobuf type {@code google.cloud.vmmigration.v1.CreateGroupRequest} */ - 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.vmmigration.v1.CreateGroupRequest) com.google.cloud.vmmigration.v1.CreateGroupRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_CreateGroupRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_CreateGroupRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_CreateGroupRequest_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_CreateGroupRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.CreateGroupRequest.class, - com.google.cloud.vmmigration.v1.CreateGroupRequest.Builder.class); + com.google.cloud.vmmigration.v1.CreateGroupRequest.class, com.google.cloud.vmmigration.v1.CreateGroupRequest.Builder.class); } // Construct using com.google.cloud.vmmigration.v1.CreateGroupRequest.newBuilder() @@ -589,15 +535,16 @@ 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) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -617,9 +564,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_CreateGroupRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_CreateGroupRequest_descriptor; } @java.lang.Override @@ -638,8 +585,7 @@ public com.google.cloud.vmmigration.v1.CreateGroupRequest build() { @java.lang.Override public com.google.cloud.vmmigration.v1.CreateGroupRequest buildPartial() { - com.google.cloud.vmmigration.v1.CreateGroupRequest result = - new com.google.cloud.vmmigration.v1.CreateGroupRequest(this); + com.google.cloud.vmmigration.v1.CreateGroupRequest result = new com.google.cloud.vmmigration.v1.CreateGroupRequest(this); result.parent_ = parent_; result.groupId_ = groupId_; if (groupBuilder_ == null) { @@ -656,39 +602,38 @@ public com.google.cloud.vmmigration.v1.CreateGroupRequest buildPartial() { 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.vmmigration.v1.CreateGroupRequest) { - return mergeFrom((com.google.cloud.vmmigration.v1.CreateGroupRequest) other); + return mergeFrom((com.google.cloud.vmmigration.v1.CreateGroupRequest)other); } else { super.mergeFrom(other); return this; @@ -696,8 +641,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.vmmigration.v1.CreateGroupRequest other) { - if (other == com.google.cloud.vmmigration.v1.CreateGroupRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.vmmigration.v1.CreateGroupRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -732,8 +676,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.vmmigration.v1.CreateGroupRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.vmmigration.v1.CreateGroupRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -745,22 +688,18 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The Group's parent.
      * 
* - * - * 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; @@ -769,23 +708,20 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The Group's parent.
      * 
* - * - * 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 { @@ -793,67 +729,54 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The Group's parent.
      * 
* - * - * 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) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The Group's parent.
      * 
* - * - * 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() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The Group's parent.
      * 
* - * - * 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) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -861,20 +784,18 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object groupId_ = ""; /** - * - * *
      * Required. The group identifier.
      * 
* * string group_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The groupId. */ public java.lang.String getGroupId() { java.lang.Object ref = groupId_; 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(); groupId_ = s; return s; @@ -883,21 +804,20 @@ public java.lang.String getGroupId() { } } /** - * - * *
      * Required. The group identifier.
      * 
* * string group_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for groupId. */ - public com.google.protobuf.ByteString getGroupIdBytes() { + public com.google.protobuf.ByteString + getGroupIdBytes() { java.lang.Object ref = groupId_; 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); groupId_ = b; return b; } else { @@ -905,61 +825,54 @@ public com.google.protobuf.ByteString getGroupIdBytes() { } } /** - * - * *
      * Required. The group identifier.
      * 
* * string group_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The groupId to set. * @return This builder for chaining. */ - public Builder setGroupId(java.lang.String value) { + public Builder setGroupId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + groupId_ = value; onChanged(); return this; } /** - * - * *
      * Required. The group identifier.
      * 
* * string group_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearGroupId() { - + groupId_ = getDefaultInstance().getGroupId(); onChanged(); return this; } /** - * - * *
      * Required. The group identifier.
      * 
* * string group_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for groupId to set. * @return This builder for chaining. */ - public Builder setGroupIdBytes(com.google.protobuf.ByteString value) { + public Builder setGroupIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + groupId_ = value; onChanged(); return this; @@ -967,35 +880,24 @@ public Builder setGroupIdBytes(com.google.protobuf.ByteString value) { private com.google.cloud.vmmigration.v1.Group group_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.vmmigration.v1.Group, - com.google.cloud.vmmigration.v1.Group.Builder, - com.google.cloud.vmmigration.v1.GroupOrBuilder> - groupBuilder_; + com.google.cloud.vmmigration.v1.Group, com.google.cloud.vmmigration.v1.Group.Builder, com.google.cloud.vmmigration.v1.GroupOrBuilder> groupBuilder_; /** - * - * *
      * Required. The create request body.
      * 
* - * .google.cloud.vmmigration.v1.Group group = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.vmmigration.v1.Group group = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the group field is set. */ public boolean hasGroup() { return groupBuilder_ != null || group_ != null; } /** - * - * *
      * Required. The create request body.
      * 
* - * .google.cloud.vmmigration.v1.Group group = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.vmmigration.v1.Group group = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The group. */ public com.google.cloud.vmmigration.v1.Group getGroup() { @@ -1006,14 +908,11 @@ public com.google.cloud.vmmigration.v1.Group getGroup() { } } /** - * - * *
      * Required. The create request body.
      * 
* - * .google.cloud.vmmigration.v1.Group group = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.vmmigration.v1.Group group = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setGroup(com.google.cloud.vmmigration.v1.Group value) { if (groupBuilder_ == null) { @@ -1029,16 +928,14 @@ public Builder setGroup(com.google.cloud.vmmigration.v1.Group value) { return this; } /** - * - * *
      * Required. The create request body.
      * 
* - * .google.cloud.vmmigration.v1.Group group = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.vmmigration.v1.Group group = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setGroup(com.google.cloud.vmmigration.v1.Group.Builder builderForValue) { + public Builder setGroup( + com.google.cloud.vmmigration.v1.Group.Builder builderForValue) { if (groupBuilder_ == null) { group_ = builderForValue.build(); onChanged(); @@ -1049,22 +946,17 @@ public Builder setGroup(com.google.cloud.vmmigration.v1.Group.Builder builderFor return this; } /** - * - * *
      * Required. The create request body.
      * 
* - * .google.cloud.vmmigration.v1.Group group = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.vmmigration.v1.Group group = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeGroup(com.google.cloud.vmmigration.v1.Group value) { if (groupBuilder_ == null) { if (group_ != null) { group_ = - com.google.cloud.vmmigration.v1.Group.newBuilder(group_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.vmmigration.v1.Group.newBuilder(group_).mergeFrom(value).buildPartial(); } else { group_ = value; } @@ -1076,14 +968,11 @@ public Builder mergeGroup(com.google.cloud.vmmigration.v1.Group value) { return this; } /** - * - * *
      * Required. The create request body.
      * 
* - * .google.cloud.vmmigration.v1.Group group = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.vmmigration.v1.Group group = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearGroup() { if (groupBuilder_ == null) { @@ -1097,59 +986,48 @@ public Builder clearGroup() { return this; } /** - * - * *
      * Required. The create request body.
      * 
* - * .google.cloud.vmmigration.v1.Group group = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.vmmigration.v1.Group group = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.vmmigration.v1.Group.Builder getGroupBuilder() { - + onChanged(); return getGroupFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The create request body.
      * 
* - * .google.cloud.vmmigration.v1.Group group = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.vmmigration.v1.Group group = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.vmmigration.v1.GroupOrBuilder getGroupOrBuilder() { if (groupBuilder_ != null) { return groupBuilder_.getMessageOrBuilder(); } else { - return group_ == null ? com.google.cloud.vmmigration.v1.Group.getDefaultInstance() : group_; + return group_ == null ? + com.google.cloud.vmmigration.v1.Group.getDefaultInstance() : group_; } } /** - * - * *
      * Required. The create request body.
      * 
* - * .google.cloud.vmmigration.v1.Group group = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.vmmigration.v1.Group group = 3 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.vmmigration.v1.Group, - com.google.cloud.vmmigration.v1.Group.Builder, - com.google.cloud.vmmigration.v1.GroupOrBuilder> + com.google.cloud.vmmigration.v1.Group, com.google.cloud.vmmigration.v1.Group.Builder, com.google.cloud.vmmigration.v1.GroupOrBuilder> getGroupFieldBuilder() { if (groupBuilder_ == null) { - groupBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.vmmigration.v1.Group, - com.google.cloud.vmmigration.v1.Group.Builder, - com.google.cloud.vmmigration.v1.GroupOrBuilder>( - getGroup(), getParentForChildren(), isClean()); + groupBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.vmmigration.v1.Group, com.google.cloud.vmmigration.v1.Group.Builder, com.google.cloud.vmmigration.v1.GroupOrBuilder>( + getGroup(), + getParentForChildren(), + isClean()); group_ = null; } return groupBuilder_; @@ -1157,8 +1035,6 @@ public com.google.cloud.vmmigration.v1.GroupOrBuilder getGroupOrBuilder() { private java.lang.Object requestId_ = ""; /** - * - * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1174,13 +1050,13 @@ public com.google.cloud.vmmigration.v1.GroupOrBuilder getGroupOrBuilder() {
      * 
* * string request_id = 4; - * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; 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(); requestId_ = s; return s; @@ -1189,8 +1065,6 @@ public java.lang.String getRequestId() { } } /** - * - * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1206,14 +1080,15 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 4; - * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; 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); requestId_ = b; return b; } else { @@ -1221,8 +1096,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } } /** - * - * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1238,22 +1111,20 @@ public com.google.protobuf.ByteString getRequestIdBytes() {
      * 
* * string request_id = 4; - * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId(java.lang.String value) { + public Builder setRequestId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + requestId_ = value; onChanged(); return this; } /** - * - * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1269,18 +1140,15 @@ public Builder setRequestId(java.lang.String value) {
      * 
* * string request_id = 4; - * * @return This builder for chaining. */ public Builder clearRequestId() { - + requestId_ = getDefaultInstance().getRequestId(); onChanged(); return this; } /** - * - * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1296,23 +1164,23 @@ public Builder clearRequestId() {
      * 
* * string request_id = 4; - * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { + public Builder setRequestIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + requestId_ = 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); } @@ -1322,12 +1190,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.vmmigration.v1.CreateGroupRequest) } // @@protoc_insertion_point(class_scope:google.cloud.vmmigration.v1.CreateGroupRequest) private static final com.google.cloud.vmmigration.v1.CreateGroupRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.vmmigration.v1.CreateGroupRequest(); } @@ -1336,16 +1204,16 @@ public static com.google.cloud.vmmigration.v1.CreateGroupRequest getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateGroupRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateGroupRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateGroupRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CreateGroupRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1360,4 +1228,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.vmmigration.v1.CreateGroupRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CreateGroupRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CreateGroupRequestOrBuilder.java similarity index 71% rename from proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CreateGroupRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CreateGroupRequestOrBuilder.java index c0c3b00..ce2a036 100644 --- a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CreateGroupRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CreateGroupRequestOrBuilder.java @@ -1,123 +1,80 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; -public interface CreateGroupRequestOrBuilder - extends +public interface CreateGroupRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.CreateGroupRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The Group's parent.
    * 
* - * - * 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 Group's parent.
    * 
* - * - * 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. The group identifier.
    * 
* * string group_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The groupId. */ java.lang.String getGroupId(); /** - * - * *
    * Required. The group identifier.
    * 
* * string group_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for groupId. */ - com.google.protobuf.ByteString getGroupIdBytes(); + com.google.protobuf.ByteString + getGroupIdBytes(); /** - * - * *
    * Required. The create request body.
    * 
* - * .google.cloud.vmmigration.v1.Group group = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.vmmigration.v1.Group group = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the group field is set. */ boolean hasGroup(); /** - * - * *
    * Required. The create request body.
    * 
* - * .google.cloud.vmmigration.v1.Group group = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.vmmigration.v1.Group group = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The group. */ com.google.cloud.vmmigration.v1.Group getGroup(); /** - * - * *
    * Required. The create request body.
    * 
* - * .google.cloud.vmmigration.v1.Group group = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.vmmigration.v1.Group group = 3 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.vmmigration.v1.GroupOrBuilder getGroupOrBuilder(); /** - * - * *
    * A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -133,13 +90,10 @@ public interface CreateGroupRequestOrBuilder
    * 
* * string request_id = 4; - * * @return The requestId. */ java.lang.String getRequestId(); /** - * - * *
    * A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -155,8 +109,8 @@ public interface CreateGroupRequestOrBuilder
    * 
* * string request_id = 4; - * * @return The bytes for requestId. */ - com.google.protobuf.ByteString getRequestIdBytes(); + com.google.protobuf.ByteString + getRequestIdBytes(); } diff --git a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CreateMigratingVmRequest.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CreateMigratingVmRequest.java similarity index 69% rename from proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CreateMigratingVmRequest.java rename to owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CreateMigratingVmRequest.java index 6a334bb..7c70ba5 100644 --- a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CreateMigratingVmRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CreateMigratingVmRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; /** - * - * *
  * Request message for 'CreateMigratingVm' request.
  * 
* * Protobuf type {@code google.cloud.vmmigration.v1.CreateMigratingVmRequest} */ -public final class CreateMigratingVmRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateMigratingVmRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.vmmigration.v1.CreateMigratingVmRequest) CreateMigratingVmRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateMigratingVmRequest.newBuilder() to construct. private CreateMigratingVmRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateMigratingVmRequest() { parent_ = ""; migratingVmId_ = ""; @@ -45,15 +27,16 @@ private CreateMigratingVmRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateMigratingVmRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private CreateMigratingVmRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,50 +55,44 @@ private CreateMigratingVmRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - migratingVmId_ = s; - break; + migratingVmId_ = s; + break; + } + case 26: { + com.google.cloud.vmmigration.v1.MigratingVm.Builder subBuilder = null; + if (migratingVm_ != null) { + subBuilder = migratingVm_.toBuilder(); } - case 26: - { - com.google.cloud.vmmigration.v1.MigratingVm.Builder subBuilder = null; - if (migratingVm_ != null) { - subBuilder = migratingVm_.toBuilder(); - } - migratingVm_ = - input.readMessage( - com.google.cloud.vmmigration.v1.MigratingVm.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(migratingVm_); - migratingVm_ = subBuilder.buildPartial(); - } - - break; + migratingVm_ = input.readMessage(com.google.cloud.vmmigration.v1.MigratingVm.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(migratingVm_); + migratingVm_ = subBuilder.buildPartial(); } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); - requestId_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); + + requestId_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -123,41 +100,34 @@ private CreateMigratingVmRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_CreateMigratingVmRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_CreateMigratingVmRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_CreateMigratingVmRequest_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_CreateMigratingVmRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.CreateMigratingVmRequest.class, - com.google.cloud.vmmigration.v1.CreateMigratingVmRequest.Builder.class); + com.google.cloud.vmmigration.v1.CreateMigratingVmRequest.class, com.google.cloud.vmmigration.v1.CreateMigratingVmRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The MigratingVm's parent.
    * 
* - * - * 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 @@ -166,31 +136,29 @@ 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 MigratingVm's parent.
    * 
* - * - * 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 { @@ -201,14 +169,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int MIGRATING_VM_ID_FIELD_NUMBER = 2; private volatile java.lang.Object migratingVmId_; /** - * - * *
    * Required. The migratingVm identifier.
    * 
* * string migrating_vm_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The migratingVmId. */ @java.lang.Override @@ -217,29 +182,29 @@ public java.lang.String getMigratingVmId() { 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(); migratingVmId_ = s; return s; } } /** - * - * *
    * Required. The migratingVm identifier.
    * 
* * string migrating_vm_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for migratingVmId. */ @java.lang.Override - public com.google.protobuf.ByteString getMigratingVmIdBytes() { + public com.google.protobuf.ByteString + getMigratingVmIdBytes() { java.lang.Object ref = migratingVmId_; 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); migratingVmId_ = b; return b; } else { @@ -250,16 +215,11 @@ public com.google.protobuf.ByteString getMigratingVmIdBytes() { public static final int MIGRATING_VM_FIELD_NUMBER = 3; private com.google.cloud.vmmigration.v1.MigratingVm migratingVm_; /** - * - * *
    * Required. The create request body.
    * 
* - * - * .google.cloud.vmmigration.v1.MigratingVm migrating_vm = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.vmmigration.v1.MigratingVm migrating_vm = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the migratingVm field is set. */ @java.lang.Override @@ -267,34 +227,23 @@ public boolean hasMigratingVm() { return migratingVm_ != null; } /** - * - * *
    * Required. The create request body.
    * 
* - * - * .google.cloud.vmmigration.v1.MigratingVm migrating_vm = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.vmmigration.v1.MigratingVm migrating_vm = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The migratingVm. */ @java.lang.Override public com.google.cloud.vmmigration.v1.MigratingVm getMigratingVm() { - return migratingVm_ == null - ? com.google.cloud.vmmigration.v1.MigratingVm.getDefaultInstance() - : migratingVm_; + return migratingVm_ == null ? com.google.cloud.vmmigration.v1.MigratingVm.getDefaultInstance() : migratingVm_; } /** - * - * *
    * Required. The create request body.
    * 
* - * - * .google.cloud.vmmigration.v1.MigratingVm migrating_vm = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.vmmigration.v1.MigratingVm migrating_vm = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.vmmigration.v1.MigratingVmOrBuilder getMigratingVmOrBuilder() { @@ -304,8 +253,6 @@ public com.google.cloud.vmmigration.v1.MigratingVmOrBuilder getMigratingVmOrBuil public static final int REQUEST_ID_FIELD_NUMBER = 4; private volatile java.lang.Object requestId_; /** - * - * *
    * A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -321,7 +268,6 @@ public com.google.cloud.vmmigration.v1.MigratingVmOrBuilder getMigratingVmOrBuil
    * 
* * string request_id = 4; - * * @return The requestId. */ @java.lang.Override @@ -330,15 +276,14 @@ public java.lang.String getRequestId() { 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(); requestId_ = s; return s; } } /** - * - * *
    * A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -354,15 +299,16 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 4; - * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; 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); requestId_ = b; return b; } else { @@ -371,7 +317,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -383,7 +328,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_); } @@ -412,7 +358,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, migratingVmId_); } if (migratingVm_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getMigratingVm()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getMigratingVm()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, requestId_); @@ -425,21 +372,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.vmmigration.v1.CreateMigratingVmRequest)) { return super.equals(obj); } - com.google.cloud.vmmigration.v1.CreateMigratingVmRequest other = - (com.google.cloud.vmmigration.v1.CreateMigratingVmRequest) obj; + com.google.cloud.vmmigration.v1.CreateMigratingVmRequest other = (com.google.cloud.vmmigration.v1.CreateMigratingVmRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (!getMigratingVmId().equals(other.getMigratingVmId())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (!getMigratingVmId() + .equals(other.getMigratingVmId())) return false; if (hasMigratingVm() != other.hasMigratingVm()) return false; if (hasMigratingVm()) { - if (!getMigratingVm().equals(other.getMigratingVm())) return false; + if (!getMigratingVm() + .equals(other.getMigratingVm())) return false; } - if (!getRequestId().equals(other.getRequestId())) return false; + if (!getRequestId() + .equals(other.getRequestId())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -467,127 +417,117 @@ public int hashCode() { } public static com.google.cloud.vmmigration.v1.CreateMigratingVmRequest 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.vmmigration.v1.CreateMigratingVmRequest 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.vmmigration.v1.CreateMigratingVmRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.vmmigration.v1.CreateMigratingVmRequest 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.vmmigration.v1.CreateMigratingVmRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.vmmigration.v1.CreateMigratingVmRequest 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.vmmigration.v1.CreateMigratingVmRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.vmmigration.v1.CreateMigratingVmRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.vmmigration.v1.CreateMigratingVmRequest 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.vmmigration.v1.CreateMigratingVmRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.vmmigration.v1.CreateMigratingVmRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.vmmigration.v1.CreateMigratingVmRequest 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.vmmigration.v1.CreateMigratingVmRequest 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.vmmigration.v1.CreateMigratingVmRequest 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.vmmigration.v1.CreateMigratingVmRequest prototype) { + public static Builder newBuilder(com.google.cloud.vmmigration.v1.CreateMigratingVmRequest 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 message for 'CreateMigratingVm' request.
    * 
* * Protobuf type {@code google.cloud.vmmigration.v1.CreateMigratingVmRequest} */ - 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.vmmigration.v1.CreateMigratingVmRequest) com.google.cloud.vmmigration.v1.CreateMigratingVmRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_CreateMigratingVmRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_CreateMigratingVmRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_CreateMigratingVmRequest_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_CreateMigratingVmRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.CreateMigratingVmRequest.class, - com.google.cloud.vmmigration.v1.CreateMigratingVmRequest.Builder.class); + com.google.cloud.vmmigration.v1.CreateMigratingVmRequest.class, com.google.cloud.vmmigration.v1.CreateMigratingVmRequest.Builder.class); } // Construct using com.google.cloud.vmmigration.v1.CreateMigratingVmRequest.newBuilder() @@ -595,15 +535,16 @@ 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) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -623,9 +564,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_CreateMigratingVmRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_CreateMigratingVmRequest_descriptor; } @java.lang.Override @@ -644,8 +585,7 @@ public com.google.cloud.vmmigration.v1.CreateMigratingVmRequest build() { @java.lang.Override public com.google.cloud.vmmigration.v1.CreateMigratingVmRequest buildPartial() { - com.google.cloud.vmmigration.v1.CreateMigratingVmRequest result = - new com.google.cloud.vmmigration.v1.CreateMigratingVmRequest(this); + com.google.cloud.vmmigration.v1.CreateMigratingVmRequest result = new com.google.cloud.vmmigration.v1.CreateMigratingVmRequest(this); result.parent_ = parent_; result.migratingVmId_ = migratingVmId_; if (migratingVmBuilder_ == null) { @@ -662,39 +602,38 @@ public com.google.cloud.vmmigration.v1.CreateMigratingVmRequest buildPartial() { 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.vmmigration.v1.CreateMigratingVmRequest) { - return mergeFrom((com.google.cloud.vmmigration.v1.CreateMigratingVmRequest) other); + return mergeFrom((com.google.cloud.vmmigration.v1.CreateMigratingVmRequest)other); } else { super.mergeFrom(other); return this; @@ -702,8 +641,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.vmmigration.v1.CreateMigratingVmRequest other) { - if (other == com.google.cloud.vmmigration.v1.CreateMigratingVmRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.vmmigration.v1.CreateMigratingVmRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -738,8 +676,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.vmmigration.v1.CreateMigratingVmRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.vmmigration.v1.CreateMigratingVmRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -751,22 +688,18 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The MigratingVm's parent.
      * 
* - * - * 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; @@ -775,23 +708,20 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The MigratingVm's parent.
      * 
* - * - * 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 { @@ -799,67 +729,54 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The MigratingVm's parent.
      * 
* - * - * 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) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The MigratingVm's parent.
      * 
* - * - * 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() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The MigratingVm's parent.
      * 
* - * - * 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) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -867,20 +784,18 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object migratingVmId_ = ""; /** - * - * *
      * Required. The migratingVm identifier.
      * 
* * string migrating_vm_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The migratingVmId. */ public java.lang.String getMigratingVmId() { java.lang.Object ref = migratingVmId_; 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(); migratingVmId_ = s; return s; @@ -889,21 +804,20 @@ public java.lang.String getMigratingVmId() { } } /** - * - * *
      * Required. The migratingVm identifier.
      * 
* * string migrating_vm_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for migratingVmId. */ - public com.google.protobuf.ByteString getMigratingVmIdBytes() { + public com.google.protobuf.ByteString + getMigratingVmIdBytes() { java.lang.Object ref = migratingVmId_; 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); migratingVmId_ = b; return b; } else { @@ -911,61 +825,54 @@ public com.google.protobuf.ByteString getMigratingVmIdBytes() { } } /** - * - * *
      * Required. The migratingVm identifier.
      * 
* * string migrating_vm_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The migratingVmId to set. * @return This builder for chaining. */ - public Builder setMigratingVmId(java.lang.String value) { + public Builder setMigratingVmId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + migratingVmId_ = value; onChanged(); return this; } /** - * - * *
      * Required. The migratingVm identifier.
      * 
* * string migrating_vm_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearMigratingVmId() { - + migratingVmId_ = getDefaultInstance().getMigratingVmId(); onChanged(); return this; } /** - * - * *
      * Required. The migratingVm identifier.
      * 
* * string migrating_vm_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for migratingVmId to set. * @return This builder for chaining. */ - public Builder setMigratingVmIdBytes(com.google.protobuf.ByteString value) { + public Builder setMigratingVmIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + migratingVmId_ = value; onChanged(); return this; @@ -973,58 +880,39 @@ public Builder setMigratingVmIdBytes(com.google.protobuf.ByteString value) { private com.google.cloud.vmmigration.v1.MigratingVm migratingVm_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.vmmigration.v1.MigratingVm, - com.google.cloud.vmmigration.v1.MigratingVm.Builder, - com.google.cloud.vmmigration.v1.MigratingVmOrBuilder> - migratingVmBuilder_; + com.google.cloud.vmmigration.v1.MigratingVm, com.google.cloud.vmmigration.v1.MigratingVm.Builder, com.google.cloud.vmmigration.v1.MigratingVmOrBuilder> migratingVmBuilder_; /** - * - * *
      * Required. The create request body.
      * 
* - * - * .google.cloud.vmmigration.v1.MigratingVm migrating_vm = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.vmmigration.v1.MigratingVm migrating_vm = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the migratingVm field is set. */ public boolean hasMigratingVm() { return migratingVmBuilder_ != null || migratingVm_ != null; } /** - * - * *
      * Required. The create request body.
      * 
* - * - * .google.cloud.vmmigration.v1.MigratingVm migrating_vm = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.vmmigration.v1.MigratingVm migrating_vm = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The migratingVm. */ public com.google.cloud.vmmigration.v1.MigratingVm getMigratingVm() { if (migratingVmBuilder_ == null) { - return migratingVm_ == null - ? com.google.cloud.vmmigration.v1.MigratingVm.getDefaultInstance() - : migratingVm_; + return migratingVm_ == null ? com.google.cloud.vmmigration.v1.MigratingVm.getDefaultInstance() : migratingVm_; } else { return migratingVmBuilder_.getMessage(); } } /** - * - * *
      * Required. The create request body.
      * 
* - * - * .google.cloud.vmmigration.v1.MigratingVm migrating_vm = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.vmmigration.v1.MigratingVm migrating_vm = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setMigratingVm(com.google.cloud.vmmigration.v1.MigratingVm value) { if (migratingVmBuilder_ == null) { @@ -1040,15 +928,11 @@ public Builder setMigratingVm(com.google.cloud.vmmigration.v1.MigratingVm value) return this; } /** - * - * *
      * Required. The create request body.
      * 
* - * - * .google.cloud.vmmigration.v1.MigratingVm migrating_vm = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.vmmigration.v1.MigratingVm migrating_vm = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setMigratingVm( com.google.cloud.vmmigration.v1.MigratingVm.Builder builderForValue) { @@ -1062,23 +946,17 @@ public Builder setMigratingVm( return this; } /** - * - * *
      * Required. The create request body.
      * 
* - * - * .google.cloud.vmmigration.v1.MigratingVm migrating_vm = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.vmmigration.v1.MigratingVm migrating_vm = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeMigratingVm(com.google.cloud.vmmigration.v1.MigratingVm value) { if (migratingVmBuilder_ == null) { if (migratingVm_ != null) { migratingVm_ = - com.google.cloud.vmmigration.v1.MigratingVm.newBuilder(migratingVm_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.vmmigration.v1.MigratingVm.newBuilder(migratingVm_).mergeFrom(value).buildPartial(); } else { migratingVm_ = value; } @@ -1090,15 +968,11 @@ public Builder mergeMigratingVm(com.google.cloud.vmmigration.v1.MigratingVm valu return this; } /** - * - * *
      * Required. The create request body.
      * 
* - * - * .google.cloud.vmmigration.v1.MigratingVm migrating_vm = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.vmmigration.v1.MigratingVm migrating_vm = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearMigratingVm() { if (migratingVmBuilder_ == null) { @@ -1112,64 +986,48 @@ public Builder clearMigratingVm() { return this; } /** - * - * *
      * Required. The create request body.
      * 
* - * - * .google.cloud.vmmigration.v1.MigratingVm migrating_vm = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.vmmigration.v1.MigratingVm migrating_vm = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.vmmigration.v1.MigratingVm.Builder getMigratingVmBuilder() { - + onChanged(); return getMigratingVmFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The create request body.
      * 
* - * - * .google.cloud.vmmigration.v1.MigratingVm migrating_vm = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.vmmigration.v1.MigratingVm migrating_vm = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.vmmigration.v1.MigratingVmOrBuilder getMigratingVmOrBuilder() { if (migratingVmBuilder_ != null) { return migratingVmBuilder_.getMessageOrBuilder(); } else { - return migratingVm_ == null - ? com.google.cloud.vmmigration.v1.MigratingVm.getDefaultInstance() - : migratingVm_; + return migratingVm_ == null ? + com.google.cloud.vmmigration.v1.MigratingVm.getDefaultInstance() : migratingVm_; } } /** - * - * *
      * Required. The create request body.
      * 
* - * - * .google.cloud.vmmigration.v1.MigratingVm migrating_vm = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.vmmigration.v1.MigratingVm migrating_vm = 3 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.vmmigration.v1.MigratingVm, - com.google.cloud.vmmigration.v1.MigratingVm.Builder, - com.google.cloud.vmmigration.v1.MigratingVmOrBuilder> + com.google.cloud.vmmigration.v1.MigratingVm, com.google.cloud.vmmigration.v1.MigratingVm.Builder, com.google.cloud.vmmigration.v1.MigratingVmOrBuilder> getMigratingVmFieldBuilder() { if (migratingVmBuilder_ == null) { - migratingVmBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.vmmigration.v1.MigratingVm, - com.google.cloud.vmmigration.v1.MigratingVm.Builder, - com.google.cloud.vmmigration.v1.MigratingVmOrBuilder>( - getMigratingVm(), getParentForChildren(), isClean()); + migratingVmBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.vmmigration.v1.MigratingVm, com.google.cloud.vmmigration.v1.MigratingVm.Builder, com.google.cloud.vmmigration.v1.MigratingVmOrBuilder>( + getMigratingVm(), + getParentForChildren(), + isClean()); migratingVm_ = null; } return migratingVmBuilder_; @@ -1177,8 +1035,6 @@ public com.google.cloud.vmmigration.v1.MigratingVmOrBuilder getMigratingVmOrBuil private java.lang.Object requestId_ = ""; /** - * - * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1194,13 +1050,13 @@ public com.google.cloud.vmmigration.v1.MigratingVmOrBuilder getMigratingVmOrBuil
      * 
* * string request_id = 4; - * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; 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(); requestId_ = s; return s; @@ -1209,8 +1065,6 @@ public java.lang.String getRequestId() { } } /** - * - * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1226,14 +1080,15 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 4; - * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; 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); requestId_ = b; return b; } else { @@ -1241,8 +1096,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } } /** - * - * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1258,22 +1111,20 @@ public com.google.protobuf.ByteString getRequestIdBytes() {
      * 
* * string request_id = 4; - * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId(java.lang.String value) { + public Builder setRequestId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + requestId_ = value; onChanged(); return this; } /** - * - * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1289,18 +1140,15 @@ public Builder setRequestId(java.lang.String value) {
      * 
* * string request_id = 4; - * * @return This builder for chaining. */ public Builder clearRequestId() { - + requestId_ = getDefaultInstance().getRequestId(); onChanged(); return this; } /** - * - * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1316,23 +1164,23 @@ public Builder clearRequestId() {
      * 
* * string request_id = 4; - * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { + public Builder setRequestIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + requestId_ = 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); } @@ -1342,12 +1190,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.vmmigration.v1.CreateMigratingVmRequest) } // @@protoc_insertion_point(class_scope:google.cloud.vmmigration.v1.CreateMigratingVmRequest) private static final com.google.cloud.vmmigration.v1.CreateMigratingVmRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.vmmigration.v1.CreateMigratingVmRequest(); } @@ -1356,16 +1204,16 @@ public static com.google.cloud.vmmigration.v1.CreateMigratingVmRequest getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateMigratingVmRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateMigratingVmRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateMigratingVmRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CreateMigratingVmRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1380,4 +1228,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.vmmigration.v1.CreateMigratingVmRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CreateMigratingVmRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CreateMigratingVmRequestOrBuilder.java similarity index 67% rename from proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CreateMigratingVmRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CreateMigratingVmRequestOrBuilder.java index b537d65..3196da0 100644 --- a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CreateMigratingVmRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CreateMigratingVmRequestOrBuilder.java @@ -1,126 +1,80 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; -public interface CreateMigratingVmRequestOrBuilder - extends +public interface CreateMigratingVmRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.CreateMigratingVmRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The MigratingVm's parent.
    * 
* - * - * 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 MigratingVm's parent.
    * 
* - * - * 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. The migratingVm identifier.
    * 
* * string migrating_vm_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The migratingVmId. */ java.lang.String getMigratingVmId(); /** - * - * *
    * Required. The migratingVm identifier.
    * 
* * string migrating_vm_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for migratingVmId. */ - com.google.protobuf.ByteString getMigratingVmIdBytes(); + com.google.protobuf.ByteString + getMigratingVmIdBytes(); /** - * - * *
    * Required. The create request body.
    * 
* - * - * .google.cloud.vmmigration.v1.MigratingVm migrating_vm = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.vmmigration.v1.MigratingVm migrating_vm = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the migratingVm field is set. */ boolean hasMigratingVm(); /** - * - * *
    * Required. The create request body.
    * 
* - * - * .google.cloud.vmmigration.v1.MigratingVm migrating_vm = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.vmmigration.v1.MigratingVm migrating_vm = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The migratingVm. */ com.google.cloud.vmmigration.v1.MigratingVm getMigratingVm(); /** - * - * *
    * Required. The create request body.
    * 
* - * - * .google.cloud.vmmigration.v1.MigratingVm migrating_vm = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.vmmigration.v1.MigratingVm migrating_vm = 3 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.vmmigration.v1.MigratingVmOrBuilder getMigratingVmOrBuilder(); /** - * - * *
    * A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -136,13 +90,10 @@ public interface CreateMigratingVmRequestOrBuilder
    * 
* * string request_id = 4; - * * @return The requestId. */ java.lang.String getRequestId(); /** - * - * *
    * A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -158,8 +109,8 @@ public interface CreateMigratingVmRequestOrBuilder
    * 
* * string request_id = 4; - * * @return The bytes for requestId. */ - com.google.protobuf.ByteString getRequestIdBytes(); + com.google.protobuf.ByteString + getRequestIdBytes(); } diff --git a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CreateSourceRequest.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CreateSourceRequest.java similarity index 69% rename from proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CreateSourceRequest.java rename to owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CreateSourceRequest.java index 3aeb319..0ec2c27 100644 --- a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CreateSourceRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CreateSourceRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; /** - * - * *
  * Request message for 'CreateSource' request.
  * 
* * Protobuf type {@code google.cloud.vmmigration.v1.CreateSourceRequest} */ -public final class CreateSourceRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateSourceRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.vmmigration.v1.CreateSourceRequest) CreateSourceRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateSourceRequest.newBuilder() to construct. private CreateSourceRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateSourceRequest() { parent_ = ""; sourceId_ = ""; @@ -45,15 +27,16 @@ private CreateSourceRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateSourceRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private CreateSourceRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,50 +55,44 @@ private CreateSourceRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - sourceId_ = s; - break; + sourceId_ = s; + break; + } + case 26: { + com.google.cloud.vmmigration.v1.Source.Builder subBuilder = null; + if (source_ != null) { + subBuilder = source_.toBuilder(); } - case 26: - { - com.google.cloud.vmmigration.v1.Source.Builder subBuilder = null; - if (source_ != null) { - subBuilder = source_.toBuilder(); - } - source_ = - input.readMessage( - com.google.cloud.vmmigration.v1.Source.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(source_); - source_ = subBuilder.buildPartial(); - } - - break; + source_ = input.readMessage(com.google.cloud.vmmigration.v1.Source.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(source_); + source_ = subBuilder.buildPartial(); } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); - requestId_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); + + requestId_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -123,41 +100,34 @@ private CreateSourceRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_CreateSourceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_CreateSourceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_CreateSourceRequest_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_CreateSourceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.CreateSourceRequest.class, - com.google.cloud.vmmigration.v1.CreateSourceRequest.Builder.class); + com.google.cloud.vmmigration.v1.CreateSourceRequest.class, com.google.cloud.vmmigration.v1.CreateSourceRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The Source's parent.
    * 
* - * - * 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 @@ -166,31 +136,29 @@ 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 Source's parent.
    * 
* - * - * 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 { @@ -201,14 +169,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int SOURCE_ID_FIELD_NUMBER = 2; private volatile java.lang.Object sourceId_; /** - * - * *
    * Required. The source identifier.
    * 
* * string source_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The sourceId. */ @java.lang.Override @@ -217,29 +182,29 @@ public java.lang.String getSourceId() { 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(); sourceId_ = s; return s; } } /** - * - * *
    * Required. The source identifier.
    * 
* * string source_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for sourceId. */ @java.lang.Override - public com.google.protobuf.ByteString getSourceIdBytes() { + public com.google.protobuf.ByteString + getSourceIdBytes() { java.lang.Object ref = sourceId_; 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); sourceId_ = b; return b; } else { @@ -250,15 +215,11 @@ public com.google.protobuf.ByteString getSourceIdBytes() { public static final int SOURCE_FIELD_NUMBER = 3; private com.google.cloud.vmmigration.v1.Source source_; /** - * - * *
    * Required. The create request body.
    * 
* - * .google.cloud.vmmigration.v1.Source source = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.vmmigration.v1.Source source = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the source field is set. */ @java.lang.Override @@ -266,15 +227,11 @@ public boolean hasSource() { return source_ != null; } /** - * - * *
    * Required. The create request body.
    * 
* - * .google.cloud.vmmigration.v1.Source source = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.vmmigration.v1.Source source = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The source. */ @java.lang.Override @@ -282,14 +239,11 @@ public com.google.cloud.vmmigration.v1.Source getSource() { return source_ == null ? com.google.cloud.vmmigration.v1.Source.getDefaultInstance() : source_; } /** - * - * *
    * Required. The create request body.
    * 
* - * .google.cloud.vmmigration.v1.Source source = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.vmmigration.v1.Source source = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.vmmigration.v1.SourceOrBuilder getSourceOrBuilder() { @@ -299,8 +253,6 @@ public com.google.cloud.vmmigration.v1.SourceOrBuilder getSourceOrBuilder() { public static final int REQUEST_ID_FIELD_NUMBER = 4; private volatile java.lang.Object requestId_; /** - * - * *
    * A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -316,7 +268,6 @@ public com.google.cloud.vmmigration.v1.SourceOrBuilder getSourceOrBuilder() {
    * 
* * string request_id = 4; - * * @return The requestId. */ @java.lang.Override @@ -325,15 +276,14 @@ public java.lang.String getRequestId() { 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(); requestId_ = s; return s; } } /** - * - * *
    * A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -349,15 +299,16 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 4; - * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; 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); requestId_ = b; return b; } else { @@ -366,7 +317,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -378,7 +328,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_); } @@ -407,7 +358,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, sourceId_); } if (source_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getSource()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getSource()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, requestId_); @@ -420,21 +372,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.vmmigration.v1.CreateSourceRequest)) { return super.equals(obj); } - com.google.cloud.vmmigration.v1.CreateSourceRequest other = - (com.google.cloud.vmmigration.v1.CreateSourceRequest) obj; + com.google.cloud.vmmigration.v1.CreateSourceRequest other = (com.google.cloud.vmmigration.v1.CreateSourceRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (!getSourceId().equals(other.getSourceId())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (!getSourceId() + .equals(other.getSourceId())) return false; if (hasSource() != other.hasSource()) return false; if (hasSource()) { - if (!getSource().equals(other.getSource())) return false; + if (!getSource() + .equals(other.getSource())) return false; } - if (!getRequestId().equals(other.getRequestId())) return false; + if (!getRequestId() + .equals(other.getRequestId())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -462,126 +417,117 @@ public int hashCode() { } public static com.google.cloud.vmmigration.v1.CreateSourceRequest 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.vmmigration.v1.CreateSourceRequest 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.vmmigration.v1.CreateSourceRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.vmmigration.v1.CreateSourceRequest 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.vmmigration.v1.CreateSourceRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.vmmigration.v1.CreateSourceRequest 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.vmmigration.v1.CreateSourceRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.vmmigration.v1.CreateSourceRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.vmmigration.v1.CreateSourceRequest 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.vmmigration.v1.CreateSourceRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.vmmigration.v1.CreateSourceRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.vmmigration.v1.CreateSourceRequest 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.vmmigration.v1.CreateSourceRequest 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.vmmigration.v1.CreateSourceRequest 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.vmmigration.v1.CreateSourceRequest 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 message for 'CreateSource' request.
    * 
* * Protobuf type {@code google.cloud.vmmigration.v1.CreateSourceRequest} */ - 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.vmmigration.v1.CreateSourceRequest) com.google.cloud.vmmigration.v1.CreateSourceRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_CreateSourceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_CreateSourceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_CreateSourceRequest_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_CreateSourceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.CreateSourceRequest.class, - com.google.cloud.vmmigration.v1.CreateSourceRequest.Builder.class); + com.google.cloud.vmmigration.v1.CreateSourceRequest.class, com.google.cloud.vmmigration.v1.CreateSourceRequest.Builder.class); } // Construct using com.google.cloud.vmmigration.v1.CreateSourceRequest.newBuilder() @@ -589,15 +535,16 @@ 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) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -617,9 +564,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_CreateSourceRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_CreateSourceRequest_descriptor; } @java.lang.Override @@ -638,8 +585,7 @@ public com.google.cloud.vmmigration.v1.CreateSourceRequest build() { @java.lang.Override public com.google.cloud.vmmigration.v1.CreateSourceRequest buildPartial() { - com.google.cloud.vmmigration.v1.CreateSourceRequest result = - new com.google.cloud.vmmigration.v1.CreateSourceRequest(this); + com.google.cloud.vmmigration.v1.CreateSourceRequest result = new com.google.cloud.vmmigration.v1.CreateSourceRequest(this); result.parent_ = parent_; result.sourceId_ = sourceId_; if (sourceBuilder_ == null) { @@ -656,39 +602,38 @@ public com.google.cloud.vmmigration.v1.CreateSourceRequest buildPartial() { 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.vmmigration.v1.CreateSourceRequest) { - return mergeFrom((com.google.cloud.vmmigration.v1.CreateSourceRequest) other); + return mergeFrom((com.google.cloud.vmmigration.v1.CreateSourceRequest)other); } else { super.mergeFrom(other); return this; @@ -696,8 +641,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.vmmigration.v1.CreateSourceRequest other) { - if (other == com.google.cloud.vmmigration.v1.CreateSourceRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.vmmigration.v1.CreateSourceRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -732,8 +676,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.vmmigration.v1.CreateSourceRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.vmmigration.v1.CreateSourceRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -745,22 +688,18 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The Source's parent.
      * 
* - * - * 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; @@ -769,23 +708,20 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The Source's parent.
      * 
* - * - * 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 { @@ -793,67 +729,54 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The Source's parent.
      * 
* - * - * 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) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The Source's parent.
      * 
* - * - * 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() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The Source's parent.
      * 
* - * - * 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) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -861,20 +784,18 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object sourceId_ = ""; /** - * - * *
      * Required. The source identifier.
      * 
* * string source_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The sourceId. */ public java.lang.String getSourceId() { java.lang.Object ref = sourceId_; 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(); sourceId_ = s; return s; @@ -883,21 +804,20 @@ public java.lang.String getSourceId() { } } /** - * - * *
      * Required. The source identifier.
      * 
* * string source_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for sourceId. */ - public com.google.protobuf.ByteString getSourceIdBytes() { + public com.google.protobuf.ByteString + getSourceIdBytes() { java.lang.Object ref = sourceId_; 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); sourceId_ = b; return b; } else { @@ -905,61 +825,54 @@ public com.google.protobuf.ByteString getSourceIdBytes() { } } /** - * - * *
      * Required. The source identifier.
      * 
* * string source_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The sourceId to set. * @return This builder for chaining. */ - public Builder setSourceId(java.lang.String value) { + public Builder setSourceId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + sourceId_ = value; onChanged(); return this; } /** - * - * *
      * Required. The source identifier.
      * 
* * string source_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearSourceId() { - + sourceId_ = getDefaultInstance().getSourceId(); onChanged(); return this; } /** - * - * *
      * Required. The source identifier.
      * 
* * string source_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for sourceId to set. * @return This builder for chaining. */ - public Builder setSourceIdBytes(com.google.protobuf.ByteString value) { + public Builder setSourceIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + sourceId_ = value; onChanged(); return this; @@ -967,58 +880,39 @@ public Builder setSourceIdBytes(com.google.protobuf.ByteString value) { private com.google.cloud.vmmigration.v1.Source source_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.vmmigration.v1.Source, - com.google.cloud.vmmigration.v1.Source.Builder, - com.google.cloud.vmmigration.v1.SourceOrBuilder> - sourceBuilder_; + com.google.cloud.vmmigration.v1.Source, com.google.cloud.vmmigration.v1.Source.Builder, com.google.cloud.vmmigration.v1.SourceOrBuilder> sourceBuilder_; /** - * - * *
      * Required. The create request body.
      * 
* - * - * .google.cloud.vmmigration.v1.Source source = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.vmmigration.v1.Source source = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the source field is set. */ public boolean hasSource() { return sourceBuilder_ != null || source_ != null; } /** - * - * *
      * Required. The create request body.
      * 
* - * - * .google.cloud.vmmigration.v1.Source source = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.vmmigration.v1.Source source = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The source. */ public com.google.cloud.vmmigration.v1.Source getSource() { if (sourceBuilder_ == null) { - return source_ == null - ? com.google.cloud.vmmigration.v1.Source.getDefaultInstance() - : source_; + return source_ == null ? com.google.cloud.vmmigration.v1.Source.getDefaultInstance() : source_; } else { return sourceBuilder_.getMessage(); } } /** - * - * *
      * Required. The create request body.
      * 
* - * - * .google.cloud.vmmigration.v1.Source source = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.vmmigration.v1.Source source = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setSource(com.google.cloud.vmmigration.v1.Source value) { if (sourceBuilder_ == null) { @@ -1034,17 +928,14 @@ public Builder setSource(com.google.cloud.vmmigration.v1.Source value) { return this; } /** - * - * *
      * Required. The create request body.
      * 
* - * - * .google.cloud.vmmigration.v1.Source source = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.vmmigration.v1.Source source = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setSource(com.google.cloud.vmmigration.v1.Source.Builder builderForValue) { + public Builder setSource( + com.google.cloud.vmmigration.v1.Source.Builder builderForValue) { if (sourceBuilder_ == null) { source_ = builderForValue.build(); onChanged(); @@ -1055,23 +946,17 @@ public Builder setSource(com.google.cloud.vmmigration.v1.Source.Builder builderF return this; } /** - * - * *
      * Required. The create request body.
      * 
* - * - * .google.cloud.vmmigration.v1.Source source = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.vmmigration.v1.Source source = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeSource(com.google.cloud.vmmigration.v1.Source value) { if (sourceBuilder_ == null) { if (source_ != null) { source_ = - com.google.cloud.vmmigration.v1.Source.newBuilder(source_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.vmmigration.v1.Source.newBuilder(source_).mergeFrom(value).buildPartial(); } else { source_ = value; } @@ -1083,15 +968,11 @@ public Builder mergeSource(com.google.cloud.vmmigration.v1.Source value) { return this; } /** - * - * *
      * Required. The create request body.
      * 
* - * - * .google.cloud.vmmigration.v1.Source source = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.vmmigration.v1.Source source = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearSource() { if (sourceBuilder_ == null) { @@ -1105,64 +986,48 @@ public Builder clearSource() { return this; } /** - * - * *
      * Required. The create request body.
      * 
* - * - * .google.cloud.vmmigration.v1.Source source = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.vmmigration.v1.Source source = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.vmmigration.v1.Source.Builder getSourceBuilder() { - + onChanged(); return getSourceFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The create request body.
      * 
* - * - * .google.cloud.vmmigration.v1.Source source = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.vmmigration.v1.Source source = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.vmmigration.v1.SourceOrBuilder getSourceOrBuilder() { if (sourceBuilder_ != null) { return sourceBuilder_.getMessageOrBuilder(); } else { - return source_ == null - ? com.google.cloud.vmmigration.v1.Source.getDefaultInstance() - : source_; + return source_ == null ? + com.google.cloud.vmmigration.v1.Source.getDefaultInstance() : source_; } } /** - * - * *
      * Required. The create request body.
      * 
* - * - * .google.cloud.vmmigration.v1.Source source = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.vmmigration.v1.Source source = 3 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.vmmigration.v1.Source, - com.google.cloud.vmmigration.v1.Source.Builder, - com.google.cloud.vmmigration.v1.SourceOrBuilder> + com.google.cloud.vmmigration.v1.Source, com.google.cloud.vmmigration.v1.Source.Builder, com.google.cloud.vmmigration.v1.SourceOrBuilder> getSourceFieldBuilder() { if (sourceBuilder_ == null) { - sourceBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.vmmigration.v1.Source, - com.google.cloud.vmmigration.v1.Source.Builder, - com.google.cloud.vmmigration.v1.SourceOrBuilder>( - getSource(), getParentForChildren(), isClean()); + sourceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.vmmigration.v1.Source, com.google.cloud.vmmigration.v1.Source.Builder, com.google.cloud.vmmigration.v1.SourceOrBuilder>( + getSource(), + getParentForChildren(), + isClean()); source_ = null; } return sourceBuilder_; @@ -1170,8 +1035,6 @@ public com.google.cloud.vmmigration.v1.SourceOrBuilder getSourceOrBuilder() { private java.lang.Object requestId_ = ""; /** - * - * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1187,13 +1050,13 @@ public com.google.cloud.vmmigration.v1.SourceOrBuilder getSourceOrBuilder() {
      * 
* * string request_id = 4; - * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; 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(); requestId_ = s; return s; @@ -1202,8 +1065,6 @@ public java.lang.String getRequestId() { } } /** - * - * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1219,14 +1080,15 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 4; - * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; 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); requestId_ = b; return b; } else { @@ -1234,8 +1096,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } } /** - * - * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1251,22 +1111,20 @@ public com.google.protobuf.ByteString getRequestIdBytes() {
      * 
* * string request_id = 4; - * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId(java.lang.String value) { + public Builder setRequestId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + requestId_ = value; onChanged(); return this; } /** - * - * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1282,18 +1140,15 @@ public Builder setRequestId(java.lang.String value) {
      * 
* * string request_id = 4; - * * @return This builder for chaining. */ public Builder clearRequestId() { - + requestId_ = getDefaultInstance().getRequestId(); onChanged(); return this; } /** - * - * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1309,23 +1164,23 @@ public Builder clearRequestId() {
      * 
* * string request_id = 4; - * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { + public Builder setRequestIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + requestId_ = 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); } @@ -1335,12 +1190,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.vmmigration.v1.CreateSourceRequest) } // @@protoc_insertion_point(class_scope:google.cloud.vmmigration.v1.CreateSourceRequest) private static final com.google.cloud.vmmigration.v1.CreateSourceRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.vmmigration.v1.CreateSourceRequest(); } @@ -1349,16 +1204,16 @@ public static com.google.cloud.vmmigration.v1.CreateSourceRequest getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateSourceRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateSourceRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateSourceRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CreateSourceRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1373,4 +1228,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.vmmigration.v1.CreateSourceRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CreateSourceRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CreateSourceRequestOrBuilder.java similarity index 71% rename from proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CreateSourceRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CreateSourceRequestOrBuilder.java index 4e855cd..c659511 100644 --- a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CreateSourceRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CreateSourceRequestOrBuilder.java @@ -1,123 +1,80 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; -public interface CreateSourceRequestOrBuilder - extends +public interface CreateSourceRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.CreateSourceRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The Source's parent.
    * 
* - * - * 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 Source's parent.
    * 
* - * - * 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. The source identifier.
    * 
* * string source_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The sourceId. */ java.lang.String getSourceId(); /** - * - * *
    * Required. The source identifier.
    * 
* * string source_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for sourceId. */ - com.google.protobuf.ByteString getSourceIdBytes(); + com.google.protobuf.ByteString + getSourceIdBytes(); /** - * - * *
    * Required. The create request body.
    * 
* - * .google.cloud.vmmigration.v1.Source source = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.vmmigration.v1.Source source = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the source field is set. */ boolean hasSource(); /** - * - * *
    * Required. The create request body.
    * 
* - * .google.cloud.vmmigration.v1.Source source = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.vmmigration.v1.Source source = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The source. */ com.google.cloud.vmmigration.v1.Source getSource(); /** - * - * *
    * Required. The create request body.
    * 
* - * .google.cloud.vmmigration.v1.Source source = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.vmmigration.v1.Source source = 3 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.vmmigration.v1.SourceOrBuilder getSourceOrBuilder(); /** - * - * *
    * A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -133,13 +90,10 @@ public interface CreateSourceRequestOrBuilder
    * 
* * string request_id = 4; - * * @return The requestId. */ java.lang.String getRequestId(); /** - * - * *
    * A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -155,8 +109,8 @@ public interface CreateSourceRequestOrBuilder
    * 
* * string request_id = 4; - * * @return The bytes for requestId. */ - com.google.protobuf.ByteString getRequestIdBytes(); + com.google.protobuf.ByteString + getRequestIdBytes(); } diff --git a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CreateTargetProjectRequest.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CreateTargetProjectRequest.java similarity index 69% rename from proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CreateTargetProjectRequest.java rename to owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CreateTargetProjectRequest.java index 157c1b0..f4ed5ce 100644 --- a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CreateTargetProjectRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CreateTargetProjectRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; /** - * - * *
  * Request message for 'CreateTargetProject' request.
  * 
* * Protobuf type {@code google.cloud.vmmigration.v1.CreateTargetProjectRequest} */ -public final class CreateTargetProjectRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateTargetProjectRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.vmmigration.v1.CreateTargetProjectRequest) CreateTargetProjectRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateTargetProjectRequest.newBuilder() to construct. private CreateTargetProjectRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateTargetProjectRequest() { parent_ = ""; targetProjectId_ = ""; @@ -45,15 +27,16 @@ private CreateTargetProjectRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateTargetProjectRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private CreateTargetProjectRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,50 +55,44 @@ private CreateTargetProjectRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - targetProjectId_ = s; - break; + targetProjectId_ = s; + break; + } + case 26: { + com.google.cloud.vmmigration.v1.TargetProject.Builder subBuilder = null; + if (targetProject_ != null) { + subBuilder = targetProject_.toBuilder(); } - case 26: - { - com.google.cloud.vmmigration.v1.TargetProject.Builder subBuilder = null; - if (targetProject_ != null) { - subBuilder = targetProject_.toBuilder(); - } - targetProject_ = - input.readMessage( - com.google.cloud.vmmigration.v1.TargetProject.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(targetProject_); - targetProject_ = subBuilder.buildPartial(); - } - - break; + targetProject_ = input.readMessage(com.google.cloud.vmmigration.v1.TargetProject.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(targetProject_); + targetProject_ = subBuilder.buildPartial(); } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); - requestId_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); + + requestId_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -123,41 +100,34 @@ private CreateTargetProjectRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_CreateTargetProjectRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_CreateTargetProjectRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_CreateTargetProjectRequest_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_CreateTargetProjectRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.CreateTargetProjectRequest.class, - com.google.cloud.vmmigration.v1.CreateTargetProjectRequest.Builder.class); + com.google.cloud.vmmigration.v1.CreateTargetProjectRequest.class, com.google.cloud.vmmigration.v1.CreateTargetProjectRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The TargetProject's parent.
    * 
* - * - * 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 @@ -166,31 +136,29 @@ 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 TargetProject's parent.
    * 
* - * - * 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 { @@ -201,14 +169,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int TARGET_PROJECT_ID_FIELD_NUMBER = 2; private volatile java.lang.Object targetProjectId_; /** - * - * *
    * Required. The target_project identifier.
    * 
* * string target_project_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The targetProjectId. */ @java.lang.Override @@ -217,29 +182,29 @@ public java.lang.String getTargetProjectId() { 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(); targetProjectId_ = s; return s; } } /** - * - * *
    * Required. The target_project identifier.
    * 
* * string target_project_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for targetProjectId. */ @java.lang.Override - public com.google.protobuf.ByteString getTargetProjectIdBytes() { + public com.google.protobuf.ByteString + getTargetProjectIdBytes() { java.lang.Object ref = targetProjectId_; 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); targetProjectId_ = b; return b; } else { @@ -250,16 +215,11 @@ public com.google.protobuf.ByteString getTargetProjectIdBytes() { public static final int TARGET_PROJECT_FIELD_NUMBER = 3; private com.google.cloud.vmmigration.v1.TargetProject targetProject_; /** - * - * *
    * Required. The create request body.
    * 
* - * - * .google.cloud.vmmigration.v1.TargetProject target_project = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.vmmigration.v1.TargetProject target_project = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the targetProject field is set. */ @java.lang.Override @@ -267,34 +227,23 @@ public boolean hasTargetProject() { return targetProject_ != null; } /** - * - * *
    * Required. The create request body.
    * 
* - * - * .google.cloud.vmmigration.v1.TargetProject target_project = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.vmmigration.v1.TargetProject target_project = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The targetProject. */ @java.lang.Override public com.google.cloud.vmmigration.v1.TargetProject getTargetProject() { - return targetProject_ == null - ? com.google.cloud.vmmigration.v1.TargetProject.getDefaultInstance() - : targetProject_; + return targetProject_ == null ? com.google.cloud.vmmigration.v1.TargetProject.getDefaultInstance() : targetProject_; } /** - * - * *
    * Required. The create request body.
    * 
* - * - * .google.cloud.vmmigration.v1.TargetProject target_project = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.vmmigration.v1.TargetProject target_project = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.vmmigration.v1.TargetProjectOrBuilder getTargetProjectOrBuilder() { @@ -304,8 +253,6 @@ public com.google.cloud.vmmigration.v1.TargetProjectOrBuilder getTargetProjectOr public static final int REQUEST_ID_FIELD_NUMBER = 4; private volatile java.lang.Object requestId_; /** - * - * *
    * A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -321,7 +268,6 @@ public com.google.cloud.vmmigration.v1.TargetProjectOrBuilder getTargetProjectOr
    * 
* * string request_id = 4; - * * @return The requestId. */ @java.lang.Override @@ -330,15 +276,14 @@ public java.lang.String getRequestId() { 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(); requestId_ = s; return s; } } /** - * - * *
    * A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -354,15 +299,16 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 4; - * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; 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); requestId_ = b; return b; } else { @@ -371,7 +317,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -383,7 +328,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_); } @@ -412,7 +358,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, targetProjectId_); } if (targetProject_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getTargetProject()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getTargetProject()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, requestId_); @@ -425,21 +372,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.vmmigration.v1.CreateTargetProjectRequest)) { return super.equals(obj); } - com.google.cloud.vmmigration.v1.CreateTargetProjectRequest other = - (com.google.cloud.vmmigration.v1.CreateTargetProjectRequest) obj; + com.google.cloud.vmmigration.v1.CreateTargetProjectRequest other = (com.google.cloud.vmmigration.v1.CreateTargetProjectRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (!getTargetProjectId().equals(other.getTargetProjectId())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (!getTargetProjectId() + .equals(other.getTargetProjectId())) return false; if (hasTargetProject() != other.hasTargetProject()) return false; if (hasTargetProject()) { - if (!getTargetProject().equals(other.getTargetProject())) return false; + if (!getTargetProject() + .equals(other.getTargetProject())) return false; } - if (!getRequestId().equals(other.getRequestId())) return false; + if (!getRequestId() + .equals(other.getRequestId())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -467,127 +417,117 @@ public int hashCode() { } public static com.google.cloud.vmmigration.v1.CreateTargetProjectRequest 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.vmmigration.v1.CreateTargetProjectRequest 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.vmmigration.v1.CreateTargetProjectRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.vmmigration.v1.CreateTargetProjectRequest 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.vmmigration.v1.CreateTargetProjectRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.vmmigration.v1.CreateTargetProjectRequest 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.vmmigration.v1.CreateTargetProjectRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.vmmigration.v1.CreateTargetProjectRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.vmmigration.v1.CreateTargetProjectRequest 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.vmmigration.v1.CreateTargetProjectRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.vmmigration.v1.CreateTargetProjectRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.vmmigration.v1.CreateTargetProjectRequest 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.vmmigration.v1.CreateTargetProjectRequest 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.vmmigration.v1.CreateTargetProjectRequest 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.vmmigration.v1.CreateTargetProjectRequest prototype) { + public static Builder newBuilder(com.google.cloud.vmmigration.v1.CreateTargetProjectRequest 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 message for 'CreateTargetProject' request.
    * 
* * Protobuf type {@code google.cloud.vmmigration.v1.CreateTargetProjectRequest} */ - 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.vmmigration.v1.CreateTargetProjectRequest) com.google.cloud.vmmigration.v1.CreateTargetProjectRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_CreateTargetProjectRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_CreateTargetProjectRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_CreateTargetProjectRequest_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_CreateTargetProjectRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.CreateTargetProjectRequest.class, - com.google.cloud.vmmigration.v1.CreateTargetProjectRequest.Builder.class); + com.google.cloud.vmmigration.v1.CreateTargetProjectRequest.class, com.google.cloud.vmmigration.v1.CreateTargetProjectRequest.Builder.class); } // Construct using com.google.cloud.vmmigration.v1.CreateTargetProjectRequest.newBuilder() @@ -595,15 +535,16 @@ 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) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -623,9 +564,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_CreateTargetProjectRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_CreateTargetProjectRequest_descriptor; } @java.lang.Override @@ -644,8 +585,7 @@ public com.google.cloud.vmmigration.v1.CreateTargetProjectRequest build() { @java.lang.Override public com.google.cloud.vmmigration.v1.CreateTargetProjectRequest buildPartial() { - com.google.cloud.vmmigration.v1.CreateTargetProjectRequest result = - new com.google.cloud.vmmigration.v1.CreateTargetProjectRequest(this); + com.google.cloud.vmmigration.v1.CreateTargetProjectRequest result = new com.google.cloud.vmmigration.v1.CreateTargetProjectRequest(this); result.parent_ = parent_; result.targetProjectId_ = targetProjectId_; if (targetProjectBuilder_ == null) { @@ -662,39 +602,38 @@ public com.google.cloud.vmmigration.v1.CreateTargetProjectRequest buildPartial() 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.vmmigration.v1.CreateTargetProjectRequest) { - return mergeFrom((com.google.cloud.vmmigration.v1.CreateTargetProjectRequest) other); + return mergeFrom((com.google.cloud.vmmigration.v1.CreateTargetProjectRequest)other); } else { super.mergeFrom(other); return this; @@ -702,8 +641,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.vmmigration.v1.CreateTargetProjectRequest other) { - if (other == com.google.cloud.vmmigration.v1.CreateTargetProjectRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.vmmigration.v1.CreateTargetProjectRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -738,8 +676,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.vmmigration.v1.CreateTargetProjectRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.vmmigration.v1.CreateTargetProjectRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -751,22 +688,18 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The TargetProject's parent.
      * 
* - * - * 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; @@ -775,23 +708,20 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The TargetProject's parent.
      * 
* - * - * 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 { @@ -799,67 +729,54 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The TargetProject's parent.
      * 
* - * - * 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) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The TargetProject's parent.
      * 
* - * - * 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() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The TargetProject's parent.
      * 
* - * - * 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) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -867,20 +784,18 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object targetProjectId_ = ""; /** - * - * *
      * Required. The target_project identifier.
      * 
* * string target_project_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The targetProjectId. */ public java.lang.String getTargetProjectId() { java.lang.Object ref = targetProjectId_; 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(); targetProjectId_ = s; return s; @@ -889,21 +804,20 @@ public java.lang.String getTargetProjectId() { } } /** - * - * *
      * Required. The target_project identifier.
      * 
* * string target_project_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for targetProjectId. */ - public com.google.protobuf.ByteString getTargetProjectIdBytes() { + public com.google.protobuf.ByteString + getTargetProjectIdBytes() { java.lang.Object ref = targetProjectId_; 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); targetProjectId_ = b; return b; } else { @@ -911,61 +825,54 @@ public com.google.protobuf.ByteString getTargetProjectIdBytes() { } } /** - * - * *
      * Required. The target_project identifier.
      * 
* * string target_project_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The targetProjectId to set. * @return This builder for chaining. */ - public Builder setTargetProjectId(java.lang.String value) { + public Builder setTargetProjectId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + targetProjectId_ = value; onChanged(); return this; } /** - * - * *
      * Required. The target_project identifier.
      * 
* * string target_project_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearTargetProjectId() { - + targetProjectId_ = getDefaultInstance().getTargetProjectId(); onChanged(); return this; } /** - * - * *
      * Required. The target_project identifier.
      * 
* * string target_project_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for targetProjectId to set. * @return This builder for chaining. */ - public Builder setTargetProjectIdBytes(com.google.protobuf.ByteString value) { + public Builder setTargetProjectIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + targetProjectId_ = value; onChanged(); return this; @@ -973,58 +880,39 @@ public Builder setTargetProjectIdBytes(com.google.protobuf.ByteString value) { private com.google.cloud.vmmigration.v1.TargetProject targetProject_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.vmmigration.v1.TargetProject, - com.google.cloud.vmmigration.v1.TargetProject.Builder, - com.google.cloud.vmmigration.v1.TargetProjectOrBuilder> - targetProjectBuilder_; + com.google.cloud.vmmigration.v1.TargetProject, com.google.cloud.vmmigration.v1.TargetProject.Builder, com.google.cloud.vmmigration.v1.TargetProjectOrBuilder> targetProjectBuilder_; /** - * - * *
      * Required. The create request body.
      * 
* - * - * .google.cloud.vmmigration.v1.TargetProject target_project = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.vmmigration.v1.TargetProject target_project = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the targetProject field is set. */ public boolean hasTargetProject() { return targetProjectBuilder_ != null || targetProject_ != null; } /** - * - * *
      * Required. The create request body.
      * 
* - * - * .google.cloud.vmmigration.v1.TargetProject target_project = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.vmmigration.v1.TargetProject target_project = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The targetProject. */ public com.google.cloud.vmmigration.v1.TargetProject getTargetProject() { if (targetProjectBuilder_ == null) { - return targetProject_ == null - ? com.google.cloud.vmmigration.v1.TargetProject.getDefaultInstance() - : targetProject_; + return targetProject_ == null ? com.google.cloud.vmmigration.v1.TargetProject.getDefaultInstance() : targetProject_; } else { return targetProjectBuilder_.getMessage(); } } /** - * - * *
      * Required. The create request body.
      * 
* - * - * .google.cloud.vmmigration.v1.TargetProject target_project = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.vmmigration.v1.TargetProject target_project = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setTargetProject(com.google.cloud.vmmigration.v1.TargetProject value) { if (targetProjectBuilder_ == null) { @@ -1040,15 +928,11 @@ public Builder setTargetProject(com.google.cloud.vmmigration.v1.TargetProject va return this; } /** - * - * *
      * Required. The create request body.
      * 
* - * - * .google.cloud.vmmigration.v1.TargetProject target_project = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.vmmigration.v1.TargetProject target_project = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setTargetProject( com.google.cloud.vmmigration.v1.TargetProject.Builder builderForValue) { @@ -1062,23 +946,17 @@ public Builder setTargetProject( return this; } /** - * - * *
      * Required. The create request body.
      * 
* - * - * .google.cloud.vmmigration.v1.TargetProject target_project = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.vmmigration.v1.TargetProject target_project = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeTargetProject(com.google.cloud.vmmigration.v1.TargetProject value) { if (targetProjectBuilder_ == null) { if (targetProject_ != null) { targetProject_ = - com.google.cloud.vmmigration.v1.TargetProject.newBuilder(targetProject_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.vmmigration.v1.TargetProject.newBuilder(targetProject_).mergeFrom(value).buildPartial(); } else { targetProject_ = value; } @@ -1090,15 +968,11 @@ public Builder mergeTargetProject(com.google.cloud.vmmigration.v1.TargetProject return this; } /** - * - * *
      * Required. The create request body.
      * 
* - * - * .google.cloud.vmmigration.v1.TargetProject target_project = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.vmmigration.v1.TargetProject target_project = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearTargetProject() { if (targetProjectBuilder_ == null) { @@ -1112,64 +986,48 @@ public Builder clearTargetProject() { return this; } /** - * - * *
      * Required. The create request body.
      * 
* - * - * .google.cloud.vmmigration.v1.TargetProject target_project = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.vmmigration.v1.TargetProject target_project = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.vmmigration.v1.TargetProject.Builder getTargetProjectBuilder() { - + onChanged(); return getTargetProjectFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The create request body.
      * 
* - * - * .google.cloud.vmmigration.v1.TargetProject target_project = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.vmmigration.v1.TargetProject target_project = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.vmmigration.v1.TargetProjectOrBuilder getTargetProjectOrBuilder() { if (targetProjectBuilder_ != null) { return targetProjectBuilder_.getMessageOrBuilder(); } else { - return targetProject_ == null - ? com.google.cloud.vmmigration.v1.TargetProject.getDefaultInstance() - : targetProject_; + return targetProject_ == null ? + com.google.cloud.vmmigration.v1.TargetProject.getDefaultInstance() : targetProject_; } } /** - * - * *
      * Required. The create request body.
      * 
* - * - * .google.cloud.vmmigration.v1.TargetProject target_project = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.vmmigration.v1.TargetProject target_project = 3 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.vmmigration.v1.TargetProject, - com.google.cloud.vmmigration.v1.TargetProject.Builder, - com.google.cloud.vmmigration.v1.TargetProjectOrBuilder> + com.google.cloud.vmmigration.v1.TargetProject, com.google.cloud.vmmigration.v1.TargetProject.Builder, com.google.cloud.vmmigration.v1.TargetProjectOrBuilder> getTargetProjectFieldBuilder() { if (targetProjectBuilder_ == null) { - targetProjectBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.vmmigration.v1.TargetProject, - com.google.cloud.vmmigration.v1.TargetProject.Builder, - com.google.cloud.vmmigration.v1.TargetProjectOrBuilder>( - getTargetProject(), getParentForChildren(), isClean()); + targetProjectBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.vmmigration.v1.TargetProject, com.google.cloud.vmmigration.v1.TargetProject.Builder, com.google.cloud.vmmigration.v1.TargetProjectOrBuilder>( + getTargetProject(), + getParentForChildren(), + isClean()); targetProject_ = null; } return targetProjectBuilder_; @@ -1177,8 +1035,6 @@ public com.google.cloud.vmmigration.v1.TargetProjectOrBuilder getTargetProjectOr private java.lang.Object requestId_ = ""; /** - * - * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1194,13 +1050,13 @@ public com.google.cloud.vmmigration.v1.TargetProjectOrBuilder getTargetProjectOr
      * 
* * string request_id = 4; - * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; 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(); requestId_ = s; return s; @@ -1209,8 +1065,6 @@ public java.lang.String getRequestId() { } } /** - * - * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1226,14 +1080,15 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 4; - * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; 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); requestId_ = b; return b; } else { @@ -1241,8 +1096,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } } /** - * - * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1258,22 +1111,20 @@ public com.google.protobuf.ByteString getRequestIdBytes() {
      * 
* * string request_id = 4; - * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId(java.lang.String value) { + public Builder setRequestId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + requestId_ = value; onChanged(); return this; } /** - * - * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1289,18 +1140,15 @@ public Builder setRequestId(java.lang.String value) {
      * 
* * string request_id = 4; - * * @return This builder for chaining. */ public Builder clearRequestId() { - + requestId_ = getDefaultInstance().getRequestId(); onChanged(); return this; } /** - * - * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1316,23 +1164,23 @@ public Builder clearRequestId() {
      * 
* * string request_id = 4; - * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { + public Builder setRequestIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + requestId_ = 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); } @@ -1342,12 +1190,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.vmmigration.v1.CreateTargetProjectRequest) } // @@protoc_insertion_point(class_scope:google.cloud.vmmigration.v1.CreateTargetProjectRequest) private static final com.google.cloud.vmmigration.v1.CreateTargetProjectRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.vmmigration.v1.CreateTargetProjectRequest(); } @@ -1356,16 +1204,16 @@ public static com.google.cloud.vmmigration.v1.CreateTargetProjectRequest getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateTargetProjectRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateTargetProjectRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateTargetProjectRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CreateTargetProjectRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1380,4 +1228,6 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.vmmigration.v1.CreateTargetProjectRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CreateTargetProjectRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CreateTargetProjectRequestOrBuilder.java similarity index 67% rename from proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CreateTargetProjectRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CreateTargetProjectRequestOrBuilder.java index 55f529f..e8a3048 100644 --- a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CreateTargetProjectRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CreateTargetProjectRequestOrBuilder.java @@ -1,126 +1,80 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; -public interface CreateTargetProjectRequestOrBuilder - extends +public interface CreateTargetProjectRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.CreateTargetProjectRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The TargetProject's parent.
    * 
* - * - * 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 TargetProject's parent.
    * 
* - * - * 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. The target_project identifier.
    * 
* * string target_project_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The targetProjectId. */ java.lang.String getTargetProjectId(); /** - * - * *
    * Required. The target_project identifier.
    * 
* * string target_project_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for targetProjectId. */ - com.google.protobuf.ByteString getTargetProjectIdBytes(); + com.google.protobuf.ByteString + getTargetProjectIdBytes(); /** - * - * *
    * Required. The create request body.
    * 
* - * - * .google.cloud.vmmigration.v1.TargetProject target_project = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.vmmigration.v1.TargetProject target_project = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the targetProject field is set. */ boolean hasTargetProject(); /** - * - * *
    * Required. The create request body.
    * 
* - * - * .google.cloud.vmmigration.v1.TargetProject target_project = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.vmmigration.v1.TargetProject target_project = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The targetProject. */ com.google.cloud.vmmigration.v1.TargetProject getTargetProject(); /** - * - * *
    * Required. The create request body.
    * 
* - * - * .google.cloud.vmmigration.v1.TargetProject target_project = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.vmmigration.v1.TargetProject target_project = 3 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.vmmigration.v1.TargetProjectOrBuilder getTargetProjectOrBuilder(); /** - * - * *
    * A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -136,13 +90,10 @@ public interface CreateTargetProjectRequestOrBuilder
    * 
* * string request_id = 4; - * * @return The requestId. */ java.lang.String getRequestId(); /** - * - * *
    * A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -158,8 +109,8 @@ public interface CreateTargetProjectRequestOrBuilder
    * 
* * string request_id = 4; - * * @return The bytes for requestId. */ - com.google.protobuf.ByteString getRequestIdBytes(); + com.google.protobuf.ByteString + getRequestIdBytes(); } diff --git a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CreateUtilizationReportRequest.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CreateUtilizationReportRequest.java similarity index 68% rename from proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CreateUtilizationReportRequest.java rename to owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CreateUtilizationReportRequest.java index 4012b8b..f961a3f 100644 --- a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CreateUtilizationReportRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CreateUtilizationReportRequest.java @@ -1,43 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; /** - * - * *
  * Request message for 'CreateUtilizationReport' request.
  * 
* * Protobuf type {@code google.cloud.vmmigration.v1.CreateUtilizationReportRequest} */ -public final class CreateUtilizationReportRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateUtilizationReportRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.vmmigration.v1.CreateUtilizationReportRequest) CreateUtilizationReportRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateUtilizationReportRequest.newBuilder() to construct. - private CreateUtilizationReportRequest( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private CreateUtilizationReportRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateUtilizationReportRequest() { parent_ = ""; utilizationReportId_ = ""; @@ -46,15 +27,16 @@ private CreateUtilizationReportRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateUtilizationReportRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private CreateUtilizationReportRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -73,51 +55,44 @@ private CreateUtilizationReportRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; + parent_ = s; + break; + } + case 18: { + com.google.cloud.vmmigration.v1.UtilizationReport.Builder subBuilder = null; + if (utilizationReport_ != null) { + subBuilder = utilizationReport_.toBuilder(); } - case 18: - { - com.google.cloud.vmmigration.v1.UtilizationReport.Builder subBuilder = null; - if (utilizationReport_ != null) { - subBuilder = utilizationReport_.toBuilder(); - } - utilizationReport_ = - input.readMessage( - com.google.cloud.vmmigration.v1.UtilizationReport.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(utilizationReport_); - utilizationReport_ = subBuilder.buildPartial(); - } - - break; + utilizationReport_ = input.readMessage(com.google.cloud.vmmigration.v1.UtilizationReport.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(utilizationReport_); + utilizationReport_ = subBuilder.buildPartial(); } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - utilizationReportId_ = s; - break; - } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - requestId_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + utilizationReportId_ = s; + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); + + requestId_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -125,41 +100,34 @@ private CreateUtilizationReportRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_CreateUtilizationReportRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_CreateUtilizationReportRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_CreateUtilizationReportRequest_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_CreateUtilizationReportRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.CreateUtilizationReportRequest.class, - com.google.cloud.vmmigration.v1.CreateUtilizationReportRequest.Builder.class); + com.google.cloud.vmmigration.v1.CreateUtilizationReportRequest.class, com.google.cloud.vmmigration.v1.CreateUtilizationReportRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The Utilization Report's parent.
    * 
* - * - * 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 @@ -168,31 +136,29 @@ 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 Utilization Report's parent.
    * 
* - * - * 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 { @@ -203,16 +169,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int UTILIZATION_REPORT_FIELD_NUMBER = 2; private com.google.cloud.vmmigration.v1.UtilizationReport utilizationReport_; /** - * - * *
    * Required. The report to create.
    * 
* - * - * .google.cloud.vmmigration.v1.UtilizationReport utilization_report = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.vmmigration.v1.UtilizationReport utilization_report = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the utilizationReport field is set. */ @java.lang.Override @@ -220,56 +181,41 @@ public boolean hasUtilizationReport() { return utilizationReport_ != null; } /** - * - * *
    * Required. The report to create.
    * 
* - * - * .google.cloud.vmmigration.v1.UtilizationReport utilization_report = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.vmmigration.v1.UtilizationReport utilization_report = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The utilizationReport. */ @java.lang.Override public com.google.cloud.vmmigration.v1.UtilizationReport getUtilizationReport() { - return utilizationReport_ == null - ? com.google.cloud.vmmigration.v1.UtilizationReport.getDefaultInstance() - : utilizationReport_; + return utilizationReport_ == null ? com.google.cloud.vmmigration.v1.UtilizationReport.getDefaultInstance() : utilizationReport_; } /** - * - * *
    * Required. The report to create.
    * 
* - * - * .google.cloud.vmmigration.v1.UtilizationReport utilization_report = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.vmmigration.v1.UtilizationReport utilization_report = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public com.google.cloud.vmmigration.v1.UtilizationReportOrBuilder - getUtilizationReportOrBuilder() { + public com.google.cloud.vmmigration.v1.UtilizationReportOrBuilder getUtilizationReportOrBuilder() { return getUtilizationReport(); } public static final int UTILIZATION_REPORT_ID_FIELD_NUMBER = 3; private volatile java.lang.Object utilizationReportId_; /** - * - * *
-   * Required. The ID to use for the report, which will become the final component of
-   * the reports's resource name.
+   * Required. The ID to use for the report, which will become the final
+   * component of the reports's resource name.
    * This value maximum length is 63 characters, and valid characters
    * are /[a-z][0-9]-/. It must start with an english letter and must not
    * end with a hyphen.
    * 
* * string utilization_report_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The utilizationReportId. */ @java.lang.Override @@ -278,33 +224,33 @@ public java.lang.String getUtilizationReportId() { 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(); utilizationReportId_ = s; return s; } } /** - * - * *
-   * Required. The ID to use for the report, which will become the final component of
-   * the reports's resource name.
+   * Required. The ID to use for the report, which will become the final
+   * component of the reports's resource name.
    * This value maximum length is 63 characters, and valid characters
    * are /[a-z][0-9]-/. It must start with an english letter and must not
    * end with a hyphen.
    * 
* * string utilization_report_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for utilizationReportId. */ @java.lang.Override - public com.google.protobuf.ByteString getUtilizationReportIdBytes() { + public com.google.protobuf.ByteString + getUtilizationReportIdBytes() { java.lang.Object ref = utilizationReportId_; 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); utilizationReportId_ = b; return b; } else { @@ -315,8 +261,6 @@ public com.google.protobuf.ByteString getUtilizationReportIdBytes() { public static final int REQUEST_ID_FIELD_NUMBER = 4; private volatile java.lang.Object requestId_; /** - * - * *
    * A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -332,7 +276,6 @@ public com.google.protobuf.ByteString getUtilizationReportIdBytes() {
    * 
* * string request_id = 4; - * * @return The requestId. */ @java.lang.Override @@ -341,15 +284,14 @@ public java.lang.String getRequestId() { 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(); requestId_ = s; return s; } } /** - * - * *
    * A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -365,15 +307,16 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 4; - * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; 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); requestId_ = b; return b; } else { @@ -382,7 +325,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -394,7 +336,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_); } @@ -420,7 +363,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (utilizationReport_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUtilizationReport()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getUtilizationReport()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(utilizationReportId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, utilizationReportId_); @@ -436,21 +380,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.vmmigration.v1.CreateUtilizationReportRequest)) { return super.equals(obj); } - com.google.cloud.vmmigration.v1.CreateUtilizationReportRequest other = - (com.google.cloud.vmmigration.v1.CreateUtilizationReportRequest) obj; + com.google.cloud.vmmigration.v1.CreateUtilizationReportRequest other = (com.google.cloud.vmmigration.v1.CreateUtilizationReportRequest) obj; - if (!getParent().equals(other.getParent())) return false; + if (!getParent() + .equals(other.getParent())) return false; if (hasUtilizationReport() != other.hasUtilizationReport()) return false; if (hasUtilizationReport()) { - if (!getUtilizationReport().equals(other.getUtilizationReport())) return false; + if (!getUtilizationReport() + .equals(other.getUtilizationReport())) return false; } - if (!getUtilizationReportId().equals(other.getUtilizationReportId())) return false; - if (!getRequestId().equals(other.getRequestId())) return false; + if (!getUtilizationReportId() + .equals(other.getUtilizationReportId())) return false; + if (!getRequestId() + .equals(other.getRequestId())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -478,127 +425,117 @@ public int hashCode() { } public static com.google.cloud.vmmigration.v1.CreateUtilizationReportRequest 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.vmmigration.v1.CreateUtilizationReportRequest 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.vmmigration.v1.CreateUtilizationReportRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.vmmigration.v1.CreateUtilizationReportRequest 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.vmmigration.v1.CreateUtilizationReportRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.vmmigration.v1.CreateUtilizationReportRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.vmmigration.v1.CreateUtilizationReportRequest 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.vmmigration.v1.CreateUtilizationReportRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.vmmigration.v1.CreateUtilizationReportRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.vmmigration.v1.CreateUtilizationReportRequest 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.vmmigration.v1.CreateUtilizationReportRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.vmmigration.v1.CreateUtilizationReportRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.vmmigration.v1.CreateUtilizationReportRequest 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.vmmigration.v1.CreateUtilizationReportRequest 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.vmmigration.v1.CreateUtilizationReportRequest 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.vmmigration.v1.CreateUtilizationReportRequest prototype) { + public static Builder newBuilder(com.google.cloud.vmmigration.v1.CreateUtilizationReportRequest 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 message for 'CreateUtilizationReport' request.
    * 
* * Protobuf type {@code google.cloud.vmmigration.v1.CreateUtilizationReportRequest} */ - 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.vmmigration.v1.CreateUtilizationReportRequest) com.google.cloud.vmmigration.v1.CreateUtilizationReportRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_CreateUtilizationReportRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_CreateUtilizationReportRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_CreateUtilizationReportRequest_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_CreateUtilizationReportRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.CreateUtilizationReportRequest.class, - com.google.cloud.vmmigration.v1.CreateUtilizationReportRequest.Builder.class); + com.google.cloud.vmmigration.v1.CreateUtilizationReportRequest.class, com.google.cloud.vmmigration.v1.CreateUtilizationReportRequest.Builder.class); } // Construct using com.google.cloud.vmmigration.v1.CreateUtilizationReportRequest.newBuilder() @@ -606,15 +543,16 @@ 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) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -634,14 +572,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_CreateUtilizationReportRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_CreateUtilizationReportRequest_descriptor; } @java.lang.Override - public com.google.cloud.vmmigration.v1.CreateUtilizationReportRequest - getDefaultInstanceForType() { + public com.google.cloud.vmmigration.v1.CreateUtilizationReportRequest getDefaultInstanceForType() { return com.google.cloud.vmmigration.v1.CreateUtilizationReportRequest.getDefaultInstance(); } @@ -656,8 +593,7 @@ public com.google.cloud.vmmigration.v1.CreateUtilizationReportRequest build() { @java.lang.Override public com.google.cloud.vmmigration.v1.CreateUtilizationReportRequest buildPartial() { - com.google.cloud.vmmigration.v1.CreateUtilizationReportRequest result = - new com.google.cloud.vmmigration.v1.CreateUtilizationReportRequest(this); + com.google.cloud.vmmigration.v1.CreateUtilizationReportRequest result = new com.google.cloud.vmmigration.v1.CreateUtilizationReportRequest(this); result.parent_ = parent_; if (utilizationReportBuilder_ == null) { result.utilizationReport_ = utilizationReport_; @@ -674,39 +610,38 @@ public com.google.cloud.vmmigration.v1.CreateUtilizationReportRequest buildParti 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.vmmigration.v1.CreateUtilizationReportRequest) { - return mergeFrom((com.google.cloud.vmmigration.v1.CreateUtilizationReportRequest) other); + return mergeFrom((com.google.cloud.vmmigration.v1.CreateUtilizationReportRequest)other); } else { super.mergeFrom(other); return this; @@ -714,9 +649,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.vmmigration.v1.CreateUtilizationReportRequest other) { - if (other - == com.google.cloud.vmmigration.v1.CreateUtilizationReportRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.vmmigration.v1.CreateUtilizationReportRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -751,9 +684,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.vmmigration.v1.CreateUtilizationReportRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.vmmigration.v1.CreateUtilizationReportRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -765,22 +696,18 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The Utilization Report's parent.
      * 
* - * - * 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; @@ -789,23 +716,20 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The Utilization Report's parent.
      * 
* - * - * 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 { @@ -813,67 +737,54 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The Utilization Report's parent.
      * 
* - * - * 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) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The Utilization Report's parent.
      * 
* - * - * 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() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The Utilization Report's parent.
      * 
* - * - * 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) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -881,58 +792,39 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private com.google.cloud.vmmigration.v1.UtilizationReport utilizationReport_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.vmmigration.v1.UtilizationReport, - com.google.cloud.vmmigration.v1.UtilizationReport.Builder, - com.google.cloud.vmmigration.v1.UtilizationReportOrBuilder> - utilizationReportBuilder_; + com.google.cloud.vmmigration.v1.UtilizationReport, com.google.cloud.vmmigration.v1.UtilizationReport.Builder, com.google.cloud.vmmigration.v1.UtilizationReportOrBuilder> utilizationReportBuilder_; /** - * - * *
      * Required. The report to create.
      * 
* - * - * .google.cloud.vmmigration.v1.UtilizationReport utilization_report = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.vmmigration.v1.UtilizationReport utilization_report = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the utilizationReport field is set. */ public boolean hasUtilizationReport() { return utilizationReportBuilder_ != null || utilizationReport_ != null; } /** - * - * *
      * Required. The report to create.
      * 
* - * - * .google.cloud.vmmigration.v1.UtilizationReport utilization_report = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.vmmigration.v1.UtilizationReport utilization_report = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The utilizationReport. */ public com.google.cloud.vmmigration.v1.UtilizationReport getUtilizationReport() { if (utilizationReportBuilder_ == null) { - return utilizationReport_ == null - ? com.google.cloud.vmmigration.v1.UtilizationReport.getDefaultInstance() - : utilizationReport_; + return utilizationReport_ == null ? com.google.cloud.vmmigration.v1.UtilizationReport.getDefaultInstance() : utilizationReport_; } else { return utilizationReportBuilder_.getMessage(); } } /** - * - * *
      * Required. The report to create.
      * 
* - * - * .google.cloud.vmmigration.v1.UtilizationReport utilization_report = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.vmmigration.v1.UtilizationReport utilization_report = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setUtilizationReport(com.google.cloud.vmmigration.v1.UtilizationReport value) { if (utilizationReportBuilder_ == null) { @@ -948,15 +840,11 @@ public Builder setUtilizationReport(com.google.cloud.vmmigration.v1.UtilizationR return this; } /** - * - * *
      * Required. The report to create.
      * 
* - * - * .google.cloud.vmmigration.v1.UtilizationReport utilization_report = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.vmmigration.v1.UtilizationReport utilization_report = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setUtilizationReport( com.google.cloud.vmmigration.v1.UtilizationReport.Builder builderForValue) { @@ -970,23 +858,17 @@ public Builder setUtilizationReport( return this; } /** - * - * *
      * Required. The report to create.
      * 
* - * - * .google.cloud.vmmigration.v1.UtilizationReport utilization_report = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.vmmigration.v1.UtilizationReport utilization_report = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeUtilizationReport(com.google.cloud.vmmigration.v1.UtilizationReport value) { if (utilizationReportBuilder_ == null) { if (utilizationReport_ != null) { utilizationReport_ = - com.google.cloud.vmmigration.v1.UtilizationReport.newBuilder(utilizationReport_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.vmmigration.v1.UtilizationReport.newBuilder(utilizationReport_).mergeFrom(value).buildPartial(); } else { utilizationReport_ = value; } @@ -998,15 +880,11 @@ public Builder mergeUtilizationReport(com.google.cloud.vmmigration.v1.Utilizatio return this; } /** - * - * *
      * Required. The report to create.
      * 
* - * - * .google.cloud.vmmigration.v1.UtilizationReport utilization_report = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.vmmigration.v1.UtilizationReport utilization_report = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearUtilizationReport() { if (utilizationReportBuilder_ == null) { @@ -1020,65 +898,48 @@ public Builder clearUtilizationReport() { return this; } /** - * - * *
      * Required. The report to create.
      * 
* - * - * .google.cloud.vmmigration.v1.UtilizationReport utilization_report = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.vmmigration.v1.UtilizationReport utilization_report = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.vmmigration.v1.UtilizationReport.Builder getUtilizationReportBuilder() { - + onChanged(); return getUtilizationReportFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The report to create.
      * 
* - * - * .google.cloud.vmmigration.v1.UtilizationReport utilization_report = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.vmmigration.v1.UtilizationReport utilization_report = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.vmmigration.v1.UtilizationReportOrBuilder - getUtilizationReportOrBuilder() { + public com.google.cloud.vmmigration.v1.UtilizationReportOrBuilder getUtilizationReportOrBuilder() { if (utilizationReportBuilder_ != null) { return utilizationReportBuilder_.getMessageOrBuilder(); } else { - return utilizationReport_ == null - ? com.google.cloud.vmmigration.v1.UtilizationReport.getDefaultInstance() - : utilizationReport_; + return utilizationReport_ == null ? + com.google.cloud.vmmigration.v1.UtilizationReport.getDefaultInstance() : utilizationReport_; } } /** - * - * *
      * Required. The report to create.
      * 
* - * - * .google.cloud.vmmigration.v1.UtilizationReport utilization_report = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.vmmigration.v1.UtilizationReport utilization_report = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.vmmigration.v1.UtilizationReport, - com.google.cloud.vmmigration.v1.UtilizationReport.Builder, - com.google.cloud.vmmigration.v1.UtilizationReportOrBuilder> + com.google.cloud.vmmigration.v1.UtilizationReport, com.google.cloud.vmmigration.v1.UtilizationReport.Builder, com.google.cloud.vmmigration.v1.UtilizationReportOrBuilder> getUtilizationReportFieldBuilder() { if (utilizationReportBuilder_ == null) { - utilizationReportBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.vmmigration.v1.UtilizationReport, - com.google.cloud.vmmigration.v1.UtilizationReport.Builder, - com.google.cloud.vmmigration.v1.UtilizationReportOrBuilder>( - getUtilizationReport(), getParentForChildren(), isClean()); + utilizationReportBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.vmmigration.v1.UtilizationReport, com.google.cloud.vmmigration.v1.UtilizationReport.Builder, com.google.cloud.vmmigration.v1.UtilizationReportOrBuilder>( + getUtilizationReport(), + getParentForChildren(), + isClean()); utilizationReport_ = null; } return utilizationReportBuilder_; @@ -1086,24 +947,22 @@ public com.google.cloud.vmmigration.v1.UtilizationReport.Builder getUtilizationR private java.lang.Object utilizationReportId_ = ""; /** - * - * *
-     * Required. The ID to use for the report, which will become the final component of
-     * the reports's resource name.
+     * Required. The ID to use for the report, which will become the final
+     * component of the reports's resource name.
      * This value maximum length is 63 characters, and valid characters
      * are /[a-z][0-9]-/. It must start with an english letter and must not
      * end with a hyphen.
      * 
* * string utilization_report_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The utilizationReportId. */ public java.lang.String getUtilizationReportId() { java.lang.Object ref = utilizationReportId_; 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(); utilizationReportId_ = s; return s; @@ -1112,25 +971,24 @@ public java.lang.String getUtilizationReportId() { } } /** - * - * *
-     * Required. The ID to use for the report, which will become the final component of
-     * the reports's resource name.
+     * Required. The ID to use for the report, which will become the final
+     * component of the reports's resource name.
      * This value maximum length is 63 characters, and valid characters
      * are /[a-z][0-9]-/. It must start with an english letter and must not
      * end with a hyphen.
      * 
* * string utilization_report_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for utilizationReportId. */ - public com.google.protobuf.ByteString getUtilizationReportIdBytes() { + public com.google.protobuf.ByteString + getUtilizationReportIdBytes() { java.lang.Object ref = utilizationReportId_; 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); utilizationReportId_ = b; return b; } else { @@ -1138,73 +996,66 @@ public com.google.protobuf.ByteString getUtilizationReportIdBytes() { } } /** - * - * *
-     * Required. The ID to use for the report, which will become the final component of
-     * the reports's resource name.
+     * Required. The ID to use for the report, which will become the final
+     * component of the reports's resource name.
      * This value maximum length is 63 characters, and valid characters
      * are /[a-z][0-9]-/. It must start with an english letter and must not
      * end with a hyphen.
      * 
* * string utilization_report_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The utilizationReportId to set. * @return This builder for chaining. */ - public Builder setUtilizationReportId(java.lang.String value) { + public Builder setUtilizationReportId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + utilizationReportId_ = value; onChanged(); return this; } /** - * - * *
-     * Required. The ID to use for the report, which will become the final component of
-     * the reports's resource name.
+     * Required. The ID to use for the report, which will become the final
+     * component of the reports's resource name.
      * This value maximum length is 63 characters, and valid characters
      * are /[a-z][0-9]-/. It must start with an english letter and must not
      * end with a hyphen.
      * 
* * string utilization_report_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearUtilizationReportId() { - + utilizationReportId_ = getDefaultInstance().getUtilizationReportId(); onChanged(); return this; } /** - * - * *
-     * Required. The ID to use for the report, which will become the final component of
-     * the reports's resource name.
+     * Required. The ID to use for the report, which will become the final
+     * component of the reports's resource name.
      * This value maximum length is 63 characters, and valid characters
      * are /[a-z][0-9]-/. It must start with an english letter and must not
      * end with a hyphen.
      * 
* * string utilization_report_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for utilizationReportId to set. * @return This builder for chaining. */ - public Builder setUtilizationReportIdBytes(com.google.protobuf.ByteString value) { + public Builder setUtilizationReportIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + utilizationReportId_ = value; onChanged(); return this; @@ -1212,8 +1063,6 @@ public Builder setUtilizationReportIdBytes(com.google.protobuf.ByteString value) private java.lang.Object requestId_ = ""; /** - * - * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1229,13 +1078,13 @@ public Builder setUtilizationReportIdBytes(com.google.protobuf.ByteString value)
      * 
* * string request_id = 4; - * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; 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(); requestId_ = s; return s; @@ -1244,8 +1093,6 @@ public java.lang.String getRequestId() { } } /** - * - * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1261,14 +1108,15 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 4; - * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; 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); requestId_ = b; return b; } else { @@ -1276,8 +1124,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } } /** - * - * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1293,22 +1139,20 @@ public com.google.protobuf.ByteString getRequestIdBytes() {
      * 
* * string request_id = 4; - * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId(java.lang.String value) { + public Builder setRequestId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + requestId_ = value; onChanged(); return this; } /** - * - * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1324,18 +1168,15 @@ public Builder setRequestId(java.lang.String value) {
      * 
* * string request_id = 4; - * * @return This builder for chaining. */ public Builder clearRequestId() { - + requestId_ = getDefaultInstance().getRequestId(); onChanged(); return this; } /** - * - * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1351,23 +1192,23 @@ public Builder clearRequestId() {
      * 
* * string request_id = 4; - * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { + public Builder setRequestIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + requestId_ = 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); } @@ -1377,32 +1218,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.vmmigration.v1.CreateUtilizationReportRequest) } // @@protoc_insertion_point(class_scope:google.cloud.vmmigration.v1.CreateUtilizationReportRequest) - private static final com.google.cloud.vmmigration.v1.CreateUtilizationReportRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.vmmigration.v1.CreateUtilizationReportRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.vmmigration.v1.CreateUtilizationReportRequest(); } - public static com.google.cloud.vmmigration.v1.CreateUtilizationReportRequest - getDefaultInstance() { + public static com.google.cloud.vmmigration.v1.CreateUtilizationReportRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateUtilizationReportRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateUtilizationReportRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateUtilizationReportRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CreateUtilizationReportRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1414,8 +1253,9 @@ public com.google.protobuf.Parser getParserForTy } @java.lang.Override - public com.google.cloud.vmmigration.v1.CreateUtilizationReportRequest - getDefaultInstanceForType() { + public com.google.cloud.vmmigration.v1.CreateUtilizationReportRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CreateUtilizationReportRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CreateUtilizationReportRequestOrBuilder.java similarity index 68% rename from proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CreateUtilizationReportRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CreateUtilizationReportRequestOrBuilder.java index 1a1b5c4..b9e6aaf 100644 --- a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CreateUtilizationReportRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CreateUtilizationReportRequestOrBuilder.java @@ -1,134 +1,88 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; -public interface CreateUtilizationReportRequestOrBuilder - extends +public interface CreateUtilizationReportRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.CreateUtilizationReportRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The Utilization Report's parent.
    * 
* - * - * 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 Utilization Report's parent.
    * 
* - * - * 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. The report to create.
    * 
* - * - * .google.cloud.vmmigration.v1.UtilizationReport utilization_report = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.vmmigration.v1.UtilizationReport utilization_report = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the utilizationReport field is set. */ boolean hasUtilizationReport(); /** - * - * *
    * Required. The report to create.
    * 
* - * - * .google.cloud.vmmigration.v1.UtilizationReport utilization_report = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.vmmigration.v1.UtilizationReport utilization_report = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The utilizationReport. */ com.google.cloud.vmmigration.v1.UtilizationReport getUtilizationReport(); /** - * - * *
    * Required. The report to create.
    * 
* - * - * .google.cloud.vmmigration.v1.UtilizationReport utilization_report = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.vmmigration.v1.UtilizationReport utilization_report = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.vmmigration.v1.UtilizationReportOrBuilder getUtilizationReportOrBuilder(); /** - * - * *
-   * Required. The ID to use for the report, which will become the final component of
-   * the reports's resource name.
+   * Required. The ID to use for the report, which will become the final
+   * component of the reports's resource name.
    * This value maximum length is 63 characters, and valid characters
    * are /[a-z][0-9]-/. It must start with an english letter and must not
    * end with a hyphen.
    * 
* * string utilization_report_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The utilizationReportId. */ java.lang.String getUtilizationReportId(); /** - * - * *
-   * Required. The ID to use for the report, which will become the final component of
-   * the reports's resource name.
+   * Required. The ID to use for the report, which will become the final
+   * component of the reports's resource name.
    * This value maximum length is 63 characters, and valid characters
    * are /[a-z][0-9]-/. It must start with an english letter and must not
    * end with a hyphen.
    * 
* * string utilization_report_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for utilizationReportId. */ - com.google.protobuf.ByteString getUtilizationReportIdBytes(); + com.google.protobuf.ByteString + getUtilizationReportIdBytes(); /** - * - * *
    * A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -144,13 +98,10 @@ public interface CreateUtilizationReportRequestOrBuilder
    * 
* * string request_id = 4; - * * @return The requestId. */ java.lang.String getRequestId(); /** - * - * *
    * A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -166,8 +117,8 @@ public interface CreateUtilizationReportRequestOrBuilder
    * 
* * string request_id = 4; - * * @return The bytes for requestId. */ - com.google.protobuf.ByteString getRequestIdBytes(); + com.google.protobuf.ByteString + getRequestIdBytes(); } diff --git a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CutoverJob.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CutoverJob.java similarity index 63% rename from proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CutoverJob.java rename to owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CutoverJob.java index 2f0a9aa..00c7fce 100644 --- a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CutoverJob.java +++ b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CutoverJob.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; /** - * - * *
  * CutoverJob message describes a cutover of a migrating VM. The CutoverJob is
  * the operation of shutting down the VM, creating a snapshot and
@@ -29,16 +12,15 @@
  *
  * Protobuf type {@code google.cloud.vmmigration.v1.CutoverJob}
  */
-public final class CutoverJob extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class CutoverJob extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.vmmigration.v1.CutoverJob)
     CutoverJobOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use CutoverJob.newBuilder() to construct.
   private CutoverJob(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private CutoverJob() {
     name_ = "";
     state_ = 0;
@@ -47,15 +29,16 @@ private CutoverJob() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new CutoverJob();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private CutoverJob(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -74,103 +57,102 @@ private CutoverJob(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              com.google.protobuf.Timestamp.Builder subBuilder = null;
-              if (createTime_ != null) {
-                subBuilder = createTime_.toBuilder();
-              }
-              createTime_ =
-                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(createTime_);
-                createTime_ = subBuilder.buildPartial();
-              }
-
-              break;
+          case 10: {
+            com.google.protobuf.Timestamp.Builder subBuilder = null;
+            if (createTime_ != null) {
+              subBuilder = createTime_.toBuilder();
             }
-          case 26:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
-
-              name_ = s;
-              break;
+            createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(createTime_);
+              createTime_ = subBuilder.buildPartial();
             }
-          case 40:
-            {
-              int rawValue = input.readEnum();
 
-              state_ = rawValue;
-              break;
+            break;
+          }
+          case 26: {
+            java.lang.String s = input.readStringRequireUtf8();
+
+            name_ = s;
+            break;
+          }
+          case 40: {
+            int rawValue = input.readEnum();
+
+            state_ = rawValue;
+            break;
+          }
+          case 50: {
+            com.google.protobuf.Timestamp.Builder subBuilder = null;
+            if (stateTime_ != null) {
+              subBuilder = stateTime_.toBuilder();
+            }
+            stateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(stateTime_);
+              stateTime_ = subBuilder.buildPartial();
             }
-          case 50:
-            {
-              com.google.protobuf.Timestamp.Builder subBuilder = null;
-              if (stateTime_ != null) {
-                subBuilder = stateTime_.toBuilder();
-              }
-              stateTime_ =
-                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(stateTime_);
-                stateTime_ = subBuilder.buildPartial();
-              }
-
-              break;
+
+            break;
+          }
+          case 74: {
+            com.google.rpc.Status.Builder subBuilder = null;
+            if (error_ != null) {
+              subBuilder = error_.toBuilder();
             }
-          case 74:
-            {
-              com.google.rpc.Status.Builder subBuilder = null;
-              if (error_ != null) {
-                subBuilder = error_.toBuilder();
-              }
-              error_ = input.readMessage(com.google.rpc.Status.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(error_);
-                error_ = subBuilder.buildPartial();
-              }
-
-              break;
+            error_ = input.readMessage(com.google.rpc.Status.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(error_);
+              error_ = subBuilder.buildPartial();
             }
-          case 82:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
 
-              stateMessage_ = s;
-              break;
+            break;
+          }
+          case 82: {
+            java.lang.String s = input.readStringRequireUtf8();
+
+            stateMessage_ = s;
+            break;
+          }
+          case 104: {
+
+            progressPercent_ = input.readInt32();
+            break;
+          }
+          case 114: {
+            com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails.Builder subBuilder = null;
+            if (targetVmDetailsCase_ == 14) {
+              subBuilder = ((com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails) targetVmDetails_).toBuilder();
             }
-          case 104:
-            {
-              progressPercent_ = input.readInt32();
-              break;
+            targetVmDetails_ =
+                input.readMessage(com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom((com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails) targetVmDetails_);
+              targetVmDetails_ = subBuilder.buildPartial();
             }
-          case 114:
-            {
-              com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails.Builder subBuilder = null;
-              if (targetVmDetailsCase_ == 14) {
-                subBuilder =
-                    ((com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails) targetVmDetails_)
-                        .toBuilder();
-              }
-              targetVmDetails_ =
-                  input.readMessage(
-                      com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails.parser(),
-                      extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(
-                    (com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails) targetVmDetails_);
-                targetVmDetails_ = subBuilder.buildPartial();
-              }
-              targetVmDetailsCase_ = 14;
-              break;
+            targetVmDetailsCase_ = 14;
+            break;
+          }
+          case 130: {
+            com.google.protobuf.Timestamp.Builder subBuilder = null;
+            if (endTime_ != null) {
+              subBuilder = endTime_.toBuilder();
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            endTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(endTime_);
+              endTime_ = subBuilder.buildPartial();
             }
+
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
+            }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -178,41 +160,36 @@ private CutoverJob(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.vmmigration.v1.VmMigrationProto
-        .internal_static_google_cloud_vmmigration_v1_CutoverJob_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_CutoverJob_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.vmmigration.v1.VmMigrationProto
-        .internal_static_google_cloud_vmmigration_v1_CutoverJob_fieldAccessorTable
+    return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_CutoverJob_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.vmmigration.v1.CutoverJob.class,
-            com.google.cloud.vmmigration.v1.CutoverJob.Builder.class);
+            com.google.cloud.vmmigration.v1.CutoverJob.class, com.google.cloud.vmmigration.v1.CutoverJob.Builder.class);
   }
 
   /**
-   *
-   *
    * 
    * Possible states of the cutover job.
    * 
* * Protobuf enum {@code google.cloud.vmmigration.v1.CutoverJob.State} */ - public enum State implements com.google.protobuf.ProtocolMessageEnum { + public enum State + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * The state is unknown. This is used for API compatibility only and is not
      * used by the system.
@@ -222,8 +199,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     STATE_UNSPECIFIED(0),
     /**
-     *
-     *
      * 
      * The cutover job has not yet started.
      * 
@@ -232,8 +207,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ PENDING(1), /** - * - * *
      * The cutover job finished with errors.
      * 
@@ -242,8 +215,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ FAILED(2), /** - * - * *
      * The cutover job finished successfully.
      * 
@@ -252,8 +223,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ SUCCEEDED(3), /** - * - * *
      * The cutover job was cancelled.
      * 
@@ -262,8 +231,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ CANCELLED(4), /** - * - * *
      * The cutover job is being cancelled.
      * 
@@ -272,8 +239,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ CANCELLING(5), /** - * - * *
      * The cutover job is active and running.
      * 
@@ -282,8 +247,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ ACTIVE(6), /** - * - * *
      * OS adaptation is running as part of the cutover job to generate license.
      * 
@@ -295,8 +258,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * The state is unknown. This is used for API compatibility only and is not
      * used by the system.
@@ -306,8 +267,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int STATE_UNSPECIFIED_VALUE = 0;
     /**
-     *
-     *
      * 
      * The cutover job has not yet started.
      * 
@@ -316,8 +275,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PENDING_VALUE = 1; /** - * - * *
      * The cutover job finished with errors.
      * 
@@ -326,8 +283,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int FAILED_VALUE = 2; /** - * - * *
      * The cutover job finished successfully.
      * 
@@ -336,8 +291,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SUCCEEDED_VALUE = 3; /** - * - * *
      * The cutover job was cancelled.
      * 
@@ -346,8 +299,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CANCELLED_VALUE = 4; /** - * - * *
      * The cutover job is being cancelled.
      * 
@@ -356,8 +307,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CANCELLING_VALUE = 5; /** - * - * *
      * The cutover job is active and running.
      * 
@@ -366,8 +315,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ACTIVE_VALUE = 6; /** - * - * *
      * OS adaptation is running as part of the cutover job to generate license.
      * 
@@ -376,6 +323,7 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ADAPTING_OS_VALUE = 7; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -400,59 +348,54 @@ public static State valueOf(int value) { */ public static State forNumber(int value) { switch (value) { - case 0: - return STATE_UNSPECIFIED; - case 1: - return PENDING; - case 2: - return FAILED; - case 3: - return SUCCEEDED; - case 4: - return CANCELLED; - case 5: - return CANCELLING; - case 6: - return ACTIVE; - case 7: - return ADAPTING_OS; - default: - return null; - } - } - - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { - return internalValueMap; + case 0: return STATE_UNSPECIFIED; + case 1: return PENDING; + case 2: return FAILED; + case 3: return SUCCEEDED; + case 4: return CANCELLED; + case 5: return CANCELLING; + case 6: return ACTIVE; + case 7: return ADAPTING_OS; + default: return null; + } } - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public State findValueByNumber(int number) { - return State.forNumber(number); - } - }; + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { + return internalValueMap; + } + private static final com.google.protobuf.Internal.EnumLiteMap< + State> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public State findValueByNumber(int number) { + return State.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() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.cloud.vmmigration.v1.CutoverJob.getDescriptor().getEnumTypes().get(0); } private static final State[] VALUES = values(); - public static State valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static State 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; @@ -471,15 +414,12 @@ private State(int value) { private int targetVmDetailsCase_ = 0; private java.lang.Object targetVmDetails_; - public enum TargetVmDetailsCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { COMPUTE_ENGINE_TARGET_DETAILS(14), TARGETVMDETAILS_NOT_SET(0); private final int value; - private TargetVmDetailsCase(int value) { this.value = value; } @@ -495,36 +435,29 @@ public static TargetVmDetailsCase valueOf(int value) { public static TargetVmDetailsCase forNumber(int value) { switch (value) { - case 14: - return COMPUTE_ENGINE_TARGET_DETAILS; - case 0: - return TARGETVMDETAILS_NOT_SET; - default: - return null; + case 14: return COMPUTE_ENGINE_TARGET_DETAILS; + case 0: return TARGETVMDETAILS_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public TargetVmDetailsCase getTargetVmDetailsCase() { - return TargetVmDetailsCase.forNumber(targetVmDetailsCase_); + public TargetVmDetailsCase + getTargetVmDetailsCase() { + return TargetVmDetailsCase.forNumber( + targetVmDetailsCase_); } public static final int COMPUTE_ENGINE_TARGET_DETAILS_FIELD_NUMBER = 14; /** - * - * *
    * Output only. Details of the target VM in Compute Engine.
    * 
* - * - * .google.cloud.vmmigration.v1.ComputeEngineTargetDetails compute_engine_target_details = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.vmmigration.v1.ComputeEngineTargetDetails compute_engine_target_details = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the computeEngineTargetDetails field is set. */ @java.lang.Override @@ -532,42 +465,31 @@ public boolean hasComputeEngineTargetDetails() { return targetVmDetailsCase_ == 14; } /** - * - * *
    * Output only. Details of the target VM in Compute Engine.
    * 
* - * - * .google.cloud.vmmigration.v1.ComputeEngineTargetDetails compute_engine_target_details = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.vmmigration.v1.ComputeEngineTargetDetails compute_engine_target_details = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The computeEngineTargetDetails. */ @java.lang.Override - public com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails - getComputeEngineTargetDetails() { + public com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails getComputeEngineTargetDetails() { if (targetVmDetailsCase_ == 14) { - return (com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails) targetVmDetails_; + return (com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails) targetVmDetails_; } return com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails.getDefaultInstance(); } /** - * - * *
    * Output only. Details of the target VM in Compute Engine.
    * 
* - * - * .google.cloud.vmmigration.v1.ComputeEngineTargetDetails compute_engine_target_details = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.vmmigration.v1.ComputeEngineTargetDetails compute_engine_target_details = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public com.google.cloud.vmmigration.v1.ComputeEngineTargetDetailsOrBuilder - getComputeEngineTargetDetailsOrBuilder() { + public com.google.cloud.vmmigration.v1.ComputeEngineTargetDetailsOrBuilder getComputeEngineTargetDetailsOrBuilder() { if (targetVmDetailsCase_ == 14) { - return (com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails) targetVmDetails_; + return (com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails) targetVmDetails_; } return com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails.getDefaultInstance(); } @@ -575,16 +497,12 @@ public boolean hasComputeEngineTargetDetails() { public static final int CREATE_TIME_FIELD_NUMBER = 1; private com.google.protobuf.Timestamp createTime_; /** - * - * *
-   * Output only. The time the cutover job was created (as an API call, not when it was
-   * actually created in the target).
+   * Output only. The time the cutover job was created (as an API call, not when
+   * it was actually created in the target).
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ @java.lang.Override @@ -592,16 +510,12 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
-   * Output only. The time the cutover job was created (as an API call, not when it was
-   * actually created in the target).
+   * Output only. The time the cutover job was created (as an API call, not when
+   * it was actually created in the target).
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ @java.lang.Override @@ -609,32 +523,64 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
-   * Output only. The time the cutover job was created (as an API call, not when it was
-   * actually created in the target).
+   * Output only. The time the cutover job was created (as an API call, not when
+   * it was actually created in the target).
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { return getCreateTime(); } - public static final int NAME_FIELD_NUMBER = 3; - private volatile java.lang.Object name_; + public static final int END_TIME_FIELD_NUMBER = 16; + private com.google.protobuf.Timestamp endTime_; + /** + *
+   * Output only. The time the cutover job had finished.
+   * 
+ * + * .google.protobuf.Timestamp end_time = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return Whether the endTime field is set. + */ + @java.lang.Override + public boolean hasEndTime() { + return endTime_ != null; + } /** + *
+   * Output only. The time the cutover job had finished.
+   * 
* + * .google.protobuf.Timestamp end_time = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The endTime. + */ + @java.lang.Override + public com.google.protobuf.Timestamp getEndTime() { + return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; + } + /** + *
+   * Output only. The time the cutover job had finished.
+   * 
* + * .google.protobuf.Timestamp end_time = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + @java.lang.Override + public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { + return getEndTime(); + } + + public static final int NAME_FIELD_NUMBER = 3; + private volatile java.lang.Object name_; + /** *
    * Output only. The name of the cutover job.
    * 
* * string name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ @java.lang.Override @@ -643,29 +589,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. The name of the cutover job.
    * 
* * string name = 3 [(.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 { @@ -676,55 +622,38 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int STATE_FIELD_NUMBER = 5; private int state_; /** - * - * *
    * Output only. State of the cutover job.
    * 
* - * - * .google.cloud.vmmigration.v1.CutoverJob.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.vmmigration.v1.CutoverJob.State state = 5 [(.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 cutover job.
    * 
* - * - * .google.cloud.vmmigration.v1.CutoverJob.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.vmmigration.v1.CutoverJob.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ - @java.lang.Override - public com.google.cloud.vmmigration.v1.CutoverJob.State getState() { + @java.lang.Override public com.google.cloud.vmmigration.v1.CutoverJob.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.vmmigration.v1.CutoverJob.State result = - com.google.cloud.vmmigration.v1.CutoverJob.State.valueOf(state_); + com.google.cloud.vmmigration.v1.CutoverJob.State result = com.google.cloud.vmmigration.v1.CutoverJob.State.valueOf(state_); return result == null ? com.google.cloud.vmmigration.v1.CutoverJob.State.UNRECOGNIZED : result; } public static final int STATE_TIME_FIELD_NUMBER = 6; private com.google.protobuf.Timestamp stateTime_; /** - * - * *
    * Output only. The time the state was last updated.
    * 
* - * .google.protobuf.Timestamp state_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp state_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the stateTime field is set. */ @java.lang.Override @@ -732,15 +661,11 @@ public boolean hasStateTime() { return stateTime_ != null; } /** - * - * *
    * Output only. The time the state was last updated.
    * 
* - * .google.protobuf.Timestamp state_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp state_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The stateTime. */ @java.lang.Override @@ -748,14 +673,11 @@ public com.google.protobuf.Timestamp getStateTime() { return stateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : stateTime_; } /** - * - * *
    * Output only. The time the state was last updated.
    * 
* - * .google.protobuf.Timestamp state_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp state_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getStateTimeOrBuilder() { @@ -765,14 +687,11 @@ public com.google.protobuf.TimestampOrBuilder getStateTimeOrBuilder() { public static final int PROGRESS_PERCENT_FIELD_NUMBER = 13; private int progressPercent_; /** - * - * *
    * Output only. The current progress in percentage of the cutover job.
    * 
* * int32 progress_percent = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The progressPercent. */ @java.lang.Override @@ -783,14 +702,12 @@ public int getProgressPercent() { public static final int ERROR_FIELD_NUMBER = 9; private com.google.rpc.Status error_; /** - * - * *
-   * Output only. Provides details for the errors that led to the Cutover Job's state.
+   * Output only. Provides details for the errors that led to the Cutover Job's
+   * state.
    * 
* * .google.rpc.Status error = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return Whether the error field is set. */ @java.lang.Override @@ -798,14 +715,12 @@ public boolean hasError() { return error_ != null; } /** - * - * *
-   * Output only. Provides details for the errors that led to the Cutover Job's state.
+   * Output only. Provides details for the errors that led to the Cutover Job's
+   * state.
    * 
* * .google.rpc.Status error = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The error. */ @java.lang.Override @@ -813,10 +728,9 @@ public com.google.rpc.Status getError() { return error_ == null ? com.google.rpc.Status.getDefaultInstance() : error_; } /** - * - * *
-   * Output only. Provides details for the errors that led to the Cutover Job's state.
+   * Output only. Provides details for the errors that led to the Cutover Job's
+   * state.
    * 
* * .google.rpc.Status error = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -829,14 +743,12 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() { public static final int STATE_MESSAGE_FIELD_NUMBER = 10; private volatile java.lang.Object stateMessage_; /** - * - * *
-   * Output only. A message providing possible extra details about the current state.
+   * Output only. A message providing possible extra details about the current
+   * state.
    * 
* * string state_message = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The stateMessage. */ @java.lang.Override @@ -845,29 +757,30 @@ public java.lang.String getStateMessage() { 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(); stateMessage_ = s; return s; } } /** - * - * *
-   * Output only. A message providing possible extra details about the current state.
+   * Output only. A message providing possible extra details about the current
+   * state.
    * 
* * string state_message = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for stateMessage. */ @java.lang.Override - public com.google.protobuf.ByteString getStateMessageBytes() { + public com.google.protobuf.ByteString + getStateMessageBytes() { java.lang.Object ref = stateMessage_; 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); stateMessage_ = b; return b; } else { @@ -876,7 +789,6 @@ public com.google.protobuf.ByteString getStateMessageBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -888,7 +800,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 (createTime_ != null) { output.writeMessage(1, getCreateTime()); } @@ -911,8 +824,10 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io output.writeInt32(13, progressPercent_); } if (targetVmDetailsCase_ == 14) { - output.writeMessage( - 14, (com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails) targetVmDetails_); + output.writeMessage(14, (com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails) targetVmDetails_); + } + if (endTime_ != null) { + output.writeMessage(16, getEndTime()); } unknownFields.writeTo(output); } @@ -924,30 +839,38 @@ public int getSerializedSize() { size = 0; if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getCreateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getCreateTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, name_); } if (state_ != com.google.cloud.vmmigration.v1.CutoverJob.State.STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(5, state_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(5, state_); } if (stateTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getStateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, getStateTime()); } if (error_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, getError()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(9, getError()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(stateMessage_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, stateMessage_); } if (progressPercent_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(13, progressPercent_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(13, progressPercent_); } if (targetVmDetailsCase_ == 14) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 14, (com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails) targetVmDetails_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(14, (com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails) targetVmDetails_); + } + if (endTime_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(16, getEndTime()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -957,35 +880,45 @@ 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.vmmigration.v1.CutoverJob)) { return super.equals(obj); } - com.google.cloud.vmmigration.v1.CutoverJob other = - (com.google.cloud.vmmigration.v1.CutoverJob) obj; + com.google.cloud.vmmigration.v1.CutoverJob other = (com.google.cloud.vmmigration.v1.CutoverJob) obj; if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime().equals(other.getCreateTime())) return false; + if (!getCreateTime() + .equals(other.getCreateTime())) return false; + } + if (hasEndTime() != other.hasEndTime()) return false; + if (hasEndTime()) { + if (!getEndTime() + .equals(other.getEndTime())) return false; } - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (state_ != other.state_) return false; if (hasStateTime() != other.hasStateTime()) return false; if (hasStateTime()) { - if (!getStateTime().equals(other.getStateTime())) return false; + if (!getStateTime() + .equals(other.getStateTime())) return false; } - if (getProgressPercent() != other.getProgressPercent()) return false; + if (getProgressPercent() + != other.getProgressPercent()) return false; if (hasError() != other.hasError()) return false; if (hasError()) { - if (!getError().equals(other.getError())) return false; + if (!getError() + .equals(other.getError())) return false; } - if (!getStateMessage().equals(other.getStateMessage())) return false; + if (!getStateMessage() + .equals(other.getStateMessage())) return false; if (!getTargetVmDetailsCase().equals(other.getTargetVmDetailsCase())) return false; switch (targetVmDetailsCase_) { case 14: - if (!getComputeEngineTargetDetails().equals(other.getComputeEngineTargetDetails())) - return false; + if (!getComputeEngineTargetDetails() + .equals(other.getComputeEngineTargetDetails())) return false; break; case 0: default: @@ -1005,6 +938,10 @@ public int hashCode() { hash = (37 * hash) + CREATE_TIME_FIELD_NUMBER; hash = (53 * hash) + getCreateTime().hashCode(); } + if (hasEndTime()) { + hash = (37 * hash) + END_TIME_FIELD_NUMBER; + hash = (53 * hash) + getEndTime().hashCode(); + } hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); hash = (37 * hash) + STATE_FIELD_NUMBER; @@ -1034,104 +971,97 @@ public int hashCode() { return hash; } - public static com.google.cloud.vmmigration.v1.CutoverJob parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.vmmigration.v1.CutoverJob parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.vmmigration.v1.CutoverJob 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.vmmigration.v1.CutoverJob parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.vmmigration.v1.CutoverJob 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.vmmigration.v1.CutoverJob parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.vmmigration.v1.CutoverJob 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.vmmigration.v1.CutoverJob parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.vmmigration.v1.CutoverJob 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.vmmigration.v1.CutoverJob parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.vmmigration.v1.CutoverJob parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.vmmigration.v1.CutoverJob 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.vmmigration.v1.CutoverJob 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.vmmigration.v1.CutoverJob 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.vmmigration.v1.CutoverJob 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; } /** - * - * *
    * CutoverJob message describes a cutover of a migrating VM. The CutoverJob is
    * the operation of shutting down the VM, creating a snapshot and
@@ -1140,23 +1070,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.vmmigration.v1.CutoverJob}
    */
-  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.vmmigration.v1.CutoverJob)
       com.google.cloud.vmmigration.v1.CutoverJobOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.vmmigration.v1.VmMigrationProto
-          .internal_static_google_cloud_vmmigration_v1_CutoverJob_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_CutoverJob_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.vmmigration.v1.VmMigrationProto
-          .internal_static_google_cloud_vmmigration_v1_CutoverJob_fieldAccessorTable
+      return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_CutoverJob_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.vmmigration.v1.CutoverJob.class,
-              com.google.cloud.vmmigration.v1.CutoverJob.Builder.class);
+              com.google.cloud.vmmigration.v1.CutoverJob.class, com.google.cloud.vmmigration.v1.CutoverJob.Builder.class);
     }
 
     // Construct using com.google.cloud.vmmigration.v1.CutoverJob.newBuilder()
@@ -1164,15 +1092,16 @@ 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) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1182,6 +1111,12 @@ public Builder clear() {
         createTime_ = null;
         createTimeBuilder_ = null;
       }
+      if (endTimeBuilder_ == null) {
+        endTime_ = null;
+      } else {
+        endTime_ = null;
+        endTimeBuilder_ = null;
+      }
       name_ = "";
 
       state_ = 0;
@@ -1208,9 +1143,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.vmmigration.v1.VmMigrationProto
-          .internal_static_google_cloud_vmmigration_v1_CutoverJob_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_CutoverJob_descriptor;
     }
 
     @java.lang.Override
@@ -1229,8 +1164,7 @@ public com.google.cloud.vmmigration.v1.CutoverJob build() {
 
     @java.lang.Override
     public com.google.cloud.vmmigration.v1.CutoverJob buildPartial() {
-      com.google.cloud.vmmigration.v1.CutoverJob result =
-          new com.google.cloud.vmmigration.v1.CutoverJob(this);
+      com.google.cloud.vmmigration.v1.CutoverJob result = new com.google.cloud.vmmigration.v1.CutoverJob(this);
       if (targetVmDetailsCase_ == 14) {
         if (computeEngineTargetDetailsBuilder_ == null) {
           result.targetVmDetails_ = targetVmDetails_;
@@ -1243,6 +1177,11 @@ public com.google.cloud.vmmigration.v1.CutoverJob buildPartial() {
       } else {
         result.createTime_ = createTimeBuilder_.build();
       }
+      if (endTimeBuilder_ == null) {
+        result.endTime_ = endTime_;
+      } else {
+        result.endTime_ = endTimeBuilder_.build();
+      }
       result.name_ = name_;
       result.state_ = state_;
       if (stateTimeBuilder_ == null) {
@@ -1266,39 +1205,38 @@ public com.google.cloud.vmmigration.v1.CutoverJob buildPartial() {
     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.vmmigration.v1.CutoverJob) {
-        return mergeFrom((com.google.cloud.vmmigration.v1.CutoverJob) other);
+        return mergeFrom((com.google.cloud.vmmigration.v1.CutoverJob)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1310,6 +1248,9 @@ public Builder mergeFrom(com.google.cloud.vmmigration.v1.CutoverJob other) {
       if (other.hasCreateTime()) {
         mergeCreateTime(other.getCreateTime());
       }
+      if (other.hasEndTime()) {
+        mergeEndTime(other.getEndTime());
+      }
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         onChanged();
@@ -1331,15 +1272,13 @@ public Builder mergeFrom(com.google.cloud.vmmigration.v1.CutoverJob other) {
         onChanged();
       }
       switch (other.getTargetVmDetailsCase()) {
-        case COMPUTE_ENGINE_TARGET_DETAILS:
-          {
-            mergeComputeEngineTargetDetails(other.getComputeEngineTargetDetails());
-            break;
-          }
-        case TARGETVMDETAILS_NOT_SET:
-          {
-            break;
-          }
+        case COMPUTE_ENGINE_TARGET_DETAILS: {
+          mergeComputeEngineTargetDetails(other.getComputeEngineTargetDetails());
+          break;
+        }
+        case TARGETVMDETAILS_NOT_SET: {
+          break;
+        }
       }
       this.mergeUnknownFields(other.unknownFields);
       onChanged();
@@ -1369,12 +1308,12 @@ public Builder mergeFrom(
       }
       return this;
     }
-
     private int targetVmDetailsCase_ = 0;
     private java.lang.Object targetVmDetails_;
-
-    public TargetVmDetailsCase getTargetVmDetailsCase() {
-      return TargetVmDetailsCase.forNumber(targetVmDetailsCase_);
+    public TargetVmDetailsCase
+        getTargetVmDetailsCase() {
+      return TargetVmDetailsCase.forNumber(
+          targetVmDetailsCase_);
     }
 
     public Builder clearTargetVmDetails() {
@@ -1384,22 +1323,15 @@ public Builder clearTargetVmDetails() {
       return this;
     }
 
+
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails,
-            com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails.Builder,
-            com.google.cloud.vmmigration.v1.ComputeEngineTargetDetailsOrBuilder>
-        computeEngineTargetDetailsBuilder_;
+        com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails, com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails.Builder, com.google.cloud.vmmigration.v1.ComputeEngineTargetDetailsOrBuilder> computeEngineTargetDetailsBuilder_;
     /**
-     *
-     *
      * 
      * Output only. Details of the target VM in Compute Engine.
      * 
* - * - * .google.cloud.vmmigration.v1.ComputeEngineTargetDetails compute_engine_target_details = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.vmmigration.v1.ComputeEngineTargetDetails compute_engine_target_details = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the computeEngineTargetDetails field is set. */ @java.lang.Override @@ -1407,21 +1339,15 @@ public boolean hasComputeEngineTargetDetails() { return targetVmDetailsCase_ == 14; } /** - * - * *
      * Output only. Details of the target VM in Compute Engine.
      * 
* - * - * .google.cloud.vmmigration.v1.ComputeEngineTargetDetails compute_engine_target_details = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.vmmigration.v1.ComputeEngineTargetDetails compute_engine_target_details = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The computeEngineTargetDetails. */ @java.lang.Override - public com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails - getComputeEngineTargetDetails() { + public com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails getComputeEngineTargetDetails() { if (computeEngineTargetDetailsBuilder_ == null) { if (targetVmDetailsCase_ == 14) { return (com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails) targetVmDetails_; @@ -1435,18 +1361,13 @@ public boolean hasComputeEngineTargetDetails() { } } /** - * - * *
      * Output only. Details of the target VM in Compute Engine.
      * 
* - * - * .google.cloud.vmmigration.v1.ComputeEngineTargetDetails compute_engine_target_details = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.vmmigration.v1.ComputeEngineTargetDetails compute_engine_target_details = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setComputeEngineTargetDetails( - com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails value) { + public Builder setComputeEngineTargetDetails(com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails value) { if (computeEngineTargetDetailsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1460,15 +1381,11 @@ public Builder setComputeEngineTargetDetails( return this; } /** - * - * *
      * Output only. Details of the target VM in Compute Engine.
      * 
* - * - * .google.cloud.vmmigration.v1.ComputeEngineTargetDetails compute_engine_target_details = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.vmmigration.v1.ComputeEngineTargetDetails compute_engine_target_details = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setComputeEngineTargetDetails( com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails.Builder builderForValue) { @@ -1482,28 +1399,18 @@ public Builder setComputeEngineTargetDetails( return this; } /** - * - * *
      * Output only. Details of the target VM in Compute Engine.
      * 
* - * - * .google.cloud.vmmigration.v1.ComputeEngineTargetDetails compute_engine_target_details = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.vmmigration.v1.ComputeEngineTargetDetails compute_engine_target_details = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder mergeComputeEngineTargetDetails( - com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails value) { + public Builder mergeComputeEngineTargetDetails(com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails value) { if (computeEngineTargetDetailsBuilder_ == null) { - if (targetVmDetailsCase_ == 14 - && targetVmDetails_ - != com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails - .getDefaultInstance()) { - targetVmDetails_ = - com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails.newBuilder( - (com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails) targetVmDetails_) - .mergeFrom(value) - .buildPartial(); + if (targetVmDetailsCase_ == 14 && + targetVmDetails_ != com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails.getDefaultInstance()) { + targetVmDetails_ = com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails.newBuilder((com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails) targetVmDetails_) + .mergeFrom(value).buildPartial(); } else { targetVmDetails_ = value; } @@ -1519,15 +1426,11 @@ public Builder mergeComputeEngineTargetDetails( return this; } /** - * - * *
      * Output only. Details of the target VM in Compute Engine.
      * 
* - * - * .google.cloud.vmmigration.v1.ComputeEngineTargetDetails compute_engine_target_details = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.vmmigration.v1.ComputeEngineTargetDetails compute_engine_target_details = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearComputeEngineTargetDetails() { if (computeEngineTargetDetailsBuilder_ == null) { @@ -1546,34 +1449,24 @@ public Builder clearComputeEngineTargetDetails() { return this; } /** - * - * *
      * Output only. Details of the target VM in Compute Engine.
      * 
* - * - * .google.cloud.vmmigration.v1.ComputeEngineTargetDetails compute_engine_target_details = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.vmmigration.v1.ComputeEngineTargetDetails compute_engine_target_details = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails.Builder - getComputeEngineTargetDetailsBuilder() { + public com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails.Builder getComputeEngineTargetDetailsBuilder() { return getComputeEngineTargetDetailsFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. Details of the target VM in Compute Engine.
      * 
* - * - * .google.cloud.vmmigration.v1.ComputeEngineTargetDetails compute_engine_target_details = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.vmmigration.v1.ComputeEngineTargetDetails compute_engine_target_details = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public com.google.cloud.vmmigration.v1.ComputeEngineTargetDetailsOrBuilder - getComputeEngineTargetDetailsOrBuilder() { + public com.google.cloud.vmmigration.v1.ComputeEngineTargetDetailsOrBuilder getComputeEngineTargetDetailsOrBuilder() { if ((targetVmDetailsCase_ == 14) && (computeEngineTargetDetailsBuilder_ != null)) { return computeEngineTargetDetailsBuilder_.getMessageOrBuilder(); } else { @@ -1584,99 +1477,69 @@ public Builder clearComputeEngineTargetDetails() { } } /** - * - * *
      * Output only. Details of the target VM in Compute Engine.
      * 
* - * - * .google.cloud.vmmigration.v1.ComputeEngineTargetDetails compute_engine_target_details = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.vmmigration.v1.ComputeEngineTargetDetails compute_engine_target_details = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails, - com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails.Builder, - com.google.cloud.vmmigration.v1.ComputeEngineTargetDetailsOrBuilder> + com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails, com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails.Builder, com.google.cloud.vmmigration.v1.ComputeEngineTargetDetailsOrBuilder> getComputeEngineTargetDetailsFieldBuilder() { if (computeEngineTargetDetailsBuilder_ == null) { if (!(targetVmDetailsCase_ == 14)) { - targetVmDetails_ = - com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails.getDefaultInstance(); + targetVmDetails_ = com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails.getDefaultInstance(); } - computeEngineTargetDetailsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails, - com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails.Builder, - com.google.cloud.vmmigration.v1.ComputeEngineTargetDetailsOrBuilder>( + computeEngineTargetDetailsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails, com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails.Builder, com.google.cloud.vmmigration.v1.ComputeEngineTargetDetailsOrBuilder>( (com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails) targetVmDetails_, getParentForChildren(), isClean()); targetVmDetails_ = null; } targetVmDetailsCase_ = 14; - onChanged(); - ; + onChanged();; return computeEngineTargetDetailsBuilder_; } private com.google.protobuf.Timestamp createTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - createTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; /** - * - * *
-     * Output only. The time the cutover job was created (as an API call, not when it was
-     * actually created in the target).
+     * Output only. The time the cutover job was created (as an API call, not when
+     * it was actually created in the target).
      * 
* - * - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** - * - * *
-     * Output only. The time the cutover job was created (as an API call, not when it was
-     * actually created in the target).
+     * Output only. The time the cutover job was created (as an API call, not when
+     * it was actually created in the target).
      * 
* - * - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** - * - * *
-     * Output only. The time the cutover job was created (as an API call, not when it was
-     * actually created in the target).
+     * Output only. The time the cutover job was created (as an API call, not when
+     * it was actually created in the target).
      * 
* - * - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -1692,18 +1555,15 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
-     * Output only. The time the cutover job was created (as an API call, not when it was
-     * actually created in the target).
+     * Output only. The time the cutover job was created (as an API call, not when
+     * it was actually created in the target).
      * 
* - * - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); onChanged(); @@ -1714,22 +1574,18 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
-     * Output only. The time the cutover job was created (as an API call, not when it was
-     * actually created in the target).
+     * Output only. The time the cutover job was created (as an API call, not when
+     * it was actually created in the target).
      * 
* - * - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { if (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -1741,16 +1597,12 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
-     * Output only. The time the cutover job was created (as an API call, not when it was
-     * actually created in the target).
+     * Output only. The time the cutover job was created (as an API call, not when
+     * it was actually created in the target).
      * 
* - * - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearCreateTime() { if (createTimeBuilder_ == null) { @@ -1764,88 +1616,225 @@ public Builder clearCreateTime() { return this; } /** - * - * *
-     * Output only. The time the cutover job was created (as an API call, not when it was
-     * actually created in the target).
+     * Output only. The time the cutover job was created (as an API call, not when
+     * it was actually created in the target).
      * 
* - * - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
-     * Output only. The time the cutover job was created (as an API call, not when it was
-     * actually created in the target).
+     * Output only. The time the cutover job was created (as an API call, not when
+     * it was actually created in the target).
      * 
* - * - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } } /** - * - * *
-     * Output only. The time the cutover job was created (as an API call, not when it was
-     * actually created in the target).
+     * Output only. The time the cutover job was created (as an API call, not when
+     * it was actually created in the target).
      * 
* - * - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 1 [(.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> getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { - createTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getCreateTime(), getParentForChildren(), isClean()); + createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), + getParentForChildren(), + isClean()); createTime_ = null; } return createTimeBuilder_; } - private java.lang.Object name_ = ""; + 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_; + /** + *
+     * Output only. The time the cutover job had finished.
+     * 
+ * + * .google.protobuf.Timestamp end_time = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return Whether the endTime field is set. + */ + public boolean hasEndTime() { + return endTimeBuilder_ != null || endTime_ != null; + } + /** + *
+     * Output only. The time the cutover job had finished.
+     * 
+ * + * .google.protobuf.Timestamp end_time = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The endTime. + */ + public com.google.protobuf.Timestamp getEndTime() { + if (endTimeBuilder_ == null) { + return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; + } else { + return endTimeBuilder_.getMessage(); + } + } + /** + *
+     * Output only. The time the cutover job had finished.
+     * 
+ * + * .google.protobuf.Timestamp end_time = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public Builder setEndTime(com.google.protobuf.Timestamp value) { + if (endTimeBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + endTime_ = value; + onChanged(); + } else { + endTimeBuilder_.setMessage(value); + } + + return this; + } + /** + *
+     * Output only. The time the cutover job had finished.
+     * 
+ * + * .google.protobuf.Timestamp end_time = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public Builder setEndTime( + com.google.protobuf.Timestamp.Builder builderForValue) { + if (endTimeBuilder_ == null) { + endTime_ = builderForValue.build(); + onChanged(); + } else { + endTimeBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + *
+     * Output only. The time the cutover job had finished.
+     * 
+ * + * .google.protobuf.Timestamp end_time = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public Builder mergeEndTime(com.google.protobuf.Timestamp value) { + if (endTimeBuilder_ == null) { + if (endTime_ != null) { + endTime_ = + com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); + } else { + endTime_ = value; + } + onChanged(); + } else { + endTimeBuilder_.mergeFrom(value); + } + + return this; + } /** + *
+     * Output only. The time the cutover job had finished.
+     * 
* + * .google.protobuf.Timestamp end_time = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public Builder clearEndTime() { + if (endTimeBuilder_ == null) { + endTime_ = null; + onChanged(); + } else { + endTime_ = null; + endTimeBuilder_ = null; + } + + return this; + } + /** + *
+     * Output only. The time the cutover job had finished.
+     * 
* + * .google.protobuf.Timestamp end_time = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { + + onChanged(); + return getEndTimeFieldBuilder().getBuilder(); + } + /** + *
+     * Output only. The time the cutover job had finished.
+     * 
+ * + * .google.protobuf.Timestamp end_time = 16 [(.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_; + } + } + /** + *
+     * Output only. The time the cutover job had finished.
+     * 
+ * + * .google.protobuf.Timestamp end_time = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + private com.google.protobuf.SingleFieldBuilderV3< + 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()); + endTime_ = null; + } + return endTimeBuilder_; + } + + private java.lang.Object name_ = ""; + /** *
      * Output only. The name of the cutover job.
      * 
* * string name = 3 [(.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; @@ -1854,21 +1843,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Output only. The name of the cutover job.
      * 
* * string name = 3 [(.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 { @@ -1876,61 +1864,54 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Output only. The name of the cutover job.
      * 
* * string name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Output only. The name of the cutover job.
      * 
* * string name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Output only. The name of the cutover job.
      * 
* * string name = 3 [(.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) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -1938,75 +1919,51 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private int state_ = 0; /** - * - * *
      * Output only. State of the cutover job.
      * 
* - * - * .google.cloud.vmmigration.v1.CutoverJob.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.vmmigration.v1.CutoverJob.State state = 5 [(.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 cutover job.
      * 
* - * - * .google.cloud.vmmigration.v1.CutoverJob.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.vmmigration.v1.CutoverJob.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ public Builder setStateValue(int value) { - + state_ = value; onChanged(); return this; } /** - * - * *
      * Output only. State of the cutover job.
      * 
* - * - * .google.cloud.vmmigration.v1.CutoverJob.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.vmmigration.v1.CutoverJob.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ @java.lang.Override public com.google.cloud.vmmigration.v1.CutoverJob.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.vmmigration.v1.CutoverJob.State result = - com.google.cloud.vmmigration.v1.CutoverJob.State.valueOf(state_); - return result == null - ? com.google.cloud.vmmigration.v1.CutoverJob.State.UNRECOGNIZED - : result; + com.google.cloud.vmmigration.v1.CutoverJob.State result = com.google.cloud.vmmigration.v1.CutoverJob.State.valueOf(state_); + return result == null ? com.google.cloud.vmmigration.v1.CutoverJob.State.UNRECOGNIZED : result; } /** - * - * *
      * Output only. State of the cutover job.
      * 
* - * - * .google.cloud.vmmigration.v1.CutoverJob.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.vmmigration.v1.CutoverJob.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The state to set. * @return This builder for chaining. */ @@ -2014,26 +1971,21 @@ public Builder setState(com.google.cloud.vmmigration.v1.CutoverJob.State value) if (value == null) { throw new NullPointerException(); } - + state_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Output only. State of the cutover job.
      * 
* - * - * .google.cloud.vmmigration.v1.CutoverJob.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.vmmigration.v1.CutoverJob.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearState() { - + state_ = 0; onChanged(); return this; @@ -2041,35 +1993,24 @@ public Builder clearState() { private com.google.protobuf.Timestamp stateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - stateTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> stateTimeBuilder_; /** - * - * *
      * Output only. The time the state was last updated.
      * 
* - * .google.protobuf.Timestamp state_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp state_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the stateTime field is set. */ public boolean hasStateTime() { return stateTimeBuilder_ != null || stateTime_ != null; } /** - * - * *
      * Output only. The time the state was last updated.
      * 
* - * .google.protobuf.Timestamp state_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp state_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The stateTime. */ public com.google.protobuf.Timestamp getStateTime() { @@ -2080,14 +2021,11 @@ public com.google.protobuf.Timestamp getStateTime() { } } /** - * - * *
      * Output only. The time the state was last updated.
      * 
* - * .google.protobuf.Timestamp state_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp state_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setStateTime(com.google.protobuf.Timestamp value) { if (stateTimeBuilder_ == null) { @@ -2103,16 +2041,14 @@ public Builder setStateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time the state was last updated.
      * 
* - * .google.protobuf.Timestamp state_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp state_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setStateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setStateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (stateTimeBuilder_ == null) { stateTime_ = builderForValue.build(); onChanged(); @@ -2123,20 +2059,17 @@ public Builder setStateTime(com.google.protobuf.Timestamp.Builder builderForValu return this; } /** - * - * *
      * Output only. The time the state was last updated.
      * 
* - * .google.protobuf.Timestamp state_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp state_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeStateTime(com.google.protobuf.Timestamp value) { if (stateTimeBuilder_ == null) { if (stateTime_ != null) { stateTime_ = - com.google.protobuf.Timestamp.newBuilder(stateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(stateTime_).mergeFrom(value).buildPartial(); } else { stateTime_ = value; } @@ -2148,14 +2081,11 @@ public Builder mergeStateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time the state was last updated.
      * 
* - * .google.protobuf.Timestamp state_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp state_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearStateTime() { if (stateTimeBuilder_ == null) { @@ -2169,74 +2099,60 @@ public Builder clearStateTime() { return this; } /** - * - * *
      * Output only. The time the state was last updated.
      * 
* - * .google.protobuf.Timestamp state_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp state_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getStateTimeBuilder() { - + onChanged(); return getStateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The time the state was last updated.
      * 
* - * .google.protobuf.Timestamp state_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp state_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getStateTimeOrBuilder() { if (stateTimeBuilder_ != null) { return stateTimeBuilder_.getMessageOrBuilder(); } else { - return stateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : stateTime_; + return stateTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : stateTime_; } } /** - * - * *
      * Output only. The time the state was last updated.
      * 
* - * .google.protobuf.Timestamp state_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp state_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> getStateTimeFieldBuilder() { if (stateTimeBuilder_ == null) { - stateTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getStateTime(), getParentForChildren(), isClean()); + stateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getStateTime(), + getParentForChildren(), + isClean()); stateTime_ = null; } return stateTimeBuilder_; } - private int progressPercent_; + private int progressPercent_ ; /** - * - * *
      * Output only. The current progress in percentage of the cutover job.
      * 
* * int32 progress_percent = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The progressPercent. */ @java.lang.Override @@ -2244,36 +2160,30 @@ public int getProgressPercent() { return progressPercent_; } /** - * - * *
      * Output only. The current progress in percentage of the cutover job.
      * 
* * int32 progress_percent = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The progressPercent to set. * @return This builder for chaining. */ public Builder setProgressPercent(int value) { - + progressPercent_ = value; onChanged(); return this; } /** - * - * *
      * Output only. The current progress in percentage of the cutover job.
      * 
* * int32 progress_percent = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearProgressPercent() { - + progressPercent_ = 0; onChanged(); return this; @@ -2281,31 +2191,26 @@ public Builder clearProgressPercent() { private com.google.rpc.Status error_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> - errorBuilder_; + com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> errorBuilder_; /** - * - * *
-     * Output only. Provides details for the errors that led to the Cutover Job's state.
+     * Output only. Provides details for the errors that led to the Cutover Job's
+     * state.
      * 
* * .google.rpc.Status error = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return Whether the error field is set. */ public boolean hasError() { return errorBuilder_ != null || error_ != null; } /** - * - * *
-     * Output only. Provides details for the errors that led to the Cutover Job's state.
+     * Output only. Provides details for the errors that led to the Cutover Job's
+     * state.
      * 
* * .google.rpc.Status error = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The error. */ public com.google.rpc.Status getError() { @@ -2316,10 +2221,9 @@ public com.google.rpc.Status getError() { } } /** - * - * *
-     * Output only. Provides details for the errors that led to the Cutover Job's state.
+     * Output only. Provides details for the errors that led to the Cutover Job's
+     * state.
      * 
* * .google.rpc.Status error = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -2338,15 +2242,15 @@ public Builder setError(com.google.rpc.Status value) { return this; } /** - * - * *
-     * Output only. Provides details for the errors that led to the Cutover Job's state.
+     * Output only. Provides details for the errors that led to the Cutover Job's
+     * state.
      * 
* * .google.rpc.Status error = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setError(com.google.rpc.Status.Builder builderForValue) { + public Builder setError( + com.google.rpc.Status.Builder builderForValue) { if (errorBuilder_ == null) { error_ = builderForValue.build(); onChanged(); @@ -2357,10 +2261,9 @@ public Builder setError(com.google.rpc.Status.Builder builderForValue) { return this; } /** - * - * *
-     * Output only. Provides details for the errors that led to the Cutover Job's state.
+     * Output only. Provides details for the errors that led to the Cutover Job's
+     * state.
      * 
* * .google.rpc.Status error = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -2368,7 +2271,8 @@ public Builder setError(com.google.rpc.Status.Builder builderForValue) { public Builder mergeError(com.google.rpc.Status value) { if (errorBuilder_ == null) { if (error_ != null) { - error_ = com.google.rpc.Status.newBuilder(error_).mergeFrom(value).buildPartial(); + error_ = + com.google.rpc.Status.newBuilder(error_).mergeFrom(value).buildPartial(); } else { error_ = value; } @@ -2380,10 +2284,9 @@ public Builder mergeError(com.google.rpc.Status value) { return this; } /** - * - * *
-     * Output only. Provides details for the errors that led to the Cutover Job's state.
+     * Output only. Provides details for the errors that led to the Cutover Job's
+     * state.
      * 
* * .google.rpc.Status error = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -2400,24 +2303,22 @@ public Builder clearError() { return this; } /** - * - * *
-     * Output only. Provides details for the errors that led to the Cutover Job's state.
+     * Output only. Provides details for the errors that led to the Cutover Job's
+     * state.
      * 
* * .google.rpc.Status error = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.rpc.Status.Builder getErrorBuilder() { - + onChanged(); return getErrorFieldBuilder().getBuilder(); } /** - * - * *
-     * Output only. Provides details for the errors that led to the Cutover Job's state.
+     * Output only. Provides details for the errors that led to the Cutover Job's
+     * state.
      * 
* * .google.rpc.Status error = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -2426,27 +2327,27 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() { if (errorBuilder_ != null) { return errorBuilder_.getMessageOrBuilder(); } else { - return error_ == null ? com.google.rpc.Status.getDefaultInstance() : error_; + return error_ == null ? + com.google.rpc.Status.getDefaultInstance() : error_; } } /** - * - * *
-     * Output only. Provides details for the errors that led to the Cutover Job's state.
+     * Output only. Provides details for the errors that led to the Cutover Job's
+     * state.
      * 
* * .google.rpc.Status error = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ 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> getErrorFieldBuilder() { if (errorBuilder_ == null) { - errorBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.Status, - com.google.rpc.Status.Builder, - com.google.rpc.StatusOrBuilder>(getError(), getParentForChildren(), isClean()); + errorBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder>( + getError(), + getParentForChildren(), + isClean()); error_ = null; } return errorBuilder_; @@ -2454,20 +2355,19 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() { private java.lang.Object stateMessage_ = ""; /** - * - * *
-     * Output only. A message providing possible extra details about the current state.
+     * Output only. A message providing possible extra details about the current
+     * state.
      * 
* * string state_message = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The stateMessage. */ public java.lang.String getStateMessage() { java.lang.Object ref = stateMessage_; 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(); stateMessage_ = s; return s; @@ -2476,21 +2376,21 @@ public java.lang.String getStateMessage() { } } /** - * - * *
-     * Output only. A message providing possible extra details about the current state.
+     * Output only. A message providing possible extra details about the current
+     * state.
      * 
* * string state_message = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for stateMessage. */ - public com.google.protobuf.ByteString getStateMessageBytes() { + public com.google.protobuf.ByteString + getStateMessageBytes() { java.lang.Object ref = stateMessage_; 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); stateMessage_ = b; return b; } else { @@ -2498,68 +2398,64 @@ public com.google.protobuf.ByteString getStateMessageBytes() { } } /** - * - * *
-     * Output only. A message providing possible extra details about the current state.
+     * Output only. A message providing possible extra details about the current
+     * state.
      * 
* * string state_message = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The stateMessage to set. * @return This builder for chaining. */ - public Builder setStateMessage(java.lang.String value) { + public Builder setStateMessage( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + stateMessage_ = value; onChanged(); return this; } /** - * - * *
-     * Output only. A message providing possible extra details about the current state.
+     * Output only. A message providing possible extra details about the current
+     * state.
      * 
* * string state_message = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearStateMessage() { - + stateMessage_ = getDefaultInstance().getStateMessage(); onChanged(); return this; } /** - * - * *
-     * Output only. A message providing possible extra details about the current state.
+     * Output only. A message providing possible extra details about the current
+     * state.
      * 
* * string state_message = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for stateMessage to set. * @return This builder for chaining. */ - public Builder setStateMessageBytes(com.google.protobuf.ByteString value) { + public Builder setStateMessageBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + stateMessage_ = 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); } @@ -2569,12 +2465,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.vmmigration.v1.CutoverJob) } // @@protoc_insertion_point(class_scope:google.cloud.vmmigration.v1.CutoverJob) private static final com.google.cloud.vmmigration.v1.CutoverJob DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.vmmigration.v1.CutoverJob(); } @@ -2583,16 +2479,16 @@ public static com.google.cloud.vmmigration.v1.CutoverJob getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CutoverJob parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CutoverJob(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CutoverJob parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CutoverJob(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2607,4 +2503,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.vmmigration.v1.CutoverJob getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CutoverJobName.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CutoverJobName.java similarity index 100% rename from proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CutoverJobName.java rename to owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CutoverJobName.java diff --git a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CutoverJobOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CutoverJobOrBuilder.java similarity index 66% rename from proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CutoverJobOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CutoverJobOrBuilder.java index 43d6ec3..24adf8d 100644 --- a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CutoverJobOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CutoverJobOrBuilder.java @@ -1,245 +1,196 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; -public interface CutoverJobOrBuilder - extends +public interface CutoverJobOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.CutoverJob) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Output only. Details of the target VM in Compute Engine.
    * 
* - * - * .google.cloud.vmmigration.v1.ComputeEngineTargetDetails compute_engine_target_details = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.vmmigration.v1.ComputeEngineTargetDetails compute_engine_target_details = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the computeEngineTargetDetails field is set. */ boolean hasComputeEngineTargetDetails(); /** - * - * *
    * Output only. Details of the target VM in Compute Engine.
    * 
* - * - * .google.cloud.vmmigration.v1.ComputeEngineTargetDetails compute_engine_target_details = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.vmmigration.v1.ComputeEngineTargetDetails compute_engine_target_details = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The computeEngineTargetDetails. */ com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails getComputeEngineTargetDetails(); /** - * - * *
    * Output only. Details of the target VM in Compute Engine.
    * 
* - * - * .google.cloud.vmmigration.v1.ComputeEngineTargetDetails compute_engine_target_details = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.vmmigration.v1.ComputeEngineTargetDetails compute_engine_target_details = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - com.google.cloud.vmmigration.v1.ComputeEngineTargetDetailsOrBuilder - getComputeEngineTargetDetailsOrBuilder(); + com.google.cloud.vmmigration.v1.ComputeEngineTargetDetailsOrBuilder getComputeEngineTargetDetailsOrBuilder(); /** - * - * *
-   * Output only. The time the cutover job was created (as an API call, not when it was
-   * actually created in the target).
+   * Output only. The time the cutover job was created (as an API call, not when
+   * it was actually created in the target).
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** - * - * *
-   * Output only. The time the cutover job was created (as an API call, not when it was
-   * actually created in the target).
+   * Output only. The time the cutover job was created (as an API call, not when
+   * it was actually created in the target).
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** - * - * *
-   * Output only. The time the cutover job was created (as an API call, not when it was
-   * actually created in the target).
+   * Output only. The time the cutover job was created (as an API call, not when
+   * it was actually created in the target).
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** + *
+   * Output only. The time the cutover job had finished.
+   * 
+ * + * .google.protobuf.Timestamp end_time = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return Whether the endTime field is set. + */ + boolean hasEndTime(); + /** + *
+   * Output only. The time the cutover job had finished.
+   * 
* + * .google.protobuf.Timestamp end_time = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The endTime. + */ + com.google.protobuf.Timestamp getEndTime(); + /** + *
+   * Output only. The time the cutover job had finished.
+   * 
* + * .google.protobuf.Timestamp end_time = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder(); + + /** *
    * Output only. The name of the cutover job.
    * 
* * string name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Output only. The name of the cutover job.
    * 
* * string name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Output only. State of the cutover job.
    * 
* - * - * .google.cloud.vmmigration.v1.CutoverJob.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.vmmigration.v1.CutoverJob.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for state. */ int getStateValue(); /** - * - * *
    * Output only. State of the cutover job.
    * 
* - * - * .google.cloud.vmmigration.v1.CutoverJob.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.vmmigration.v1.CutoverJob.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ com.google.cloud.vmmigration.v1.CutoverJob.State getState(); /** - * - * *
    * Output only. The time the state was last updated.
    * 
* - * .google.protobuf.Timestamp state_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp state_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the stateTime field is set. */ boolean hasStateTime(); /** - * - * *
    * Output only. The time the state was last updated.
    * 
* - * .google.protobuf.Timestamp state_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp state_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The stateTime. */ com.google.protobuf.Timestamp getStateTime(); /** - * - * *
    * Output only. The time the state was last updated.
    * 
* - * .google.protobuf.Timestamp state_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp state_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getStateTimeOrBuilder(); /** - * - * *
    * Output only. The current progress in percentage of the cutover job.
    * 
* * int32 progress_percent = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The progressPercent. */ int getProgressPercent(); /** - * - * *
-   * Output only. Provides details for the errors that led to the Cutover Job's state.
+   * Output only. Provides details for the errors that led to the Cutover Job's
+   * state.
    * 
* * .google.rpc.Status error = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return Whether the error field is set. */ boolean hasError(); /** - * - * *
-   * Output only. Provides details for the errors that led to the Cutover Job's state.
+   * Output only. Provides details for the errors that led to the Cutover Job's
+   * state.
    * 
* * .google.rpc.Status error = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The error. */ com.google.rpc.Status getError(); /** - * - * *
-   * Output only. Provides details for the errors that led to the Cutover Job's state.
+   * Output only. Provides details for the errors that led to the Cutover Job's
+   * state.
    * 
* * .google.rpc.Status error = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -247,29 +198,26 @@ public interface CutoverJobOrBuilder com.google.rpc.StatusOrBuilder getErrorOrBuilder(); /** - * - * *
-   * Output only. A message providing possible extra details about the current state.
+   * Output only. A message providing possible extra details about the current
+   * state.
    * 
* * string state_message = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The stateMessage. */ java.lang.String getStateMessage(); /** - * - * *
-   * Output only. A message providing possible extra details about the current state.
+   * Output only. A message providing possible extra details about the current
+   * state.
    * 
* * string state_message = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for stateMessage. */ - com.google.protobuf.ByteString getStateMessageBytes(); + com.google.protobuf.ByteString + getStateMessageBytes(); public com.google.cloud.vmmigration.v1.CutoverJob.TargetVmDetailsCase getTargetVmDetailsCase(); } diff --git a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/DatacenterConnector.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/DatacenterConnector.java similarity index 51% rename from proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/DatacenterConnector.java rename to owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/DatacenterConnector.java index 26b1560..1821426 100644 --- a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/DatacenterConnector.java +++ b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/DatacenterConnector.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; /** - * - * *
  * DatacenterConnector message describes a connector between the Source and GCP,
  * which is installed on a vmware datacenter (an OVA vm installed by the user)
@@ -29,16 +12,15 @@
  *
  * Protobuf type {@code google.cloud.vmmigration.v1.DatacenterConnector}
  */
-public final class DatacenterConnector extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class DatacenterConnector extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.vmmigration.v1.DatacenterConnector)
     DatacenterConnectorOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use DatacenterConnector.newBuilder() to construct.
   private DatacenterConnector(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private DatacenterConnector() {
     name_ = "";
     registrationId_ = "";
@@ -46,19 +28,22 @@ private DatacenterConnector() {
     version_ = "";
     bucket_ = "";
     state_ = 0;
+    applianceInfrastructureVersion_ = "";
+    applianceSoftwareVersion_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new DatacenterConnector();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private DatacenterConnector(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -77,114 +62,139 @@ private DatacenterConnector(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              com.google.protobuf.Timestamp.Builder subBuilder = null;
-              if (createTime_ != null) {
-                subBuilder = createTime_.toBuilder();
-              }
-              createTime_ =
-                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(createTime_);
-                createTime_ = subBuilder.buildPartial();
-              }
-
-              break;
+          case 10: {
+            com.google.protobuf.Timestamp.Builder subBuilder = null;
+            if (createTime_ != null) {
+              subBuilder = createTime_.toBuilder();
             }
-          case 18:
-            {
-              com.google.protobuf.Timestamp.Builder subBuilder = null;
-              if (updateTime_ != null) {
-                subBuilder = updateTime_.toBuilder();
-              }
-              updateTime_ =
-                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(updateTime_);
-                updateTime_ = subBuilder.buildPartial();
-              }
-
-              break;
+            createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(createTime_);
+              createTime_ = subBuilder.buildPartial();
             }
-          case 26:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
 
-              name_ = s;
-              break;
+            break;
+          }
+          case 18: {
+            com.google.protobuf.Timestamp.Builder subBuilder = null;
+            if (updateTime_ != null) {
+              subBuilder = updateTime_.toBuilder();
             }
-          case 42:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
-
-              serviceAccount_ = s;
-              break;
+            updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(updateTime_);
+              updateTime_ = subBuilder.buildPartial();
             }
-          case 50:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
 
-              version_ = s;
-              break;
+            break;
+          }
+          case 26: {
+            java.lang.String s = input.readStringRequireUtf8();
+
+            name_ = s;
+            break;
+          }
+          case 42: {
+            java.lang.String s = input.readStringRequireUtf8();
+
+            serviceAccount_ = s;
+            break;
+          }
+          case 50: {
+            java.lang.String s = input.readStringRequireUtf8();
+
+            version_ = s;
+            break;
+          }
+          case 56: {
+            int rawValue = input.readEnum();
+
+            state_ = rawValue;
+            break;
+          }
+          case 66: {
+            com.google.protobuf.Timestamp.Builder subBuilder = null;
+            if (stateTime_ != null) {
+              subBuilder = stateTime_.toBuilder();
+            }
+            stateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(stateTime_);
+              stateTime_ = subBuilder.buildPartial();
             }
-          case 56:
-            {
-              int rawValue = input.readEnum();
 
-              state_ = rawValue;
-              break;
+            break;
+          }
+          case 82: {
+            java.lang.String s = input.readStringRequireUtf8();
+
+            bucket_ = s;
+            break;
+          }
+          case 90: {
+            com.google.rpc.Status.Builder subBuilder = null;
+            if (error_ != null) {
+              subBuilder = error_.toBuilder();
             }
-          case 66:
-            {
-              com.google.protobuf.Timestamp.Builder subBuilder = null;
-              if (stateTime_ != null) {
-                subBuilder = stateTime_.toBuilder();
-              }
-              stateTime_ =
-                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(stateTime_);
-                stateTime_ = subBuilder.buildPartial();
-              }
-
-              break;
+            error_ = input.readMessage(com.google.rpc.Status.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(error_);
+              error_ = subBuilder.buildPartial();
             }
-          case 82:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
 
-              bucket_ = s;
-              break;
+            break;
+          }
+          case 98: {
+            java.lang.String s = input.readStringRequireUtf8();
+
+            registrationId_ = s;
+            break;
+          }
+          case 106: {
+            java.lang.String s = input.readStringRequireUtf8();
+
+            applianceInfrastructureVersion_ = s;
+            break;
+          }
+          case 114: {
+            java.lang.String s = input.readStringRequireUtf8();
+
+            applianceSoftwareVersion_ = s;
+            break;
+          }
+          case 122: {
+            com.google.cloud.vmmigration.v1.AvailableUpdates.Builder subBuilder = null;
+            if (availableVersions_ != null) {
+              subBuilder = availableVersions_.toBuilder();
             }
-          case 90:
-            {
-              com.google.rpc.Status.Builder subBuilder = null;
-              if (error_ != null) {
-                subBuilder = error_.toBuilder();
-              }
-              error_ = input.readMessage(com.google.rpc.Status.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(error_);
-                error_ = subBuilder.buildPartial();
-              }
-
-              break;
+            availableVersions_ = input.readMessage(com.google.cloud.vmmigration.v1.AvailableUpdates.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(availableVersions_);
+              availableVersions_ = subBuilder.buildPartial();
             }
-          case 98:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
 
-              registrationId_ = s;
-              break;
+            break;
+          }
+          case 130: {
+            com.google.cloud.vmmigration.v1.UpgradeStatus.Builder subBuilder = null;
+            if (upgradeStatus_ != null) {
+              subBuilder = upgradeStatus_.toBuilder();
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            upgradeStatus_ = input.readMessage(com.google.cloud.vmmigration.v1.UpgradeStatus.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(upgradeStatus_);
+              upgradeStatus_ = subBuilder.buildPartial();
+            }
+
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -192,41 +202,36 @@ private DatacenterConnector(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.vmmigration.v1.VmMigrationProto
-        .internal_static_google_cloud_vmmigration_v1_DatacenterConnector_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_DatacenterConnector_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.vmmigration.v1.VmMigrationProto
-        .internal_static_google_cloud_vmmigration_v1_DatacenterConnector_fieldAccessorTable
+    return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_DatacenterConnector_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.vmmigration.v1.DatacenterConnector.class,
-            com.google.cloud.vmmigration.v1.DatacenterConnector.Builder.class);
+            com.google.cloud.vmmigration.v1.DatacenterConnector.class, com.google.cloud.vmmigration.v1.DatacenterConnector.Builder.class);
   }
 
   /**
-   *
-   *
    * 
    * The possible values of the state.
    * 
* * Protobuf enum {@code google.cloud.vmmigration.v1.DatacenterConnector.State} */ - public enum State implements com.google.protobuf.ProtocolMessageEnum { + public enum State + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * The state is unknown. This is used for API compatibility only and is not
      * used by the system.
@@ -236,8 +241,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     STATE_UNSPECIFIED(0),
     /**
-     *
-     *
      * 
      * The state was not sampled by the health checks yet.
      * 
@@ -246,8 +249,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ PENDING(1), /** - * - * *
      * The source was sampled by health checks and is not available.
      * 
@@ -256,8 +257,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ OFFLINE(2), /** - * - * *
      * The source is available but might not be usable yet due to unvalidated
      * credentials or another reason. The credentials referred to are the ones
@@ -268,8 +267,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     FAILED(3),
     /**
-     *
-     *
      * 
      * The source exists and its credentials were verified.
      * 
@@ -281,8 +278,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * The state is unknown. This is used for API compatibility only and is not
      * used by the system.
@@ -292,8 +287,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int STATE_UNSPECIFIED_VALUE = 0;
     /**
-     *
-     *
      * 
      * The state was not sampled by the health checks yet.
      * 
@@ -302,8 +295,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PENDING_VALUE = 1; /** - * - * *
      * The source was sampled by health checks and is not available.
      * 
@@ -312,8 +303,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int OFFLINE_VALUE = 2; /** - * - * *
      * The source is available but might not be usable yet due to unvalidated
      * credentials or another reason. The credentials referred to are the ones
@@ -324,8 +313,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int FAILED_VALUE = 3;
     /**
-     *
-     *
      * 
      * The source exists and its credentials were verified.
      * 
@@ -334,6 +321,7 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ACTIVE_VALUE = 4; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -358,55 +346,51 @@ public static State valueOf(int value) { */ public static State forNumber(int value) { switch (value) { - case 0: - return STATE_UNSPECIFIED; - case 1: - return PENDING; - case 2: - return OFFLINE; - case 3: - return FAILED; - case 4: - return ACTIVE; - default: - return null; - } - } - - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { - return internalValueMap; + case 0: return STATE_UNSPECIFIED; + case 1: return PENDING; + case 2: return OFFLINE; + case 3: return FAILED; + case 4: return ACTIVE; + default: return null; + } } - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public State findValueByNumber(int number) { - return State.forNumber(number); - } - }; + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { + return internalValueMap; + } + private static final com.google.protobuf.Internal.EnumLiteMap< + State> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public State findValueByNumber(int number) { + return State.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.vmmigration.v1.DatacenterConnector.getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.cloud.vmmigration.v1.DatacenterConnector.getDescriptor().getEnumTypes().get(0); } private static final State[] VALUES = values(); - public static State valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static State 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; @@ -426,16 +410,12 @@ private State(int value) { public static final int CREATE_TIME_FIELD_NUMBER = 1; private com.google.protobuf.Timestamp createTime_; /** - * - * *
-   * Output only. The time the connector was created (as an API call, not when it was
-   * actually installed).
+   * Output only. The time the connector was created (as an API call, not when
+   * it was actually installed).
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ @java.lang.Override @@ -443,16 +423,12 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
-   * Output only. The time the connector was created (as an API call, not when it was
-   * actually installed).
+   * Output only. The time the connector was created (as an API call, not when
+   * it was actually installed).
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ @java.lang.Override @@ -460,15 +436,12 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
-   * Output only. The time the connector was created (as an API call, not when it was
-   * actually installed).
+   * Output only. The time the connector was created (as an API call, not when
+   * it was actually installed).
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -478,15 +451,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp updateTime_; /** - * - * *
    * Output only. The last time the connector was updated with an API call.
    * 
* - * .google.protobuf.Timestamp update_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ @java.lang.Override @@ -494,15 +463,11 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** - * - * *
    * Output only. The last time the connector was updated with an API call.
    * 
* - * .google.protobuf.Timestamp update_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ @java.lang.Override @@ -510,14 +475,11 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** - * - * *
    * Output only. The last time the connector was updated with an API call.
    * 
* - * .google.protobuf.Timestamp update_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { @@ -527,14 +489,11 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { public static final int NAME_FIELD_NUMBER = 3; private volatile java.lang.Object name_; /** - * - * *
    * Output only. The connector's name.
    * 
* * string name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ @java.lang.Override @@ -543,29 +502,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. The connector's name.
    * 
* * string name = 3 [(.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 { @@ -576,16 +535,13 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int REGISTRATION_ID_FIELD_NUMBER = 12; private volatile java.lang.Object registrationId_; /** - * - * *
-   * Immutable. A unique key for this connector. This key is internal to the OVA connector
-   * and is supplied with its creation during the registration process and can
-   * not be modified.
+   * Immutable. A unique key for this connector. This key is internal to the OVA
+   * connector and is supplied with its creation during the registration process
+   * and can not be modified.
    * 
* * string registration_id = 12 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The registrationId. */ @java.lang.Override @@ -594,31 +550,31 @@ public java.lang.String getRegistrationId() { 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(); registrationId_ = s; return s; } } /** - * - * *
-   * Immutable. A unique key for this connector. This key is internal to the OVA connector
-   * and is supplied with its creation during the registration process and can
-   * not be modified.
+   * Immutable. A unique key for this connector. This key is internal to the OVA
+   * connector and is supplied with its creation during the registration process
+   * and can not be modified.
    * 
* * string registration_id = 12 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The bytes for registrationId. */ @java.lang.Override - public com.google.protobuf.ByteString getRegistrationIdBytes() { + public com.google.protobuf.ByteString + getRegistrationIdBytes() { java.lang.Object ref = registrationId_; 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); registrationId_ = b; return b; } else { @@ -629,15 +585,12 @@ public com.google.protobuf.ByteString getRegistrationIdBytes() { public static final int SERVICE_ACCOUNT_FIELD_NUMBER = 5; private volatile java.lang.Object serviceAccount_; /** - * - * *
    * The service account to use in the connector when communicating with the
    * cloud.
    * 
* * string service_account = 5; - * * @return The serviceAccount. */ @java.lang.Override @@ -646,30 +599,30 @@ public java.lang.String getServiceAccount() { 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(); serviceAccount_ = s; return s; } } /** - * - * *
    * The service account to use in the connector when communicating with the
    * cloud.
    * 
* * string service_account = 5; - * * @return The bytes for serviceAccount. */ @java.lang.Override - public com.google.protobuf.ByteString getServiceAccountBytes() { + public com.google.protobuf.ByteString + getServiceAccountBytes() { java.lang.Object ref = serviceAccount_; 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); serviceAccount_ = b; return b; } else { @@ -680,15 +633,12 @@ public com.google.protobuf.ByteString getServiceAccountBytes() { public static final int VERSION_FIELD_NUMBER = 6; private volatile java.lang.Object version_; /** - * - * *
    * The version running in the DatacenterConnector. This is supplied by the OVA
    * connector during the registration process and can not be modified.
    * 
* * string version = 6; - * * @return The version. */ @java.lang.Override @@ -697,30 +647,30 @@ public java.lang.String getVersion() { 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(); version_ = s; return s; } } /** - * - * *
    * The version running in the DatacenterConnector. This is supplied by the OVA
    * connector during the registration process and can not be modified.
    * 
* * string version = 6; - * * @return The bytes for version. */ @java.lang.Override - public com.google.protobuf.ByteString getVersionBytes() { + public com.google.protobuf.ByteString + getVersionBytes() { java.lang.Object ref = version_; 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); version_ = b; return b; } else { @@ -731,14 +681,12 @@ public com.google.protobuf.ByteString getVersionBytes() { public static final int BUCKET_FIELD_NUMBER = 10; private volatile java.lang.Object bucket_; /** - * - * *
-   * Output only. The communication channel between the datacenter connector and GCP.
+   * Output only. The communication channel between the datacenter connector and
+   * GCP.
    * 
* * string bucket = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bucket. */ @java.lang.Override @@ -747,29 +695,30 @@ public java.lang.String getBucket() { 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(); bucket_ = s; return s; } } /** - * - * *
-   * Output only. The communication channel between the datacenter connector and GCP.
+   * Output only. The communication channel between the datacenter connector and
+   * GCP.
    * 
* * string bucket = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for bucket. */ @java.lang.Override - public com.google.protobuf.ByteString getBucketBytes() { + public com.google.protobuf.ByteString + getBucketBytes() { java.lang.Object ref = bucket_; 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); bucket_ = b; return b; } else { @@ -780,57 +729,40 @@ public com.google.protobuf.ByteString getBucketBytes() { public static final int STATE_FIELD_NUMBER = 7; private int state_; /** - * - * *
-   * Output only. State of the DatacenterConnector, as determined by the health checks.
+   * Output only. State of the DatacenterConnector, as determined by the health
+   * checks.
    * 
* - * - * .google.cloud.vmmigration.v1.DatacenterConnector.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.vmmigration.v1.DatacenterConnector.State state = 7 [(.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 DatacenterConnector, as determined by the health checks.
+   * Output only. State of the DatacenterConnector, as determined by the health
+   * checks.
    * 
* - * - * .google.cloud.vmmigration.v1.DatacenterConnector.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.vmmigration.v1.DatacenterConnector.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ - @java.lang.Override - public com.google.cloud.vmmigration.v1.DatacenterConnector.State getState() { + @java.lang.Override public com.google.cloud.vmmigration.v1.DatacenterConnector.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.vmmigration.v1.DatacenterConnector.State result = - com.google.cloud.vmmigration.v1.DatacenterConnector.State.valueOf(state_); - return result == null - ? com.google.cloud.vmmigration.v1.DatacenterConnector.State.UNRECOGNIZED - : result; + com.google.cloud.vmmigration.v1.DatacenterConnector.State result = com.google.cloud.vmmigration.v1.DatacenterConnector.State.valueOf(state_); + return result == null ? com.google.cloud.vmmigration.v1.DatacenterConnector.State.UNRECOGNIZED : result; } public static final int STATE_TIME_FIELD_NUMBER = 8; private com.google.protobuf.Timestamp stateTime_; /** - * - * *
    * Output only. The time the state was last set.
    * 
* - * .google.protobuf.Timestamp state_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp state_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the stateTime field is set. */ @java.lang.Override @@ -838,15 +770,11 @@ public boolean hasStateTime() { return stateTime_ != null; } /** - * - * *
    * Output only. The time the state was last set.
    * 
* - * .google.protobuf.Timestamp state_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp state_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The stateTime. */ @java.lang.Override @@ -854,14 +782,11 @@ public com.google.protobuf.Timestamp getStateTime() { return stateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : stateTime_; } /** - * - * *
    * Output only. The time the state was last set.
    * 
* - * .google.protobuf.Timestamp state_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp state_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getStateTimeOrBuilder() { @@ -871,15 +796,12 @@ public com.google.protobuf.TimestampOrBuilder getStateTimeOrBuilder() { public static final int ERROR_FIELD_NUMBER = 11; private com.google.rpc.Status error_; /** - * - * *
-   * Output only. Provides details on the state of the Datacenter Connector in case of an
-   * error.
+   * Output only. Provides details on the state of the Datacenter Connector in
+   * case of an error.
    * 
* * .google.rpc.Status error = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return Whether the error field is set. */ @java.lang.Override @@ -887,15 +809,12 @@ public boolean hasError() { return error_ != null; } /** - * - * *
-   * Output only. Provides details on the state of the Datacenter Connector in case of an
-   * error.
+   * Output only. Provides details on the state of the Datacenter Connector in
+   * case of an error.
    * 
* * .google.rpc.Status error = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The error. */ @java.lang.Override @@ -903,11 +822,9 @@ public com.google.rpc.Status getError() { return error_ == null ? com.google.rpc.Status.getDefaultInstance() : error_; } /** - * - * *
-   * Output only. Provides details on the state of the Datacenter Connector in case of an
-   * error.
+   * Output only. Provides details on the state of the Datacenter Connector in
+   * case of an error.
    * 
* * .google.rpc.Status error = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -917,8 +834,183 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() { return getError(); } - private byte memoizedIsInitialized = -1; + public static final int APPLIANCE_INFRASTRUCTURE_VERSION_FIELD_NUMBER = 13; + private volatile java.lang.Object applianceInfrastructureVersion_; + /** + *
+   * Output only. Appliance OVA version.
+   * This is the OVA which is manually installed by the user and contains the
+   * infrastructure for the automatically updatable components on the appliance.
+   * 
+ * + * string appliance_infrastructure_version = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The applianceInfrastructureVersion. + */ + @java.lang.Override + public java.lang.String getApplianceInfrastructureVersion() { + java.lang.Object ref = applianceInfrastructureVersion_; + 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(); + applianceInfrastructureVersion_ = s; + return s; + } + } + /** + *
+   * Output only. Appliance OVA version.
+   * This is the OVA which is manually installed by the user and contains the
+   * infrastructure for the automatically updatable components on the appliance.
+   * 
+ * + * string appliance_infrastructure_version = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The bytes for applianceInfrastructureVersion. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getApplianceInfrastructureVersionBytes() { + java.lang.Object ref = applianceInfrastructureVersion_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + applianceInfrastructureVersion_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int APPLIANCE_SOFTWARE_VERSION_FIELD_NUMBER = 14; + private volatile java.lang.Object applianceSoftwareVersion_; + /** + *
+   * Output only. Appliance last installed update bundle version.
+   * This is the version of the automatically updatable components on the
+   * appliance.
+   * 
+ * + * string appliance_software_version = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The applianceSoftwareVersion. + */ + @java.lang.Override + public java.lang.String getApplianceSoftwareVersion() { + java.lang.Object ref = applianceSoftwareVersion_; + 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(); + applianceSoftwareVersion_ = s; + return s; + } + } + /** + *
+   * Output only. Appliance last installed update bundle version.
+   * This is the version of the automatically updatable components on the
+   * appliance.
+   * 
+ * + * string appliance_software_version = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The bytes for applianceSoftwareVersion. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getApplianceSoftwareVersionBytes() { + java.lang.Object ref = applianceSoftwareVersion_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + applianceSoftwareVersion_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int AVAILABLE_VERSIONS_FIELD_NUMBER = 15; + private com.google.cloud.vmmigration.v1.AvailableUpdates availableVersions_; + /** + *
+   * Output only. The available versions for updating this appliance.
+   * 
+ * + * .google.cloud.vmmigration.v1.AvailableUpdates available_versions = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return Whether the availableVersions field is set. + */ + @java.lang.Override + public boolean hasAvailableVersions() { + return availableVersions_ != null; + } + /** + *
+   * Output only. The available versions for updating this appliance.
+   * 
+ * + * .google.cloud.vmmigration.v1.AvailableUpdates available_versions = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The availableVersions. + */ + @java.lang.Override + public com.google.cloud.vmmigration.v1.AvailableUpdates getAvailableVersions() { + return availableVersions_ == null ? com.google.cloud.vmmigration.v1.AvailableUpdates.getDefaultInstance() : availableVersions_; + } + /** + *
+   * Output only. The available versions for updating this appliance.
+   * 
+ * + * .google.cloud.vmmigration.v1.AvailableUpdates available_versions = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + @java.lang.Override + public com.google.cloud.vmmigration.v1.AvailableUpdatesOrBuilder getAvailableVersionsOrBuilder() { + return getAvailableVersions(); + } + + public static final int UPGRADE_STATUS_FIELD_NUMBER = 16; + private com.google.cloud.vmmigration.v1.UpgradeStatus upgradeStatus_; + /** + *
+   * Output only. The status of the current / last upgradeAppliance operation.
+   * 
+ * + * .google.cloud.vmmigration.v1.UpgradeStatus upgrade_status = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return Whether the upgradeStatus field is set. + */ + @java.lang.Override + public boolean hasUpgradeStatus() { + return upgradeStatus_ != null; + } + /** + *
+   * Output only. The status of the current / last upgradeAppliance operation.
+   * 
+ * + * .google.cloud.vmmigration.v1.UpgradeStatus upgrade_status = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The upgradeStatus. + */ + @java.lang.Override + public com.google.cloud.vmmigration.v1.UpgradeStatus getUpgradeStatus() { + return upgradeStatus_ == null ? com.google.cloud.vmmigration.v1.UpgradeStatus.getDefaultInstance() : upgradeStatus_; + } + /** + *
+   * Output only. The status of the current / last upgradeAppliance operation.
+   * 
+ * + * .google.cloud.vmmigration.v1.UpgradeStatus upgrade_status = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + @java.lang.Override + public com.google.cloud.vmmigration.v1.UpgradeStatusOrBuilder getUpgradeStatusOrBuilder() { + return getUpgradeStatus(); + } + private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -930,7 +1022,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 (createTime_ != null) { output.writeMessage(1, getCreateTime()); } @@ -946,9 +1039,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(version_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 6, version_); } - if (state_ - != com.google.cloud.vmmigration.v1.DatacenterConnector.State.STATE_UNSPECIFIED - .getNumber()) { + if (state_ != com.google.cloud.vmmigration.v1.DatacenterConnector.State.STATE_UNSPECIFIED.getNumber()) { output.writeEnum(7, state_); } if (stateTime_ != null) { @@ -963,6 +1054,18 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(registrationId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 12, registrationId_); } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(applianceInfrastructureVersion_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 13, applianceInfrastructureVersion_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(applianceSoftwareVersion_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 14, applianceSoftwareVersion_); + } + if (availableVersions_ != null) { + output.writeMessage(15, getAvailableVersions()); + } + if (upgradeStatus_ != null) { + output.writeMessage(16, getUpgradeStatus()); + } unknownFields.writeTo(output); } @@ -973,10 +1076,12 @@ public int getSerializedSize() { size = 0; if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getCreateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getCreateTime()); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getUpdateTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, name_); @@ -987,60 +1092,97 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(version_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, version_); } - if (state_ - != com.google.cloud.vmmigration.v1.DatacenterConnector.State.STATE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(7, state_); + if (state_ != com.google.cloud.vmmigration.v1.DatacenterConnector.State.STATE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(7, state_); } if (stateTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getStateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(8, getStateTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(bucket_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, bucket_); } if (error_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(11, getError()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(11, getError()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(registrationId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(12, registrationId_); } - size += unknownFields.getSerializedSize(); - memoizedSize = size; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(applianceInfrastructureVersion_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(13, applianceInfrastructureVersion_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(applianceSoftwareVersion_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(14, applianceSoftwareVersion_); + } + if (availableVersions_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(15, getAvailableVersions()); + } + if (upgradeStatus_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(16, getUpgradeStatus()); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.vmmigration.v1.DatacenterConnector)) { return super.equals(obj); } - com.google.cloud.vmmigration.v1.DatacenterConnector other = - (com.google.cloud.vmmigration.v1.DatacenterConnector) obj; + com.google.cloud.vmmigration.v1.DatacenterConnector other = (com.google.cloud.vmmigration.v1.DatacenterConnector) obj; if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime().equals(other.getCreateTime())) return false; + if (!getCreateTime() + .equals(other.getCreateTime())) return false; } if (hasUpdateTime() != other.hasUpdateTime()) return false; if (hasUpdateTime()) { - if (!getUpdateTime().equals(other.getUpdateTime())) return false; - } - if (!getName().equals(other.getName())) return false; - if (!getRegistrationId().equals(other.getRegistrationId())) return false; - if (!getServiceAccount().equals(other.getServiceAccount())) return false; - if (!getVersion().equals(other.getVersion())) return false; - if (!getBucket().equals(other.getBucket())) return false; + if (!getUpdateTime() + .equals(other.getUpdateTime())) return false; + } + if (!getName() + .equals(other.getName())) return false; + if (!getRegistrationId() + .equals(other.getRegistrationId())) return false; + if (!getServiceAccount() + .equals(other.getServiceAccount())) return false; + if (!getVersion() + .equals(other.getVersion())) return false; + if (!getBucket() + .equals(other.getBucket())) return false; if (state_ != other.state_) return false; if (hasStateTime() != other.hasStateTime()) return false; if (hasStateTime()) { - if (!getStateTime().equals(other.getStateTime())) return false; + if (!getStateTime() + .equals(other.getStateTime())) return false; } if (hasError() != other.hasError()) return false; if (hasError()) { - if (!getError().equals(other.getError())) return false; + if (!getError() + .equals(other.getError())) return false; + } + if (!getApplianceInfrastructureVersion() + .equals(other.getApplianceInfrastructureVersion())) return false; + if (!getApplianceSoftwareVersion() + .equals(other.getApplianceSoftwareVersion())) return false; + if (hasAvailableVersions() != other.hasAvailableVersions()) return false; + if (hasAvailableVersions()) { + if (!getAvailableVersions() + .equals(other.getAvailableVersions())) return false; + } + if (hasUpgradeStatus() != other.hasUpgradeStatus()) return false; + if (hasUpgradeStatus()) { + if (!getUpgradeStatus() + .equals(other.getUpgradeStatus())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -1081,109 +1223,114 @@ public int hashCode() { hash = (37 * hash) + ERROR_FIELD_NUMBER; hash = (53 * hash) + getError().hashCode(); } + hash = (37 * hash) + APPLIANCE_INFRASTRUCTURE_VERSION_FIELD_NUMBER; + hash = (53 * hash) + getApplianceInfrastructureVersion().hashCode(); + hash = (37 * hash) + APPLIANCE_SOFTWARE_VERSION_FIELD_NUMBER; + hash = (53 * hash) + getApplianceSoftwareVersion().hashCode(); + if (hasAvailableVersions()) { + hash = (37 * hash) + AVAILABLE_VERSIONS_FIELD_NUMBER; + hash = (53 * hash) + getAvailableVersions().hashCode(); + } + if (hasUpgradeStatus()) { + hash = (37 * hash) + UPGRADE_STATUS_FIELD_NUMBER; + hash = (53 * hash) + getUpgradeStatus().hashCode(); + } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.vmmigration.v1.DatacenterConnector 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.vmmigration.v1.DatacenterConnector 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.vmmigration.v1.DatacenterConnector parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.vmmigration.v1.DatacenterConnector 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.vmmigration.v1.DatacenterConnector parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.vmmigration.v1.DatacenterConnector 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.vmmigration.v1.DatacenterConnector parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.vmmigration.v1.DatacenterConnector parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.vmmigration.v1.DatacenterConnector 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.vmmigration.v1.DatacenterConnector parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.vmmigration.v1.DatacenterConnector parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.vmmigration.v1.DatacenterConnector 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.vmmigration.v1.DatacenterConnector 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.vmmigration.v1.DatacenterConnector 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.vmmigration.v1.DatacenterConnector 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; } /** - * - * *
    * DatacenterConnector message describes a connector between the Source and GCP,
    * which is installed on a vmware datacenter (an OVA vm installed by the user)
@@ -1192,23 +1339,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.vmmigration.v1.DatacenterConnector}
    */
-  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.vmmigration.v1.DatacenterConnector)
       com.google.cloud.vmmigration.v1.DatacenterConnectorOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.vmmigration.v1.VmMigrationProto
-          .internal_static_google_cloud_vmmigration_v1_DatacenterConnector_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_DatacenterConnector_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.vmmigration.v1.VmMigrationProto
-          .internal_static_google_cloud_vmmigration_v1_DatacenterConnector_fieldAccessorTable
+      return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_DatacenterConnector_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.vmmigration.v1.DatacenterConnector.class,
-              com.google.cloud.vmmigration.v1.DatacenterConnector.Builder.class);
+              com.google.cloud.vmmigration.v1.DatacenterConnector.class, com.google.cloud.vmmigration.v1.DatacenterConnector.Builder.class);
     }
 
     // Construct using com.google.cloud.vmmigration.v1.DatacenterConnector.newBuilder()
@@ -1216,15 +1361,16 @@ 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) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1264,13 +1410,29 @@ public Builder clear() {
         error_ = null;
         errorBuilder_ = null;
       }
+      applianceInfrastructureVersion_ = "";
+
+      applianceSoftwareVersion_ = "";
+
+      if (availableVersionsBuilder_ == null) {
+        availableVersions_ = null;
+      } else {
+        availableVersions_ = null;
+        availableVersionsBuilder_ = null;
+      }
+      if (upgradeStatusBuilder_ == null) {
+        upgradeStatus_ = null;
+      } else {
+        upgradeStatus_ = null;
+        upgradeStatusBuilder_ = null;
+      }
       return this;
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.vmmigration.v1.VmMigrationProto
-          .internal_static_google_cloud_vmmigration_v1_DatacenterConnector_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_DatacenterConnector_descriptor;
     }
 
     @java.lang.Override
@@ -1289,8 +1451,7 @@ public com.google.cloud.vmmigration.v1.DatacenterConnector build() {
 
     @java.lang.Override
     public com.google.cloud.vmmigration.v1.DatacenterConnector buildPartial() {
-      com.google.cloud.vmmigration.v1.DatacenterConnector result =
-          new com.google.cloud.vmmigration.v1.DatacenterConnector(this);
+      com.google.cloud.vmmigration.v1.DatacenterConnector result = new com.google.cloud.vmmigration.v1.DatacenterConnector(this);
       if (createTimeBuilder_ == null) {
         result.createTime_ = createTime_;
       } else {
@@ -1317,6 +1478,18 @@ public com.google.cloud.vmmigration.v1.DatacenterConnector buildPartial() {
       } else {
         result.error_ = errorBuilder_.build();
       }
+      result.applianceInfrastructureVersion_ = applianceInfrastructureVersion_;
+      result.applianceSoftwareVersion_ = applianceSoftwareVersion_;
+      if (availableVersionsBuilder_ == null) {
+        result.availableVersions_ = availableVersions_;
+      } else {
+        result.availableVersions_ = availableVersionsBuilder_.build();
+      }
+      if (upgradeStatusBuilder_ == null) {
+        result.upgradeStatus_ = upgradeStatus_;
+      } else {
+        result.upgradeStatus_ = upgradeStatusBuilder_.build();
+      }
       onBuilt();
       return result;
     }
@@ -1325,39 +1498,38 @@ public com.google.cloud.vmmigration.v1.DatacenterConnector buildPartial() {
     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.vmmigration.v1.DatacenterConnector) {
-        return mergeFrom((com.google.cloud.vmmigration.v1.DatacenterConnector) other);
+        return mergeFrom((com.google.cloud.vmmigration.v1.DatacenterConnector)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1365,8 +1537,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.vmmigration.v1.DatacenterConnector other) {
-      if (other == com.google.cloud.vmmigration.v1.DatacenterConnector.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.vmmigration.v1.DatacenterConnector.getDefaultInstance()) return this;
       if (other.hasCreateTime()) {
         mergeCreateTime(other.getCreateTime());
       }
@@ -1402,6 +1573,20 @@ public Builder mergeFrom(com.google.cloud.vmmigration.v1.DatacenterConnector oth
       if (other.hasError()) {
         mergeError(other.getError());
       }
+      if (!other.getApplianceInfrastructureVersion().isEmpty()) {
+        applianceInfrastructureVersion_ = other.applianceInfrastructureVersion_;
+        onChanged();
+      }
+      if (!other.getApplianceSoftwareVersion().isEmpty()) {
+        applianceSoftwareVersion_ = other.applianceSoftwareVersion_;
+        onChanged();
+      }
+      if (other.hasAvailableVersions()) {
+        mergeAvailableVersions(other.getAvailableVersions());
+      }
+      if (other.hasUpgradeStatus()) {
+        mergeUpgradeStatus(other.getUpgradeStatus());
+      }
       this.mergeUnknownFields(other.unknownFields);
       onChanged();
       return this;
@@ -1421,8 +1606,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.cloud.vmmigration.v1.DatacenterConnector) e.getUnfinishedMessage();
+        parsedMessage = (com.google.cloud.vmmigration.v1.DatacenterConnector) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -1434,61 +1618,42 @@ public Builder mergeFrom(
 
     private com.google.protobuf.Timestamp createTime_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
-        createTimeBuilder_;
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_;
     /**
-     *
-     *
      * 
-     * Output only. The time the connector was created (as an API call, not when it was
-     * actually installed).
+     * Output only. The time the connector was created (as an API call, not when
+     * it was actually installed).
      * 
* - * - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** - * - * *
-     * Output only. The time the connector was created (as an API call, not when it was
-     * actually installed).
+     * Output only. The time the connector was created (as an API call, not when
+     * it was actually installed).
      * 
* - * - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** - * - * *
-     * Output only. The time the connector was created (as an API call, not when it was
-     * actually installed).
+     * Output only. The time the connector was created (as an API call, not when
+     * it was actually installed).
      * 
* - * - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -1504,18 +1669,15 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
-     * Output only. The time the connector was created (as an API call, not when it was
-     * actually installed).
+     * Output only. The time the connector was created (as an API call, not when
+     * it was actually installed).
      * 
* - * - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); onChanged(); @@ -1526,22 +1688,18 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
-     * Output only. The time the connector was created (as an API call, not when it was
-     * actually installed).
+     * Output only. The time the connector was created (as an API call, not when
+     * it was actually installed).
      * 
* - * - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { if (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -1553,16 +1711,12 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
-     * Output only. The time the connector was created (as an API call, not when it was
-     * actually installed).
+     * Output only. The time the connector was created (as an API call, not when
+     * it was actually installed).
      * 
* - * - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearCreateTime() { if (createTimeBuilder_ == null) { @@ -1576,67 +1730,51 @@ public Builder clearCreateTime() { return this; } /** - * - * *
-     * Output only. The time the connector was created (as an API call, not when it was
-     * actually installed).
+     * Output only. The time the connector was created (as an API call, not when
+     * it was actually installed).
      * 
* - * - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
-     * Output only. The time the connector was created (as an API call, not when it was
-     * actually installed).
+     * Output only. The time the connector was created (as an API call, not when
+     * it was actually installed).
      * 
* - * - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } } /** - * - * *
-     * Output only. The time the connector was created (as an API call, not when it was
-     * actually installed).
+     * Output only. The time the connector was created (as an API call, not when
+     * it was actually installed).
      * 
* - * - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 1 [(.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> getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { - createTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getCreateTime(), getParentForChildren(), isClean()); + createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), + getParentForChildren(), + isClean()); createTime_ = null; } return createTimeBuilder_; @@ -1644,58 +1782,39 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { 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. The last time the connector was updated with an API call.
      * 
* - * - * .google.protobuf.Timestamp update_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return updateTimeBuilder_ != null || updateTime_ != null; } /** - * - * *
      * Output only. The last time the connector was updated with an API call.
      * 
* - * - * .google.protobuf.Timestamp update_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 2 [(.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. The last time the connector was updated with an API call.
      * 
* - * - * .google.protobuf.Timestamp update_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { @@ -1711,17 +1830,14 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The last time the connector was updated with an API call.
      * 
* - * - * .google.protobuf.Timestamp update_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 2 [(.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(); onChanged(); @@ -1732,21 +1848,17 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. The last time the connector was updated with an API call.
      * 
* - * - * .google.protobuf.Timestamp update_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { if (updateTime_ != null) { updateTime_ = - com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); } else { updateTime_ = value; } @@ -1758,15 +1870,11 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The last time the connector was updated with an API call.
      * 
* - * - * .google.protobuf.Timestamp update_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearUpdateTime() { if (updateTimeBuilder_ == null) { @@ -1780,64 +1888,48 @@ public Builder clearUpdateTime() { return this; } /** - * - * *
      * Output only. The last time the connector was updated with an API call.
      * 
* - * - * .google.protobuf.Timestamp update_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { - + onChanged(); return getUpdateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The last time the connector was updated with an API call.
      * 
* - * - * .google.protobuf.Timestamp update_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 2 [(.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. The last time the connector was updated with an API call.
      * 
* - * - * .google.protobuf.Timestamp update_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 2 [(.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_; @@ -1845,20 +1937,18 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { private java.lang.Object name_ = ""; /** - * - * *
      * Output only. The connector's name.
      * 
* * string name = 3 [(.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; @@ -1867,21 +1957,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Output only. The connector's name.
      * 
* * string name = 3 [(.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 { @@ -1889,61 +1978,54 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Output only. The connector's name.
      * 
* * string name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Output only. The connector's name.
      * 
* * string name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Output only. The connector's name.
      * 
* * string name = 3 [(.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) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -1951,22 +2033,20 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object registrationId_ = ""; /** - * - * *
-     * Immutable. A unique key for this connector. This key is internal to the OVA connector
-     * and is supplied with its creation during the registration process and can
-     * not be modified.
+     * Immutable. A unique key for this connector. This key is internal to the OVA
+     * connector and is supplied with its creation during the registration process
+     * and can not be modified.
      * 
* * string registration_id = 12 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The registrationId. */ public java.lang.String getRegistrationId() { java.lang.Object ref = registrationId_; 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(); registrationId_ = s; return s; @@ -1975,23 +2055,22 @@ public java.lang.String getRegistrationId() { } } /** - * - * *
-     * Immutable. A unique key for this connector. This key is internal to the OVA connector
-     * and is supplied with its creation during the registration process and can
-     * not be modified.
+     * Immutable. A unique key for this connector. This key is internal to the OVA
+     * connector and is supplied with its creation during the registration process
+     * and can not be modified.
      * 
* * string registration_id = 12 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The bytes for registrationId. */ - public com.google.protobuf.ByteString getRegistrationIdBytes() { + public com.google.protobuf.ByteString + getRegistrationIdBytes() { java.lang.Object ref = registrationId_; 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); registrationId_ = b; return b; } else { @@ -1999,67 +2078,60 @@ public com.google.protobuf.ByteString getRegistrationIdBytes() { } } /** - * - * *
-     * Immutable. A unique key for this connector. This key is internal to the OVA connector
-     * and is supplied with its creation during the registration process and can
-     * not be modified.
+     * Immutable. A unique key for this connector. This key is internal to the OVA
+     * connector and is supplied with its creation during the registration process
+     * and can not be modified.
      * 
* * string registration_id = 12 [(.google.api.field_behavior) = IMMUTABLE]; - * * @param value The registrationId to set. * @return This builder for chaining. */ - public Builder setRegistrationId(java.lang.String value) { + public Builder setRegistrationId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + registrationId_ = value; onChanged(); return this; } /** - * - * *
-     * Immutable. A unique key for this connector. This key is internal to the OVA connector
-     * and is supplied with its creation during the registration process and can
-     * not be modified.
+     * Immutable. A unique key for this connector. This key is internal to the OVA
+     * connector and is supplied with its creation during the registration process
+     * and can not be modified.
      * 
* * string registration_id = 12 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return This builder for chaining. */ public Builder clearRegistrationId() { - + registrationId_ = getDefaultInstance().getRegistrationId(); onChanged(); return this; } /** - * - * *
-     * Immutable. A unique key for this connector. This key is internal to the OVA connector
-     * and is supplied with its creation during the registration process and can
-     * not be modified.
+     * Immutable. A unique key for this connector. This key is internal to the OVA
+     * connector and is supplied with its creation during the registration process
+     * and can not be modified.
      * 
* * string registration_id = 12 [(.google.api.field_behavior) = IMMUTABLE]; - * * @param value The bytes for registrationId to set. * @return This builder for chaining. */ - public Builder setRegistrationIdBytes(com.google.protobuf.ByteString value) { + public Builder setRegistrationIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + registrationId_ = value; onChanged(); return this; @@ -2067,21 +2139,19 @@ public Builder setRegistrationIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object serviceAccount_ = ""; /** - * - * *
      * The service account to use in the connector when communicating with the
      * cloud.
      * 
* * string service_account = 5; - * * @return The serviceAccount. */ public java.lang.String getServiceAccount() { java.lang.Object ref = serviceAccount_; 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(); serviceAccount_ = s; return s; @@ -2090,22 +2160,21 @@ public java.lang.String getServiceAccount() { } } /** - * - * *
      * The service account to use in the connector when communicating with the
      * cloud.
      * 
* * string service_account = 5; - * * @return The bytes for serviceAccount. */ - public com.google.protobuf.ByteString getServiceAccountBytes() { + public com.google.protobuf.ByteString + getServiceAccountBytes() { java.lang.Object ref = serviceAccount_; 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); serviceAccount_ = b; return b; } else { @@ -2113,64 +2182,57 @@ public com.google.protobuf.ByteString getServiceAccountBytes() { } } /** - * - * *
      * The service account to use in the connector when communicating with the
      * cloud.
      * 
* * string service_account = 5; - * * @param value The serviceAccount to set. * @return This builder for chaining. */ - public Builder setServiceAccount(java.lang.String value) { + public Builder setServiceAccount( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + serviceAccount_ = value; onChanged(); return this; } /** - * - * *
      * The service account to use in the connector when communicating with the
      * cloud.
      * 
* * string service_account = 5; - * * @return This builder for chaining. */ public Builder clearServiceAccount() { - + serviceAccount_ = getDefaultInstance().getServiceAccount(); onChanged(); return this; } /** - * - * *
      * The service account to use in the connector when communicating with the
      * cloud.
      * 
* * string service_account = 5; - * * @param value The bytes for serviceAccount to set. * @return This builder for chaining. */ - public Builder setServiceAccountBytes(com.google.protobuf.ByteString value) { + public Builder setServiceAccountBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + serviceAccount_ = value; onChanged(); return this; @@ -2178,21 +2240,19 @@ public Builder setServiceAccountBytes(com.google.protobuf.ByteString value) { private java.lang.Object version_ = ""; /** - * - * *
      * The version running in the DatacenterConnector. This is supplied by the OVA
      * connector during the registration process and can not be modified.
      * 
* * string version = 6; - * * @return The version. */ public java.lang.String getVersion() { java.lang.Object ref = version_; 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(); version_ = s; return s; @@ -2201,22 +2261,21 @@ public java.lang.String getVersion() { } } /** - * - * *
      * The version running in the DatacenterConnector. This is supplied by the OVA
      * connector during the registration process and can not be modified.
      * 
* * string version = 6; - * * @return The bytes for version. */ - public com.google.protobuf.ByteString getVersionBytes() { + public com.google.protobuf.ByteString + getVersionBytes() { java.lang.Object ref = version_; 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); version_ = b; return b; } else { @@ -2224,64 +2283,57 @@ public com.google.protobuf.ByteString getVersionBytes() { } } /** - * - * *
      * The version running in the DatacenterConnector. This is supplied by the OVA
      * connector during the registration process and can not be modified.
      * 
* * string version = 6; - * * @param value The version to set. * @return This builder for chaining. */ - public Builder setVersion(java.lang.String value) { + public Builder setVersion( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + version_ = value; onChanged(); return this; } /** - * - * *
      * The version running in the DatacenterConnector. This is supplied by the OVA
      * connector during the registration process and can not be modified.
      * 
* * string version = 6; - * * @return This builder for chaining. */ public Builder clearVersion() { - + version_ = getDefaultInstance().getVersion(); onChanged(); return this; } /** - * - * *
      * The version running in the DatacenterConnector. This is supplied by the OVA
      * connector during the registration process and can not be modified.
      * 
* * string version = 6; - * * @param value The bytes for version to set. * @return This builder for chaining. */ - public Builder setVersionBytes(com.google.protobuf.ByteString value) { + public Builder setVersionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + version_ = value; onChanged(); return this; @@ -2289,20 +2341,19 @@ public Builder setVersionBytes(com.google.protobuf.ByteString value) { private java.lang.Object bucket_ = ""; /** - * - * *
-     * Output only. The communication channel between the datacenter connector and GCP.
+     * Output only. The communication channel between the datacenter connector and
+     * GCP.
      * 
* * string bucket = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bucket. */ public java.lang.String getBucket() { java.lang.Object ref = bucket_; 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(); bucket_ = s; return s; @@ -2311,21 +2362,21 @@ public java.lang.String getBucket() { } } /** - * - * *
-     * Output only. The communication channel between the datacenter connector and GCP.
+     * Output only. The communication channel between the datacenter connector and
+     * GCP.
      * 
* * string bucket = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for bucket. */ - public com.google.protobuf.ByteString getBucketBytes() { + public com.google.protobuf.ByteString + getBucketBytes() { java.lang.Object ref = bucket_; 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); bucket_ = b; return b; } else { @@ -2333,61 +2384,57 @@ public com.google.protobuf.ByteString getBucketBytes() { } } /** - * - * *
-     * Output only. The communication channel between the datacenter connector and GCP.
+     * Output only. The communication channel between the datacenter connector and
+     * GCP.
      * 
* * string bucket = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bucket to set. * @return This builder for chaining. */ - public Builder setBucket(java.lang.String value) { + public Builder setBucket( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + bucket_ = value; onChanged(); return this; } /** - * - * *
-     * Output only. The communication channel between the datacenter connector and GCP.
+     * Output only. The communication channel between the datacenter connector and
+     * GCP.
      * 
* * string bucket = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearBucket() { - + bucket_ = getDefaultInstance().getBucket(); onChanged(); return this; } /** - * - * *
-     * Output only. The communication channel between the datacenter connector and GCP.
+     * Output only. The communication channel between the datacenter connector and
+     * GCP.
      * 
* * string bucket = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for bucket to set. * @return This builder for chaining. */ - public Builder setBucketBytes(com.google.protobuf.ByteString value) { + public Builder setBucketBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + bucket_ = value; onChanged(); return this; @@ -2395,75 +2442,55 @@ public Builder setBucketBytes(com.google.protobuf.ByteString value) { private int state_ = 0; /** - * - * *
-     * Output only. State of the DatacenterConnector, as determined by the health checks.
+     * Output only. State of the DatacenterConnector, as determined by the health
+     * checks.
      * 
* - * - * .google.cloud.vmmigration.v1.DatacenterConnector.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.vmmigration.v1.DatacenterConnector.State state = 7 [(.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 DatacenterConnector, as determined by the health checks.
+     * Output only. State of the DatacenterConnector, as determined by the health
+     * checks.
      * 
* - * - * .google.cloud.vmmigration.v1.DatacenterConnector.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.vmmigration.v1.DatacenterConnector.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ public Builder setStateValue(int value) { - + state_ = value; onChanged(); return this; } /** - * - * *
-     * Output only. State of the DatacenterConnector, as determined by the health checks.
+     * Output only. State of the DatacenterConnector, as determined by the health
+     * checks.
      * 
* - * - * .google.cloud.vmmigration.v1.DatacenterConnector.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.vmmigration.v1.DatacenterConnector.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ @java.lang.Override public com.google.cloud.vmmigration.v1.DatacenterConnector.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.vmmigration.v1.DatacenterConnector.State result = - com.google.cloud.vmmigration.v1.DatacenterConnector.State.valueOf(state_); - return result == null - ? com.google.cloud.vmmigration.v1.DatacenterConnector.State.UNRECOGNIZED - : result; + com.google.cloud.vmmigration.v1.DatacenterConnector.State result = com.google.cloud.vmmigration.v1.DatacenterConnector.State.valueOf(state_); + return result == null ? com.google.cloud.vmmigration.v1.DatacenterConnector.State.UNRECOGNIZED : result; } /** - * - * *
-     * Output only. State of the DatacenterConnector, as determined by the health checks.
+     * Output only. State of the DatacenterConnector, as determined by the health
+     * checks.
      * 
* - * - * .google.cloud.vmmigration.v1.DatacenterConnector.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.vmmigration.v1.DatacenterConnector.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The state to set. * @return This builder for chaining. */ @@ -2471,26 +2498,22 @@ public Builder setState(com.google.cloud.vmmigration.v1.DatacenterConnector.Stat if (value == null) { throw new NullPointerException(); } - + state_ = value.getNumber(); onChanged(); return this; } /** - * - * *
-     * Output only. State of the DatacenterConnector, as determined by the health checks.
+     * Output only. State of the DatacenterConnector, as determined by the health
+     * checks.
      * 
* - * - * .google.cloud.vmmigration.v1.DatacenterConnector.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.vmmigration.v1.DatacenterConnector.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearState() { - + state_ = 0; onChanged(); return this; @@ -2498,35 +2521,24 @@ public Builder clearState() { private com.google.protobuf.Timestamp stateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - stateTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> stateTimeBuilder_; /** - * - * *
      * Output only. The time the state was last set.
      * 
* - * .google.protobuf.Timestamp state_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp state_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the stateTime field is set. */ public boolean hasStateTime() { return stateTimeBuilder_ != null || stateTime_ != null; } /** - * - * *
      * Output only. The time the state was last set.
      * 
* - * .google.protobuf.Timestamp state_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp state_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The stateTime. */ public com.google.protobuf.Timestamp getStateTime() { @@ -2537,14 +2549,11 @@ public com.google.protobuf.Timestamp getStateTime() { } } /** - * - * *
      * Output only. The time the state was last set.
      * 
* - * .google.protobuf.Timestamp state_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp state_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setStateTime(com.google.protobuf.Timestamp value) { if (stateTimeBuilder_ == null) { @@ -2560,16 +2569,14 @@ public Builder setStateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time the state was last set.
      * 
* - * .google.protobuf.Timestamp state_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp state_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setStateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setStateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (stateTimeBuilder_ == null) { stateTime_ = builderForValue.build(); onChanged(); @@ -2580,20 +2587,17 @@ public Builder setStateTime(com.google.protobuf.Timestamp.Builder builderForValu return this; } /** - * - * *
      * Output only. The time the state was last set.
      * 
* - * .google.protobuf.Timestamp state_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp state_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeStateTime(com.google.protobuf.Timestamp value) { if (stateTimeBuilder_ == null) { if (stateTime_ != null) { stateTime_ = - com.google.protobuf.Timestamp.newBuilder(stateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(stateTime_).mergeFrom(value).buildPartial(); } else { stateTime_ = value; } @@ -2605,14 +2609,11 @@ public Builder mergeStateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time the state was last set.
      * 
* - * .google.protobuf.Timestamp state_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp state_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearStateTime() { if (stateTimeBuilder_ == null) { @@ -2626,59 +2627,48 @@ public Builder clearStateTime() { return this; } /** - * - * *
      * Output only. The time the state was last set.
      * 
* - * .google.protobuf.Timestamp state_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp state_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getStateTimeBuilder() { - + onChanged(); return getStateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The time the state was last set.
      * 
* - * .google.protobuf.Timestamp state_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp state_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getStateTimeOrBuilder() { if (stateTimeBuilder_ != null) { return stateTimeBuilder_.getMessageOrBuilder(); } else { - return stateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : stateTime_; + return stateTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : stateTime_; } } /** - * - * *
      * Output only. The time the state was last set.
      * 
* - * .google.protobuf.Timestamp state_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp state_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> getStateTimeFieldBuilder() { if (stateTimeBuilder_ == null) { - stateTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getStateTime(), getParentForChildren(), isClean()); + stateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getStateTime(), + getParentForChildren(), + isClean()); stateTime_ = null; } return stateTimeBuilder_; @@ -2686,33 +2676,26 @@ public com.google.protobuf.TimestampOrBuilder getStateTimeOrBuilder() { private com.google.rpc.Status error_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> - errorBuilder_; + com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> errorBuilder_; /** - * - * *
-     * Output only. Provides details on the state of the Datacenter Connector in case of an
-     * error.
+     * Output only. Provides details on the state of the Datacenter Connector in
+     * case of an error.
      * 
* * .google.rpc.Status error = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return Whether the error field is set. */ public boolean hasError() { return errorBuilder_ != null || error_ != null; } /** - * - * *
-     * Output only. Provides details on the state of the Datacenter Connector in case of an
-     * error.
+     * Output only. Provides details on the state of the Datacenter Connector in
+     * case of an error.
      * 
* * .google.rpc.Status error = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The error. */ public com.google.rpc.Status getError() { @@ -2723,11 +2706,9 @@ public com.google.rpc.Status getError() { } } /** - * - * *
-     * Output only. Provides details on the state of the Datacenter Connector in case of an
-     * error.
+     * Output only. Provides details on the state of the Datacenter Connector in
+     * case of an error.
      * 
* * .google.rpc.Status error = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -2746,16 +2727,15 @@ public Builder setError(com.google.rpc.Status value) { return this; } /** - * - * *
-     * Output only. Provides details on the state of the Datacenter Connector in case of an
-     * error.
+     * Output only. Provides details on the state of the Datacenter Connector in
+     * case of an error.
      * 
* * .google.rpc.Status error = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setError(com.google.rpc.Status.Builder builderForValue) { + public Builder setError( + com.google.rpc.Status.Builder builderForValue) { if (errorBuilder_ == null) { error_ = builderForValue.build(); onChanged(); @@ -2766,11 +2746,9 @@ public Builder setError(com.google.rpc.Status.Builder builderForValue) { return this; } /** - * - * *
-     * Output only. Provides details on the state of the Datacenter Connector in case of an
-     * error.
+     * Output only. Provides details on the state of the Datacenter Connector in
+     * case of an error.
      * 
* * .google.rpc.Status error = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -2778,7 +2756,8 @@ public Builder setError(com.google.rpc.Status.Builder builderForValue) { public Builder mergeError(com.google.rpc.Status value) { if (errorBuilder_ == null) { if (error_ != null) { - error_ = com.google.rpc.Status.newBuilder(error_).mergeFrom(value).buildPartial(); + error_ = + com.google.rpc.Status.newBuilder(error_).mergeFrom(value).buildPartial(); } else { error_ = value; } @@ -2790,11 +2769,9 @@ public Builder mergeError(com.google.rpc.Status value) { return this; } /** - * - * *
-     * Output only. Provides details on the state of the Datacenter Connector in case of an
-     * error.
+     * Output only. Provides details on the state of the Datacenter Connector in
+     * case of an error.
      * 
* * .google.rpc.Status error = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -2811,26 +2788,22 @@ public Builder clearError() { return this; } /** - * - * *
-     * Output only. Provides details on the state of the Datacenter Connector in case of an
-     * error.
+     * Output only. Provides details on the state of the Datacenter Connector in
+     * case of an error.
      * 
* * .google.rpc.Status error = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.rpc.Status.Builder getErrorBuilder() { - + onChanged(); return getErrorFieldBuilder().getBuilder(); } /** - * - * *
-     * Output only. Provides details on the state of the Datacenter Connector in case of an
-     * error.
+     * Output only. Provides details on the state of the Datacenter Connector in
+     * case of an error.
      * 
* * .google.rpc.Status error = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -2839,35 +2812,556 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() { if (errorBuilder_ != null) { return errorBuilder_.getMessageOrBuilder(); } else { - return error_ == null ? com.google.rpc.Status.getDefaultInstance() : error_; + return error_ == null ? + com.google.rpc.Status.getDefaultInstance() : error_; } } /** - * - * *
-     * Output only. Provides details on the state of the Datacenter Connector in case of an
-     * error.
+     * Output only. Provides details on the state of the Datacenter Connector in
+     * case of an error.
      * 
* * .google.rpc.Status error = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ 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> getErrorFieldBuilder() { if (errorBuilder_ == null) { - errorBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.Status, - com.google.rpc.Status.Builder, - com.google.rpc.StatusOrBuilder>(getError(), getParentForChildren(), isClean()); + errorBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder>( + getError(), + getParentForChildren(), + isClean()); error_ = null; } return errorBuilder_; } + private java.lang.Object applianceInfrastructureVersion_ = ""; + /** + *
+     * Output only. Appliance OVA version.
+     * This is the OVA which is manually installed by the user and contains the
+     * infrastructure for the automatically updatable components on the appliance.
+     * 
+ * + * string appliance_infrastructure_version = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The applianceInfrastructureVersion. + */ + public java.lang.String getApplianceInfrastructureVersion() { + java.lang.Object ref = applianceInfrastructureVersion_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + applianceInfrastructureVersion_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * Output only. Appliance OVA version.
+     * This is the OVA which is manually installed by the user and contains the
+     * infrastructure for the automatically updatable components on the appliance.
+     * 
+ * + * string appliance_infrastructure_version = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The bytes for applianceInfrastructureVersion. + */ + public com.google.protobuf.ByteString + getApplianceInfrastructureVersionBytes() { + java.lang.Object ref = applianceInfrastructureVersion_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + applianceInfrastructureVersion_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * Output only. Appliance OVA version.
+     * This is the OVA which is manually installed by the user and contains the
+     * infrastructure for the automatically updatable components on the appliance.
+     * 
+ * + * string appliance_infrastructure_version = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param value The applianceInfrastructureVersion to set. + * @return This builder for chaining. + */ + public Builder setApplianceInfrastructureVersion( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + applianceInfrastructureVersion_ = value; + onChanged(); + return this; + } + /** + *
+     * Output only. Appliance OVA version.
+     * This is the OVA which is manually installed by the user and contains the
+     * infrastructure for the automatically updatable components on the appliance.
+     * 
+ * + * string appliance_infrastructure_version = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return This builder for chaining. + */ + public Builder clearApplianceInfrastructureVersion() { + + applianceInfrastructureVersion_ = getDefaultInstance().getApplianceInfrastructureVersion(); + onChanged(); + return this; + } + /** + *
+     * Output only. Appliance OVA version.
+     * This is the OVA which is manually installed by the user and contains the
+     * infrastructure for the automatically updatable components on the appliance.
+     * 
+ * + * string appliance_infrastructure_version = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param value The bytes for applianceInfrastructureVersion to set. + * @return This builder for chaining. + */ + public Builder setApplianceInfrastructureVersionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + applianceInfrastructureVersion_ = value; + onChanged(); + return this; + } + + private java.lang.Object applianceSoftwareVersion_ = ""; + /** + *
+     * Output only. Appliance last installed update bundle version.
+     * This is the version of the automatically updatable components on the
+     * appliance.
+     * 
+ * + * string appliance_software_version = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The applianceSoftwareVersion. + */ + public java.lang.String getApplianceSoftwareVersion() { + java.lang.Object ref = applianceSoftwareVersion_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + applianceSoftwareVersion_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * Output only. Appliance last installed update bundle version.
+     * This is the version of the automatically updatable components on the
+     * appliance.
+     * 
+ * + * string appliance_software_version = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The bytes for applianceSoftwareVersion. + */ + public com.google.protobuf.ByteString + getApplianceSoftwareVersionBytes() { + java.lang.Object ref = applianceSoftwareVersion_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + applianceSoftwareVersion_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * Output only. Appliance last installed update bundle version.
+     * This is the version of the automatically updatable components on the
+     * appliance.
+     * 
+ * + * string appliance_software_version = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param value The applianceSoftwareVersion to set. + * @return This builder for chaining. + */ + public Builder setApplianceSoftwareVersion( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + applianceSoftwareVersion_ = value; + onChanged(); + return this; + } + /** + *
+     * Output only. Appliance last installed update bundle version.
+     * This is the version of the automatically updatable components on the
+     * appliance.
+     * 
+ * + * string appliance_software_version = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return This builder for chaining. + */ + public Builder clearApplianceSoftwareVersion() { + + applianceSoftwareVersion_ = getDefaultInstance().getApplianceSoftwareVersion(); + onChanged(); + return this; + } + /** + *
+     * Output only. Appliance last installed update bundle version.
+     * This is the version of the automatically updatable components on the
+     * appliance.
+     * 
+ * + * string appliance_software_version = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param value The bytes for applianceSoftwareVersion to set. + * @return This builder for chaining. + */ + public Builder setApplianceSoftwareVersionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + applianceSoftwareVersion_ = value; + onChanged(); + return this; + } + + private com.google.cloud.vmmigration.v1.AvailableUpdates availableVersions_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.vmmigration.v1.AvailableUpdates, com.google.cloud.vmmigration.v1.AvailableUpdates.Builder, com.google.cloud.vmmigration.v1.AvailableUpdatesOrBuilder> availableVersionsBuilder_; + /** + *
+     * Output only. The available versions for updating this appliance.
+     * 
+ * + * .google.cloud.vmmigration.v1.AvailableUpdates available_versions = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return Whether the availableVersions field is set. + */ + public boolean hasAvailableVersions() { + return availableVersionsBuilder_ != null || availableVersions_ != null; + } + /** + *
+     * Output only. The available versions for updating this appliance.
+     * 
+ * + * .google.cloud.vmmigration.v1.AvailableUpdates available_versions = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The availableVersions. + */ + public com.google.cloud.vmmigration.v1.AvailableUpdates getAvailableVersions() { + if (availableVersionsBuilder_ == null) { + return availableVersions_ == null ? com.google.cloud.vmmigration.v1.AvailableUpdates.getDefaultInstance() : availableVersions_; + } else { + return availableVersionsBuilder_.getMessage(); + } + } + /** + *
+     * Output only. The available versions for updating this appliance.
+     * 
+ * + * .google.cloud.vmmigration.v1.AvailableUpdates available_versions = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public Builder setAvailableVersions(com.google.cloud.vmmigration.v1.AvailableUpdates value) { + if (availableVersionsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + availableVersions_ = value; + onChanged(); + } else { + availableVersionsBuilder_.setMessage(value); + } + + return this; + } + /** + *
+     * Output only. The available versions for updating this appliance.
+     * 
+ * + * .google.cloud.vmmigration.v1.AvailableUpdates available_versions = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public Builder setAvailableVersions( + com.google.cloud.vmmigration.v1.AvailableUpdates.Builder builderForValue) { + if (availableVersionsBuilder_ == null) { + availableVersions_ = builderForValue.build(); + onChanged(); + } else { + availableVersionsBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + *
+     * Output only. The available versions for updating this appliance.
+     * 
+ * + * .google.cloud.vmmigration.v1.AvailableUpdates available_versions = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public Builder mergeAvailableVersions(com.google.cloud.vmmigration.v1.AvailableUpdates value) { + if (availableVersionsBuilder_ == null) { + if (availableVersions_ != null) { + availableVersions_ = + com.google.cloud.vmmigration.v1.AvailableUpdates.newBuilder(availableVersions_).mergeFrom(value).buildPartial(); + } else { + availableVersions_ = value; + } + onChanged(); + } else { + availableVersionsBuilder_.mergeFrom(value); + } + + return this; + } + /** + *
+     * Output only. The available versions for updating this appliance.
+     * 
+ * + * .google.cloud.vmmigration.v1.AvailableUpdates available_versions = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public Builder clearAvailableVersions() { + if (availableVersionsBuilder_ == null) { + availableVersions_ = null; + onChanged(); + } else { + availableVersions_ = null; + availableVersionsBuilder_ = null; + } + + return this; + } + /** + *
+     * Output only. The available versions for updating this appliance.
+     * 
+ * + * .google.cloud.vmmigration.v1.AvailableUpdates available_versions = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public com.google.cloud.vmmigration.v1.AvailableUpdates.Builder getAvailableVersionsBuilder() { + + onChanged(); + return getAvailableVersionsFieldBuilder().getBuilder(); + } + /** + *
+     * Output only. The available versions for updating this appliance.
+     * 
+ * + * .google.cloud.vmmigration.v1.AvailableUpdates available_versions = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public com.google.cloud.vmmigration.v1.AvailableUpdatesOrBuilder getAvailableVersionsOrBuilder() { + if (availableVersionsBuilder_ != null) { + return availableVersionsBuilder_.getMessageOrBuilder(); + } else { + return availableVersions_ == null ? + com.google.cloud.vmmigration.v1.AvailableUpdates.getDefaultInstance() : availableVersions_; + } + } + /** + *
+     * Output only. The available versions for updating this appliance.
+     * 
+ * + * .google.cloud.vmmigration.v1.AvailableUpdates available_versions = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.vmmigration.v1.AvailableUpdates, com.google.cloud.vmmigration.v1.AvailableUpdates.Builder, com.google.cloud.vmmigration.v1.AvailableUpdatesOrBuilder> + getAvailableVersionsFieldBuilder() { + if (availableVersionsBuilder_ == null) { + availableVersionsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.vmmigration.v1.AvailableUpdates, com.google.cloud.vmmigration.v1.AvailableUpdates.Builder, com.google.cloud.vmmigration.v1.AvailableUpdatesOrBuilder>( + getAvailableVersions(), + getParentForChildren(), + isClean()); + availableVersions_ = null; + } + return availableVersionsBuilder_; + } + + private com.google.cloud.vmmigration.v1.UpgradeStatus upgradeStatus_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.vmmigration.v1.UpgradeStatus, com.google.cloud.vmmigration.v1.UpgradeStatus.Builder, com.google.cloud.vmmigration.v1.UpgradeStatusOrBuilder> upgradeStatusBuilder_; + /** + *
+     * Output only. The status of the current / last upgradeAppliance operation.
+     * 
+ * + * .google.cloud.vmmigration.v1.UpgradeStatus upgrade_status = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return Whether the upgradeStatus field is set. + */ + public boolean hasUpgradeStatus() { + return upgradeStatusBuilder_ != null || upgradeStatus_ != null; + } + /** + *
+     * Output only. The status of the current / last upgradeAppliance operation.
+     * 
+ * + * .google.cloud.vmmigration.v1.UpgradeStatus upgrade_status = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The upgradeStatus. + */ + public com.google.cloud.vmmigration.v1.UpgradeStatus getUpgradeStatus() { + if (upgradeStatusBuilder_ == null) { + return upgradeStatus_ == null ? com.google.cloud.vmmigration.v1.UpgradeStatus.getDefaultInstance() : upgradeStatus_; + } else { + return upgradeStatusBuilder_.getMessage(); + } + } + /** + *
+     * Output only. The status of the current / last upgradeAppliance operation.
+     * 
+ * + * .google.cloud.vmmigration.v1.UpgradeStatus upgrade_status = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public Builder setUpgradeStatus(com.google.cloud.vmmigration.v1.UpgradeStatus value) { + if (upgradeStatusBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + upgradeStatus_ = value; + onChanged(); + } else { + upgradeStatusBuilder_.setMessage(value); + } + + return this; + } + /** + *
+     * Output only. The status of the current / last upgradeAppliance operation.
+     * 
+ * + * .google.cloud.vmmigration.v1.UpgradeStatus upgrade_status = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public Builder setUpgradeStatus( + com.google.cloud.vmmigration.v1.UpgradeStatus.Builder builderForValue) { + if (upgradeStatusBuilder_ == null) { + upgradeStatus_ = builderForValue.build(); + onChanged(); + } else { + upgradeStatusBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + *
+     * Output only. The status of the current / last upgradeAppliance operation.
+     * 
+ * + * .google.cloud.vmmigration.v1.UpgradeStatus upgrade_status = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public Builder mergeUpgradeStatus(com.google.cloud.vmmigration.v1.UpgradeStatus value) { + if (upgradeStatusBuilder_ == null) { + if (upgradeStatus_ != null) { + upgradeStatus_ = + com.google.cloud.vmmigration.v1.UpgradeStatus.newBuilder(upgradeStatus_).mergeFrom(value).buildPartial(); + } else { + upgradeStatus_ = value; + } + onChanged(); + } else { + upgradeStatusBuilder_.mergeFrom(value); + } + + return this; + } + /** + *
+     * Output only. The status of the current / last upgradeAppliance operation.
+     * 
+ * + * .google.cloud.vmmigration.v1.UpgradeStatus upgrade_status = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public Builder clearUpgradeStatus() { + if (upgradeStatusBuilder_ == null) { + upgradeStatus_ = null; + onChanged(); + } else { + upgradeStatus_ = null; + upgradeStatusBuilder_ = null; + } + + return this; + } + /** + *
+     * Output only. The status of the current / last upgradeAppliance operation.
+     * 
+ * + * .google.cloud.vmmigration.v1.UpgradeStatus upgrade_status = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public com.google.cloud.vmmigration.v1.UpgradeStatus.Builder getUpgradeStatusBuilder() { + + onChanged(); + return getUpgradeStatusFieldBuilder().getBuilder(); + } + /** + *
+     * Output only. The status of the current / last upgradeAppliance operation.
+     * 
+ * + * .google.cloud.vmmigration.v1.UpgradeStatus upgrade_status = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public com.google.cloud.vmmigration.v1.UpgradeStatusOrBuilder getUpgradeStatusOrBuilder() { + if (upgradeStatusBuilder_ != null) { + return upgradeStatusBuilder_.getMessageOrBuilder(); + } else { + return upgradeStatus_ == null ? + com.google.cloud.vmmigration.v1.UpgradeStatus.getDefaultInstance() : upgradeStatus_; + } + } + /** + *
+     * Output only. The status of the current / last upgradeAppliance operation.
+     * 
+ * + * .google.cloud.vmmigration.v1.UpgradeStatus upgrade_status = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.vmmigration.v1.UpgradeStatus, com.google.cloud.vmmigration.v1.UpgradeStatus.Builder, com.google.cloud.vmmigration.v1.UpgradeStatusOrBuilder> + getUpgradeStatusFieldBuilder() { + if (upgradeStatusBuilder_ == null) { + upgradeStatusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.vmmigration.v1.UpgradeStatus, com.google.cloud.vmmigration.v1.UpgradeStatus.Builder, com.google.cloud.vmmigration.v1.UpgradeStatusOrBuilder>( + getUpgradeStatus(), + getParentForChildren(), + isClean()); + upgradeStatus_ = null; + } + return upgradeStatusBuilder_; + } @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); } @@ -2877,12 +3371,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.vmmigration.v1.DatacenterConnector) } // @@protoc_insertion_point(class_scope:google.cloud.vmmigration.v1.DatacenterConnector) private static final com.google.cloud.vmmigration.v1.DatacenterConnector DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.vmmigration.v1.DatacenterConnector(); } @@ -2891,16 +3385,16 @@ public static com.google.cloud.vmmigration.v1.DatacenterConnector getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DatacenterConnector parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DatacenterConnector(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DatacenterConnector parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DatacenterConnector(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2915,4 +3409,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.vmmigration.v1.DatacenterConnector getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/DatacenterConnectorName.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/DatacenterConnectorName.java similarity index 100% rename from proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/DatacenterConnectorName.java rename to owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/DatacenterConnectorName.java diff --git a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/DatacenterConnectorOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/DatacenterConnectorOrBuilder.java similarity index 53% rename from proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/DatacenterConnectorOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/DatacenterConnectorOrBuilder.java index 58516c0..258dab9 100644 --- a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/DatacenterConnectorOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/DatacenterConnectorOrBuilder.java @@ -1,342 +1,356 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; -public interface DatacenterConnectorOrBuilder - extends +public interface DatacenterConnectorOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.DatacenterConnector) com.google.protobuf.MessageOrBuilder { /** - * - * *
-   * Output only. The time the connector was created (as an API call, not when it was
-   * actually installed).
+   * Output only. The time the connector was created (as an API call, not when
+   * it was actually installed).
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** - * - * *
-   * Output only. The time the connector was created (as an API call, not when it was
-   * actually installed).
+   * Output only. The time the connector was created (as an API call, not when
+   * it was actually installed).
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** - * - * *
-   * Output only. The time the connector was created (as an API call, not when it was
-   * actually installed).
+   * Output only. The time the connector was created (as an API call, not when
+   * it was actually installed).
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** - * - * *
    * Output only. The last time the connector was updated with an API call.
    * 
* - * .google.protobuf.Timestamp update_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** - * - * *
    * Output only. The last time the connector was updated with an API call.
    * 
* - * .google.protobuf.Timestamp update_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** - * - * *
    * Output only. The last time the connector was updated with an API call.
    * 
* - * .google.protobuf.Timestamp update_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** - * - * *
    * Output only. The connector's name.
    * 
* * string name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Output only. The connector's name.
    * 
* * string name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
-   * Immutable. A unique key for this connector. This key is internal to the OVA connector
-   * and is supplied with its creation during the registration process and can
-   * not be modified.
+   * Immutable. A unique key for this connector. This key is internal to the OVA
+   * connector and is supplied with its creation during the registration process
+   * and can not be modified.
    * 
* * string registration_id = 12 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The registrationId. */ java.lang.String getRegistrationId(); /** - * - * *
-   * Immutable. A unique key for this connector. This key is internal to the OVA connector
-   * and is supplied with its creation during the registration process and can
-   * not be modified.
+   * Immutable. A unique key for this connector. This key is internal to the OVA
+   * connector and is supplied with its creation during the registration process
+   * and can not be modified.
    * 
* * string registration_id = 12 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The bytes for registrationId. */ - com.google.protobuf.ByteString getRegistrationIdBytes(); + com.google.protobuf.ByteString + getRegistrationIdBytes(); /** - * - * *
    * The service account to use in the connector when communicating with the
    * cloud.
    * 
* * string service_account = 5; - * * @return The serviceAccount. */ java.lang.String getServiceAccount(); /** - * - * *
    * The service account to use in the connector when communicating with the
    * cloud.
    * 
* * string service_account = 5; - * * @return The bytes for serviceAccount. */ - com.google.protobuf.ByteString getServiceAccountBytes(); + com.google.protobuf.ByteString + getServiceAccountBytes(); /** - * - * *
    * The version running in the DatacenterConnector. This is supplied by the OVA
    * connector during the registration process and can not be modified.
    * 
* * string version = 6; - * * @return The version. */ java.lang.String getVersion(); /** - * - * *
    * The version running in the DatacenterConnector. This is supplied by the OVA
    * connector during the registration process and can not be modified.
    * 
* * string version = 6; - * * @return The bytes for version. */ - com.google.protobuf.ByteString getVersionBytes(); + com.google.protobuf.ByteString + getVersionBytes(); /** - * - * *
-   * Output only. The communication channel between the datacenter connector and GCP.
+   * Output only. The communication channel between the datacenter connector and
+   * GCP.
    * 
* * string bucket = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bucket. */ java.lang.String getBucket(); /** - * - * *
-   * Output only. The communication channel between the datacenter connector and GCP.
+   * Output only. The communication channel between the datacenter connector and
+   * GCP.
    * 
* * string bucket = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for bucket. */ - com.google.protobuf.ByteString getBucketBytes(); + com.google.protobuf.ByteString + getBucketBytes(); /** - * - * *
-   * Output only. State of the DatacenterConnector, as determined by the health checks.
+   * Output only. State of the DatacenterConnector, as determined by the health
+   * checks.
    * 
* - * - * .google.cloud.vmmigration.v1.DatacenterConnector.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.vmmigration.v1.DatacenterConnector.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for state. */ int getStateValue(); /** - * - * *
-   * Output only. State of the DatacenterConnector, as determined by the health checks.
+   * Output only. State of the DatacenterConnector, as determined by the health
+   * checks.
    * 
* - * - * .google.cloud.vmmigration.v1.DatacenterConnector.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.vmmigration.v1.DatacenterConnector.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ com.google.cloud.vmmigration.v1.DatacenterConnector.State getState(); /** - * - * *
    * Output only. The time the state was last set.
    * 
* - * .google.protobuf.Timestamp state_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp state_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the stateTime field is set. */ boolean hasStateTime(); /** - * - * *
    * Output only. The time the state was last set.
    * 
* - * .google.protobuf.Timestamp state_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp state_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The stateTime. */ com.google.protobuf.Timestamp getStateTime(); /** - * - * *
    * Output only. The time the state was last set.
    * 
* - * .google.protobuf.Timestamp state_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp state_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getStateTimeOrBuilder(); /** + *
+   * Output only. Provides details on the state of the Datacenter Connector in
+   * case of an error.
+   * 
* + * .google.rpc.Status error = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return Whether the error field is set. + */ + boolean hasError(); + /** + *
+   * Output only. Provides details on the state of the Datacenter Connector in
+   * case of an error.
+   * 
* + * .google.rpc.Status error = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The error. + */ + com.google.rpc.Status getError(); + /** *
-   * Output only. Provides details on the state of the Datacenter Connector in case of an
-   * error.
+   * Output only. Provides details on the state of the Datacenter Connector in
+   * case of an error.
    * 
* * .google.rpc.Status error = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + com.google.rpc.StatusOrBuilder getErrorOrBuilder(); + + /** + *
+   * Output only. Appliance OVA version.
+   * This is the OVA which is manually installed by the user and contains the
+   * infrastructure for the automatically updatable components on the appliance.
+   * 
* - * @return Whether the error field is set. + * string appliance_infrastructure_version = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The applianceInfrastructureVersion. */ - boolean hasError(); + java.lang.String getApplianceInfrastructureVersion(); + /** + *
+   * Output only. Appliance OVA version.
+   * This is the OVA which is manually installed by the user and contains the
+   * infrastructure for the automatically updatable components on the appliance.
+   * 
+ * + * string appliance_infrastructure_version = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The bytes for applianceInfrastructureVersion. + */ + com.google.protobuf.ByteString + getApplianceInfrastructureVersionBytes(); + + /** + *
+   * Output only. Appliance last installed update bundle version.
+   * This is the version of the automatically updatable components on the
+   * appliance.
+   * 
+ * + * string appliance_software_version = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The applianceSoftwareVersion. + */ + java.lang.String getApplianceSoftwareVersion(); /** + *
+   * Output only. Appliance last installed update bundle version.
+   * This is the version of the automatically updatable components on the
+   * appliance.
+   * 
* + * string appliance_software_version = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The bytes for applianceSoftwareVersion. + */ + com.google.protobuf.ByteString + getApplianceSoftwareVersionBytes(); + + /** + *
+   * Output only. The available versions for updating this appliance.
+   * 
* + * .google.cloud.vmmigration.v1.AvailableUpdates available_versions = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return Whether the availableVersions field is set. + */ + boolean hasAvailableVersions(); + /** *
-   * Output only. Provides details on the state of the Datacenter Connector in case of an
-   * error.
+   * Output only. The available versions for updating this appliance.
    * 
* - * .google.rpc.Status error = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.cloud.vmmigration.v1.AvailableUpdates available_versions = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The availableVersions. + */ + com.google.cloud.vmmigration.v1.AvailableUpdates getAvailableVersions(); + /** + *
+   * Output only. The available versions for updating this appliance.
+   * 
* - * @return The error. + * .google.cloud.vmmigration.v1.AvailableUpdates available_versions = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - com.google.rpc.Status getError(); + com.google.cloud.vmmigration.v1.AvailableUpdatesOrBuilder getAvailableVersionsOrBuilder(); + /** + *
+   * Output only. The status of the current / last upgradeAppliance operation.
+   * 
* + * .google.cloud.vmmigration.v1.UpgradeStatus upgrade_status = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return Whether the upgradeStatus field is set. + */ + boolean hasUpgradeStatus(); + /** + *
+   * Output only. The status of the current / last upgradeAppliance operation.
+   * 
* + * .google.cloud.vmmigration.v1.UpgradeStatus upgrade_status = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The upgradeStatus. + */ + com.google.cloud.vmmigration.v1.UpgradeStatus getUpgradeStatus(); + /** *
-   * Output only. Provides details on the state of the Datacenter Connector in case of an
-   * error.
+   * Output only. The status of the current / last upgradeAppliance operation.
    * 
* - * .google.rpc.Status error = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.cloud.vmmigration.v1.UpgradeStatus upgrade_status = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - com.google.rpc.StatusOrBuilder getErrorOrBuilder(); + com.google.cloud.vmmigration.v1.UpgradeStatusOrBuilder getUpgradeStatusOrBuilder(); } diff --git a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/DeleteDatacenterConnectorRequest.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/DeleteDatacenterConnectorRequest.java similarity index 69% rename from proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/DeleteDatacenterConnectorRequest.java rename to owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/DeleteDatacenterConnectorRequest.java index 28fecc2..3f25a35 100644 --- a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/DeleteDatacenterConnectorRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/DeleteDatacenterConnectorRequest.java @@ -1,43 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; /** - * - * *
  * Request message for 'DeleteDatacenterConnector' request.
  * 
* * Protobuf type {@code google.cloud.vmmigration.v1.DeleteDatacenterConnectorRequest} */ -public final class DeleteDatacenterConnectorRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DeleteDatacenterConnectorRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.vmmigration.v1.DeleteDatacenterConnectorRequest) DeleteDatacenterConnectorRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DeleteDatacenterConnectorRequest.newBuilder() to construct. - private DeleteDatacenterConnectorRequest( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private DeleteDatacenterConnectorRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeleteDatacenterConnectorRequest() { name_ = ""; requestId_ = ""; @@ -45,15 +26,16 @@ private DeleteDatacenterConnectorRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeleteDatacenterConnectorRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private DeleteDatacenterConnectorRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,27 +54,25 @@ private DeleteDatacenterConnectorRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + name_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - requestId_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + requestId_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -100,41 +80,34 @@ private DeleteDatacenterConnectorRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_DeleteDatacenterConnectorRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_DeleteDatacenterConnectorRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_DeleteDatacenterConnectorRequest_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_DeleteDatacenterConnectorRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.DeleteDatacenterConnectorRequest.class, - com.google.cloud.vmmigration.v1.DeleteDatacenterConnectorRequest.Builder.class); + com.google.cloud.vmmigration.v1.DeleteDatacenterConnectorRequest.class, com.google.cloud.vmmigration.v1.DeleteDatacenterConnectorRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The DatacenterConnector name.
    * 
* - * - * 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 @@ -143,31 +116,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; } } /** - * - * *
    * Required. The DatacenterConnector name.
    * 
* - * - * 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 { @@ -178,8 +149,6 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int REQUEST_ID_FIELD_NUMBER = 2; private volatile java.lang.Object requestId_; /** - * - * *
    * A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -195,7 +164,6 @@ public com.google.protobuf.ByteString getNameBytes() {
    * 
* * string request_id = 2; - * * @return The requestId. */ @java.lang.Override @@ -204,15 +172,14 @@ public java.lang.String getRequestId() { 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(); requestId_ = s; return s; } } /** - * - * *
    * A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -228,15 +195,16 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 2; - * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; 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); requestId_ = b; return b; } else { @@ -245,7 +213,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -257,7 +224,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_); } @@ -287,16 +255,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.vmmigration.v1.DeleteDatacenterConnectorRequest)) { return super.equals(obj); } - com.google.cloud.vmmigration.v1.DeleteDatacenterConnectorRequest other = - (com.google.cloud.vmmigration.v1.DeleteDatacenterConnectorRequest) obj; + com.google.cloud.vmmigration.v1.DeleteDatacenterConnectorRequest other = (com.google.cloud.vmmigration.v1.DeleteDatacenterConnectorRequest) obj; - if (!getName().equals(other.getName())) return false; - if (!getRequestId().equals(other.getRequestId())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getRequestId() + .equals(other.getRequestId())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -318,127 +287,117 @@ public int hashCode() { } public static com.google.cloud.vmmigration.v1.DeleteDatacenterConnectorRequest 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.vmmigration.v1.DeleteDatacenterConnectorRequest 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.vmmigration.v1.DeleteDatacenterConnectorRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.vmmigration.v1.DeleteDatacenterConnectorRequest 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.vmmigration.v1.DeleteDatacenterConnectorRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.vmmigration.v1.DeleteDatacenterConnectorRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.vmmigration.v1.DeleteDatacenterConnectorRequest 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.vmmigration.v1.DeleteDatacenterConnectorRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.vmmigration.v1.DeleteDatacenterConnectorRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.vmmigration.v1.DeleteDatacenterConnectorRequest 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.vmmigration.v1.DeleteDatacenterConnectorRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.vmmigration.v1.DeleteDatacenterConnectorRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.vmmigration.v1.DeleteDatacenterConnectorRequest 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.vmmigration.v1.DeleteDatacenterConnectorRequest 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.vmmigration.v1.DeleteDatacenterConnectorRequest 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.vmmigration.v1.DeleteDatacenterConnectorRequest prototype) { + public static Builder newBuilder(com.google.cloud.vmmigration.v1.DeleteDatacenterConnectorRequest 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 message for 'DeleteDatacenterConnector' request.
    * 
* * Protobuf type {@code google.cloud.vmmigration.v1.DeleteDatacenterConnectorRequest} */ - 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.vmmigration.v1.DeleteDatacenterConnectorRequest) com.google.cloud.vmmigration.v1.DeleteDatacenterConnectorRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_DeleteDatacenterConnectorRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_DeleteDatacenterConnectorRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_DeleteDatacenterConnectorRequest_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_DeleteDatacenterConnectorRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.DeleteDatacenterConnectorRequest.class, - com.google.cloud.vmmigration.v1.DeleteDatacenterConnectorRequest.Builder.class); + com.google.cloud.vmmigration.v1.DeleteDatacenterConnectorRequest.class, com.google.cloud.vmmigration.v1.DeleteDatacenterConnectorRequest.Builder.class); } // Construct using com.google.cloud.vmmigration.v1.DeleteDatacenterConnectorRequest.newBuilder() @@ -446,15 +405,16 @@ 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) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -466,14 +426,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_DeleteDatacenterConnectorRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_DeleteDatacenterConnectorRequest_descriptor; } @java.lang.Override - public com.google.cloud.vmmigration.v1.DeleteDatacenterConnectorRequest - getDefaultInstanceForType() { + public com.google.cloud.vmmigration.v1.DeleteDatacenterConnectorRequest getDefaultInstanceForType() { return com.google.cloud.vmmigration.v1.DeleteDatacenterConnectorRequest.getDefaultInstance(); } @@ -488,8 +447,7 @@ public com.google.cloud.vmmigration.v1.DeleteDatacenterConnectorRequest build() @java.lang.Override public com.google.cloud.vmmigration.v1.DeleteDatacenterConnectorRequest buildPartial() { - com.google.cloud.vmmigration.v1.DeleteDatacenterConnectorRequest result = - new com.google.cloud.vmmigration.v1.DeleteDatacenterConnectorRequest(this); + com.google.cloud.vmmigration.v1.DeleteDatacenterConnectorRequest result = new com.google.cloud.vmmigration.v1.DeleteDatacenterConnectorRequest(this); result.name_ = name_; result.requestId_ = requestId_; onBuilt(); @@ -500,50 +458,46 @@ public com.google.cloud.vmmigration.v1.DeleteDatacenterConnectorRequest buildPar 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.vmmigration.v1.DeleteDatacenterConnectorRequest) { - return mergeFrom((com.google.cloud.vmmigration.v1.DeleteDatacenterConnectorRequest) other); + return mergeFrom((com.google.cloud.vmmigration.v1.DeleteDatacenterConnectorRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.vmmigration.v1.DeleteDatacenterConnectorRequest other) { - if (other - == com.google.cloud.vmmigration.v1.DeleteDatacenterConnectorRequest.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.cloud.vmmigration.v1.DeleteDatacenterConnectorRequest other) { + if (other == com.google.cloud.vmmigration.v1.DeleteDatacenterConnectorRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -571,9 +525,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.vmmigration.v1.DeleteDatacenterConnectorRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.vmmigration.v1.DeleteDatacenterConnectorRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -585,22 +537,18 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The DatacenterConnector name.
      * 
* - * - * 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; @@ -609,23 +557,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The DatacenterConnector name.
      * 
* - * - * 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 { @@ -633,67 +578,54 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The DatacenterConnector name.
      * 
* - * - * 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The DatacenterConnector name.
      * 
* - * - * 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() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The DatacenterConnector name.
      * 
* - * - * 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) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -701,8 +633,6 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object requestId_ = ""; /** - * - * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -718,13 +648,13 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * 
* * string request_id = 2; - * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; 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(); requestId_ = s; return s; @@ -733,8 +663,6 @@ public java.lang.String getRequestId() { } } /** - * - * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -750,14 +678,15 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 2; - * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; 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); requestId_ = b; return b; } else { @@ -765,8 +694,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } } /** - * - * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -782,22 +709,20 @@ public com.google.protobuf.ByteString getRequestIdBytes() {
      * 
* * string request_id = 2; - * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId(java.lang.String value) { + public Builder setRequestId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + requestId_ = value; onChanged(); return this; } /** - * - * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -813,18 +738,15 @@ public Builder setRequestId(java.lang.String value) {
      * 
* * string request_id = 2; - * * @return This builder for chaining. */ public Builder clearRequestId() { - + requestId_ = getDefaultInstance().getRequestId(); onChanged(); return this; } /** - * - * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -840,23 +762,23 @@ public Builder clearRequestId() {
      * 
* * string request_id = 2; - * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { + public Builder setRequestIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + requestId_ = 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); } @@ -866,32 +788,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.vmmigration.v1.DeleteDatacenterConnectorRequest) } // @@protoc_insertion_point(class_scope:google.cloud.vmmigration.v1.DeleteDatacenterConnectorRequest) - private static final com.google.cloud.vmmigration.v1.DeleteDatacenterConnectorRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.vmmigration.v1.DeleteDatacenterConnectorRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.vmmigration.v1.DeleteDatacenterConnectorRequest(); } - public static com.google.cloud.vmmigration.v1.DeleteDatacenterConnectorRequest - getDefaultInstance() { + public static com.google.cloud.vmmigration.v1.DeleteDatacenterConnectorRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteDatacenterConnectorRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteDatacenterConnectorRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteDatacenterConnectorRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteDatacenterConnectorRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -903,8 +823,9 @@ public com.google.protobuf.Parser getParserFor } @java.lang.Override - public com.google.cloud.vmmigration.v1.DeleteDatacenterConnectorRequest - getDefaultInstanceForType() { + public com.google.cloud.vmmigration.v1.DeleteDatacenterConnectorRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/DeleteDatacenterConnectorRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/DeleteDatacenterConnectorRequestOrBuilder.java similarity index 68% rename from proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/DeleteDatacenterConnectorRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/DeleteDatacenterConnectorRequestOrBuilder.java index a717017..61f2ec8 100644 --- a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/DeleteDatacenterConnectorRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/DeleteDatacenterConnectorRequestOrBuilder.java @@ -1,60 +1,33 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; -public interface DeleteDatacenterConnectorRequestOrBuilder - extends +public interface DeleteDatacenterConnectorRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.DeleteDatacenterConnectorRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The DatacenterConnector name.
    * 
* - * - * 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 DatacenterConnector name.
    * 
* - * - * 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(); /** - * - * *
    * A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -70,13 +43,10 @@ public interface DeleteDatacenterConnectorRequestOrBuilder
    * 
* * string request_id = 2; - * * @return The requestId. */ java.lang.String getRequestId(); /** - * - * *
    * A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -92,8 +62,8 @@ public interface DeleteDatacenterConnectorRequestOrBuilder
    * 
* * string request_id = 2; - * * @return The bytes for requestId. */ - com.google.protobuf.ByteString getRequestIdBytes(); + com.google.protobuf.ByteString + getRequestIdBytes(); } diff --git a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/DeleteGroupRequest.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/DeleteGroupRequest.java similarity index 72% rename from proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/DeleteGroupRequest.java rename to owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/DeleteGroupRequest.java index c047b30..a8d3726 100644 --- a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/DeleteGroupRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/DeleteGroupRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; /** - * - * *
  * Request message for 'DeleteGroup' request.
  * 
* * Protobuf type {@code google.cloud.vmmigration.v1.DeleteGroupRequest} */ -public final class DeleteGroupRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DeleteGroupRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.vmmigration.v1.DeleteGroupRequest) DeleteGroupRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DeleteGroupRequest.newBuilder() to construct. private DeleteGroupRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeleteGroupRequest() { name_ = ""; requestId_ = ""; @@ -44,15 +26,16 @@ private DeleteGroupRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeleteGroupRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private DeleteGroupRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,27 +54,25 @@ private DeleteGroupRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + name_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - requestId_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + requestId_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -99,41 +80,34 @@ private DeleteGroupRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_DeleteGroupRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_DeleteGroupRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_DeleteGroupRequest_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_DeleteGroupRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.DeleteGroupRequest.class, - com.google.cloud.vmmigration.v1.DeleteGroupRequest.Builder.class); + com.google.cloud.vmmigration.v1.DeleteGroupRequest.class, com.google.cloud.vmmigration.v1.DeleteGroupRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The Group name.
    * 
* - * - * 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 @@ -142,31 +116,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; } } /** - * - * *
    * Required. The Group name.
    * 
* - * - * 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 { @@ -177,8 +149,6 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int REQUEST_ID_FIELD_NUMBER = 2; private volatile java.lang.Object requestId_; /** - * - * *
    * Optional. A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -194,7 +164,6 @@ public com.google.protobuf.ByteString getNameBytes() {
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ @java.lang.Override @@ -203,15 +172,14 @@ public java.lang.String getRequestId() { 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(); requestId_ = s; return s; } } /** - * - * *
    * Optional. A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -227,15 +195,16 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; 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); requestId_ = b; return b; } else { @@ -244,7 +213,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -256,7 +224,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_); } @@ -286,16 +255,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.vmmigration.v1.DeleteGroupRequest)) { return super.equals(obj); } - com.google.cloud.vmmigration.v1.DeleteGroupRequest other = - (com.google.cloud.vmmigration.v1.DeleteGroupRequest) obj; + com.google.cloud.vmmigration.v1.DeleteGroupRequest other = (com.google.cloud.vmmigration.v1.DeleteGroupRequest) obj; - if (!getName().equals(other.getName())) return false; - if (!getRequestId().equals(other.getRequestId())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getRequestId() + .equals(other.getRequestId())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -317,126 +287,117 @@ public int hashCode() { } public static com.google.cloud.vmmigration.v1.DeleteGroupRequest 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.vmmigration.v1.DeleteGroupRequest 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.vmmigration.v1.DeleteGroupRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.vmmigration.v1.DeleteGroupRequest 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.vmmigration.v1.DeleteGroupRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.vmmigration.v1.DeleteGroupRequest 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.vmmigration.v1.DeleteGroupRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.vmmigration.v1.DeleteGroupRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.vmmigration.v1.DeleteGroupRequest 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.vmmigration.v1.DeleteGroupRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.vmmigration.v1.DeleteGroupRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.vmmigration.v1.DeleteGroupRequest 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.vmmigration.v1.DeleteGroupRequest 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.vmmigration.v1.DeleteGroupRequest 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.vmmigration.v1.DeleteGroupRequest 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 message for 'DeleteGroup' request.
    * 
* * Protobuf type {@code google.cloud.vmmigration.v1.DeleteGroupRequest} */ - 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.vmmigration.v1.DeleteGroupRequest) com.google.cloud.vmmigration.v1.DeleteGroupRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_DeleteGroupRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_DeleteGroupRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_DeleteGroupRequest_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_DeleteGroupRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.DeleteGroupRequest.class, - com.google.cloud.vmmigration.v1.DeleteGroupRequest.Builder.class); + com.google.cloud.vmmigration.v1.DeleteGroupRequest.class, com.google.cloud.vmmigration.v1.DeleteGroupRequest.Builder.class); } // Construct using com.google.cloud.vmmigration.v1.DeleteGroupRequest.newBuilder() @@ -444,15 +405,16 @@ 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) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -464,9 +426,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_DeleteGroupRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_DeleteGroupRequest_descriptor; } @java.lang.Override @@ -485,8 +447,7 @@ public com.google.cloud.vmmigration.v1.DeleteGroupRequest build() { @java.lang.Override public com.google.cloud.vmmigration.v1.DeleteGroupRequest buildPartial() { - com.google.cloud.vmmigration.v1.DeleteGroupRequest result = - new com.google.cloud.vmmigration.v1.DeleteGroupRequest(this); + com.google.cloud.vmmigration.v1.DeleteGroupRequest result = new com.google.cloud.vmmigration.v1.DeleteGroupRequest(this); result.name_ = name_; result.requestId_ = requestId_; onBuilt(); @@ -497,39 +458,38 @@ public com.google.cloud.vmmigration.v1.DeleteGroupRequest buildPartial() { 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.vmmigration.v1.DeleteGroupRequest) { - return mergeFrom((com.google.cloud.vmmigration.v1.DeleteGroupRequest) other); + return mergeFrom((com.google.cloud.vmmigration.v1.DeleteGroupRequest)other); } else { super.mergeFrom(other); return this; @@ -537,8 +497,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.vmmigration.v1.DeleteGroupRequest other) { - if (other == com.google.cloud.vmmigration.v1.DeleteGroupRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.vmmigration.v1.DeleteGroupRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -566,8 +525,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.vmmigration.v1.DeleteGroupRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.vmmigration.v1.DeleteGroupRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -579,22 +537,18 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The Group name.
      * 
* - * - * 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; @@ -603,23 +557,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The Group name.
      * 
* - * - * 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 { @@ -627,67 +578,54 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The Group name.
      * 
* - * - * 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The Group name.
      * 
* - * - * 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() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The Group name.
      * 
* - * - * 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) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -695,8 +633,6 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object requestId_ = ""; /** - * - * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -712,13 +648,13 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; 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(); requestId_ = s; return s; @@ -727,8 +663,6 @@ public java.lang.String getRequestId() { } } /** - * - * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -744,14 +678,15 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; 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); requestId_ = b; return b; } else { @@ -759,8 +694,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } } /** - * - * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -776,22 +709,20 @@ public com.google.protobuf.ByteString getRequestIdBytes() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId(java.lang.String value) { + public Builder setRequestId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + requestId_ = value; onChanged(); return this; } /** - * - * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -807,18 +738,15 @@ public Builder setRequestId(java.lang.String value) {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearRequestId() { - + requestId_ = getDefaultInstance().getRequestId(); onChanged(); return this; } /** - * - * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -834,23 +762,23 @@ public Builder clearRequestId() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { + public Builder setRequestIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + requestId_ = 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); } @@ -860,12 +788,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.vmmigration.v1.DeleteGroupRequest) } // @@protoc_insertion_point(class_scope:google.cloud.vmmigration.v1.DeleteGroupRequest) private static final com.google.cloud.vmmigration.v1.DeleteGroupRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.vmmigration.v1.DeleteGroupRequest(); } @@ -874,16 +802,16 @@ public static com.google.cloud.vmmigration.v1.DeleteGroupRequest getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteGroupRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteGroupRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteGroupRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteGroupRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -898,4 +826,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.vmmigration.v1.DeleteGroupRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/DeleteGroupRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/DeleteGroupRequestOrBuilder.java similarity index 69% rename from proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/DeleteGroupRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/DeleteGroupRequestOrBuilder.java index 1958a77..01a07b8 100644 --- a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/DeleteGroupRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/DeleteGroupRequestOrBuilder.java @@ -1,60 +1,33 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; -public interface DeleteGroupRequestOrBuilder - extends +public interface DeleteGroupRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.DeleteGroupRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The Group name.
    * 
* - * - * 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 Group name.
    * 
* - * - * 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(); /** - * - * *
    * Optional. A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -70,13 +43,10 @@ public interface DeleteGroupRequestOrBuilder
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ java.lang.String getRequestId(); /** - * - * *
    * Optional. A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -92,8 +62,8 @@ public interface DeleteGroupRequestOrBuilder
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ - com.google.protobuf.ByteString getRequestIdBytes(); + com.google.protobuf.ByteString + getRequestIdBytes(); } diff --git a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/DeleteMigratingVmRequest.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/DeleteMigratingVmRequest.java similarity index 64% rename from proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/DeleteMigratingVmRequest.java rename to owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/DeleteMigratingVmRequest.java index 893a4a4..0810895 100644 --- a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/DeleteMigratingVmRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/DeleteMigratingVmRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; /** - * - * *
  * Request message for 'DeleteMigratingVm' request.
  * 
* * Protobuf type {@code google.cloud.vmmigration.v1.DeleteMigratingVmRequest} */ -public final class DeleteMigratingVmRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DeleteMigratingVmRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.vmmigration.v1.DeleteMigratingVmRequest) DeleteMigratingVmRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DeleteMigratingVmRequest.newBuilder() to construct. private DeleteMigratingVmRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeleteMigratingVmRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeleteMigratingVmRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private DeleteMigratingVmRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private DeleteMigratingVmRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,41 +73,34 @@ private DeleteMigratingVmRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_DeleteMigratingVmRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_DeleteMigratingVmRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_DeleteMigratingVmRequest_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_DeleteMigratingVmRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.DeleteMigratingVmRequest.class, - com.google.cloud.vmmigration.v1.DeleteMigratingVmRequest.Builder.class); + com.google.cloud.vmmigration.v1.DeleteMigratingVmRequest.class, com.google.cloud.vmmigration.v1.DeleteMigratingVmRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The name of the MigratingVm.
    * 
* - * - * 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 @@ -134,31 +109,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; } } /** - * - * *
    * Required. The name of the MigratingVm.
    * 
* - * - * 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 { @@ -167,7 +140,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -179,7 +151,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_); } @@ -203,15 +176,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.vmmigration.v1.DeleteMigratingVmRequest)) { return super.equals(obj); } - com.google.cloud.vmmigration.v1.DeleteMigratingVmRequest other = - (com.google.cloud.vmmigration.v1.DeleteMigratingVmRequest) obj; + com.google.cloud.vmmigration.v1.DeleteMigratingVmRequest other = (com.google.cloud.vmmigration.v1.DeleteMigratingVmRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -231,127 +204,117 @@ public int hashCode() { } public static com.google.cloud.vmmigration.v1.DeleteMigratingVmRequest 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.vmmigration.v1.DeleteMigratingVmRequest 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.vmmigration.v1.DeleteMigratingVmRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.vmmigration.v1.DeleteMigratingVmRequest 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.vmmigration.v1.DeleteMigratingVmRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.vmmigration.v1.DeleteMigratingVmRequest 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.vmmigration.v1.DeleteMigratingVmRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.vmmigration.v1.DeleteMigratingVmRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.vmmigration.v1.DeleteMigratingVmRequest 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.vmmigration.v1.DeleteMigratingVmRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.vmmigration.v1.DeleteMigratingVmRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.vmmigration.v1.DeleteMigratingVmRequest 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.vmmigration.v1.DeleteMigratingVmRequest 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.vmmigration.v1.DeleteMigratingVmRequest 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.vmmigration.v1.DeleteMigratingVmRequest prototype) { + public static Builder newBuilder(com.google.cloud.vmmigration.v1.DeleteMigratingVmRequest 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 message for 'DeleteMigratingVm' request.
    * 
* * Protobuf type {@code google.cloud.vmmigration.v1.DeleteMigratingVmRequest} */ - 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.vmmigration.v1.DeleteMigratingVmRequest) com.google.cloud.vmmigration.v1.DeleteMigratingVmRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_DeleteMigratingVmRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_DeleteMigratingVmRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_DeleteMigratingVmRequest_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_DeleteMigratingVmRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.DeleteMigratingVmRequest.class, - com.google.cloud.vmmigration.v1.DeleteMigratingVmRequest.Builder.class); + com.google.cloud.vmmigration.v1.DeleteMigratingVmRequest.class, com.google.cloud.vmmigration.v1.DeleteMigratingVmRequest.Builder.class); } // Construct using com.google.cloud.vmmigration.v1.DeleteMigratingVmRequest.newBuilder() @@ -359,15 +322,16 @@ 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) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -377,9 +341,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_DeleteMigratingVmRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_DeleteMigratingVmRequest_descriptor; } @java.lang.Override @@ -398,8 +362,7 @@ public com.google.cloud.vmmigration.v1.DeleteMigratingVmRequest build() { @java.lang.Override public com.google.cloud.vmmigration.v1.DeleteMigratingVmRequest buildPartial() { - com.google.cloud.vmmigration.v1.DeleteMigratingVmRequest result = - new com.google.cloud.vmmigration.v1.DeleteMigratingVmRequest(this); + com.google.cloud.vmmigration.v1.DeleteMigratingVmRequest result = new com.google.cloud.vmmigration.v1.DeleteMigratingVmRequest(this); result.name_ = name_; onBuilt(); return result; @@ -409,39 +372,38 @@ public com.google.cloud.vmmigration.v1.DeleteMigratingVmRequest buildPartial() { 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.vmmigration.v1.DeleteMigratingVmRequest) { - return mergeFrom((com.google.cloud.vmmigration.v1.DeleteMigratingVmRequest) other); + return mergeFrom((com.google.cloud.vmmigration.v1.DeleteMigratingVmRequest)other); } else { super.mergeFrom(other); return this; @@ -449,8 +411,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.vmmigration.v1.DeleteMigratingVmRequest other) { - if (other == com.google.cloud.vmmigration.v1.DeleteMigratingVmRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.vmmigration.v1.DeleteMigratingVmRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -474,8 +435,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.vmmigration.v1.DeleteMigratingVmRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.vmmigration.v1.DeleteMigratingVmRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -487,22 +447,18 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the MigratingVm.
      * 
* - * - * 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; @@ -511,23 +467,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the MigratingVm.
      * 
* - * - * 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 { @@ -535,74 +488,61 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the MigratingVm.
      * 
* - * - * 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the MigratingVm.
      * 
* - * - * 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() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The name of the MigratingVm.
      * 
* - * - * 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) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = 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); } @@ -612,12 +552,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.vmmigration.v1.DeleteMigratingVmRequest) } // @@protoc_insertion_point(class_scope:google.cloud.vmmigration.v1.DeleteMigratingVmRequest) private static final com.google.cloud.vmmigration.v1.DeleteMigratingVmRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.vmmigration.v1.DeleteMigratingVmRequest(); } @@ -626,16 +566,16 @@ public static com.google.cloud.vmmigration.v1.DeleteMigratingVmRequest getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteMigratingVmRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteMigratingVmRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteMigratingVmRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteMigratingVmRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -650,4 +590,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.vmmigration.v1.DeleteMigratingVmRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/DeleteMigratingVmRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/DeleteMigratingVmRequestOrBuilder.java new file mode 100644 index 0000000..20e16f6 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/DeleteMigratingVmRequestOrBuilder.java @@ -0,0 +1,29 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/vmmigration/v1/vmmigration.proto + +package com.google.cloud.vmmigration.v1; + +public interface DeleteMigratingVmRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.DeleteMigratingVmRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The name of the MigratingVm.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The name of the MigratingVm.
+   * 
+ * + * 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/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/DeleteSourceRequest.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/DeleteSourceRequest.java similarity index 72% rename from proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/DeleteSourceRequest.java rename to owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/DeleteSourceRequest.java index bdefef8..fbe7b49 100644 --- a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/DeleteSourceRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/DeleteSourceRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; /** - * - * *
  * Request message for 'DeleteSource' request.
  * 
* * Protobuf type {@code google.cloud.vmmigration.v1.DeleteSourceRequest} */ -public final class DeleteSourceRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DeleteSourceRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.vmmigration.v1.DeleteSourceRequest) DeleteSourceRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DeleteSourceRequest.newBuilder() to construct. private DeleteSourceRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeleteSourceRequest() { name_ = ""; requestId_ = ""; @@ -44,15 +26,16 @@ private DeleteSourceRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeleteSourceRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private DeleteSourceRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,27 +54,25 @@ private DeleteSourceRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + name_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - requestId_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + requestId_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -99,41 +80,34 @@ private DeleteSourceRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_DeleteSourceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_DeleteSourceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_DeleteSourceRequest_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_DeleteSourceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.DeleteSourceRequest.class, - com.google.cloud.vmmigration.v1.DeleteSourceRequest.Builder.class); + com.google.cloud.vmmigration.v1.DeleteSourceRequest.class, com.google.cloud.vmmigration.v1.DeleteSourceRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The Source name.
    * 
* - * - * 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 @@ -142,31 +116,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; } } /** - * - * *
    * Required. The Source name.
    * 
* - * - * 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 { @@ -177,8 +149,6 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int REQUEST_ID_FIELD_NUMBER = 2; private volatile java.lang.Object requestId_; /** - * - * *
    * Optional. A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -194,7 +164,6 @@ public com.google.protobuf.ByteString getNameBytes() {
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ @java.lang.Override @@ -203,15 +172,14 @@ public java.lang.String getRequestId() { 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(); requestId_ = s; return s; } } /** - * - * *
    * Optional. A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -227,15 +195,16 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; 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); requestId_ = b; return b; } else { @@ -244,7 +213,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -256,7 +224,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_); } @@ -286,16 +255,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.vmmigration.v1.DeleteSourceRequest)) { return super.equals(obj); } - com.google.cloud.vmmigration.v1.DeleteSourceRequest other = - (com.google.cloud.vmmigration.v1.DeleteSourceRequest) obj; + com.google.cloud.vmmigration.v1.DeleteSourceRequest other = (com.google.cloud.vmmigration.v1.DeleteSourceRequest) obj; - if (!getName().equals(other.getName())) return false; - if (!getRequestId().equals(other.getRequestId())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getRequestId() + .equals(other.getRequestId())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -317,126 +287,117 @@ public int hashCode() { } public static com.google.cloud.vmmigration.v1.DeleteSourceRequest 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.vmmigration.v1.DeleteSourceRequest 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.vmmigration.v1.DeleteSourceRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.vmmigration.v1.DeleteSourceRequest 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.vmmigration.v1.DeleteSourceRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.vmmigration.v1.DeleteSourceRequest 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.vmmigration.v1.DeleteSourceRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.vmmigration.v1.DeleteSourceRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.vmmigration.v1.DeleteSourceRequest 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.vmmigration.v1.DeleteSourceRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.vmmigration.v1.DeleteSourceRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.vmmigration.v1.DeleteSourceRequest 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.vmmigration.v1.DeleteSourceRequest 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.vmmigration.v1.DeleteSourceRequest 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.vmmigration.v1.DeleteSourceRequest 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 message for 'DeleteSource' request.
    * 
* * Protobuf type {@code google.cloud.vmmigration.v1.DeleteSourceRequest} */ - 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.vmmigration.v1.DeleteSourceRequest) com.google.cloud.vmmigration.v1.DeleteSourceRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_DeleteSourceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_DeleteSourceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_DeleteSourceRequest_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_DeleteSourceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.DeleteSourceRequest.class, - com.google.cloud.vmmigration.v1.DeleteSourceRequest.Builder.class); + com.google.cloud.vmmigration.v1.DeleteSourceRequest.class, com.google.cloud.vmmigration.v1.DeleteSourceRequest.Builder.class); } // Construct using com.google.cloud.vmmigration.v1.DeleteSourceRequest.newBuilder() @@ -444,15 +405,16 @@ 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) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -464,9 +426,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_DeleteSourceRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_DeleteSourceRequest_descriptor; } @java.lang.Override @@ -485,8 +447,7 @@ public com.google.cloud.vmmigration.v1.DeleteSourceRequest build() { @java.lang.Override public com.google.cloud.vmmigration.v1.DeleteSourceRequest buildPartial() { - com.google.cloud.vmmigration.v1.DeleteSourceRequest result = - new com.google.cloud.vmmigration.v1.DeleteSourceRequest(this); + com.google.cloud.vmmigration.v1.DeleteSourceRequest result = new com.google.cloud.vmmigration.v1.DeleteSourceRequest(this); result.name_ = name_; result.requestId_ = requestId_; onBuilt(); @@ -497,39 +458,38 @@ public com.google.cloud.vmmigration.v1.DeleteSourceRequest buildPartial() { 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.vmmigration.v1.DeleteSourceRequest) { - return mergeFrom((com.google.cloud.vmmigration.v1.DeleteSourceRequest) other); + return mergeFrom((com.google.cloud.vmmigration.v1.DeleteSourceRequest)other); } else { super.mergeFrom(other); return this; @@ -537,8 +497,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.vmmigration.v1.DeleteSourceRequest other) { - if (other == com.google.cloud.vmmigration.v1.DeleteSourceRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.vmmigration.v1.DeleteSourceRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -566,8 +525,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.vmmigration.v1.DeleteSourceRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.vmmigration.v1.DeleteSourceRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -579,22 +537,18 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The Source name.
      * 
* - * - * 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; @@ -603,23 +557,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The Source name.
      * 
* - * - * 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 { @@ -627,67 +578,54 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The Source name.
      * 
* - * - * 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The Source name.
      * 
* - * - * 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() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The Source name.
      * 
* - * - * 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) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -695,8 +633,6 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object requestId_ = ""; /** - * - * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -712,13 +648,13 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; 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(); requestId_ = s; return s; @@ -727,8 +663,6 @@ public java.lang.String getRequestId() { } } /** - * - * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -744,14 +678,15 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; 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); requestId_ = b; return b; } else { @@ -759,8 +694,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } } /** - * - * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -776,22 +709,20 @@ public com.google.protobuf.ByteString getRequestIdBytes() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId(java.lang.String value) { + public Builder setRequestId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + requestId_ = value; onChanged(); return this; } /** - * - * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -807,18 +738,15 @@ public Builder setRequestId(java.lang.String value) {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearRequestId() { - + requestId_ = getDefaultInstance().getRequestId(); onChanged(); return this; } /** - * - * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -834,23 +762,23 @@ public Builder clearRequestId() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { + public Builder setRequestIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + requestId_ = 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); } @@ -860,12 +788,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.vmmigration.v1.DeleteSourceRequest) } // @@protoc_insertion_point(class_scope:google.cloud.vmmigration.v1.DeleteSourceRequest) private static final com.google.cloud.vmmigration.v1.DeleteSourceRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.vmmigration.v1.DeleteSourceRequest(); } @@ -874,16 +802,16 @@ public static com.google.cloud.vmmigration.v1.DeleteSourceRequest getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteSourceRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteSourceRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteSourceRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteSourceRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -898,4 +826,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.vmmigration.v1.DeleteSourceRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/DeleteSourceRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/DeleteSourceRequestOrBuilder.java similarity index 69% rename from proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/DeleteSourceRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/DeleteSourceRequestOrBuilder.java index 78d218a..4c4de3a 100644 --- a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/DeleteSourceRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/DeleteSourceRequestOrBuilder.java @@ -1,60 +1,33 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; -public interface DeleteSourceRequestOrBuilder - extends +public interface DeleteSourceRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.DeleteSourceRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The Source name.
    * 
* - * - * 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 Source name.
    * 
* - * - * 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(); /** - * - * *
    * Optional. A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -70,13 +43,10 @@ public interface DeleteSourceRequestOrBuilder
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ java.lang.String getRequestId(); /** - * - * *
    * Optional. A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -92,8 +62,8 @@ public interface DeleteSourceRequestOrBuilder
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ - com.google.protobuf.ByteString getRequestIdBytes(); + com.google.protobuf.ByteString + getRequestIdBytes(); } diff --git a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/DeleteTargetProjectRequest.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/DeleteTargetProjectRequest.java similarity index 72% rename from proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/DeleteTargetProjectRequest.java rename to owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/DeleteTargetProjectRequest.java index 65dadb9..be83500 100644 --- a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/DeleteTargetProjectRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/DeleteTargetProjectRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; /** - * - * *
  * Request message for 'DeleteTargetProject' request.
  * 
* * Protobuf type {@code google.cloud.vmmigration.v1.DeleteTargetProjectRequest} */ -public final class DeleteTargetProjectRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DeleteTargetProjectRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.vmmigration.v1.DeleteTargetProjectRequest) DeleteTargetProjectRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DeleteTargetProjectRequest.newBuilder() to construct. private DeleteTargetProjectRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeleteTargetProjectRequest() { name_ = ""; requestId_ = ""; @@ -44,15 +26,16 @@ private DeleteTargetProjectRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeleteTargetProjectRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private DeleteTargetProjectRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,27 +54,25 @@ private DeleteTargetProjectRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + name_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - requestId_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + requestId_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -99,41 +80,34 @@ private DeleteTargetProjectRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_DeleteTargetProjectRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_DeleteTargetProjectRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_DeleteTargetProjectRequest_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_DeleteTargetProjectRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.DeleteTargetProjectRequest.class, - com.google.cloud.vmmigration.v1.DeleteTargetProjectRequest.Builder.class); + com.google.cloud.vmmigration.v1.DeleteTargetProjectRequest.class, com.google.cloud.vmmigration.v1.DeleteTargetProjectRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The TargetProject name.
    * 
* - * - * 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 @@ -142,31 +116,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; } } /** - * - * *
    * Required. The TargetProject name.
    * 
* - * - * 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 { @@ -177,8 +149,6 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int REQUEST_ID_FIELD_NUMBER = 2; private volatile java.lang.Object requestId_; /** - * - * *
    * Optional. A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -194,7 +164,6 @@ public com.google.protobuf.ByteString getNameBytes() {
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ @java.lang.Override @@ -203,15 +172,14 @@ public java.lang.String getRequestId() { 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(); requestId_ = s; return s; } } /** - * - * *
    * Optional. A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -227,15 +195,16 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; 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); requestId_ = b; return b; } else { @@ -244,7 +213,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -256,7 +224,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_); } @@ -286,16 +255,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.vmmigration.v1.DeleteTargetProjectRequest)) { return super.equals(obj); } - com.google.cloud.vmmigration.v1.DeleteTargetProjectRequest other = - (com.google.cloud.vmmigration.v1.DeleteTargetProjectRequest) obj; + com.google.cloud.vmmigration.v1.DeleteTargetProjectRequest other = (com.google.cloud.vmmigration.v1.DeleteTargetProjectRequest) obj; - if (!getName().equals(other.getName())) return false; - if (!getRequestId().equals(other.getRequestId())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getRequestId() + .equals(other.getRequestId())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -317,127 +287,117 @@ public int hashCode() { } public static com.google.cloud.vmmigration.v1.DeleteTargetProjectRequest 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.vmmigration.v1.DeleteTargetProjectRequest 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.vmmigration.v1.DeleteTargetProjectRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.vmmigration.v1.DeleteTargetProjectRequest 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.vmmigration.v1.DeleteTargetProjectRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.vmmigration.v1.DeleteTargetProjectRequest 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.vmmigration.v1.DeleteTargetProjectRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.vmmigration.v1.DeleteTargetProjectRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.vmmigration.v1.DeleteTargetProjectRequest 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.vmmigration.v1.DeleteTargetProjectRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.vmmigration.v1.DeleteTargetProjectRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.vmmigration.v1.DeleteTargetProjectRequest 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.vmmigration.v1.DeleteTargetProjectRequest 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.vmmigration.v1.DeleteTargetProjectRequest 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.vmmigration.v1.DeleteTargetProjectRequest prototype) { + public static Builder newBuilder(com.google.cloud.vmmigration.v1.DeleteTargetProjectRequest 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 message for 'DeleteTargetProject' request.
    * 
* * Protobuf type {@code google.cloud.vmmigration.v1.DeleteTargetProjectRequest} */ - 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.vmmigration.v1.DeleteTargetProjectRequest) com.google.cloud.vmmigration.v1.DeleteTargetProjectRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_DeleteTargetProjectRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_DeleteTargetProjectRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_DeleteTargetProjectRequest_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_DeleteTargetProjectRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.DeleteTargetProjectRequest.class, - com.google.cloud.vmmigration.v1.DeleteTargetProjectRequest.Builder.class); + com.google.cloud.vmmigration.v1.DeleteTargetProjectRequest.class, com.google.cloud.vmmigration.v1.DeleteTargetProjectRequest.Builder.class); } // Construct using com.google.cloud.vmmigration.v1.DeleteTargetProjectRequest.newBuilder() @@ -445,15 +405,16 @@ 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) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -465,9 +426,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_DeleteTargetProjectRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_DeleteTargetProjectRequest_descriptor; } @java.lang.Override @@ -486,8 +447,7 @@ public com.google.cloud.vmmigration.v1.DeleteTargetProjectRequest build() { @java.lang.Override public com.google.cloud.vmmigration.v1.DeleteTargetProjectRequest buildPartial() { - com.google.cloud.vmmigration.v1.DeleteTargetProjectRequest result = - new com.google.cloud.vmmigration.v1.DeleteTargetProjectRequest(this); + com.google.cloud.vmmigration.v1.DeleteTargetProjectRequest result = new com.google.cloud.vmmigration.v1.DeleteTargetProjectRequest(this); result.name_ = name_; result.requestId_ = requestId_; onBuilt(); @@ -498,39 +458,38 @@ public com.google.cloud.vmmigration.v1.DeleteTargetProjectRequest buildPartial() 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.vmmigration.v1.DeleteTargetProjectRequest) { - return mergeFrom((com.google.cloud.vmmigration.v1.DeleteTargetProjectRequest) other); + return mergeFrom((com.google.cloud.vmmigration.v1.DeleteTargetProjectRequest)other); } else { super.mergeFrom(other); return this; @@ -538,8 +497,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.vmmigration.v1.DeleteTargetProjectRequest other) { - if (other == com.google.cloud.vmmigration.v1.DeleteTargetProjectRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.vmmigration.v1.DeleteTargetProjectRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -567,8 +525,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.vmmigration.v1.DeleteTargetProjectRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.vmmigration.v1.DeleteTargetProjectRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -580,22 +537,18 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The TargetProject name.
      * 
* - * - * 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; @@ -604,23 +557,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The TargetProject name.
      * 
* - * - * 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 { @@ -628,67 +578,54 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The TargetProject name.
      * 
* - * - * 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The TargetProject name.
      * 
* - * - * 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() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The TargetProject name.
      * 
* - * - * 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) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -696,8 +633,6 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object requestId_ = ""; /** - * - * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -713,13 +648,13 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; 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(); requestId_ = s; return s; @@ -728,8 +663,6 @@ public java.lang.String getRequestId() { } } /** - * - * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -745,14 +678,15 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; 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); requestId_ = b; return b; } else { @@ -760,8 +694,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } } /** - * - * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -777,22 +709,20 @@ public com.google.protobuf.ByteString getRequestIdBytes() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId(java.lang.String value) { + public Builder setRequestId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + requestId_ = value; onChanged(); return this; } /** - * - * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -808,18 +738,15 @@ public Builder setRequestId(java.lang.String value) {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearRequestId() { - + requestId_ = getDefaultInstance().getRequestId(); onChanged(); return this; } /** - * - * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -835,23 +762,23 @@ public Builder clearRequestId() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { + public Builder setRequestIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + requestId_ = 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); } @@ -861,12 +788,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.vmmigration.v1.DeleteTargetProjectRequest) } // @@protoc_insertion_point(class_scope:google.cloud.vmmigration.v1.DeleteTargetProjectRequest) private static final com.google.cloud.vmmigration.v1.DeleteTargetProjectRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.vmmigration.v1.DeleteTargetProjectRequest(); } @@ -875,16 +802,16 @@ public static com.google.cloud.vmmigration.v1.DeleteTargetProjectRequest getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteTargetProjectRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteTargetProjectRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteTargetProjectRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteTargetProjectRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -899,4 +826,6 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.vmmigration.v1.DeleteTargetProjectRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/DeleteTargetProjectRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/DeleteTargetProjectRequestOrBuilder.java similarity index 69% rename from proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/DeleteTargetProjectRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/DeleteTargetProjectRequestOrBuilder.java index 18a28ad..801f62f 100644 --- a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/DeleteTargetProjectRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/DeleteTargetProjectRequestOrBuilder.java @@ -1,60 +1,33 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; -public interface DeleteTargetProjectRequestOrBuilder - extends +public interface DeleteTargetProjectRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.DeleteTargetProjectRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The TargetProject name.
    * 
* - * - * 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 TargetProject name.
    * 
* - * - * 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(); /** - * - * *
    * Optional. A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -70,13 +43,10 @@ public interface DeleteTargetProjectRequestOrBuilder
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ java.lang.String getRequestId(); /** - * - * *
    * Optional. A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -92,8 +62,8 @@ public interface DeleteTargetProjectRequestOrBuilder
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ - com.google.protobuf.ByteString getRequestIdBytes(); + com.google.protobuf.ByteString + getRequestIdBytes(); } diff --git a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/DeleteUtilizationReportRequest.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/DeleteUtilizationReportRequest.java similarity index 70% rename from proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/DeleteUtilizationReportRequest.java rename to owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/DeleteUtilizationReportRequest.java index 650f894..37a59e7 100644 --- a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/DeleteUtilizationReportRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/DeleteUtilizationReportRequest.java @@ -1,43 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; /** - * - * *
  * Request message for 'DeleteUtilizationReport' request.
  * 
* * Protobuf type {@code google.cloud.vmmigration.v1.DeleteUtilizationReportRequest} */ -public final class DeleteUtilizationReportRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DeleteUtilizationReportRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.vmmigration.v1.DeleteUtilizationReportRequest) DeleteUtilizationReportRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DeleteUtilizationReportRequest.newBuilder() to construct. - private DeleteUtilizationReportRequest( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private DeleteUtilizationReportRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeleteUtilizationReportRequest() { name_ = ""; requestId_ = ""; @@ -45,15 +26,16 @@ private DeleteUtilizationReportRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeleteUtilizationReportRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private DeleteUtilizationReportRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,27 +54,25 @@ private DeleteUtilizationReportRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + name_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - requestId_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + requestId_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -100,41 +80,34 @@ private DeleteUtilizationReportRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_DeleteUtilizationReportRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_DeleteUtilizationReportRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_DeleteUtilizationReportRequest_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_DeleteUtilizationReportRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.DeleteUtilizationReportRequest.class, - com.google.cloud.vmmigration.v1.DeleteUtilizationReportRequest.Builder.class); + com.google.cloud.vmmigration.v1.DeleteUtilizationReportRequest.class, com.google.cloud.vmmigration.v1.DeleteUtilizationReportRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The Utilization Report name.
    * 
* - * - * 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 @@ -143,31 +116,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; } } /** - * - * *
    * Required. The Utilization Report name.
    * 
* - * - * 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 { @@ -178,8 +149,6 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int REQUEST_ID_FIELD_NUMBER = 2; private volatile java.lang.Object requestId_; /** - * - * *
    * Optional. A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -195,7 +164,6 @@ public com.google.protobuf.ByteString getNameBytes() {
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ @java.lang.Override @@ -204,15 +172,14 @@ public java.lang.String getRequestId() { 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(); requestId_ = s; return s; } } /** - * - * *
    * Optional. A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -228,15 +195,16 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; 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); requestId_ = b; return b; } else { @@ -245,7 +213,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -257,7 +224,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_); } @@ -287,16 +255,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.vmmigration.v1.DeleteUtilizationReportRequest)) { return super.equals(obj); } - com.google.cloud.vmmigration.v1.DeleteUtilizationReportRequest other = - (com.google.cloud.vmmigration.v1.DeleteUtilizationReportRequest) obj; + com.google.cloud.vmmigration.v1.DeleteUtilizationReportRequest other = (com.google.cloud.vmmigration.v1.DeleteUtilizationReportRequest) obj; - if (!getName().equals(other.getName())) return false; - if (!getRequestId().equals(other.getRequestId())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getRequestId() + .equals(other.getRequestId())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -318,127 +287,117 @@ public int hashCode() { } public static com.google.cloud.vmmigration.v1.DeleteUtilizationReportRequest 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.vmmigration.v1.DeleteUtilizationReportRequest 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.vmmigration.v1.DeleteUtilizationReportRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.vmmigration.v1.DeleteUtilizationReportRequest 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.vmmigration.v1.DeleteUtilizationReportRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.vmmigration.v1.DeleteUtilizationReportRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.vmmigration.v1.DeleteUtilizationReportRequest 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.vmmigration.v1.DeleteUtilizationReportRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.vmmigration.v1.DeleteUtilizationReportRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.vmmigration.v1.DeleteUtilizationReportRequest 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.vmmigration.v1.DeleteUtilizationReportRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.vmmigration.v1.DeleteUtilizationReportRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.vmmigration.v1.DeleteUtilizationReportRequest 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.vmmigration.v1.DeleteUtilizationReportRequest 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.vmmigration.v1.DeleteUtilizationReportRequest 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.vmmigration.v1.DeleteUtilizationReportRequest prototype) { + public static Builder newBuilder(com.google.cloud.vmmigration.v1.DeleteUtilizationReportRequest 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 message for 'DeleteUtilizationReport' request.
    * 
* * Protobuf type {@code google.cloud.vmmigration.v1.DeleteUtilizationReportRequest} */ - 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.vmmigration.v1.DeleteUtilizationReportRequest) com.google.cloud.vmmigration.v1.DeleteUtilizationReportRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_DeleteUtilizationReportRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_DeleteUtilizationReportRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_DeleteUtilizationReportRequest_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_DeleteUtilizationReportRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.DeleteUtilizationReportRequest.class, - com.google.cloud.vmmigration.v1.DeleteUtilizationReportRequest.Builder.class); + com.google.cloud.vmmigration.v1.DeleteUtilizationReportRequest.class, com.google.cloud.vmmigration.v1.DeleteUtilizationReportRequest.Builder.class); } // Construct using com.google.cloud.vmmigration.v1.DeleteUtilizationReportRequest.newBuilder() @@ -446,15 +405,16 @@ 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) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -466,14 +426,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_DeleteUtilizationReportRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_DeleteUtilizationReportRequest_descriptor; } @java.lang.Override - public com.google.cloud.vmmigration.v1.DeleteUtilizationReportRequest - getDefaultInstanceForType() { + public com.google.cloud.vmmigration.v1.DeleteUtilizationReportRequest getDefaultInstanceForType() { return com.google.cloud.vmmigration.v1.DeleteUtilizationReportRequest.getDefaultInstance(); } @@ -488,8 +447,7 @@ public com.google.cloud.vmmigration.v1.DeleteUtilizationReportRequest build() { @java.lang.Override public com.google.cloud.vmmigration.v1.DeleteUtilizationReportRequest buildPartial() { - com.google.cloud.vmmigration.v1.DeleteUtilizationReportRequest result = - new com.google.cloud.vmmigration.v1.DeleteUtilizationReportRequest(this); + com.google.cloud.vmmigration.v1.DeleteUtilizationReportRequest result = new com.google.cloud.vmmigration.v1.DeleteUtilizationReportRequest(this); result.name_ = name_; result.requestId_ = requestId_; onBuilt(); @@ -500,39 +458,38 @@ public com.google.cloud.vmmigration.v1.DeleteUtilizationReportRequest buildParti 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.vmmigration.v1.DeleteUtilizationReportRequest) { - return mergeFrom((com.google.cloud.vmmigration.v1.DeleteUtilizationReportRequest) other); + return mergeFrom((com.google.cloud.vmmigration.v1.DeleteUtilizationReportRequest)other); } else { super.mergeFrom(other); return this; @@ -540,9 +497,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.vmmigration.v1.DeleteUtilizationReportRequest other) { - if (other - == com.google.cloud.vmmigration.v1.DeleteUtilizationReportRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.vmmigration.v1.DeleteUtilizationReportRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -570,9 +525,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.vmmigration.v1.DeleteUtilizationReportRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.vmmigration.v1.DeleteUtilizationReportRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -584,22 +537,18 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The Utilization Report name.
      * 
* - * - * 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; @@ -608,23 +557,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The Utilization Report name.
      * 
* - * - * 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 { @@ -632,67 +578,54 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The Utilization Report name.
      * 
* - * - * 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The Utilization Report name.
      * 
* - * - * 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() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The Utilization Report name.
      * 
* - * - * 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) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -700,8 +633,6 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object requestId_ = ""; /** - * - * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -717,13 +648,13 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; 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(); requestId_ = s; return s; @@ -732,8 +663,6 @@ public java.lang.String getRequestId() { } } /** - * - * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -749,14 +678,15 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; 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); requestId_ = b; return b; } else { @@ -764,8 +694,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } } /** - * - * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -781,22 +709,20 @@ public com.google.protobuf.ByteString getRequestIdBytes() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId(java.lang.String value) { + public Builder setRequestId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + requestId_ = value; onChanged(); return this; } /** - * - * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -812,18 +738,15 @@ public Builder setRequestId(java.lang.String value) {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearRequestId() { - + requestId_ = getDefaultInstance().getRequestId(); onChanged(); return this; } /** - * - * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -839,23 +762,23 @@ public Builder clearRequestId() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { + public Builder setRequestIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + requestId_ = 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); } @@ -865,32 +788,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.vmmigration.v1.DeleteUtilizationReportRequest) } // @@protoc_insertion_point(class_scope:google.cloud.vmmigration.v1.DeleteUtilizationReportRequest) - private static final com.google.cloud.vmmigration.v1.DeleteUtilizationReportRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.vmmigration.v1.DeleteUtilizationReportRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.vmmigration.v1.DeleteUtilizationReportRequest(); } - public static com.google.cloud.vmmigration.v1.DeleteUtilizationReportRequest - getDefaultInstance() { + public static com.google.cloud.vmmigration.v1.DeleteUtilizationReportRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteUtilizationReportRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteUtilizationReportRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteUtilizationReportRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteUtilizationReportRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -902,8 +823,9 @@ public com.google.protobuf.Parser getParserForTy } @java.lang.Override - public com.google.cloud.vmmigration.v1.DeleteUtilizationReportRequest - getDefaultInstanceForType() { + public com.google.cloud.vmmigration.v1.DeleteUtilizationReportRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/DeleteUtilizationReportRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/DeleteUtilizationReportRequestOrBuilder.java similarity index 69% rename from proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/DeleteUtilizationReportRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/DeleteUtilizationReportRequestOrBuilder.java index f910795..025c923 100644 --- a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/DeleteUtilizationReportRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/DeleteUtilizationReportRequestOrBuilder.java @@ -1,60 +1,33 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; -public interface DeleteUtilizationReportRequestOrBuilder - extends +public interface DeleteUtilizationReportRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.DeleteUtilizationReportRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The Utilization Report name.
    * 
* - * - * 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 Utilization Report name.
    * 
* - * - * 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(); /** - * - * *
    * Optional. A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -70,13 +43,10 @@ public interface DeleteUtilizationReportRequestOrBuilder
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ java.lang.String getRequestId(); /** - * - * *
    * Optional. A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -92,8 +62,8 @@ public interface DeleteUtilizationReportRequestOrBuilder
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ - com.google.protobuf.ByteString getRequestIdBytes(); + com.google.protobuf.ByteString + getRequestIdBytes(); } diff --git a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/FetchInventoryRequest.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/FetchInventoryRequest.java similarity index 66% rename from proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/FetchInventoryRequest.java rename to owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/FetchInventoryRequest.java index 43da348..3eac551 100644 --- a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/FetchInventoryRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/FetchInventoryRequest.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; /** - * - * *
  * Request message for
  * [fetchInventory][google.cloud.vmmigration.v1.VmMigration.FetchInventory].
@@ -28,31 +11,31 @@
  *
  * Protobuf type {@code google.cloud.vmmigration.v1.FetchInventoryRequest}
  */
-public final class FetchInventoryRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class FetchInventoryRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.vmmigration.v1.FetchInventoryRequest)
     FetchInventoryRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use FetchInventoryRequest.newBuilder() to construct.
   private FetchInventoryRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private FetchInventoryRequest() {
     source_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new FetchInventoryRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private FetchInventoryRequest(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -71,25 +54,24 @@ private FetchInventoryRequest(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              source_ = s;
-              break;
-            }
-          case 16:
-            {
-              forceRefresh_ = input.readBool();
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            source_ = s;
+            break;
+          }
+          case 16: {
+
+            forceRefresh_ = input.readBool();
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -97,41 +79,34 @@ private FetchInventoryRequest(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.vmmigration.v1.VmMigrationProto
-        .internal_static_google_cloud_vmmigration_v1_FetchInventoryRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_FetchInventoryRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.vmmigration.v1.VmMigrationProto
-        .internal_static_google_cloud_vmmigration_v1_FetchInventoryRequest_fieldAccessorTable
+    return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_FetchInventoryRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.vmmigration.v1.FetchInventoryRequest.class,
-            com.google.cloud.vmmigration.v1.FetchInventoryRequest.Builder.class);
+            com.google.cloud.vmmigration.v1.FetchInventoryRequest.class, com.google.cloud.vmmigration.v1.FetchInventoryRequest.Builder.class);
   }
 
   public static final int SOURCE_FIELD_NUMBER = 1;
   private volatile java.lang.Object source_;
   /**
-   *
-   *
    * 
    * Required. The name of the Source.
    * 
* - * - * string source = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string source = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The source. */ @java.lang.Override @@ -140,31 +115,29 @@ public java.lang.String getSource() { 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(); source_ = s; return s; } } /** - * - * *
    * Required. The name of the Source.
    * 
* - * - * string source = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string source = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for source. */ @java.lang.Override - public com.google.protobuf.ByteString getSourceBytes() { + public com.google.protobuf.ByteString + getSourceBytes() { java.lang.Object ref = source_; 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); source_ = b; return b; } else { @@ -175,15 +148,12 @@ public com.google.protobuf.ByteString getSourceBytes() { public static final int FORCE_REFRESH_FIELD_NUMBER = 2; private boolean forceRefresh_; /** - * - * *
    * If this flag is set to true, the source will be queried instead of using
    * cached results. Using this flag will make the call slower.
    * 
* * bool force_refresh = 2; - * * @return The forceRefresh. */ @java.lang.Override @@ -192,7 +162,6 @@ public boolean getForceRefresh() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -204,7 +173,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(source_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, source_); } @@ -224,7 +194,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, source_); } if (forceRefresh_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, forceRefresh_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(2, forceRefresh_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -234,16 +205,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.vmmigration.v1.FetchInventoryRequest)) { return super.equals(obj); } - com.google.cloud.vmmigration.v1.FetchInventoryRequest other = - (com.google.cloud.vmmigration.v1.FetchInventoryRequest) obj; + com.google.cloud.vmmigration.v1.FetchInventoryRequest other = (com.google.cloud.vmmigration.v1.FetchInventoryRequest) obj; - if (!getSource().equals(other.getSource())) return false; - if (getForceRefresh() != other.getForceRefresh()) return false; + if (!getSource() + .equals(other.getSource())) return false; + if (getForceRefresh() + != other.getForceRefresh()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -258,111 +230,104 @@ public int hashCode() { hash = (37 * hash) + SOURCE_FIELD_NUMBER; hash = (53 * hash) + getSource().hashCode(); hash = (37 * hash) + FORCE_REFRESH_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getForceRefresh()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getForceRefresh()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.vmmigration.v1.FetchInventoryRequest 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.vmmigration.v1.FetchInventoryRequest 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.vmmigration.v1.FetchInventoryRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.vmmigration.v1.FetchInventoryRequest 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.vmmigration.v1.FetchInventoryRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.vmmigration.v1.FetchInventoryRequest 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.vmmigration.v1.FetchInventoryRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.vmmigration.v1.FetchInventoryRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.vmmigration.v1.FetchInventoryRequest 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.vmmigration.v1.FetchInventoryRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.vmmigration.v1.FetchInventoryRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.vmmigration.v1.FetchInventoryRequest 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.vmmigration.v1.FetchInventoryRequest 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.vmmigration.v1.FetchInventoryRequest 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.vmmigration.v1.FetchInventoryRequest prototype) { + public static Builder newBuilder(com.google.cloud.vmmigration.v1.FetchInventoryRequest 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 message for
    * [fetchInventory][google.cloud.vmmigration.v1.VmMigration.FetchInventory].
@@ -370,23 +335,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.vmmigration.v1.FetchInventoryRequest}
    */
-  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.vmmigration.v1.FetchInventoryRequest)
       com.google.cloud.vmmigration.v1.FetchInventoryRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.vmmigration.v1.VmMigrationProto
-          .internal_static_google_cloud_vmmigration_v1_FetchInventoryRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_FetchInventoryRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.vmmigration.v1.VmMigrationProto
-          .internal_static_google_cloud_vmmigration_v1_FetchInventoryRequest_fieldAccessorTable
+      return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_FetchInventoryRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.vmmigration.v1.FetchInventoryRequest.class,
-              com.google.cloud.vmmigration.v1.FetchInventoryRequest.Builder.class);
+              com.google.cloud.vmmigration.v1.FetchInventoryRequest.class, com.google.cloud.vmmigration.v1.FetchInventoryRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.vmmigration.v1.FetchInventoryRequest.newBuilder()
@@ -394,15 +357,16 @@ 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) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -414,9 +378,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.vmmigration.v1.VmMigrationProto
-          .internal_static_google_cloud_vmmigration_v1_FetchInventoryRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_FetchInventoryRequest_descriptor;
     }
 
     @java.lang.Override
@@ -435,8 +399,7 @@ public com.google.cloud.vmmigration.v1.FetchInventoryRequest build() {
 
     @java.lang.Override
     public com.google.cloud.vmmigration.v1.FetchInventoryRequest buildPartial() {
-      com.google.cloud.vmmigration.v1.FetchInventoryRequest result =
-          new com.google.cloud.vmmigration.v1.FetchInventoryRequest(this);
+      com.google.cloud.vmmigration.v1.FetchInventoryRequest result = new com.google.cloud.vmmigration.v1.FetchInventoryRequest(this);
       result.source_ = source_;
       result.forceRefresh_ = forceRefresh_;
       onBuilt();
@@ -447,39 +410,38 @@ public com.google.cloud.vmmigration.v1.FetchInventoryRequest buildPartial() {
     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.vmmigration.v1.FetchInventoryRequest) {
-        return mergeFrom((com.google.cloud.vmmigration.v1.FetchInventoryRequest) other);
+        return mergeFrom((com.google.cloud.vmmigration.v1.FetchInventoryRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -487,8 +449,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.vmmigration.v1.FetchInventoryRequest other) {
-      if (other == com.google.cloud.vmmigration.v1.FetchInventoryRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.vmmigration.v1.FetchInventoryRequest.getDefaultInstance()) return this;
       if (!other.getSource().isEmpty()) {
         source_ = other.source_;
         onChanged();
@@ -515,8 +476,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.cloud.vmmigration.v1.FetchInventoryRequest) e.getUnfinishedMessage();
+        parsedMessage = (com.google.cloud.vmmigration.v1.FetchInventoryRequest) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -528,22 +488,18 @@ public Builder mergeFrom(
 
     private java.lang.Object source_ = "";
     /**
-     *
-     *
      * 
      * Required. The name of the Source.
      * 
* - * - * string source = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string source = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The source. */ public java.lang.String getSource() { java.lang.Object ref = source_; 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(); source_ = s; return s; @@ -552,23 +508,20 @@ public java.lang.String getSource() { } } /** - * - * *
      * Required. The name of the Source.
      * 
* - * - * string source = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string source = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for source. */ - public com.google.protobuf.ByteString getSourceBytes() { + public com.google.protobuf.ByteString + getSourceBytes() { java.lang.Object ref = source_; 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); source_ = b; return b; } else { @@ -576,83 +529,67 @@ public com.google.protobuf.ByteString getSourceBytes() { } } /** - * - * *
      * Required. The name of the Source.
      * 
* - * - * string source = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string source = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The source to set. * @return This builder for chaining. */ - public Builder setSource(java.lang.String value) { + public Builder setSource( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + source_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the Source.
      * 
* - * - * string source = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string source = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearSource() { - + source_ = getDefaultInstance().getSource(); onChanged(); return this; } /** - * - * *
      * Required. The name of the Source.
      * 
* - * - * string source = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string source = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for source to set. * @return This builder for chaining. */ - public Builder setSourceBytes(com.google.protobuf.ByteString value) { + public Builder setSourceBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + source_ = value; onChanged(); return this; } - private boolean forceRefresh_; + private boolean forceRefresh_ ; /** - * - * *
      * If this flag is set to true, the source will be queried instead of using
      * cached results. Using this flag will make the call slower.
      * 
* * bool force_refresh = 2; - * * @return The forceRefresh. */ @java.lang.Override @@ -660,45 +597,39 @@ public boolean getForceRefresh() { return forceRefresh_; } /** - * - * *
      * If this flag is set to true, the source will be queried instead of using
      * cached results. Using this flag will make the call slower.
      * 
* * bool force_refresh = 2; - * * @param value The forceRefresh to set. * @return This builder for chaining. */ public Builder setForceRefresh(boolean value) { - + forceRefresh_ = value; onChanged(); return this; } /** - * - * *
      * If this flag is set to true, the source will be queried instead of using
      * cached results. Using this flag will make the call slower.
      * 
* * bool force_refresh = 2; - * * @return This builder for chaining. */ public Builder clearForceRefresh() { - + forceRefresh_ = false; 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); } @@ -708,12 +639,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.vmmigration.v1.FetchInventoryRequest) } // @@protoc_insertion_point(class_scope:google.cloud.vmmigration.v1.FetchInventoryRequest) private static final com.google.cloud.vmmigration.v1.FetchInventoryRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.vmmigration.v1.FetchInventoryRequest(); } @@ -722,16 +653,16 @@ public static com.google.cloud.vmmigration.v1.FetchInventoryRequest getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public FetchInventoryRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new FetchInventoryRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public FetchInventoryRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new FetchInventoryRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -746,4 +677,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.vmmigration.v1.FetchInventoryRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/FetchInventoryRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/FetchInventoryRequestOrBuilder.java new file mode 100644 index 0000000..ef176e9 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/FetchInventoryRequestOrBuilder.java @@ -0,0 +1,40 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/vmmigration/v1/vmmigration.proto + +package com.google.cloud.vmmigration.v1; + +public interface FetchInventoryRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.FetchInventoryRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The name of the Source.
+   * 
+ * + * string source = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The source. + */ + java.lang.String getSource(); + /** + *
+   * Required. The name of the Source.
+   * 
+ * + * string source = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for source. + */ + com.google.protobuf.ByteString + getSourceBytes(); + + /** + *
+   * If this flag is set to true, the source will be queried instead of using
+   * cached results. Using this flag will make the call slower.
+   * 
+ * + * bool force_refresh = 2; + * @return The forceRefresh. + */ + boolean getForceRefresh(); +} diff --git a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/FetchInventoryResponse.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/FetchInventoryResponse.java similarity index 60% rename from proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/FetchInventoryResponse.java rename to owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/FetchInventoryResponse.java index eaa6a32..2ef983a 100644 --- a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/FetchInventoryResponse.java +++ b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/FetchInventoryResponse.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; /** - * - * *
  * Response message for
  * [fetchInventory][google.cloud.vmmigration.v1.VmMigration.FetchInventory].
@@ -28,29 +11,30 @@
  *
  * Protobuf type {@code google.cloud.vmmigration.v1.FetchInventoryResponse}
  */
-public final class FetchInventoryResponse extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class FetchInventoryResponse extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.vmmigration.v1.FetchInventoryResponse)
     FetchInventoryResponseOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use FetchInventoryResponse.newBuilder() to construct.
   private FetchInventoryResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private FetchInventoryResponse() {}
+  private FetchInventoryResponse() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new FetchInventoryResponse();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private FetchInventoryResponse(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -69,45 +53,40 @@ private FetchInventoryResponse(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              com.google.cloud.vmmigration.v1.VmwareVmsDetails.Builder subBuilder = null;
-              if (sourceVmsCase_ == 1) {
-                subBuilder =
-                    ((com.google.cloud.vmmigration.v1.VmwareVmsDetails) sourceVms_).toBuilder();
-              }
-              sourceVms_ =
-                  input.readMessage(
-                      com.google.cloud.vmmigration.v1.VmwareVmsDetails.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom((com.google.cloud.vmmigration.v1.VmwareVmsDetails) sourceVms_);
-                sourceVms_ = subBuilder.buildPartial();
-              }
-              sourceVmsCase_ = 1;
-              break;
+          case 10: {
+            com.google.cloud.vmmigration.v1.VmwareVmsDetails.Builder subBuilder = null;
+            if (sourceVmsCase_ == 1) {
+              subBuilder = ((com.google.cloud.vmmigration.v1.VmwareVmsDetails) sourceVms_).toBuilder();
             }
-          case 18:
-            {
-              com.google.protobuf.Timestamp.Builder subBuilder = null;
-              if (updateTime_ != null) {
-                subBuilder = updateTime_.toBuilder();
-              }
-              updateTime_ =
-                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(updateTime_);
-                updateTime_ = subBuilder.buildPartial();
-              }
-
-              break;
+            sourceVms_ =
+                input.readMessage(com.google.cloud.vmmigration.v1.VmwareVmsDetails.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom((com.google.cloud.vmmigration.v1.VmwareVmsDetails) sourceVms_);
+              sourceVms_ = subBuilder.buildPartial();
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            sourceVmsCase_ = 1;
+            break;
+          }
+          case 18: {
+            com.google.protobuf.Timestamp.Builder subBuilder = null;
+            if (updateTime_ != null) {
+              subBuilder = updateTime_.toBuilder();
             }
+            updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(updateTime_);
+              updateTime_ = subBuilder.buildPartial();
+            }
+
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
+            }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -115,39 +94,34 @@ private FetchInventoryResponse(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.vmmigration.v1.VmMigrationProto
-        .internal_static_google_cloud_vmmigration_v1_FetchInventoryResponse_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_FetchInventoryResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.vmmigration.v1.VmMigrationProto
-        .internal_static_google_cloud_vmmigration_v1_FetchInventoryResponse_fieldAccessorTable
+    return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_FetchInventoryResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.vmmigration.v1.FetchInventoryResponse.class,
-            com.google.cloud.vmmigration.v1.FetchInventoryResponse.Builder.class);
+            com.google.cloud.vmmigration.v1.FetchInventoryResponse.class, com.google.cloud.vmmigration.v1.FetchInventoryResponse.Builder.class);
   }
 
   private int sourceVmsCase_ = 0;
   private java.lang.Object sourceVms_;
-
   public enum SourceVmsCase
-      implements
-          com.google.protobuf.Internal.EnumLite,
+      implements com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     VMWARE_VMS(1),
     SOURCEVMS_NOT_SET(0);
     private final int value;
-
     private SourceVmsCase(int value) {
       this.value = value;
     }
@@ -163,36 +137,29 @@ public static SourceVmsCase valueOf(int value) {
 
     public static SourceVmsCase forNumber(int value) {
       switch (value) {
-        case 1:
-          return VMWARE_VMS;
-        case 0:
-          return SOURCEVMS_NOT_SET;
-        default:
-          return null;
+        case 1: return VMWARE_VMS;
+        case 0: return SOURCEVMS_NOT_SET;
+        default: return null;
       }
     }
-
     public int getNumber() {
       return this.value;
     }
   };
 
-  public SourceVmsCase getSourceVmsCase() {
-    return SourceVmsCase.forNumber(sourceVmsCase_);
+  public SourceVmsCase
+  getSourceVmsCase() {
+    return SourceVmsCase.forNumber(
+        sourceVmsCase_);
   }
 
   public static final int VMWARE_VMS_FIELD_NUMBER = 1;
   /**
-   *
-   *
    * 
-   * Output only. The description of the VMs in a Source of type Vmware.
+   * The description of the VMs in a Source of type Vmware.
    * 
* - * - * .google.cloud.vmmigration.v1.VmwareVmsDetails vmware_vms = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.vmmigration.v1.VmwareVmsDetails vmware_vms = 1; * @return Whether the vmwareVms field is set. */ @java.lang.Override @@ -200,40 +167,31 @@ public boolean hasVmwareVms() { return sourceVmsCase_ == 1; } /** - * - * *
-   * Output only. The description of the VMs in a Source of type Vmware.
+   * The description of the VMs in a Source of type Vmware.
    * 
* - * - * .google.cloud.vmmigration.v1.VmwareVmsDetails vmware_vms = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.vmmigration.v1.VmwareVmsDetails vmware_vms = 1; * @return The vmwareVms. */ @java.lang.Override public com.google.cloud.vmmigration.v1.VmwareVmsDetails getVmwareVms() { if (sourceVmsCase_ == 1) { - return (com.google.cloud.vmmigration.v1.VmwareVmsDetails) sourceVms_; + return (com.google.cloud.vmmigration.v1.VmwareVmsDetails) sourceVms_; } return com.google.cloud.vmmigration.v1.VmwareVmsDetails.getDefaultInstance(); } /** - * - * *
-   * Output only. The description of the VMs in a Source of type Vmware.
+   * The description of the VMs in a Source of type Vmware.
    * 
* - * - * .google.cloud.vmmigration.v1.VmwareVmsDetails vmware_vms = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.vmmigration.v1.VmwareVmsDetails vmware_vms = 1; */ @java.lang.Override public com.google.cloud.vmmigration.v1.VmwareVmsDetailsOrBuilder getVmwareVmsOrBuilder() { if (sourceVmsCase_ == 1) { - return (com.google.cloud.vmmigration.v1.VmwareVmsDetails) sourceVms_; + return (com.google.cloud.vmmigration.v1.VmwareVmsDetails) sourceVms_; } return com.google.cloud.vmmigration.v1.VmwareVmsDetails.getDefaultInstance(); } @@ -241,16 +199,12 @@ public com.google.cloud.vmmigration.v1.VmwareVmsDetailsOrBuilder getVmwareVmsOrB public static final int UPDATE_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp updateTime_; /** - * - * *
-   * Output only. The timestamp when the source was last queried (if the result is from the
-   * cache).
+   * Output only. The timestamp when the source was last queried (if the result
+   * is from the cache).
    * 
* - * .google.protobuf.Timestamp update_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ @java.lang.Override @@ -258,16 +212,12 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** - * - * *
-   * Output only. The timestamp when the source was last queried (if the result is from the
-   * cache).
+   * Output only. The timestamp when the source was last queried (if the result
+   * is from the cache).
    * 
* - * .google.protobuf.Timestamp update_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ @java.lang.Override @@ -275,15 +225,12 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** - * - * *
-   * Output only. The timestamp when the source was last queried (if the result is from the
-   * cache).
+   * Output only. The timestamp when the source was last queried (if the result
+   * is from the cache).
    * 
* - * .google.protobuf.Timestamp update_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { @@ -291,7 +238,6 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -303,7 +249,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 (sourceVmsCase_ == 1) { output.writeMessage(1, (com.google.cloud.vmmigration.v1.VmwareVmsDetails) sourceVms_); } @@ -320,12 +267,12 @@ public int getSerializedSize() { size = 0; if (sourceVmsCase_ == 1) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 1, (com.google.cloud.vmmigration.v1.VmwareVmsDetails) sourceVms_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, (com.google.cloud.vmmigration.v1.VmwareVmsDetails) sourceVms_); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getUpdateTime()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -335,22 +282,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.vmmigration.v1.FetchInventoryResponse)) { return super.equals(obj); } - com.google.cloud.vmmigration.v1.FetchInventoryResponse other = - (com.google.cloud.vmmigration.v1.FetchInventoryResponse) obj; + com.google.cloud.vmmigration.v1.FetchInventoryResponse other = (com.google.cloud.vmmigration.v1.FetchInventoryResponse) obj; if (hasUpdateTime() != other.hasUpdateTime()) return false; if (hasUpdateTime()) { - if (!getUpdateTime().equals(other.getUpdateTime())) return false; + if (!getUpdateTime() + .equals(other.getUpdateTime())) return false; } if (!getSourceVmsCase().equals(other.getSourceVmsCase())) return false; switch (sourceVmsCase_) { case 1: - if (!getVmwareVms().equals(other.getVmwareVms())) return false; + if (!getVmwareVms() + .equals(other.getVmwareVms())) return false; break; case 0: default: @@ -384,104 +332,96 @@ public int hashCode() { } public static com.google.cloud.vmmigration.v1.FetchInventoryResponse 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.vmmigration.v1.FetchInventoryResponse 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.vmmigration.v1.FetchInventoryResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.vmmigration.v1.FetchInventoryResponse 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.vmmigration.v1.FetchInventoryResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.vmmigration.v1.FetchInventoryResponse 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.vmmigration.v1.FetchInventoryResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.vmmigration.v1.FetchInventoryResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.vmmigration.v1.FetchInventoryResponse 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.vmmigration.v1.FetchInventoryResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.vmmigration.v1.FetchInventoryResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.vmmigration.v1.FetchInventoryResponse 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.vmmigration.v1.FetchInventoryResponse 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.vmmigration.v1.FetchInventoryResponse 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.vmmigration.v1.FetchInventoryResponse prototype) { + public static Builder newBuilder(com.google.cloud.vmmigration.v1.FetchInventoryResponse 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; } /** - * - * *
    * Response message for
    * [fetchInventory][google.cloud.vmmigration.v1.VmMigration.FetchInventory].
@@ -489,23 +429,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.vmmigration.v1.FetchInventoryResponse}
    */
-  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.vmmigration.v1.FetchInventoryResponse)
       com.google.cloud.vmmigration.v1.FetchInventoryResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.vmmigration.v1.VmMigrationProto
-          .internal_static_google_cloud_vmmigration_v1_FetchInventoryResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_FetchInventoryResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.vmmigration.v1.VmMigrationProto
-          .internal_static_google_cloud_vmmigration_v1_FetchInventoryResponse_fieldAccessorTable
+      return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_FetchInventoryResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.vmmigration.v1.FetchInventoryResponse.class,
-              com.google.cloud.vmmigration.v1.FetchInventoryResponse.Builder.class);
+              com.google.cloud.vmmigration.v1.FetchInventoryResponse.class, com.google.cloud.vmmigration.v1.FetchInventoryResponse.Builder.class);
     }
 
     // Construct using com.google.cloud.vmmigration.v1.FetchInventoryResponse.newBuilder()
@@ -513,15 +451,16 @@ 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) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -537,9 +476,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.vmmigration.v1.VmMigrationProto
-          .internal_static_google_cloud_vmmigration_v1_FetchInventoryResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_FetchInventoryResponse_descriptor;
     }
 
     @java.lang.Override
@@ -558,8 +497,7 @@ public com.google.cloud.vmmigration.v1.FetchInventoryResponse build() {
 
     @java.lang.Override
     public com.google.cloud.vmmigration.v1.FetchInventoryResponse buildPartial() {
-      com.google.cloud.vmmigration.v1.FetchInventoryResponse result =
-          new com.google.cloud.vmmigration.v1.FetchInventoryResponse(this);
+      com.google.cloud.vmmigration.v1.FetchInventoryResponse result = new com.google.cloud.vmmigration.v1.FetchInventoryResponse(this);
       if (sourceVmsCase_ == 1) {
         if (vmwareVmsBuilder_ == null) {
           result.sourceVms_ = sourceVms_;
@@ -581,39 +519,38 @@ public com.google.cloud.vmmigration.v1.FetchInventoryResponse buildPartial() {
     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.vmmigration.v1.FetchInventoryResponse) {
-        return mergeFrom((com.google.cloud.vmmigration.v1.FetchInventoryResponse) other);
+        return mergeFrom((com.google.cloud.vmmigration.v1.FetchInventoryResponse)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -621,21 +558,18 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.vmmigration.v1.FetchInventoryResponse other) {
-      if (other == com.google.cloud.vmmigration.v1.FetchInventoryResponse.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.vmmigration.v1.FetchInventoryResponse.getDefaultInstance()) return this;
       if (other.hasUpdateTime()) {
         mergeUpdateTime(other.getUpdateTime());
       }
       switch (other.getSourceVmsCase()) {
-        case VMWARE_VMS:
-          {
-            mergeVmwareVms(other.getVmwareVms());
-            break;
-          }
-        case SOURCEVMS_NOT_SET:
-          {
-            break;
-          }
+        case VMWARE_VMS: {
+          mergeVmwareVms(other.getVmwareVms());
+          break;
+        }
+        case SOURCEVMS_NOT_SET: {
+          break;
+        }
       }
       this.mergeUnknownFields(other.unknownFields);
       onChanged();
@@ -656,8 +590,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.cloud.vmmigration.v1.FetchInventoryResponse) e.getUnfinishedMessage();
+        parsedMessage = (com.google.cloud.vmmigration.v1.FetchInventoryResponse) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -666,12 +599,12 @@ public Builder mergeFrom(
       }
       return this;
     }
-
     private int sourceVmsCase_ = 0;
     private java.lang.Object sourceVms_;
-
-    public SourceVmsCase getSourceVmsCase() {
-      return SourceVmsCase.forNumber(sourceVmsCase_);
+    public SourceVmsCase
+        getSourceVmsCase() {
+      return SourceVmsCase.forNumber(
+          sourceVmsCase_);
     }
 
     public Builder clearSourceVms() {
@@ -681,22 +614,15 @@ public Builder clearSourceVms() {
       return this;
     }
 
+
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.vmmigration.v1.VmwareVmsDetails,
-            com.google.cloud.vmmigration.v1.VmwareVmsDetails.Builder,
-            com.google.cloud.vmmigration.v1.VmwareVmsDetailsOrBuilder>
-        vmwareVmsBuilder_;
+        com.google.cloud.vmmigration.v1.VmwareVmsDetails, com.google.cloud.vmmigration.v1.VmwareVmsDetails.Builder, com.google.cloud.vmmigration.v1.VmwareVmsDetailsOrBuilder> vmwareVmsBuilder_;
     /**
-     *
-     *
      * 
-     * Output only. The description of the VMs in a Source of type Vmware.
+     * The description of the VMs in a Source of type Vmware.
      * 
* - * - * .google.cloud.vmmigration.v1.VmwareVmsDetails vmware_vms = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.vmmigration.v1.VmwareVmsDetails vmware_vms = 1; * @return Whether the vmwareVms field is set. */ @java.lang.Override @@ -704,16 +630,11 @@ public boolean hasVmwareVms() { return sourceVmsCase_ == 1; } /** - * - * *
-     * Output only. The description of the VMs in a Source of type Vmware.
+     * The description of the VMs in a Source of type Vmware.
      * 
* - * - * .google.cloud.vmmigration.v1.VmwareVmsDetails vmware_vms = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.vmmigration.v1.VmwareVmsDetails vmware_vms = 1; * @return The vmwareVms. */ @java.lang.Override @@ -731,15 +652,11 @@ public com.google.cloud.vmmigration.v1.VmwareVmsDetails getVmwareVms() { } } /** - * - * *
-     * Output only. The description of the VMs in a Source of type Vmware.
+     * The description of the VMs in a Source of type Vmware.
      * 
* - * - * .google.cloud.vmmigration.v1.VmwareVmsDetails vmware_vms = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.vmmigration.v1.VmwareVmsDetails vmware_vms = 1; */ public Builder setVmwareVms(com.google.cloud.vmmigration.v1.VmwareVmsDetails value) { if (vmwareVmsBuilder_ == null) { @@ -755,15 +672,11 @@ public Builder setVmwareVms(com.google.cloud.vmmigration.v1.VmwareVmsDetails val return this; } /** - * - * *
-     * Output only. The description of the VMs in a Source of type Vmware.
+     * The description of the VMs in a Source of type Vmware.
      * 
* - * - * .google.cloud.vmmigration.v1.VmwareVmsDetails vmware_vms = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.vmmigration.v1.VmwareVmsDetails vmware_vms = 1; */ public Builder setVmwareVms( com.google.cloud.vmmigration.v1.VmwareVmsDetails.Builder builderForValue) { @@ -777,26 +690,18 @@ public Builder setVmwareVms( return this; } /** - * - * *
-     * Output only. The description of the VMs in a Source of type Vmware.
+     * The description of the VMs in a Source of type Vmware.
      * 
* - * - * .google.cloud.vmmigration.v1.VmwareVmsDetails vmware_vms = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.vmmigration.v1.VmwareVmsDetails vmware_vms = 1; */ public Builder mergeVmwareVms(com.google.cloud.vmmigration.v1.VmwareVmsDetails value) { if (vmwareVmsBuilder_ == null) { - if (sourceVmsCase_ == 1 - && sourceVms_ - != com.google.cloud.vmmigration.v1.VmwareVmsDetails.getDefaultInstance()) { - sourceVms_ = - com.google.cloud.vmmigration.v1.VmwareVmsDetails.newBuilder( - (com.google.cloud.vmmigration.v1.VmwareVmsDetails) sourceVms_) - .mergeFrom(value) - .buildPartial(); + if (sourceVmsCase_ == 1 && + sourceVms_ != com.google.cloud.vmmigration.v1.VmwareVmsDetails.getDefaultInstance()) { + sourceVms_ = com.google.cloud.vmmigration.v1.VmwareVmsDetails.newBuilder((com.google.cloud.vmmigration.v1.VmwareVmsDetails) sourceVms_) + .mergeFrom(value).buildPartial(); } else { sourceVms_ = value; } @@ -812,15 +717,11 @@ public Builder mergeVmwareVms(com.google.cloud.vmmigration.v1.VmwareVmsDetails v return this; } /** - * - * *
-     * Output only. The description of the VMs in a Source of type Vmware.
+     * The description of the VMs in a Source of type Vmware.
      * 
* - * - * .google.cloud.vmmigration.v1.VmwareVmsDetails vmware_vms = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.vmmigration.v1.VmwareVmsDetails vmware_vms = 1; */ public Builder clearVmwareVms() { if (vmwareVmsBuilder_ == null) { @@ -839,29 +740,21 @@ public Builder clearVmwareVms() { return this; } /** - * - * *
-     * Output only. The description of the VMs in a Source of type Vmware.
+     * The description of the VMs in a Source of type Vmware.
      * 
* - * - * .google.cloud.vmmigration.v1.VmwareVmsDetails vmware_vms = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.vmmigration.v1.VmwareVmsDetails vmware_vms = 1; */ public com.google.cloud.vmmigration.v1.VmwareVmsDetails.Builder getVmwareVmsBuilder() { return getVmwareVmsFieldBuilder().getBuilder(); } /** - * - * *
-     * Output only. The description of the VMs in a Source of type Vmware.
+     * The description of the VMs in a Source of type Vmware.
      * 
* - * - * .google.cloud.vmmigration.v1.VmwareVmsDetails vmware_vms = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.vmmigration.v1.VmwareVmsDetails vmware_vms = 1; */ @java.lang.Override public com.google.cloud.vmmigration.v1.VmwareVmsDetailsOrBuilder getVmwareVmsOrBuilder() { @@ -875,98 +768,69 @@ public com.google.cloud.vmmigration.v1.VmwareVmsDetailsOrBuilder getVmwareVmsOrB } } /** - * - * *
-     * Output only. The description of the VMs in a Source of type Vmware.
+     * The description of the VMs in a Source of type Vmware.
      * 
* - * - * .google.cloud.vmmigration.v1.VmwareVmsDetails vmware_vms = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.vmmigration.v1.VmwareVmsDetails vmware_vms = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.vmmigration.v1.VmwareVmsDetails, - com.google.cloud.vmmigration.v1.VmwareVmsDetails.Builder, - com.google.cloud.vmmigration.v1.VmwareVmsDetailsOrBuilder> + com.google.cloud.vmmigration.v1.VmwareVmsDetails, com.google.cloud.vmmigration.v1.VmwareVmsDetails.Builder, com.google.cloud.vmmigration.v1.VmwareVmsDetailsOrBuilder> getVmwareVmsFieldBuilder() { if (vmwareVmsBuilder_ == null) { if (!(sourceVmsCase_ == 1)) { sourceVms_ = com.google.cloud.vmmigration.v1.VmwareVmsDetails.getDefaultInstance(); } - vmwareVmsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.vmmigration.v1.VmwareVmsDetails, - com.google.cloud.vmmigration.v1.VmwareVmsDetails.Builder, - com.google.cloud.vmmigration.v1.VmwareVmsDetailsOrBuilder>( + vmwareVmsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.vmmigration.v1.VmwareVmsDetails, com.google.cloud.vmmigration.v1.VmwareVmsDetails.Builder, com.google.cloud.vmmigration.v1.VmwareVmsDetailsOrBuilder>( (com.google.cloud.vmmigration.v1.VmwareVmsDetails) sourceVms_, getParentForChildren(), isClean()); sourceVms_ = null; } sourceVmsCase_ = 1; - onChanged(); - ; + onChanged();; return vmwareVmsBuilder_; } 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. The timestamp when the source was last queried (if the result is from the
-     * cache).
+     * Output only. The timestamp when the source was last queried (if the result
+     * is from the cache).
      * 
* - * - * .google.protobuf.Timestamp update_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return updateTimeBuilder_ != null || updateTime_ != null; } /** - * - * *
-     * Output only. The timestamp when the source was last queried (if the result is from the
-     * cache).
+     * Output only. The timestamp when the source was last queried (if the result
+     * is from the cache).
      * 
* - * - * .google.protobuf.Timestamp update_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 2 [(.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. The timestamp when the source was last queried (if the result is from the
-     * cache).
+     * Output only. The timestamp when the source was last queried (if the result
+     * is from the cache).
      * 
* - * - * .google.protobuf.Timestamp update_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { @@ -982,18 +846,15 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
-     * Output only. The timestamp when the source was last queried (if the result is from the
-     * cache).
+     * Output only. The timestamp when the source was last queried (if the result
+     * is from the cache).
      * 
* - * - * .google.protobuf.Timestamp update_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 2 [(.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(); onChanged(); @@ -1004,22 +865,18 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
-     * Output only. The timestamp when the source was last queried (if the result is from the
-     * cache).
+     * Output only. The timestamp when the source was last queried (if the result
+     * is from the cache).
      * 
* - * - * .google.protobuf.Timestamp update_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { if (updateTime_ != null) { updateTime_ = - com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); } else { updateTime_ = value; } @@ -1031,16 +888,12 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
-     * Output only. The timestamp when the source was last queried (if the result is from the
-     * cache).
+     * Output only. The timestamp when the source was last queried (if the result
+     * is from the cache).
      * 
* - * - * .google.protobuf.Timestamp update_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearUpdateTime() { if (updateTimeBuilder_ == null) { @@ -1054,74 +907,58 @@ public Builder clearUpdateTime() { return this; } /** - * - * *
-     * Output only. The timestamp when the source was last queried (if the result is from the
-     * cache).
+     * Output only. The timestamp when the source was last queried (if the result
+     * is from the cache).
      * 
* - * - * .google.protobuf.Timestamp update_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { - + onChanged(); return getUpdateTimeFieldBuilder().getBuilder(); } /** - * - * *
-     * Output only. The timestamp when the source was last queried (if the result is from the
-     * cache).
+     * Output only. The timestamp when the source was last queried (if the result
+     * is from the cache).
      * 
* - * - * .google.protobuf.Timestamp update_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 2 [(.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. The timestamp when the source was last queried (if the result is from the
-     * cache).
+     * Output only. The timestamp when the source was last queried (if the result
+     * is from the cache).
      * 
* - * - * .google.protobuf.Timestamp update_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 2 [(.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_; } - @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); } @@ -1131,12 +968,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.vmmigration.v1.FetchInventoryResponse) } // @@protoc_insertion_point(class_scope:google.cloud.vmmigration.v1.FetchInventoryResponse) private static final com.google.cloud.vmmigration.v1.FetchInventoryResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.vmmigration.v1.FetchInventoryResponse(); } @@ -1145,16 +982,16 @@ public static com.google.cloud.vmmigration.v1.FetchInventoryResponse getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public FetchInventoryResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new FetchInventoryResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public FetchInventoryResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new FetchInventoryResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1169,4 +1006,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.vmmigration.v1.FetchInventoryResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/FetchInventoryResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/FetchInventoryResponseOrBuilder.java new file mode 100644 index 0000000..20a26ff --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/FetchInventoryResponseOrBuilder.java @@ -0,0 +1,68 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/vmmigration/v1/vmmigration.proto + +package com.google.cloud.vmmigration.v1; + +public interface FetchInventoryResponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.FetchInventoryResponse) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * The description of the VMs in a Source of type Vmware.
+   * 
+ * + * .google.cloud.vmmigration.v1.VmwareVmsDetails vmware_vms = 1; + * @return Whether the vmwareVms field is set. + */ + boolean hasVmwareVms(); + /** + *
+   * The description of the VMs in a Source of type Vmware.
+   * 
+ * + * .google.cloud.vmmigration.v1.VmwareVmsDetails vmware_vms = 1; + * @return The vmwareVms. + */ + com.google.cloud.vmmigration.v1.VmwareVmsDetails getVmwareVms(); + /** + *
+   * The description of the VMs in a Source of type Vmware.
+   * 
+ * + * .google.cloud.vmmigration.v1.VmwareVmsDetails vmware_vms = 1; + */ + com.google.cloud.vmmigration.v1.VmwareVmsDetailsOrBuilder getVmwareVmsOrBuilder(); + + /** + *
+   * Output only. The timestamp when the source was last queried (if the result
+   * is from the cache).
+   * 
+ * + * .google.protobuf.Timestamp update_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return Whether the updateTime field is set. + */ + boolean hasUpdateTime(); + /** + *
+   * Output only. The timestamp when the source was last queried (if the result
+   * is from the cache).
+   * 
+ * + * .google.protobuf.Timestamp update_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The updateTime. + */ + com.google.protobuf.Timestamp getUpdateTime(); + /** + *
+   * Output only. The timestamp when the source was last queried (if the result
+   * is from the cache).
+   * 
+ * + * .google.protobuf.Timestamp update_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); + + public com.google.cloud.vmmigration.v1.FetchInventoryResponse.SourceVmsCase getSourceVmsCase(); +} diff --git a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/FinalizeMigrationRequest.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/FinalizeMigrationRequest.java similarity index 64% rename from proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/FinalizeMigrationRequest.java rename to owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/FinalizeMigrationRequest.java index fba8eae..b1cb835 100644 --- a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/FinalizeMigrationRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/FinalizeMigrationRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; /** - * - * *
  * Request message for 'FinalizeMigration' request.
  * 
* * Protobuf type {@code google.cloud.vmmigration.v1.FinalizeMigrationRequest} */ -public final class FinalizeMigrationRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class FinalizeMigrationRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.vmmigration.v1.FinalizeMigrationRequest) FinalizeMigrationRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use FinalizeMigrationRequest.newBuilder() to construct. private FinalizeMigrationRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private FinalizeMigrationRequest() { migratingVm_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new FinalizeMigrationRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private FinalizeMigrationRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private FinalizeMigrationRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - migratingVm_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + migratingVm_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,41 +73,34 @@ private FinalizeMigrationRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_FinalizeMigrationRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_FinalizeMigrationRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_FinalizeMigrationRequest_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_FinalizeMigrationRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.FinalizeMigrationRequest.class, - com.google.cloud.vmmigration.v1.FinalizeMigrationRequest.Builder.class); + com.google.cloud.vmmigration.v1.FinalizeMigrationRequest.class, com.google.cloud.vmmigration.v1.FinalizeMigrationRequest.Builder.class); } public static final int MIGRATING_VM_FIELD_NUMBER = 1; private volatile java.lang.Object migratingVm_; /** - * - * *
    * Required. The name of the MigratingVm.
    * 
* - * - * string migrating_vm = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string migrating_vm = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The migratingVm. */ @java.lang.Override @@ -134,31 +109,29 @@ public java.lang.String getMigratingVm() { 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(); migratingVm_ = s; return s; } } /** - * - * *
    * Required. The name of the MigratingVm.
    * 
* - * - * string migrating_vm = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string migrating_vm = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for migratingVm. */ @java.lang.Override - public com.google.protobuf.ByteString getMigratingVmBytes() { + public com.google.protobuf.ByteString + getMigratingVmBytes() { java.lang.Object ref = migratingVm_; 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); migratingVm_ = b; return b; } else { @@ -167,7 +140,6 @@ public com.google.protobuf.ByteString getMigratingVmBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -179,7 +151,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(migratingVm_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, migratingVm_); } @@ -203,15 +176,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.vmmigration.v1.FinalizeMigrationRequest)) { return super.equals(obj); } - com.google.cloud.vmmigration.v1.FinalizeMigrationRequest other = - (com.google.cloud.vmmigration.v1.FinalizeMigrationRequest) obj; + com.google.cloud.vmmigration.v1.FinalizeMigrationRequest other = (com.google.cloud.vmmigration.v1.FinalizeMigrationRequest) obj; - if (!getMigratingVm().equals(other.getMigratingVm())) return false; + if (!getMigratingVm() + .equals(other.getMigratingVm())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -231,127 +204,117 @@ public int hashCode() { } public static com.google.cloud.vmmigration.v1.FinalizeMigrationRequest 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.vmmigration.v1.FinalizeMigrationRequest 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.vmmigration.v1.FinalizeMigrationRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.vmmigration.v1.FinalizeMigrationRequest 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.vmmigration.v1.FinalizeMigrationRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.vmmigration.v1.FinalizeMigrationRequest 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.vmmigration.v1.FinalizeMigrationRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.vmmigration.v1.FinalizeMigrationRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.vmmigration.v1.FinalizeMigrationRequest 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.vmmigration.v1.FinalizeMigrationRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.vmmigration.v1.FinalizeMigrationRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.vmmigration.v1.FinalizeMigrationRequest 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.vmmigration.v1.FinalizeMigrationRequest 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.vmmigration.v1.FinalizeMigrationRequest 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.vmmigration.v1.FinalizeMigrationRequest prototype) { + public static Builder newBuilder(com.google.cloud.vmmigration.v1.FinalizeMigrationRequest 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 message for 'FinalizeMigration' request.
    * 
* * Protobuf type {@code google.cloud.vmmigration.v1.FinalizeMigrationRequest} */ - 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.vmmigration.v1.FinalizeMigrationRequest) com.google.cloud.vmmigration.v1.FinalizeMigrationRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_FinalizeMigrationRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_FinalizeMigrationRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_FinalizeMigrationRequest_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_FinalizeMigrationRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.FinalizeMigrationRequest.class, - com.google.cloud.vmmigration.v1.FinalizeMigrationRequest.Builder.class); + com.google.cloud.vmmigration.v1.FinalizeMigrationRequest.class, com.google.cloud.vmmigration.v1.FinalizeMigrationRequest.Builder.class); } // Construct using com.google.cloud.vmmigration.v1.FinalizeMigrationRequest.newBuilder() @@ -359,15 +322,16 @@ 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) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -377,9 +341,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_FinalizeMigrationRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_FinalizeMigrationRequest_descriptor; } @java.lang.Override @@ -398,8 +362,7 @@ public com.google.cloud.vmmigration.v1.FinalizeMigrationRequest build() { @java.lang.Override public com.google.cloud.vmmigration.v1.FinalizeMigrationRequest buildPartial() { - com.google.cloud.vmmigration.v1.FinalizeMigrationRequest result = - new com.google.cloud.vmmigration.v1.FinalizeMigrationRequest(this); + com.google.cloud.vmmigration.v1.FinalizeMigrationRequest result = new com.google.cloud.vmmigration.v1.FinalizeMigrationRequest(this); result.migratingVm_ = migratingVm_; onBuilt(); return result; @@ -409,39 +372,38 @@ public com.google.cloud.vmmigration.v1.FinalizeMigrationRequest buildPartial() { 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.vmmigration.v1.FinalizeMigrationRequest) { - return mergeFrom((com.google.cloud.vmmigration.v1.FinalizeMigrationRequest) other); + return mergeFrom((com.google.cloud.vmmigration.v1.FinalizeMigrationRequest)other); } else { super.mergeFrom(other); return this; @@ -449,8 +411,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.vmmigration.v1.FinalizeMigrationRequest other) { - if (other == com.google.cloud.vmmigration.v1.FinalizeMigrationRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.vmmigration.v1.FinalizeMigrationRequest.getDefaultInstance()) return this; if (!other.getMigratingVm().isEmpty()) { migratingVm_ = other.migratingVm_; onChanged(); @@ -474,8 +435,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.vmmigration.v1.FinalizeMigrationRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.vmmigration.v1.FinalizeMigrationRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -487,22 +447,18 @@ public Builder mergeFrom( private java.lang.Object migratingVm_ = ""; /** - * - * *
      * Required. The name of the MigratingVm.
      * 
* - * - * string migrating_vm = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string migrating_vm = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The migratingVm. */ public java.lang.String getMigratingVm() { java.lang.Object ref = migratingVm_; 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(); migratingVm_ = s; return s; @@ -511,23 +467,20 @@ public java.lang.String getMigratingVm() { } } /** - * - * *
      * Required. The name of the MigratingVm.
      * 
* - * - * string migrating_vm = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string migrating_vm = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for migratingVm. */ - public com.google.protobuf.ByteString getMigratingVmBytes() { + public com.google.protobuf.ByteString + getMigratingVmBytes() { java.lang.Object ref = migratingVm_; 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); migratingVm_ = b; return b; } else { @@ -535,74 +488,61 @@ public com.google.protobuf.ByteString getMigratingVmBytes() { } } /** - * - * *
      * Required. The name of the MigratingVm.
      * 
* - * - * string migrating_vm = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string migrating_vm = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The migratingVm to set. * @return This builder for chaining. */ - public Builder setMigratingVm(java.lang.String value) { + public Builder setMigratingVm( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + migratingVm_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the MigratingVm.
      * 
* - * - * string migrating_vm = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string migrating_vm = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearMigratingVm() { - + migratingVm_ = getDefaultInstance().getMigratingVm(); onChanged(); return this; } /** - * - * *
      * Required. The name of the MigratingVm.
      * 
* - * - * string migrating_vm = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string migrating_vm = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for migratingVm to set. * @return This builder for chaining. */ - public Builder setMigratingVmBytes(com.google.protobuf.ByteString value) { + public Builder setMigratingVmBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + migratingVm_ = 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); } @@ -612,12 +552,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.vmmigration.v1.FinalizeMigrationRequest) } // @@protoc_insertion_point(class_scope:google.cloud.vmmigration.v1.FinalizeMigrationRequest) private static final com.google.cloud.vmmigration.v1.FinalizeMigrationRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.vmmigration.v1.FinalizeMigrationRequest(); } @@ -626,16 +566,16 @@ public static com.google.cloud.vmmigration.v1.FinalizeMigrationRequest getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public FinalizeMigrationRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new FinalizeMigrationRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public FinalizeMigrationRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new FinalizeMigrationRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -650,4 +590,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.vmmigration.v1.FinalizeMigrationRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/FinalizeMigrationRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/FinalizeMigrationRequestOrBuilder.java new file mode 100644 index 0000000..6227a92 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/FinalizeMigrationRequestOrBuilder.java @@ -0,0 +1,29 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/vmmigration/v1/vmmigration.proto + +package com.google.cloud.vmmigration.v1; + +public interface FinalizeMigrationRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.FinalizeMigrationRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The name of the MigratingVm.
+   * 
+ * + * string migrating_vm = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The migratingVm. + */ + java.lang.String getMigratingVm(); + /** + *
+   * Required. The name of the MigratingVm.
+   * 
+ * + * string migrating_vm = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for migratingVm. + */ + com.google.protobuf.ByteString + getMigratingVmBytes(); +} diff --git a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/FinalizeMigrationResponse.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/FinalizeMigrationResponse.java similarity index 65% rename from proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/FinalizeMigrationResponse.java rename to owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/FinalizeMigrationResponse.java index c4572b0..b3e05ef 100644 --- a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/FinalizeMigrationResponse.java +++ b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/FinalizeMigrationResponse.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; /** - * - * *
  * Response message for 'FinalizeMigration' request.
  * 
* * Protobuf type {@code google.cloud.vmmigration.v1.FinalizeMigrationResponse} */ -public final class FinalizeMigrationResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class FinalizeMigrationResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.vmmigration.v1.FinalizeMigrationResponse) FinalizeMigrationResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use FinalizeMigrationResponse.newBuilder() to construct. private FinalizeMigrationResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private FinalizeMigrationResponse() {} + private FinalizeMigrationResponse() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new FinalizeMigrationResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private FinalizeMigrationResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,13 +52,13 @@ private FinalizeMigrationResponse( case 0: done = true; break; - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -82,30 +66,27 @@ private FinalizeMigrationResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_FinalizeMigrationResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_FinalizeMigrationResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_FinalizeMigrationResponse_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_FinalizeMigrationResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.FinalizeMigrationResponse.class, - com.google.cloud.vmmigration.v1.FinalizeMigrationResponse.Builder.class); + com.google.cloud.vmmigration.v1.FinalizeMigrationResponse.class, com.google.cloud.vmmigration.v1.FinalizeMigrationResponse.Builder.class); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -117,7 +98,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 { unknownFields.writeTo(output); } @@ -135,13 +117,12 @@ 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.vmmigration.v1.FinalizeMigrationResponse)) { return super.equals(obj); } - com.google.cloud.vmmigration.v1.FinalizeMigrationResponse other = - (com.google.cloud.vmmigration.v1.FinalizeMigrationResponse) obj; + com.google.cloud.vmmigration.v1.FinalizeMigrationResponse other = (com.google.cloud.vmmigration.v1.FinalizeMigrationResponse) obj; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -160,127 +141,117 @@ public int hashCode() { } public static com.google.cloud.vmmigration.v1.FinalizeMigrationResponse 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.vmmigration.v1.FinalizeMigrationResponse 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.vmmigration.v1.FinalizeMigrationResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.vmmigration.v1.FinalizeMigrationResponse 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.vmmigration.v1.FinalizeMigrationResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.vmmigration.v1.FinalizeMigrationResponse 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.vmmigration.v1.FinalizeMigrationResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.vmmigration.v1.FinalizeMigrationResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.vmmigration.v1.FinalizeMigrationResponse 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.vmmigration.v1.FinalizeMigrationResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.vmmigration.v1.FinalizeMigrationResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.vmmigration.v1.FinalizeMigrationResponse 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.vmmigration.v1.FinalizeMigrationResponse 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.vmmigration.v1.FinalizeMigrationResponse 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.vmmigration.v1.FinalizeMigrationResponse prototype) { + public static Builder newBuilder(com.google.cloud.vmmigration.v1.FinalizeMigrationResponse 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; } /** - * - * *
    * Response message for 'FinalizeMigration' request.
    * 
* * Protobuf type {@code google.cloud.vmmigration.v1.FinalizeMigrationResponse} */ - 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.vmmigration.v1.FinalizeMigrationResponse) com.google.cloud.vmmigration.v1.FinalizeMigrationResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_FinalizeMigrationResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_FinalizeMigrationResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_FinalizeMigrationResponse_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_FinalizeMigrationResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.FinalizeMigrationResponse.class, - com.google.cloud.vmmigration.v1.FinalizeMigrationResponse.Builder.class); + com.google.cloud.vmmigration.v1.FinalizeMigrationResponse.class, com.google.cloud.vmmigration.v1.FinalizeMigrationResponse.Builder.class); } // Construct using com.google.cloud.vmmigration.v1.FinalizeMigrationResponse.newBuilder() @@ -288,15 +259,16 @@ 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) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -304,9 +276,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_FinalizeMigrationResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_FinalizeMigrationResponse_descriptor; } @java.lang.Override @@ -325,8 +297,7 @@ public com.google.cloud.vmmigration.v1.FinalizeMigrationResponse build() { @java.lang.Override public com.google.cloud.vmmigration.v1.FinalizeMigrationResponse buildPartial() { - com.google.cloud.vmmigration.v1.FinalizeMigrationResponse result = - new com.google.cloud.vmmigration.v1.FinalizeMigrationResponse(this); + com.google.cloud.vmmigration.v1.FinalizeMigrationResponse result = new com.google.cloud.vmmigration.v1.FinalizeMigrationResponse(this); onBuilt(); return result; } @@ -335,39 +306,38 @@ public com.google.cloud.vmmigration.v1.FinalizeMigrationResponse buildPartial() 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.vmmigration.v1.FinalizeMigrationResponse) { - return mergeFrom((com.google.cloud.vmmigration.v1.FinalizeMigrationResponse) other); + return mergeFrom((com.google.cloud.vmmigration.v1.FinalizeMigrationResponse)other); } else { super.mergeFrom(other); return this; @@ -375,8 +345,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.vmmigration.v1.FinalizeMigrationResponse other) { - if (other == com.google.cloud.vmmigration.v1.FinalizeMigrationResponse.getDefaultInstance()) - return this; + if (other == com.google.cloud.vmmigration.v1.FinalizeMigrationResponse.getDefaultInstance()) return this; this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -396,8 +365,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.vmmigration.v1.FinalizeMigrationResponse) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.vmmigration.v1.FinalizeMigrationResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -406,9 +374,9 @@ public Builder mergeFrom( } 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); } @@ -418,12 +386,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.vmmigration.v1.FinalizeMigrationResponse) } // @@protoc_insertion_point(class_scope:google.cloud.vmmigration.v1.FinalizeMigrationResponse) private static final com.google.cloud.vmmigration.v1.FinalizeMigrationResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.vmmigration.v1.FinalizeMigrationResponse(); } @@ -432,16 +400,16 @@ public static com.google.cloud.vmmigration.v1.FinalizeMigrationResponse getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public FinalizeMigrationResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new FinalizeMigrationResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public FinalizeMigrationResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new FinalizeMigrationResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -456,4 +424,6 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.vmmigration.v1.FinalizeMigrationResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/FinalizeMigrationResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/FinalizeMigrationResponseOrBuilder.java new file mode 100644 index 0000000..5b24286 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/FinalizeMigrationResponseOrBuilder.java @@ -0,0 +1,9 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/vmmigration/v1/vmmigration.proto + +package com.google.cloud.vmmigration.v1; + +public interface FinalizeMigrationResponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.FinalizeMigrationResponse) + com.google.protobuf.MessageOrBuilder { +} diff --git a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetCloneJobRequest.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetCloneJobRequest.java similarity index 64% rename from proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetCloneJobRequest.java rename to owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetCloneJobRequest.java index 5e6dfc6..b406293 100644 --- a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetCloneJobRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetCloneJobRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; /** - * - * *
  * Request message for 'GetCloneJob' request.
  * 
* * Protobuf type {@code google.cloud.vmmigration.v1.GetCloneJobRequest} */ -public final class GetCloneJobRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetCloneJobRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.vmmigration.v1.GetCloneJobRequest) GetCloneJobRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetCloneJobRequest.newBuilder() to construct. private GetCloneJobRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetCloneJobRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetCloneJobRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private GetCloneJobRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private GetCloneJobRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,41 +73,34 @@ private GetCloneJobRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_GetCloneJobRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_GetCloneJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_GetCloneJobRequest_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_GetCloneJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.GetCloneJobRequest.class, - com.google.cloud.vmmigration.v1.GetCloneJobRequest.Builder.class); + com.google.cloud.vmmigration.v1.GetCloneJobRequest.class, com.google.cloud.vmmigration.v1.GetCloneJobRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The name of the CloneJob.
    * 
* - * - * 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 @@ -134,31 +109,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; } } /** - * - * *
    * Required. The name of the CloneJob.
    * 
* - * - * 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 { @@ -167,7 +140,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -179,7 +151,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_); } @@ -203,15 +176,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.vmmigration.v1.GetCloneJobRequest)) { return super.equals(obj); } - com.google.cloud.vmmigration.v1.GetCloneJobRequest other = - (com.google.cloud.vmmigration.v1.GetCloneJobRequest) obj; + com.google.cloud.vmmigration.v1.GetCloneJobRequest other = (com.google.cloud.vmmigration.v1.GetCloneJobRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -231,126 +204,117 @@ public int hashCode() { } public static com.google.cloud.vmmigration.v1.GetCloneJobRequest 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.vmmigration.v1.GetCloneJobRequest 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.vmmigration.v1.GetCloneJobRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.vmmigration.v1.GetCloneJobRequest 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.vmmigration.v1.GetCloneJobRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.vmmigration.v1.GetCloneJobRequest 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.vmmigration.v1.GetCloneJobRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.vmmigration.v1.GetCloneJobRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.vmmigration.v1.GetCloneJobRequest 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.vmmigration.v1.GetCloneJobRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.vmmigration.v1.GetCloneJobRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.vmmigration.v1.GetCloneJobRequest 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.vmmigration.v1.GetCloneJobRequest 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.vmmigration.v1.GetCloneJobRequest 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.vmmigration.v1.GetCloneJobRequest 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 message for 'GetCloneJob' request.
    * 
* * Protobuf type {@code google.cloud.vmmigration.v1.GetCloneJobRequest} */ - 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.vmmigration.v1.GetCloneJobRequest) com.google.cloud.vmmigration.v1.GetCloneJobRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_GetCloneJobRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_GetCloneJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_GetCloneJobRequest_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_GetCloneJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.GetCloneJobRequest.class, - com.google.cloud.vmmigration.v1.GetCloneJobRequest.Builder.class); + com.google.cloud.vmmigration.v1.GetCloneJobRequest.class, com.google.cloud.vmmigration.v1.GetCloneJobRequest.Builder.class); } // Construct using com.google.cloud.vmmigration.v1.GetCloneJobRequest.newBuilder() @@ -358,15 +322,16 @@ 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) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -376,9 +341,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_GetCloneJobRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_GetCloneJobRequest_descriptor; } @java.lang.Override @@ -397,8 +362,7 @@ public com.google.cloud.vmmigration.v1.GetCloneJobRequest build() { @java.lang.Override public com.google.cloud.vmmigration.v1.GetCloneJobRequest buildPartial() { - com.google.cloud.vmmigration.v1.GetCloneJobRequest result = - new com.google.cloud.vmmigration.v1.GetCloneJobRequest(this); + com.google.cloud.vmmigration.v1.GetCloneJobRequest result = new com.google.cloud.vmmigration.v1.GetCloneJobRequest(this); result.name_ = name_; onBuilt(); return result; @@ -408,39 +372,38 @@ public com.google.cloud.vmmigration.v1.GetCloneJobRequest buildPartial() { 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.vmmigration.v1.GetCloneJobRequest) { - return mergeFrom((com.google.cloud.vmmigration.v1.GetCloneJobRequest) other); + return mergeFrom((com.google.cloud.vmmigration.v1.GetCloneJobRequest)other); } else { super.mergeFrom(other); return this; @@ -448,8 +411,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.vmmigration.v1.GetCloneJobRequest other) { - if (other == com.google.cloud.vmmigration.v1.GetCloneJobRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.vmmigration.v1.GetCloneJobRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -473,8 +435,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.vmmigration.v1.GetCloneJobRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.vmmigration.v1.GetCloneJobRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -486,22 +447,18 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the CloneJob.
      * 
* - * - * 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; @@ -510,23 +467,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the CloneJob.
      * 
* - * - * 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 { @@ -534,74 +488,61 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the CloneJob.
      * 
* - * - * 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the CloneJob.
      * 
* - * - * 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() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The name of the CloneJob.
      * 
* - * - * 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) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = 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); } @@ -611,12 +552,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.vmmigration.v1.GetCloneJobRequest) } // @@protoc_insertion_point(class_scope:google.cloud.vmmigration.v1.GetCloneJobRequest) private static final com.google.cloud.vmmigration.v1.GetCloneJobRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.vmmigration.v1.GetCloneJobRequest(); } @@ -625,16 +566,16 @@ public static com.google.cloud.vmmigration.v1.GetCloneJobRequest getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetCloneJobRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetCloneJobRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetCloneJobRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetCloneJobRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -649,4 +590,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.vmmigration.v1.GetCloneJobRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetCloneJobRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetCloneJobRequestOrBuilder.java new file mode 100644 index 0000000..40529be --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetCloneJobRequestOrBuilder.java @@ -0,0 +1,29 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/vmmigration/v1/vmmigration.proto + +package com.google.cloud.vmmigration.v1; + +public interface GetCloneJobRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.GetCloneJobRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The name of the CloneJob.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The name of the CloneJob.
+   * 
+ * + * 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/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetCutoverJobRequest.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetCutoverJobRequest.java similarity index 64% rename from proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetCutoverJobRequest.java rename to owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetCutoverJobRequest.java index 8d54bc1..5e1288b 100644 --- a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetCutoverJobRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetCutoverJobRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; /** - * - * *
  * Request message for 'GetCutoverJob' request.
  * 
* * Protobuf type {@code google.cloud.vmmigration.v1.GetCutoverJobRequest} */ -public final class GetCutoverJobRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetCutoverJobRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.vmmigration.v1.GetCutoverJobRequest) GetCutoverJobRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetCutoverJobRequest.newBuilder() to construct. private GetCutoverJobRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetCutoverJobRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetCutoverJobRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private GetCutoverJobRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private GetCutoverJobRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,41 +73,34 @@ private GetCutoverJobRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_GetCutoverJobRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_GetCutoverJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_GetCutoverJobRequest_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_GetCutoverJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.GetCutoverJobRequest.class, - com.google.cloud.vmmigration.v1.GetCutoverJobRequest.Builder.class); + com.google.cloud.vmmigration.v1.GetCutoverJobRequest.class, com.google.cloud.vmmigration.v1.GetCutoverJobRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The name of the CutoverJob.
    * 
* - * - * 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 @@ -134,31 +109,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; } } /** - * - * *
    * Required. The name of the CutoverJob.
    * 
* - * - * 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 { @@ -167,7 +140,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -179,7 +151,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_); } @@ -203,15 +176,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.vmmigration.v1.GetCutoverJobRequest)) { return super.equals(obj); } - com.google.cloud.vmmigration.v1.GetCutoverJobRequest other = - (com.google.cloud.vmmigration.v1.GetCutoverJobRequest) obj; + com.google.cloud.vmmigration.v1.GetCutoverJobRequest other = (com.google.cloud.vmmigration.v1.GetCutoverJobRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -231,126 +204,117 @@ public int hashCode() { } public static com.google.cloud.vmmigration.v1.GetCutoverJobRequest 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.vmmigration.v1.GetCutoverJobRequest 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.vmmigration.v1.GetCutoverJobRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.vmmigration.v1.GetCutoverJobRequest 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.vmmigration.v1.GetCutoverJobRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.vmmigration.v1.GetCutoverJobRequest 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.vmmigration.v1.GetCutoverJobRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.vmmigration.v1.GetCutoverJobRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.vmmigration.v1.GetCutoverJobRequest 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.vmmigration.v1.GetCutoverJobRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.vmmigration.v1.GetCutoverJobRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.vmmigration.v1.GetCutoverJobRequest 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.vmmigration.v1.GetCutoverJobRequest 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.vmmigration.v1.GetCutoverJobRequest 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.vmmigration.v1.GetCutoverJobRequest 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 message for 'GetCutoverJob' request.
    * 
* * Protobuf type {@code google.cloud.vmmigration.v1.GetCutoverJobRequest} */ - 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.vmmigration.v1.GetCutoverJobRequest) com.google.cloud.vmmigration.v1.GetCutoverJobRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_GetCutoverJobRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_GetCutoverJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_GetCutoverJobRequest_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_GetCutoverJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.GetCutoverJobRequest.class, - com.google.cloud.vmmigration.v1.GetCutoverJobRequest.Builder.class); + com.google.cloud.vmmigration.v1.GetCutoverJobRequest.class, com.google.cloud.vmmigration.v1.GetCutoverJobRequest.Builder.class); } // Construct using com.google.cloud.vmmigration.v1.GetCutoverJobRequest.newBuilder() @@ -358,15 +322,16 @@ 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) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -376,9 +341,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_GetCutoverJobRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_GetCutoverJobRequest_descriptor; } @java.lang.Override @@ -397,8 +362,7 @@ public com.google.cloud.vmmigration.v1.GetCutoverJobRequest build() { @java.lang.Override public com.google.cloud.vmmigration.v1.GetCutoverJobRequest buildPartial() { - com.google.cloud.vmmigration.v1.GetCutoverJobRequest result = - new com.google.cloud.vmmigration.v1.GetCutoverJobRequest(this); + com.google.cloud.vmmigration.v1.GetCutoverJobRequest result = new com.google.cloud.vmmigration.v1.GetCutoverJobRequest(this); result.name_ = name_; onBuilt(); return result; @@ -408,39 +372,38 @@ public com.google.cloud.vmmigration.v1.GetCutoverJobRequest buildPartial() { 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.vmmigration.v1.GetCutoverJobRequest) { - return mergeFrom((com.google.cloud.vmmigration.v1.GetCutoverJobRequest) other); + return mergeFrom((com.google.cloud.vmmigration.v1.GetCutoverJobRequest)other); } else { super.mergeFrom(other); return this; @@ -448,8 +411,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.vmmigration.v1.GetCutoverJobRequest other) { - if (other == com.google.cloud.vmmigration.v1.GetCutoverJobRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.vmmigration.v1.GetCutoverJobRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -473,8 +435,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.vmmigration.v1.GetCutoverJobRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.vmmigration.v1.GetCutoverJobRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -486,22 +447,18 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the CutoverJob.
      * 
* - * - * 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; @@ -510,23 +467,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the CutoverJob.
      * 
* - * - * 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 { @@ -534,74 +488,61 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the CutoverJob.
      * 
* - * - * 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the CutoverJob.
      * 
* - * - * 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() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The name of the CutoverJob.
      * 
* - * - * 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) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = 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); } @@ -611,12 +552,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.vmmigration.v1.GetCutoverJobRequest) } // @@protoc_insertion_point(class_scope:google.cloud.vmmigration.v1.GetCutoverJobRequest) private static final com.google.cloud.vmmigration.v1.GetCutoverJobRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.vmmigration.v1.GetCutoverJobRequest(); } @@ -625,16 +566,16 @@ public static com.google.cloud.vmmigration.v1.GetCutoverJobRequest getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetCutoverJobRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetCutoverJobRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetCutoverJobRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetCutoverJobRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -649,4 +590,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.vmmigration.v1.GetCutoverJobRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetCutoverJobRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetCutoverJobRequestOrBuilder.java new file mode 100644 index 0000000..b5122e4 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetCutoverJobRequestOrBuilder.java @@ -0,0 +1,29 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/vmmigration/v1/vmmigration.proto + +package com.google.cloud.vmmigration.v1; + +public interface GetCutoverJobRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.GetCutoverJobRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The name of the CutoverJob.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The name of the CutoverJob.
+   * 
+ * + * 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/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetDatacenterConnectorRequest.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetDatacenterConnectorRequest.java similarity index 63% rename from proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetDatacenterConnectorRequest.java rename to owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetDatacenterConnectorRequest.java index 888c9ec..24ff481 100644 --- a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetDatacenterConnectorRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetDatacenterConnectorRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; /** - * - * *
  * Request message for 'GetDatacenterConnector' request.
  * 
* * Protobuf type {@code google.cloud.vmmigration.v1.GetDatacenterConnectorRequest} */ -public final class GetDatacenterConnectorRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetDatacenterConnectorRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.vmmigration.v1.GetDatacenterConnectorRequest) GetDatacenterConnectorRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetDatacenterConnectorRequest.newBuilder() to construct. private GetDatacenterConnectorRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetDatacenterConnectorRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetDatacenterConnectorRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private GetDatacenterConnectorRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private GetDatacenterConnectorRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,41 +73,34 @@ private GetDatacenterConnectorRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_GetDatacenterConnectorRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_GetDatacenterConnectorRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_GetDatacenterConnectorRequest_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_GetDatacenterConnectorRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.GetDatacenterConnectorRequest.class, - com.google.cloud.vmmigration.v1.GetDatacenterConnectorRequest.Builder.class); + com.google.cloud.vmmigration.v1.GetDatacenterConnectorRequest.class, com.google.cloud.vmmigration.v1.GetDatacenterConnectorRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The name of the DatacenterConnector.
    * 
* - * - * 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 @@ -134,31 +109,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; } } /** - * - * *
    * Required. The name of the DatacenterConnector.
    * 
* - * - * 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 { @@ -167,7 +140,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -179,7 +151,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_); } @@ -203,15 +176,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.vmmigration.v1.GetDatacenterConnectorRequest)) { return super.equals(obj); } - com.google.cloud.vmmigration.v1.GetDatacenterConnectorRequest other = - (com.google.cloud.vmmigration.v1.GetDatacenterConnectorRequest) obj; + com.google.cloud.vmmigration.v1.GetDatacenterConnectorRequest other = (com.google.cloud.vmmigration.v1.GetDatacenterConnectorRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -231,127 +204,117 @@ public int hashCode() { } public static com.google.cloud.vmmigration.v1.GetDatacenterConnectorRequest 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.vmmigration.v1.GetDatacenterConnectorRequest 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.vmmigration.v1.GetDatacenterConnectorRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.vmmigration.v1.GetDatacenterConnectorRequest 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.vmmigration.v1.GetDatacenterConnectorRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.vmmigration.v1.GetDatacenterConnectorRequest 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.vmmigration.v1.GetDatacenterConnectorRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.vmmigration.v1.GetDatacenterConnectorRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.vmmigration.v1.GetDatacenterConnectorRequest 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.vmmigration.v1.GetDatacenterConnectorRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.vmmigration.v1.GetDatacenterConnectorRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.vmmigration.v1.GetDatacenterConnectorRequest 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.vmmigration.v1.GetDatacenterConnectorRequest 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.vmmigration.v1.GetDatacenterConnectorRequest 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.vmmigration.v1.GetDatacenterConnectorRequest prototype) { + public static Builder newBuilder(com.google.cloud.vmmigration.v1.GetDatacenterConnectorRequest 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 message for 'GetDatacenterConnector' request.
    * 
* * Protobuf type {@code google.cloud.vmmigration.v1.GetDatacenterConnectorRequest} */ - 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.vmmigration.v1.GetDatacenterConnectorRequest) com.google.cloud.vmmigration.v1.GetDatacenterConnectorRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_GetDatacenterConnectorRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_GetDatacenterConnectorRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_GetDatacenterConnectorRequest_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_GetDatacenterConnectorRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.GetDatacenterConnectorRequest.class, - com.google.cloud.vmmigration.v1.GetDatacenterConnectorRequest.Builder.class); + com.google.cloud.vmmigration.v1.GetDatacenterConnectorRequest.class, com.google.cloud.vmmigration.v1.GetDatacenterConnectorRequest.Builder.class); } // Construct using com.google.cloud.vmmigration.v1.GetDatacenterConnectorRequest.newBuilder() @@ -359,15 +322,16 @@ 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) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -377,14 +341,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_GetDatacenterConnectorRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_GetDatacenterConnectorRequest_descriptor; } @java.lang.Override - public com.google.cloud.vmmigration.v1.GetDatacenterConnectorRequest - getDefaultInstanceForType() { + public com.google.cloud.vmmigration.v1.GetDatacenterConnectorRequest getDefaultInstanceForType() { return com.google.cloud.vmmigration.v1.GetDatacenterConnectorRequest.getDefaultInstance(); } @@ -399,8 +362,7 @@ public com.google.cloud.vmmigration.v1.GetDatacenterConnectorRequest build() { @java.lang.Override public com.google.cloud.vmmigration.v1.GetDatacenterConnectorRequest buildPartial() { - com.google.cloud.vmmigration.v1.GetDatacenterConnectorRequest result = - new com.google.cloud.vmmigration.v1.GetDatacenterConnectorRequest(this); + com.google.cloud.vmmigration.v1.GetDatacenterConnectorRequest result = new com.google.cloud.vmmigration.v1.GetDatacenterConnectorRequest(this); result.name_ = name_; onBuilt(); return result; @@ -410,39 +372,38 @@ public com.google.cloud.vmmigration.v1.GetDatacenterConnectorRequest buildPartia 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.vmmigration.v1.GetDatacenterConnectorRequest) { - return mergeFrom((com.google.cloud.vmmigration.v1.GetDatacenterConnectorRequest) other); + return mergeFrom((com.google.cloud.vmmigration.v1.GetDatacenterConnectorRequest)other); } else { super.mergeFrom(other); return this; @@ -450,9 +411,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.vmmigration.v1.GetDatacenterConnectorRequest other) { - if (other - == com.google.cloud.vmmigration.v1.GetDatacenterConnectorRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.vmmigration.v1.GetDatacenterConnectorRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -476,9 +435,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.vmmigration.v1.GetDatacenterConnectorRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.vmmigration.v1.GetDatacenterConnectorRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -490,22 +447,18 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the DatacenterConnector.
      * 
* - * - * 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; @@ -514,23 +467,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the DatacenterConnector.
      * 
* - * - * 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 { @@ -538,74 +488,61 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the DatacenterConnector.
      * 
* - * - * 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the DatacenterConnector.
      * 
* - * - * 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() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The name of the DatacenterConnector.
      * 
* - * - * 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) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = 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); } @@ -615,13 +552,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.vmmigration.v1.GetDatacenterConnectorRequest) } // @@protoc_insertion_point(class_scope:google.cloud.vmmigration.v1.GetDatacenterConnectorRequest) - private static final com.google.cloud.vmmigration.v1.GetDatacenterConnectorRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.vmmigration.v1.GetDatacenterConnectorRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.vmmigration.v1.GetDatacenterConnectorRequest(); } @@ -630,16 +566,16 @@ public static com.google.cloud.vmmigration.v1.GetDatacenterConnectorRequest getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetDatacenterConnectorRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetDatacenterConnectorRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetDatacenterConnectorRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetDatacenterConnectorRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -654,4 +590,6 @@ public com.google.protobuf.Parser getParserForTyp public com.google.cloud.vmmigration.v1.GetDatacenterConnectorRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetDatacenterConnectorRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetDatacenterConnectorRequestOrBuilder.java new file mode 100644 index 0000000..2db7558 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetDatacenterConnectorRequestOrBuilder.java @@ -0,0 +1,29 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/vmmigration/v1/vmmigration.proto + +package com.google.cloud.vmmigration.v1; + +public interface GetDatacenterConnectorRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.GetDatacenterConnectorRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The name of the DatacenterConnector.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The name of the DatacenterConnector.
+   * 
+ * + * 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/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetGroupRequest.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetGroupRequest.java similarity index 65% rename from proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetGroupRequest.java rename to owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetGroupRequest.java index 34adfee..a2c33a1 100644 --- a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetGroupRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetGroupRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; /** - * - * *
  * Request message for 'GetGroup' request.
  * 
* * Protobuf type {@code google.cloud.vmmigration.v1.GetGroupRequest} */ -public final class GetGroupRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetGroupRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.vmmigration.v1.GetGroupRequest) GetGroupRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetGroupRequest.newBuilder() to construct. private GetGroupRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetGroupRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetGroupRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private GetGroupRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private GetGroupRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,41 +73,34 @@ private GetGroupRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_GetGroupRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_GetGroupRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_GetGroupRequest_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_GetGroupRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.GetGroupRequest.class, - com.google.cloud.vmmigration.v1.GetGroupRequest.Builder.class); + com.google.cloud.vmmigration.v1.GetGroupRequest.class, com.google.cloud.vmmigration.v1.GetGroupRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The group name.
    * 
* - * - * 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 @@ -134,31 +109,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; } } /** - * - * *
    * Required. The group name.
    * 
* - * - * 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 { @@ -167,7 +140,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -179,7 +151,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_); } @@ -203,15 +176,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.vmmigration.v1.GetGroupRequest)) { return super.equals(obj); } - com.google.cloud.vmmigration.v1.GetGroupRequest other = - (com.google.cloud.vmmigration.v1.GetGroupRequest) obj; + com.google.cloud.vmmigration.v1.GetGroupRequest other = (com.google.cloud.vmmigration.v1.GetGroupRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -230,127 +203,118 @@ public int hashCode() { return hash; } - public static com.google.cloud.vmmigration.v1.GetGroupRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.vmmigration.v1.GetGroupRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.vmmigration.v1.GetGroupRequest 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.vmmigration.v1.GetGroupRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.vmmigration.v1.GetGroupRequest 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.vmmigration.v1.GetGroupRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.vmmigration.v1.GetGroupRequest 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.vmmigration.v1.GetGroupRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.vmmigration.v1.GetGroupRequest 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.vmmigration.v1.GetGroupRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.vmmigration.v1.GetGroupRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.vmmigration.v1.GetGroupRequest 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.vmmigration.v1.GetGroupRequest 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.vmmigration.v1.GetGroupRequest 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.vmmigration.v1.GetGroupRequest 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 message for 'GetGroup' request.
    * 
* * Protobuf type {@code google.cloud.vmmigration.v1.GetGroupRequest} */ - 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.vmmigration.v1.GetGroupRequest) com.google.cloud.vmmigration.v1.GetGroupRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_GetGroupRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_GetGroupRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_GetGroupRequest_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_GetGroupRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.GetGroupRequest.class, - com.google.cloud.vmmigration.v1.GetGroupRequest.Builder.class); + com.google.cloud.vmmigration.v1.GetGroupRequest.class, com.google.cloud.vmmigration.v1.GetGroupRequest.Builder.class); } // Construct using com.google.cloud.vmmigration.v1.GetGroupRequest.newBuilder() @@ -358,15 +322,16 @@ 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) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -376,9 +341,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_GetGroupRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_GetGroupRequest_descriptor; } @java.lang.Override @@ -397,8 +362,7 @@ public com.google.cloud.vmmigration.v1.GetGroupRequest build() { @java.lang.Override public com.google.cloud.vmmigration.v1.GetGroupRequest buildPartial() { - com.google.cloud.vmmigration.v1.GetGroupRequest result = - new com.google.cloud.vmmigration.v1.GetGroupRequest(this); + com.google.cloud.vmmigration.v1.GetGroupRequest result = new com.google.cloud.vmmigration.v1.GetGroupRequest(this); result.name_ = name_; onBuilt(); return result; @@ -408,39 +372,38 @@ public com.google.cloud.vmmigration.v1.GetGroupRequest buildPartial() { 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.vmmigration.v1.GetGroupRequest) { - return mergeFrom((com.google.cloud.vmmigration.v1.GetGroupRequest) other); + return mergeFrom((com.google.cloud.vmmigration.v1.GetGroupRequest)other); } else { super.mergeFrom(other); return this; @@ -448,8 +411,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.vmmigration.v1.GetGroupRequest other) { - if (other == com.google.cloud.vmmigration.v1.GetGroupRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.vmmigration.v1.GetGroupRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -485,22 +447,18 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The group name.
      * 
* - * - * 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; @@ -509,23 +467,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The group name.
      * 
* - * - * 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,74 +488,61 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The group name.
      * 
* - * - * 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The group name.
      * 
* - * - * 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() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The group name.
      * 
* - * - * 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) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = 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); } @@ -610,12 +552,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.vmmigration.v1.GetGroupRequest) } // @@protoc_insertion_point(class_scope:google.cloud.vmmigration.v1.GetGroupRequest) private static final com.google.cloud.vmmigration.v1.GetGroupRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.vmmigration.v1.GetGroupRequest(); } @@ -624,16 +566,16 @@ public static com.google.cloud.vmmigration.v1.GetGroupRequest getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetGroupRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetGroupRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetGroupRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetGroupRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -648,4 +590,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.vmmigration.v1.GetGroupRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetGroupRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetGroupRequestOrBuilder.java new file mode 100644 index 0000000..c3f0d1f --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetGroupRequestOrBuilder.java @@ -0,0 +1,29 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/vmmigration/v1/vmmigration.proto + +package com.google.cloud.vmmigration.v1; + +public interface GetGroupRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.GetGroupRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The group name.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The group name.
+   * 
+ * + * 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/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetMigratingVmRequest.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetMigratingVmRequest.java similarity index 55% rename from proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetMigratingVmRequest.java rename to owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetMigratingVmRequest.java index 08b3eb7..55daa84 100644 --- a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetMigratingVmRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetMigratingVmRequest.java @@ -1,57 +1,41 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; /** - * - * *
  * Request message for 'GetMigratingVm' request.
  * 
* * Protobuf type {@code google.cloud.vmmigration.v1.GetMigratingVmRequest} */ -public final class GetMigratingVmRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetMigratingVmRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.vmmigration.v1.GetMigratingVmRequest) GetMigratingVmRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetMigratingVmRequest.newBuilder() to construct. private GetMigratingVmRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetMigratingVmRequest() { name_ = ""; + view_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetMigratingVmRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private GetMigratingVmRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +54,25 @@ private GetMigratingVmRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + case 16: { + int rawValue = input.readEnum(); + + view_ = rawValue; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,41 +80,34 @@ private GetMigratingVmRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_GetMigratingVmRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_GetMigratingVmRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_GetMigratingVmRequest_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_GetMigratingVmRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.GetMigratingVmRequest.class, - com.google.cloud.vmmigration.v1.GetMigratingVmRequest.Builder.class); + com.google.cloud.vmmigration.v1.GetMigratingVmRequest.class, com.google.cloud.vmmigration.v1.GetMigratingVmRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The name of the MigratingVm.
    * 
* - * - * 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 @@ -134,31 +116,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; } } /** - * - * *
    * Required. The name of the MigratingVm.
    * 
* - * - * 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 { @@ -166,8 +146,34 @@ public com.google.protobuf.ByteString getNameBytes() { } } - private byte memoizedIsInitialized = -1; + public static final int VIEW_FIELD_NUMBER = 2; + private int view_; + /** + *
+   * Optional. The level of details of the migrating VM.
+   * 
+ * + * .google.cloud.vmmigration.v1.MigratingVmView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return The enum numeric value on the wire for view. + */ + @java.lang.Override public int getViewValue() { + return view_; + } + /** + *
+   * Optional. The level of details of the migrating VM.
+   * 
+ * + * .google.cloud.vmmigration.v1.MigratingVmView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return The view. + */ + @java.lang.Override public com.google.cloud.vmmigration.v1.MigratingVmView getView() { + @SuppressWarnings("deprecation") + com.google.cloud.vmmigration.v1.MigratingVmView result = com.google.cloud.vmmigration.v1.MigratingVmView.valueOf(view_); + return result == null ? com.google.cloud.vmmigration.v1.MigratingVmView.UNRECOGNIZED : result; + } + private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -179,10 +185,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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } + if (view_ != com.google.cloud.vmmigration.v1.MigratingVmView.MIGRATING_VM_VIEW_UNSPECIFIED.getNumber()) { + output.writeEnum(2, view_); + } unknownFields.writeTo(output); } @@ -195,6 +205,10 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } + if (view_ != com.google.cloud.vmmigration.v1.MigratingVmView.MIGRATING_VM_VIEW_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, view_); + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -203,15 +217,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.vmmigration.v1.GetMigratingVmRequest)) { return super.equals(obj); } - com.google.cloud.vmmigration.v1.GetMigratingVmRequest other = - (com.google.cloud.vmmigration.v1.GetMigratingVmRequest) obj; + com.google.cloud.vmmigration.v1.GetMigratingVmRequest other = (com.google.cloud.vmmigration.v1.GetMigratingVmRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; + if (view_ != other.view_) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -225,133 +240,125 @@ public int hashCode() { hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); + hash = (37 * hash) + VIEW_FIELD_NUMBER; + hash = (53 * hash) + view_; hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.vmmigration.v1.GetMigratingVmRequest 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.vmmigration.v1.GetMigratingVmRequest 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.vmmigration.v1.GetMigratingVmRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.vmmigration.v1.GetMigratingVmRequest 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.vmmigration.v1.GetMigratingVmRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.vmmigration.v1.GetMigratingVmRequest 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.vmmigration.v1.GetMigratingVmRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.vmmigration.v1.GetMigratingVmRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.vmmigration.v1.GetMigratingVmRequest 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.vmmigration.v1.GetMigratingVmRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.vmmigration.v1.GetMigratingVmRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.vmmigration.v1.GetMigratingVmRequest 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.vmmigration.v1.GetMigratingVmRequest 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.vmmigration.v1.GetMigratingVmRequest 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.vmmigration.v1.GetMigratingVmRequest prototype) { + public static Builder newBuilder(com.google.cloud.vmmigration.v1.GetMigratingVmRequest 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 message for 'GetMigratingVm' request.
    * 
* * Protobuf type {@code google.cloud.vmmigration.v1.GetMigratingVmRequest} */ - 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.vmmigration.v1.GetMigratingVmRequest) com.google.cloud.vmmigration.v1.GetMigratingVmRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_GetMigratingVmRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_GetMigratingVmRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_GetMigratingVmRequest_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_GetMigratingVmRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.GetMigratingVmRequest.class, - com.google.cloud.vmmigration.v1.GetMigratingVmRequest.Builder.class); + com.google.cloud.vmmigration.v1.GetMigratingVmRequest.class, com.google.cloud.vmmigration.v1.GetMigratingVmRequest.Builder.class); } // Construct using com.google.cloud.vmmigration.v1.GetMigratingVmRequest.newBuilder() @@ -359,27 +366,30 @@ 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) { + } } - @java.lang.Override public Builder clear() { super.clear(); name_ = ""; + view_ = 0; + return this; } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_GetMigratingVmRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_GetMigratingVmRequest_descriptor; } @java.lang.Override @@ -398,9 +408,9 @@ public com.google.cloud.vmmigration.v1.GetMigratingVmRequest build() { @java.lang.Override public com.google.cloud.vmmigration.v1.GetMigratingVmRequest buildPartial() { - com.google.cloud.vmmigration.v1.GetMigratingVmRequest result = - new com.google.cloud.vmmigration.v1.GetMigratingVmRequest(this); + com.google.cloud.vmmigration.v1.GetMigratingVmRequest result = new com.google.cloud.vmmigration.v1.GetMigratingVmRequest(this); result.name_ = name_; + result.view_ = view_; onBuilt(); return result; } @@ -409,39 +419,38 @@ public com.google.cloud.vmmigration.v1.GetMigratingVmRequest buildPartial() { 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.vmmigration.v1.GetMigratingVmRequest) { - return mergeFrom((com.google.cloud.vmmigration.v1.GetMigratingVmRequest) other); + return mergeFrom((com.google.cloud.vmmigration.v1.GetMigratingVmRequest)other); } else { super.mergeFrom(other); return this; @@ -449,12 +458,14 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.vmmigration.v1.GetMigratingVmRequest other) { - if (other == com.google.cloud.vmmigration.v1.GetMigratingVmRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.vmmigration.v1.GetMigratingVmRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); } + if (other.view_ != 0) { + setViewValue(other.getViewValue()); + } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -474,8 +485,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.vmmigration.v1.GetMigratingVmRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.vmmigration.v1.GetMigratingVmRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -487,22 +497,18 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the MigratingVm.
      * 
* - * - * 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; @@ -511,23 +517,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the MigratingVm.
      * 
* - * - * 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 { @@ -535,74 +538,135 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the MigratingVm.
      * 
* - * - * 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the MigratingVm.
      * 
* - * - * 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() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + *
+     * Required. The name of the MigratingVm.
+     * 
* + * 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(); + } + checkByteStringIsUtf8(value); + + name_ = value; + onChanged(); + return this; + } + + private int view_ = 0; + /** + *
+     * Optional. The level of details of the migrating VM.
+     * 
* + * .google.cloud.vmmigration.v1.MigratingVmView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return The enum numeric value on the wire for view. + */ + @java.lang.Override public int getViewValue() { + return view_; + } + /** *
-     * Required. The name of the MigratingVm.
+     * Optional. The level of details of the migrating VM.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * + * .google.cloud.vmmigration.v1.MigratingVmView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @param value The enum numeric value on the wire for view to set. + * @return This builder for chaining. + */ + public Builder setViewValue(int value) { + + view_ = value; + onChanged(); + return this; + } + /** + *
+     * Optional. The level of details of the migrating VM.
+     * 
* - * @param value The bytes for name to set. + * .google.cloud.vmmigration.v1.MigratingVmView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return The view. + */ + @java.lang.Override + public com.google.cloud.vmmigration.v1.MigratingVmView getView() { + @SuppressWarnings("deprecation") + com.google.cloud.vmmigration.v1.MigratingVmView result = com.google.cloud.vmmigration.v1.MigratingVmView.valueOf(view_); + return result == null ? com.google.cloud.vmmigration.v1.MigratingVmView.UNRECOGNIZED : result; + } + /** + *
+     * Optional. The level of details of the migrating VM.
+     * 
+ * + * .google.cloud.vmmigration.v1.MigratingVmView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @param value The view to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setView(com.google.cloud.vmmigration.v1.MigratingVmView value) { if (value == null) { throw new NullPointerException(); } - checkByteStringIsUtf8(value); - - name_ = value; + + view_ = value.getNumber(); + onChanged(); + return this; + } + /** + *
+     * Optional. The level of details of the migrating VM.
+     * 
+ * + * .google.cloud.vmmigration.v1.MigratingVmView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return This builder for chaining. + */ + public Builder clearView() { + + view_ = 0; 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,12 +676,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.vmmigration.v1.GetMigratingVmRequest) } // @@protoc_insertion_point(class_scope:google.cloud.vmmigration.v1.GetMigratingVmRequest) private static final com.google.cloud.vmmigration.v1.GetMigratingVmRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.vmmigration.v1.GetMigratingVmRequest(); } @@ -626,16 +690,16 @@ public static com.google.cloud.vmmigration.v1.GetMigratingVmRequest getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetMigratingVmRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetMigratingVmRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetMigratingVmRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetMigratingVmRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -650,4 +714,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.vmmigration.v1.GetMigratingVmRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetMigratingVmRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetMigratingVmRequestOrBuilder.java new file mode 100644 index 0000000..3ba80a7 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetMigratingVmRequestOrBuilder.java @@ -0,0 +1,48 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/vmmigration/v1/vmmigration.proto + +package com.google.cloud.vmmigration.v1; + +public interface GetMigratingVmRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.GetMigratingVmRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The name of the MigratingVm.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The name of the MigratingVm.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); + + /** + *
+   * Optional. The level of details of the migrating VM.
+   * 
+ * + * .google.cloud.vmmigration.v1.MigratingVmView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return The enum numeric value on the wire for view. + */ + int getViewValue(); + /** + *
+   * Optional. The level of details of the migrating VM.
+   * 
+ * + * .google.cloud.vmmigration.v1.MigratingVmView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return The view. + */ + com.google.cloud.vmmigration.v1.MigratingVmView getView(); +} diff --git a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetSourceRequest.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetSourceRequest.java similarity index 64% rename from proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetSourceRequest.java rename to owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetSourceRequest.java index b4b7681..98fb4f9 100644 --- a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetSourceRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetSourceRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; /** - * - * *
  * Request message for 'GetSource' request.
  * 
* * Protobuf type {@code google.cloud.vmmigration.v1.GetSourceRequest} */ -public final class GetSourceRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetSourceRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.vmmigration.v1.GetSourceRequest) GetSourceRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetSourceRequest.newBuilder() to construct. private GetSourceRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetSourceRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetSourceRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private GetSourceRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private GetSourceRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,41 +73,34 @@ private GetSourceRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_GetSourceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_GetSourceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_GetSourceRequest_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_GetSourceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.GetSourceRequest.class, - com.google.cloud.vmmigration.v1.GetSourceRequest.Builder.class); + com.google.cloud.vmmigration.v1.GetSourceRequest.class, com.google.cloud.vmmigration.v1.GetSourceRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The Source name.
    * 
* - * - * 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 @@ -134,31 +109,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; } } /** - * - * *
    * Required. The Source name.
    * 
* - * - * 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 { @@ -167,7 +140,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -179,7 +151,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_); } @@ -203,15 +176,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.vmmigration.v1.GetSourceRequest)) { return super.equals(obj); } - com.google.cloud.vmmigration.v1.GetSourceRequest other = - (com.google.cloud.vmmigration.v1.GetSourceRequest) obj; + com.google.cloud.vmmigration.v1.GetSourceRequest other = (com.google.cloud.vmmigration.v1.GetSourceRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -230,127 +203,118 @@ public int hashCode() { return hash; } - public static com.google.cloud.vmmigration.v1.GetSourceRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.vmmigration.v1.GetSourceRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.vmmigration.v1.GetSourceRequest 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.vmmigration.v1.GetSourceRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.vmmigration.v1.GetSourceRequest 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.vmmigration.v1.GetSourceRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.vmmigration.v1.GetSourceRequest 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.vmmigration.v1.GetSourceRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.vmmigration.v1.GetSourceRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.vmmigration.v1.GetSourceRequest 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.vmmigration.v1.GetSourceRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.vmmigration.v1.GetSourceRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.vmmigration.v1.GetSourceRequest 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.vmmigration.v1.GetSourceRequest 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.vmmigration.v1.GetSourceRequest 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.vmmigration.v1.GetSourceRequest 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 message for 'GetSource' request.
    * 
* * Protobuf type {@code google.cloud.vmmigration.v1.GetSourceRequest} */ - 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.vmmigration.v1.GetSourceRequest) com.google.cloud.vmmigration.v1.GetSourceRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_GetSourceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_GetSourceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_GetSourceRequest_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_GetSourceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.GetSourceRequest.class, - com.google.cloud.vmmigration.v1.GetSourceRequest.Builder.class); + com.google.cloud.vmmigration.v1.GetSourceRequest.class, com.google.cloud.vmmigration.v1.GetSourceRequest.Builder.class); } // Construct using com.google.cloud.vmmigration.v1.GetSourceRequest.newBuilder() @@ -358,15 +322,16 @@ 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) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -376,9 +341,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_GetSourceRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_GetSourceRequest_descriptor; } @java.lang.Override @@ -397,8 +362,7 @@ public com.google.cloud.vmmigration.v1.GetSourceRequest build() { @java.lang.Override public com.google.cloud.vmmigration.v1.GetSourceRequest buildPartial() { - com.google.cloud.vmmigration.v1.GetSourceRequest result = - new com.google.cloud.vmmigration.v1.GetSourceRequest(this); + com.google.cloud.vmmigration.v1.GetSourceRequest result = new com.google.cloud.vmmigration.v1.GetSourceRequest(this); result.name_ = name_; onBuilt(); return result; @@ -408,39 +372,38 @@ public com.google.cloud.vmmigration.v1.GetSourceRequest buildPartial() { 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.vmmigration.v1.GetSourceRequest) { - return mergeFrom((com.google.cloud.vmmigration.v1.GetSourceRequest) other); + return mergeFrom((com.google.cloud.vmmigration.v1.GetSourceRequest)other); } else { super.mergeFrom(other); return this; @@ -448,8 +411,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.vmmigration.v1.GetSourceRequest other) { - if (other == com.google.cloud.vmmigration.v1.GetSourceRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.vmmigration.v1.GetSourceRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -485,22 +447,18 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The Source name.
      * 
* - * - * 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; @@ -509,23 +467,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The Source name.
      * 
* - * - * 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,74 +488,61 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The Source name.
      * 
* - * - * 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The Source name.
      * 
* - * - * 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() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The Source name.
      * 
* - * - * 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) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = 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); } @@ -610,12 +552,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.vmmigration.v1.GetSourceRequest) } // @@protoc_insertion_point(class_scope:google.cloud.vmmigration.v1.GetSourceRequest) private static final com.google.cloud.vmmigration.v1.GetSourceRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.vmmigration.v1.GetSourceRequest(); } @@ -624,16 +566,16 @@ public static com.google.cloud.vmmigration.v1.GetSourceRequest getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetSourceRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetSourceRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetSourceRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetSourceRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -648,4 +590,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.vmmigration.v1.GetSourceRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetSourceRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetSourceRequestOrBuilder.java new file mode 100644 index 0000000..d89d0b5 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetSourceRequestOrBuilder.java @@ -0,0 +1,29 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/vmmigration/v1/vmmigration.proto + +package com.google.cloud.vmmigration.v1; + +public interface GetSourceRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.GetSourceRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The Source name.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The Source name.
+   * 
+ * + * 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/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetTargetProjectRequest.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetTargetProjectRequest.java similarity index 64% rename from proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetTargetProjectRequest.java rename to owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetTargetProjectRequest.java index d81aefc..ea3b3e5 100644 --- a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetTargetProjectRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetTargetProjectRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; /** - * - * *
  * Request message for 'GetTargetProject' call.
  * 
* * Protobuf type {@code google.cloud.vmmigration.v1.GetTargetProjectRequest} */ -public final class GetTargetProjectRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetTargetProjectRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.vmmigration.v1.GetTargetProjectRequest) GetTargetProjectRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetTargetProjectRequest.newBuilder() to construct. private GetTargetProjectRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetTargetProjectRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetTargetProjectRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private GetTargetProjectRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private GetTargetProjectRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,41 +73,34 @@ private GetTargetProjectRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_GetTargetProjectRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_GetTargetProjectRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_GetTargetProjectRequest_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_GetTargetProjectRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.GetTargetProjectRequest.class, - com.google.cloud.vmmigration.v1.GetTargetProjectRequest.Builder.class); + com.google.cloud.vmmigration.v1.GetTargetProjectRequest.class, com.google.cloud.vmmigration.v1.GetTargetProjectRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The TargetProject name.
    * 
* - * - * 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 @@ -134,31 +109,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; } } /** - * - * *
    * Required. The TargetProject name.
    * 
* - * - * 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 { @@ -167,7 +140,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -179,7 +151,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_); } @@ -203,15 +176,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.vmmigration.v1.GetTargetProjectRequest)) { return super.equals(obj); } - com.google.cloud.vmmigration.v1.GetTargetProjectRequest other = - (com.google.cloud.vmmigration.v1.GetTargetProjectRequest) obj; + com.google.cloud.vmmigration.v1.GetTargetProjectRequest other = (com.google.cloud.vmmigration.v1.GetTargetProjectRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -231,127 +204,117 @@ public int hashCode() { } public static com.google.cloud.vmmigration.v1.GetTargetProjectRequest 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.vmmigration.v1.GetTargetProjectRequest 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.vmmigration.v1.GetTargetProjectRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.vmmigration.v1.GetTargetProjectRequest 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.vmmigration.v1.GetTargetProjectRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.vmmigration.v1.GetTargetProjectRequest 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.vmmigration.v1.GetTargetProjectRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.vmmigration.v1.GetTargetProjectRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.vmmigration.v1.GetTargetProjectRequest 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.vmmigration.v1.GetTargetProjectRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.vmmigration.v1.GetTargetProjectRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.vmmigration.v1.GetTargetProjectRequest 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.vmmigration.v1.GetTargetProjectRequest 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.vmmigration.v1.GetTargetProjectRequest 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.vmmigration.v1.GetTargetProjectRequest prototype) { + public static Builder newBuilder(com.google.cloud.vmmigration.v1.GetTargetProjectRequest 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 message for 'GetTargetProject' call.
    * 
* * Protobuf type {@code google.cloud.vmmigration.v1.GetTargetProjectRequest} */ - 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.vmmigration.v1.GetTargetProjectRequest) com.google.cloud.vmmigration.v1.GetTargetProjectRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_GetTargetProjectRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_GetTargetProjectRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_GetTargetProjectRequest_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_GetTargetProjectRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.GetTargetProjectRequest.class, - com.google.cloud.vmmigration.v1.GetTargetProjectRequest.Builder.class); + com.google.cloud.vmmigration.v1.GetTargetProjectRequest.class, com.google.cloud.vmmigration.v1.GetTargetProjectRequest.Builder.class); } // Construct using com.google.cloud.vmmigration.v1.GetTargetProjectRequest.newBuilder() @@ -359,15 +322,16 @@ 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) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -377,9 +341,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_GetTargetProjectRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_GetTargetProjectRequest_descriptor; } @java.lang.Override @@ -398,8 +362,7 @@ public com.google.cloud.vmmigration.v1.GetTargetProjectRequest build() { @java.lang.Override public com.google.cloud.vmmigration.v1.GetTargetProjectRequest buildPartial() { - com.google.cloud.vmmigration.v1.GetTargetProjectRequest result = - new com.google.cloud.vmmigration.v1.GetTargetProjectRequest(this); + com.google.cloud.vmmigration.v1.GetTargetProjectRequest result = new com.google.cloud.vmmigration.v1.GetTargetProjectRequest(this); result.name_ = name_; onBuilt(); return result; @@ -409,39 +372,38 @@ public com.google.cloud.vmmigration.v1.GetTargetProjectRequest buildPartial() { 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.vmmigration.v1.GetTargetProjectRequest) { - return mergeFrom((com.google.cloud.vmmigration.v1.GetTargetProjectRequest) other); + return mergeFrom((com.google.cloud.vmmigration.v1.GetTargetProjectRequest)other); } else { super.mergeFrom(other); return this; @@ -449,8 +411,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.vmmigration.v1.GetTargetProjectRequest other) { - if (other == com.google.cloud.vmmigration.v1.GetTargetProjectRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.vmmigration.v1.GetTargetProjectRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -474,8 +435,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.vmmigration.v1.GetTargetProjectRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.vmmigration.v1.GetTargetProjectRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -487,22 +447,18 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The TargetProject name.
      * 
* - * - * 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; @@ -511,23 +467,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The TargetProject name.
      * 
* - * - * 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 { @@ -535,74 +488,61 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The TargetProject name.
      * 
* - * - * 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The TargetProject name.
      * 
* - * - * 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() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The TargetProject name.
      * 
* - * - * 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) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = 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); } @@ -612,12 +552,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.vmmigration.v1.GetTargetProjectRequest) } // @@protoc_insertion_point(class_scope:google.cloud.vmmigration.v1.GetTargetProjectRequest) private static final com.google.cloud.vmmigration.v1.GetTargetProjectRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.vmmigration.v1.GetTargetProjectRequest(); } @@ -626,16 +566,16 @@ public static com.google.cloud.vmmigration.v1.GetTargetProjectRequest getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetTargetProjectRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetTargetProjectRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetTargetProjectRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetTargetProjectRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -650,4 +590,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.vmmigration.v1.GetTargetProjectRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetTargetProjectRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetTargetProjectRequestOrBuilder.java new file mode 100644 index 0000000..506a5fb --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetTargetProjectRequestOrBuilder.java @@ -0,0 +1,29 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/vmmigration/v1/vmmigration.proto + +package com.google.cloud.vmmigration.v1; + +public interface GetTargetProjectRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.GetTargetProjectRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The TargetProject name.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The TargetProject name.
+   * 
+ * + * 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/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetUtilizationReportRequest.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetUtilizationReportRequest.java similarity index 62% rename from proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetUtilizationReportRequest.java rename to owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetUtilizationReportRequest.java index ce94383..e5ec6e1 100644 --- a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetUtilizationReportRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetUtilizationReportRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; /** - * - * *
  * Request message for 'GetUtilizationReport' request.
  * 
* * Protobuf type {@code google.cloud.vmmigration.v1.GetUtilizationReportRequest} */ -public final class GetUtilizationReportRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetUtilizationReportRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.vmmigration.v1.GetUtilizationReportRequest) GetUtilizationReportRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetUtilizationReportRequest.newBuilder() to construct. private GetUtilizationReportRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetUtilizationReportRequest() { name_ = ""; view_ = 0; @@ -44,15 +26,16 @@ private GetUtilizationReportRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetUtilizationReportRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private GetUtilizationReportRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,27 +54,25 @@ private GetUtilizationReportRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 16: - { - int rawValue = input.readEnum(); + name_ = s; + break; + } + case 16: { + int rawValue = input.readEnum(); - view_ = rawValue; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + view_ = rawValue; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -99,41 +80,34 @@ private GetUtilizationReportRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_GetUtilizationReportRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_GetUtilizationReportRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_GetUtilizationReportRequest_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_GetUtilizationReportRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.GetUtilizationReportRequest.class, - com.google.cloud.vmmigration.v1.GetUtilizationReportRequest.Builder.class); + com.google.cloud.vmmigration.v1.GetUtilizationReportRequest.class, com.google.cloud.vmmigration.v1.GetUtilizationReportRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The Utilization Report name.
    * 
* - * - * 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 @@ -142,31 +116,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; } } /** - * - * *
    * Required. The Utilization Report name.
    * 
* - * - * 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 { @@ -177,49 +149,33 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int VIEW_FIELD_NUMBER = 2; private int view_; /** - * - * *
    * Optional. The level of details of the report.
    * Defaults to FULL
    * 
* - * - * .google.cloud.vmmigration.v1.UtilizationReportView view = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.vmmigration.v1.UtilizationReportView view = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return The enum numeric value on the wire for view. */ - @java.lang.Override - public int getViewValue() { + @java.lang.Override public int getViewValue() { return view_; } /** - * - * *
    * Optional. The level of details of the report.
    * Defaults to FULL
    * 
* - * - * .google.cloud.vmmigration.v1.UtilizationReportView view = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.vmmigration.v1.UtilizationReportView view = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return The view. */ - @java.lang.Override - public com.google.cloud.vmmigration.v1.UtilizationReportView getView() { + @java.lang.Override public com.google.cloud.vmmigration.v1.UtilizationReportView getView() { @SuppressWarnings("deprecation") - com.google.cloud.vmmigration.v1.UtilizationReportView result = - com.google.cloud.vmmigration.v1.UtilizationReportView.valueOf(view_); - return result == null - ? com.google.cloud.vmmigration.v1.UtilizationReportView.UNRECOGNIZED - : result; + com.google.cloud.vmmigration.v1.UtilizationReportView result = com.google.cloud.vmmigration.v1.UtilizationReportView.valueOf(view_); + return result == null ? com.google.cloud.vmmigration.v1.UtilizationReportView.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -231,13 +187,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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } - if (view_ - != com.google.cloud.vmmigration.v1.UtilizationReportView.UTILIZATION_REPORT_VIEW_UNSPECIFIED - .getNumber()) { + if (view_ != com.google.cloud.vmmigration.v1.UtilizationReportView.UTILIZATION_REPORT_VIEW_UNSPECIFIED.getNumber()) { output.writeEnum(2, view_); } unknownFields.writeTo(output); @@ -252,10 +207,9 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } - if (view_ - != com.google.cloud.vmmigration.v1.UtilizationReportView.UTILIZATION_REPORT_VIEW_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, view_); + if (view_ != com.google.cloud.vmmigration.v1.UtilizationReportView.UTILIZATION_REPORT_VIEW_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, view_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -265,15 +219,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.vmmigration.v1.GetUtilizationReportRequest)) { return super.equals(obj); } - com.google.cloud.vmmigration.v1.GetUtilizationReportRequest other = - (com.google.cloud.vmmigration.v1.GetUtilizationReportRequest) obj; + com.google.cloud.vmmigration.v1.GetUtilizationReportRequest other = (com.google.cloud.vmmigration.v1.GetUtilizationReportRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (view_ != other.view_) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -296,127 +250,117 @@ public int hashCode() { } public static com.google.cloud.vmmigration.v1.GetUtilizationReportRequest 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.vmmigration.v1.GetUtilizationReportRequest 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.vmmigration.v1.GetUtilizationReportRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.vmmigration.v1.GetUtilizationReportRequest 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.vmmigration.v1.GetUtilizationReportRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.vmmigration.v1.GetUtilizationReportRequest 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.vmmigration.v1.GetUtilizationReportRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.vmmigration.v1.GetUtilizationReportRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.vmmigration.v1.GetUtilizationReportRequest 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.vmmigration.v1.GetUtilizationReportRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.vmmigration.v1.GetUtilizationReportRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.vmmigration.v1.GetUtilizationReportRequest 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.vmmigration.v1.GetUtilizationReportRequest 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.vmmigration.v1.GetUtilizationReportRequest 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.vmmigration.v1.GetUtilizationReportRequest prototype) { + public static Builder newBuilder(com.google.cloud.vmmigration.v1.GetUtilizationReportRequest 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 message for 'GetUtilizationReport' request.
    * 
* * Protobuf type {@code google.cloud.vmmigration.v1.GetUtilizationReportRequest} */ - 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.vmmigration.v1.GetUtilizationReportRequest) com.google.cloud.vmmigration.v1.GetUtilizationReportRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_GetUtilizationReportRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_GetUtilizationReportRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_GetUtilizationReportRequest_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_GetUtilizationReportRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.GetUtilizationReportRequest.class, - com.google.cloud.vmmigration.v1.GetUtilizationReportRequest.Builder.class); + com.google.cloud.vmmigration.v1.GetUtilizationReportRequest.class, com.google.cloud.vmmigration.v1.GetUtilizationReportRequest.Builder.class); } // Construct using com.google.cloud.vmmigration.v1.GetUtilizationReportRequest.newBuilder() @@ -424,15 +368,16 @@ 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) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -444,9 +389,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_GetUtilizationReportRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_GetUtilizationReportRequest_descriptor; } @java.lang.Override @@ -465,8 +410,7 @@ public com.google.cloud.vmmigration.v1.GetUtilizationReportRequest build() { @java.lang.Override public com.google.cloud.vmmigration.v1.GetUtilizationReportRequest buildPartial() { - com.google.cloud.vmmigration.v1.GetUtilizationReportRequest result = - new com.google.cloud.vmmigration.v1.GetUtilizationReportRequest(this); + com.google.cloud.vmmigration.v1.GetUtilizationReportRequest result = new com.google.cloud.vmmigration.v1.GetUtilizationReportRequest(this); result.name_ = name_; result.view_ = view_; onBuilt(); @@ -477,39 +421,38 @@ public com.google.cloud.vmmigration.v1.GetUtilizationReportRequest buildPartial( 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.vmmigration.v1.GetUtilizationReportRequest) { - return mergeFrom((com.google.cloud.vmmigration.v1.GetUtilizationReportRequest) other); + return mergeFrom((com.google.cloud.vmmigration.v1.GetUtilizationReportRequest)other); } else { super.mergeFrom(other); return this; @@ -517,8 +460,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.vmmigration.v1.GetUtilizationReportRequest other) { - if (other == com.google.cloud.vmmigration.v1.GetUtilizationReportRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.vmmigration.v1.GetUtilizationReportRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -545,8 +487,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.vmmigration.v1.GetUtilizationReportRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.vmmigration.v1.GetUtilizationReportRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -558,22 +499,18 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The Utilization Report name.
      * 
* - * - * 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; @@ -582,23 +519,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The Utilization Report name.
      * 
* - * - * 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 { @@ -606,67 +540,54 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The Utilization Report name.
      * 
* - * - * 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The Utilization Report name.
      * 
* - * - * 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() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The Utilization Report name.
      * 
* - * - * 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) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -674,79 +595,55 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private int view_ = 0; /** - * - * *
      * Optional. The level of details of the report.
      * Defaults to FULL
      * 
* - * - * .google.cloud.vmmigration.v1.UtilizationReportView view = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.vmmigration.v1.UtilizationReportView view = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return The enum numeric value on the wire for view. */ - @java.lang.Override - public int getViewValue() { + @java.lang.Override public int getViewValue() { return view_; } /** - * - * *
      * Optional. The level of details of the report.
      * Defaults to FULL
      * 
* - * - * .google.cloud.vmmigration.v1.UtilizationReportView view = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.vmmigration.v1.UtilizationReportView view = 2 [(.google.api.field_behavior) = OPTIONAL]; * @param value The enum numeric value on the wire for view to set. * @return This builder for chaining. */ public Builder setViewValue(int value) { - + view_ = value; onChanged(); return this; } /** - * - * *
      * Optional. The level of details of the report.
      * Defaults to FULL
      * 
* - * - * .google.cloud.vmmigration.v1.UtilizationReportView view = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.vmmigration.v1.UtilizationReportView view = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return The view. */ @java.lang.Override public com.google.cloud.vmmigration.v1.UtilizationReportView getView() { @SuppressWarnings("deprecation") - com.google.cloud.vmmigration.v1.UtilizationReportView result = - com.google.cloud.vmmigration.v1.UtilizationReportView.valueOf(view_); - return result == null - ? com.google.cloud.vmmigration.v1.UtilizationReportView.UNRECOGNIZED - : result; + com.google.cloud.vmmigration.v1.UtilizationReportView result = com.google.cloud.vmmigration.v1.UtilizationReportView.valueOf(view_); + return result == null ? com.google.cloud.vmmigration.v1.UtilizationReportView.UNRECOGNIZED : result; } /** - * - * *
      * Optional. The level of details of the report.
      * Defaults to FULL
      * 
* - * - * .google.cloud.vmmigration.v1.UtilizationReportView view = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.vmmigration.v1.UtilizationReportView view = 2 [(.google.api.field_behavior) = OPTIONAL]; * @param value The view to set. * @return This builder for chaining. */ @@ -754,34 +651,29 @@ public Builder setView(com.google.cloud.vmmigration.v1.UtilizationReportView val if (value == null) { throw new NullPointerException(); } - + view_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Optional. The level of details of the report.
      * Defaults to FULL
      * 
* - * - * .google.cloud.vmmigration.v1.UtilizationReportView view = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.vmmigration.v1.UtilizationReportView view = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return This builder for chaining. */ public Builder clearView() { - + view_ = 0; 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); } @@ -791,12 +683,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.vmmigration.v1.GetUtilizationReportRequest) } // @@protoc_insertion_point(class_scope:google.cloud.vmmigration.v1.GetUtilizationReportRequest) private static final com.google.cloud.vmmigration.v1.GetUtilizationReportRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.vmmigration.v1.GetUtilizationReportRequest(); } @@ -805,16 +697,16 @@ public static com.google.cloud.vmmigration.v1.GetUtilizationReportRequest getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetUtilizationReportRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetUtilizationReportRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetUtilizationReportRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetUtilizationReportRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -829,4 +721,6 @@ public com.google.protobuf.Parser getParserForType( public com.google.cloud.vmmigration.v1.GetUtilizationReportRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetUtilizationReportRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetUtilizationReportRequestOrBuilder.java new file mode 100644 index 0000000..68d0ba0 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetUtilizationReportRequestOrBuilder.java @@ -0,0 +1,50 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/vmmigration/v1/vmmigration.proto + +package com.google.cloud.vmmigration.v1; + +public interface GetUtilizationReportRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.GetUtilizationReportRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The Utilization Report name.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The Utilization Report name.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); + + /** + *
+   * Optional. The level of details of the report.
+   * Defaults to FULL
+   * 
+ * + * .google.cloud.vmmigration.v1.UtilizationReportView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return The enum numeric value on the wire for view. + */ + int getViewValue(); + /** + *
+   * Optional. The level of details of the report.
+   * Defaults to FULL
+   * 
+ * + * .google.cloud.vmmigration.v1.UtilizationReportView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return The view. + */ + com.google.cloud.vmmigration.v1.UtilizationReportView getView(); +} diff --git a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/Group.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/Group.java similarity index 66% rename from proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/Group.java rename to owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/Group.java index 2a47059..ef24c87 100644 --- a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/Group.java +++ b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/Group.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; /** - * - * *
  * Describes message for 'Group' resource. The Group is a collections of several
  * MigratingVms.
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.cloud.vmmigration.v1.Group}
  */
-public final class Group extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class Group extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.vmmigration.v1.Group)
     GroupOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use Group.newBuilder() to construct.
   private Group(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private Group() {
     name_ = "";
     description_ = "";
@@ -46,15 +28,16 @@ private Group() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new Group();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private Group(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -73,64 +56,57 @@ private Group(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              name_ = s;
-              break;
-            }
-          case 18:
-            {
-              com.google.protobuf.Timestamp.Builder subBuilder = null;
-              if (createTime_ != null) {
-                subBuilder = createTime_.toBuilder();
-              }
-              createTime_ =
-                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(createTime_);
-                createTime_ = subBuilder.buildPartial();
-              }
-
-              break;
+            name_ = s;
+            break;
+          }
+          case 18: {
+            com.google.protobuf.Timestamp.Builder subBuilder = null;
+            if (createTime_ != null) {
+              subBuilder = createTime_.toBuilder();
             }
-          case 26:
-            {
-              com.google.protobuf.Timestamp.Builder subBuilder = null;
-              if (updateTime_ != null) {
-                subBuilder = updateTime_.toBuilder();
-              }
-              updateTime_ =
-                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(updateTime_);
-                updateTime_ = subBuilder.buildPartial();
-              }
-
-              break;
+            createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(createTime_);
+              createTime_ = subBuilder.buildPartial();
             }
-          case 34:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
 
-              description_ = s;
-              break;
+            break;
+          }
+          case 26: {
+            com.google.protobuf.Timestamp.Builder subBuilder = null;
+            if (updateTime_ != null) {
+              subBuilder = updateTime_.toBuilder();
             }
-          case 42:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
-
-              displayName_ = s;
-              break;
+            updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(updateTime_);
+              updateTime_ = subBuilder.buildPartial();
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+
+            break;
+          }
+          case 34: {
+            java.lang.String s = input.readStringRequireUtf8();
+
+            description_ = s;
+            break;
+          }
+          case 42: {
+            java.lang.String s = input.readStringRequireUtf8();
+
+            displayName_ = s;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -138,39 +114,34 @@ private Group(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.vmmigration.v1.VmMigrationProto
-        .internal_static_google_cloud_vmmigration_v1_Group_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_Group_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.vmmigration.v1.VmMigrationProto
-        .internal_static_google_cloud_vmmigration_v1_Group_fieldAccessorTable
+    return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_Group_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.vmmigration.v1.Group.class,
-            com.google.cloud.vmmigration.v1.Group.Builder.class);
+            com.google.cloud.vmmigration.v1.Group.class, com.google.cloud.vmmigration.v1.Group.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
-   *
-   *
    * 
-   * The Group name.
+   * Output only. The Group name.
    * 
* - * string name = 1; - * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The name. */ @java.lang.Override @@ -179,29 +150,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 Group name.
+   * Output only. The Group name.
    * 
* - * string name = 1; - * + * 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 { @@ -212,15 +183,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int CREATE_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp createTime_; /** - * - * *
    * Output only. The create time timestamp.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ @java.lang.Override @@ -228,15 +195,11 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
    * Output only. The create time timestamp.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ @java.lang.Override @@ -244,14 +207,11 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * Output only. The create time timestamp.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -261,15 +221,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp updateTime_; /** - * - * *
    * Output only. The update time timestamp.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ @java.lang.Override @@ -277,15 +233,11 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** - * - * *
    * Output only. The update time timestamp.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ @java.lang.Override @@ -293,14 +245,11 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** - * - * *
    * Output only. The update time timestamp.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { @@ -310,14 +259,11 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { public static final int DESCRIPTION_FIELD_NUMBER = 4; private volatile java.lang.Object description_; /** - * - * *
    * User-provided description of the group.
    * 
* * string description = 4; - * * @return The description. */ @java.lang.Override @@ -326,29 +272,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-provided description of the group.
    * 
* * 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 { @@ -359,14 +305,11 @@ public com.google.protobuf.ByteString getDescriptionBytes() { public static final int DISPLAY_NAME_FIELD_NUMBER = 5; private volatile java.lang.Object displayName_; /** - * - * *
    * Display name is a user defined name for this group which can be updated.
    * 
* * string display_name = 5; - * * @return The displayName. */ @java.lang.Override @@ -375,29 +318,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; } } /** - * - * *
    * Display name is a user defined name for this group which can be updated.
    * 
* * string display_name = 5; - * * @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 { @@ -406,7 +349,6 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -418,7 +360,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_); } @@ -447,10 +390,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getCreateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getCreateTime()); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getUpdateTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, description_); @@ -466,24 +411,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.vmmigration.v1.Group)) { return super.equals(obj); } com.google.cloud.vmmigration.v1.Group other = (com.google.cloud.vmmigration.v1.Group) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime().equals(other.getCreateTime())) return false; + if (!getCreateTime() + .equals(other.getCreateTime())) 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 (!getDescription().equals(other.getDescription())) return false; - if (!getDisplayName().equals(other.getDisplayName())) return false; + if (!getDescription() + .equals(other.getDescription())) return false; + if (!getDisplayName() + .equals(other.getDisplayName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -514,103 +464,97 @@ public int hashCode() { return hash; } - public static com.google.cloud.vmmigration.v1.Group parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.vmmigration.v1.Group parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.vmmigration.v1.Group 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.vmmigration.v1.Group parseFrom(com.google.protobuf.ByteString data) + public static com.google.cloud.vmmigration.v1.Group parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.vmmigration.v1.Group 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.vmmigration.v1.Group parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.vmmigration.v1.Group 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.vmmigration.v1.Group parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.vmmigration.v1.Group 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.vmmigration.v1.Group parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.vmmigration.v1.Group 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.vmmigration.v1.Group 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.vmmigration.v1.Group 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.vmmigration.v1.Group 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; } /** - * - * *
    * Describes message for 'Group' resource. The Group is a collections of several
    * MigratingVms.
@@ -618,23 +562,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.vmmigration.v1.Group}
    */
-  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.vmmigration.v1.Group)
       com.google.cloud.vmmigration.v1.GroupOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.vmmigration.v1.VmMigrationProto
-          .internal_static_google_cloud_vmmigration_v1_Group_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_Group_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.vmmigration.v1.VmMigrationProto
-          .internal_static_google_cloud_vmmigration_v1_Group_fieldAccessorTable
+      return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_Group_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.vmmigration.v1.Group.class,
-              com.google.cloud.vmmigration.v1.Group.Builder.class);
+              com.google.cloud.vmmigration.v1.Group.class, com.google.cloud.vmmigration.v1.Group.Builder.class);
     }
 
     // Construct using com.google.cloud.vmmigration.v1.Group.newBuilder()
@@ -642,15 +584,16 @@ 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) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -676,9 +619,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.vmmigration.v1.VmMigrationProto
-          .internal_static_google_cloud_vmmigration_v1_Group_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_Group_descriptor;
     }
 
     @java.lang.Override
@@ -697,8 +640,7 @@ public com.google.cloud.vmmigration.v1.Group build() {
 
     @java.lang.Override
     public com.google.cloud.vmmigration.v1.Group buildPartial() {
-      com.google.cloud.vmmigration.v1.Group result =
-          new com.google.cloud.vmmigration.v1.Group(this);
+      com.google.cloud.vmmigration.v1.Group result = new com.google.cloud.vmmigration.v1.Group(this);
       result.name_ = name_;
       if (createTimeBuilder_ == null) {
         result.createTime_ = createTime_;
@@ -720,39 +662,38 @@ public com.google.cloud.vmmigration.v1.Group buildPartial() {
     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.vmmigration.v1.Group) {
-        return mergeFrom((com.google.cloud.vmmigration.v1.Group) other);
+        return mergeFrom((com.google.cloud.vmmigration.v1.Group)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -810,20 +751,18 @@ public Builder mergeFrom(
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
-     * The Group name.
+     * Output only. The Group name.
      * 
* - * string name = 1; - * + * 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; @@ -832,21 +771,20 @@ public java.lang.String getName() { } } /** - * - * *
-     * The Group name.
+     * Output only. The Group name.
      * 
* - * string name = 1; - * + * 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 { @@ -854,61 +792,54 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
-     * The Group name.
+     * Output only. The Group name.
      * 
* - * string name = 1; - * + * 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
-     * The Group name.
+     * Output only. The Group name.
      * 
* - * string name = 1; - * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
-     * The Group name.
+     * Output only. The Group name.
      * 
* - * string name = 1; - * + * 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) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -916,58 +847,39 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.Timestamp createTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - createTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; /** - * - * *
      * Output only. The create time timestamp.
      * 
* - * - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** - * - * *
      * Output only. The create time timestamp.
      * 
* - * - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. The create time timestamp.
      * 
* - * - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -983,17 +895,14 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The create time timestamp.
      * 
* - * - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); onChanged(); @@ -1004,21 +913,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. The create time timestamp.
      * 
* - * - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { if (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -1030,15 +935,11 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The create time timestamp.
      * 
* - * - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearCreateTime() { if (createTimeBuilder_ == null) { @@ -1052,64 +953,48 @@ public Builder clearCreateTime() { return this; } /** - * - * *
      * Output only. The create time timestamp.
      * 
* - * - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The create time timestamp.
      * 
* - * - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } } /** - * - * *
      * Output only. The create time timestamp.
      * 
* - * - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 2 [(.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> getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { - createTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getCreateTime(), getParentForChildren(), isClean()); + createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), + getParentForChildren(), + isClean()); createTime_ = null; } return createTimeBuilder_; @@ -1117,58 +1002,39 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { 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. The update time timestamp.
      * 
* - * - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return updateTimeBuilder_ != null || updateTime_ != null; } /** - * - * *
      * Output only. The update time timestamp.
      * 
* - * - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 3 [(.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. The update time timestamp.
      * 
* - * - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { @@ -1184,17 +1050,14 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The update time timestamp.
      * 
* - * - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 3 [(.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(); onChanged(); @@ -1205,21 +1068,17 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. The update time timestamp.
      * 
* - * - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { if (updateTime_ != null) { updateTime_ = - com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); } else { updateTime_ = value; } @@ -1231,15 +1090,11 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The update time timestamp.
      * 
* - * - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearUpdateTime() { if (updateTimeBuilder_ == null) { @@ -1253,64 +1108,48 @@ public Builder clearUpdateTime() { return this; } /** - * - * *
      * Output only. The update time timestamp.
      * 
* - * - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { - + onChanged(); return getUpdateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The update time timestamp.
      * 
* - * - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 3 [(.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. The update time timestamp.
      * 
* - * - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 3 [(.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_; @@ -1318,20 +1157,18 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { private java.lang.Object description_ = ""; /** - * - * *
      * User-provided description of the group.
      * 
* * 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; @@ -1340,21 +1177,20 @@ public java.lang.String getDescription() { } } /** - * - * *
      * User-provided description of the group.
      * 
* * 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 { @@ -1362,61 +1198,54 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } } /** - * - * *
      * User-provided description of the group.
      * 
* * string description = 4; - * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription(java.lang.String value) { + public Builder setDescription( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + description_ = value; onChanged(); return this; } /** - * - * *
      * User-provided description of the group.
      * 
* * string description = 4; - * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** - * - * *
      * User-provided description of the group.
      * 
* * string description = 4; - * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { + public Builder setDescriptionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = value; onChanged(); return this; @@ -1424,20 +1253,18 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { private java.lang.Object displayName_ = ""; /** - * - * *
      * Display name is a user defined name for this group which can be updated.
      * 
* * string display_name = 5; - * * @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; @@ -1446,21 +1273,20 @@ public java.lang.String getDisplayName() { } } /** - * - * *
      * Display name is a user defined name for this group which can be updated.
      * 
* * string display_name = 5; - * * @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 { @@ -1468,68 +1294,61 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } } /** - * - * *
      * Display name is a user defined name for this group which can be updated.
      * 
* * string display_name = 5; - * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName(java.lang.String value) { + public Builder setDisplayName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; onChanged(); return this; } /** - * - * *
      * Display name is a user defined name for this group which can be updated.
      * 
* * string display_name = 5; - * * @return This builder for chaining. */ public Builder clearDisplayName() { - + displayName_ = getDefaultInstance().getDisplayName(); onChanged(); return this; } /** - * - * *
      * Display name is a user defined name for this group which can be updated.
      * 
* * string display_name = 5; - * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = 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); } @@ -1539,12 +1358,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.vmmigration.v1.Group) } // @@protoc_insertion_point(class_scope:google.cloud.vmmigration.v1.Group) private static final com.google.cloud.vmmigration.v1.Group DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.vmmigration.v1.Group(); } @@ -1553,16 +1372,16 @@ public static com.google.cloud.vmmigration.v1.Group getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Group parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Group(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Group parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Group(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1577,4 +1396,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.vmmigration.v1.Group getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GroupName.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GroupName.java similarity index 100% rename from proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GroupName.java rename to owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GroupName.java diff --git a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GroupOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GroupOrBuilder.java similarity index 65% rename from proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GroupOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GroupOrBuilder.java index d424562..c92a82c 100644 --- a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GroupOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GroupOrBuilder.java @@ -1,176 +1,123 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; -public interface GroupOrBuilder - extends +public interface GroupOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.Group) com.google.protobuf.MessageOrBuilder { /** - * - * *
-   * The Group name.
+   * Output only. The Group name.
    * 
* - * string name = 1; - * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The name. */ java.lang.String getName(); /** - * - * *
-   * The Group name.
+   * Output only. The Group name.
    * 
* - * string name = 1; - * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Output only. The create time timestamp.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** - * - * *
    * Output only. The create time timestamp.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** - * - * *
    * Output only. The create time timestamp.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** - * - * *
    * Output only. The update time timestamp.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** - * - * *
    * Output only. The update time timestamp.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** - * - * *
    * Output only. The update time timestamp.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** - * - * *
    * User-provided description of the group.
    * 
* * string description = 4; - * * @return The description. */ java.lang.String getDescription(); /** - * - * *
    * User-provided description of the group.
    * 
* * string description = 4; - * * @return The bytes for description. */ - com.google.protobuf.ByteString getDescriptionBytes(); + com.google.protobuf.ByteString + getDescriptionBytes(); /** - * - * *
    * Display name is a user defined name for this group which can be updated.
    * 
* * string display_name = 5; - * * @return The displayName. */ java.lang.String getDisplayName(); /** - * - * *
    * Display name is a user defined name for this group which can be updated.
    * 
* * string display_name = 5; - * * @return The bytes for displayName. */ - com.google.protobuf.ByteString getDisplayNameBytes(); + com.google.protobuf.ByteString + getDisplayNameBytes(); } diff --git a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListCloneJobsRequest.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListCloneJobsRequest.java similarity index 70% rename from proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListCloneJobsRequest.java rename to owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListCloneJobsRequest.java index 6366d29..ed2458f 100644 --- a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListCloneJobsRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListCloneJobsRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; /** - * - * *
  * Request message for 'ListCloneJobsRequest' request.
  * 
* * Protobuf type {@code google.cloud.vmmigration.v1.ListCloneJobsRequest} */ -public final class ListCloneJobsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListCloneJobsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.vmmigration.v1.ListCloneJobsRequest) ListCloneJobsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListCloneJobsRequest.newBuilder() to construct. private ListCloneJobsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListCloneJobsRequest() { parent_ = ""; pageToken_ = ""; @@ -46,15 +28,16 @@ private ListCloneJobsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListCloneJobsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListCloneJobsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -73,46 +56,42 @@ private ListCloneJobsRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 16: - { - pageSize_ = input.readInt32(); - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: { - pageToken_ = s; - break; - } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); + pageSize_ = input.readInt32(); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - filter_ = s; - break; - } - case 42: - { - java.lang.String s = input.readStringRequireUtf8(); + pageToken_ = s; + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); - orderBy_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + filter_ = s; + break; + } + case 42: { + java.lang.String s = input.readStringRequireUtf8(); + + orderBy_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -120,41 +99,34 @@ private ListCloneJobsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_ListCloneJobsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ListCloneJobsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_ListCloneJobsRequest_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ListCloneJobsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.ListCloneJobsRequest.class, - com.google.cloud.vmmigration.v1.ListCloneJobsRequest.Builder.class); + com.google.cloud.vmmigration.v1.ListCloneJobsRequest.class, com.google.cloud.vmmigration.v1.ListCloneJobsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The parent, which owns this collection of source VMs.
    * 
* - * - * 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 @@ -163,31 +135,29 @@ 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 parent, which owns this collection of source VMs.
    * 
* - * - * 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 { @@ -198,17 +168,14 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** - * - * *
-   * Optional. The maximum number of clone jobs to return. The service may return
-   * fewer than this value. If unspecified, at most 500 clone jobs will be
-   * returned. The maximum value is 1000; values above 1000 will be coerced to
-   * 1000.
+   * Optional. The maximum number of clone jobs to return. The service may
+   * return fewer than this value. If unspecified, at most 500 clone jobs will
+   * be returned. The maximum value is 1000; values above 1000 will be coerced
+   * to 1000.
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ @java.lang.Override @@ -219,8 +186,6 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** - * - * *
    * Required. A page token, received from a previous `ListCloneJobs` call.
    * Provide this to retrieve the subsequent page.
@@ -229,7 +194,6 @@ public int getPageSize() {
    * 
* * string page_token = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The pageToken. */ @java.lang.Override @@ -238,15 +202,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; } } /** - * - * *
    * Required. A page token, received from a previous `ListCloneJobs` call.
    * Provide this to retrieve the subsequent page.
@@ -255,15 +218,16 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @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 { @@ -274,14 +238,11 @@ public com.google.protobuf.ByteString getPageTokenBytes() { public static final int FILTER_FIELD_NUMBER = 4; private volatile java.lang.Object filter_; /** - * - * *
    * Optional. The filter request.
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The filter. */ @java.lang.Override @@ -290,29 +251,29 @@ public java.lang.String getFilter() { 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(); filter_ = s; return s; } } /** - * - * *
    * Optional. The filter request.
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for filter. */ @java.lang.Override - public com.google.protobuf.ByteString getFilterBytes() { + public com.google.protobuf.ByteString + getFilterBytes() { java.lang.Object ref = filter_; 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); filter_ = b; return b; } else { @@ -323,14 +284,11 @@ public com.google.protobuf.ByteString getFilterBytes() { public static final int ORDER_BY_FIELD_NUMBER = 5; private volatile java.lang.Object orderBy_; /** - * - * *
    * Optional. the order by fields for the result.
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The orderBy. */ @java.lang.Override @@ -339,29 +297,29 @@ public java.lang.String getOrderBy() { 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(); orderBy_ = s; return s; } } /** - * - * *
    * Optional. the order by fields for the result.
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for orderBy. */ @java.lang.Override - public com.google.protobuf.ByteString getOrderByBytes() { + public com.google.protobuf.ByteString + getOrderByBytes() { java.lang.Object ref = orderBy_; 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); orderBy_ = b; return b; } else { @@ -370,7 +328,6 @@ public com.google.protobuf.ByteString getOrderByBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -382,7 +339,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_); } @@ -411,7 +369,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -430,19 +389,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.vmmigration.v1.ListCloneJobsRequest)) { return super.equals(obj); } - com.google.cloud.vmmigration.v1.ListCloneJobsRequest other = - (com.google.cloud.vmmigration.v1.ListCloneJobsRequest) obj; - - if (!getParent().equals(other.getParent())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; - if (!getFilter().equals(other.getFilter())) return false; - if (!getOrderBy().equals(other.getOrderBy())) return false; + com.google.cloud.vmmigration.v1.ListCloneJobsRequest other = (com.google.cloud.vmmigration.v1.ListCloneJobsRequest) obj; + + if (!getParent() + .equals(other.getParent())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; + if (!getFilter() + .equals(other.getFilter())) return false; + if (!getOrderBy() + .equals(other.getOrderBy())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -470,126 +433,117 @@ public int hashCode() { } public static com.google.cloud.vmmigration.v1.ListCloneJobsRequest 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.vmmigration.v1.ListCloneJobsRequest 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.vmmigration.v1.ListCloneJobsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.vmmigration.v1.ListCloneJobsRequest 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.vmmigration.v1.ListCloneJobsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.vmmigration.v1.ListCloneJobsRequest 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.vmmigration.v1.ListCloneJobsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.vmmigration.v1.ListCloneJobsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.vmmigration.v1.ListCloneJobsRequest 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.vmmigration.v1.ListCloneJobsRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.vmmigration.v1.ListCloneJobsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.vmmigration.v1.ListCloneJobsRequest 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.vmmigration.v1.ListCloneJobsRequest 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.vmmigration.v1.ListCloneJobsRequest 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.vmmigration.v1.ListCloneJobsRequest 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 message for 'ListCloneJobsRequest' request.
    * 
* * Protobuf type {@code google.cloud.vmmigration.v1.ListCloneJobsRequest} */ - 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.vmmigration.v1.ListCloneJobsRequest) com.google.cloud.vmmigration.v1.ListCloneJobsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_ListCloneJobsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ListCloneJobsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_ListCloneJobsRequest_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ListCloneJobsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.ListCloneJobsRequest.class, - com.google.cloud.vmmigration.v1.ListCloneJobsRequest.Builder.class); + com.google.cloud.vmmigration.v1.ListCloneJobsRequest.class, com.google.cloud.vmmigration.v1.ListCloneJobsRequest.Builder.class); } // Construct using com.google.cloud.vmmigration.v1.ListCloneJobsRequest.newBuilder() @@ -597,15 +551,16 @@ 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) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -623,9 +578,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_ListCloneJobsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ListCloneJobsRequest_descriptor; } @java.lang.Override @@ -644,8 +599,7 @@ public com.google.cloud.vmmigration.v1.ListCloneJobsRequest build() { @java.lang.Override public com.google.cloud.vmmigration.v1.ListCloneJobsRequest buildPartial() { - com.google.cloud.vmmigration.v1.ListCloneJobsRequest result = - new com.google.cloud.vmmigration.v1.ListCloneJobsRequest(this); + com.google.cloud.vmmigration.v1.ListCloneJobsRequest result = new com.google.cloud.vmmigration.v1.ListCloneJobsRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -659,39 +613,38 @@ public com.google.cloud.vmmigration.v1.ListCloneJobsRequest buildPartial() { 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.vmmigration.v1.ListCloneJobsRequest) { - return mergeFrom((com.google.cloud.vmmigration.v1.ListCloneJobsRequest) other); + return mergeFrom((com.google.cloud.vmmigration.v1.ListCloneJobsRequest)other); } else { super.mergeFrom(other); return this; @@ -699,8 +652,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.vmmigration.v1.ListCloneJobsRequest other) { - if (other == com.google.cloud.vmmigration.v1.ListCloneJobsRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.vmmigration.v1.ListCloneJobsRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -739,8 +691,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.vmmigration.v1.ListCloneJobsRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.vmmigration.v1.ListCloneJobsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -752,22 +703,18 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The parent, which owns this collection of source VMs.
      * 
* - * - * 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; @@ -776,23 +723,20 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The parent, which owns this collection of source VMs.
      * 
* - * - * 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 { @@ -800,85 +744,69 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The parent, which owns this collection of source VMs.
      * 
* - * - * 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) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The parent, which owns this collection of source VMs.
      * 
* - * - * 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() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The parent, which owns this collection of source VMs.
      * 
* - * - * 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) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
-     * Optional. The maximum number of clone jobs to return. The service may return
-     * fewer than this value. If unspecified, at most 500 clone jobs will be
-     * returned. The maximum value is 1000; values above 1000 will be coerced to
-     * 1000.
+     * Optional. The maximum number of clone jobs to return. The service may
+     * return fewer than this value. If unspecified, at most 500 clone jobs will
+     * be returned. The maximum value is 1000; values above 1000 will be coerced
+     * to 1000.
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ @java.lang.Override @@ -886,42 +814,36 @@ public int getPageSize() { return pageSize_; } /** - * - * *
-     * Optional. The maximum number of clone jobs to return. The service may return
-     * fewer than this value. If unspecified, at most 500 clone jobs will be
-     * returned. The maximum value is 1000; values above 1000 will be coerced to
-     * 1000.
+     * Optional. The maximum number of clone jobs to return. The service may
+     * return fewer than this value. If unspecified, at most 500 clone jobs will
+     * be returned. The maximum value is 1000; values above 1000 will be coerced
+     * to 1000.
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** - * - * *
-     * Optional. The maximum number of clone jobs to return. The service may return
-     * fewer than this value. If unspecified, at most 500 clone jobs will be
-     * returned. The maximum value is 1000; values above 1000 will be coerced to
-     * 1000.
+     * Optional. The maximum number of clone jobs to return. The service may
+     * return fewer than this value. If unspecified, at most 500 clone jobs will
+     * be returned. The maximum value is 1000; values above 1000 will be coerced
+     * to 1000.
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -929,8 +851,6 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * Required. A page token, received from a previous `ListCloneJobs` call.
      * Provide this to retrieve the subsequent page.
@@ -939,13 +859,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @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; @@ -954,8 +874,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * Required. A page token, received from a previous `ListCloneJobs` call.
      * Provide this to retrieve the subsequent page.
@@ -964,14 +882,15 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @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 { @@ -979,8 +898,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * Required. A page token, received from a previous `ListCloneJobs` call.
      * Provide this to retrieve the subsequent page.
@@ -989,22 +906,20 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * Required. A page token, received from a previous `ListCloneJobs` call.
      * Provide this to retrieve the subsequent page.
@@ -1013,18 +928,15 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * Required. A page token, received from a previous `ListCloneJobs` call.
      * Provide this to retrieve the subsequent page.
@@ -1033,16 +945,16 @@ public Builder clearPageToken() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; @@ -1050,20 +962,18 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { private java.lang.Object filter_ = ""; /** - * - * *
      * Optional. The filter request.
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; 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(); filter_ = s; return s; @@ -1072,21 +982,20 @@ public java.lang.String getFilter() { } } /** - * - * *
      * Optional. The filter request.
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for filter. */ - public com.google.protobuf.ByteString getFilterBytes() { + public com.google.protobuf.ByteString + getFilterBytes() { java.lang.Object ref = filter_; 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); filter_ = b; return b; } else { @@ -1094,61 +1003,54 @@ public com.google.protobuf.ByteString getFilterBytes() { } } /** - * - * *
      * Optional. The filter request.
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter(java.lang.String value) { + public Builder setFilter( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; onChanged(); return this; } /** - * - * *
      * Optional. The filter request.
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** - * - * *
      * Optional. The filter request.
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes(com.google.protobuf.ByteString value) { + public Builder setFilterBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = value; onChanged(); return this; @@ -1156,20 +1058,18 @@ public Builder setFilterBytes(com.google.protobuf.ByteString value) { private java.lang.Object orderBy_ = ""; /** - * - * *
      * Optional. the order by fields for the result.
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The orderBy. */ public java.lang.String getOrderBy() { java.lang.Object ref = orderBy_; 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(); orderBy_ = s; return s; @@ -1178,21 +1078,20 @@ public java.lang.String getOrderBy() { } } /** - * - * *
      * Optional. the order by fields for the result.
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for orderBy. */ - public com.google.protobuf.ByteString getOrderByBytes() { + public com.google.protobuf.ByteString + getOrderByBytes() { java.lang.Object ref = orderBy_; 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); orderBy_ = b; return b; } else { @@ -1200,68 +1099,61 @@ public com.google.protobuf.ByteString getOrderByBytes() { } } /** - * - * *
      * Optional. the order by fields for the result.
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The orderBy to set. * @return This builder for chaining. */ - public Builder setOrderBy(java.lang.String value) { + public Builder setOrderBy( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + orderBy_ = value; onChanged(); return this; } /** - * - * *
      * Optional. the order by fields for the result.
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearOrderBy() { - + orderBy_ = getDefaultInstance().getOrderBy(); onChanged(); return this; } /** - * - * *
      * Optional. the order by fields for the result.
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for orderBy to set. * @return This builder for chaining. */ - public Builder setOrderByBytes(com.google.protobuf.ByteString value) { + public Builder setOrderByBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + orderBy_ = 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); } @@ -1271,12 +1163,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.vmmigration.v1.ListCloneJobsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.vmmigration.v1.ListCloneJobsRequest) private static final com.google.cloud.vmmigration.v1.ListCloneJobsRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.vmmigration.v1.ListCloneJobsRequest(); } @@ -1285,16 +1177,16 @@ public static com.google.cloud.vmmigration.v1.ListCloneJobsRequest getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListCloneJobsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListCloneJobsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListCloneJobsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListCloneJobsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1309,4 +1201,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.vmmigration.v1.ListCloneJobsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListCloneJobsRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListCloneJobsRequestOrBuilder.java similarity index 63% rename from proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListCloneJobsRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListCloneJobsRequestOrBuilder.java index 582ab14..14e39c1 100644 --- a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListCloneJobsRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListCloneJobsRequestOrBuilder.java @@ -1,76 +1,46 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; -public interface ListCloneJobsRequestOrBuilder - extends +public interface ListCloneJobsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.ListCloneJobsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The parent, which owns this collection of source VMs.
    * 
* - * - * 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 parent, which owns this collection of source VMs.
    * 
* - * - * 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(); /** - * - * *
-   * Optional. The maximum number of clone jobs to return. The service may return
-   * fewer than this value. If unspecified, at most 500 clone jobs will be
-   * returned. The maximum value is 1000; values above 1000 will be coerced to
-   * 1000.
+   * Optional. The maximum number of clone jobs to return. The service may
+   * return fewer than this value. If unspecified, at most 500 clone jobs will
+   * be returned. The maximum value is 1000; values above 1000 will be coerced
+   * to 1000.
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * Required. A page token, received from a previous `ListCloneJobs` call.
    * Provide this to retrieve the subsequent page.
@@ -79,13 +49,10 @@ public interface ListCloneJobsRequestOrBuilder
    * 
* * string page_token = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * Required. A page token, received from a previous `ListCloneJobs` call.
    * Provide this to retrieve the subsequent page.
@@ -94,58 +61,48 @@ public interface ListCloneJobsRequestOrBuilder
    * 
* * string page_token = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); /** - * - * *
    * Optional. The filter request.
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The filter. */ java.lang.String getFilter(); /** - * - * *
    * Optional. The filter request.
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for filter. */ - com.google.protobuf.ByteString getFilterBytes(); + com.google.protobuf.ByteString + getFilterBytes(); /** - * - * *
    * Optional. the order by fields for the result.
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The orderBy. */ java.lang.String getOrderBy(); /** - * - * *
    * Optional. the order by fields for the result.
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for orderBy. */ - com.google.protobuf.ByteString getOrderByBytes(); + com.google.protobuf.ByteString + getOrderByBytes(); } diff --git a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListCloneJobsResponse.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListCloneJobsResponse.java similarity index 67% rename from proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListCloneJobsResponse.java rename to owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListCloneJobsResponse.java index 7076cf7..272ef78 100644 --- a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListCloneJobsResponse.java +++ b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListCloneJobsResponse.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; /** - * - * *
  * Response message for 'ListCloneJobs' request.
  * 
* * Protobuf type {@code google.cloud.vmmigration.v1.ListCloneJobsResponse} */ -public final class ListCloneJobsResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListCloneJobsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.vmmigration.v1.ListCloneJobsResponse) ListCloneJobsResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListCloneJobsResponse.newBuilder() to construct. private ListCloneJobsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListCloneJobsResponse() { cloneJobs_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -45,15 +27,16 @@ private ListCloneJobsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListCloneJobsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListCloneJobsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -73,41 +56,37 @@ private ListCloneJobsResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - cloneJobs_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - cloneJobs_.add( - input.readMessage( - com.google.cloud.vmmigration.v1.CloneJob.parser(), extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + cloneJobs_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + cloneJobs_.add( + input.readMessage(com.google.cloud.vmmigration.v1.CloneJob.parser(), extensionRegistry)); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - unreachable_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000002; - } - unreachable_.add(s); - break; + nextPageToken_ = s; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + unreachable_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000002; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + unreachable_.add(s); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -115,7 +94,8 @@ private ListCloneJobsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { cloneJobs_ = java.util.Collections.unmodifiableList(cloneJobs_); @@ -127,113 +107,88 @@ private ListCloneJobsResponse( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_ListCloneJobsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ListCloneJobsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_ListCloneJobsResponse_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ListCloneJobsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.ListCloneJobsResponse.class, - com.google.cloud.vmmigration.v1.ListCloneJobsResponse.Builder.class); + com.google.cloud.vmmigration.v1.ListCloneJobsResponse.class, com.google.cloud.vmmigration.v1.ListCloneJobsResponse.Builder.class); } public static final int CLONE_JOBS_FIELD_NUMBER = 1; private java.util.List cloneJobs_; /** - * - * *
    * Output only. The list of clone jobs response.
    * 
* - * - * repeated .google.cloud.vmmigration.v1.CloneJob clone_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.CloneJob clone_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public java.util.List getCloneJobsList() { return cloneJobs_; } /** - * - * *
    * Output only. The list of clone jobs response.
    * 
* - * - * repeated .google.cloud.vmmigration.v1.CloneJob clone_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.CloneJob clone_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public java.util.List + public java.util.List getCloneJobsOrBuilderList() { return cloneJobs_; } /** - * - * *
    * Output only. The list of clone jobs response.
    * 
* - * - * repeated .google.cloud.vmmigration.v1.CloneJob clone_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.CloneJob clone_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public int getCloneJobsCount() { return cloneJobs_.size(); } /** - * - * *
    * Output only. The list of clone jobs response.
    * 
* - * - * repeated .google.cloud.vmmigration.v1.CloneJob clone_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.CloneJob clone_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.cloud.vmmigration.v1.CloneJob getCloneJobs(int index) { return cloneJobs_.get(index); } /** - * - * *
    * Output only. The list of clone jobs response.
    * 
* - * - * repeated .google.cloud.vmmigration.v1.CloneJob clone_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.CloneJob clone_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public com.google.cloud.vmmigration.v1.CloneJobOrBuilder getCloneJobsOrBuilder(int index) { + public com.google.cloud.vmmigration.v1.CloneJobOrBuilder getCloneJobsOrBuilder( + int index) { return cloneJobs_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** - * - * *
-   * Output only. A token, which can be sent as `page_token` to retrieve the next page.
-   * If this field is omitted, there are no subsequent pages.
+   * Output only. A token, which can be sent as `page_token` to retrieve the
+   * next page. If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The nextPageToken. */ @java.lang.Override @@ -242,30 +197,30 @@ 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. A token, which can be sent as `page_token` to retrieve the next page.
-   * If this field is omitted, there are no subsequent pages.
+   * Output only. A token, which can be sent as `page_token` to retrieve the
+   * next page. If this field is omitted, there are no subsequent pages.
    * 
* * 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 { @@ -276,42 +231,34 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { public static final int UNREACHABLE_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList unreachable_; /** - * - * *
    * Output only. Locations that could not be reached.
    * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return A list containing the unreachable. */ - public com.google.protobuf.ProtocolStringList getUnreachableList() { + public com.google.protobuf.ProtocolStringList + getUnreachableList() { return unreachable_; } /** - * - * *
    * Output only. Locations that could not be reached.
    * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** - * - * *
    * Output only. Locations that could not be reached.
    * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -319,23 +266,20 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** - * - * *
    * Output only. Locations that could not be reached.
    * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - public com.google.protobuf.ByteString getUnreachableBytes(int index) { + public com.google.protobuf.ByteString + getUnreachableBytes(int index) { return unreachable_.getByteString(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -347,7 +291,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 < cloneJobs_.size(); i++) { output.writeMessage(1, cloneJobs_.get(i)); } @@ -367,7 +312,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < cloneJobs_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, cloneJobs_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, cloneJobs_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -388,17 +334,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.vmmigration.v1.ListCloneJobsResponse)) { return super.equals(obj); } - com.google.cloud.vmmigration.v1.ListCloneJobsResponse other = - (com.google.cloud.vmmigration.v1.ListCloneJobsResponse) obj; + com.google.cloud.vmmigration.v1.ListCloneJobsResponse other = (com.google.cloud.vmmigration.v1.ListCloneJobsResponse) obj; - if (!getCloneJobsList().equals(other.getCloneJobsList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; - if (!getUnreachableList().equals(other.getUnreachableList())) return false; + if (!getCloneJobsList() + .equals(other.getCloneJobsList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; + if (!getUnreachableList() + .equals(other.getUnreachableList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -426,127 +374,117 @@ public int hashCode() { } public static com.google.cloud.vmmigration.v1.ListCloneJobsResponse 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.vmmigration.v1.ListCloneJobsResponse 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.vmmigration.v1.ListCloneJobsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.vmmigration.v1.ListCloneJobsResponse 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.vmmigration.v1.ListCloneJobsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.vmmigration.v1.ListCloneJobsResponse 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.vmmigration.v1.ListCloneJobsResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.vmmigration.v1.ListCloneJobsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.vmmigration.v1.ListCloneJobsResponse 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.vmmigration.v1.ListCloneJobsResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.vmmigration.v1.ListCloneJobsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.vmmigration.v1.ListCloneJobsResponse 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.vmmigration.v1.ListCloneJobsResponse 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.vmmigration.v1.ListCloneJobsResponse 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.vmmigration.v1.ListCloneJobsResponse prototype) { + public static Builder newBuilder(com.google.cloud.vmmigration.v1.ListCloneJobsResponse 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; } /** - * - * *
    * Response message for 'ListCloneJobs' request.
    * 
* * Protobuf type {@code google.cloud.vmmigration.v1.ListCloneJobsResponse} */ - 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.vmmigration.v1.ListCloneJobsResponse) com.google.cloud.vmmigration.v1.ListCloneJobsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_ListCloneJobsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ListCloneJobsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_ListCloneJobsResponse_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ListCloneJobsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.ListCloneJobsResponse.class, - com.google.cloud.vmmigration.v1.ListCloneJobsResponse.Builder.class); + com.google.cloud.vmmigration.v1.ListCloneJobsResponse.class, com.google.cloud.vmmigration.v1.ListCloneJobsResponse.Builder.class); } // Construct using com.google.cloud.vmmigration.v1.ListCloneJobsResponse.newBuilder() @@ -554,17 +492,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) { getCloneJobsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -582,9 +520,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_ListCloneJobsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ListCloneJobsResponse_descriptor; } @java.lang.Override @@ -603,8 +541,7 @@ public com.google.cloud.vmmigration.v1.ListCloneJobsResponse build() { @java.lang.Override public com.google.cloud.vmmigration.v1.ListCloneJobsResponse buildPartial() { - com.google.cloud.vmmigration.v1.ListCloneJobsResponse result = - new com.google.cloud.vmmigration.v1.ListCloneJobsResponse(this); + com.google.cloud.vmmigration.v1.ListCloneJobsResponse result = new com.google.cloud.vmmigration.v1.ListCloneJobsResponse(this); int from_bitField0_ = bitField0_; if (cloneJobsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -629,39 +566,38 @@ public com.google.cloud.vmmigration.v1.ListCloneJobsResponse buildPartial() { 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.vmmigration.v1.ListCloneJobsResponse) { - return mergeFrom((com.google.cloud.vmmigration.v1.ListCloneJobsResponse) other); + return mergeFrom((com.google.cloud.vmmigration.v1.ListCloneJobsResponse)other); } else { super.mergeFrom(other); return this; @@ -669,8 +605,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.vmmigration.v1.ListCloneJobsResponse other) { - if (other == com.google.cloud.vmmigration.v1.ListCloneJobsResponse.getDefaultInstance()) - return this; + if (other == com.google.cloud.vmmigration.v1.ListCloneJobsResponse.getDefaultInstance()) return this; if (cloneJobsBuilder_ == null) { if (!other.cloneJobs_.isEmpty()) { if (cloneJobs_.isEmpty()) { @@ -689,10 +624,9 @@ public Builder mergeFrom(com.google.cloud.vmmigration.v1.ListCloneJobsResponse o cloneJobsBuilder_ = null; cloneJobs_ = other.cloneJobs_; bitField0_ = (bitField0_ & ~0x00000001); - cloneJobsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getCloneJobsFieldBuilder() - : null; + cloneJobsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getCloneJobsFieldBuilder() : null; } else { cloneJobsBuilder_.addAllMessages(other.cloneJobs_); } @@ -731,8 +665,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.vmmigration.v1.ListCloneJobsResponse) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.vmmigration.v1.ListCloneJobsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -741,35 +674,26 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.util.List cloneJobs_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureCloneJobsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { cloneJobs_ = new java.util.ArrayList(cloneJobs_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.vmmigration.v1.CloneJob, - com.google.cloud.vmmigration.v1.CloneJob.Builder, - com.google.cloud.vmmigration.v1.CloneJobOrBuilder> - cloneJobsBuilder_; + com.google.cloud.vmmigration.v1.CloneJob, com.google.cloud.vmmigration.v1.CloneJob.Builder, com.google.cloud.vmmigration.v1.CloneJobOrBuilder> cloneJobsBuilder_; /** - * - * *
      * Output only. The list of clone jobs response.
      * 
* - * - * repeated .google.cloud.vmmigration.v1.CloneJob clone_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.CloneJob clone_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public java.util.List getCloneJobsList() { if (cloneJobsBuilder_ == null) { @@ -779,15 +703,11 @@ public java.util.List getCloneJobsList } } /** - * - * *
      * Output only. The list of clone jobs response.
      * 
* - * - * repeated .google.cloud.vmmigration.v1.CloneJob clone_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.CloneJob clone_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public int getCloneJobsCount() { if (cloneJobsBuilder_ == null) { @@ -797,15 +717,11 @@ public int getCloneJobsCount() { } } /** - * - * *
      * Output only. The list of clone jobs response.
      * 
* - * - * repeated .google.cloud.vmmigration.v1.CloneJob clone_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.CloneJob clone_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.vmmigration.v1.CloneJob getCloneJobs(int index) { if (cloneJobsBuilder_ == null) { @@ -815,17 +731,14 @@ public com.google.cloud.vmmigration.v1.CloneJob getCloneJobs(int index) { } } /** - * - * *
      * Output only. The list of clone jobs response.
      * 
* - * - * repeated .google.cloud.vmmigration.v1.CloneJob clone_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.CloneJob clone_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setCloneJobs(int index, com.google.cloud.vmmigration.v1.CloneJob value) { + public Builder setCloneJobs( + int index, com.google.cloud.vmmigration.v1.CloneJob value) { if (cloneJobsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -839,15 +752,11 @@ public Builder setCloneJobs(int index, com.google.cloud.vmmigration.v1.CloneJob return this; } /** - * - * *
      * Output only. The list of clone jobs response.
      * 
* - * - * repeated .google.cloud.vmmigration.v1.CloneJob clone_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.CloneJob clone_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setCloneJobs( int index, com.google.cloud.vmmigration.v1.CloneJob.Builder builderForValue) { @@ -861,15 +770,11 @@ public Builder setCloneJobs( return this; } /** - * - * *
      * Output only. The list of clone jobs response.
      * 
* - * - * repeated .google.cloud.vmmigration.v1.CloneJob clone_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.CloneJob clone_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addCloneJobs(com.google.cloud.vmmigration.v1.CloneJob value) { if (cloneJobsBuilder_ == null) { @@ -885,17 +790,14 @@ public Builder addCloneJobs(com.google.cloud.vmmigration.v1.CloneJob value) { return this; } /** - * - * *
      * Output only. The list of clone jobs response.
      * 
* - * - * repeated .google.cloud.vmmigration.v1.CloneJob clone_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.CloneJob clone_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder addCloneJobs(int index, com.google.cloud.vmmigration.v1.CloneJob value) { + public Builder addCloneJobs( + int index, com.google.cloud.vmmigration.v1.CloneJob value) { if (cloneJobsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -909,17 +811,14 @@ public Builder addCloneJobs(int index, com.google.cloud.vmmigration.v1.CloneJob return this; } /** - * - * *
      * Output only. The list of clone jobs response.
      * 
* - * - * repeated .google.cloud.vmmigration.v1.CloneJob clone_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.CloneJob clone_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder addCloneJobs(com.google.cloud.vmmigration.v1.CloneJob.Builder builderForValue) { + public Builder addCloneJobs( + com.google.cloud.vmmigration.v1.CloneJob.Builder builderForValue) { if (cloneJobsBuilder_ == null) { ensureCloneJobsIsMutable(); cloneJobs_.add(builderForValue.build()); @@ -930,15 +829,11 @@ public Builder addCloneJobs(com.google.cloud.vmmigration.v1.CloneJob.Builder bui return this; } /** - * - * *
      * Output only. The list of clone jobs response.
      * 
* - * - * repeated .google.cloud.vmmigration.v1.CloneJob clone_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.CloneJob clone_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addCloneJobs( int index, com.google.cloud.vmmigration.v1.CloneJob.Builder builderForValue) { @@ -952,21 +847,18 @@ public Builder addCloneJobs( return this; } /** - * - * *
      * Output only. The list of clone jobs response.
      * 
* - * - * repeated .google.cloud.vmmigration.v1.CloneJob clone_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.CloneJob clone_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addAllCloneJobs( java.lang.Iterable values) { if (cloneJobsBuilder_ == null) { ensureCloneJobsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, cloneJobs_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, cloneJobs_); onChanged(); } else { cloneJobsBuilder_.addAllMessages(values); @@ -974,15 +866,11 @@ public Builder addAllCloneJobs( return this; } /** - * - * *
      * Output only. The list of clone jobs response.
      * 
* - * - * repeated .google.cloud.vmmigration.v1.CloneJob clone_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.CloneJob clone_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearCloneJobs() { if (cloneJobsBuilder_ == null) { @@ -995,15 +883,11 @@ public Builder clearCloneJobs() { return this; } /** - * - * *
      * Output only. The list of clone jobs response.
      * 
* - * - * repeated .google.cloud.vmmigration.v1.CloneJob clone_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.CloneJob clone_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder removeCloneJobs(int index) { if (cloneJobsBuilder_ == null) { @@ -1016,50 +900,39 @@ public Builder removeCloneJobs(int index) { return this; } /** - * - * *
      * Output only. The list of clone jobs response.
      * 
* - * - * repeated .google.cloud.vmmigration.v1.CloneJob clone_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.CloneJob clone_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.vmmigration.v1.CloneJob.Builder getCloneJobsBuilder(int index) { + public com.google.cloud.vmmigration.v1.CloneJob.Builder getCloneJobsBuilder( + int index) { return getCloneJobsFieldBuilder().getBuilder(index); } /** - * - * *
      * Output only. The list of clone jobs response.
      * 
* - * - * repeated .google.cloud.vmmigration.v1.CloneJob clone_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.CloneJob clone_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.vmmigration.v1.CloneJobOrBuilder getCloneJobsOrBuilder(int index) { + public com.google.cloud.vmmigration.v1.CloneJobOrBuilder getCloneJobsOrBuilder( + int index) { if (cloneJobsBuilder_ == null) { - return cloneJobs_.get(index); - } else { + return cloneJobs_.get(index); } else { return cloneJobsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Output only. The list of clone jobs response.
      * 
* - * - * repeated .google.cloud.vmmigration.v1.CloneJob clone_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.CloneJob clone_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public java.util.List - getCloneJobsOrBuilderList() { + public java.util.List + getCloneJobsOrBuilderList() { if (cloneJobsBuilder_ != null) { return cloneJobsBuilder_.getMessageOrBuilderList(); } else { @@ -1067,63 +940,49 @@ public com.google.cloud.vmmigration.v1.CloneJobOrBuilder getCloneJobsOrBuilder(i } } /** - * - * *
      * Output only. The list of clone jobs response.
      * 
* - * - * repeated .google.cloud.vmmigration.v1.CloneJob clone_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.CloneJob clone_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.vmmigration.v1.CloneJob.Builder addCloneJobsBuilder() { - return getCloneJobsFieldBuilder() - .addBuilder(com.google.cloud.vmmigration.v1.CloneJob.getDefaultInstance()); + return getCloneJobsFieldBuilder().addBuilder( + com.google.cloud.vmmigration.v1.CloneJob.getDefaultInstance()); } /** - * - * *
      * Output only. The list of clone jobs response.
      * 
* - * - * repeated .google.cloud.vmmigration.v1.CloneJob clone_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.CloneJob clone_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.vmmigration.v1.CloneJob.Builder addCloneJobsBuilder(int index) { - return getCloneJobsFieldBuilder() - .addBuilder(index, com.google.cloud.vmmigration.v1.CloneJob.getDefaultInstance()); + public com.google.cloud.vmmigration.v1.CloneJob.Builder addCloneJobsBuilder( + int index) { + return getCloneJobsFieldBuilder().addBuilder( + index, com.google.cloud.vmmigration.v1.CloneJob.getDefaultInstance()); } /** - * - * *
      * Output only. The list of clone jobs response.
      * 
* - * - * repeated .google.cloud.vmmigration.v1.CloneJob clone_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.CloneJob clone_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public java.util.List - getCloneJobsBuilderList() { + public java.util.List + getCloneJobsBuilderList() { return getCloneJobsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.vmmigration.v1.CloneJob, - com.google.cloud.vmmigration.v1.CloneJob.Builder, - com.google.cloud.vmmigration.v1.CloneJobOrBuilder> + com.google.cloud.vmmigration.v1.CloneJob, com.google.cloud.vmmigration.v1.CloneJob.Builder, com.google.cloud.vmmigration.v1.CloneJobOrBuilder> getCloneJobsFieldBuilder() { if (cloneJobsBuilder_ == null) { - cloneJobsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.vmmigration.v1.CloneJob, - com.google.cloud.vmmigration.v1.CloneJob.Builder, - com.google.cloud.vmmigration.v1.CloneJobOrBuilder>( - cloneJobs_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + cloneJobsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.vmmigration.v1.CloneJob, com.google.cloud.vmmigration.v1.CloneJob.Builder, com.google.cloud.vmmigration.v1.CloneJobOrBuilder>( + cloneJobs_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); cloneJobs_ = null; } return cloneJobsBuilder_; @@ -1131,21 +990,19 @@ public com.google.cloud.vmmigration.v1.CloneJob.Builder addCloneJobsBuilder(int private java.lang.Object nextPageToken_ = ""; /** - * - * *
-     * Output only. A token, which can be sent as `page_token` to retrieve the next page.
-     * If this field is omitted, there are no subsequent pages.
+     * Output only. A token, which can be sent as `page_token` to retrieve the
+     * next page. If this field is omitted, there are no subsequent pages.
      * 
* * 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; @@ -1154,22 +1011,21 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
-     * Output only. A token, which can be sent as `page_token` to retrieve the next page.
-     * If this field is omitted, there are no subsequent pages.
+     * Output only. A token, which can be sent as `page_token` to retrieve the
+     * next page. If this field is omitted, there are no subsequent pages.
      * 
* * 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 { @@ -1177,115 +1033,98 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
-     * Output only. A token, which can be sent as `page_token` to retrieve the next page.
-     * If this field is omitted, there are no subsequent pages.
+     * Output only. A token, which can be sent as `page_token` to retrieve the
+     * next page. If this field is omitted, there are no subsequent pages.
      * 
* * 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) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** - * - * *
-     * Output only. A token, which can be sent as `page_token` to retrieve the next page.
-     * If this field is omitted, there are no subsequent pages.
+     * Output only. A token, which can be sent as `page_token` to retrieve the
+     * next page. If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
-     * Output only. A token, which can be sent as `page_token` to retrieve the next page.
-     * If this field is omitted, there are no subsequent pages.
+     * Output only. A token, which can be sent as `page_token` to retrieve the
+     * next page. If this field is omitted, there are no subsequent pages.
      * 
* * 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) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList unreachable_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList unreachable_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureUnreachableIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { unreachable_ = new com.google.protobuf.LazyStringArrayList(unreachable_); bitField0_ |= 0x00000002; - } + } } /** - * - * *
      * Output only. Locations that could not be reached.
      * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return A list containing the unreachable. */ - public com.google.protobuf.ProtocolStringList getUnreachableList() { + public com.google.protobuf.ProtocolStringList + getUnreachableList() { return unreachable_.getUnmodifiableView(); } /** - * - * *
      * Output only. Locations that could not be reached.
      * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** - * - * *
      * Output only. Locations that could not be reached.
      * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -1293,90 +1132,80 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** - * - * *
      * Output only. Locations that could not be reached.
      * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - public com.google.protobuf.ByteString getUnreachableBytes(int index) { + public com.google.protobuf.ByteString + getUnreachableBytes(int index) { return unreachable_.getByteString(index); } /** - * - * *
      * Output only. Locations that could not be reached.
      * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param index The index to set the value at. * @param value The unreachable to set. * @return This builder for chaining. */ - public Builder setUnreachable(int index, java.lang.String value) { + public Builder setUnreachable( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUnreachableIsMutable(); + throw new NullPointerException(); + } + ensureUnreachableIsMutable(); unreachable_.set(index, value); onChanged(); return this; } /** - * - * *
      * Output only. Locations that could not be reached.
      * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The unreachable to add. * @return This builder for chaining. */ - public Builder addUnreachable(java.lang.String value) { + public Builder addUnreachable( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUnreachableIsMutable(); + throw new NullPointerException(); + } + ensureUnreachableIsMutable(); unreachable_.add(value); onChanged(); return this; } /** - * - * *
      * Output only. Locations that could not be reached.
      * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param values The unreachable to add. * @return This builder for chaining. */ - public Builder addAllUnreachable(java.lang.Iterable values) { + public Builder addAllUnreachable( + java.lang.Iterable values) { ensureUnreachableIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, unreachable_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, unreachable_); onChanged(); return this; } /** - * - * *
      * Output only. Locations that could not be reached.
      * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearUnreachable() { @@ -1386,30 +1215,28 @@ public Builder clearUnreachable() { return this; } /** - * - * *
      * Output only. Locations that could not be reached.
      * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes of the unreachable to add. * @return This builder for chaining. */ - public Builder addUnreachableBytes(com.google.protobuf.ByteString value) { + public Builder addUnreachableBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureUnreachableIsMutable(); unreachable_.add(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); } @@ -1419,12 +1246,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.vmmigration.v1.ListCloneJobsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.vmmigration.v1.ListCloneJobsResponse) private static final com.google.cloud.vmmigration.v1.ListCloneJobsResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.vmmigration.v1.ListCloneJobsResponse(); } @@ -1433,16 +1260,16 @@ public static com.google.cloud.vmmigration.v1.ListCloneJobsResponse getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListCloneJobsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListCloneJobsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListCloneJobsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListCloneJobsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1457,4 +1284,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.vmmigration.v1.ListCloneJobsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListCloneJobsResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListCloneJobsResponseOrBuilder.java similarity index 57% rename from proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListCloneJobsResponseOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListCloneJobsResponseOrBuilder.java index 16cf164..2d52a72 100644 --- a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListCloneJobsResponseOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListCloneJobsResponseOrBuilder.java @@ -1,165 +1,116 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; -public interface ListCloneJobsResponseOrBuilder - extends +public interface ListCloneJobsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.ListCloneJobsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Output only. The list of clone jobs response.
    * 
* - * - * repeated .google.cloud.vmmigration.v1.CloneJob clone_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.CloneJob clone_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - java.util.List getCloneJobsList(); + java.util.List + getCloneJobsList(); /** - * - * *
    * Output only. The list of clone jobs response.
    * 
* - * - * repeated .google.cloud.vmmigration.v1.CloneJob clone_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.CloneJob clone_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.cloud.vmmigration.v1.CloneJob getCloneJobs(int index); /** - * - * *
    * Output only. The list of clone jobs response.
    * 
* - * - * repeated .google.cloud.vmmigration.v1.CloneJob clone_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.CloneJob clone_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ int getCloneJobsCount(); /** - * - * *
    * Output only. The list of clone jobs response.
    * 
* - * - * repeated .google.cloud.vmmigration.v1.CloneJob clone_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.CloneJob clone_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - java.util.List + java.util.List getCloneJobsOrBuilderList(); /** - * - * *
    * Output only. The list of clone jobs response.
    * 
* - * - * repeated .google.cloud.vmmigration.v1.CloneJob clone_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.CloneJob clone_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - com.google.cloud.vmmigration.v1.CloneJobOrBuilder getCloneJobsOrBuilder(int index); + com.google.cloud.vmmigration.v1.CloneJobOrBuilder getCloneJobsOrBuilder( + int index); /** - * - * *
-   * Output only. A token, which can be sent as `page_token` to retrieve the next page.
-   * If this field is omitted, there are no subsequent pages.
+   * Output only. A token, which can be sent as `page_token` to retrieve the
+   * next page. If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
-   * Output only. A token, which can be sent as `page_token` to retrieve the next page.
-   * If this field is omitted, there are no subsequent pages.
+   * Output only. A token, which can be sent as `page_token` to retrieve the
+   * next page. If this field is omitted, there are no subsequent pages.
    * 
* * 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(); /** - * - * *
    * Output only. Locations that could not be reached.
    * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return A list containing the unreachable. */ - java.util.List getUnreachableList(); + java.util.List + getUnreachableList(); /** - * - * *
    * Output only. Locations that could not be reached.
    * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The count of unreachable. */ int getUnreachableCount(); /** - * - * *
    * Output only. Locations that could not be reached.
    * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param index The index of the element to return. * @return The unreachable at the given index. */ java.lang.String getUnreachable(int index); /** - * - * *
    * Output only. Locations that could not be reached.
    * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - com.google.protobuf.ByteString getUnreachableBytes(int index); + com.google.protobuf.ByteString + getUnreachableBytes(int index); } diff --git a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListCutoverJobsRequest.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListCutoverJobsRequest.java similarity index 69% rename from proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListCutoverJobsRequest.java rename to owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListCutoverJobsRequest.java index 4b5b7cc..2106db5 100644 --- a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListCutoverJobsRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListCutoverJobsRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; /** - * - * *
  * Request message for 'ListCutoverJobsRequest' request.
  * 
* * Protobuf type {@code google.cloud.vmmigration.v1.ListCutoverJobsRequest} */ -public final class ListCutoverJobsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListCutoverJobsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.vmmigration.v1.ListCutoverJobsRequest) ListCutoverJobsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListCutoverJobsRequest.newBuilder() to construct. private ListCutoverJobsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListCutoverJobsRequest() { parent_ = ""; pageToken_ = ""; @@ -46,15 +28,16 @@ private ListCutoverJobsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListCutoverJobsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListCutoverJobsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -73,46 +56,42 @@ private ListCutoverJobsRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 16: - { - pageSize_ = input.readInt32(); - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: { - pageToken_ = s; - break; - } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); + pageSize_ = input.readInt32(); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - filter_ = s; - break; - } - case 42: - { - java.lang.String s = input.readStringRequireUtf8(); + pageToken_ = s; + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); - orderBy_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + filter_ = s; + break; + } + case 42: { + java.lang.String s = input.readStringRequireUtf8(); + + orderBy_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -120,41 +99,34 @@ private ListCutoverJobsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_ListCutoverJobsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ListCutoverJobsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_ListCutoverJobsRequest_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ListCutoverJobsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.ListCutoverJobsRequest.class, - com.google.cloud.vmmigration.v1.ListCutoverJobsRequest.Builder.class); + com.google.cloud.vmmigration.v1.ListCutoverJobsRequest.class, com.google.cloud.vmmigration.v1.ListCutoverJobsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The parent, which owns this collection of migrating VMs.
    * 
* - * - * 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 @@ -163,31 +135,29 @@ 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 parent, which owns this collection of migrating VMs.
    * 
* - * - * 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 { @@ -198,17 +168,14 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** - * - * *
-   * Optional. The maximum number of cutover jobs to return. The service may return
-   * fewer than this value. If unspecified, at most 500 cutover jobs will be
-   * returned. The maximum value is 1000; values above 1000 will be coerced to
-   * 1000.
+   * Optional. The maximum number of cutover jobs to return. The service may
+   * return fewer than this value. If unspecified, at most 500 cutover jobs will
+   * be returned. The maximum value is 1000; values above 1000 will be coerced
+   * to 1000.
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ @java.lang.Override @@ -219,8 +186,6 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** - * - * *
    * Required. A page token, received from a previous `ListCutoverJobs` call.
    * Provide this to retrieve the subsequent page.
@@ -229,7 +194,6 @@ public int getPageSize() {
    * 
* * string page_token = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The pageToken. */ @java.lang.Override @@ -238,15 +202,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; } } /** - * - * *
    * Required. A page token, received from a previous `ListCutoverJobs` call.
    * Provide this to retrieve the subsequent page.
@@ -255,15 +218,16 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @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 { @@ -274,14 +238,11 @@ public com.google.protobuf.ByteString getPageTokenBytes() { public static final int FILTER_FIELD_NUMBER = 4; private volatile java.lang.Object filter_; /** - * - * *
    * Optional. The filter request.
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The filter. */ @java.lang.Override @@ -290,29 +251,29 @@ public java.lang.String getFilter() { 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(); filter_ = s; return s; } } /** - * - * *
    * Optional. The filter request.
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for filter. */ @java.lang.Override - public com.google.protobuf.ByteString getFilterBytes() { + public com.google.protobuf.ByteString + getFilterBytes() { java.lang.Object ref = filter_; 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); filter_ = b; return b; } else { @@ -323,14 +284,11 @@ public com.google.protobuf.ByteString getFilterBytes() { public static final int ORDER_BY_FIELD_NUMBER = 5; private volatile java.lang.Object orderBy_; /** - * - * *
    * Optional. the order by fields for the result.
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The orderBy. */ @java.lang.Override @@ -339,29 +297,29 @@ public java.lang.String getOrderBy() { 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(); orderBy_ = s; return s; } } /** - * - * *
    * Optional. the order by fields for the result.
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for orderBy. */ @java.lang.Override - public com.google.protobuf.ByteString getOrderByBytes() { + public com.google.protobuf.ByteString + getOrderByBytes() { java.lang.Object ref = orderBy_; 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); orderBy_ = b; return b; } else { @@ -370,7 +328,6 @@ public com.google.protobuf.ByteString getOrderByBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -382,7 +339,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_); } @@ -411,7 +369,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -430,19 +389,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.vmmigration.v1.ListCutoverJobsRequest)) { return super.equals(obj); } - com.google.cloud.vmmigration.v1.ListCutoverJobsRequest other = - (com.google.cloud.vmmigration.v1.ListCutoverJobsRequest) obj; - - if (!getParent().equals(other.getParent())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; - if (!getFilter().equals(other.getFilter())) return false; - if (!getOrderBy().equals(other.getOrderBy())) return false; + com.google.cloud.vmmigration.v1.ListCutoverJobsRequest other = (com.google.cloud.vmmigration.v1.ListCutoverJobsRequest) obj; + + if (!getParent() + .equals(other.getParent())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; + if (!getFilter() + .equals(other.getFilter())) return false; + if (!getOrderBy() + .equals(other.getOrderBy())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -470,127 +433,117 @@ public int hashCode() { } public static com.google.cloud.vmmigration.v1.ListCutoverJobsRequest 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.vmmigration.v1.ListCutoverJobsRequest 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.vmmigration.v1.ListCutoverJobsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.vmmigration.v1.ListCutoverJobsRequest 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.vmmigration.v1.ListCutoverJobsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.vmmigration.v1.ListCutoverJobsRequest 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.vmmigration.v1.ListCutoverJobsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.vmmigration.v1.ListCutoverJobsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.vmmigration.v1.ListCutoverJobsRequest 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.vmmigration.v1.ListCutoverJobsRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.vmmigration.v1.ListCutoverJobsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.vmmigration.v1.ListCutoverJobsRequest 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.vmmigration.v1.ListCutoverJobsRequest 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.vmmigration.v1.ListCutoverJobsRequest 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.vmmigration.v1.ListCutoverJobsRequest prototype) { + public static Builder newBuilder(com.google.cloud.vmmigration.v1.ListCutoverJobsRequest 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 message for 'ListCutoverJobsRequest' request.
    * 
* * Protobuf type {@code google.cloud.vmmigration.v1.ListCutoverJobsRequest} */ - 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.vmmigration.v1.ListCutoverJobsRequest) com.google.cloud.vmmigration.v1.ListCutoverJobsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_ListCutoverJobsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ListCutoverJobsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_ListCutoverJobsRequest_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ListCutoverJobsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.ListCutoverJobsRequest.class, - com.google.cloud.vmmigration.v1.ListCutoverJobsRequest.Builder.class); + com.google.cloud.vmmigration.v1.ListCutoverJobsRequest.class, com.google.cloud.vmmigration.v1.ListCutoverJobsRequest.Builder.class); } // Construct using com.google.cloud.vmmigration.v1.ListCutoverJobsRequest.newBuilder() @@ -598,15 +551,16 @@ 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) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -624,9 +578,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_ListCutoverJobsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ListCutoverJobsRequest_descriptor; } @java.lang.Override @@ -645,8 +599,7 @@ public com.google.cloud.vmmigration.v1.ListCutoverJobsRequest build() { @java.lang.Override public com.google.cloud.vmmigration.v1.ListCutoverJobsRequest buildPartial() { - com.google.cloud.vmmigration.v1.ListCutoverJobsRequest result = - new com.google.cloud.vmmigration.v1.ListCutoverJobsRequest(this); + com.google.cloud.vmmigration.v1.ListCutoverJobsRequest result = new com.google.cloud.vmmigration.v1.ListCutoverJobsRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -660,39 +613,38 @@ public com.google.cloud.vmmigration.v1.ListCutoverJobsRequest buildPartial() { 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.vmmigration.v1.ListCutoverJobsRequest) { - return mergeFrom((com.google.cloud.vmmigration.v1.ListCutoverJobsRequest) other); + return mergeFrom((com.google.cloud.vmmigration.v1.ListCutoverJobsRequest)other); } else { super.mergeFrom(other); return this; @@ -700,8 +652,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.vmmigration.v1.ListCutoverJobsRequest other) { - if (other == com.google.cloud.vmmigration.v1.ListCutoverJobsRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.vmmigration.v1.ListCutoverJobsRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -740,8 +691,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.vmmigration.v1.ListCutoverJobsRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.vmmigration.v1.ListCutoverJobsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -753,22 +703,18 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The parent, which owns this collection of migrating VMs.
      * 
* - * - * 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; @@ -777,23 +723,20 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The parent, which owns this collection of migrating VMs.
      * 
* - * - * 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 { @@ -801,85 +744,69 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The parent, which owns this collection of migrating VMs.
      * 
* - * - * 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) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The parent, which owns this collection of migrating VMs.
      * 
* - * - * 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() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The parent, which owns this collection of migrating VMs.
      * 
* - * - * 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) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
-     * Optional. The maximum number of cutover jobs to return. The service may return
-     * fewer than this value. If unspecified, at most 500 cutover jobs will be
-     * returned. The maximum value is 1000; values above 1000 will be coerced to
-     * 1000.
+     * Optional. The maximum number of cutover jobs to return. The service may
+     * return fewer than this value. If unspecified, at most 500 cutover jobs will
+     * be returned. The maximum value is 1000; values above 1000 will be coerced
+     * to 1000.
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ @java.lang.Override @@ -887,42 +814,36 @@ public int getPageSize() { return pageSize_; } /** - * - * *
-     * Optional. The maximum number of cutover jobs to return. The service may return
-     * fewer than this value. If unspecified, at most 500 cutover jobs will be
-     * returned. The maximum value is 1000; values above 1000 will be coerced to
-     * 1000.
+     * Optional. The maximum number of cutover jobs to return. The service may
+     * return fewer than this value. If unspecified, at most 500 cutover jobs will
+     * be returned. The maximum value is 1000; values above 1000 will be coerced
+     * to 1000.
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** - * - * *
-     * Optional. The maximum number of cutover jobs to return. The service may return
-     * fewer than this value. If unspecified, at most 500 cutover jobs will be
-     * returned. The maximum value is 1000; values above 1000 will be coerced to
-     * 1000.
+     * Optional. The maximum number of cutover jobs to return. The service may
+     * return fewer than this value. If unspecified, at most 500 cutover jobs will
+     * be returned. The maximum value is 1000; values above 1000 will be coerced
+     * to 1000.
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -930,8 +851,6 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * Required. A page token, received from a previous `ListCutoverJobs` call.
      * Provide this to retrieve the subsequent page.
@@ -940,13 +859,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @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; @@ -955,8 +874,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * Required. A page token, received from a previous `ListCutoverJobs` call.
      * Provide this to retrieve the subsequent page.
@@ -965,14 +882,15 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @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 { @@ -980,8 +898,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * Required. A page token, received from a previous `ListCutoverJobs` call.
      * Provide this to retrieve the subsequent page.
@@ -990,22 +906,20 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * Required. A page token, received from a previous `ListCutoverJobs` call.
      * Provide this to retrieve the subsequent page.
@@ -1014,18 +928,15 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * Required. A page token, received from a previous `ListCutoverJobs` call.
      * Provide this to retrieve the subsequent page.
@@ -1034,16 +945,16 @@ public Builder clearPageToken() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; @@ -1051,20 +962,18 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { private java.lang.Object filter_ = ""; /** - * - * *
      * Optional. The filter request.
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; 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(); filter_ = s; return s; @@ -1073,21 +982,20 @@ public java.lang.String getFilter() { } } /** - * - * *
      * Optional. The filter request.
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for filter. */ - public com.google.protobuf.ByteString getFilterBytes() { + public com.google.protobuf.ByteString + getFilterBytes() { java.lang.Object ref = filter_; 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); filter_ = b; return b; } else { @@ -1095,61 +1003,54 @@ public com.google.protobuf.ByteString getFilterBytes() { } } /** - * - * *
      * Optional. The filter request.
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter(java.lang.String value) { + public Builder setFilter( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; onChanged(); return this; } /** - * - * *
      * Optional. The filter request.
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** - * - * *
      * Optional. The filter request.
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes(com.google.protobuf.ByteString value) { + public Builder setFilterBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = value; onChanged(); return this; @@ -1157,20 +1058,18 @@ public Builder setFilterBytes(com.google.protobuf.ByteString value) { private java.lang.Object orderBy_ = ""; /** - * - * *
      * Optional. the order by fields for the result.
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The orderBy. */ public java.lang.String getOrderBy() { java.lang.Object ref = orderBy_; 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(); orderBy_ = s; return s; @@ -1179,21 +1078,20 @@ public java.lang.String getOrderBy() { } } /** - * - * *
      * Optional. the order by fields for the result.
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for orderBy. */ - public com.google.protobuf.ByteString getOrderByBytes() { + public com.google.protobuf.ByteString + getOrderByBytes() { java.lang.Object ref = orderBy_; 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); orderBy_ = b; return b; } else { @@ -1201,68 +1099,61 @@ public com.google.protobuf.ByteString getOrderByBytes() { } } /** - * - * *
      * Optional. the order by fields for the result.
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The orderBy to set. * @return This builder for chaining. */ - public Builder setOrderBy(java.lang.String value) { + public Builder setOrderBy( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + orderBy_ = value; onChanged(); return this; } /** - * - * *
      * Optional. the order by fields for the result.
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearOrderBy() { - + orderBy_ = getDefaultInstance().getOrderBy(); onChanged(); return this; } /** - * - * *
      * Optional. the order by fields for the result.
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for orderBy to set. * @return This builder for chaining. */ - public Builder setOrderByBytes(com.google.protobuf.ByteString value) { + public Builder setOrderByBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + orderBy_ = 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); } @@ -1272,12 +1163,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.vmmigration.v1.ListCutoverJobsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.vmmigration.v1.ListCutoverJobsRequest) private static final com.google.cloud.vmmigration.v1.ListCutoverJobsRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.vmmigration.v1.ListCutoverJobsRequest(); } @@ -1286,16 +1177,16 @@ public static com.google.cloud.vmmigration.v1.ListCutoverJobsRequest getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListCutoverJobsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListCutoverJobsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListCutoverJobsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListCutoverJobsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1310,4 +1201,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.vmmigration.v1.ListCutoverJobsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListCutoverJobsRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListCutoverJobsRequestOrBuilder.java similarity index 63% rename from proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListCutoverJobsRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListCutoverJobsRequestOrBuilder.java index ea27b0a..29b559b 100644 --- a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListCutoverJobsRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListCutoverJobsRequestOrBuilder.java @@ -1,76 +1,46 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; -public interface ListCutoverJobsRequestOrBuilder - extends +public interface ListCutoverJobsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.ListCutoverJobsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The parent, which owns this collection of migrating VMs.
    * 
* - * - * 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 parent, which owns this collection of migrating VMs.
    * 
* - * - * 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(); /** - * - * *
-   * Optional. The maximum number of cutover jobs to return. The service may return
-   * fewer than this value. If unspecified, at most 500 cutover jobs will be
-   * returned. The maximum value is 1000; values above 1000 will be coerced to
-   * 1000.
+   * Optional. The maximum number of cutover jobs to return. The service may
+   * return fewer than this value. If unspecified, at most 500 cutover jobs will
+   * be returned. The maximum value is 1000; values above 1000 will be coerced
+   * to 1000.
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * Required. A page token, received from a previous `ListCutoverJobs` call.
    * Provide this to retrieve the subsequent page.
@@ -79,13 +49,10 @@ public interface ListCutoverJobsRequestOrBuilder
    * 
* * string page_token = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * Required. A page token, received from a previous `ListCutoverJobs` call.
    * Provide this to retrieve the subsequent page.
@@ -94,58 +61,48 @@ public interface ListCutoverJobsRequestOrBuilder
    * 
* * string page_token = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); /** - * - * *
    * Optional. The filter request.
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The filter. */ java.lang.String getFilter(); /** - * - * *
    * Optional. The filter request.
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for filter. */ - com.google.protobuf.ByteString getFilterBytes(); + com.google.protobuf.ByteString + getFilterBytes(); /** - * - * *
    * Optional. the order by fields for the result.
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The orderBy. */ java.lang.String getOrderBy(); /** - * - * *
    * Optional. the order by fields for the result.
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for orderBy. */ - com.google.protobuf.ByteString getOrderByBytes(); + com.google.protobuf.ByteString + getOrderByBytes(); } diff --git a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListCutoverJobsResponse.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListCutoverJobsResponse.java similarity index 67% rename from proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListCutoverJobsResponse.java rename to owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListCutoverJobsResponse.java index 8bb2fe3..434398b 100644 --- a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListCutoverJobsResponse.java +++ b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListCutoverJobsResponse.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; /** - * - * *
  * Response message for 'ListCutoverJobs' request.
  * 
* * Protobuf type {@code google.cloud.vmmigration.v1.ListCutoverJobsResponse} */ -public final class ListCutoverJobsResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListCutoverJobsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.vmmigration.v1.ListCutoverJobsResponse) ListCutoverJobsResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListCutoverJobsResponse.newBuilder() to construct. private ListCutoverJobsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListCutoverJobsResponse() { cutoverJobs_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -45,15 +27,16 @@ private ListCutoverJobsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListCutoverJobsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListCutoverJobsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -73,42 +56,37 @@ private ListCutoverJobsResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - cutoverJobs_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - cutoverJobs_.add( - input.readMessage( - com.google.cloud.vmmigration.v1.CutoverJob.parser(), extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + cutoverJobs_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + cutoverJobs_.add( + input.readMessage(com.google.cloud.vmmigration.v1.CutoverJob.parser(), extensionRegistry)); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - unreachable_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000002; - } - unreachable_.add(s); - break; + nextPageToken_ = s; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + unreachable_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000002; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + unreachable_.add(s); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -116,7 +94,8 @@ private ListCutoverJobsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { cutoverJobs_ = java.util.Collections.unmodifiableList(cutoverJobs_); @@ -128,113 +107,88 @@ private ListCutoverJobsResponse( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_ListCutoverJobsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ListCutoverJobsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_ListCutoverJobsResponse_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ListCutoverJobsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.ListCutoverJobsResponse.class, - com.google.cloud.vmmigration.v1.ListCutoverJobsResponse.Builder.class); + com.google.cloud.vmmigration.v1.ListCutoverJobsResponse.class, com.google.cloud.vmmigration.v1.ListCutoverJobsResponse.Builder.class); } public static final int CUTOVER_JOBS_FIELD_NUMBER = 1; private java.util.List cutoverJobs_; /** - * - * *
    * Output only. The list of cutover jobs response.
    * 
* - * - * repeated .google.cloud.vmmigration.v1.CutoverJob cutover_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.CutoverJob cutover_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public java.util.List getCutoverJobsList() { return cutoverJobs_; } /** - * - * *
    * Output only. The list of cutover jobs response.
    * 
* - * - * repeated .google.cloud.vmmigration.v1.CutoverJob cutover_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.CutoverJob cutover_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public java.util.List + public java.util.List getCutoverJobsOrBuilderList() { return cutoverJobs_; } /** - * - * *
    * Output only. The list of cutover jobs response.
    * 
* - * - * repeated .google.cloud.vmmigration.v1.CutoverJob cutover_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.CutoverJob cutover_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public int getCutoverJobsCount() { return cutoverJobs_.size(); } /** - * - * *
    * Output only. The list of cutover jobs response.
    * 
* - * - * repeated .google.cloud.vmmigration.v1.CutoverJob cutover_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.CutoverJob cutover_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.cloud.vmmigration.v1.CutoverJob getCutoverJobs(int index) { return cutoverJobs_.get(index); } /** - * - * *
    * Output only. The list of cutover jobs response.
    * 
* - * - * repeated .google.cloud.vmmigration.v1.CutoverJob cutover_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.CutoverJob cutover_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public com.google.cloud.vmmigration.v1.CutoverJobOrBuilder getCutoverJobsOrBuilder(int index) { + public com.google.cloud.vmmigration.v1.CutoverJobOrBuilder getCutoverJobsOrBuilder( + int index) { return cutoverJobs_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** - * - * *
-   * Output only. A token, which can be sent as `page_token` to retrieve the next page.
-   * If this field is omitted, there are no subsequent pages.
+   * Output only. A token, which can be sent as `page_token` to retrieve the
+   * next page. If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The nextPageToken. */ @java.lang.Override @@ -243,30 +197,30 @@ 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. A token, which can be sent as `page_token` to retrieve the next page.
-   * If this field is omitted, there are no subsequent pages.
+   * Output only. A token, which can be sent as `page_token` to retrieve the
+   * next page. If this field is omitted, there are no subsequent pages.
    * 
* * 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 { @@ -277,42 +231,34 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { public static final int UNREACHABLE_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList unreachable_; /** - * - * *
    * Output only. Locations that could not be reached.
    * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return A list containing the unreachable. */ - public com.google.protobuf.ProtocolStringList getUnreachableList() { + public com.google.protobuf.ProtocolStringList + getUnreachableList() { return unreachable_; } /** - * - * *
    * Output only. Locations that could not be reached.
    * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** - * - * *
    * Output only. Locations that could not be reached.
    * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -320,23 +266,20 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** - * - * *
    * Output only. Locations that could not be reached.
    * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - public com.google.protobuf.ByteString getUnreachableBytes(int index) { + public com.google.protobuf.ByteString + getUnreachableBytes(int index) { return unreachable_.getByteString(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -348,7 +291,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 < cutoverJobs_.size(); i++) { output.writeMessage(1, cutoverJobs_.get(i)); } @@ -368,7 +312,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < cutoverJobs_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, cutoverJobs_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, cutoverJobs_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -389,17 +334,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.vmmigration.v1.ListCutoverJobsResponse)) { return super.equals(obj); } - com.google.cloud.vmmigration.v1.ListCutoverJobsResponse other = - (com.google.cloud.vmmigration.v1.ListCutoverJobsResponse) obj; + com.google.cloud.vmmigration.v1.ListCutoverJobsResponse other = (com.google.cloud.vmmigration.v1.ListCutoverJobsResponse) obj; - if (!getCutoverJobsList().equals(other.getCutoverJobsList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; - if (!getUnreachableList().equals(other.getUnreachableList())) return false; + if (!getCutoverJobsList() + .equals(other.getCutoverJobsList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; + if (!getUnreachableList() + .equals(other.getUnreachableList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -427,127 +374,117 @@ public int hashCode() { } public static com.google.cloud.vmmigration.v1.ListCutoverJobsResponse 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.vmmigration.v1.ListCutoverJobsResponse 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.vmmigration.v1.ListCutoverJobsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.vmmigration.v1.ListCutoverJobsResponse 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.vmmigration.v1.ListCutoverJobsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.vmmigration.v1.ListCutoverJobsResponse 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.vmmigration.v1.ListCutoverJobsResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.vmmigration.v1.ListCutoverJobsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.vmmigration.v1.ListCutoverJobsResponse 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.vmmigration.v1.ListCutoverJobsResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.vmmigration.v1.ListCutoverJobsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.vmmigration.v1.ListCutoverJobsResponse 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.vmmigration.v1.ListCutoverJobsResponse 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.vmmigration.v1.ListCutoverJobsResponse 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.vmmigration.v1.ListCutoverJobsResponse prototype) { + public static Builder newBuilder(com.google.cloud.vmmigration.v1.ListCutoverJobsResponse 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; } /** - * - * *
    * Response message for 'ListCutoverJobs' request.
    * 
* * Protobuf type {@code google.cloud.vmmigration.v1.ListCutoverJobsResponse} */ - 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.vmmigration.v1.ListCutoverJobsResponse) com.google.cloud.vmmigration.v1.ListCutoverJobsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_ListCutoverJobsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ListCutoverJobsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_ListCutoverJobsResponse_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ListCutoverJobsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.ListCutoverJobsResponse.class, - com.google.cloud.vmmigration.v1.ListCutoverJobsResponse.Builder.class); + com.google.cloud.vmmigration.v1.ListCutoverJobsResponse.class, com.google.cloud.vmmigration.v1.ListCutoverJobsResponse.Builder.class); } // Construct using com.google.cloud.vmmigration.v1.ListCutoverJobsResponse.newBuilder() @@ -555,17 +492,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) { getCutoverJobsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -583,9 +520,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_ListCutoverJobsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ListCutoverJobsResponse_descriptor; } @java.lang.Override @@ -604,8 +541,7 @@ public com.google.cloud.vmmigration.v1.ListCutoverJobsResponse build() { @java.lang.Override public com.google.cloud.vmmigration.v1.ListCutoverJobsResponse buildPartial() { - com.google.cloud.vmmigration.v1.ListCutoverJobsResponse result = - new com.google.cloud.vmmigration.v1.ListCutoverJobsResponse(this); + com.google.cloud.vmmigration.v1.ListCutoverJobsResponse result = new com.google.cloud.vmmigration.v1.ListCutoverJobsResponse(this); int from_bitField0_ = bitField0_; if (cutoverJobsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -630,39 +566,38 @@ public com.google.cloud.vmmigration.v1.ListCutoverJobsResponse buildPartial() { 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.vmmigration.v1.ListCutoverJobsResponse) { - return mergeFrom((com.google.cloud.vmmigration.v1.ListCutoverJobsResponse) other); + return mergeFrom((com.google.cloud.vmmigration.v1.ListCutoverJobsResponse)other); } else { super.mergeFrom(other); return this; @@ -670,8 +605,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.vmmigration.v1.ListCutoverJobsResponse other) { - if (other == com.google.cloud.vmmigration.v1.ListCutoverJobsResponse.getDefaultInstance()) - return this; + if (other == com.google.cloud.vmmigration.v1.ListCutoverJobsResponse.getDefaultInstance()) return this; if (cutoverJobsBuilder_ == null) { if (!other.cutoverJobs_.isEmpty()) { if (cutoverJobs_.isEmpty()) { @@ -690,10 +624,9 @@ public Builder mergeFrom(com.google.cloud.vmmigration.v1.ListCutoverJobsResponse cutoverJobsBuilder_ = null; cutoverJobs_ = other.cutoverJobs_; bitField0_ = (bitField0_ & ~0x00000001); - cutoverJobsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getCutoverJobsFieldBuilder() - : null; + cutoverJobsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getCutoverJobsFieldBuilder() : null; } else { cutoverJobsBuilder_.addAllMessages(other.cutoverJobs_); } @@ -732,8 +665,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.vmmigration.v1.ListCutoverJobsResponse) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.vmmigration.v1.ListCutoverJobsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -742,36 +674,26 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.util.List cutoverJobs_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureCutoverJobsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - cutoverJobs_ = - new java.util.ArrayList(cutoverJobs_); + cutoverJobs_ = new java.util.ArrayList(cutoverJobs_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.vmmigration.v1.CutoverJob, - com.google.cloud.vmmigration.v1.CutoverJob.Builder, - com.google.cloud.vmmigration.v1.CutoverJobOrBuilder> - cutoverJobsBuilder_; + com.google.cloud.vmmigration.v1.CutoverJob, com.google.cloud.vmmigration.v1.CutoverJob.Builder, com.google.cloud.vmmigration.v1.CutoverJobOrBuilder> cutoverJobsBuilder_; /** - * - * *
      * Output only. The list of cutover jobs response.
      * 
* - * - * repeated .google.cloud.vmmigration.v1.CutoverJob cutover_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.CutoverJob cutover_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public java.util.List getCutoverJobsList() { if (cutoverJobsBuilder_ == null) { @@ -781,15 +703,11 @@ public java.util.List getCutoverJobs } } /** - * - * *
      * Output only. The list of cutover jobs response.
      * 
* - * - * repeated .google.cloud.vmmigration.v1.CutoverJob cutover_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.CutoverJob cutover_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public int getCutoverJobsCount() { if (cutoverJobsBuilder_ == null) { @@ -799,15 +717,11 @@ public int getCutoverJobsCount() { } } /** - * - * *
      * Output only. The list of cutover jobs response.
      * 
* - * - * repeated .google.cloud.vmmigration.v1.CutoverJob cutover_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.CutoverJob cutover_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.vmmigration.v1.CutoverJob getCutoverJobs(int index) { if (cutoverJobsBuilder_ == null) { @@ -817,17 +731,14 @@ public com.google.cloud.vmmigration.v1.CutoverJob getCutoverJobs(int index) { } } /** - * - * *
      * Output only. The list of cutover jobs response.
      * 
* - * - * repeated .google.cloud.vmmigration.v1.CutoverJob cutover_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.CutoverJob cutover_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setCutoverJobs(int index, com.google.cloud.vmmigration.v1.CutoverJob value) { + public Builder setCutoverJobs( + int index, com.google.cloud.vmmigration.v1.CutoverJob value) { if (cutoverJobsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -841,15 +752,11 @@ public Builder setCutoverJobs(int index, com.google.cloud.vmmigration.v1.Cutover return this; } /** - * - * *
      * Output only. The list of cutover jobs response.
      * 
* - * - * repeated .google.cloud.vmmigration.v1.CutoverJob cutover_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.CutoverJob cutover_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setCutoverJobs( int index, com.google.cloud.vmmigration.v1.CutoverJob.Builder builderForValue) { @@ -863,15 +770,11 @@ public Builder setCutoverJobs( return this; } /** - * - * *
      * Output only. The list of cutover jobs response.
      * 
* - * - * repeated .google.cloud.vmmigration.v1.CutoverJob cutover_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.CutoverJob cutover_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addCutoverJobs(com.google.cloud.vmmigration.v1.CutoverJob value) { if (cutoverJobsBuilder_ == null) { @@ -887,17 +790,14 @@ public Builder addCutoverJobs(com.google.cloud.vmmigration.v1.CutoverJob value) return this; } /** - * - * *
      * Output only. The list of cutover jobs response.
      * 
* - * - * repeated .google.cloud.vmmigration.v1.CutoverJob cutover_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.CutoverJob cutover_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder addCutoverJobs(int index, com.google.cloud.vmmigration.v1.CutoverJob value) { + public Builder addCutoverJobs( + int index, com.google.cloud.vmmigration.v1.CutoverJob value) { if (cutoverJobsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -911,15 +811,11 @@ public Builder addCutoverJobs(int index, com.google.cloud.vmmigration.v1.Cutover return this; } /** - * - * *
      * Output only. The list of cutover jobs response.
      * 
* - * - * repeated .google.cloud.vmmigration.v1.CutoverJob cutover_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.CutoverJob cutover_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addCutoverJobs( com.google.cloud.vmmigration.v1.CutoverJob.Builder builderForValue) { @@ -933,15 +829,11 @@ public Builder addCutoverJobs( return this; } /** - * - * *
      * Output only. The list of cutover jobs response.
      * 
* - * - * repeated .google.cloud.vmmigration.v1.CutoverJob cutover_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.CutoverJob cutover_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addCutoverJobs( int index, com.google.cloud.vmmigration.v1.CutoverJob.Builder builderForValue) { @@ -955,21 +847,18 @@ public Builder addCutoverJobs( return this; } /** - * - * *
      * Output only. The list of cutover jobs response.
      * 
* - * - * repeated .google.cloud.vmmigration.v1.CutoverJob cutover_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.CutoverJob cutover_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addAllCutoverJobs( java.lang.Iterable values) { if (cutoverJobsBuilder_ == null) { ensureCutoverJobsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, cutoverJobs_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, cutoverJobs_); onChanged(); } else { cutoverJobsBuilder_.addAllMessages(values); @@ -977,15 +866,11 @@ public Builder addAllCutoverJobs( return this; } /** - * - * *
      * Output only. The list of cutover jobs response.
      * 
* - * - * repeated .google.cloud.vmmigration.v1.CutoverJob cutover_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.CutoverJob cutover_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearCutoverJobs() { if (cutoverJobsBuilder_ == null) { @@ -998,15 +883,11 @@ public Builder clearCutoverJobs() { return this; } /** - * - * *
      * Output only. The list of cutover jobs response.
      * 
* - * - * repeated .google.cloud.vmmigration.v1.CutoverJob cutover_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.CutoverJob cutover_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder removeCutoverJobs(int index) { if (cutoverJobsBuilder_ == null) { @@ -1019,50 +900,39 @@ public Builder removeCutoverJobs(int index) { return this; } /** - * - * *
      * Output only. The list of cutover jobs response.
      * 
* - * - * repeated .google.cloud.vmmigration.v1.CutoverJob cutover_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.CutoverJob cutover_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.vmmigration.v1.CutoverJob.Builder getCutoverJobsBuilder(int index) { + public com.google.cloud.vmmigration.v1.CutoverJob.Builder getCutoverJobsBuilder( + int index) { return getCutoverJobsFieldBuilder().getBuilder(index); } /** - * - * *
      * Output only. The list of cutover jobs response.
      * 
* - * - * repeated .google.cloud.vmmigration.v1.CutoverJob cutover_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.CutoverJob cutover_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.vmmigration.v1.CutoverJobOrBuilder getCutoverJobsOrBuilder(int index) { + public com.google.cloud.vmmigration.v1.CutoverJobOrBuilder getCutoverJobsOrBuilder( + int index) { if (cutoverJobsBuilder_ == null) { - return cutoverJobs_.get(index); - } else { + return cutoverJobs_.get(index); } else { return cutoverJobsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Output only. The list of cutover jobs response.
      * 
* - * - * repeated .google.cloud.vmmigration.v1.CutoverJob cutover_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.CutoverJob cutover_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public java.util.List - getCutoverJobsOrBuilderList() { + public java.util.List + getCutoverJobsOrBuilderList() { if (cutoverJobsBuilder_ != null) { return cutoverJobsBuilder_.getMessageOrBuilderList(); } else { @@ -1070,63 +940,49 @@ public com.google.cloud.vmmigration.v1.CutoverJobOrBuilder getCutoverJobsOrBuild } } /** - * - * *
      * Output only. The list of cutover jobs response.
      * 
* - * - * repeated .google.cloud.vmmigration.v1.CutoverJob cutover_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.CutoverJob cutover_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.vmmigration.v1.CutoverJob.Builder addCutoverJobsBuilder() { - return getCutoverJobsFieldBuilder() - .addBuilder(com.google.cloud.vmmigration.v1.CutoverJob.getDefaultInstance()); + return getCutoverJobsFieldBuilder().addBuilder( + com.google.cloud.vmmigration.v1.CutoverJob.getDefaultInstance()); } /** - * - * *
      * Output only. The list of cutover jobs response.
      * 
* - * - * repeated .google.cloud.vmmigration.v1.CutoverJob cutover_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.CutoverJob cutover_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.vmmigration.v1.CutoverJob.Builder addCutoverJobsBuilder(int index) { - return getCutoverJobsFieldBuilder() - .addBuilder(index, com.google.cloud.vmmigration.v1.CutoverJob.getDefaultInstance()); + public com.google.cloud.vmmigration.v1.CutoverJob.Builder addCutoverJobsBuilder( + int index) { + return getCutoverJobsFieldBuilder().addBuilder( + index, com.google.cloud.vmmigration.v1.CutoverJob.getDefaultInstance()); } /** - * - * *
      * Output only. The list of cutover jobs response.
      * 
* - * - * repeated .google.cloud.vmmigration.v1.CutoverJob cutover_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.CutoverJob cutover_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public java.util.List - getCutoverJobsBuilderList() { + public java.util.List + getCutoverJobsBuilderList() { return getCutoverJobsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.vmmigration.v1.CutoverJob, - com.google.cloud.vmmigration.v1.CutoverJob.Builder, - com.google.cloud.vmmigration.v1.CutoverJobOrBuilder> + com.google.cloud.vmmigration.v1.CutoverJob, com.google.cloud.vmmigration.v1.CutoverJob.Builder, com.google.cloud.vmmigration.v1.CutoverJobOrBuilder> getCutoverJobsFieldBuilder() { if (cutoverJobsBuilder_ == null) { - cutoverJobsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.vmmigration.v1.CutoverJob, - com.google.cloud.vmmigration.v1.CutoverJob.Builder, - com.google.cloud.vmmigration.v1.CutoverJobOrBuilder>( - cutoverJobs_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + cutoverJobsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.vmmigration.v1.CutoverJob, com.google.cloud.vmmigration.v1.CutoverJob.Builder, com.google.cloud.vmmigration.v1.CutoverJobOrBuilder>( + cutoverJobs_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); cutoverJobs_ = null; } return cutoverJobsBuilder_; @@ -1134,21 +990,19 @@ public com.google.cloud.vmmigration.v1.CutoverJob.Builder addCutoverJobsBuilder( private java.lang.Object nextPageToken_ = ""; /** - * - * *
-     * Output only. A token, which can be sent as `page_token` to retrieve the next page.
-     * If this field is omitted, there are no subsequent pages.
+     * Output only. A token, which can be sent as `page_token` to retrieve the
+     * next page. If this field is omitted, there are no subsequent pages.
      * 
* * 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; @@ -1157,22 +1011,21 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
-     * Output only. A token, which can be sent as `page_token` to retrieve the next page.
-     * If this field is omitted, there are no subsequent pages.
+     * Output only. A token, which can be sent as `page_token` to retrieve the
+     * next page. If this field is omitted, there are no subsequent pages.
      * 
* * 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 { @@ -1180,115 +1033,98 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
-     * Output only. A token, which can be sent as `page_token` to retrieve the next page.
-     * If this field is omitted, there are no subsequent pages.
+     * Output only. A token, which can be sent as `page_token` to retrieve the
+     * next page. If this field is omitted, there are no subsequent pages.
      * 
* * 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) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** - * - * *
-     * Output only. A token, which can be sent as `page_token` to retrieve the next page.
-     * If this field is omitted, there are no subsequent pages.
+     * Output only. A token, which can be sent as `page_token` to retrieve the
+     * next page. If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
-     * Output only. A token, which can be sent as `page_token` to retrieve the next page.
-     * If this field is omitted, there are no subsequent pages.
+     * Output only. A token, which can be sent as `page_token` to retrieve the
+     * next page. If this field is omitted, there are no subsequent pages.
      * 
* * 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) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList unreachable_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList unreachable_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureUnreachableIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { unreachable_ = new com.google.protobuf.LazyStringArrayList(unreachable_); bitField0_ |= 0x00000002; - } + } } /** - * - * *
      * Output only. Locations that could not be reached.
      * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return A list containing the unreachable. */ - public com.google.protobuf.ProtocolStringList getUnreachableList() { + public com.google.protobuf.ProtocolStringList + getUnreachableList() { return unreachable_.getUnmodifiableView(); } /** - * - * *
      * Output only. Locations that could not be reached.
      * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** - * - * *
      * Output only. Locations that could not be reached.
      * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -1296,90 +1132,80 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** - * - * *
      * Output only. Locations that could not be reached.
      * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - public com.google.protobuf.ByteString getUnreachableBytes(int index) { + public com.google.protobuf.ByteString + getUnreachableBytes(int index) { return unreachable_.getByteString(index); } /** - * - * *
      * Output only. Locations that could not be reached.
      * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param index The index to set the value at. * @param value The unreachable to set. * @return This builder for chaining. */ - public Builder setUnreachable(int index, java.lang.String value) { + public Builder setUnreachable( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUnreachableIsMutable(); + throw new NullPointerException(); + } + ensureUnreachableIsMutable(); unreachable_.set(index, value); onChanged(); return this; } /** - * - * *
      * Output only. Locations that could not be reached.
      * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The unreachable to add. * @return This builder for chaining. */ - public Builder addUnreachable(java.lang.String value) { + public Builder addUnreachable( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUnreachableIsMutable(); + throw new NullPointerException(); + } + ensureUnreachableIsMutable(); unreachable_.add(value); onChanged(); return this; } /** - * - * *
      * Output only. Locations that could not be reached.
      * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param values The unreachable to add. * @return This builder for chaining. */ - public Builder addAllUnreachable(java.lang.Iterable values) { + public Builder addAllUnreachable( + java.lang.Iterable values) { ensureUnreachableIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, unreachable_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, unreachable_); onChanged(); return this; } /** - * - * *
      * Output only. Locations that could not be reached.
      * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearUnreachable() { @@ -1389,30 +1215,28 @@ public Builder clearUnreachable() { return this; } /** - * - * *
      * Output only. Locations that could not be reached.
      * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes of the unreachable to add. * @return This builder for chaining. */ - public Builder addUnreachableBytes(com.google.protobuf.ByteString value) { + public Builder addUnreachableBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureUnreachableIsMutable(); unreachable_.add(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); } @@ -1422,12 +1246,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.vmmigration.v1.ListCutoverJobsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.vmmigration.v1.ListCutoverJobsResponse) private static final com.google.cloud.vmmigration.v1.ListCutoverJobsResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.vmmigration.v1.ListCutoverJobsResponse(); } @@ -1436,16 +1260,16 @@ public static com.google.cloud.vmmigration.v1.ListCutoverJobsResponse getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListCutoverJobsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListCutoverJobsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListCutoverJobsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListCutoverJobsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1460,4 +1284,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.vmmigration.v1.ListCutoverJobsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListCutoverJobsResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListCutoverJobsResponseOrBuilder.java similarity index 57% rename from proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListCutoverJobsResponseOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListCutoverJobsResponseOrBuilder.java index 748116c..c6c80fa 100644 --- a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListCutoverJobsResponseOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListCutoverJobsResponseOrBuilder.java @@ -1,165 +1,116 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; -public interface ListCutoverJobsResponseOrBuilder - extends +public interface ListCutoverJobsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.ListCutoverJobsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Output only. The list of cutover jobs response.
    * 
* - * - * repeated .google.cloud.vmmigration.v1.CutoverJob cutover_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.CutoverJob cutover_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - java.util.List getCutoverJobsList(); + java.util.List + getCutoverJobsList(); /** - * - * *
    * Output only. The list of cutover jobs response.
    * 
* - * - * repeated .google.cloud.vmmigration.v1.CutoverJob cutover_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.CutoverJob cutover_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.cloud.vmmigration.v1.CutoverJob getCutoverJobs(int index); /** - * - * *
    * Output only. The list of cutover jobs response.
    * 
* - * - * repeated .google.cloud.vmmigration.v1.CutoverJob cutover_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.CutoverJob cutover_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ int getCutoverJobsCount(); /** - * - * *
    * Output only. The list of cutover jobs response.
    * 
* - * - * repeated .google.cloud.vmmigration.v1.CutoverJob cutover_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.CutoverJob cutover_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - java.util.List + java.util.List getCutoverJobsOrBuilderList(); /** - * - * *
    * Output only. The list of cutover jobs response.
    * 
* - * - * repeated .google.cloud.vmmigration.v1.CutoverJob cutover_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.CutoverJob cutover_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - com.google.cloud.vmmigration.v1.CutoverJobOrBuilder getCutoverJobsOrBuilder(int index); + com.google.cloud.vmmigration.v1.CutoverJobOrBuilder getCutoverJobsOrBuilder( + int index); /** - * - * *
-   * Output only. A token, which can be sent as `page_token` to retrieve the next page.
-   * If this field is omitted, there are no subsequent pages.
+   * Output only. A token, which can be sent as `page_token` to retrieve the
+   * next page. If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
-   * Output only. A token, which can be sent as `page_token` to retrieve the next page.
-   * If this field is omitted, there are no subsequent pages.
+   * Output only. A token, which can be sent as `page_token` to retrieve the
+   * next page. If this field is omitted, there are no subsequent pages.
    * 
* * 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(); /** - * - * *
    * Output only. Locations that could not be reached.
    * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return A list containing the unreachable. */ - java.util.List getUnreachableList(); + java.util.List + getUnreachableList(); /** - * - * *
    * Output only. Locations that could not be reached.
    * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The count of unreachable. */ int getUnreachableCount(); /** - * - * *
    * Output only. Locations that could not be reached.
    * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param index The index of the element to return. * @return The unreachable at the given index. */ java.lang.String getUnreachable(int index); /** - * - * *
    * Output only. Locations that could not be reached.
    * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - com.google.protobuf.ByteString getUnreachableBytes(int index); + com.google.protobuf.ByteString + getUnreachableBytes(int index); } diff --git a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListDatacenterConnectorsRequest.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListDatacenterConnectorsRequest.java similarity index 67% rename from proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListDatacenterConnectorsRequest.java rename to owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListDatacenterConnectorsRequest.java index 6eae49d..c25aafc 100644 --- a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListDatacenterConnectorsRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListDatacenterConnectorsRequest.java @@ -1,43 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; /** - * - * *
  * Request message for 'ListDatacenterConnectors' request.
  * 
* * Protobuf type {@code google.cloud.vmmigration.v1.ListDatacenterConnectorsRequest} */ -public final class ListDatacenterConnectorsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListDatacenterConnectorsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.vmmigration.v1.ListDatacenterConnectorsRequest) ListDatacenterConnectorsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListDatacenterConnectorsRequest.newBuilder() to construct. - private ListDatacenterConnectorsRequest( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ListDatacenterConnectorsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListDatacenterConnectorsRequest() { parent_ = ""; pageToken_ = ""; @@ -47,15 +28,16 @@ private ListDatacenterConnectorsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListDatacenterConnectorsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListDatacenterConnectorsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -74,46 +56,42 @@ private ListDatacenterConnectorsRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 16: - { - pageSize_ = input.readInt32(); - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: { - pageToken_ = s; - break; - } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); + pageSize_ = input.readInt32(); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - filter_ = s; - break; - } - case 42: - { - java.lang.String s = input.readStringRequireUtf8(); + pageToken_ = s; + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); - orderBy_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + filter_ = s; + break; + } + case 42: { + java.lang.String s = input.readStringRequireUtf8(); + + orderBy_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -121,41 +99,34 @@ private ListDatacenterConnectorsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_ListDatacenterConnectorsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ListDatacenterConnectorsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_ListDatacenterConnectorsRequest_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ListDatacenterConnectorsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.ListDatacenterConnectorsRequest.class, - com.google.cloud.vmmigration.v1.ListDatacenterConnectorsRequest.Builder.class); + com.google.cloud.vmmigration.v1.ListDatacenterConnectorsRequest.class, com.google.cloud.vmmigration.v1.ListDatacenterConnectorsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The parent, which owns this collection of connectors.
    * 
* - * - * 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 @@ -164,31 +135,29 @@ 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 parent, which owns this collection of connectors.
    * 
* - * - * 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 { @@ -199,17 +168,14 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** - * - * *
-   * Optional. The maximum number of connectors to return. The service may return
-   * fewer than this value. If unspecified, at most 500 sources will be
+   * Optional. The maximum number of connectors to return. The service may
+   * return fewer than this value. If unspecified, at most 500 sources will be
    * returned. The maximum value is 1000; values above 1000 will be coerced to
    * 1000.
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ @java.lang.Override @@ -220,18 +186,15 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** - * - * *
-   * Required. A page token, received from a previous `ListDatacenterConnectors` call.
-   * Provide this to retrieve the subsequent page.
+   * Required. A page token, received from a previous `ListDatacenterConnectors`
+   * call. Provide this to retrieve the subsequent page.
    * When paginating, all other parameters provided to
    * `ListDatacenterConnectors` must match the call that provided the page
    * token.
    * 
* * string page_token = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The pageToken. */ @java.lang.Override @@ -240,33 +203,33 @@ 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; } } /** - * - * *
-   * Required. A page token, received from a previous `ListDatacenterConnectors` call.
-   * Provide this to retrieve the subsequent page.
+   * Required. A page token, received from a previous `ListDatacenterConnectors`
+   * call. Provide this to retrieve the subsequent page.
    * When paginating, all other parameters provided to
    * `ListDatacenterConnectors` must match the call that provided the page
    * token.
    * 
* * string page_token = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @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 { @@ -277,14 +240,11 @@ public com.google.protobuf.ByteString getPageTokenBytes() { public static final int FILTER_FIELD_NUMBER = 4; private volatile java.lang.Object filter_; /** - * - * *
    * Optional. The filter request.
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The filter. */ @java.lang.Override @@ -293,29 +253,29 @@ public java.lang.String getFilter() { 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(); filter_ = s; return s; } } /** - * - * *
    * Optional. The filter request.
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for filter. */ @java.lang.Override - public com.google.protobuf.ByteString getFilterBytes() { + public com.google.protobuf.ByteString + getFilterBytes() { java.lang.Object ref = filter_; 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); filter_ = b; return b; } else { @@ -326,14 +286,11 @@ public com.google.protobuf.ByteString getFilterBytes() { public static final int ORDER_BY_FIELD_NUMBER = 5; private volatile java.lang.Object orderBy_; /** - * - * *
    * Optional. the order by fields for the result.
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The orderBy. */ @java.lang.Override @@ -342,29 +299,29 @@ public java.lang.String getOrderBy() { 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(); orderBy_ = s; return s; } } /** - * - * *
    * Optional. the order by fields for the result.
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for orderBy. */ @java.lang.Override - public com.google.protobuf.ByteString getOrderByBytes() { + public com.google.protobuf.ByteString + getOrderByBytes() { java.lang.Object ref = orderBy_; 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); orderBy_ = b; return b; } else { @@ -373,7 +330,6 @@ public com.google.protobuf.ByteString getOrderByBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -385,7 +341,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_); } @@ -414,7 +371,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -433,19 +391,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.vmmigration.v1.ListDatacenterConnectorsRequest)) { return super.equals(obj); } - com.google.cloud.vmmigration.v1.ListDatacenterConnectorsRequest other = - (com.google.cloud.vmmigration.v1.ListDatacenterConnectorsRequest) obj; - - if (!getParent().equals(other.getParent())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; - if (!getFilter().equals(other.getFilter())) return false; - if (!getOrderBy().equals(other.getOrderBy())) return false; + com.google.cloud.vmmigration.v1.ListDatacenterConnectorsRequest other = (com.google.cloud.vmmigration.v1.ListDatacenterConnectorsRequest) obj; + + if (!getParent() + .equals(other.getParent())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; + if (!getFilter() + .equals(other.getFilter())) return false; + if (!getOrderBy() + .equals(other.getOrderBy())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -473,127 +435,117 @@ public int hashCode() { } public static com.google.cloud.vmmigration.v1.ListDatacenterConnectorsRequest 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.vmmigration.v1.ListDatacenterConnectorsRequest 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.vmmigration.v1.ListDatacenterConnectorsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.vmmigration.v1.ListDatacenterConnectorsRequest 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.vmmigration.v1.ListDatacenterConnectorsRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.vmmigration.v1.ListDatacenterConnectorsRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.vmmigration.v1.ListDatacenterConnectorsRequest 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.vmmigration.v1.ListDatacenterConnectorsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.vmmigration.v1.ListDatacenterConnectorsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.vmmigration.v1.ListDatacenterConnectorsRequest 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.vmmigration.v1.ListDatacenterConnectorsRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.vmmigration.v1.ListDatacenterConnectorsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.vmmigration.v1.ListDatacenterConnectorsRequest 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.vmmigration.v1.ListDatacenterConnectorsRequest 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.vmmigration.v1.ListDatacenterConnectorsRequest 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.vmmigration.v1.ListDatacenterConnectorsRequest prototype) { + public static Builder newBuilder(com.google.cloud.vmmigration.v1.ListDatacenterConnectorsRequest 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 message for 'ListDatacenterConnectors' request.
    * 
* * Protobuf type {@code google.cloud.vmmigration.v1.ListDatacenterConnectorsRequest} */ - 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.vmmigration.v1.ListDatacenterConnectorsRequest) com.google.cloud.vmmigration.v1.ListDatacenterConnectorsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_ListDatacenterConnectorsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ListDatacenterConnectorsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_ListDatacenterConnectorsRequest_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ListDatacenterConnectorsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.ListDatacenterConnectorsRequest.class, - com.google.cloud.vmmigration.v1.ListDatacenterConnectorsRequest.Builder.class); + com.google.cloud.vmmigration.v1.ListDatacenterConnectorsRequest.class, com.google.cloud.vmmigration.v1.ListDatacenterConnectorsRequest.Builder.class); } // Construct using com.google.cloud.vmmigration.v1.ListDatacenterConnectorsRequest.newBuilder() @@ -601,15 +553,16 @@ 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) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -627,14 +580,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_ListDatacenterConnectorsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ListDatacenterConnectorsRequest_descriptor; } @java.lang.Override - public com.google.cloud.vmmigration.v1.ListDatacenterConnectorsRequest - getDefaultInstanceForType() { + public com.google.cloud.vmmigration.v1.ListDatacenterConnectorsRequest getDefaultInstanceForType() { return com.google.cloud.vmmigration.v1.ListDatacenterConnectorsRequest.getDefaultInstance(); } @@ -649,8 +601,7 @@ public com.google.cloud.vmmigration.v1.ListDatacenterConnectorsRequest build() { @java.lang.Override public com.google.cloud.vmmigration.v1.ListDatacenterConnectorsRequest buildPartial() { - com.google.cloud.vmmigration.v1.ListDatacenterConnectorsRequest result = - new com.google.cloud.vmmigration.v1.ListDatacenterConnectorsRequest(this); + com.google.cloud.vmmigration.v1.ListDatacenterConnectorsRequest result = new com.google.cloud.vmmigration.v1.ListDatacenterConnectorsRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -664,50 +615,46 @@ public com.google.cloud.vmmigration.v1.ListDatacenterConnectorsRequest buildPart 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.vmmigration.v1.ListDatacenterConnectorsRequest) { - return mergeFrom((com.google.cloud.vmmigration.v1.ListDatacenterConnectorsRequest) other); + return mergeFrom((com.google.cloud.vmmigration.v1.ListDatacenterConnectorsRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.vmmigration.v1.ListDatacenterConnectorsRequest other) { - if (other - == com.google.cloud.vmmigration.v1.ListDatacenterConnectorsRequest.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.cloud.vmmigration.v1.ListDatacenterConnectorsRequest other) { + if (other == com.google.cloud.vmmigration.v1.ListDatacenterConnectorsRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -746,9 +693,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.vmmigration.v1.ListDatacenterConnectorsRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.vmmigration.v1.ListDatacenterConnectorsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -760,22 +705,18 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The parent, which owns this collection of connectors.
      * 
* - * - * 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; @@ -784,23 +725,20 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The parent, which owns this collection of connectors.
      * 
* - * - * 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 { @@ -808,85 +746,69 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The parent, which owns this collection of connectors.
      * 
* - * - * 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) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The parent, which owns this collection of connectors.
      * 
* - * - * 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() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The parent, which owns this collection of connectors.
      * 
* - * - * 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) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
-     * Optional. The maximum number of connectors to return. The service may return
-     * fewer than this value. If unspecified, at most 500 sources will be
+     * Optional. The maximum number of connectors to return. The service may
+     * return fewer than this value. If unspecified, at most 500 sources will be
      * returned. The maximum value is 1000; values above 1000 will be coerced to
      * 1000.
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ @java.lang.Override @@ -894,42 +816,36 @@ public int getPageSize() { return pageSize_; } /** - * - * *
-     * Optional. The maximum number of connectors to return. The service may return
-     * fewer than this value. If unspecified, at most 500 sources will be
+     * Optional. The maximum number of connectors to return. The service may
+     * return fewer than this value. If unspecified, at most 500 sources will be
      * returned. The maximum value is 1000; values above 1000 will be coerced to
      * 1000.
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** - * - * *
-     * Optional. The maximum number of connectors to return. The service may return
-     * fewer than this value. If unspecified, at most 500 sources will be
+     * Optional. The maximum number of connectors to return. The service may
+     * return fewer than this value. If unspecified, at most 500 sources will be
      * returned. The maximum value is 1000; values above 1000 will be coerced to
      * 1000.
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -937,24 +853,22 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
-     * Required. A page token, received from a previous `ListDatacenterConnectors` call.
-     * Provide this to retrieve the subsequent page.
+     * Required. A page token, received from a previous `ListDatacenterConnectors`
+     * call. Provide this to retrieve the subsequent page.
      * When paginating, all other parameters provided to
      * `ListDatacenterConnectors` must match the call that provided the page
      * token.
      * 
* * string page_token = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @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; @@ -963,25 +877,24 @@ public java.lang.String getPageToken() { } } /** - * - * *
-     * Required. A page token, received from a previous `ListDatacenterConnectors` call.
-     * Provide this to retrieve the subsequent page.
+     * Required. A page token, received from a previous `ListDatacenterConnectors`
+     * call. Provide this to retrieve the subsequent page.
      * When paginating, all other parameters provided to
      * `ListDatacenterConnectors` must match the call that provided the page
      * token.
      * 
* * string page_token = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @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 { @@ -989,73 +902,66 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
-     * Required. A page token, received from a previous `ListDatacenterConnectors` call.
-     * Provide this to retrieve the subsequent page.
+     * Required. A page token, received from a previous `ListDatacenterConnectors`
+     * call. Provide this to retrieve the subsequent page.
      * When paginating, all other parameters provided to
      * `ListDatacenterConnectors` must match the call that provided the page
      * token.
      * 
* * string page_token = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
-     * Required. A page token, received from a previous `ListDatacenterConnectors` call.
-     * Provide this to retrieve the subsequent page.
+     * Required. A page token, received from a previous `ListDatacenterConnectors`
+     * call. Provide this to retrieve the subsequent page.
      * When paginating, all other parameters provided to
      * `ListDatacenterConnectors` must match the call that provided the page
      * token.
      * 
* * string page_token = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
-     * Required. A page token, received from a previous `ListDatacenterConnectors` call.
-     * Provide this to retrieve the subsequent page.
+     * Required. A page token, received from a previous `ListDatacenterConnectors`
+     * call. Provide this to retrieve the subsequent page.
      * When paginating, all other parameters provided to
      * `ListDatacenterConnectors` must match the call that provided the page
      * token.
      * 
* * string page_token = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; @@ -1063,20 +969,18 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { private java.lang.Object filter_ = ""; /** - * - * *
      * Optional. The filter request.
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; 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(); filter_ = s; return s; @@ -1085,21 +989,20 @@ public java.lang.String getFilter() { } } /** - * - * *
      * Optional. The filter request.
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for filter. */ - public com.google.protobuf.ByteString getFilterBytes() { + public com.google.protobuf.ByteString + getFilterBytes() { java.lang.Object ref = filter_; 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); filter_ = b; return b; } else { @@ -1107,61 +1010,54 @@ public com.google.protobuf.ByteString getFilterBytes() { } } /** - * - * *
      * Optional. The filter request.
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter(java.lang.String value) { + public Builder setFilter( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; onChanged(); return this; } /** - * - * *
      * Optional. The filter request.
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** - * - * *
      * Optional. The filter request.
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes(com.google.protobuf.ByteString value) { + public Builder setFilterBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = value; onChanged(); return this; @@ -1169,20 +1065,18 @@ public Builder setFilterBytes(com.google.protobuf.ByteString value) { private java.lang.Object orderBy_ = ""; /** - * - * *
      * Optional. the order by fields for the result.
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The orderBy. */ public java.lang.String getOrderBy() { java.lang.Object ref = orderBy_; 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(); orderBy_ = s; return s; @@ -1191,21 +1085,20 @@ public java.lang.String getOrderBy() { } } /** - * - * *
      * Optional. the order by fields for the result.
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for orderBy. */ - public com.google.protobuf.ByteString getOrderByBytes() { + public com.google.protobuf.ByteString + getOrderByBytes() { java.lang.Object ref = orderBy_; 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); orderBy_ = b; return b; } else { @@ -1213,68 +1106,61 @@ public com.google.protobuf.ByteString getOrderByBytes() { } } /** - * - * *
      * Optional. the order by fields for the result.
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The orderBy to set. * @return This builder for chaining. */ - public Builder setOrderBy(java.lang.String value) { + public Builder setOrderBy( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + orderBy_ = value; onChanged(); return this; } /** - * - * *
      * Optional. the order by fields for the result.
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearOrderBy() { - + orderBy_ = getDefaultInstance().getOrderBy(); onChanged(); return this; } /** - * - * *
      * Optional. the order by fields for the result.
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for orderBy to set. * @return This builder for chaining. */ - public Builder setOrderByBytes(com.google.protobuf.ByteString value) { + public Builder setOrderByBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + orderBy_ = 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); } @@ -1284,32 +1170,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.vmmigration.v1.ListDatacenterConnectorsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.vmmigration.v1.ListDatacenterConnectorsRequest) - private static final com.google.cloud.vmmigration.v1.ListDatacenterConnectorsRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.vmmigration.v1.ListDatacenterConnectorsRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.vmmigration.v1.ListDatacenterConnectorsRequest(); } - public static com.google.cloud.vmmigration.v1.ListDatacenterConnectorsRequest - getDefaultInstance() { + public static com.google.cloud.vmmigration.v1.ListDatacenterConnectorsRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListDatacenterConnectorsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListDatacenterConnectorsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListDatacenterConnectorsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListDatacenterConnectorsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1321,8 +1205,9 @@ public com.google.protobuf.Parser getParserForT } @java.lang.Override - public com.google.cloud.vmmigration.v1.ListDatacenterConnectorsRequest - getDefaultInstanceForType() { + public com.google.cloud.vmmigration.v1.ListDatacenterConnectorsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListDatacenterConnectorsRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListDatacenterConnectorsRequestOrBuilder.java similarity index 62% rename from proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListDatacenterConnectorsRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListDatacenterConnectorsRequestOrBuilder.java index 8246533..e53b7ce 100644 --- a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListDatacenterConnectorsRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListDatacenterConnectorsRequestOrBuilder.java @@ -1,153 +1,110 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; -public interface ListDatacenterConnectorsRequestOrBuilder - extends +public interface ListDatacenterConnectorsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.ListDatacenterConnectorsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The parent, which owns this collection of connectors.
    * 
* - * - * 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 parent, which owns this collection of connectors.
    * 
* - * - * 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(); /** - * - * *
-   * Optional. The maximum number of connectors to return. The service may return
-   * fewer than this value. If unspecified, at most 500 sources will be
+   * Optional. The maximum number of connectors to return. The service may
+   * return fewer than this value. If unspecified, at most 500 sources will be
    * returned. The maximum value is 1000; values above 1000 will be coerced to
    * 1000.
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
-   * Required. A page token, received from a previous `ListDatacenterConnectors` call.
-   * Provide this to retrieve the subsequent page.
+   * Required. A page token, received from a previous `ListDatacenterConnectors`
+   * call. Provide this to retrieve the subsequent page.
    * When paginating, all other parameters provided to
    * `ListDatacenterConnectors` must match the call that provided the page
    * token.
    * 
* * string page_token = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
-   * Required. A page token, received from a previous `ListDatacenterConnectors` call.
-   * Provide this to retrieve the subsequent page.
+   * Required. A page token, received from a previous `ListDatacenterConnectors`
+   * call. Provide this to retrieve the subsequent page.
    * When paginating, all other parameters provided to
    * `ListDatacenterConnectors` must match the call that provided the page
    * token.
    * 
* * string page_token = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); /** - * - * *
    * Optional. The filter request.
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The filter. */ java.lang.String getFilter(); /** - * - * *
    * Optional. The filter request.
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for filter. */ - com.google.protobuf.ByteString getFilterBytes(); + com.google.protobuf.ByteString + getFilterBytes(); /** - * - * *
    * Optional. the order by fields for the result.
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The orderBy. */ java.lang.String getOrderBy(); /** - * - * *
    * Optional. the order by fields for the result.
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for orderBy. */ - com.google.protobuf.ByteString getOrderByBytes(); + com.google.protobuf.ByteString + getOrderByBytes(); } diff --git a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListDatacenterConnectorsResponse.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListDatacenterConnectorsResponse.java similarity index 65% rename from proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListDatacenterConnectorsResponse.java rename to owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListDatacenterConnectorsResponse.java index 5317b31..b4f241a 100644 --- a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListDatacenterConnectorsResponse.java +++ b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListDatacenterConnectorsResponse.java @@ -1,43 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; /** - * - * *
  * Response message for 'ListDatacenterConnectors' request.
  * 
* * Protobuf type {@code google.cloud.vmmigration.v1.ListDatacenterConnectorsResponse} */ -public final class ListDatacenterConnectorsResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListDatacenterConnectorsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.vmmigration.v1.ListDatacenterConnectorsResponse) ListDatacenterConnectorsResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListDatacenterConnectorsResponse.newBuilder() to construct. - private ListDatacenterConnectorsResponse( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ListDatacenterConnectorsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListDatacenterConnectorsResponse() { datacenterConnectors_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -46,15 +27,16 @@ private ListDatacenterConnectorsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListDatacenterConnectorsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListDatacenterConnectorsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -74,43 +56,37 @@ private ListDatacenterConnectorsResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - datacenterConnectors_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - datacenterConnectors_.add( - input.readMessage( - com.google.cloud.vmmigration.v1.DatacenterConnector.parser(), - extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + datacenterConnectors_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + datacenterConnectors_.add( + input.readMessage(com.google.cloud.vmmigration.v1.DatacenterConnector.parser(), extensionRegistry)); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - unreachable_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000002; - } - unreachable_.add(s); - break; + nextPageToken_ = s; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + unreachable_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000002; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + unreachable_.add(s); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -118,7 +94,8 @@ private ListDatacenterConnectorsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { datacenterConnectors_ = java.util.Collections.unmodifiableList(datacenterConnectors_); @@ -130,115 +107,88 @@ private ListDatacenterConnectorsResponse( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_ListDatacenterConnectorsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ListDatacenterConnectorsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_ListDatacenterConnectorsResponse_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ListDatacenterConnectorsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.ListDatacenterConnectorsResponse.class, - com.google.cloud.vmmigration.v1.ListDatacenterConnectorsResponse.Builder.class); + com.google.cloud.vmmigration.v1.ListDatacenterConnectorsResponse.class, com.google.cloud.vmmigration.v1.ListDatacenterConnectorsResponse.Builder.class); } public static final int DATACENTER_CONNECTORS_FIELD_NUMBER = 1; private java.util.List datacenterConnectors_; /** - * - * *
    * Output only. The list of sources response.
    * 
* - * - * repeated .google.cloud.vmmigration.v1.DatacenterConnector datacenter_connectors = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.DatacenterConnector datacenter_connectors = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public java.util.List - getDatacenterConnectorsList() { + public java.util.List getDatacenterConnectorsList() { return datacenterConnectors_; } /** - * - * *
    * Output only. The list of sources response.
    * 
* - * - * repeated .google.cloud.vmmigration.v1.DatacenterConnector datacenter_connectors = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.DatacenterConnector datacenter_connectors = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public java.util.List + public java.util.List getDatacenterConnectorsOrBuilderList() { return datacenterConnectors_; } /** - * - * *
    * Output only. The list of sources response.
    * 
* - * - * repeated .google.cloud.vmmigration.v1.DatacenterConnector datacenter_connectors = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.DatacenterConnector datacenter_connectors = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public int getDatacenterConnectorsCount() { return datacenterConnectors_.size(); } /** - * - * *
    * Output only. The list of sources response.
    * 
* - * - * repeated .google.cloud.vmmigration.v1.DatacenterConnector datacenter_connectors = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.DatacenterConnector datacenter_connectors = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.cloud.vmmigration.v1.DatacenterConnector getDatacenterConnectors(int index) { return datacenterConnectors_.get(index); } /** - * - * *
    * Output only. The list of sources response.
    * 
* - * - * repeated .google.cloud.vmmigration.v1.DatacenterConnector datacenter_connectors = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.DatacenterConnector datacenter_connectors = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public com.google.cloud.vmmigration.v1.DatacenterConnectorOrBuilder - getDatacenterConnectorsOrBuilder(int index) { + public com.google.cloud.vmmigration.v1.DatacenterConnectorOrBuilder getDatacenterConnectorsOrBuilder( + int index) { return datacenterConnectors_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** - * - * *
-   * Output only. A token, which can be sent as `page_token` to retrieve the next page.
-   * If this field is omitted, there are no subsequent pages.
+   * Output only. A token, which can be sent as `page_token` to retrieve the
+   * next page. If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The nextPageToken. */ @java.lang.Override @@ -247,30 +197,30 @@ 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. A token, which can be sent as `page_token` to retrieve the next page.
-   * If this field is omitted, there are no subsequent pages.
+   * Output only. A token, which can be sent as `page_token` to retrieve the
+   * next page. If this field is omitted, there are no subsequent pages.
    * 
* * 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 { @@ -281,42 +231,34 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { public static final int UNREACHABLE_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList unreachable_; /** - * - * *
    * Output only. Locations that could not be reached.
    * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return A list containing the unreachable. */ - public com.google.protobuf.ProtocolStringList getUnreachableList() { + public com.google.protobuf.ProtocolStringList + getUnreachableList() { return unreachable_; } /** - * - * *
    * Output only. Locations that could not be reached.
    * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** - * - * *
    * Output only. Locations that could not be reached.
    * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -324,23 +266,20 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** - * - * *
    * Output only. Locations that could not be reached.
    * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - public com.google.protobuf.ByteString getUnreachableBytes(int index) { + public com.google.protobuf.ByteString + getUnreachableBytes(int index) { return unreachable_.getByteString(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -352,7 +291,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 < datacenterConnectors_.size(); i++) { output.writeMessage(1, datacenterConnectors_.get(i)); } @@ -372,8 +312,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < datacenterConnectors_.size(); i++) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(1, datacenterConnectors_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, datacenterConnectors_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -394,17 +334,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.vmmigration.v1.ListDatacenterConnectorsResponse)) { return super.equals(obj); } - com.google.cloud.vmmigration.v1.ListDatacenterConnectorsResponse other = - (com.google.cloud.vmmigration.v1.ListDatacenterConnectorsResponse) obj; + com.google.cloud.vmmigration.v1.ListDatacenterConnectorsResponse other = (com.google.cloud.vmmigration.v1.ListDatacenterConnectorsResponse) obj; - if (!getDatacenterConnectorsList().equals(other.getDatacenterConnectorsList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; - if (!getUnreachableList().equals(other.getUnreachableList())) return false; + if (!getDatacenterConnectorsList() + .equals(other.getDatacenterConnectorsList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; + if (!getUnreachableList() + .equals(other.getUnreachableList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -432,127 +374,117 @@ public int hashCode() { } public static com.google.cloud.vmmigration.v1.ListDatacenterConnectorsResponse 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.vmmigration.v1.ListDatacenterConnectorsResponse 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.vmmigration.v1.ListDatacenterConnectorsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.vmmigration.v1.ListDatacenterConnectorsResponse 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.vmmigration.v1.ListDatacenterConnectorsResponse parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.vmmigration.v1.ListDatacenterConnectorsResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.vmmigration.v1.ListDatacenterConnectorsResponse 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.vmmigration.v1.ListDatacenterConnectorsResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.vmmigration.v1.ListDatacenterConnectorsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.vmmigration.v1.ListDatacenterConnectorsResponse 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.vmmigration.v1.ListDatacenterConnectorsResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.vmmigration.v1.ListDatacenterConnectorsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.vmmigration.v1.ListDatacenterConnectorsResponse 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.vmmigration.v1.ListDatacenterConnectorsResponse 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.vmmigration.v1.ListDatacenterConnectorsResponse 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.vmmigration.v1.ListDatacenterConnectorsResponse prototype) { + public static Builder newBuilder(com.google.cloud.vmmigration.v1.ListDatacenterConnectorsResponse 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; } /** - * - * *
    * Response message for 'ListDatacenterConnectors' request.
    * 
* * Protobuf type {@code google.cloud.vmmigration.v1.ListDatacenterConnectorsResponse} */ - 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.vmmigration.v1.ListDatacenterConnectorsResponse) com.google.cloud.vmmigration.v1.ListDatacenterConnectorsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_ListDatacenterConnectorsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ListDatacenterConnectorsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_ListDatacenterConnectorsResponse_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ListDatacenterConnectorsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.ListDatacenterConnectorsResponse.class, - com.google.cloud.vmmigration.v1.ListDatacenterConnectorsResponse.Builder.class); + com.google.cloud.vmmigration.v1.ListDatacenterConnectorsResponse.class, com.google.cloud.vmmigration.v1.ListDatacenterConnectorsResponse.Builder.class); } // Construct using com.google.cloud.vmmigration.v1.ListDatacenterConnectorsResponse.newBuilder() @@ -560,17 +492,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) { getDatacenterConnectorsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -588,14 +520,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_ListDatacenterConnectorsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ListDatacenterConnectorsResponse_descriptor; } @java.lang.Override - public com.google.cloud.vmmigration.v1.ListDatacenterConnectorsResponse - getDefaultInstanceForType() { + public com.google.cloud.vmmigration.v1.ListDatacenterConnectorsResponse getDefaultInstanceForType() { return com.google.cloud.vmmigration.v1.ListDatacenterConnectorsResponse.getDefaultInstance(); } @@ -610,8 +541,7 @@ public com.google.cloud.vmmigration.v1.ListDatacenterConnectorsResponse build() @java.lang.Override public com.google.cloud.vmmigration.v1.ListDatacenterConnectorsResponse buildPartial() { - com.google.cloud.vmmigration.v1.ListDatacenterConnectorsResponse result = - new com.google.cloud.vmmigration.v1.ListDatacenterConnectorsResponse(this); + com.google.cloud.vmmigration.v1.ListDatacenterConnectorsResponse result = new com.google.cloud.vmmigration.v1.ListDatacenterConnectorsResponse(this); int from_bitField0_ = bitField0_; if (datacenterConnectorsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -636,50 +566,46 @@ public com.google.cloud.vmmigration.v1.ListDatacenterConnectorsResponse buildPar 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.vmmigration.v1.ListDatacenterConnectorsResponse) { - return mergeFrom((com.google.cloud.vmmigration.v1.ListDatacenterConnectorsResponse) other); + return mergeFrom((com.google.cloud.vmmigration.v1.ListDatacenterConnectorsResponse)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.vmmigration.v1.ListDatacenterConnectorsResponse other) { - if (other - == com.google.cloud.vmmigration.v1.ListDatacenterConnectorsResponse.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.cloud.vmmigration.v1.ListDatacenterConnectorsResponse other) { + if (other == com.google.cloud.vmmigration.v1.ListDatacenterConnectorsResponse.getDefaultInstance()) return this; if (datacenterConnectorsBuilder_ == null) { if (!other.datacenterConnectors_.isEmpty()) { if (datacenterConnectors_.isEmpty()) { @@ -698,10 +624,9 @@ public Builder mergeFrom( datacenterConnectorsBuilder_ = null; datacenterConnectors_ = other.datacenterConnectors_; bitField0_ = (bitField0_ & ~0x00000001); - datacenterConnectorsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getDatacenterConnectorsFieldBuilder() - : null; + datacenterConnectorsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getDatacenterConnectorsFieldBuilder() : null; } else { datacenterConnectorsBuilder_.addAllMessages(other.datacenterConnectors_); } @@ -740,9 +665,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.vmmigration.v1.ListDatacenterConnectorsResponse) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.vmmigration.v1.ListDatacenterConnectorsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -751,40 +674,28 @@ public Builder mergeFrom( } return this; } - private int bitField0_; - private java.util.List - datacenterConnectors_ = java.util.Collections.emptyList(); - + private java.util.List datacenterConnectors_ = + java.util.Collections.emptyList(); private void ensureDatacenterConnectorsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - datacenterConnectors_ = - new java.util.ArrayList( - datacenterConnectors_); + datacenterConnectors_ = new java.util.ArrayList(datacenterConnectors_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.vmmigration.v1.DatacenterConnector, - com.google.cloud.vmmigration.v1.DatacenterConnector.Builder, - com.google.cloud.vmmigration.v1.DatacenterConnectorOrBuilder> - datacenterConnectorsBuilder_; + com.google.cloud.vmmigration.v1.DatacenterConnector, com.google.cloud.vmmigration.v1.DatacenterConnector.Builder, com.google.cloud.vmmigration.v1.DatacenterConnectorOrBuilder> datacenterConnectorsBuilder_; /** - * - * *
      * Output only. The list of sources response.
      * 
* - * - * repeated .google.cloud.vmmigration.v1.DatacenterConnector datacenter_connectors = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.DatacenterConnector datacenter_connectors = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public java.util.List - getDatacenterConnectorsList() { + public java.util.List getDatacenterConnectorsList() { if (datacenterConnectorsBuilder_ == null) { return java.util.Collections.unmodifiableList(datacenterConnectors_); } else { @@ -792,15 +703,11 @@ private void ensureDatacenterConnectorsIsMutable() { } } /** - * - * *
      * Output only. The list of sources response.
      * 
* - * - * repeated .google.cloud.vmmigration.v1.DatacenterConnector datacenter_connectors = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.DatacenterConnector datacenter_connectors = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public int getDatacenterConnectorsCount() { if (datacenterConnectorsBuilder_ == null) { @@ -810,15 +717,11 @@ public int getDatacenterConnectorsCount() { } } /** - * - * *
      * Output only. The list of sources response.
      * 
* - * - * repeated .google.cloud.vmmigration.v1.DatacenterConnector datacenter_connectors = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.DatacenterConnector datacenter_connectors = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.vmmigration.v1.DatacenterConnector getDatacenterConnectors(int index) { if (datacenterConnectorsBuilder_ == null) { @@ -828,15 +731,11 @@ public com.google.cloud.vmmigration.v1.DatacenterConnector getDatacenterConnecto } } /** - * - * *
      * Output only. The list of sources response.
      * 
* - * - * repeated .google.cloud.vmmigration.v1.DatacenterConnector datacenter_connectors = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.DatacenterConnector datacenter_connectors = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setDatacenterConnectors( int index, com.google.cloud.vmmigration.v1.DatacenterConnector value) { @@ -853,15 +752,11 @@ public Builder setDatacenterConnectors( return this; } /** - * - * *
      * Output only. The list of sources response.
      * 
* - * - * repeated .google.cloud.vmmigration.v1.DatacenterConnector datacenter_connectors = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.DatacenterConnector datacenter_connectors = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setDatacenterConnectors( int index, com.google.cloud.vmmigration.v1.DatacenterConnector.Builder builderForValue) { @@ -875,18 +770,13 @@ public Builder setDatacenterConnectors( return this; } /** - * - * *
      * Output only. The list of sources response.
      * 
* - * - * repeated .google.cloud.vmmigration.v1.DatacenterConnector datacenter_connectors = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.DatacenterConnector datacenter_connectors = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder addDatacenterConnectors( - com.google.cloud.vmmigration.v1.DatacenterConnector value) { + public Builder addDatacenterConnectors(com.google.cloud.vmmigration.v1.DatacenterConnector value) { if (datacenterConnectorsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -900,15 +790,11 @@ public Builder addDatacenterConnectors( return this; } /** - * - * *
      * Output only. The list of sources response.
      * 
* - * - * repeated .google.cloud.vmmigration.v1.DatacenterConnector datacenter_connectors = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.DatacenterConnector datacenter_connectors = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addDatacenterConnectors( int index, com.google.cloud.vmmigration.v1.DatacenterConnector value) { @@ -925,15 +811,11 @@ public Builder addDatacenterConnectors( return this; } /** - * - * *
      * Output only. The list of sources response.
      * 
* - * - * repeated .google.cloud.vmmigration.v1.DatacenterConnector datacenter_connectors = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.DatacenterConnector datacenter_connectors = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addDatacenterConnectors( com.google.cloud.vmmigration.v1.DatacenterConnector.Builder builderForValue) { @@ -947,15 +829,11 @@ public Builder addDatacenterConnectors( return this; } /** - * - * *
      * Output only. The list of sources response.
      * 
* - * - * repeated .google.cloud.vmmigration.v1.DatacenterConnector datacenter_connectors = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.DatacenterConnector datacenter_connectors = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addDatacenterConnectors( int index, com.google.cloud.vmmigration.v1.DatacenterConnector.Builder builderForValue) { @@ -969,21 +847,18 @@ public Builder addDatacenterConnectors( return this; } /** - * - * *
      * Output only. The list of sources response.
      * 
* - * - * repeated .google.cloud.vmmigration.v1.DatacenterConnector datacenter_connectors = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.DatacenterConnector datacenter_connectors = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addAllDatacenterConnectors( java.lang.Iterable values) { if (datacenterConnectorsBuilder_ == null) { ensureDatacenterConnectorsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, datacenterConnectors_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, datacenterConnectors_); onChanged(); } else { datacenterConnectorsBuilder_.addAllMessages(values); @@ -991,15 +866,11 @@ public Builder addAllDatacenterConnectors( return this; } /** - * - * *
      * Output only. The list of sources response.
      * 
* - * - * repeated .google.cloud.vmmigration.v1.DatacenterConnector datacenter_connectors = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.DatacenterConnector datacenter_connectors = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearDatacenterConnectors() { if (datacenterConnectorsBuilder_ == null) { @@ -1012,15 +883,11 @@ public Builder clearDatacenterConnectors() { return this; } /** - * - * *
      * Output only. The list of sources response.
      * 
* - * - * repeated .google.cloud.vmmigration.v1.DatacenterConnector datacenter_connectors = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.DatacenterConnector datacenter_connectors = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder removeDatacenterConnectors(int index) { if (datacenterConnectorsBuilder_ == null) { @@ -1033,52 +900,39 @@ public Builder removeDatacenterConnectors(int index) { return this; } /** - * - * *
      * Output only. The list of sources response.
      * 
* - * - * repeated .google.cloud.vmmigration.v1.DatacenterConnector datacenter_connectors = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.DatacenterConnector datacenter_connectors = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.vmmigration.v1.DatacenterConnector.Builder - getDatacenterConnectorsBuilder(int index) { + public com.google.cloud.vmmigration.v1.DatacenterConnector.Builder getDatacenterConnectorsBuilder( + int index) { return getDatacenterConnectorsFieldBuilder().getBuilder(index); } /** - * - * *
      * Output only. The list of sources response.
      * 
* - * - * repeated .google.cloud.vmmigration.v1.DatacenterConnector datacenter_connectors = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.DatacenterConnector datacenter_connectors = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.vmmigration.v1.DatacenterConnectorOrBuilder - getDatacenterConnectorsOrBuilder(int index) { + public com.google.cloud.vmmigration.v1.DatacenterConnectorOrBuilder getDatacenterConnectorsOrBuilder( + int index) { if (datacenterConnectorsBuilder_ == null) { - return datacenterConnectors_.get(index); - } else { + return datacenterConnectors_.get(index); } else { return datacenterConnectorsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Output only. The list of sources response.
      * 
* - * - * repeated .google.cloud.vmmigration.v1.DatacenterConnector datacenter_connectors = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.DatacenterConnector datacenter_connectors = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public java.util.List - getDatacenterConnectorsOrBuilderList() { + public java.util.List + getDatacenterConnectorsOrBuilderList() { if (datacenterConnectorsBuilder_ != null) { return datacenterConnectorsBuilder_.getMessageOrBuilderList(); } else { @@ -1086,65 +940,45 @@ public Builder removeDatacenterConnectors(int index) { } } /** - * - * *
      * Output only. The list of sources response.
      * 
* - * - * repeated .google.cloud.vmmigration.v1.DatacenterConnector datacenter_connectors = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.DatacenterConnector datacenter_connectors = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.vmmigration.v1.DatacenterConnector.Builder - addDatacenterConnectorsBuilder() { - return getDatacenterConnectorsFieldBuilder() - .addBuilder(com.google.cloud.vmmigration.v1.DatacenterConnector.getDefaultInstance()); + public com.google.cloud.vmmigration.v1.DatacenterConnector.Builder addDatacenterConnectorsBuilder() { + return getDatacenterConnectorsFieldBuilder().addBuilder( + com.google.cloud.vmmigration.v1.DatacenterConnector.getDefaultInstance()); } /** - * - * *
      * Output only. The list of sources response.
      * 
* - * - * repeated .google.cloud.vmmigration.v1.DatacenterConnector datacenter_connectors = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.DatacenterConnector datacenter_connectors = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.vmmigration.v1.DatacenterConnector.Builder - addDatacenterConnectorsBuilder(int index) { - return getDatacenterConnectorsFieldBuilder() - .addBuilder( - index, com.google.cloud.vmmigration.v1.DatacenterConnector.getDefaultInstance()); + public com.google.cloud.vmmigration.v1.DatacenterConnector.Builder addDatacenterConnectorsBuilder( + int index) { + return getDatacenterConnectorsFieldBuilder().addBuilder( + index, com.google.cloud.vmmigration.v1.DatacenterConnector.getDefaultInstance()); } /** - * - * *
      * Output only. The list of sources response.
      * 
* - * - * repeated .google.cloud.vmmigration.v1.DatacenterConnector datacenter_connectors = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.DatacenterConnector datacenter_connectors = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public java.util.List - getDatacenterConnectorsBuilderList() { + public java.util.List + getDatacenterConnectorsBuilderList() { return getDatacenterConnectorsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.vmmigration.v1.DatacenterConnector, - com.google.cloud.vmmigration.v1.DatacenterConnector.Builder, - com.google.cloud.vmmigration.v1.DatacenterConnectorOrBuilder> + com.google.cloud.vmmigration.v1.DatacenterConnector, com.google.cloud.vmmigration.v1.DatacenterConnector.Builder, com.google.cloud.vmmigration.v1.DatacenterConnectorOrBuilder> getDatacenterConnectorsFieldBuilder() { if (datacenterConnectorsBuilder_ == null) { - datacenterConnectorsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.vmmigration.v1.DatacenterConnector, - com.google.cloud.vmmigration.v1.DatacenterConnector.Builder, - com.google.cloud.vmmigration.v1.DatacenterConnectorOrBuilder>( + datacenterConnectorsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.vmmigration.v1.DatacenterConnector, com.google.cloud.vmmigration.v1.DatacenterConnector.Builder, com.google.cloud.vmmigration.v1.DatacenterConnectorOrBuilder>( datacenterConnectors_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -1156,21 +990,19 @@ public Builder removeDatacenterConnectors(int index) { private java.lang.Object nextPageToken_ = ""; /** - * - * *
-     * Output only. A token, which can be sent as `page_token` to retrieve the next page.
-     * If this field is omitted, there are no subsequent pages.
+     * Output only. A token, which can be sent as `page_token` to retrieve the
+     * next page. If this field is omitted, there are no subsequent pages.
      * 
* * 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; @@ -1179,22 +1011,21 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
-     * Output only. A token, which can be sent as `page_token` to retrieve the next page.
-     * If this field is omitted, there are no subsequent pages.
+     * Output only. A token, which can be sent as `page_token` to retrieve the
+     * next page. If this field is omitted, there are no subsequent pages.
      * 
* * 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 { @@ -1202,115 +1033,98 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
-     * Output only. A token, which can be sent as `page_token` to retrieve the next page.
-     * If this field is omitted, there are no subsequent pages.
+     * Output only. A token, which can be sent as `page_token` to retrieve the
+     * next page. If this field is omitted, there are no subsequent pages.
      * 
* * 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) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** - * - * *
-     * Output only. A token, which can be sent as `page_token` to retrieve the next page.
-     * If this field is omitted, there are no subsequent pages.
+     * Output only. A token, which can be sent as `page_token` to retrieve the
+     * next page. If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
-     * Output only. A token, which can be sent as `page_token` to retrieve the next page.
-     * If this field is omitted, there are no subsequent pages.
+     * Output only. A token, which can be sent as `page_token` to retrieve the
+     * next page. If this field is omitted, there are no subsequent pages.
      * 
* * 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) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList unreachable_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList unreachable_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureUnreachableIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { unreachable_ = new com.google.protobuf.LazyStringArrayList(unreachable_); bitField0_ |= 0x00000002; - } + } } /** - * - * *
      * Output only. Locations that could not be reached.
      * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return A list containing the unreachable. */ - public com.google.protobuf.ProtocolStringList getUnreachableList() { + public com.google.protobuf.ProtocolStringList + getUnreachableList() { return unreachable_.getUnmodifiableView(); } /** - * - * *
      * Output only. Locations that could not be reached.
      * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** - * - * *
      * Output only. Locations that could not be reached.
      * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -1318,90 +1132,80 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** - * - * *
      * Output only. Locations that could not be reached.
      * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - public com.google.protobuf.ByteString getUnreachableBytes(int index) { + public com.google.protobuf.ByteString + getUnreachableBytes(int index) { return unreachable_.getByteString(index); } /** - * - * *
      * Output only. Locations that could not be reached.
      * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param index The index to set the value at. * @param value The unreachable to set. * @return This builder for chaining. */ - public Builder setUnreachable(int index, java.lang.String value) { + public Builder setUnreachable( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUnreachableIsMutable(); + throw new NullPointerException(); + } + ensureUnreachableIsMutable(); unreachable_.set(index, value); onChanged(); return this; } /** - * - * *
      * Output only. Locations that could not be reached.
      * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The unreachable to add. * @return This builder for chaining. */ - public Builder addUnreachable(java.lang.String value) { + public Builder addUnreachable( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUnreachableIsMutable(); + throw new NullPointerException(); + } + ensureUnreachableIsMutable(); unreachable_.add(value); onChanged(); return this; } /** - * - * *
      * Output only. Locations that could not be reached.
      * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param values The unreachable to add. * @return This builder for chaining. */ - public Builder addAllUnreachable(java.lang.Iterable values) { + public Builder addAllUnreachable( + java.lang.Iterable values) { ensureUnreachableIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, unreachable_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, unreachable_); onChanged(); return this; } /** - * - * *
      * Output only. Locations that could not be reached.
      * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearUnreachable() { @@ -1411,30 +1215,28 @@ public Builder clearUnreachable() { return this; } /** - * - * *
      * Output only. Locations that could not be reached.
      * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes of the unreachable to add. * @return This builder for chaining. */ - public Builder addUnreachableBytes(com.google.protobuf.ByteString value) { + public Builder addUnreachableBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureUnreachableIsMutable(); unreachable_.add(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); } @@ -1444,32 +1246,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.vmmigration.v1.ListDatacenterConnectorsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.vmmigration.v1.ListDatacenterConnectorsResponse) - private static final com.google.cloud.vmmigration.v1.ListDatacenterConnectorsResponse - DEFAULT_INSTANCE; - + private static final com.google.cloud.vmmigration.v1.ListDatacenterConnectorsResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.vmmigration.v1.ListDatacenterConnectorsResponse(); } - public static com.google.cloud.vmmigration.v1.ListDatacenterConnectorsResponse - getDefaultInstance() { + public static com.google.cloud.vmmigration.v1.ListDatacenterConnectorsResponse getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListDatacenterConnectorsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListDatacenterConnectorsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListDatacenterConnectorsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListDatacenterConnectorsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1481,8 +1281,9 @@ public com.google.protobuf.Parser getParserFor } @java.lang.Override - public com.google.cloud.vmmigration.v1.ListDatacenterConnectorsResponse - getDefaultInstanceForType() { + public com.google.cloud.vmmigration.v1.ListDatacenterConnectorsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListDatacenterConnectorsResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListDatacenterConnectorsResponseOrBuilder.java similarity index 58% rename from proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListDatacenterConnectorsResponseOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListDatacenterConnectorsResponseOrBuilder.java index 157913c..d2e744e 100644 --- a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListDatacenterConnectorsResponseOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListDatacenterConnectorsResponseOrBuilder.java @@ -1,166 +1,116 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; -public interface ListDatacenterConnectorsResponseOrBuilder - extends +public interface ListDatacenterConnectorsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.ListDatacenterConnectorsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Output only. The list of sources response.
    * 
* - * - * repeated .google.cloud.vmmigration.v1.DatacenterConnector datacenter_connectors = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.DatacenterConnector datacenter_connectors = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - java.util.List getDatacenterConnectorsList(); + java.util.List + getDatacenterConnectorsList(); /** - * - * *
    * Output only. The list of sources response.
    * 
* - * - * repeated .google.cloud.vmmigration.v1.DatacenterConnector datacenter_connectors = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.DatacenterConnector datacenter_connectors = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.cloud.vmmigration.v1.DatacenterConnector getDatacenterConnectors(int index); /** - * - * *
    * Output only. The list of sources response.
    * 
* - * - * repeated .google.cloud.vmmigration.v1.DatacenterConnector datacenter_connectors = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.DatacenterConnector datacenter_connectors = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ int getDatacenterConnectorsCount(); /** - * - * *
    * Output only. The list of sources response.
    * 
* - * - * repeated .google.cloud.vmmigration.v1.DatacenterConnector datacenter_connectors = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.DatacenterConnector datacenter_connectors = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - java.util.List + java.util.List getDatacenterConnectorsOrBuilderList(); /** - * - * *
    * Output only. The list of sources response.
    * 
* - * - * repeated .google.cloud.vmmigration.v1.DatacenterConnector datacenter_connectors = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.DatacenterConnector datacenter_connectors = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.cloud.vmmigration.v1.DatacenterConnectorOrBuilder getDatacenterConnectorsOrBuilder( int index); /** - * - * *
-   * Output only. A token, which can be sent as `page_token` to retrieve the next page.
-   * If this field is omitted, there are no subsequent pages.
+   * Output only. A token, which can be sent as `page_token` to retrieve the
+   * next page. If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
-   * Output only. A token, which can be sent as `page_token` to retrieve the next page.
-   * If this field is omitted, there are no subsequent pages.
+   * Output only. A token, which can be sent as `page_token` to retrieve the
+   * next page. If this field is omitted, there are no subsequent pages.
    * 
* * 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(); /** - * - * *
    * Output only. Locations that could not be reached.
    * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return A list containing the unreachable. */ - java.util.List getUnreachableList(); + java.util.List + getUnreachableList(); /** - * - * *
    * Output only. Locations that could not be reached.
    * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The count of unreachable. */ int getUnreachableCount(); /** - * - * *
    * Output only. Locations that could not be reached.
    * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param index The index of the element to return. * @return The unreachable at the given index. */ java.lang.String getUnreachable(int index); /** - * - * *
    * Output only. Locations that could not be reached.
    * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - com.google.protobuf.ByteString getUnreachableBytes(int index); + com.google.protobuf.ByteString + getUnreachableBytes(int index); } diff --git a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListGroupsRequest.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListGroupsRequest.java similarity index 71% rename from proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListGroupsRequest.java rename to owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListGroupsRequest.java index e683e9d..b634aab 100644 --- a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListGroupsRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListGroupsRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; /** - * - * *
  * Request message for 'ListGroups' request.
  * 
* * Protobuf type {@code google.cloud.vmmigration.v1.ListGroupsRequest} */ -public final class ListGroupsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListGroupsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.vmmigration.v1.ListGroupsRequest) ListGroupsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListGroupsRequest.newBuilder() to construct. private ListGroupsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListGroupsRequest() { parent_ = ""; pageToken_ = ""; @@ -46,15 +28,16 @@ private ListGroupsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListGroupsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListGroupsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -73,46 +56,42 @@ private ListGroupsRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 16: - { - pageSize_ = input.readInt32(); - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: { - pageToken_ = s; - break; - } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); + pageSize_ = input.readInt32(); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - filter_ = s; - break; - } - case 42: - { - java.lang.String s = input.readStringRequireUtf8(); + pageToken_ = s; + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); - orderBy_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + filter_ = s; + break; + } + case 42: { + java.lang.String s = input.readStringRequireUtf8(); + + orderBy_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -120,41 +99,34 @@ private ListGroupsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_ListGroupsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ListGroupsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_ListGroupsRequest_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ListGroupsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.ListGroupsRequest.class, - com.google.cloud.vmmigration.v1.ListGroupsRequest.Builder.class); + com.google.cloud.vmmigration.v1.ListGroupsRequest.class, com.google.cloud.vmmigration.v1.ListGroupsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The parent, which owns this collection of groups.
    * 
* - * - * 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 @@ -163,31 +135,29 @@ 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 parent, which owns this collection of groups.
    * 
* - * - * 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 { @@ -198,8 +168,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** - * - * *
    * Optional. The maximum number of groups to return. The service may return
    * fewer than this value. If unspecified, at most 500 groups will be
@@ -208,7 +176,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ @java.lang.Override @@ -219,8 +186,6 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** - * - * *
    * Required. A page token, received from a previous `ListGroups` call.
    * Provide this to retrieve the subsequent page.
@@ -229,7 +194,6 @@ public int getPageSize() {
    * 
* * string page_token = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The pageToken. */ @java.lang.Override @@ -238,15 +202,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; } } /** - * - * *
    * Required. A page token, received from a previous `ListGroups` call.
    * Provide this to retrieve the subsequent page.
@@ -255,15 +218,16 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @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 { @@ -274,14 +238,11 @@ public com.google.protobuf.ByteString getPageTokenBytes() { public static final int FILTER_FIELD_NUMBER = 4; private volatile java.lang.Object filter_; /** - * - * *
    * Optional. The filter request.
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The filter. */ @java.lang.Override @@ -290,29 +251,29 @@ public java.lang.String getFilter() { 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(); filter_ = s; return s; } } /** - * - * *
    * Optional. The filter request.
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for filter. */ @java.lang.Override - public com.google.protobuf.ByteString getFilterBytes() { + public com.google.protobuf.ByteString + getFilterBytes() { java.lang.Object ref = filter_; 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); filter_ = b; return b; } else { @@ -323,14 +284,11 @@ public com.google.protobuf.ByteString getFilterBytes() { public static final int ORDER_BY_FIELD_NUMBER = 5; private volatile java.lang.Object orderBy_; /** - * - * *
    * Optional. the order by fields for the result.
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The orderBy. */ @java.lang.Override @@ -339,29 +297,29 @@ public java.lang.String getOrderBy() { 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(); orderBy_ = s; return s; } } /** - * - * *
    * Optional. the order by fields for the result.
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for orderBy. */ @java.lang.Override - public com.google.protobuf.ByteString getOrderByBytes() { + public com.google.protobuf.ByteString + getOrderByBytes() { java.lang.Object ref = orderBy_; 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); orderBy_ = b; return b; } else { @@ -370,7 +328,6 @@ public com.google.protobuf.ByteString getOrderByBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -382,7 +339,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_); } @@ -411,7 +369,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -430,19 +389,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.vmmigration.v1.ListGroupsRequest)) { return super.equals(obj); } - com.google.cloud.vmmigration.v1.ListGroupsRequest other = - (com.google.cloud.vmmigration.v1.ListGroupsRequest) obj; - - if (!getParent().equals(other.getParent())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; - if (!getFilter().equals(other.getFilter())) return false; - if (!getOrderBy().equals(other.getOrderBy())) return false; + com.google.cloud.vmmigration.v1.ListGroupsRequest other = (com.google.cloud.vmmigration.v1.ListGroupsRequest) obj; + + if (!getParent() + .equals(other.getParent())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; + if (!getFilter() + .equals(other.getFilter())) return false; + if (!getOrderBy() + .equals(other.getOrderBy())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -470,126 +433,117 @@ public int hashCode() { } public static com.google.cloud.vmmigration.v1.ListGroupsRequest 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.vmmigration.v1.ListGroupsRequest 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.vmmigration.v1.ListGroupsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.vmmigration.v1.ListGroupsRequest 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.vmmigration.v1.ListGroupsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.vmmigration.v1.ListGroupsRequest 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.vmmigration.v1.ListGroupsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.vmmigration.v1.ListGroupsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.vmmigration.v1.ListGroupsRequest 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.vmmigration.v1.ListGroupsRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.vmmigration.v1.ListGroupsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.vmmigration.v1.ListGroupsRequest 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.vmmigration.v1.ListGroupsRequest 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.vmmigration.v1.ListGroupsRequest 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.vmmigration.v1.ListGroupsRequest 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 message for 'ListGroups' request.
    * 
* * Protobuf type {@code google.cloud.vmmigration.v1.ListGroupsRequest} */ - 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.vmmigration.v1.ListGroupsRequest) com.google.cloud.vmmigration.v1.ListGroupsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_ListGroupsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ListGroupsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_ListGroupsRequest_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ListGroupsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.ListGroupsRequest.class, - com.google.cloud.vmmigration.v1.ListGroupsRequest.Builder.class); + com.google.cloud.vmmigration.v1.ListGroupsRequest.class, com.google.cloud.vmmigration.v1.ListGroupsRequest.Builder.class); } // Construct using com.google.cloud.vmmigration.v1.ListGroupsRequest.newBuilder() @@ -597,15 +551,16 @@ 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) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -623,9 +578,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_ListGroupsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ListGroupsRequest_descriptor; } @java.lang.Override @@ -644,8 +599,7 @@ public com.google.cloud.vmmigration.v1.ListGroupsRequest build() { @java.lang.Override public com.google.cloud.vmmigration.v1.ListGroupsRequest buildPartial() { - com.google.cloud.vmmigration.v1.ListGroupsRequest result = - new com.google.cloud.vmmigration.v1.ListGroupsRequest(this); + com.google.cloud.vmmigration.v1.ListGroupsRequest result = new com.google.cloud.vmmigration.v1.ListGroupsRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -659,39 +613,38 @@ public com.google.cloud.vmmigration.v1.ListGroupsRequest buildPartial() { 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.vmmigration.v1.ListGroupsRequest) { - return mergeFrom((com.google.cloud.vmmigration.v1.ListGroupsRequest) other); + return mergeFrom((com.google.cloud.vmmigration.v1.ListGroupsRequest)other); } else { super.mergeFrom(other); return this; @@ -699,8 +652,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.vmmigration.v1.ListGroupsRequest other) { - if (other == com.google.cloud.vmmigration.v1.ListGroupsRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.vmmigration.v1.ListGroupsRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -739,8 +691,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.vmmigration.v1.ListGroupsRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.vmmigration.v1.ListGroupsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -752,22 +703,18 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The parent, which owns this collection of groups.
      * 
* - * - * 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; @@ -776,23 +723,20 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The parent, which owns this collection of groups.
      * 
* - * - * 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 { @@ -800,76 +744,61 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The parent, which owns this collection of groups.
      * 
* - * - * 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) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The parent, which owns this collection of groups.
      * 
* - * - * 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() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The parent, which owns this collection of groups.
      * 
* - * - * 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) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * Optional. The maximum number of groups to return. The service may return
      * fewer than this value. If unspecified, at most 500 groups will be
@@ -878,7 +807,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ @java.lang.Override @@ -886,8 +814,6 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * Optional. The maximum number of groups to return. The service may return
      * fewer than this value. If unspecified, at most 500 groups will be
@@ -896,19 +822,16 @@ public int getPageSize() {
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** - * - * *
      * Optional. The maximum number of groups to return. The service may return
      * fewer than this value. If unspecified, at most 500 groups will be
@@ -917,11 +840,10 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -929,8 +851,6 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * Required. A page token, received from a previous `ListGroups` call.
      * Provide this to retrieve the subsequent page.
@@ -939,13 +859,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @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; @@ -954,8 +874,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * Required. A page token, received from a previous `ListGroups` call.
      * Provide this to retrieve the subsequent page.
@@ -964,14 +882,15 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @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 { @@ -979,8 +898,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * Required. A page token, received from a previous `ListGroups` call.
      * Provide this to retrieve the subsequent page.
@@ -989,22 +906,20 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * Required. A page token, received from a previous `ListGroups` call.
      * Provide this to retrieve the subsequent page.
@@ -1013,18 +928,15 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * Required. A page token, received from a previous `ListGroups` call.
      * Provide this to retrieve the subsequent page.
@@ -1033,16 +945,16 @@ public Builder clearPageToken() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; @@ -1050,20 +962,18 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { private java.lang.Object filter_ = ""; /** - * - * *
      * Optional. The filter request.
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; 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(); filter_ = s; return s; @@ -1072,21 +982,20 @@ public java.lang.String getFilter() { } } /** - * - * *
      * Optional. The filter request.
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for filter. */ - public com.google.protobuf.ByteString getFilterBytes() { + public com.google.protobuf.ByteString + getFilterBytes() { java.lang.Object ref = filter_; 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); filter_ = b; return b; } else { @@ -1094,61 +1003,54 @@ public com.google.protobuf.ByteString getFilterBytes() { } } /** - * - * *
      * Optional. The filter request.
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter(java.lang.String value) { + public Builder setFilter( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; onChanged(); return this; } /** - * - * *
      * Optional. The filter request.
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** - * - * *
      * Optional. The filter request.
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes(com.google.protobuf.ByteString value) { + public Builder setFilterBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = value; onChanged(); return this; @@ -1156,20 +1058,18 @@ public Builder setFilterBytes(com.google.protobuf.ByteString value) { private java.lang.Object orderBy_ = ""; /** - * - * *
      * Optional. the order by fields for the result.
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The orderBy. */ public java.lang.String getOrderBy() { java.lang.Object ref = orderBy_; 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(); orderBy_ = s; return s; @@ -1178,21 +1078,20 @@ public java.lang.String getOrderBy() { } } /** - * - * *
      * Optional. the order by fields for the result.
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for orderBy. */ - public com.google.protobuf.ByteString getOrderByBytes() { + public com.google.protobuf.ByteString + getOrderByBytes() { java.lang.Object ref = orderBy_; 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); orderBy_ = b; return b; } else { @@ -1200,68 +1099,61 @@ public com.google.protobuf.ByteString getOrderByBytes() { } } /** - * - * *
      * Optional. the order by fields for the result.
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The orderBy to set. * @return This builder for chaining. */ - public Builder setOrderBy(java.lang.String value) { + public Builder setOrderBy( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + orderBy_ = value; onChanged(); return this; } /** - * - * *
      * Optional. the order by fields for the result.
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearOrderBy() { - + orderBy_ = getDefaultInstance().getOrderBy(); onChanged(); return this; } /** - * - * *
      * Optional. the order by fields for the result.
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for orderBy to set. * @return This builder for chaining. */ - public Builder setOrderByBytes(com.google.protobuf.ByteString value) { + public Builder setOrderByBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + orderBy_ = 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); } @@ -1271,12 +1163,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.vmmigration.v1.ListGroupsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.vmmigration.v1.ListGroupsRequest) private static final com.google.cloud.vmmigration.v1.ListGroupsRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.vmmigration.v1.ListGroupsRequest(); } @@ -1285,16 +1177,16 @@ public static com.google.cloud.vmmigration.v1.ListGroupsRequest getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListGroupsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListGroupsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListGroupsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListGroupsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1309,4 +1201,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.vmmigration.v1.ListGroupsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListGroupsRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListGroupsRequestOrBuilder.java similarity index 68% rename from proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListGroupsRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListGroupsRequestOrBuilder.java index 25880d8..51c7c30 100644 --- a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListGroupsRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListGroupsRequestOrBuilder.java @@ -1,60 +1,33 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; -public interface ListGroupsRequestOrBuilder - extends +public interface ListGroupsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.ListGroupsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The parent, which owns this collection of groups.
    * 
* - * - * 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 parent, which owns this collection of groups.
    * 
* - * - * 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(); /** - * - * *
    * Optional. The maximum number of groups to return. The service may return
    * fewer than this value. If unspecified, at most 500 groups will be
@@ -63,14 +36,11 @@ public interface ListGroupsRequestOrBuilder
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * Required. A page token, received from a previous `ListGroups` call.
    * Provide this to retrieve the subsequent page.
@@ -79,13 +49,10 @@ public interface ListGroupsRequestOrBuilder
    * 
* * string page_token = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * Required. A page token, received from a previous `ListGroups` call.
    * Provide this to retrieve the subsequent page.
@@ -94,58 +61,48 @@ public interface ListGroupsRequestOrBuilder
    * 
* * string page_token = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); /** - * - * *
    * Optional. The filter request.
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The filter. */ java.lang.String getFilter(); /** - * - * *
    * Optional. The filter request.
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for filter. */ - com.google.protobuf.ByteString getFilterBytes(); + com.google.protobuf.ByteString + getFilterBytes(); /** - * - * *
    * Optional. the order by fields for the result.
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The orderBy. */ java.lang.String getOrderBy(); /** - * - * *
    * Optional. the order by fields for the result.
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for orderBy. */ - com.google.protobuf.ByteString getOrderByBytes(); + com.google.protobuf.ByteString + getOrderByBytes(); } diff --git a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListGroupsResponse.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListGroupsResponse.java similarity index 67% rename from proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListGroupsResponse.java rename to owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListGroupsResponse.java index 25120f0..f092360 100644 --- a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListGroupsResponse.java +++ b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListGroupsResponse.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; /** - * - * *
  * Response message for 'ListGroups' request.
  * 
* * Protobuf type {@code google.cloud.vmmigration.v1.ListGroupsResponse} */ -public final class ListGroupsResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListGroupsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.vmmigration.v1.ListGroupsResponse) ListGroupsResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListGroupsResponse.newBuilder() to construct. private ListGroupsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListGroupsResponse() { groups_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -45,15 +27,16 @@ private ListGroupsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListGroupsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListGroupsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -73,41 +56,37 @@ private ListGroupsResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - groups_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - groups_.add( - input.readMessage( - com.google.cloud.vmmigration.v1.Group.parser(), extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + groups_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + groups_.add( + input.readMessage(com.google.cloud.vmmigration.v1.Group.parser(), extensionRegistry)); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - unreachable_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000002; - } - unreachable_.add(s); - break; + nextPageToken_ = s; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + unreachable_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000002; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + unreachable_.add(s); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -115,7 +94,8 @@ private ListGroupsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { groups_ = java.util.Collections.unmodifiableList(groups_); @@ -127,113 +107,88 @@ private ListGroupsResponse( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_ListGroupsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ListGroupsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_ListGroupsResponse_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ListGroupsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.ListGroupsResponse.class, - com.google.cloud.vmmigration.v1.ListGroupsResponse.Builder.class); + com.google.cloud.vmmigration.v1.ListGroupsResponse.class, com.google.cloud.vmmigration.v1.ListGroupsResponse.Builder.class); } public static final int GROUPS_FIELD_NUMBER = 1; private java.util.List groups_; /** - * - * *
    * Output only. The list of groups response.
    * 
* - * - * repeated .google.cloud.vmmigration.v1.Group groups = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.Group groups = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public java.util.List getGroupsList() { return groups_; } /** - * - * *
    * Output only. The list of groups response.
    * 
* - * - * repeated .google.cloud.vmmigration.v1.Group groups = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.Group groups = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public java.util.List + public java.util.List getGroupsOrBuilderList() { return groups_; } /** - * - * *
    * Output only. The list of groups response.
    * 
* - * - * repeated .google.cloud.vmmigration.v1.Group groups = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.Group groups = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public int getGroupsCount() { return groups_.size(); } /** - * - * *
    * Output only. The list of groups response.
    * 
* - * - * repeated .google.cloud.vmmigration.v1.Group groups = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.Group groups = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.cloud.vmmigration.v1.Group getGroups(int index) { return groups_.get(index); } /** - * - * *
    * Output only. The list of groups response.
    * 
* - * - * repeated .google.cloud.vmmigration.v1.Group groups = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.Group groups = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public com.google.cloud.vmmigration.v1.GroupOrBuilder getGroupsOrBuilder(int index) { + public com.google.cloud.vmmigration.v1.GroupOrBuilder getGroupsOrBuilder( + int index) { return groups_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** - * - * *
-   * Output only. A token, which can be sent as `page_token` to retrieve the next page.
-   * If this field is omitted, there are no subsequent pages.
+   * Output only. A token, which can be sent as `page_token` to retrieve the
+   * next page. If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The nextPageToken. */ @java.lang.Override @@ -242,30 +197,30 @@ 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. A token, which can be sent as `page_token` to retrieve the next page.
-   * If this field is omitted, there are no subsequent pages.
+   * Output only. A token, which can be sent as `page_token` to retrieve the
+   * next page. If this field is omitted, there are no subsequent pages.
    * 
* * 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 { @@ -276,42 +231,34 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { public static final int UNREACHABLE_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList unreachable_; /** - * - * *
    * Output only. Locations that could not be reached.
    * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return A list containing the unreachable. */ - public com.google.protobuf.ProtocolStringList getUnreachableList() { + public com.google.protobuf.ProtocolStringList + getUnreachableList() { return unreachable_; } /** - * - * *
    * Output only. Locations that could not be reached.
    * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** - * - * *
    * Output only. Locations that could not be reached.
    * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -319,23 +266,20 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** - * - * *
    * Output only. Locations that could not be reached.
    * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - public com.google.protobuf.ByteString getUnreachableBytes(int index) { + public com.google.protobuf.ByteString + getUnreachableBytes(int index) { return unreachable_.getByteString(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -347,7 +291,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 < groups_.size(); i++) { output.writeMessage(1, groups_.get(i)); } @@ -367,7 +312,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < groups_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, groups_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, groups_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -388,17 +334,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.vmmigration.v1.ListGroupsResponse)) { return super.equals(obj); } - com.google.cloud.vmmigration.v1.ListGroupsResponse other = - (com.google.cloud.vmmigration.v1.ListGroupsResponse) obj; + com.google.cloud.vmmigration.v1.ListGroupsResponse other = (com.google.cloud.vmmigration.v1.ListGroupsResponse) obj; - if (!getGroupsList().equals(other.getGroupsList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; - if (!getUnreachableList().equals(other.getUnreachableList())) return false; + if (!getGroupsList() + .equals(other.getGroupsList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; + if (!getUnreachableList() + .equals(other.getUnreachableList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -426,126 +374,117 @@ public int hashCode() { } public static com.google.cloud.vmmigration.v1.ListGroupsResponse 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.vmmigration.v1.ListGroupsResponse 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.vmmigration.v1.ListGroupsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.vmmigration.v1.ListGroupsResponse 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.vmmigration.v1.ListGroupsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.vmmigration.v1.ListGroupsResponse 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.vmmigration.v1.ListGroupsResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.vmmigration.v1.ListGroupsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.vmmigration.v1.ListGroupsResponse 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.vmmigration.v1.ListGroupsResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.vmmigration.v1.ListGroupsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.vmmigration.v1.ListGroupsResponse 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.vmmigration.v1.ListGroupsResponse 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.vmmigration.v1.ListGroupsResponse 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.vmmigration.v1.ListGroupsResponse 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; } /** - * - * *
    * Response message for 'ListGroups' request.
    * 
* * Protobuf type {@code google.cloud.vmmigration.v1.ListGroupsResponse} */ - 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.vmmigration.v1.ListGroupsResponse) com.google.cloud.vmmigration.v1.ListGroupsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_ListGroupsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ListGroupsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_ListGroupsResponse_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ListGroupsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.ListGroupsResponse.class, - com.google.cloud.vmmigration.v1.ListGroupsResponse.Builder.class); + com.google.cloud.vmmigration.v1.ListGroupsResponse.class, com.google.cloud.vmmigration.v1.ListGroupsResponse.Builder.class); } // Construct using com.google.cloud.vmmigration.v1.ListGroupsResponse.newBuilder() @@ -553,17 +492,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) { getGroupsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -581,9 +520,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_ListGroupsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ListGroupsResponse_descriptor; } @java.lang.Override @@ -602,8 +541,7 @@ public com.google.cloud.vmmigration.v1.ListGroupsResponse build() { @java.lang.Override public com.google.cloud.vmmigration.v1.ListGroupsResponse buildPartial() { - com.google.cloud.vmmigration.v1.ListGroupsResponse result = - new com.google.cloud.vmmigration.v1.ListGroupsResponse(this); + com.google.cloud.vmmigration.v1.ListGroupsResponse result = new com.google.cloud.vmmigration.v1.ListGroupsResponse(this); int from_bitField0_ = bitField0_; if (groupsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -628,39 +566,38 @@ public com.google.cloud.vmmigration.v1.ListGroupsResponse buildPartial() { 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.vmmigration.v1.ListGroupsResponse) { - return mergeFrom((com.google.cloud.vmmigration.v1.ListGroupsResponse) other); + return mergeFrom((com.google.cloud.vmmigration.v1.ListGroupsResponse)other); } else { super.mergeFrom(other); return this; @@ -668,8 +605,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.vmmigration.v1.ListGroupsResponse other) { - if (other == com.google.cloud.vmmigration.v1.ListGroupsResponse.getDefaultInstance()) - return this; + if (other == com.google.cloud.vmmigration.v1.ListGroupsResponse.getDefaultInstance()) return this; if (groupsBuilder_ == null) { if (!other.groups_.isEmpty()) { if (groups_.isEmpty()) { @@ -688,10 +624,9 @@ public Builder mergeFrom(com.google.cloud.vmmigration.v1.ListGroupsResponse othe groupsBuilder_ = null; groups_ = other.groups_; bitField0_ = (bitField0_ & ~0x00000001); - groupsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getGroupsFieldBuilder() - : null; + groupsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getGroupsFieldBuilder() : null; } else { groupsBuilder_.addAllMessages(other.groups_); } @@ -730,8 +665,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.vmmigration.v1.ListGroupsResponse) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.vmmigration.v1.ListGroupsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -740,35 +674,26 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.util.List groups_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureGroupsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { groups_ = new java.util.ArrayList(groups_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.vmmigration.v1.Group, - com.google.cloud.vmmigration.v1.Group.Builder, - com.google.cloud.vmmigration.v1.GroupOrBuilder> - groupsBuilder_; + com.google.cloud.vmmigration.v1.Group, com.google.cloud.vmmigration.v1.Group.Builder, com.google.cloud.vmmigration.v1.GroupOrBuilder> groupsBuilder_; /** - * - * *
      * Output only. The list of groups response.
      * 
* - * - * repeated .google.cloud.vmmigration.v1.Group groups = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.Group groups = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public java.util.List getGroupsList() { if (groupsBuilder_ == null) { @@ -778,15 +703,11 @@ public java.util.List getGroupsList() { } } /** - * - * *
      * Output only. The list of groups response.
      * 
* - * - * repeated .google.cloud.vmmigration.v1.Group groups = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.Group groups = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public int getGroupsCount() { if (groupsBuilder_ == null) { @@ -796,15 +717,11 @@ public int getGroupsCount() { } } /** - * - * *
      * Output only. The list of groups response.
      * 
* - * - * repeated .google.cloud.vmmigration.v1.Group groups = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.Group groups = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.vmmigration.v1.Group getGroups(int index) { if (groupsBuilder_ == null) { @@ -814,17 +731,14 @@ public com.google.cloud.vmmigration.v1.Group getGroups(int index) { } } /** - * - * *
      * Output only. The list of groups response.
      * 
* - * - * repeated .google.cloud.vmmigration.v1.Group groups = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.Group groups = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setGroups(int index, com.google.cloud.vmmigration.v1.Group value) { + public Builder setGroups( + int index, com.google.cloud.vmmigration.v1.Group value) { if (groupsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -838,15 +752,11 @@ public Builder setGroups(int index, com.google.cloud.vmmigration.v1.Group value) return this; } /** - * - * *
      * Output only. The list of groups response.
      * 
* - * - * repeated .google.cloud.vmmigration.v1.Group groups = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.Group groups = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setGroups( int index, com.google.cloud.vmmigration.v1.Group.Builder builderForValue) { @@ -860,15 +770,11 @@ public Builder setGroups( return this; } /** - * - * *
      * Output only. The list of groups response.
      * 
* - * - * repeated .google.cloud.vmmigration.v1.Group groups = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.Group groups = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addGroups(com.google.cloud.vmmigration.v1.Group value) { if (groupsBuilder_ == null) { @@ -884,17 +790,14 @@ public Builder addGroups(com.google.cloud.vmmigration.v1.Group value) { return this; } /** - * - * *
      * Output only. The list of groups response.
      * 
* - * - * repeated .google.cloud.vmmigration.v1.Group groups = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.Group groups = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder addGroups(int index, com.google.cloud.vmmigration.v1.Group value) { + public Builder addGroups( + int index, com.google.cloud.vmmigration.v1.Group value) { if (groupsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -908,17 +811,14 @@ public Builder addGroups(int index, com.google.cloud.vmmigration.v1.Group value) return this; } /** - * - * *
      * Output only. The list of groups response.
      * 
* - * - * repeated .google.cloud.vmmigration.v1.Group groups = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.Group groups = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder addGroups(com.google.cloud.vmmigration.v1.Group.Builder builderForValue) { + public Builder addGroups( + com.google.cloud.vmmigration.v1.Group.Builder builderForValue) { if (groupsBuilder_ == null) { ensureGroupsIsMutable(); groups_.add(builderForValue.build()); @@ -929,15 +829,11 @@ public Builder addGroups(com.google.cloud.vmmigration.v1.Group.Builder builderFo return this; } /** - * - * *
      * Output only. The list of groups response.
      * 
* - * - * repeated .google.cloud.vmmigration.v1.Group groups = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.Group groups = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addGroups( int index, com.google.cloud.vmmigration.v1.Group.Builder builderForValue) { @@ -951,21 +847,18 @@ public Builder addGroups( return this; } /** - * - * *
      * Output only. The list of groups response.
      * 
* - * - * repeated .google.cloud.vmmigration.v1.Group groups = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.Group groups = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addAllGroups( java.lang.Iterable values) { if (groupsBuilder_ == null) { ensureGroupsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, groups_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, groups_); onChanged(); } else { groupsBuilder_.addAllMessages(values); @@ -973,15 +866,11 @@ public Builder addAllGroups( return this; } /** - * - * *
      * Output only. The list of groups response.
      * 
* - * - * repeated .google.cloud.vmmigration.v1.Group groups = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.Group groups = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearGroups() { if (groupsBuilder_ == null) { @@ -994,15 +883,11 @@ public Builder clearGroups() { return this; } /** - * - * *
      * Output only. The list of groups response.
      * 
* - * - * repeated .google.cloud.vmmigration.v1.Group groups = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.Group groups = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder removeGroups(int index) { if (groupsBuilder_ == null) { @@ -1015,50 +900,39 @@ public Builder removeGroups(int index) { return this; } /** - * - * *
      * Output only. The list of groups response.
      * 
* - * - * repeated .google.cloud.vmmigration.v1.Group groups = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.Group groups = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.vmmigration.v1.Group.Builder getGroupsBuilder(int index) { + public com.google.cloud.vmmigration.v1.Group.Builder getGroupsBuilder( + int index) { return getGroupsFieldBuilder().getBuilder(index); } /** - * - * *
      * Output only. The list of groups response.
      * 
* - * - * repeated .google.cloud.vmmigration.v1.Group groups = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.Group groups = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.vmmigration.v1.GroupOrBuilder getGroupsOrBuilder(int index) { + public com.google.cloud.vmmigration.v1.GroupOrBuilder getGroupsOrBuilder( + int index) { if (groupsBuilder_ == null) { - return groups_.get(index); - } else { + return groups_.get(index); } else { return groupsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Output only. The list of groups response.
      * 
* - * - * repeated .google.cloud.vmmigration.v1.Group groups = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.Group groups = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public java.util.List - getGroupsOrBuilderList() { + public java.util.List + getGroupsOrBuilderList() { if (groupsBuilder_ != null) { return groupsBuilder_.getMessageOrBuilderList(); } else { @@ -1066,62 +940,49 @@ public com.google.cloud.vmmigration.v1.GroupOrBuilder getGroupsOrBuilder(int ind } } /** - * - * *
      * Output only. The list of groups response.
      * 
* - * - * repeated .google.cloud.vmmigration.v1.Group groups = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.Group groups = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.vmmigration.v1.Group.Builder addGroupsBuilder() { - return getGroupsFieldBuilder() - .addBuilder(com.google.cloud.vmmigration.v1.Group.getDefaultInstance()); + return getGroupsFieldBuilder().addBuilder( + com.google.cloud.vmmigration.v1.Group.getDefaultInstance()); } /** - * - * *
      * Output only. The list of groups response.
      * 
* - * - * repeated .google.cloud.vmmigration.v1.Group groups = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.Group groups = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.vmmigration.v1.Group.Builder addGroupsBuilder(int index) { - return getGroupsFieldBuilder() - .addBuilder(index, com.google.cloud.vmmigration.v1.Group.getDefaultInstance()); + public com.google.cloud.vmmigration.v1.Group.Builder addGroupsBuilder( + int index) { + return getGroupsFieldBuilder().addBuilder( + index, com.google.cloud.vmmigration.v1.Group.getDefaultInstance()); } /** - * - * *
      * Output only. The list of groups response.
      * 
* - * - * repeated .google.cloud.vmmigration.v1.Group groups = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.Group groups = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public java.util.List getGroupsBuilderList() { + public java.util.List + getGroupsBuilderList() { return getGroupsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.vmmigration.v1.Group, - com.google.cloud.vmmigration.v1.Group.Builder, - com.google.cloud.vmmigration.v1.GroupOrBuilder> + com.google.cloud.vmmigration.v1.Group, com.google.cloud.vmmigration.v1.Group.Builder, com.google.cloud.vmmigration.v1.GroupOrBuilder> getGroupsFieldBuilder() { if (groupsBuilder_ == null) { - groupsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.vmmigration.v1.Group, - com.google.cloud.vmmigration.v1.Group.Builder, - com.google.cloud.vmmigration.v1.GroupOrBuilder>( - groups_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + groupsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.vmmigration.v1.Group, com.google.cloud.vmmigration.v1.Group.Builder, com.google.cloud.vmmigration.v1.GroupOrBuilder>( + groups_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); groups_ = null; } return groupsBuilder_; @@ -1129,21 +990,19 @@ public java.util.List getGroupsBu private java.lang.Object nextPageToken_ = ""; /** - * - * *
-     * Output only. A token, which can be sent as `page_token` to retrieve the next page.
-     * If this field is omitted, there are no subsequent pages.
+     * Output only. A token, which can be sent as `page_token` to retrieve the
+     * next page. If this field is omitted, there are no subsequent pages.
      * 
* * 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; @@ -1152,22 +1011,21 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
-     * Output only. A token, which can be sent as `page_token` to retrieve the next page.
-     * If this field is omitted, there are no subsequent pages.
+     * Output only. A token, which can be sent as `page_token` to retrieve the
+     * next page. If this field is omitted, there are no subsequent pages.
      * 
* * 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 { @@ -1175,115 +1033,98 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
-     * Output only. A token, which can be sent as `page_token` to retrieve the next page.
-     * If this field is omitted, there are no subsequent pages.
+     * Output only. A token, which can be sent as `page_token` to retrieve the
+     * next page. If this field is omitted, there are no subsequent pages.
      * 
* * 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) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** - * - * *
-     * Output only. A token, which can be sent as `page_token` to retrieve the next page.
-     * If this field is omitted, there are no subsequent pages.
+     * Output only. A token, which can be sent as `page_token` to retrieve the
+     * next page. If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
-     * Output only. A token, which can be sent as `page_token` to retrieve the next page.
-     * If this field is omitted, there are no subsequent pages.
+     * Output only. A token, which can be sent as `page_token` to retrieve the
+     * next page. If this field is omitted, there are no subsequent pages.
      * 
* * 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) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList unreachable_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList unreachable_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureUnreachableIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { unreachable_ = new com.google.protobuf.LazyStringArrayList(unreachable_); bitField0_ |= 0x00000002; - } + } } /** - * - * *
      * Output only. Locations that could not be reached.
      * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return A list containing the unreachable. */ - public com.google.protobuf.ProtocolStringList getUnreachableList() { + public com.google.protobuf.ProtocolStringList + getUnreachableList() { return unreachable_.getUnmodifiableView(); } /** - * - * *
      * Output only. Locations that could not be reached.
      * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** - * - * *
      * Output only. Locations that could not be reached.
      * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -1291,90 +1132,80 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** - * - * *
      * Output only. Locations that could not be reached.
      * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - public com.google.protobuf.ByteString getUnreachableBytes(int index) { + public com.google.protobuf.ByteString + getUnreachableBytes(int index) { return unreachable_.getByteString(index); } /** - * - * *
      * Output only. Locations that could not be reached.
      * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param index The index to set the value at. * @param value The unreachable to set. * @return This builder for chaining. */ - public Builder setUnreachable(int index, java.lang.String value) { + public Builder setUnreachable( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUnreachableIsMutable(); + throw new NullPointerException(); + } + ensureUnreachableIsMutable(); unreachable_.set(index, value); onChanged(); return this; } /** - * - * *
      * Output only. Locations that could not be reached.
      * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The unreachable to add. * @return This builder for chaining. */ - public Builder addUnreachable(java.lang.String value) { + public Builder addUnreachable( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUnreachableIsMutable(); + throw new NullPointerException(); + } + ensureUnreachableIsMutable(); unreachable_.add(value); onChanged(); return this; } /** - * - * *
      * Output only. Locations that could not be reached.
      * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param values The unreachable to add. * @return This builder for chaining. */ - public Builder addAllUnreachable(java.lang.Iterable values) { + public Builder addAllUnreachable( + java.lang.Iterable values) { ensureUnreachableIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, unreachable_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, unreachable_); onChanged(); return this; } /** - * - * *
      * Output only. Locations that could not be reached.
      * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearUnreachable() { @@ -1384,30 +1215,28 @@ public Builder clearUnreachable() { return this; } /** - * - * *
      * Output only. Locations that could not be reached.
      * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes of the unreachable to add. * @return This builder for chaining. */ - public Builder addUnreachableBytes(com.google.protobuf.ByteString value) { + public Builder addUnreachableBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureUnreachableIsMutable(); unreachable_.add(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); } @@ -1417,12 +1246,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.vmmigration.v1.ListGroupsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.vmmigration.v1.ListGroupsResponse) private static final com.google.cloud.vmmigration.v1.ListGroupsResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.vmmigration.v1.ListGroupsResponse(); } @@ -1431,16 +1260,16 @@ public static com.google.cloud.vmmigration.v1.ListGroupsResponse getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListGroupsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListGroupsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListGroupsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListGroupsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1455,4 +1284,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.vmmigration.v1.ListGroupsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListGroupsResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListGroupsResponseOrBuilder.java similarity index 57% rename from proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListGroupsResponseOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListGroupsResponseOrBuilder.java index 1e4b687..9aff04f 100644 --- a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListGroupsResponseOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListGroupsResponseOrBuilder.java @@ -1,164 +1,116 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; -public interface ListGroupsResponseOrBuilder - extends +public interface ListGroupsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.ListGroupsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Output only. The list of groups response.
    * 
* - * - * repeated .google.cloud.vmmigration.v1.Group groups = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.Group groups = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - java.util.List getGroupsList(); + java.util.List + getGroupsList(); /** - * - * *
    * Output only. The list of groups response.
    * 
* - * - * repeated .google.cloud.vmmigration.v1.Group groups = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.Group groups = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.cloud.vmmigration.v1.Group getGroups(int index); /** - * - * *
    * Output only. The list of groups response.
    * 
* - * - * repeated .google.cloud.vmmigration.v1.Group groups = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.Group groups = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ int getGroupsCount(); /** - * - * *
    * Output only. The list of groups response.
    * 
* - * - * repeated .google.cloud.vmmigration.v1.Group groups = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.Group groups = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - java.util.List getGroupsOrBuilderList(); + java.util.List + getGroupsOrBuilderList(); /** - * - * *
    * Output only. The list of groups response.
    * 
* - * - * repeated .google.cloud.vmmigration.v1.Group groups = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.Group groups = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - com.google.cloud.vmmigration.v1.GroupOrBuilder getGroupsOrBuilder(int index); + com.google.cloud.vmmigration.v1.GroupOrBuilder getGroupsOrBuilder( + int index); /** - * - * *
-   * Output only. A token, which can be sent as `page_token` to retrieve the next page.
-   * If this field is omitted, there are no subsequent pages.
+   * Output only. A token, which can be sent as `page_token` to retrieve the
+   * next page. If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
-   * Output only. A token, which can be sent as `page_token` to retrieve the next page.
-   * If this field is omitted, there are no subsequent pages.
+   * Output only. A token, which can be sent as `page_token` to retrieve the
+   * next page. If this field is omitted, there are no subsequent pages.
    * 
* * 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(); /** - * - * *
    * Output only. Locations that could not be reached.
    * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return A list containing the unreachable. */ - java.util.List getUnreachableList(); + java.util.List + getUnreachableList(); /** - * - * *
    * Output only. Locations that could not be reached.
    * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The count of unreachable. */ int getUnreachableCount(); /** - * - * *
    * Output only. Locations that could not be reached.
    * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param index The index of the element to return. * @return The unreachable at the given index. */ java.lang.String getUnreachable(int index); /** - * - * *
    * Output only. Locations that could not be reached.
    * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - com.google.protobuf.ByteString getUnreachableBytes(int index); + com.google.protobuf.ByteString + getUnreachableBytes(int index); } diff --git a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListMigratingVmsRequest.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListMigratingVmsRequest.java similarity index 64% rename from proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListMigratingVmsRequest.java rename to owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListMigratingVmsRequest.java index 41746a5..662e13f 100644 --- a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListMigratingVmsRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListMigratingVmsRequest.java @@ -1,60 +1,44 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; /** - * - * *
  * Request message for 'LisMigratingVmsRequest' request.
  * 
* * Protobuf type {@code google.cloud.vmmigration.v1.ListMigratingVmsRequest} */ -public final class ListMigratingVmsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListMigratingVmsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.vmmigration.v1.ListMigratingVmsRequest) ListMigratingVmsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListMigratingVmsRequest.newBuilder() to construct. private ListMigratingVmsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListMigratingVmsRequest() { parent_ = ""; pageToken_ = ""; filter_ = ""; orderBy_ = ""; + view_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListMigratingVmsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListMigratingVmsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -73,46 +57,48 @@ private ListMigratingVmsRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 16: - { - pageSize_ = input.readInt32(); - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: { - pageToken_ = s; - break; - } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); + pageSize_ = input.readInt32(); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - filter_ = s; - break; - } - case 42: - { - java.lang.String s = input.readStringRequireUtf8(); + pageToken_ = s; + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); - orderBy_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + filter_ = s; + break; + } + case 42: { + java.lang.String s = input.readStringRequireUtf8(); + + orderBy_ = s; + break; + } + case 48: { + int rawValue = input.readEnum(); + + view_ = rawValue; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -120,41 +106,34 @@ private ListMigratingVmsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_ListMigratingVmsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ListMigratingVmsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_ListMigratingVmsRequest_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ListMigratingVmsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.ListMigratingVmsRequest.class, - com.google.cloud.vmmigration.v1.ListMigratingVmsRequest.Builder.class); + com.google.cloud.vmmigration.v1.ListMigratingVmsRequest.class, com.google.cloud.vmmigration.v1.ListMigratingVmsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The parent, which owns this collection of MigratingVms.
    * 
* - * - * 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 @@ -163,31 +142,29 @@ 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 parent, which owns this collection of MigratingVms.
    * 
* - * - * 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 { @@ -198,17 +175,14 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** - * - * *
-   * Optional. The maximum number of migrating VMs to return. The service may return
-   * fewer than this value. If unspecified, at most 500 migrating VMs will be
-   * returned. The maximum value is 1000; values above 1000 will be coerced to
-   * 1000.
+   * Optional. The maximum number of migrating VMs to return. The service may
+   * return fewer than this value. If unspecified, at most 500 migrating VMs
+   * will be returned. The maximum value is 1000; values above 1000 will be
+   * coerced to 1000.
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ @java.lang.Override @@ -219,8 +193,6 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** - * - * *
    * Required. A page token, received from a previous `ListMigratingVms` call.
    * Provide this to retrieve the subsequent page.
@@ -229,7 +201,6 @@ public int getPageSize() {
    * 
* * string page_token = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The pageToken. */ @java.lang.Override @@ -238,15 +209,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; } } /** - * - * *
    * Required. A page token, received from a previous `ListMigratingVms` call.
    * Provide this to retrieve the subsequent page.
@@ -255,15 +225,16 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @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 { @@ -274,14 +245,11 @@ public com.google.protobuf.ByteString getPageTokenBytes() { public static final int FILTER_FIELD_NUMBER = 4; private volatile java.lang.Object filter_; /** - * - * *
    * Optional. The filter request.
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The filter. */ @java.lang.Override @@ -290,29 +258,29 @@ public java.lang.String getFilter() { 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(); filter_ = s; return s; } } /** - * - * *
    * Optional. The filter request.
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for filter. */ @java.lang.Override - public com.google.protobuf.ByteString getFilterBytes() { + public com.google.protobuf.ByteString + getFilterBytes() { java.lang.Object ref = filter_; 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); filter_ = b; return b; } else { @@ -323,14 +291,11 @@ public com.google.protobuf.ByteString getFilterBytes() { public static final int ORDER_BY_FIELD_NUMBER = 5; private volatile java.lang.Object orderBy_; /** - * - * *
    * Optional. the order by fields for the result.
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The orderBy. */ @java.lang.Override @@ -339,29 +304,29 @@ public java.lang.String getOrderBy() { 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(); orderBy_ = s; return s; } } /** - * - * *
    * Optional. the order by fields for the result.
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for orderBy. */ @java.lang.Override - public com.google.protobuf.ByteString getOrderByBytes() { + public com.google.protobuf.ByteString + getOrderByBytes() { java.lang.Object ref = orderBy_; 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); orderBy_ = b; return b; } else { @@ -369,8 +334,34 @@ public com.google.protobuf.ByteString getOrderByBytes() { } } - private byte memoizedIsInitialized = -1; + public static final int VIEW_FIELD_NUMBER = 6; + private int view_; + /** + *
+   * Optional. The level of details of each migrating VM.
+   * 
+ * + * .google.cloud.vmmigration.v1.MigratingVmView view = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @return The enum numeric value on the wire for view. + */ + @java.lang.Override public int getViewValue() { + return view_; + } + /** + *
+   * Optional. The level of details of each migrating VM.
+   * 
+ * + * .google.cloud.vmmigration.v1.MigratingVmView view = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @return The view. + */ + @java.lang.Override public com.google.cloud.vmmigration.v1.MigratingVmView getView() { + @SuppressWarnings("deprecation") + com.google.cloud.vmmigration.v1.MigratingVmView result = com.google.cloud.vmmigration.v1.MigratingVmView.valueOf(view_); + return result == null ? com.google.cloud.vmmigration.v1.MigratingVmView.UNRECOGNIZED : result; + } + private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -382,7 +373,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_); } @@ -398,6 +390,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(orderBy_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, orderBy_); } + if (view_ != com.google.cloud.vmmigration.v1.MigratingVmView.MIGRATING_VM_VIEW_UNSPECIFIED.getNumber()) { + output.writeEnum(6, view_); + } unknownFields.writeTo(output); } @@ -411,7 +406,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -422,6 +418,10 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(orderBy_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, orderBy_); } + if (view_ != com.google.cloud.vmmigration.v1.MigratingVmView.MIGRATING_VM_VIEW_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(6, view_); + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -430,19 +430,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.vmmigration.v1.ListMigratingVmsRequest)) { return super.equals(obj); } - com.google.cloud.vmmigration.v1.ListMigratingVmsRequest other = - (com.google.cloud.vmmigration.v1.ListMigratingVmsRequest) obj; - - if (!getParent().equals(other.getParent())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; - if (!getFilter().equals(other.getFilter())) return false; - if (!getOrderBy().equals(other.getOrderBy())) return false; + com.google.cloud.vmmigration.v1.ListMigratingVmsRequest other = (com.google.cloud.vmmigration.v1.ListMigratingVmsRequest) obj; + + if (!getParent() + .equals(other.getParent())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; + if (!getFilter() + .equals(other.getFilter())) return false; + if (!getOrderBy() + .equals(other.getOrderBy())) return false; + if (view_ != other.view_) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -464,133 +469,125 @@ public int hashCode() { hash = (53 * hash) + getFilter().hashCode(); hash = (37 * hash) + ORDER_BY_FIELD_NUMBER; hash = (53 * hash) + getOrderBy().hashCode(); + hash = (37 * hash) + VIEW_FIELD_NUMBER; + hash = (53 * hash) + view_; hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.vmmigration.v1.ListMigratingVmsRequest 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.vmmigration.v1.ListMigratingVmsRequest 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.vmmigration.v1.ListMigratingVmsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.vmmigration.v1.ListMigratingVmsRequest 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.vmmigration.v1.ListMigratingVmsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.vmmigration.v1.ListMigratingVmsRequest 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.vmmigration.v1.ListMigratingVmsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.vmmigration.v1.ListMigratingVmsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.vmmigration.v1.ListMigratingVmsRequest 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.vmmigration.v1.ListMigratingVmsRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.vmmigration.v1.ListMigratingVmsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.vmmigration.v1.ListMigratingVmsRequest 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.vmmigration.v1.ListMigratingVmsRequest 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.vmmigration.v1.ListMigratingVmsRequest 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.vmmigration.v1.ListMigratingVmsRequest prototype) { + public static Builder newBuilder(com.google.cloud.vmmigration.v1.ListMigratingVmsRequest 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 message for 'LisMigratingVmsRequest' request.
    * 
* * Protobuf type {@code google.cloud.vmmigration.v1.ListMigratingVmsRequest} */ - 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.vmmigration.v1.ListMigratingVmsRequest) com.google.cloud.vmmigration.v1.ListMigratingVmsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_ListMigratingVmsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ListMigratingVmsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_ListMigratingVmsRequest_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ListMigratingVmsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.ListMigratingVmsRequest.class, - com.google.cloud.vmmigration.v1.ListMigratingVmsRequest.Builder.class); + com.google.cloud.vmmigration.v1.ListMigratingVmsRequest.class, com.google.cloud.vmmigration.v1.ListMigratingVmsRequest.Builder.class); } // Construct using com.google.cloud.vmmigration.v1.ListMigratingVmsRequest.newBuilder() @@ -598,15 +595,16 @@ 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) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -620,13 +618,15 @@ public Builder clear() { orderBy_ = ""; + view_ = 0; + return this; } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_ListMigratingVmsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ListMigratingVmsRequest_descriptor; } @java.lang.Override @@ -645,13 +645,13 @@ public com.google.cloud.vmmigration.v1.ListMigratingVmsRequest build() { @java.lang.Override public com.google.cloud.vmmigration.v1.ListMigratingVmsRequest buildPartial() { - com.google.cloud.vmmigration.v1.ListMigratingVmsRequest result = - new com.google.cloud.vmmigration.v1.ListMigratingVmsRequest(this); + com.google.cloud.vmmigration.v1.ListMigratingVmsRequest result = new com.google.cloud.vmmigration.v1.ListMigratingVmsRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; result.filter_ = filter_; result.orderBy_ = orderBy_; + result.view_ = view_; onBuilt(); return result; } @@ -660,39 +660,38 @@ public com.google.cloud.vmmigration.v1.ListMigratingVmsRequest buildPartial() { 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.vmmigration.v1.ListMigratingVmsRequest) { - return mergeFrom((com.google.cloud.vmmigration.v1.ListMigratingVmsRequest) other); + return mergeFrom((com.google.cloud.vmmigration.v1.ListMigratingVmsRequest)other); } else { super.mergeFrom(other); return this; @@ -700,8 +699,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.vmmigration.v1.ListMigratingVmsRequest other) { - if (other == com.google.cloud.vmmigration.v1.ListMigratingVmsRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.vmmigration.v1.ListMigratingVmsRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -721,6 +719,9 @@ public Builder mergeFrom(com.google.cloud.vmmigration.v1.ListMigratingVmsRequest orderBy_ = other.orderBy_; onChanged(); } + if (other.view_ != 0) { + setViewValue(other.getViewValue()); + } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -740,8 +741,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.vmmigration.v1.ListMigratingVmsRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.vmmigration.v1.ListMigratingVmsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -753,22 +753,18 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The parent, which owns this collection of MigratingVms.
      * 
* - * - * 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; @@ -777,23 +773,20 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The parent, which owns this collection of MigratingVms.
      * 
* - * - * 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 { @@ -801,85 +794,69 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The parent, which owns this collection of MigratingVms.
      * 
* - * - * 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) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The parent, which owns this collection of MigratingVms.
      * 
* - * - * 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() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The parent, which owns this collection of MigratingVms.
      * 
* - * - * 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) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
-     * Optional. The maximum number of migrating VMs to return. The service may return
-     * fewer than this value. If unspecified, at most 500 migrating VMs will be
-     * returned. The maximum value is 1000; values above 1000 will be coerced to
-     * 1000.
+     * Optional. The maximum number of migrating VMs to return. The service may
+     * return fewer than this value. If unspecified, at most 500 migrating VMs
+     * will be returned. The maximum value is 1000; values above 1000 will be
+     * coerced to 1000.
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ @java.lang.Override @@ -887,42 +864,36 @@ public int getPageSize() { return pageSize_; } /** - * - * *
-     * Optional. The maximum number of migrating VMs to return. The service may return
-     * fewer than this value. If unspecified, at most 500 migrating VMs will be
-     * returned. The maximum value is 1000; values above 1000 will be coerced to
-     * 1000.
+     * Optional. The maximum number of migrating VMs to return. The service may
+     * return fewer than this value. If unspecified, at most 500 migrating VMs
+     * will be returned. The maximum value is 1000; values above 1000 will be
+     * coerced to 1000.
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** - * - * *
-     * Optional. The maximum number of migrating VMs to return. The service may return
-     * fewer than this value. If unspecified, at most 500 migrating VMs will be
-     * returned. The maximum value is 1000; values above 1000 will be coerced to
-     * 1000.
+     * Optional. The maximum number of migrating VMs to return. The service may
+     * return fewer than this value. If unspecified, at most 500 migrating VMs
+     * will be returned. The maximum value is 1000; values above 1000 will be
+     * coerced to 1000.
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -930,8 +901,6 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * Required. A page token, received from a previous `ListMigratingVms` call.
      * Provide this to retrieve the subsequent page.
@@ -940,13 +909,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @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; @@ -955,8 +924,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * Required. A page token, received from a previous `ListMigratingVms` call.
      * Provide this to retrieve the subsequent page.
@@ -965,14 +932,15 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @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 { @@ -980,8 +948,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * Required. A page token, received from a previous `ListMigratingVms` call.
      * Provide this to retrieve the subsequent page.
@@ -990,22 +956,20 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * Required. A page token, received from a previous `ListMigratingVms` call.
      * Provide this to retrieve the subsequent page.
@@ -1014,18 +978,15 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * Required. A page token, received from a previous `ListMigratingVms` call.
      * Provide this to retrieve the subsequent page.
@@ -1034,16 +995,16 @@ public Builder clearPageToken() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; @@ -1051,20 +1012,18 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { private java.lang.Object filter_ = ""; /** - * - * *
      * Optional. The filter request.
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; 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(); filter_ = s; return s; @@ -1073,21 +1032,20 @@ public java.lang.String getFilter() { } } /** - * - * *
      * Optional. The filter request.
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for filter. */ - public com.google.protobuf.ByteString getFilterBytes() { + public com.google.protobuf.ByteString + getFilterBytes() { java.lang.Object ref = filter_; 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); filter_ = b; return b; } else { @@ -1095,61 +1053,54 @@ public com.google.protobuf.ByteString getFilterBytes() { } } /** - * - * *
      * Optional. The filter request.
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter(java.lang.String value) { + public Builder setFilter( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; onChanged(); return this; } /** - * - * *
      * Optional. The filter request.
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** - * - * *
      * Optional. The filter request.
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes(com.google.protobuf.ByteString value) { + public Builder setFilterBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = value; onChanged(); return this; @@ -1157,20 +1108,18 @@ public Builder setFilterBytes(com.google.protobuf.ByteString value) { private java.lang.Object orderBy_ = ""; /** - * - * *
      * Optional. the order by fields for the result.
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The orderBy. */ public java.lang.String getOrderBy() { java.lang.Object ref = orderBy_; 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(); orderBy_ = s; return s; @@ -1179,21 +1128,20 @@ public java.lang.String getOrderBy() { } } /** - * - * *
      * Optional. the order by fields for the result.
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for orderBy. */ - public com.google.protobuf.ByteString getOrderByBytes() { + public com.google.protobuf.ByteString + getOrderByBytes() { java.lang.Object ref = orderBy_; 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); orderBy_ = b; return b; } else { @@ -1201,68 +1149,135 @@ public com.google.protobuf.ByteString getOrderByBytes() { } } /** - * - * *
      * Optional. the order by fields for the result.
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The orderBy to set. * @return This builder for chaining. */ - public Builder setOrderBy(java.lang.String value) { + public Builder setOrderBy( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + orderBy_ = value; onChanged(); return this; } /** - * - * *
      * Optional. the order by fields for the result.
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearOrderBy() { - + orderBy_ = getDefaultInstance().getOrderBy(); onChanged(); return this; } /** - * - * *
      * Optional. the order by fields for the result.
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for orderBy to set. * @return This builder for chaining. */ - public Builder setOrderByBytes(com.google.protobuf.ByteString value) { + public Builder setOrderByBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + orderBy_ = value; onChanged(); return this; } + private int view_ = 0; + /** + *
+     * Optional. The level of details of each migrating VM.
+     * 
+ * + * .google.cloud.vmmigration.v1.MigratingVmView view = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @return The enum numeric value on the wire for view. + */ + @java.lang.Override public int getViewValue() { + return view_; + } + /** + *
+     * Optional. The level of details of each migrating VM.
+     * 
+ * + * .google.cloud.vmmigration.v1.MigratingVmView view = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @param value The enum numeric value on the wire for view to set. + * @return This builder for chaining. + */ + public Builder setViewValue(int value) { + + view_ = value; + onChanged(); + return this; + } + /** + *
+     * Optional. The level of details of each migrating VM.
+     * 
+ * + * .google.cloud.vmmigration.v1.MigratingVmView view = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @return The view. + */ @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public com.google.cloud.vmmigration.v1.MigratingVmView getView() { + @SuppressWarnings("deprecation") + com.google.cloud.vmmigration.v1.MigratingVmView result = com.google.cloud.vmmigration.v1.MigratingVmView.valueOf(view_); + return result == null ? com.google.cloud.vmmigration.v1.MigratingVmView.UNRECOGNIZED : result; + } + /** + *
+     * Optional. The level of details of each migrating VM.
+     * 
+ * + * .google.cloud.vmmigration.v1.MigratingVmView view = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @param value The view to set. + * @return This builder for chaining. + */ + public Builder setView(com.google.cloud.vmmigration.v1.MigratingVmView value) { + if (value == null) { + throw new NullPointerException(); + } + + view_ = value.getNumber(); + onChanged(); + return this; + } + /** + *
+     * Optional. The level of details of each migrating VM.
+     * 
+ * + * .google.cloud.vmmigration.v1.MigratingVmView view = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @return This builder for chaining. + */ + public Builder clearView() { + + view_ = 0; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1272,12 +1287,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.vmmigration.v1.ListMigratingVmsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.vmmigration.v1.ListMigratingVmsRequest) private static final com.google.cloud.vmmigration.v1.ListMigratingVmsRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.vmmigration.v1.ListMigratingVmsRequest(); } @@ -1286,16 +1301,16 @@ public static com.google.cloud.vmmigration.v1.ListMigratingVmsRequest getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListMigratingVmsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListMigratingVmsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListMigratingVmsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListMigratingVmsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1310,4 +1325,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.vmmigration.v1.ListMigratingVmsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListMigratingVmsRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListMigratingVmsRequestOrBuilder.java similarity index 64% rename from proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListMigratingVmsRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListMigratingVmsRequestOrBuilder.java index b1c4b35..1cbac15 100644 --- a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListMigratingVmsRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListMigratingVmsRequestOrBuilder.java @@ -1,76 +1,46 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; -public interface ListMigratingVmsRequestOrBuilder - extends +public interface ListMigratingVmsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.ListMigratingVmsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The parent, which owns this collection of MigratingVms.
    * 
* - * - * 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 parent, which owns this collection of MigratingVms.
    * 
* - * - * 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(); /** - * - * *
-   * Optional. The maximum number of migrating VMs to return. The service may return
-   * fewer than this value. If unspecified, at most 500 migrating VMs will be
-   * returned. The maximum value is 1000; values above 1000 will be coerced to
-   * 1000.
+   * Optional. The maximum number of migrating VMs to return. The service may
+   * return fewer than this value. If unspecified, at most 500 migrating VMs
+   * will be returned. The maximum value is 1000; values above 1000 will be
+   * coerced to 1000.
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * Required. A page token, received from a previous `ListMigratingVms` call.
    * Provide this to retrieve the subsequent page.
@@ -79,13 +49,10 @@ public interface ListMigratingVmsRequestOrBuilder
    * 
* * string page_token = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * Required. A page token, received from a previous `ListMigratingVms` call.
    * Provide this to retrieve the subsequent page.
@@ -94,58 +61,67 @@ public interface ListMigratingVmsRequestOrBuilder
    * 
* * string page_token = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); /** - * - * *
    * Optional. The filter request.
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The filter. */ java.lang.String getFilter(); /** - * - * *
    * Optional. The filter request.
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for filter. */ - com.google.protobuf.ByteString getFilterBytes(); + com.google.protobuf.ByteString + getFilterBytes(); /** - * - * *
    * Optional. the order by fields for the result.
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The orderBy. */ java.lang.String getOrderBy(); /** - * - * *
    * Optional. the order by fields for the result.
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for orderBy. */ - com.google.protobuf.ByteString getOrderByBytes(); + com.google.protobuf.ByteString + getOrderByBytes(); + + /** + *
+   * Optional. The level of details of each migrating VM.
+   * 
+ * + * .google.cloud.vmmigration.v1.MigratingVmView view = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @return The enum numeric value on the wire for view. + */ + int getViewValue(); + /** + *
+   * Optional. The level of details of each migrating VM.
+   * 
+ * + * .google.cloud.vmmigration.v1.MigratingVmView view = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @return The view. + */ + com.google.cloud.vmmigration.v1.MigratingVmView getView(); } diff --git a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListMigratingVmsResponse.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListMigratingVmsResponse.java similarity index 67% rename from proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListMigratingVmsResponse.java rename to owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListMigratingVmsResponse.java index ab27d24..6d74c4b 100644 --- a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListMigratingVmsResponse.java +++ b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListMigratingVmsResponse.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; /** - * - * *
  * Response message for 'ListMigratingVms' request.
  * 
* * Protobuf type {@code google.cloud.vmmigration.v1.ListMigratingVmsResponse} */ -public final class ListMigratingVmsResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListMigratingVmsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.vmmigration.v1.ListMigratingVmsResponse) ListMigratingVmsResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListMigratingVmsResponse.newBuilder() to construct. private ListMigratingVmsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListMigratingVmsResponse() { migratingVms_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -45,15 +27,16 @@ private ListMigratingVmsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListMigratingVmsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListMigratingVmsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -73,42 +56,37 @@ private ListMigratingVmsResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - migratingVms_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - migratingVms_.add( - input.readMessage( - com.google.cloud.vmmigration.v1.MigratingVm.parser(), extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + migratingVms_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + migratingVms_.add( + input.readMessage(com.google.cloud.vmmigration.v1.MigratingVm.parser(), extensionRegistry)); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - unreachable_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000002; - } - unreachable_.add(s); - break; + nextPageToken_ = s; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + unreachable_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000002; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + unreachable_.add(s); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -116,7 +94,8 @@ private ListMigratingVmsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { migratingVms_ = java.util.Collections.unmodifiableList(migratingVms_); @@ -128,113 +107,88 @@ private ListMigratingVmsResponse( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_ListMigratingVmsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ListMigratingVmsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_ListMigratingVmsResponse_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ListMigratingVmsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.ListMigratingVmsResponse.class, - com.google.cloud.vmmigration.v1.ListMigratingVmsResponse.Builder.class); + com.google.cloud.vmmigration.v1.ListMigratingVmsResponse.class, com.google.cloud.vmmigration.v1.ListMigratingVmsResponse.Builder.class); } public static final int MIGRATING_VMS_FIELD_NUMBER = 1; private java.util.List migratingVms_; /** - * - * *
    * Output only. The list of Migrating VMs response.
    * 
* - * - * repeated .google.cloud.vmmigration.v1.MigratingVm migrating_vms = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.MigratingVm migrating_vms = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public java.util.List getMigratingVmsList() { return migratingVms_; } /** - * - * *
    * Output only. The list of Migrating VMs response.
    * 
* - * - * repeated .google.cloud.vmmigration.v1.MigratingVm migrating_vms = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.MigratingVm migrating_vms = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public java.util.List + public java.util.List getMigratingVmsOrBuilderList() { return migratingVms_; } /** - * - * *
    * Output only. The list of Migrating VMs response.
    * 
* - * - * repeated .google.cloud.vmmigration.v1.MigratingVm migrating_vms = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.MigratingVm migrating_vms = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public int getMigratingVmsCount() { return migratingVms_.size(); } /** - * - * *
    * Output only. The list of Migrating VMs response.
    * 
* - * - * repeated .google.cloud.vmmigration.v1.MigratingVm migrating_vms = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.MigratingVm migrating_vms = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.cloud.vmmigration.v1.MigratingVm getMigratingVms(int index) { return migratingVms_.get(index); } /** - * - * *
    * Output only. The list of Migrating VMs response.
    * 
* - * - * repeated .google.cloud.vmmigration.v1.MigratingVm migrating_vms = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.MigratingVm migrating_vms = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public com.google.cloud.vmmigration.v1.MigratingVmOrBuilder getMigratingVmsOrBuilder(int index) { + public com.google.cloud.vmmigration.v1.MigratingVmOrBuilder getMigratingVmsOrBuilder( + int index) { return migratingVms_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** - * - * *
-   * Output only. A token, which can be sent as `page_token` to retrieve the next page.
-   * If this field is omitted, there are no subsequent pages.
+   * Output only. A token, which can be sent as `page_token` to retrieve the
+   * next page. If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The nextPageToken. */ @java.lang.Override @@ -243,30 +197,30 @@ 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. A token, which can be sent as `page_token` to retrieve the next page.
-   * If this field is omitted, there are no subsequent pages.
+   * Output only. A token, which can be sent as `page_token` to retrieve the
+   * next page. If this field is omitted, there are no subsequent pages.
    * 
* * 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 { @@ -277,42 +231,34 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { public static final int UNREACHABLE_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList unreachable_; /** - * - * *
    * Output only. Locations that could not be reached.
    * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return A list containing the unreachable. */ - public com.google.protobuf.ProtocolStringList getUnreachableList() { + public com.google.protobuf.ProtocolStringList + getUnreachableList() { return unreachable_; } /** - * - * *
    * Output only. Locations that could not be reached.
    * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** - * - * *
    * Output only. Locations that could not be reached.
    * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -320,23 +266,20 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** - * - * *
    * Output only. Locations that could not be reached.
    * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - public com.google.protobuf.ByteString getUnreachableBytes(int index) { + public com.google.protobuf.ByteString + getUnreachableBytes(int index) { return unreachable_.getByteString(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -348,7 +291,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 < migratingVms_.size(); i++) { output.writeMessage(1, migratingVms_.get(i)); } @@ -368,7 +312,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < migratingVms_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, migratingVms_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, migratingVms_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -389,17 +334,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.vmmigration.v1.ListMigratingVmsResponse)) { return super.equals(obj); } - com.google.cloud.vmmigration.v1.ListMigratingVmsResponse other = - (com.google.cloud.vmmigration.v1.ListMigratingVmsResponse) obj; + com.google.cloud.vmmigration.v1.ListMigratingVmsResponse other = (com.google.cloud.vmmigration.v1.ListMigratingVmsResponse) obj; - if (!getMigratingVmsList().equals(other.getMigratingVmsList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; - if (!getUnreachableList().equals(other.getUnreachableList())) return false; + if (!getMigratingVmsList() + .equals(other.getMigratingVmsList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; + if (!getUnreachableList() + .equals(other.getUnreachableList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -427,127 +374,117 @@ public int hashCode() { } public static com.google.cloud.vmmigration.v1.ListMigratingVmsResponse 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.vmmigration.v1.ListMigratingVmsResponse 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.vmmigration.v1.ListMigratingVmsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.vmmigration.v1.ListMigratingVmsResponse 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.vmmigration.v1.ListMigratingVmsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.vmmigration.v1.ListMigratingVmsResponse 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.vmmigration.v1.ListMigratingVmsResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.vmmigration.v1.ListMigratingVmsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.vmmigration.v1.ListMigratingVmsResponse 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.vmmigration.v1.ListMigratingVmsResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.vmmigration.v1.ListMigratingVmsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.vmmigration.v1.ListMigratingVmsResponse 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.vmmigration.v1.ListMigratingVmsResponse 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.vmmigration.v1.ListMigratingVmsResponse 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.vmmigration.v1.ListMigratingVmsResponse prototype) { + public static Builder newBuilder(com.google.cloud.vmmigration.v1.ListMigratingVmsResponse 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; } /** - * - * *
    * Response message for 'ListMigratingVms' request.
    * 
* * Protobuf type {@code google.cloud.vmmigration.v1.ListMigratingVmsResponse} */ - 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.vmmigration.v1.ListMigratingVmsResponse) com.google.cloud.vmmigration.v1.ListMigratingVmsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_ListMigratingVmsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ListMigratingVmsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_ListMigratingVmsResponse_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ListMigratingVmsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.ListMigratingVmsResponse.class, - com.google.cloud.vmmigration.v1.ListMigratingVmsResponse.Builder.class); + com.google.cloud.vmmigration.v1.ListMigratingVmsResponse.class, com.google.cloud.vmmigration.v1.ListMigratingVmsResponse.Builder.class); } // Construct using com.google.cloud.vmmigration.v1.ListMigratingVmsResponse.newBuilder() @@ -555,17 +492,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) { getMigratingVmsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -583,9 +520,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_ListMigratingVmsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ListMigratingVmsResponse_descriptor; } @java.lang.Override @@ -604,8 +541,7 @@ public com.google.cloud.vmmigration.v1.ListMigratingVmsResponse build() { @java.lang.Override public com.google.cloud.vmmigration.v1.ListMigratingVmsResponse buildPartial() { - com.google.cloud.vmmigration.v1.ListMigratingVmsResponse result = - new com.google.cloud.vmmigration.v1.ListMigratingVmsResponse(this); + com.google.cloud.vmmigration.v1.ListMigratingVmsResponse result = new com.google.cloud.vmmigration.v1.ListMigratingVmsResponse(this); int from_bitField0_ = bitField0_; if (migratingVmsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -630,39 +566,38 @@ public com.google.cloud.vmmigration.v1.ListMigratingVmsResponse buildPartial() { 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.vmmigration.v1.ListMigratingVmsResponse) { - return mergeFrom((com.google.cloud.vmmigration.v1.ListMigratingVmsResponse) other); + return mergeFrom((com.google.cloud.vmmigration.v1.ListMigratingVmsResponse)other); } else { super.mergeFrom(other); return this; @@ -670,8 +605,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.vmmigration.v1.ListMigratingVmsResponse other) { - if (other == com.google.cloud.vmmigration.v1.ListMigratingVmsResponse.getDefaultInstance()) - return this; + if (other == com.google.cloud.vmmigration.v1.ListMigratingVmsResponse.getDefaultInstance()) return this; if (migratingVmsBuilder_ == null) { if (!other.migratingVms_.isEmpty()) { if (migratingVms_.isEmpty()) { @@ -690,10 +624,9 @@ public Builder mergeFrom(com.google.cloud.vmmigration.v1.ListMigratingVmsRespons migratingVmsBuilder_ = null; migratingVms_ = other.migratingVms_; bitField0_ = (bitField0_ & ~0x00000001); - migratingVmsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getMigratingVmsFieldBuilder() - : null; + migratingVmsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getMigratingVmsFieldBuilder() : null; } else { migratingVmsBuilder_.addAllMessages(other.migratingVms_); } @@ -732,8 +665,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.vmmigration.v1.ListMigratingVmsResponse) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.vmmigration.v1.ListMigratingVmsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -742,36 +674,26 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.util.List migratingVms_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureMigratingVmsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - migratingVms_ = - new java.util.ArrayList(migratingVms_); + migratingVms_ = new java.util.ArrayList(migratingVms_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.vmmigration.v1.MigratingVm, - com.google.cloud.vmmigration.v1.MigratingVm.Builder, - com.google.cloud.vmmigration.v1.MigratingVmOrBuilder> - migratingVmsBuilder_; + com.google.cloud.vmmigration.v1.MigratingVm, com.google.cloud.vmmigration.v1.MigratingVm.Builder, com.google.cloud.vmmigration.v1.MigratingVmOrBuilder> migratingVmsBuilder_; /** - * - * *
      * Output only. The list of Migrating VMs response.
      * 
* - * - * repeated .google.cloud.vmmigration.v1.MigratingVm migrating_vms = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.MigratingVm migrating_vms = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public java.util.List getMigratingVmsList() { if (migratingVmsBuilder_ == null) { @@ -781,15 +703,11 @@ public java.util.List getMigratingV } } /** - * - * *
      * Output only. The list of Migrating VMs response.
      * 
* - * - * repeated .google.cloud.vmmigration.v1.MigratingVm migrating_vms = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.MigratingVm migrating_vms = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public int getMigratingVmsCount() { if (migratingVmsBuilder_ == null) { @@ -799,15 +717,11 @@ public int getMigratingVmsCount() { } } /** - * - * *
      * Output only. The list of Migrating VMs response.
      * 
* - * - * repeated .google.cloud.vmmigration.v1.MigratingVm migrating_vms = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.MigratingVm migrating_vms = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.vmmigration.v1.MigratingVm getMigratingVms(int index) { if (migratingVmsBuilder_ == null) { @@ -817,17 +731,14 @@ public com.google.cloud.vmmigration.v1.MigratingVm getMigratingVms(int index) { } } /** - * - * *
      * Output only. The list of Migrating VMs response.
      * 
* - * - * repeated .google.cloud.vmmigration.v1.MigratingVm migrating_vms = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.MigratingVm migrating_vms = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setMigratingVms(int index, com.google.cloud.vmmigration.v1.MigratingVm value) { + public Builder setMigratingVms( + int index, com.google.cloud.vmmigration.v1.MigratingVm value) { if (migratingVmsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -841,15 +752,11 @@ public Builder setMigratingVms(int index, com.google.cloud.vmmigration.v1.Migrat return this; } /** - * - * *
      * Output only. The list of Migrating VMs response.
      * 
* - * - * repeated .google.cloud.vmmigration.v1.MigratingVm migrating_vms = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.MigratingVm migrating_vms = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setMigratingVms( int index, com.google.cloud.vmmigration.v1.MigratingVm.Builder builderForValue) { @@ -863,15 +770,11 @@ public Builder setMigratingVms( return this; } /** - * - * *
      * Output only. The list of Migrating VMs response.
      * 
* - * - * repeated .google.cloud.vmmigration.v1.MigratingVm migrating_vms = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.MigratingVm migrating_vms = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addMigratingVms(com.google.cloud.vmmigration.v1.MigratingVm value) { if (migratingVmsBuilder_ == null) { @@ -887,17 +790,14 @@ public Builder addMigratingVms(com.google.cloud.vmmigration.v1.MigratingVm value return this; } /** - * - * *
      * Output only. The list of Migrating VMs response.
      * 
* - * - * repeated .google.cloud.vmmigration.v1.MigratingVm migrating_vms = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.MigratingVm migrating_vms = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder addMigratingVms(int index, com.google.cloud.vmmigration.v1.MigratingVm value) { + public Builder addMigratingVms( + int index, com.google.cloud.vmmigration.v1.MigratingVm value) { if (migratingVmsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -911,15 +811,11 @@ public Builder addMigratingVms(int index, com.google.cloud.vmmigration.v1.Migrat return this; } /** - * - * *
      * Output only. The list of Migrating VMs response.
      * 
* - * - * repeated .google.cloud.vmmigration.v1.MigratingVm migrating_vms = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.MigratingVm migrating_vms = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addMigratingVms( com.google.cloud.vmmigration.v1.MigratingVm.Builder builderForValue) { @@ -933,15 +829,11 @@ public Builder addMigratingVms( return this; } /** - * - * *
      * Output only. The list of Migrating VMs response.
      * 
* - * - * repeated .google.cloud.vmmigration.v1.MigratingVm migrating_vms = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.MigratingVm migrating_vms = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addMigratingVms( int index, com.google.cloud.vmmigration.v1.MigratingVm.Builder builderForValue) { @@ -955,21 +847,18 @@ public Builder addMigratingVms( return this; } /** - * - * *
      * Output only. The list of Migrating VMs response.
      * 
* - * - * repeated .google.cloud.vmmigration.v1.MigratingVm migrating_vms = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.MigratingVm migrating_vms = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addAllMigratingVms( java.lang.Iterable values) { if (migratingVmsBuilder_ == null) { ensureMigratingVmsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, migratingVms_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, migratingVms_); onChanged(); } else { migratingVmsBuilder_.addAllMessages(values); @@ -977,15 +866,11 @@ public Builder addAllMigratingVms( return this; } /** - * - * *
      * Output only. The list of Migrating VMs response.
      * 
* - * - * repeated .google.cloud.vmmigration.v1.MigratingVm migrating_vms = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.MigratingVm migrating_vms = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearMigratingVms() { if (migratingVmsBuilder_ == null) { @@ -998,15 +883,11 @@ public Builder clearMigratingVms() { return this; } /** - * - * *
      * Output only. The list of Migrating VMs response.
      * 
* - * - * repeated .google.cloud.vmmigration.v1.MigratingVm migrating_vms = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.MigratingVm migrating_vms = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder removeMigratingVms(int index) { if (migratingVmsBuilder_ == null) { @@ -1019,51 +900,39 @@ public Builder removeMigratingVms(int index) { return this; } /** - * - * *
      * Output only. The list of Migrating VMs response.
      * 
* - * - * repeated .google.cloud.vmmigration.v1.MigratingVm migrating_vms = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.MigratingVm migrating_vms = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.vmmigration.v1.MigratingVm.Builder getMigratingVmsBuilder(int index) { + public com.google.cloud.vmmigration.v1.MigratingVm.Builder getMigratingVmsBuilder( + int index) { return getMigratingVmsFieldBuilder().getBuilder(index); } /** - * - * *
      * Output only. The list of Migrating VMs response.
      * 
* - * - * repeated .google.cloud.vmmigration.v1.MigratingVm migrating_vms = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.MigratingVm migrating_vms = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.vmmigration.v1.MigratingVmOrBuilder getMigratingVmsOrBuilder( int index) { if (migratingVmsBuilder_ == null) { - return migratingVms_.get(index); - } else { + return migratingVms_.get(index); } else { return migratingVmsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Output only. The list of Migrating VMs response.
      * 
* - * - * repeated .google.cloud.vmmigration.v1.MigratingVm migrating_vms = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.MigratingVm migrating_vms = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public java.util.List - getMigratingVmsOrBuilderList() { + public java.util.List + getMigratingVmsOrBuilderList() { if (migratingVmsBuilder_ != null) { return migratingVmsBuilder_.getMessageOrBuilderList(); } else { @@ -1071,63 +940,49 @@ public com.google.cloud.vmmigration.v1.MigratingVmOrBuilder getMigratingVmsOrBui } } /** - * - * *
      * Output only. The list of Migrating VMs response.
      * 
* - * - * repeated .google.cloud.vmmigration.v1.MigratingVm migrating_vms = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.MigratingVm migrating_vms = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.vmmigration.v1.MigratingVm.Builder addMigratingVmsBuilder() { - return getMigratingVmsFieldBuilder() - .addBuilder(com.google.cloud.vmmigration.v1.MigratingVm.getDefaultInstance()); + return getMigratingVmsFieldBuilder().addBuilder( + com.google.cloud.vmmigration.v1.MigratingVm.getDefaultInstance()); } /** - * - * *
      * Output only. The list of Migrating VMs response.
      * 
* - * - * repeated .google.cloud.vmmigration.v1.MigratingVm migrating_vms = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.MigratingVm migrating_vms = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.vmmigration.v1.MigratingVm.Builder addMigratingVmsBuilder(int index) { - return getMigratingVmsFieldBuilder() - .addBuilder(index, com.google.cloud.vmmigration.v1.MigratingVm.getDefaultInstance()); + public com.google.cloud.vmmigration.v1.MigratingVm.Builder addMigratingVmsBuilder( + int index) { + return getMigratingVmsFieldBuilder().addBuilder( + index, com.google.cloud.vmmigration.v1.MigratingVm.getDefaultInstance()); } /** - * - * *
      * Output only. The list of Migrating VMs response.
      * 
* - * - * repeated .google.cloud.vmmigration.v1.MigratingVm migrating_vms = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.MigratingVm migrating_vms = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public java.util.List - getMigratingVmsBuilderList() { + public java.util.List + getMigratingVmsBuilderList() { return getMigratingVmsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.vmmigration.v1.MigratingVm, - com.google.cloud.vmmigration.v1.MigratingVm.Builder, - com.google.cloud.vmmigration.v1.MigratingVmOrBuilder> + com.google.cloud.vmmigration.v1.MigratingVm, com.google.cloud.vmmigration.v1.MigratingVm.Builder, com.google.cloud.vmmigration.v1.MigratingVmOrBuilder> getMigratingVmsFieldBuilder() { if (migratingVmsBuilder_ == null) { - migratingVmsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.vmmigration.v1.MigratingVm, - com.google.cloud.vmmigration.v1.MigratingVm.Builder, - com.google.cloud.vmmigration.v1.MigratingVmOrBuilder>( - migratingVms_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + migratingVmsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.vmmigration.v1.MigratingVm, com.google.cloud.vmmigration.v1.MigratingVm.Builder, com.google.cloud.vmmigration.v1.MigratingVmOrBuilder>( + migratingVms_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); migratingVms_ = null; } return migratingVmsBuilder_; @@ -1135,21 +990,19 @@ public com.google.cloud.vmmigration.v1.MigratingVm.Builder addMigratingVmsBuilde private java.lang.Object nextPageToken_ = ""; /** - * - * *
-     * Output only. A token, which can be sent as `page_token` to retrieve the next page.
-     * If this field is omitted, there are no subsequent pages.
+     * Output only. A token, which can be sent as `page_token` to retrieve the
+     * next page. If this field is omitted, there are no subsequent pages.
      * 
* * 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; @@ -1158,22 +1011,21 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
-     * Output only. A token, which can be sent as `page_token` to retrieve the next page.
-     * If this field is omitted, there are no subsequent pages.
+     * Output only. A token, which can be sent as `page_token` to retrieve the
+     * next page. If this field is omitted, there are no subsequent pages.
      * 
* * 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 { @@ -1181,115 +1033,98 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
-     * Output only. A token, which can be sent as `page_token` to retrieve the next page.
-     * If this field is omitted, there are no subsequent pages.
+     * Output only. A token, which can be sent as `page_token` to retrieve the
+     * next page. If this field is omitted, there are no subsequent pages.
      * 
* * 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) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** - * - * *
-     * Output only. A token, which can be sent as `page_token` to retrieve the next page.
-     * If this field is omitted, there are no subsequent pages.
+     * Output only. A token, which can be sent as `page_token` to retrieve the
+     * next page. If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
-     * Output only. A token, which can be sent as `page_token` to retrieve the next page.
-     * If this field is omitted, there are no subsequent pages.
+     * Output only. A token, which can be sent as `page_token` to retrieve the
+     * next page. If this field is omitted, there are no subsequent pages.
      * 
* * 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) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList unreachable_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList unreachable_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureUnreachableIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { unreachable_ = new com.google.protobuf.LazyStringArrayList(unreachable_); bitField0_ |= 0x00000002; - } + } } /** - * - * *
      * Output only. Locations that could not be reached.
      * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return A list containing the unreachable. */ - public com.google.protobuf.ProtocolStringList getUnreachableList() { + public com.google.protobuf.ProtocolStringList + getUnreachableList() { return unreachable_.getUnmodifiableView(); } /** - * - * *
      * Output only. Locations that could not be reached.
      * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** - * - * *
      * Output only. Locations that could not be reached.
      * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -1297,90 +1132,80 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** - * - * *
      * Output only. Locations that could not be reached.
      * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - public com.google.protobuf.ByteString getUnreachableBytes(int index) { + public com.google.protobuf.ByteString + getUnreachableBytes(int index) { return unreachable_.getByteString(index); } /** - * - * *
      * Output only. Locations that could not be reached.
      * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param index The index to set the value at. * @param value The unreachable to set. * @return This builder for chaining. */ - public Builder setUnreachable(int index, java.lang.String value) { + public Builder setUnreachable( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUnreachableIsMutable(); + throw new NullPointerException(); + } + ensureUnreachableIsMutable(); unreachable_.set(index, value); onChanged(); return this; } /** - * - * *
      * Output only. Locations that could not be reached.
      * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The unreachable to add. * @return This builder for chaining. */ - public Builder addUnreachable(java.lang.String value) { + public Builder addUnreachable( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUnreachableIsMutable(); + throw new NullPointerException(); + } + ensureUnreachableIsMutable(); unreachable_.add(value); onChanged(); return this; } /** - * - * *
      * Output only. Locations that could not be reached.
      * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param values The unreachable to add. * @return This builder for chaining. */ - public Builder addAllUnreachable(java.lang.Iterable values) { + public Builder addAllUnreachable( + java.lang.Iterable values) { ensureUnreachableIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, unreachable_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, unreachable_); onChanged(); return this; } /** - * - * *
      * Output only. Locations that could not be reached.
      * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearUnreachable() { @@ -1390,30 +1215,28 @@ public Builder clearUnreachable() { return this; } /** - * - * *
      * Output only. Locations that could not be reached.
      * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes of the unreachable to add. * @return This builder for chaining. */ - public Builder addUnreachableBytes(com.google.protobuf.ByteString value) { + public Builder addUnreachableBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureUnreachableIsMutable(); unreachable_.add(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); } @@ -1423,12 +1246,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.vmmigration.v1.ListMigratingVmsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.vmmigration.v1.ListMigratingVmsResponse) private static final com.google.cloud.vmmigration.v1.ListMigratingVmsResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.vmmigration.v1.ListMigratingVmsResponse(); } @@ -1437,16 +1260,16 @@ public static com.google.cloud.vmmigration.v1.ListMigratingVmsResponse getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListMigratingVmsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListMigratingVmsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListMigratingVmsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListMigratingVmsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1461,4 +1284,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.vmmigration.v1.ListMigratingVmsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListMigratingVmsResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListMigratingVmsResponseOrBuilder.java similarity index 57% rename from proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListMigratingVmsResponseOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListMigratingVmsResponseOrBuilder.java index 4e73656..dd246cb 100644 --- a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListMigratingVmsResponseOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListMigratingVmsResponseOrBuilder.java @@ -1,165 +1,116 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; -public interface ListMigratingVmsResponseOrBuilder - extends +public interface ListMigratingVmsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.ListMigratingVmsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Output only. The list of Migrating VMs response.
    * 
* - * - * repeated .google.cloud.vmmigration.v1.MigratingVm migrating_vms = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.MigratingVm migrating_vms = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - java.util.List getMigratingVmsList(); + java.util.List + getMigratingVmsList(); /** - * - * *
    * Output only. The list of Migrating VMs response.
    * 
* - * - * repeated .google.cloud.vmmigration.v1.MigratingVm migrating_vms = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.MigratingVm migrating_vms = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.cloud.vmmigration.v1.MigratingVm getMigratingVms(int index); /** - * - * *
    * Output only. The list of Migrating VMs response.
    * 
* - * - * repeated .google.cloud.vmmigration.v1.MigratingVm migrating_vms = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.MigratingVm migrating_vms = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ int getMigratingVmsCount(); /** - * - * *
    * Output only. The list of Migrating VMs response.
    * 
* - * - * repeated .google.cloud.vmmigration.v1.MigratingVm migrating_vms = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.MigratingVm migrating_vms = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - java.util.List + java.util.List getMigratingVmsOrBuilderList(); /** - * - * *
    * Output only. The list of Migrating VMs response.
    * 
* - * - * repeated .google.cloud.vmmigration.v1.MigratingVm migrating_vms = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.MigratingVm migrating_vms = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - com.google.cloud.vmmigration.v1.MigratingVmOrBuilder getMigratingVmsOrBuilder(int index); + com.google.cloud.vmmigration.v1.MigratingVmOrBuilder getMigratingVmsOrBuilder( + int index); /** - * - * *
-   * Output only. A token, which can be sent as `page_token` to retrieve the next page.
-   * If this field is omitted, there are no subsequent pages.
+   * Output only. A token, which can be sent as `page_token` to retrieve the
+   * next page. If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
-   * Output only. A token, which can be sent as `page_token` to retrieve the next page.
-   * If this field is omitted, there are no subsequent pages.
+   * Output only. A token, which can be sent as `page_token` to retrieve the
+   * next page. If this field is omitted, there are no subsequent pages.
    * 
* * 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(); /** - * - * *
    * Output only. Locations that could not be reached.
    * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return A list containing the unreachable. */ - java.util.List getUnreachableList(); + java.util.List + getUnreachableList(); /** - * - * *
    * Output only. Locations that could not be reached.
    * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The count of unreachable. */ int getUnreachableCount(); /** - * - * *
    * Output only. Locations that could not be reached.
    * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param index The index of the element to return. * @return The unreachable at the given index. */ java.lang.String getUnreachable(int index); /** - * - * *
    * Output only. Locations that could not be reached.
    * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - com.google.protobuf.ByteString getUnreachableBytes(int index); + com.google.protobuf.ByteString + getUnreachableBytes(int index); } diff --git a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListSourcesRequest.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListSourcesRequest.java similarity index 71% rename from proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListSourcesRequest.java rename to owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListSourcesRequest.java index 2f676bd..35bda70 100644 --- a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListSourcesRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListSourcesRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; /** - * - * *
  * Request message for 'ListSources' request.
  * 
* * Protobuf type {@code google.cloud.vmmigration.v1.ListSourcesRequest} */ -public final class ListSourcesRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListSourcesRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.vmmigration.v1.ListSourcesRequest) ListSourcesRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListSourcesRequest.newBuilder() to construct. private ListSourcesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListSourcesRequest() { parent_ = ""; pageToken_ = ""; @@ -46,15 +28,16 @@ private ListSourcesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListSourcesRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListSourcesRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -73,46 +56,42 @@ private ListSourcesRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 16: - { - pageSize_ = input.readInt32(); - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: { - pageToken_ = s; - break; - } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); + pageSize_ = input.readInt32(); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - filter_ = s; - break; - } - case 42: - { - java.lang.String s = input.readStringRequireUtf8(); + pageToken_ = s; + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); - orderBy_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + filter_ = s; + break; + } + case 42: { + java.lang.String s = input.readStringRequireUtf8(); + + orderBy_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -120,41 +99,34 @@ private ListSourcesRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_ListSourcesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ListSourcesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_ListSourcesRequest_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ListSourcesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.ListSourcesRequest.class, - com.google.cloud.vmmigration.v1.ListSourcesRequest.Builder.class); + com.google.cloud.vmmigration.v1.ListSourcesRequest.class, com.google.cloud.vmmigration.v1.ListSourcesRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The parent, which owns this collection of sources.
    * 
* - * - * 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 @@ -163,31 +135,29 @@ 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 parent, which owns this collection of sources.
    * 
* - * - * 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 { @@ -198,8 +168,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** - * - * *
    * Optional. The maximum number of sources to return. The service may return
    * fewer than this value. If unspecified, at most 500 sources will be
@@ -208,7 +176,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ @java.lang.Override @@ -219,8 +186,6 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** - * - * *
    * Required. A page token, received from a previous `ListSources` call.
    * Provide this to retrieve the subsequent page.
@@ -229,7 +194,6 @@ public int getPageSize() {
    * 
* * string page_token = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The pageToken. */ @java.lang.Override @@ -238,15 +202,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; } } /** - * - * *
    * Required. A page token, received from a previous `ListSources` call.
    * Provide this to retrieve the subsequent page.
@@ -255,15 +218,16 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @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 { @@ -274,14 +238,11 @@ public com.google.protobuf.ByteString getPageTokenBytes() { public static final int FILTER_FIELD_NUMBER = 4; private volatile java.lang.Object filter_; /** - * - * *
    * Optional. The filter request.
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The filter. */ @java.lang.Override @@ -290,29 +251,29 @@ public java.lang.String getFilter() { 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(); filter_ = s; return s; } } /** - * - * *
    * Optional. The filter request.
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for filter. */ @java.lang.Override - public com.google.protobuf.ByteString getFilterBytes() { + public com.google.protobuf.ByteString + getFilterBytes() { java.lang.Object ref = filter_; 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); filter_ = b; return b; } else { @@ -323,14 +284,11 @@ public com.google.protobuf.ByteString getFilterBytes() { public static final int ORDER_BY_FIELD_NUMBER = 5; private volatile java.lang.Object orderBy_; /** - * - * *
    * Optional. the order by fields for the result.
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The orderBy. */ @java.lang.Override @@ -339,29 +297,29 @@ public java.lang.String getOrderBy() { 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(); orderBy_ = s; return s; } } /** - * - * *
    * Optional. the order by fields for the result.
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for orderBy. */ @java.lang.Override - public com.google.protobuf.ByteString getOrderByBytes() { + public com.google.protobuf.ByteString + getOrderByBytes() { java.lang.Object ref = orderBy_; 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); orderBy_ = b; return b; } else { @@ -370,7 +328,6 @@ public com.google.protobuf.ByteString getOrderByBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -382,7 +339,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_); } @@ -411,7 +369,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -430,19 +389,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.vmmigration.v1.ListSourcesRequest)) { return super.equals(obj); } - com.google.cloud.vmmigration.v1.ListSourcesRequest other = - (com.google.cloud.vmmigration.v1.ListSourcesRequest) obj; - - if (!getParent().equals(other.getParent())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; - if (!getFilter().equals(other.getFilter())) return false; - if (!getOrderBy().equals(other.getOrderBy())) return false; + com.google.cloud.vmmigration.v1.ListSourcesRequest other = (com.google.cloud.vmmigration.v1.ListSourcesRequest) obj; + + if (!getParent() + .equals(other.getParent())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; + if (!getFilter() + .equals(other.getFilter())) return false; + if (!getOrderBy() + .equals(other.getOrderBy())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -470,126 +433,117 @@ public int hashCode() { } public static com.google.cloud.vmmigration.v1.ListSourcesRequest 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.vmmigration.v1.ListSourcesRequest 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.vmmigration.v1.ListSourcesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.vmmigration.v1.ListSourcesRequest 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.vmmigration.v1.ListSourcesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.vmmigration.v1.ListSourcesRequest 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.vmmigration.v1.ListSourcesRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.vmmigration.v1.ListSourcesRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.vmmigration.v1.ListSourcesRequest 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.vmmigration.v1.ListSourcesRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.vmmigration.v1.ListSourcesRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.vmmigration.v1.ListSourcesRequest 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.vmmigration.v1.ListSourcesRequest 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.vmmigration.v1.ListSourcesRequest 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.vmmigration.v1.ListSourcesRequest 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 message for 'ListSources' request.
    * 
* * Protobuf type {@code google.cloud.vmmigration.v1.ListSourcesRequest} */ - 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.vmmigration.v1.ListSourcesRequest) com.google.cloud.vmmigration.v1.ListSourcesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_ListSourcesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ListSourcesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_ListSourcesRequest_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ListSourcesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.ListSourcesRequest.class, - com.google.cloud.vmmigration.v1.ListSourcesRequest.Builder.class); + com.google.cloud.vmmigration.v1.ListSourcesRequest.class, com.google.cloud.vmmigration.v1.ListSourcesRequest.Builder.class); } // Construct using com.google.cloud.vmmigration.v1.ListSourcesRequest.newBuilder() @@ -597,15 +551,16 @@ 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) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -623,9 +578,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_ListSourcesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ListSourcesRequest_descriptor; } @java.lang.Override @@ -644,8 +599,7 @@ public com.google.cloud.vmmigration.v1.ListSourcesRequest build() { @java.lang.Override public com.google.cloud.vmmigration.v1.ListSourcesRequest buildPartial() { - com.google.cloud.vmmigration.v1.ListSourcesRequest result = - new com.google.cloud.vmmigration.v1.ListSourcesRequest(this); + com.google.cloud.vmmigration.v1.ListSourcesRequest result = new com.google.cloud.vmmigration.v1.ListSourcesRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -659,39 +613,38 @@ public com.google.cloud.vmmigration.v1.ListSourcesRequest buildPartial() { 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.vmmigration.v1.ListSourcesRequest) { - return mergeFrom((com.google.cloud.vmmigration.v1.ListSourcesRequest) other); + return mergeFrom((com.google.cloud.vmmigration.v1.ListSourcesRequest)other); } else { super.mergeFrom(other); return this; @@ -699,8 +652,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.vmmigration.v1.ListSourcesRequest other) { - if (other == com.google.cloud.vmmigration.v1.ListSourcesRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.vmmigration.v1.ListSourcesRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -739,8 +691,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.vmmigration.v1.ListSourcesRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.vmmigration.v1.ListSourcesRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -752,22 +703,18 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The parent, which owns this collection of sources.
      * 
* - * - * 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; @@ -776,23 +723,20 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The parent, which owns this collection of sources.
      * 
* - * - * 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 { @@ -800,76 +744,61 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The parent, which owns this collection of sources.
      * 
* - * - * 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) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The parent, which owns this collection of sources.
      * 
* - * - * 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() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The parent, which owns this collection of sources.
      * 
* - * - * 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) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * Optional. The maximum number of sources to return. The service may return
      * fewer than this value. If unspecified, at most 500 sources will be
@@ -878,7 +807,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ @java.lang.Override @@ -886,8 +814,6 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * Optional. The maximum number of sources to return. The service may return
      * fewer than this value. If unspecified, at most 500 sources will be
@@ -896,19 +822,16 @@ public int getPageSize() {
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** - * - * *
      * Optional. The maximum number of sources to return. The service may return
      * fewer than this value. If unspecified, at most 500 sources will be
@@ -917,11 +840,10 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -929,8 +851,6 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * Required. A page token, received from a previous `ListSources` call.
      * Provide this to retrieve the subsequent page.
@@ -939,13 +859,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @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; @@ -954,8 +874,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * Required. A page token, received from a previous `ListSources` call.
      * Provide this to retrieve the subsequent page.
@@ -964,14 +882,15 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @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 { @@ -979,8 +898,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * Required. A page token, received from a previous `ListSources` call.
      * Provide this to retrieve the subsequent page.
@@ -989,22 +906,20 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * Required. A page token, received from a previous `ListSources` call.
      * Provide this to retrieve the subsequent page.
@@ -1013,18 +928,15 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * Required. A page token, received from a previous `ListSources` call.
      * Provide this to retrieve the subsequent page.
@@ -1033,16 +945,16 @@ public Builder clearPageToken() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; @@ -1050,20 +962,18 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { private java.lang.Object filter_ = ""; /** - * - * *
      * Optional. The filter request.
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; 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(); filter_ = s; return s; @@ -1072,21 +982,20 @@ public java.lang.String getFilter() { } } /** - * - * *
      * Optional. The filter request.
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for filter. */ - public com.google.protobuf.ByteString getFilterBytes() { + public com.google.protobuf.ByteString + getFilterBytes() { java.lang.Object ref = filter_; 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); filter_ = b; return b; } else { @@ -1094,61 +1003,54 @@ public com.google.protobuf.ByteString getFilterBytes() { } } /** - * - * *
      * Optional. The filter request.
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter(java.lang.String value) { + public Builder setFilter( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; onChanged(); return this; } /** - * - * *
      * Optional. The filter request.
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** - * - * *
      * Optional. The filter request.
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes(com.google.protobuf.ByteString value) { + public Builder setFilterBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = value; onChanged(); return this; @@ -1156,20 +1058,18 @@ public Builder setFilterBytes(com.google.protobuf.ByteString value) { private java.lang.Object orderBy_ = ""; /** - * - * *
      * Optional. the order by fields for the result.
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The orderBy. */ public java.lang.String getOrderBy() { java.lang.Object ref = orderBy_; 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(); orderBy_ = s; return s; @@ -1178,21 +1078,20 @@ public java.lang.String getOrderBy() { } } /** - * - * *
      * Optional. the order by fields for the result.
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for orderBy. */ - public com.google.protobuf.ByteString getOrderByBytes() { + public com.google.protobuf.ByteString + getOrderByBytes() { java.lang.Object ref = orderBy_; 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); orderBy_ = b; return b; } else { @@ -1200,68 +1099,61 @@ public com.google.protobuf.ByteString getOrderByBytes() { } } /** - * - * *
      * Optional. the order by fields for the result.
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The orderBy to set. * @return This builder for chaining. */ - public Builder setOrderBy(java.lang.String value) { + public Builder setOrderBy( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + orderBy_ = value; onChanged(); return this; } /** - * - * *
      * Optional. the order by fields for the result.
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearOrderBy() { - + orderBy_ = getDefaultInstance().getOrderBy(); onChanged(); return this; } /** - * - * *
      * Optional. the order by fields for the result.
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for orderBy to set. * @return This builder for chaining. */ - public Builder setOrderByBytes(com.google.protobuf.ByteString value) { + public Builder setOrderByBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + orderBy_ = 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); } @@ -1271,12 +1163,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.vmmigration.v1.ListSourcesRequest) } // @@protoc_insertion_point(class_scope:google.cloud.vmmigration.v1.ListSourcesRequest) private static final com.google.cloud.vmmigration.v1.ListSourcesRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.vmmigration.v1.ListSourcesRequest(); } @@ -1285,16 +1177,16 @@ public static com.google.cloud.vmmigration.v1.ListSourcesRequest getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListSourcesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListSourcesRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListSourcesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListSourcesRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1309,4 +1201,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.vmmigration.v1.ListSourcesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListSourcesRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListSourcesRequestOrBuilder.java similarity index 68% rename from proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListSourcesRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListSourcesRequestOrBuilder.java index eb57637..5b183b3 100644 --- a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListSourcesRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListSourcesRequestOrBuilder.java @@ -1,60 +1,33 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; -public interface ListSourcesRequestOrBuilder - extends +public interface ListSourcesRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.ListSourcesRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The parent, which owns this collection of sources.
    * 
* - * - * 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 parent, which owns this collection of sources.
    * 
* - * - * 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(); /** - * - * *
    * Optional. The maximum number of sources to return. The service may return
    * fewer than this value. If unspecified, at most 500 sources will be
@@ -63,14 +36,11 @@ public interface ListSourcesRequestOrBuilder
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * Required. A page token, received from a previous `ListSources` call.
    * Provide this to retrieve the subsequent page.
@@ -79,13 +49,10 @@ public interface ListSourcesRequestOrBuilder
    * 
* * string page_token = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * Required. A page token, received from a previous `ListSources` call.
    * Provide this to retrieve the subsequent page.
@@ -94,58 +61,48 @@ public interface ListSourcesRequestOrBuilder
    * 
* * string page_token = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); /** - * - * *
    * Optional. The filter request.
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The filter. */ java.lang.String getFilter(); /** - * - * *
    * Optional. The filter request.
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for filter. */ - com.google.protobuf.ByteString getFilterBytes(); + com.google.protobuf.ByteString + getFilterBytes(); /** - * - * *
    * Optional. the order by fields for the result.
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The orderBy. */ java.lang.String getOrderBy(); /** - * - * *
    * Optional. the order by fields for the result.
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for orderBy. */ - com.google.protobuf.ByteString getOrderByBytes(); + com.google.protobuf.ByteString + getOrderByBytes(); } diff --git a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListSourcesResponse.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListSourcesResponse.java similarity index 67% rename from proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListSourcesResponse.java rename to owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListSourcesResponse.java index 4cfda30..6204052 100644 --- a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListSourcesResponse.java +++ b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListSourcesResponse.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; /** - * - * *
  * Response message for 'ListSources' request.
  * 
* * Protobuf type {@code google.cloud.vmmigration.v1.ListSourcesResponse} */ -public final class ListSourcesResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListSourcesResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.vmmigration.v1.ListSourcesResponse) ListSourcesResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListSourcesResponse.newBuilder() to construct. private ListSourcesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListSourcesResponse() { sources_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -45,15 +27,16 @@ private ListSourcesResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListSourcesResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListSourcesResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -73,41 +56,37 @@ private ListSourcesResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - sources_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - sources_.add( - input.readMessage( - com.google.cloud.vmmigration.v1.Source.parser(), extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + sources_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + sources_.add( + input.readMessage(com.google.cloud.vmmigration.v1.Source.parser(), extensionRegistry)); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - unreachable_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000002; - } - unreachable_.add(s); - break; + nextPageToken_ = s; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + unreachable_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000002; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + unreachable_.add(s); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -115,7 +94,8 @@ private ListSourcesResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { sources_ = java.util.Collections.unmodifiableList(sources_); @@ -127,113 +107,88 @@ private ListSourcesResponse( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_ListSourcesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ListSourcesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_ListSourcesResponse_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ListSourcesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.ListSourcesResponse.class, - com.google.cloud.vmmigration.v1.ListSourcesResponse.Builder.class); + com.google.cloud.vmmigration.v1.ListSourcesResponse.class, com.google.cloud.vmmigration.v1.ListSourcesResponse.Builder.class); } public static final int SOURCES_FIELD_NUMBER = 1; private java.util.List sources_; /** - * - * *
    * Output only. The list of sources response.
    * 
* - * - * repeated .google.cloud.vmmigration.v1.Source sources = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.Source sources = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public java.util.List getSourcesList() { return sources_; } /** - * - * *
    * Output only. The list of sources response.
    * 
* - * - * repeated .google.cloud.vmmigration.v1.Source sources = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.Source sources = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public java.util.List + public java.util.List getSourcesOrBuilderList() { return sources_; } /** - * - * *
    * Output only. The list of sources response.
    * 
* - * - * repeated .google.cloud.vmmigration.v1.Source sources = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.Source sources = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public int getSourcesCount() { return sources_.size(); } /** - * - * *
    * Output only. The list of sources response.
    * 
* - * - * repeated .google.cloud.vmmigration.v1.Source sources = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.Source sources = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.cloud.vmmigration.v1.Source getSources(int index) { return sources_.get(index); } /** - * - * *
    * Output only. The list of sources response.
    * 
* - * - * repeated .google.cloud.vmmigration.v1.Source sources = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.Source sources = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public com.google.cloud.vmmigration.v1.SourceOrBuilder getSourcesOrBuilder(int index) { + public com.google.cloud.vmmigration.v1.SourceOrBuilder getSourcesOrBuilder( + int index) { return sources_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** - * - * *
-   * Output only. A token, which can be sent as `page_token` to retrieve the next page.
-   * If this field is omitted, there are no subsequent pages.
+   * Output only. A token, which can be sent as `page_token` to retrieve the
+   * next page. If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The nextPageToken. */ @java.lang.Override @@ -242,30 +197,30 @@ 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. A token, which can be sent as `page_token` to retrieve the next page.
-   * If this field is omitted, there are no subsequent pages.
+   * Output only. A token, which can be sent as `page_token` to retrieve the
+   * next page. If this field is omitted, there are no subsequent pages.
    * 
* * 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 { @@ -276,42 +231,34 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { public static final int UNREACHABLE_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList unreachable_; /** - * - * *
    * Output only. Locations that could not be reached.
    * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return A list containing the unreachable. */ - public com.google.protobuf.ProtocolStringList getUnreachableList() { + public com.google.protobuf.ProtocolStringList + getUnreachableList() { return unreachable_; } /** - * - * *
    * Output only. Locations that could not be reached.
    * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** - * - * *
    * Output only. Locations that could not be reached.
    * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -319,23 +266,20 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** - * - * *
    * Output only. Locations that could not be reached.
    * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - public com.google.protobuf.ByteString getUnreachableBytes(int index) { + public com.google.protobuf.ByteString + getUnreachableBytes(int index) { return unreachable_.getByteString(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -347,7 +291,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 < sources_.size(); i++) { output.writeMessage(1, sources_.get(i)); } @@ -367,7 +312,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < sources_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, sources_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, sources_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -388,17 +334,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.vmmigration.v1.ListSourcesResponse)) { return super.equals(obj); } - com.google.cloud.vmmigration.v1.ListSourcesResponse other = - (com.google.cloud.vmmigration.v1.ListSourcesResponse) obj; + com.google.cloud.vmmigration.v1.ListSourcesResponse other = (com.google.cloud.vmmigration.v1.ListSourcesResponse) obj; - if (!getSourcesList().equals(other.getSourcesList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; - if (!getUnreachableList().equals(other.getUnreachableList())) return false; + if (!getSourcesList() + .equals(other.getSourcesList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; + if (!getUnreachableList() + .equals(other.getUnreachableList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -426,126 +374,117 @@ public int hashCode() { } public static com.google.cloud.vmmigration.v1.ListSourcesResponse 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.vmmigration.v1.ListSourcesResponse 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.vmmigration.v1.ListSourcesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.vmmigration.v1.ListSourcesResponse 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.vmmigration.v1.ListSourcesResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.vmmigration.v1.ListSourcesResponse 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.vmmigration.v1.ListSourcesResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.vmmigration.v1.ListSourcesResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.vmmigration.v1.ListSourcesResponse 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.vmmigration.v1.ListSourcesResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.vmmigration.v1.ListSourcesResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.vmmigration.v1.ListSourcesResponse 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.vmmigration.v1.ListSourcesResponse 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.vmmigration.v1.ListSourcesResponse 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.vmmigration.v1.ListSourcesResponse 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; } /** - * - * *
    * Response message for 'ListSources' request.
    * 
* * Protobuf type {@code google.cloud.vmmigration.v1.ListSourcesResponse} */ - 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.vmmigration.v1.ListSourcesResponse) com.google.cloud.vmmigration.v1.ListSourcesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_ListSourcesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ListSourcesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_ListSourcesResponse_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ListSourcesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.ListSourcesResponse.class, - com.google.cloud.vmmigration.v1.ListSourcesResponse.Builder.class); + com.google.cloud.vmmigration.v1.ListSourcesResponse.class, com.google.cloud.vmmigration.v1.ListSourcesResponse.Builder.class); } // Construct using com.google.cloud.vmmigration.v1.ListSourcesResponse.newBuilder() @@ -553,17 +492,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) { getSourcesFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -581,9 +520,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_ListSourcesResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ListSourcesResponse_descriptor; } @java.lang.Override @@ -602,8 +541,7 @@ public com.google.cloud.vmmigration.v1.ListSourcesResponse build() { @java.lang.Override public com.google.cloud.vmmigration.v1.ListSourcesResponse buildPartial() { - com.google.cloud.vmmigration.v1.ListSourcesResponse result = - new com.google.cloud.vmmigration.v1.ListSourcesResponse(this); + com.google.cloud.vmmigration.v1.ListSourcesResponse result = new com.google.cloud.vmmigration.v1.ListSourcesResponse(this); int from_bitField0_ = bitField0_; if (sourcesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -628,39 +566,38 @@ public com.google.cloud.vmmigration.v1.ListSourcesResponse buildPartial() { 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.vmmigration.v1.ListSourcesResponse) { - return mergeFrom((com.google.cloud.vmmigration.v1.ListSourcesResponse) other); + return mergeFrom((com.google.cloud.vmmigration.v1.ListSourcesResponse)other); } else { super.mergeFrom(other); return this; @@ -668,8 +605,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.vmmigration.v1.ListSourcesResponse other) { - if (other == com.google.cloud.vmmigration.v1.ListSourcesResponse.getDefaultInstance()) - return this; + if (other == com.google.cloud.vmmigration.v1.ListSourcesResponse.getDefaultInstance()) return this; if (sourcesBuilder_ == null) { if (!other.sources_.isEmpty()) { if (sources_.isEmpty()) { @@ -688,10 +624,9 @@ public Builder mergeFrom(com.google.cloud.vmmigration.v1.ListSourcesResponse oth sourcesBuilder_ = null; sources_ = other.sources_; bitField0_ = (bitField0_ & ~0x00000001); - sourcesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getSourcesFieldBuilder() - : null; + sourcesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getSourcesFieldBuilder() : null; } else { sourcesBuilder_.addAllMessages(other.sources_); } @@ -730,8 +665,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.vmmigration.v1.ListSourcesResponse) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.vmmigration.v1.ListSourcesResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -740,35 +674,26 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.util.List sources_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureSourcesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { sources_ = new java.util.ArrayList(sources_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.vmmigration.v1.Source, - com.google.cloud.vmmigration.v1.Source.Builder, - com.google.cloud.vmmigration.v1.SourceOrBuilder> - sourcesBuilder_; + com.google.cloud.vmmigration.v1.Source, com.google.cloud.vmmigration.v1.Source.Builder, com.google.cloud.vmmigration.v1.SourceOrBuilder> sourcesBuilder_; /** - * - * *
      * Output only. The list of sources response.
      * 
* - * - * repeated .google.cloud.vmmigration.v1.Source sources = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.Source sources = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public java.util.List getSourcesList() { if (sourcesBuilder_ == null) { @@ -778,15 +703,11 @@ public java.util.List getSourcesList() { } } /** - * - * *
      * Output only. The list of sources response.
      * 
* - * - * repeated .google.cloud.vmmigration.v1.Source sources = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.Source sources = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public int getSourcesCount() { if (sourcesBuilder_ == null) { @@ -796,15 +717,11 @@ public int getSourcesCount() { } } /** - * - * *
      * Output only. The list of sources response.
      * 
* - * - * repeated .google.cloud.vmmigration.v1.Source sources = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.Source sources = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.vmmigration.v1.Source getSources(int index) { if (sourcesBuilder_ == null) { @@ -814,17 +731,14 @@ public com.google.cloud.vmmigration.v1.Source getSources(int index) { } } /** - * - * *
      * Output only. The list of sources response.
      * 
* - * - * repeated .google.cloud.vmmigration.v1.Source sources = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.Source sources = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setSources(int index, com.google.cloud.vmmigration.v1.Source value) { + public Builder setSources( + int index, com.google.cloud.vmmigration.v1.Source value) { if (sourcesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -838,15 +752,11 @@ public Builder setSources(int index, com.google.cloud.vmmigration.v1.Source valu return this; } /** - * - * *
      * Output only. The list of sources response.
      * 
* - * - * repeated .google.cloud.vmmigration.v1.Source sources = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.Source sources = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setSources( int index, com.google.cloud.vmmigration.v1.Source.Builder builderForValue) { @@ -860,15 +770,11 @@ public Builder setSources( return this; } /** - * - * *
      * Output only. The list of sources response.
      * 
* - * - * repeated .google.cloud.vmmigration.v1.Source sources = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.Source sources = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addSources(com.google.cloud.vmmigration.v1.Source value) { if (sourcesBuilder_ == null) { @@ -884,17 +790,14 @@ public Builder addSources(com.google.cloud.vmmigration.v1.Source value) { return this; } /** - * - * *
      * Output only. The list of sources response.
      * 
* - * - * repeated .google.cloud.vmmigration.v1.Source sources = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.Source sources = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder addSources(int index, com.google.cloud.vmmigration.v1.Source value) { + public Builder addSources( + int index, com.google.cloud.vmmigration.v1.Source value) { if (sourcesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -908,17 +811,14 @@ public Builder addSources(int index, com.google.cloud.vmmigration.v1.Source valu return this; } /** - * - * *
      * Output only. The list of sources response.
      * 
* - * - * repeated .google.cloud.vmmigration.v1.Source sources = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.Source sources = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder addSources(com.google.cloud.vmmigration.v1.Source.Builder builderForValue) { + public Builder addSources( + com.google.cloud.vmmigration.v1.Source.Builder builderForValue) { if (sourcesBuilder_ == null) { ensureSourcesIsMutable(); sources_.add(builderForValue.build()); @@ -929,15 +829,11 @@ public Builder addSources(com.google.cloud.vmmigration.v1.Source.Builder builder return this; } /** - * - * *
      * Output only. The list of sources response.
      * 
* - * - * repeated .google.cloud.vmmigration.v1.Source sources = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.Source sources = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addSources( int index, com.google.cloud.vmmigration.v1.Source.Builder builderForValue) { @@ -951,21 +847,18 @@ public Builder addSources( return this; } /** - * - * *
      * Output only. The list of sources response.
      * 
* - * - * repeated .google.cloud.vmmigration.v1.Source sources = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.Source sources = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addAllSources( java.lang.Iterable values) { if (sourcesBuilder_ == null) { ensureSourcesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, sources_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, sources_); onChanged(); } else { sourcesBuilder_.addAllMessages(values); @@ -973,15 +866,11 @@ public Builder addAllSources( return this; } /** - * - * *
      * Output only. The list of sources response.
      * 
* - * - * repeated .google.cloud.vmmigration.v1.Source sources = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.Source sources = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearSources() { if (sourcesBuilder_ == null) { @@ -994,15 +883,11 @@ public Builder clearSources() { return this; } /** - * - * *
      * Output only. The list of sources response.
      * 
* - * - * repeated .google.cloud.vmmigration.v1.Source sources = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.Source sources = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder removeSources(int index) { if (sourcesBuilder_ == null) { @@ -1015,50 +900,39 @@ public Builder removeSources(int index) { return this; } /** - * - * *
      * Output only. The list of sources response.
      * 
* - * - * repeated .google.cloud.vmmigration.v1.Source sources = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.Source sources = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.vmmigration.v1.Source.Builder getSourcesBuilder(int index) { + public com.google.cloud.vmmigration.v1.Source.Builder getSourcesBuilder( + int index) { return getSourcesFieldBuilder().getBuilder(index); } /** - * - * *
      * Output only. The list of sources response.
      * 
* - * - * repeated .google.cloud.vmmigration.v1.Source sources = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.Source sources = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.vmmigration.v1.SourceOrBuilder getSourcesOrBuilder(int index) { + public com.google.cloud.vmmigration.v1.SourceOrBuilder getSourcesOrBuilder( + int index) { if (sourcesBuilder_ == null) { - return sources_.get(index); - } else { + return sources_.get(index); } else { return sourcesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Output only. The list of sources response.
      * 
* - * - * repeated .google.cloud.vmmigration.v1.Source sources = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.Source sources = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public java.util.List - getSourcesOrBuilderList() { + public java.util.List + getSourcesOrBuilderList() { if (sourcesBuilder_ != null) { return sourcesBuilder_.getMessageOrBuilderList(); } else { @@ -1066,62 +940,49 @@ public com.google.cloud.vmmigration.v1.SourceOrBuilder getSourcesOrBuilder(int i } } /** - * - * *
      * Output only. The list of sources response.
      * 
* - * - * repeated .google.cloud.vmmigration.v1.Source sources = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.Source sources = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.vmmigration.v1.Source.Builder addSourcesBuilder() { - return getSourcesFieldBuilder() - .addBuilder(com.google.cloud.vmmigration.v1.Source.getDefaultInstance()); + return getSourcesFieldBuilder().addBuilder( + com.google.cloud.vmmigration.v1.Source.getDefaultInstance()); } /** - * - * *
      * Output only. The list of sources response.
      * 
* - * - * repeated .google.cloud.vmmigration.v1.Source sources = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.Source sources = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.vmmigration.v1.Source.Builder addSourcesBuilder(int index) { - return getSourcesFieldBuilder() - .addBuilder(index, com.google.cloud.vmmigration.v1.Source.getDefaultInstance()); + public com.google.cloud.vmmigration.v1.Source.Builder addSourcesBuilder( + int index) { + return getSourcesFieldBuilder().addBuilder( + index, com.google.cloud.vmmigration.v1.Source.getDefaultInstance()); } /** - * - * *
      * Output only. The list of sources response.
      * 
* - * - * repeated .google.cloud.vmmigration.v1.Source sources = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.Source sources = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public java.util.List getSourcesBuilderList() { + public java.util.List + getSourcesBuilderList() { return getSourcesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.vmmigration.v1.Source, - com.google.cloud.vmmigration.v1.Source.Builder, - com.google.cloud.vmmigration.v1.SourceOrBuilder> + com.google.cloud.vmmigration.v1.Source, com.google.cloud.vmmigration.v1.Source.Builder, com.google.cloud.vmmigration.v1.SourceOrBuilder> getSourcesFieldBuilder() { if (sourcesBuilder_ == null) { - sourcesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.vmmigration.v1.Source, - com.google.cloud.vmmigration.v1.Source.Builder, - com.google.cloud.vmmigration.v1.SourceOrBuilder>( - sources_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + sourcesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.vmmigration.v1.Source, com.google.cloud.vmmigration.v1.Source.Builder, com.google.cloud.vmmigration.v1.SourceOrBuilder>( + sources_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); sources_ = null; } return sourcesBuilder_; @@ -1129,21 +990,19 @@ public java.util.List getSources private java.lang.Object nextPageToken_ = ""; /** - * - * *
-     * Output only. A token, which can be sent as `page_token` to retrieve the next page.
-     * If this field is omitted, there are no subsequent pages.
+     * Output only. A token, which can be sent as `page_token` to retrieve the
+     * next page. If this field is omitted, there are no subsequent pages.
      * 
* * 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; @@ -1152,22 +1011,21 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
-     * Output only. A token, which can be sent as `page_token` to retrieve the next page.
-     * If this field is omitted, there are no subsequent pages.
+     * Output only. A token, which can be sent as `page_token` to retrieve the
+     * next page. If this field is omitted, there are no subsequent pages.
      * 
* * 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 { @@ -1175,115 +1033,98 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
-     * Output only. A token, which can be sent as `page_token` to retrieve the next page.
-     * If this field is omitted, there are no subsequent pages.
+     * Output only. A token, which can be sent as `page_token` to retrieve the
+     * next page. If this field is omitted, there are no subsequent pages.
      * 
* * 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) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** - * - * *
-     * Output only. A token, which can be sent as `page_token` to retrieve the next page.
-     * If this field is omitted, there are no subsequent pages.
+     * Output only. A token, which can be sent as `page_token` to retrieve the
+     * next page. If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
-     * Output only. A token, which can be sent as `page_token` to retrieve the next page.
-     * If this field is omitted, there are no subsequent pages.
+     * Output only. A token, which can be sent as `page_token` to retrieve the
+     * next page. If this field is omitted, there are no subsequent pages.
      * 
* * 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) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList unreachable_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList unreachable_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureUnreachableIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { unreachable_ = new com.google.protobuf.LazyStringArrayList(unreachable_); bitField0_ |= 0x00000002; - } + } } /** - * - * *
      * Output only. Locations that could not be reached.
      * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return A list containing the unreachable. */ - public com.google.protobuf.ProtocolStringList getUnreachableList() { + public com.google.protobuf.ProtocolStringList + getUnreachableList() { return unreachable_.getUnmodifiableView(); } /** - * - * *
      * Output only. Locations that could not be reached.
      * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** - * - * *
      * Output only. Locations that could not be reached.
      * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -1291,90 +1132,80 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** - * - * *
      * Output only. Locations that could not be reached.
      * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - public com.google.protobuf.ByteString getUnreachableBytes(int index) { + public com.google.protobuf.ByteString + getUnreachableBytes(int index) { return unreachable_.getByteString(index); } /** - * - * *
      * Output only. Locations that could not be reached.
      * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param index The index to set the value at. * @param value The unreachable to set. * @return This builder for chaining. */ - public Builder setUnreachable(int index, java.lang.String value) { + public Builder setUnreachable( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUnreachableIsMutable(); + throw new NullPointerException(); + } + ensureUnreachableIsMutable(); unreachable_.set(index, value); onChanged(); return this; } /** - * - * *
      * Output only. Locations that could not be reached.
      * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The unreachable to add. * @return This builder for chaining. */ - public Builder addUnreachable(java.lang.String value) { + public Builder addUnreachable( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUnreachableIsMutable(); + throw new NullPointerException(); + } + ensureUnreachableIsMutable(); unreachable_.add(value); onChanged(); return this; } /** - * - * *
      * Output only. Locations that could not be reached.
      * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param values The unreachable to add. * @return This builder for chaining. */ - public Builder addAllUnreachable(java.lang.Iterable values) { + public Builder addAllUnreachable( + java.lang.Iterable values) { ensureUnreachableIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, unreachable_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, unreachable_); onChanged(); return this; } /** - * - * *
      * Output only. Locations that could not be reached.
      * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearUnreachable() { @@ -1384,30 +1215,28 @@ public Builder clearUnreachable() { return this; } /** - * - * *
      * Output only. Locations that could not be reached.
      * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes of the unreachable to add. * @return This builder for chaining. */ - public Builder addUnreachableBytes(com.google.protobuf.ByteString value) { + public Builder addUnreachableBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureUnreachableIsMutable(); unreachable_.add(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); } @@ -1417,12 +1246,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.vmmigration.v1.ListSourcesResponse) } // @@protoc_insertion_point(class_scope:google.cloud.vmmigration.v1.ListSourcesResponse) private static final com.google.cloud.vmmigration.v1.ListSourcesResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.vmmigration.v1.ListSourcesResponse(); } @@ -1431,16 +1260,16 @@ public static com.google.cloud.vmmigration.v1.ListSourcesResponse getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListSourcesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListSourcesResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListSourcesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListSourcesResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1455,4 +1284,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.vmmigration.v1.ListSourcesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListSourcesResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListSourcesResponseOrBuilder.java similarity index 57% rename from proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListSourcesResponseOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListSourcesResponseOrBuilder.java index 5682d84..f75167c 100644 --- a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListSourcesResponseOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListSourcesResponseOrBuilder.java @@ -1,165 +1,116 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; -public interface ListSourcesResponseOrBuilder - extends +public interface ListSourcesResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.ListSourcesResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Output only. The list of sources response.
    * 
* - * - * repeated .google.cloud.vmmigration.v1.Source sources = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.Source sources = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - java.util.List getSourcesList(); + java.util.List + getSourcesList(); /** - * - * *
    * Output only. The list of sources response.
    * 
* - * - * repeated .google.cloud.vmmigration.v1.Source sources = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.Source sources = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.cloud.vmmigration.v1.Source getSources(int index); /** - * - * *
    * Output only. The list of sources response.
    * 
* - * - * repeated .google.cloud.vmmigration.v1.Source sources = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.Source sources = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ int getSourcesCount(); /** - * - * *
    * Output only. The list of sources response.
    * 
* - * - * repeated .google.cloud.vmmigration.v1.Source sources = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.Source sources = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - java.util.List + java.util.List getSourcesOrBuilderList(); /** - * - * *
    * Output only. The list of sources response.
    * 
* - * - * repeated .google.cloud.vmmigration.v1.Source sources = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.Source sources = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - com.google.cloud.vmmigration.v1.SourceOrBuilder getSourcesOrBuilder(int index); + com.google.cloud.vmmigration.v1.SourceOrBuilder getSourcesOrBuilder( + int index); /** - * - * *
-   * Output only. A token, which can be sent as `page_token` to retrieve the next page.
-   * If this field is omitted, there are no subsequent pages.
+   * Output only. A token, which can be sent as `page_token` to retrieve the
+   * next page. If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
-   * Output only. A token, which can be sent as `page_token` to retrieve the next page.
-   * If this field is omitted, there are no subsequent pages.
+   * Output only. A token, which can be sent as `page_token` to retrieve the
+   * next page. If this field is omitted, there are no subsequent pages.
    * 
* * 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(); /** - * - * *
    * Output only. Locations that could not be reached.
    * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return A list containing the unreachable. */ - java.util.List getUnreachableList(); + java.util.List + getUnreachableList(); /** - * - * *
    * Output only. Locations that could not be reached.
    * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The count of unreachable. */ int getUnreachableCount(); /** - * - * *
    * Output only. Locations that could not be reached.
    * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param index The index of the element to return. * @return The unreachable at the given index. */ java.lang.String getUnreachable(int index); /** - * - * *
    * Output only. Locations that could not be reached.
    * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - com.google.protobuf.ByteString getUnreachableBytes(int index); + com.google.protobuf.ByteString + getUnreachableBytes(int index); } diff --git a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListTargetProjectsRequest.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListTargetProjectsRequest.java similarity index 71% rename from proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListTargetProjectsRequest.java rename to owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListTargetProjectsRequest.java index a2462c0..166846b 100644 --- a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListTargetProjectsRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListTargetProjectsRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; /** - * - * *
  * Request message for 'ListTargetProjects' call.
  * 
* * Protobuf type {@code google.cloud.vmmigration.v1.ListTargetProjectsRequest} */ -public final class ListTargetProjectsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListTargetProjectsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.vmmigration.v1.ListTargetProjectsRequest) ListTargetProjectsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListTargetProjectsRequest.newBuilder() to construct. private ListTargetProjectsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListTargetProjectsRequest() { parent_ = ""; pageToken_ = ""; @@ -46,15 +28,16 @@ private ListTargetProjectsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListTargetProjectsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListTargetProjectsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -73,46 +56,42 @@ private ListTargetProjectsRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 16: - { - pageSize_ = input.readInt32(); - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: { - pageToken_ = s; - break; - } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); + pageSize_ = input.readInt32(); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - filter_ = s; - break; - } - case 42: - { - java.lang.String s = input.readStringRequireUtf8(); + pageToken_ = s; + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); - orderBy_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + filter_ = s; + break; + } + case 42: { + java.lang.String s = input.readStringRequireUtf8(); + + orderBy_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -120,41 +99,34 @@ private ListTargetProjectsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_ListTargetProjectsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ListTargetProjectsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_ListTargetProjectsRequest_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ListTargetProjectsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.ListTargetProjectsRequest.class, - com.google.cloud.vmmigration.v1.ListTargetProjectsRequest.Builder.class); + com.google.cloud.vmmigration.v1.ListTargetProjectsRequest.class, com.google.cloud.vmmigration.v1.ListTargetProjectsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The parent, which owns this collection of targets.
    * 
* - * - * 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 @@ -163,31 +135,29 @@ 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 parent, which owns this collection of targets.
    * 
* - * - * 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 { @@ -198,8 +168,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** - * - * *
    * Optional. The maximum number of targets to return. The service may return
    * fewer than this value. If unspecified, at most 500 targets will be
@@ -208,7 +176,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ @java.lang.Override @@ -219,8 +186,6 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** - * - * *
    * Required. A page token, received from a previous `ListTargets` call.
    * Provide this to retrieve the subsequent page.
@@ -229,7 +194,6 @@ public int getPageSize() {
    * 
* * string page_token = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The pageToken. */ @java.lang.Override @@ -238,15 +202,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; } } /** - * - * *
    * Required. A page token, received from a previous `ListTargets` call.
    * Provide this to retrieve the subsequent page.
@@ -255,15 +218,16 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @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 { @@ -274,14 +238,11 @@ public com.google.protobuf.ByteString getPageTokenBytes() { public static final int FILTER_FIELD_NUMBER = 4; private volatile java.lang.Object filter_; /** - * - * *
    * Optional. The filter request.
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The filter. */ @java.lang.Override @@ -290,29 +251,29 @@ public java.lang.String getFilter() { 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(); filter_ = s; return s; } } /** - * - * *
    * Optional. The filter request.
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for filter. */ @java.lang.Override - public com.google.protobuf.ByteString getFilterBytes() { + public com.google.protobuf.ByteString + getFilterBytes() { java.lang.Object ref = filter_; 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); filter_ = b; return b; } else { @@ -323,14 +284,11 @@ public com.google.protobuf.ByteString getFilterBytes() { public static final int ORDER_BY_FIELD_NUMBER = 5; private volatile java.lang.Object orderBy_; /** - * - * *
    * Optional. the order by fields for the result.
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The orderBy. */ @java.lang.Override @@ -339,29 +297,29 @@ public java.lang.String getOrderBy() { 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(); orderBy_ = s; return s; } } /** - * - * *
    * Optional. the order by fields for the result.
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for orderBy. */ @java.lang.Override - public com.google.protobuf.ByteString getOrderByBytes() { + public com.google.protobuf.ByteString + getOrderByBytes() { java.lang.Object ref = orderBy_; 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); orderBy_ = b; return b; } else { @@ -370,7 +328,6 @@ public com.google.protobuf.ByteString getOrderByBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -382,7 +339,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_); } @@ -411,7 +369,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -430,19 +389,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.vmmigration.v1.ListTargetProjectsRequest)) { return super.equals(obj); } - com.google.cloud.vmmigration.v1.ListTargetProjectsRequest other = - (com.google.cloud.vmmigration.v1.ListTargetProjectsRequest) obj; - - if (!getParent().equals(other.getParent())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; - if (!getFilter().equals(other.getFilter())) return false; - if (!getOrderBy().equals(other.getOrderBy())) return false; + com.google.cloud.vmmigration.v1.ListTargetProjectsRequest other = (com.google.cloud.vmmigration.v1.ListTargetProjectsRequest) obj; + + if (!getParent() + .equals(other.getParent())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; + if (!getFilter() + .equals(other.getFilter())) return false; + if (!getOrderBy() + .equals(other.getOrderBy())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -470,127 +433,117 @@ public int hashCode() { } public static com.google.cloud.vmmigration.v1.ListTargetProjectsRequest 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.vmmigration.v1.ListTargetProjectsRequest 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.vmmigration.v1.ListTargetProjectsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.vmmigration.v1.ListTargetProjectsRequest 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.vmmigration.v1.ListTargetProjectsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.vmmigration.v1.ListTargetProjectsRequest 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.vmmigration.v1.ListTargetProjectsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.vmmigration.v1.ListTargetProjectsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.vmmigration.v1.ListTargetProjectsRequest 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.vmmigration.v1.ListTargetProjectsRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.vmmigration.v1.ListTargetProjectsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.vmmigration.v1.ListTargetProjectsRequest 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.vmmigration.v1.ListTargetProjectsRequest 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.vmmigration.v1.ListTargetProjectsRequest 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.vmmigration.v1.ListTargetProjectsRequest prototype) { + public static Builder newBuilder(com.google.cloud.vmmigration.v1.ListTargetProjectsRequest 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 message for 'ListTargetProjects' call.
    * 
* * Protobuf type {@code google.cloud.vmmigration.v1.ListTargetProjectsRequest} */ - 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.vmmigration.v1.ListTargetProjectsRequest) com.google.cloud.vmmigration.v1.ListTargetProjectsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_ListTargetProjectsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ListTargetProjectsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_ListTargetProjectsRequest_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ListTargetProjectsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.ListTargetProjectsRequest.class, - com.google.cloud.vmmigration.v1.ListTargetProjectsRequest.Builder.class); + com.google.cloud.vmmigration.v1.ListTargetProjectsRequest.class, com.google.cloud.vmmigration.v1.ListTargetProjectsRequest.Builder.class); } // Construct using com.google.cloud.vmmigration.v1.ListTargetProjectsRequest.newBuilder() @@ -598,15 +551,16 @@ 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) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -624,9 +578,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_ListTargetProjectsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ListTargetProjectsRequest_descriptor; } @java.lang.Override @@ -645,8 +599,7 @@ public com.google.cloud.vmmigration.v1.ListTargetProjectsRequest build() { @java.lang.Override public com.google.cloud.vmmigration.v1.ListTargetProjectsRequest buildPartial() { - com.google.cloud.vmmigration.v1.ListTargetProjectsRequest result = - new com.google.cloud.vmmigration.v1.ListTargetProjectsRequest(this); + com.google.cloud.vmmigration.v1.ListTargetProjectsRequest result = new com.google.cloud.vmmigration.v1.ListTargetProjectsRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -660,39 +613,38 @@ public com.google.cloud.vmmigration.v1.ListTargetProjectsRequest buildPartial() 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.vmmigration.v1.ListTargetProjectsRequest) { - return mergeFrom((com.google.cloud.vmmigration.v1.ListTargetProjectsRequest) other); + return mergeFrom((com.google.cloud.vmmigration.v1.ListTargetProjectsRequest)other); } else { super.mergeFrom(other); return this; @@ -700,8 +652,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.vmmigration.v1.ListTargetProjectsRequest other) { - if (other == com.google.cloud.vmmigration.v1.ListTargetProjectsRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.vmmigration.v1.ListTargetProjectsRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -740,8 +691,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.vmmigration.v1.ListTargetProjectsRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.vmmigration.v1.ListTargetProjectsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -753,22 +703,18 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The parent, which owns this collection of targets.
      * 
* - * - * 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; @@ -777,23 +723,20 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The parent, which owns this collection of targets.
      * 
* - * - * 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 { @@ -801,76 +744,61 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The parent, which owns this collection of targets.
      * 
* - * - * 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) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The parent, which owns this collection of targets.
      * 
* - * - * 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() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The parent, which owns this collection of targets.
      * 
* - * - * 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) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * Optional. The maximum number of targets to return. The service may return
      * fewer than this value. If unspecified, at most 500 targets will be
@@ -879,7 +807,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ @java.lang.Override @@ -887,8 +814,6 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * Optional. The maximum number of targets to return. The service may return
      * fewer than this value. If unspecified, at most 500 targets will be
@@ -897,19 +822,16 @@ public int getPageSize() {
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** - * - * *
      * Optional. The maximum number of targets to return. The service may return
      * fewer than this value. If unspecified, at most 500 targets will be
@@ -918,11 +840,10 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -930,8 +851,6 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * Required. A page token, received from a previous `ListTargets` call.
      * Provide this to retrieve the subsequent page.
@@ -940,13 +859,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @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; @@ -955,8 +874,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * Required. A page token, received from a previous `ListTargets` call.
      * Provide this to retrieve the subsequent page.
@@ -965,14 +882,15 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @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 { @@ -980,8 +898,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * Required. A page token, received from a previous `ListTargets` call.
      * Provide this to retrieve the subsequent page.
@@ -990,22 +906,20 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * Required. A page token, received from a previous `ListTargets` call.
      * Provide this to retrieve the subsequent page.
@@ -1014,18 +928,15 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * Required. A page token, received from a previous `ListTargets` call.
      * Provide this to retrieve the subsequent page.
@@ -1034,16 +945,16 @@ public Builder clearPageToken() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; @@ -1051,20 +962,18 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { private java.lang.Object filter_ = ""; /** - * - * *
      * Optional. The filter request.
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; 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(); filter_ = s; return s; @@ -1073,21 +982,20 @@ public java.lang.String getFilter() { } } /** - * - * *
      * Optional. The filter request.
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for filter. */ - public com.google.protobuf.ByteString getFilterBytes() { + public com.google.protobuf.ByteString + getFilterBytes() { java.lang.Object ref = filter_; 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); filter_ = b; return b; } else { @@ -1095,61 +1003,54 @@ public com.google.protobuf.ByteString getFilterBytes() { } } /** - * - * *
      * Optional. The filter request.
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter(java.lang.String value) { + public Builder setFilter( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; onChanged(); return this; } /** - * - * *
      * Optional. The filter request.
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** - * - * *
      * Optional. The filter request.
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes(com.google.protobuf.ByteString value) { + public Builder setFilterBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = value; onChanged(); return this; @@ -1157,20 +1058,18 @@ public Builder setFilterBytes(com.google.protobuf.ByteString value) { private java.lang.Object orderBy_ = ""; /** - * - * *
      * Optional. the order by fields for the result.
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The orderBy. */ public java.lang.String getOrderBy() { java.lang.Object ref = orderBy_; 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(); orderBy_ = s; return s; @@ -1179,21 +1078,20 @@ public java.lang.String getOrderBy() { } } /** - * - * *
      * Optional. the order by fields for the result.
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for orderBy. */ - public com.google.protobuf.ByteString getOrderByBytes() { + public com.google.protobuf.ByteString + getOrderByBytes() { java.lang.Object ref = orderBy_; 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); orderBy_ = b; return b; } else { @@ -1201,68 +1099,61 @@ public com.google.protobuf.ByteString getOrderByBytes() { } } /** - * - * *
      * Optional. the order by fields for the result.
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The orderBy to set. * @return This builder for chaining. */ - public Builder setOrderBy(java.lang.String value) { + public Builder setOrderBy( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + orderBy_ = value; onChanged(); return this; } /** - * - * *
      * Optional. the order by fields for the result.
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearOrderBy() { - + orderBy_ = getDefaultInstance().getOrderBy(); onChanged(); return this; } /** - * - * *
      * Optional. the order by fields for the result.
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for orderBy to set. * @return This builder for chaining. */ - public Builder setOrderByBytes(com.google.protobuf.ByteString value) { + public Builder setOrderByBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + orderBy_ = 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); } @@ -1272,12 +1163,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.vmmigration.v1.ListTargetProjectsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.vmmigration.v1.ListTargetProjectsRequest) private static final com.google.cloud.vmmigration.v1.ListTargetProjectsRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.vmmigration.v1.ListTargetProjectsRequest(); } @@ -1286,16 +1177,16 @@ public static com.google.cloud.vmmigration.v1.ListTargetProjectsRequest getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListTargetProjectsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListTargetProjectsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListTargetProjectsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListTargetProjectsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1310,4 +1201,6 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.vmmigration.v1.ListTargetProjectsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListTargetProjectsRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListTargetProjectsRequestOrBuilder.java similarity index 68% rename from proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListTargetProjectsRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListTargetProjectsRequestOrBuilder.java index a8ac847..31ad024 100644 --- a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListTargetProjectsRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListTargetProjectsRequestOrBuilder.java @@ -1,60 +1,33 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; -public interface ListTargetProjectsRequestOrBuilder - extends +public interface ListTargetProjectsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.ListTargetProjectsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The parent, which owns this collection of targets.
    * 
* - * - * 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 parent, which owns this collection of targets.
    * 
* - * - * 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(); /** - * - * *
    * Optional. The maximum number of targets to return. The service may return
    * fewer than this value. If unspecified, at most 500 targets will be
@@ -63,14 +36,11 @@ public interface ListTargetProjectsRequestOrBuilder
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * Required. A page token, received from a previous `ListTargets` call.
    * Provide this to retrieve the subsequent page.
@@ -79,13 +49,10 @@ public interface ListTargetProjectsRequestOrBuilder
    * 
* * string page_token = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * Required. A page token, received from a previous `ListTargets` call.
    * Provide this to retrieve the subsequent page.
@@ -94,58 +61,48 @@ public interface ListTargetProjectsRequestOrBuilder
    * 
* * string page_token = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); /** - * - * *
    * Optional. The filter request.
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The filter. */ java.lang.String getFilter(); /** - * - * *
    * Optional. The filter request.
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for filter. */ - com.google.protobuf.ByteString getFilterBytes(); + com.google.protobuf.ByteString + getFilterBytes(); /** - * - * *
    * Optional. the order by fields for the result.
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The orderBy. */ java.lang.String getOrderBy(); /** - * - * *
    * Optional. the order by fields for the result.
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for orderBy. */ - com.google.protobuf.ByteString getOrderByBytes(); + com.google.protobuf.ByteString + getOrderByBytes(); } diff --git a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListTargetProjectsResponse.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListTargetProjectsResponse.java similarity index 68% rename from proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListTargetProjectsResponse.java rename to owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListTargetProjectsResponse.java index 635c8cd..895a3b4 100644 --- a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListTargetProjectsResponse.java +++ b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListTargetProjectsResponse.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; /** - * - * *
  * Response message for 'ListTargetProjects' call.
  * 
* * Protobuf type {@code google.cloud.vmmigration.v1.ListTargetProjectsResponse} */ -public final class ListTargetProjectsResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListTargetProjectsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.vmmigration.v1.ListTargetProjectsResponse) ListTargetProjectsResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListTargetProjectsResponse.newBuilder() to construct. private ListTargetProjectsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListTargetProjectsResponse() { targetProjects_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -45,15 +27,16 @@ private ListTargetProjectsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListTargetProjectsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListTargetProjectsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -73,42 +56,37 @@ private ListTargetProjectsResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - targetProjects_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - targetProjects_.add( - input.readMessage( - com.google.cloud.vmmigration.v1.TargetProject.parser(), extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + targetProjects_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + targetProjects_.add( + input.readMessage(com.google.cloud.vmmigration.v1.TargetProject.parser(), extensionRegistry)); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - unreachable_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000002; - } - unreachable_.add(s); - break; + nextPageToken_ = s; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + unreachable_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000002; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + unreachable_.add(s); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -116,7 +94,8 @@ private ListTargetProjectsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { targetProjects_ = java.util.Collections.unmodifiableList(targetProjects_); @@ -128,95 +107,72 @@ private ListTargetProjectsResponse( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_ListTargetProjectsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ListTargetProjectsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_ListTargetProjectsResponse_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ListTargetProjectsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.ListTargetProjectsResponse.class, - com.google.cloud.vmmigration.v1.ListTargetProjectsResponse.Builder.class); + com.google.cloud.vmmigration.v1.ListTargetProjectsResponse.class, com.google.cloud.vmmigration.v1.ListTargetProjectsResponse.Builder.class); } public static final int TARGET_PROJECTS_FIELD_NUMBER = 1; private java.util.List targetProjects_; /** - * - * *
    * Output only. The list of target response.
    * 
* - * - * repeated .google.cloud.vmmigration.v1.TargetProject target_projects = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.TargetProject target_projects = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public java.util.List getTargetProjectsList() { return targetProjects_; } /** - * - * *
    * Output only. The list of target response.
    * 
* - * - * repeated .google.cloud.vmmigration.v1.TargetProject target_projects = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.TargetProject target_projects = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public java.util.List + public java.util.List getTargetProjectsOrBuilderList() { return targetProjects_; } /** - * - * *
    * Output only. The list of target response.
    * 
* - * - * repeated .google.cloud.vmmigration.v1.TargetProject target_projects = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.TargetProject target_projects = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public int getTargetProjectsCount() { return targetProjects_.size(); } /** - * - * *
    * Output only. The list of target response.
    * 
* - * - * repeated .google.cloud.vmmigration.v1.TargetProject target_projects = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.TargetProject target_projects = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.cloud.vmmigration.v1.TargetProject getTargetProjects(int index) { return targetProjects_.get(index); } /** - * - * *
    * Output only. The list of target response.
    * 
* - * - * repeated .google.cloud.vmmigration.v1.TargetProject target_projects = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.TargetProject target_projects = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.cloud.vmmigration.v1.TargetProjectOrBuilder getTargetProjectsOrBuilder( @@ -227,15 +183,12 @@ public com.google.cloud.vmmigration.v1.TargetProjectOrBuilder getTargetProjectsO public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** - * - * *
-   * Output only. A token, which can be sent as `page_token` to retrieve the next page.
-   * If this field is omitted, there are no subsequent pages.
+   * Output only. A token, which can be sent as `page_token` to retrieve the
+   * next page. If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The nextPageToken. */ @java.lang.Override @@ -244,30 +197,30 @@ 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. A token, which can be sent as `page_token` to retrieve the next page.
-   * If this field is omitted, there are no subsequent pages.
+   * Output only. A token, which can be sent as `page_token` to retrieve the
+   * next page. If this field is omitted, there are no subsequent pages.
    * 
* * 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 { @@ -278,42 +231,34 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { public static final int UNREACHABLE_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList unreachable_; /** - * - * *
    * Output only. Locations that could not be reached.
    * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return A list containing the unreachable. */ - public com.google.protobuf.ProtocolStringList getUnreachableList() { + public com.google.protobuf.ProtocolStringList + getUnreachableList() { return unreachable_; } /** - * - * *
    * Output only. Locations that could not be reached.
    * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** - * - * *
    * Output only. Locations that could not be reached.
    * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -321,23 +266,20 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** - * - * *
    * Output only. Locations that could not be reached.
    * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - public com.google.protobuf.ByteString getUnreachableBytes(int index) { + public com.google.protobuf.ByteString + getUnreachableBytes(int index) { return unreachable_.getByteString(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -349,7 +291,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 < targetProjects_.size(); i++) { output.writeMessage(1, targetProjects_.get(i)); } @@ -369,7 +312,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < targetProjects_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, targetProjects_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, targetProjects_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -390,17 +334,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.vmmigration.v1.ListTargetProjectsResponse)) { return super.equals(obj); } - com.google.cloud.vmmigration.v1.ListTargetProjectsResponse other = - (com.google.cloud.vmmigration.v1.ListTargetProjectsResponse) obj; + com.google.cloud.vmmigration.v1.ListTargetProjectsResponse other = (com.google.cloud.vmmigration.v1.ListTargetProjectsResponse) obj; - if (!getTargetProjectsList().equals(other.getTargetProjectsList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; - if (!getUnreachableList().equals(other.getUnreachableList())) return false; + if (!getTargetProjectsList() + .equals(other.getTargetProjectsList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; + if (!getUnreachableList() + .equals(other.getUnreachableList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -428,127 +374,117 @@ public int hashCode() { } public static com.google.cloud.vmmigration.v1.ListTargetProjectsResponse 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.vmmigration.v1.ListTargetProjectsResponse 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.vmmigration.v1.ListTargetProjectsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.vmmigration.v1.ListTargetProjectsResponse 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.vmmigration.v1.ListTargetProjectsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.vmmigration.v1.ListTargetProjectsResponse 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.vmmigration.v1.ListTargetProjectsResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.vmmigration.v1.ListTargetProjectsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.vmmigration.v1.ListTargetProjectsResponse 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.vmmigration.v1.ListTargetProjectsResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.vmmigration.v1.ListTargetProjectsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.vmmigration.v1.ListTargetProjectsResponse 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.vmmigration.v1.ListTargetProjectsResponse 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.vmmigration.v1.ListTargetProjectsResponse 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.vmmigration.v1.ListTargetProjectsResponse prototype) { + public static Builder newBuilder(com.google.cloud.vmmigration.v1.ListTargetProjectsResponse 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; } /** - * - * *
    * Response message for 'ListTargetProjects' call.
    * 
* * Protobuf type {@code google.cloud.vmmigration.v1.ListTargetProjectsResponse} */ - 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.vmmigration.v1.ListTargetProjectsResponse) com.google.cloud.vmmigration.v1.ListTargetProjectsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_ListTargetProjectsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ListTargetProjectsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_ListTargetProjectsResponse_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ListTargetProjectsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.ListTargetProjectsResponse.class, - com.google.cloud.vmmigration.v1.ListTargetProjectsResponse.Builder.class); + com.google.cloud.vmmigration.v1.ListTargetProjectsResponse.class, com.google.cloud.vmmigration.v1.ListTargetProjectsResponse.Builder.class); } // Construct using com.google.cloud.vmmigration.v1.ListTargetProjectsResponse.newBuilder() @@ -556,17 +492,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) { getTargetProjectsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -584,9 +520,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_ListTargetProjectsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ListTargetProjectsResponse_descriptor; } @java.lang.Override @@ -605,8 +541,7 @@ public com.google.cloud.vmmigration.v1.ListTargetProjectsResponse build() { @java.lang.Override public com.google.cloud.vmmigration.v1.ListTargetProjectsResponse buildPartial() { - com.google.cloud.vmmigration.v1.ListTargetProjectsResponse result = - new com.google.cloud.vmmigration.v1.ListTargetProjectsResponse(this); + com.google.cloud.vmmigration.v1.ListTargetProjectsResponse result = new com.google.cloud.vmmigration.v1.ListTargetProjectsResponse(this); int from_bitField0_ = bitField0_; if (targetProjectsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -631,39 +566,38 @@ public com.google.cloud.vmmigration.v1.ListTargetProjectsResponse buildPartial() 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.vmmigration.v1.ListTargetProjectsResponse) { - return mergeFrom((com.google.cloud.vmmigration.v1.ListTargetProjectsResponse) other); + return mergeFrom((com.google.cloud.vmmigration.v1.ListTargetProjectsResponse)other); } else { super.mergeFrom(other); return this; @@ -671,8 +605,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.vmmigration.v1.ListTargetProjectsResponse other) { - if (other == com.google.cloud.vmmigration.v1.ListTargetProjectsResponse.getDefaultInstance()) - return this; + if (other == com.google.cloud.vmmigration.v1.ListTargetProjectsResponse.getDefaultInstance()) return this; if (targetProjectsBuilder_ == null) { if (!other.targetProjects_.isEmpty()) { if (targetProjects_.isEmpty()) { @@ -691,10 +624,9 @@ public Builder mergeFrom(com.google.cloud.vmmigration.v1.ListTargetProjectsRespo targetProjectsBuilder_ = null; targetProjects_ = other.targetProjects_; bitField0_ = (bitField0_ & ~0x00000001); - targetProjectsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getTargetProjectsFieldBuilder() - : null; + targetProjectsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getTargetProjectsFieldBuilder() : null; } else { targetProjectsBuilder_.addAllMessages(other.targetProjects_); } @@ -733,8 +665,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.vmmigration.v1.ListTargetProjectsResponse) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.vmmigration.v1.ListTargetProjectsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -743,36 +674,26 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.util.List targetProjects_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureTargetProjectsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - targetProjects_ = - new java.util.ArrayList(targetProjects_); + targetProjects_ = new java.util.ArrayList(targetProjects_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.vmmigration.v1.TargetProject, - com.google.cloud.vmmigration.v1.TargetProject.Builder, - com.google.cloud.vmmigration.v1.TargetProjectOrBuilder> - targetProjectsBuilder_; + com.google.cloud.vmmigration.v1.TargetProject, com.google.cloud.vmmigration.v1.TargetProject.Builder, com.google.cloud.vmmigration.v1.TargetProjectOrBuilder> targetProjectsBuilder_; /** - * - * *
      * Output only. The list of target response.
      * 
* - * - * repeated .google.cloud.vmmigration.v1.TargetProject target_projects = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.TargetProject target_projects = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public java.util.List getTargetProjectsList() { if (targetProjectsBuilder_ == null) { @@ -782,15 +703,11 @@ public java.util.List getTargetPr } } /** - * - * *
      * Output only. The list of target response.
      * 
* - * - * repeated .google.cloud.vmmigration.v1.TargetProject target_projects = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.TargetProject target_projects = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public int getTargetProjectsCount() { if (targetProjectsBuilder_ == null) { @@ -800,15 +717,11 @@ public int getTargetProjectsCount() { } } /** - * - * *
      * Output only. The list of target response.
      * 
* - * - * repeated .google.cloud.vmmigration.v1.TargetProject target_projects = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.TargetProject target_projects = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.vmmigration.v1.TargetProject getTargetProjects(int index) { if (targetProjectsBuilder_ == null) { @@ -818,15 +731,11 @@ public com.google.cloud.vmmigration.v1.TargetProject getTargetProjects(int index } } /** - * - * *
      * Output only. The list of target response.
      * 
* - * - * repeated .google.cloud.vmmigration.v1.TargetProject target_projects = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.TargetProject target_projects = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setTargetProjects( int index, com.google.cloud.vmmigration.v1.TargetProject value) { @@ -843,15 +752,11 @@ public Builder setTargetProjects( return this; } /** - * - * *
      * Output only. The list of target response.
      * 
* - * - * repeated .google.cloud.vmmigration.v1.TargetProject target_projects = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.TargetProject target_projects = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setTargetProjects( int index, com.google.cloud.vmmigration.v1.TargetProject.Builder builderForValue) { @@ -865,15 +770,11 @@ public Builder setTargetProjects( return this; } /** - * - * *
      * Output only. The list of target response.
      * 
* - * - * repeated .google.cloud.vmmigration.v1.TargetProject target_projects = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.TargetProject target_projects = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addTargetProjects(com.google.cloud.vmmigration.v1.TargetProject value) { if (targetProjectsBuilder_ == null) { @@ -889,15 +790,11 @@ public Builder addTargetProjects(com.google.cloud.vmmigration.v1.TargetProject v return this; } /** - * - * *
      * Output only. The list of target response.
      * 
* - * - * repeated .google.cloud.vmmigration.v1.TargetProject target_projects = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.TargetProject target_projects = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addTargetProjects( int index, com.google.cloud.vmmigration.v1.TargetProject value) { @@ -914,15 +811,11 @@ public Builder addTargetProjects( return this; } /** - * - * *
      * Output only. The list of target response.
      * 
* - * - * repeated .google.cloud.vmmigration.v1.TargetProject target_projects = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.TargetProject target_projects = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addTargetProjects( com.google.cloud.vmmigration.v1.TargetProject.Builder builderForValue) { @@ -936,15 +829,11 @@ public Builder addTargetProjects( return this; } /** - * - * *
      * Output only. The list of target response.
      * 
* - * - * repeated .google.cloud.vmmigration.v1.TargetProject target_projects = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.TargetProject target_projects = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addTargetProjects( int index, com.google.cloud.vmmigration.v1.TargetProject.Builder builderForValue) { @@ -958,21 +847,18 @@ public Builder addTargetProjects( return this; } /** - * - * *
      * Output only. The list of target response.
      * 
* - * - * repeated .google.cloud.vmmigration.v1.TargetProject target_projects = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.TargetProject target_projects = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addAllTargetProjects( java.lang.Iterable values) { if (targetProjectsBuilder_ == null) { ensureTargetProjectsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, targetProjects_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, targetProjects_); onChanged(); } else { targetProjectsBuilder_.addAllMessages(values); @@ -980,15 +866,11 @@ public Builder addAllTargetProjects( return this; } /** - * - * *
      * Output only. The list of target response.
      * 
* - * - * repeated .google.cloud.vmmigration.v1.TargetProject target_projects = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.TargetProject target_projects = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearTargetProjects() { if (targetProjectsBuilder_ == null) { @@ -1001,15 +883,11 @@ public Builder clearTargetProjects() { return this; } /** - * - * *
      * Output only. The list of target response.
      * 
* - * - * repeated .google.cloud.vmmigration.v1.TargetProject target_projects = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.TargetProject target_projects = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder removeTargetProjects(int index) { if (targetProjectsBuilder_ == null) { @@ -1022,52 +900,39 @@ public Builder removeTargetProjects(int index) { return this; } /** - * - * *
      * Output only. The list of target response.
      * 
* - * - * repeated .google.cloud.vmmigration.v1.TargetProject target_projects = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.TargetProject target_projects = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.vmmigration.v1.TargetProject.Builder getTargetProjectsBuilder( int index) { return getTargetProjectsFieldBuilder().getBuilder(index); } /** - * - * *
      * Output only. The list of target response.
      * 
* - * - * repeated .google.cloud.vmmigration.v1.TargetProject target_projects = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.TargetProject target_projects = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.vmmigration.v1.TargetProjectOrBuilder getTargetProjectsOrBuilder( int index) { if (targetProjectsBuilder_ == null) { - return targetProjects_.get(index); - } else { + return targetProjects_.get(index); } else { return targetProjectsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Output only. The list of target response.
      * 
* - * - * repeated .google.cloud.vmmigration.v1.TargetProject target_projects = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.TargetProject target_projects = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public java.util.List - getTargetProjectsOrBuilderList() { + public java.util.List + getTargetProjectsOrBuilderList() { if (targetProjectsBuilder_ != null) { return targetProjectsBuilder_.getMessageOrBuilderList(); } else { @@ -1075,63 +940,45 @@ public com.google.cloud.vmmigration.v1.TargetProjectOrBuilder getTargetProjectsO } } /** - * - * *
      * Output only. The list of target response.
      * 
* - * - * repeated .google.cloud.vmmigration.v1.TargetProject target_projects = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.TargetProject target_projects = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.vmmigration.v1.TargetProject.Builder addTargetProjectsBuilder() { - return getTargetProjectsFieldBuilder() - .addBuilder(com.google.cloud.vmmigration.v1.TargetProject.getDefaultInstance()); + return getTargetProjectsFieldBuilder().addBuilder( + com.google.cloud.vmmigration.v1.TargetProject.getDefaultInstance()); } /** - * - * *
      * Output only. The list of target response.
      * 
* - * - * repeated .google.cloud.vmmigration.v1.TargetProject target_projects = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.TargetProject target_projects = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.vmmigration.v1.TargetProject.Builder addTargetProjectsBuilder( int index) { - return getTargetProjectsFieldBuilder() - .addBuilder(index, com.google.cloud.vmmigration.v1.TargetProject.getDefaultInstance()); + return getTargetProjectsFieldBuilder().addBuilder( + index, com.google.cloud.vmmigration.v1.TargetProject.getDefaultInstance()); } /** - * - * *
      * Output only. The list of target response.
      * 
* - * - * repeated .google.cloud.vmmigration.v1.TargetProject target_projects = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.TargetProject target_projects = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public java.util.List - getTargetProjectsBuilderList() { + public java.util.List + getTargetProjectsBuilderList() { return getTargetProjectsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.vmmigration.v1.TargetProject, - com.google.cloud.vmmigration.v1.TargetProject.Builder, - com.google.cloud.vmmigration.v1.TargetProjectOrBuilder> + com.google.cloud.vmmigration.v1.TargetProject, com.google.cloud.vmmigration.v1.TargetProject.Builder, com.google.cloud.vmmigration.v1.TargetProjectOrBuilder> getTargetProjectsFieldBuilder() { if (targetProjectsBuilder_ == null) { - targetProjectsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.vmmigration.v1.TargetProject, - com.google.cloud.vmmigration.v1.TargetProject.Builder, - com.google.cloud.vmmigration.v1.TargetProjectOrBuilder>( + targetProjectsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.vmmigration.v1.TargetProject, com.google.cloud.vmmigration.v1.TargetProject.Builder, com.google.cloud.vmmigration.v1.TargetProjectOrBuilder>( targetProjects_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -1143,21 +990,19 @@ public com.google.cloud.vmmigration.v1.TargetProject.Builder addTargetProjectsBu private java.lang.Object nextPageToken_ = ""; /** - * - * *
-     * Output only. A token, which can be sent as `page_token` to retrieve the next page.
-     * If this field is omitted, there are no subsequent pages.
+     * Output only. A token, which can be sent as `page_token` to retrieve the
+     * next page. If this field is omitted, there are no subsequent pages.
      * 
* * 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; @@ -1166,22 +1011,21 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
-     * Output only. A token, which can be sent as `page_token` to retrieve the next page.
-     * If this field is omitted, there are no subsequent pages.
+     * Output only. A token, which can be sent as `page_token` to retrieve the
+     * next page. If this field is omitted, there are no subsequent pages.
      * 
* * 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 { @@ -1189,115 +1033,98 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
-     * Output only. A token, which can be sent as `page_token` to retrieve the next page.
-     * If this field is omitted, there are no subsequent pages.
+     * Output only. A token, which can be sent as `page_token` to retrieve the
+     * next page. If this field is omitted, there are no subsequent pages.
      * 
* * 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) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** - * - * *
-     * Output only. A token, which can be sent as `page_token` to retrieve the next page.
-     * If this field is omitted, there are no subsequent pages.
+     * Output only. A token, which can be sent as `page_token` to retrieve the
+     * next page. If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
-     * Output only. A token, which can be sent as `page_token` to retrieve the next page.
-     * If this field is omitted, there are no subsequent pages.
+     * Output only. A token, which can be sent as `page_token` to retrieve the
+     * next page. If this field is omitted, there are no subsequent pages.
      * 
* * 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) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList unreachable_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList unreachable_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureUnreachableIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { unreachable_ = new com.google.protobuf.LazyStringArrayList(unreachable_); bitField0_ |= 0x00000002; - } + } } /** - * - * *
      * Output only. Locations that could not be reached.
      * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return A list containing the unreachable. */ - public com.google.protobuf.ProtocolStringList getUnreachableList() { + public com.google.protobuf.ProtocolStringList + getUnreachableList() { return unreachable_.getUnmodifiableView(); } /** - * - * *
      * Output only. Locations that could not be reached.
      * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** - * - * *
      * Output only. Locations that could not be reached.
      * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -1305,90 +1132,80 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** - * - * *
      * Output only. Locations that could not be reached.
      * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - public com.google.protobuf.ByteString getUnreachableBytes(int index) { + public com.google.protobuf.ByteString + getUnreachableBytes(int index) { return unreachable_.getByteString(index); } /** - * - * *
      * Output only. Locations that could not be reached.
      * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param index The index to set the value at. * @param value The unreachable to set. * @return This builder for chaining. */ - public Builder setUnreachable(int index, java.lang.String value) { + public Builder setUnreachable( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUnreachableIsMutable(); + throw new NullPointerException(); + } + ensureUnreachableIsMutable(); unreachable_.set(index, value); onChanged(); return this; } /** - * - * *
      * Output only. Locations that could not be reached.
      * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The unreachable to add. * @return This builder for chaining. */ - public Builder addUnreachable(java.lang.String value) { + public Builder addUnreachable( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUnreachableIsMutable(); + throw new NullPointerException(); + } + ensureUnreachableIsMutable(); unreachable_.add(value); onChanged(); return this; } /** - * - * *
      * Output only. Locations that could not be reached.
      * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param values The unreachable to add. * @return This builder for chaining. */ - public Builder addAllUnreachable(java.lang.Iterable values) { + public Builder addAllUnreachable( + java.lang.Iterable values) { ensureUnreachableIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, unreachable_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, unreachable_); onChanged(); return this; } /** - * - * *
      * Output only. Locations that could not be reached.
      * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearUnreachable() { @@ -1398,30 +1215,28 @@ public Builder clearUnreachable() { return this; } /** - * - * *
      * Output only. Locations that could not be reached.
      * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes of the unreachable to add. * @return This builder for chaining. */ - public Builder addUnreachableBytes(com.google.protobuf.ByteString value) { + public Builder addUnreachableBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureUnreachableIsMutable(); unreachable_.add(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); } @@ -1431,12 +1246,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.vmmigration.v1.ListTargetProjectsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.vmmigration.v1.ListTargetProjectsResponse) private static final com.google.cloud.vmmigration.v1.ListTargetProjectsResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.vmmigration.v1.ListTargetProjectsResponse(); } @@ -1445,16 +1260,16 @@ public static com.google.cloud.vmmigration.v1.ListTargetProjectsResponse getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListTargetProjectsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListTargetProjectsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListTargetProjectsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListTargetProjectsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1469,4 +1284,6 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.vmmigration.v1.ListTargetProjectsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListTargetProjectsResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListTargetProjectsResponseOrBuilder.java similarity index 58% rename from proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListTargetProjectsResponseOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListTargetProjectsResponseOrBuilder.java index 5d87df4..92ba468 100644 --- a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListTargetProjectsResponseOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListTargetProjectsResponseOrBuilder.java @@ -1,165 +1,116 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; -public interface ListTargetProjectsResponseOrBuilder - extends +public interface ListTargetProjectsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.ListTargetProjectsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Output only. The list of target response.
    * 
* - * - * repeated .google.cloud.vmmigration.v1.TargetProject target_projects = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.TargetProject target_projects = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - java.util.List getTargetProjectsList(); + java.util.List + getTargetProjectsList(); /** - * - * *
    * Output only. The list of target response.
    * 
* - * - * repeated .google.cloud.vmmigration.v1.TargetProject target_projects = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.TargetProject target_projects = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.cloud.vmmigration.v1.TargetProject getTargetProjects(int index); /** - * - * *
    * Output only. The list of target response.
    * 
* - * - * repeated .google.cloud.vmmigration.v1.TargetProject target_projects = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.TargetProject target_projects = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ int getTargetProjectsCount(); /** - * - * *
    * Output only. The list of target response.
    * 
* - * - * repeated .google.cloud.vmmigration.v1.TargetProject target_projects = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.TargetProject target_projects = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - java.util.List + java.util.List getTargetProjectsOrBuilderList(); /** - * - * *
    * Output only. The list of target response.
    * 
* - * - * repeated .google.cloud.vmmigration.v1.TargetProject target_projects = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.TargetProject target_projects = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - com.google.cloud.vmmigration.v1.TargetProjectOrBuilder getTargetProjectsOrBuilder(int index); + com.google.cloud.vmmigration.v1.TargetProjectOrBuilder getTargetProjectsOrBuilder( + int index); /** - * - * *
-   * Output only. A token, which can be sent as `page_token` to retrieve the next page.
-   * If this field is omitted, there are no subsequent pages.
+   * Output only. A token, which can be sent as `page_token` to retrieve the
+   * next page. If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
-   * Output only. A token, which can be sent as `page_token` to retrieve the next page.
-   * If this field is omitted, there are no subsequent pages.
+   * Output only. A token, which can be sent as `page_token` to retrieve the
+   * next page. If this field is omitted, there are no subsequent pages.
    * 
* * 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(); /** - * - * *
    * Output only. Locations that could not be reached.
    * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return A list containing the unreachable. */ - java.util.List getUnreachableList(); + java.util.List + getUnreachableList(); /** - * - * *
    * Output only. Locations that could not be reached.
    * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The count of unreachable. */ int getUnreachableCount(); /** - * - * *
    * Output only. Locations that could not be reached.
    * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param index The index of the element to return. * @return The unreachable at the given index. */ java.lang.String getUnreachable(int index); /** - * - * *
    * Output only. Locations that could not be reached.
    * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - com.google.protobuf.ByteString getUnreachableBytes(int index); + com.google.protobuf.ByteString + getUnreachableBytes(int index); } diff --git a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListUtilizationReportsRequest.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListUtilizationReportsRequest.java similarity index 67% rename from proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListUtilizationReportsRequest.java rename to owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListUtilizationReportsRequest.java index 73c5cde..47539aa 100644 --- a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListUtilizationReportsRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListUtilizationReportsRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; /** - * - * *
  * Request message for 'ListUtilizationReports' request.
  * 
* * Protobuf type {@code google.cloud.vmmigration.v1.ListUtilizationReportsRequest} */ -public final class ListUtilizationReportsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListUtilizationReportsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.vmmigration.v1.ListUtilizationReportsRequest) ListUtilizationReportsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListUtilizationReportsRequest.newBuilder() to construct. private ListUtilizationReportsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListUtilizationReportsRequest() { parent_ = ""; view_ = 0; @@ -47,15 +29,16 @@ private ListUtilizationReportsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListUtilizationReportsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListUtilizationReportsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -74,53 +57,48 @@ private ListUtilizationReportsRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 16: - { - int rawValue = input.readEnum(); + parent_ = s; + break; + } + case 16: { + int rawValue = input.readEnum(); - view_ = rawValue; - break; - } - case 24: - { - pageSize_ = input.readInt32(); - break; - } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); + view_ = rawValue; + break; + } + case 24: { - pageToken_ = s; - break; - } - case 42: - { - java.lang.String s = input.readStringRequireUtf8(); + pageSize_ = input.readInt32(); + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); - filter_ = s; - break; - } - case 50: - { - java.lang.String s = input.readStringRequireUtf8(); + pageToken_ = s; + break; + } + case 42: { + java.lang.String s = input.readStringRequireUtf8(); - orderBy_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + filter_ = s; + break; + } + case 50: { + java.lang.String s = input.readStringRequireUtf8(); + + orderBy_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -128,41 +106,34 @@ private ListUtilizationReportsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_ListUtilizationReportsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ListUtilizationReportsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_ListUtilizationReportsRequest_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ListUtilizationReportsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.ListUtilizationReportsRequest.class, - com.google.cloud.vmmigration.v1.ListUtilizationReportsRequest.Builder.class); + com.google.cloud.vmmigration.v1.ListUtilizationReportsRequest.class, com.google.cloud.vmmigration.v1.ListUtilizationReportsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The Utilization Reports parent.
    * 
* - * - * 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 @@ -171,31 +142,29 @@ 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 Utilization Reports parent.
    * 
* - * - * 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 { @@ -206,52 +175,35 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int VIEW_FIELD_NUMBER = 2; private int view_; /** - * - * *
    * Optional. The level of details of each report.
    * Defaults to BASIC.
    * 
* - * - * .google.cloud.vmmigration.v1.UtilizationReportView view = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.vmmigration.v1.UtilizationReportView view = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return The enum numeric value on the wire for view. */ - @java.lang.Override - public int getViewValue() { + @java.lang.Override public int getViewValue() { return view_; } /** - * - * *
    * Optional. The level of details of each report.
    * Defaults to BASIC.
    * 
* - * - * .google.cloud.vmmigration.v1.UtilizationReportView view = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.vmmigration.v1.UtilizationReportView view = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return The view. */ - @java.lang.Override - public com.google.cloud.vmmigration.v1.UtilizationReportView getView() { + @java.lang.Override public com.google.cloud.vmmigration.v1.UtilizationReportView getView() { @SuppressWarnings("deprecation") - com.google.cloud.vmmigration.v1.UtilizationReportView result = - com.google.cloud.vmmigration.v1.UtilizationReportView.valueOf(view_); - return result == null - ? com.google.cloud.vmmigration.v1.UtilizationReportView.UNRECOGNIZED - : result; + com.google.cloud.vmmigration.v1.UtilizationReportView result = com.google.cloud.vmmigration.v1.UtilizationReportView.valueOf(view_); + return result == null ? com.google.cloud.vmmigration.v1.UtilizationReportView.UNRECOGNIZED : result; } public static final int PAGE_SIZE_FIELD_NUMBER = 3; private int pageSize_; /** - * - * *
    * Optional. The maximum number of reports to return. The service may return
    * fewer than this value. If unspecified, at most 500 reports will be
@@ -260,7 +212,6 @@ public com.google.cloud.vmmigration.v1.UtilizationReportView getView() {
    * 
* * int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ @java.lang.Override @@ -271,17 +222,14 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 4; private volatile java.lang.Object pageToken_; /** - * - * *
-   * Required. A page token, received from a previous `ListUtilizationReports` call.
-   * Provide this to retrieve the subsequent page.
+   * Required. A page token, received from a previous `ListUtilizationReports`
+   * call. Provide this to retrieve the subsequent page.
    * When paginating, all other parameters provided to `ListUtilizationReports`
    * must match the call that provided the page token.
    * 
* * string page_token = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The pageToken. */ @java.lang.Override @@ -290,32 +238,32 @@ 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; } } /** - * - * *
-   * Required. A page token, received from a previous `ListUtilizationReports` call.
-   * Provide this to retrieve the subsequent page.
+   * Required. A page token, received from a previous `ListUtilizationReports`
+   * call. Provide this to retrieve the subsequent page.
    * When paginating, all other parameters provided to `ListUtilizationReports`
    * must match the call that provided the page token.
    * 
* * string page_token = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @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 { @@ -326,14 +274,11 @@ public com.google.protobuf.ByteString getPageTokenBytes() { public static final int FILTER_FIELD_NUMBER = 5; private volatile java.lang.Object filter_; /** - * - * *
    * Optional. The filter request.
    * 
* * string filter = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The filter. */ @java.lang.Override @@ -342,29 +287,29 @@ public java.lang.String getFilter() { 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(); filter_ = s; return s; } } /** - * - * *
    * Optional. The filter request.
    * 
* * string filter = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for filter. */ @java.lang.Override - public com.google.protobuf.ByteString getFilterBytes() { + public com.google.protobuf.ByteString + getFilterBytes() { java.lang.Object ref = filter_; 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); filter_ = b; return b; } else { @@ -375,14 +320,11 @@ public com.google.protobuf.ByteString getFilterBytes() { public static final int ORDER_BY_FIELD_NUMBER = 6; private volatile java.lang.Object orderBy_; /** - * - * *
    * Optional. the order by fields for the result.
    * 
* * string order_by = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The orderBy. */ @java.lang.Override @@ -391,29 +333,29 @@ public java.lang.String getOrderBy() { 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(); orderBy_ = s; return s; } } /** - * - * *
    * Optional. the order by fields for the result.
    * 
* * string order_by = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for orderBy. */ @java.lang.Override - public com.google.protobuf.ByteString getOrderByBytes() { + public com.google.protobuf.ByteString + getOrderByBytes() { java.lang.Object ref = orderBy_; 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); orderBy_ = b; return b; } else { @@ -422,7 +364,6 @@ public com.google.protobuf.ByteString getOrderByBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -434,13 +375,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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } - if (view_ - != com.google.cloud.vmmigration.v1.UtilizationReportView.UTILIZATION_REPORT_VIEW_UNSPECIFIED - .getNumber()) { + if (view_ != com.google.cloud.vmmigration.v1.UtilizationReportView.UTILIZATION_REPORT_VIEW_UNSPECIFIED.getNumber()) { output.writeEnum(2, view_); } if (pageSize_ != 0) { @@ -467,13 +407,13 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } - if (view_ - != com.google.cloud.vmmigration.v1.UtilizationReportView.UTILIZATION_REPORT_VIEW_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, view_); + if (view_ != com.google.cloud.vmmigration.v1.UtilizationReportView.UTILIZATION_REPORT_VIEW_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, view_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(3, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, pageToken_); @@ -492,20 +432,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.vmmigration.v1.ListUtilizationReportsRequest)) { return super.equals(obj); } - com.google.cloud.vmmigration.v1.ListUtilizationReportsRequest other = - (com.google.cloud.vmmigration.v1.ListUtilizationReportsRequest) obj; + com.google.cloud.vmmigration.v1.ListUtilizationReportsRequest other = (com.google.cloud.vmmigration.v1.ListUtilizationReportsRequest) obj; - if (!getParent().equals(other.getParent())) return false; + if (!getParent() + .equals(other.getParent())) return false; if (view_ != other.view_) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; - if (!getFilter().equals(other.getFilter())) return false; - if (!getOrderBy().equals(other.getOrderBy())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; + if (!getFilter() + .equals(other.getFilter())) return false; + if (!getOrderBy() + .equals(other.getOrderBy())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -535,127 +479,117 @@ public int hashCode() { } public static com.google.cloud.vmmigration.v1.ListUtilizationReportsRequest 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.vmmigration.v1.ListUtilizationReportsRequest 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.vmmigration.v1.ListUtilizationReportsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.vmmigration.v1.ListUtilizationReportsRequest 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.vmmigration.v1.ListUtilizationReportsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.vmmigration.v1.ListUtilizationReportsRequest 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.vmmigration.v1.ListUtilizationReportsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.vmmigration.v1.ListUtilizationReportsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.vmmigration.v1.ListUtilizationReportsRequest 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.vmmigration.v1.ListUtilizationReportsRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.vmmigration.v1.ListUtilizationReportsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.vmmigration.v1.ListUtilizationReportsRequest 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.vmmigration.v1.ListUtilizationReportsRequest 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.vmmigration.v1.ListUtilizationReportsRequest 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.vmmigration.v1.ListUtilizationReportsRequest prototype) { + public static Builder newBuilder(com.google.cloud.vmmigration.v1.ListUtilizationReportsRequest 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 message for 'ListUtilizationReports' request.
    * 
* * Protobuf type {@code google.cloud.vmmigration.v1.ListUtilizationReportsRequest} */ - 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.vmmigration.v1.ListUtilizationReportsRequest) com.google.cloud.vmmigration.v1.ListUtilizationReportsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_ListUtilizationReportsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ListUtilizationReportsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_ListUtilizationReportsRequest_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ListUtilizationReportsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.ListUtilizationReportsRequest.class, - com.google.cloud.vmmigration.v1.ListUtilizationReportsRequest.Builder.class); + com.google.cloud.vmmigration.v1.ListUtilizationReportsRequest.class, com.google.cloud.vmmigration.v1.ListUtilizationReportsRequest.Builder.class); } // Construct using com.google.cloud.vmmigration.v1.ListUtilizationReportsRequest.newBuilder() @@ -663,15 +597,16 @@ 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) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -691,14 +626,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_ListUtilizationReportsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ListUtilizationReportsRequest_descriptor; } @java.lang.Override - public com.google.cloud.vmmigration.v1.ListUtilizationReportsRequest - getDefaultInstanceForType() { + public com.google.cloud.vmmigration.v1.ListUtilizationReportsRequest getDefaultInstanceForType() { return com.google.cloud.vmmigration.v1.ListUtilizationReportsRequest.getDefaultInstance(); } @@ -713,8 +647,7 @@ public com.google.cloud.vmmigration.v1.ListUtilizationReportsRequest build() { @java.lang.Override public com.google.cloud.vmmigration.v1.ListUtilizationReportsRequest buildPartial() { - com.google.cloud.vmmigration.v1.ListUtilizationReportsRequest result = - new com.google.cloud.vmmigration.v1.ListUtilizationReportsRequest(this); + com.google.cloud.vmmigration.v1.ListUtilizationReportsRequest result = new com.google.cloud.vmmigration.v1.ListUtilizationReportsRequest(this); result.parent_ = parent_; result.view_ = view_; result.pageSize_ = pageSize_; @@ -729,39 +662,38 @@ public com.google.cloud.vmmigration.v1.ListUtilizationReportsRequest buildPartia 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.vmmigration.v1.ListUtilizationReportsRequest) { - return mergeFrom((com.google.cloud.vmmigration.v1.ListUtilizationReportsRequest) other); + return mergeFrom((com.google.cloud.vmmigration.v1.ListUtilizationReportsRequest)other); } else { super.mergeFrom(other); return this; @@ -769,9 +701,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.vmmigration.v1.ListUtilizationReportsRequest other) { - if (other - == com.google.cloud.vmmigration.v1.ListUtilizationReportsRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.vmmigration.v1.ListUtilizationReportsRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -813,9 +743,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.vmmigration.v1.ListUtilizationReportsRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.vmmigration.v1.ListUtilizationReportsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -827,22 +755,18 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The Utilization Reports parent.
      * 
* - * - * 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; @@ -851,23 +775,20 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The Utilization Reports parent.
      * 
* - * - * 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 { @@ -875,67 +796,54 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The Utilization Reports parent.
      * 
* - * - * 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) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The Utilization Reports parent.
      * 
* - * - * 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() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The Utilization Reports parent.
      * 
* - * - * 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) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -943,79 +851,55 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private int view_ = 0; /** - * - * *
      * Optional. The level of details of each report.
      * Defaults to BASIC.
      * 
* - * - * .google.cloud.vmmigration.v1.UtilizationReportView view = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.vmmigration.v1.UtilizationReportView view = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return The enum numeric value on the wire for view. */ - @java.lang.Override - public int getViewValue() { + @java.lang.Override public int getViewValue() { return view_; } /** - * - * *
      * Optional. The level of details of each report.
      * Defaults to BASIC.
      * 
* - * - * .google.cloud.vmmigration.v1.UtilizationReportView view = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.vmmigration.v1.UtilizationReportView view = 2 [(.google.api.field_behavior) = OPTIONAL]; * @param value The enum numeric value on the wire for view to set. * @return This builder for chaining. */ public Builder setViewValue(int value) { - + view_ = value; onChanged(); return this; } /** - * - * *
      * Optional. The level of details of each report.
      * Defaults to BASIC.
      * 
* - * - * .google.cloud.vmmigration.v1.UtilizationReportView view = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.vmmigration.v1.UtilizationReportView view = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return The view. */ @java.lang.Override public com.google.cloud.vmmigration.v1.UtilizationReportView getView() { @SuppressWarnings("deprecation") - com.google.cloud.vmmigration.v1.UtilizationReportView result = - com.google.cloud.vmmigration.v1.UtilizationReportView.valueOf(view_); - return result == null - ? com.google.cloud.vmmigration.v1.UtilizationReportView.UNRECOGNIZED - : result; + com.google.cloud.vmmigration.v1.UtilizationReportView result = com.google.cloud.vmmigration.v1.UtilizationReportView.valueOf(view_); + return result == null ? com.google.cloud.vmmigration.v1.UtilizationReportView.UNRECOGNIZED : result; } /** - * - * *
      * Optional. The level of details of each report.
      * Defaults to BASIC.
      * 
* - * - * .google.cloud.vmmigration.v1.UtilizationReportView view = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.vmmigration.v1.UtilizationReportView view = 2 [(.google.api.field_behavior) = OPTIONAL]; * @param value The view to set. * @return This builder for chaining. */ @@ -1023,36 +907,29 @@ public Builder setView(com.google.cloud.vmmigration.v1.UtilizationReportView val if (value == null) { throw new NullPointerException(); } - + view_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Optional. The level of details of each report.
      * Defaults to BASIC.
      * 
* - * - * .google.cloud.vmmigration.v1.UtilizationReportView view = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.vmmigration.v1.UtilizationReportView view = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return This builder for chaining. */ public Builder clearView() { - + view_ = 0; onChanged(); return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * Optional. The maximum number of reports to return. The service may return
      * fewer than this value. If unspecified, at most 500 reports will be
@@ -1061,7 +938,6 @@ public Builder clearView() {
      * 
* * int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ @java.lang.Override @@ -1069,8 +945,6 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * Optional. The maximum number of reports to return. The service may return
      * fewer than this value. If unspecified, at most 500 reports will be
@@ -1079,19 +953,16 @@ public int getPageSize() {
      * 
* * int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** - * - * *
      * Optional. The maximum number of reports to return. The service may return
      * fewer than this value. If unspecified, at most 500 reports will be
@@ -1100,11 +971,10 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -1112,23 +982,21 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
-     * Required. A page token, received from a previous `ListUtilizationReports` call.
-     * Provide this to retrieve the subsequent page.
+     * Required. A page token, received from a previous `ListUtilizationReports`
+     * call. Provide this to retrieve the subsequent page.
      * When paginating, all other parameters provided to `ListUtilizationReports`
      * must match the call that provided the page token.
      * 
* * string page_token = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @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; @@ -1137,24 +1005,23 @@ public java.lang.String getPageToken() { } } /** - * - * *
-     * Required. A page token, received from a previous `ListUtilizationReports` call.
-     * Provide this to retrieve the subsequent page.
+     * Required. A page token, received from a previous `ListUtilizationReports`
+     * call. Provide this to retrieve the subsequent page.
      * When paginating, all other parameters provided to `ListUtilizationReports`
      * must match the call that provided the page token.
      * 
* * string page_token = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @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 { @@ -1162,70 +1029,63 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
-     * Required. A page token, received from a previous `ListUtilizationReports` call.
-     * Provide this to retrieve the subsequent page.
+     * Required. A page token, received from a previous `ListUtilizationReports`
+     * call. Provide this to retrieve the subsequent page.
      * When paginating, all other parameters provided to `ListUtilizationReports`
      * must match the call that provided the page token.
      * 
* * string page_token = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
-     * Required. A page token, received from a previous `ListUtilizationReports` call.
-     * Provide this to retrieve the subsequent page.
+     * Required. A page token, received from a previous `ListUtilizationReports`
+     * call. Provide this to retrieve the subsequent page.
      * When paginating, all other parameters provided to `ListUtilizationReports`
      * must match the call that provided the page token.
      * 
* * string page_token = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
-     * Required. A page token, received from a previous `ListUtilizationReports` call.
-     * Provide this to retrieve the subsequent page.
+     * Required. A page token, received from a previous `ListUtilizationReports`
+     * call. Provide this to retrieve the subsequent page.
      * When paginating, all other parameters provided to `ListUtilizationReports`
      * must match the call that provided the page token.
      * 
* * string page_token = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; @@ -1233,20 +1093,18 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { private java.lang.Object filter_ = ""; /** - * - * *
      * Optional. The filter request.
      * 
* * string filter = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; 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(); filter_ = s; return s; @@ -1255,21 +1113,20 @@ public java.lang.String getFilter() { } } /** - * - * *
      * Optional. The filter request.
      * 
* * string filter = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for filter. */ - public com.google.protobuf.ByteString getFilterBytes() { + public com.google.protobuf.ByteString + getFilterBytes() { java.lang.Object ref = filter_; 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); filter_ = b; return b; } else { @@ -1277,61 +1134,54 @@ public com.google.protobuf.ByteString getFilterBytes() { } } /** - * - * *
      * Optional. The filter request.
      * 
* * string filter = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter(java.lang.String value) { + public Builder setFilter( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; onChanged(); return this; } /** - * - * *
      * Optional. The filter request.
      * 
* * string filter = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** - * - * *
      * Optional. The filter request.
      * 
* * string filter = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes(com.google.protobuf.ByteString value) { + public Builder setFilterBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = value; onChanged(); return this; @@ -1339,20 +1189,18 @@ public Builder setFilterBytes(com.google.protobuf.ByteString value) { private java.lang.Object orderBy_ = ""; /** - * - * *
      * Optional. the order by fields for the result.
      * 
* * string order_by = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The orderBy. */ public java.lang.String getOrderBy() { java.lang.Object ref = orderBy_; 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(); orderBy_ = s; return s; @@ -1361,21 +1209,20 @@ public java.lang.String getOrderBy() { } } /** - * - * *
      * Optional. the order by fields for the result.
      * 
* * string order_by = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for orderBy. */ - public com.google.protobuf.ByteString getOrderByBytes() { + public com.google.protobuf.ByteString + getOrderByBytes() { java.lang.Object ref = orderBy_; 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); orderBy_ = b; return b; } else { @@ -1383,68 +1230,61 @@ public com.google.protobuf.ByteString getOrderByBytes() { } } /** - * - * *
      * Optional. the order by fields for the result.
      * 
* * string order_by = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The orderBy to set. * @return This builder for chaining. */ - public Builder setOrderBy(java.lang.String value) { + public Builder setOrderBy( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + orderBy_ = value; onChanged(); return this; } /** - * - * *
      * Optional. the order by fields for the result.
      * 
* * string order_by = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearOrderBy() { - + orderBy_ = getDefaultInstance().getOrderBy(); onChanged(); return this; } /** - * - * *
      * Optional. the order by fields for the result.
      * 
* * string order_by = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for orderBy to set. * @return This builder for chaining. */ - public Builder setOrderByBytes(com.google.protobuf.ByteString value) { + public Builder setOrderByBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + orderBy_ = 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); } @@ -1454,13 +1294,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.vmmigration.v1.ListUtilizationReportsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.vmmigration.v1.ListUtilizationReportsRequest) - private static final com.google.cloud.vmmigration.v1.ListUtilizationReportsRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.vmmigration.v1.ListUtilizationReportsRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.vmmigration.v1.ListUtilizationReportsRequest(); } @@ -1469,16 +1308,16 @@ public static com.google.cloud.vmmigration.v1.ListUtilizationReportsRequest getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListUtilizationReportsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListUtilizationReportsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListUtilizationReportsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListUtilizationReportsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1493,4 +1332,6 @@ public com.google.protobuf.Parser getParserForTyp public com.google.cloud.vmmigration.v1.ListUtilizationReportsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListUtilizationReportsRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListUtilizationReportsRequestOrBuilder.java similarity index 63% rename from proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListUtilizationReportsRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListUtilizationReportsRequestOrBuilder.java index c2d64db..a2a2421 100644 --- a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListUtilizationReportsRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListUtilizationReportsRequestOrBuilder.java @@ -1,91 +1,54 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; -public interface ListUtilizationReportsRequestOrBuilder - extends +public interface ListUtilizationReportsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.ListUtilizationReportsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The Utilization Reports parent.
    * 
* - * - * 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 Utilization Reports parent.
    * 
* - * - * 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(); /** - * - * *
    * Optional. The level of details of each report.
    * Defaults to BASIC.
    * 
* - * - * .google.cloud.vmmigration.v1.UtilizationReportView view = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.vmmigration.v1.UtilizationReportView view = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return The enum numeric value on the wire for view. */ int getViewValue(); /** - * - * *
    * Optional. The level of details of each report.
    * Defaults to BASIC.
    * 
* - * - * .google.cloud.vmmigration.v1.UtilizationReportView view = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.vmmigration.v1.UtilizationReportView view = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return The view. */ com.google.cloud.vmmigration.v1.UtilizationReportView getView(); /** - * - * *
    * Optional. The maximum number of reports to return. The service may return
    * fewer than this value. If unspecified, at most 500 reports will be
@@ -94,89 +57,73 @@ public interface ListUtilizationReportsRequestOrBuilder
    * 
* * int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
-   * Required. A page token, received from a previous `ListUtilizationReports` call.
-   * Provide this to retrieve the subsequent page.
+   * Required. A page token, received from a previous `ListUtilizationReports`
+   * call. Provide this to retrieve the subsequent page.
    * When paginating, all other parameters provided to `ListUtilizationReports`
    * must match the call that provided the page token.
    * 
* * string page_token = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
-   * Required. A page token, received from a previous `ListUtilizationReports` call.
-   * Provide this to retrieve the subsequent page.
+   * Required. A page token, received from a previous `ListUtilizationReports`
+   * call. Provide this to retrieve the subsequent page.
    * When paginating, all other parameters provided to `ListUtilizationReports`
    * must match the call that provided the page token.
    * 
* * string page_token = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); /** - * - * *
    * Optional. The filter request.
    * 
* * string filter = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The filter. */ java.lang.String getFilter(); /** - * - * *
    * Optional. The filter request.
    * 
* * string filter = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for filter. */ - com.google.protobuf.ByteString getFilterBytes(); + com.google.protobuf.ByteString + getFilterBytes(); /** - * - * *
    * Optional. the order by fields for the result.
    * 
* * string order_by = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The orderBy. */ java.lang.String getOrderBy(); /** - * - * *
    * Optional. the order by fields for the result.
    * 
* * string order_by = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for orderBy. */ - com.google.protobuf.ByteString getOrderByBytes(); + com.google.protobuf.ByteString + getOrderByBytes(); } diff --git a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListUtilizationReportsResponse.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListUtilizationReportsResponse.java similarity index 66% rename from proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListUtilizationReportsResponse.java rename to owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListUtilizationReportsResponse.java index 076c201..7aecc71 100644 --- a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListUtilizationReportsResponse.java +++ b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListUtilizationReportsResponse.java @@ -1,43 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; /** - * - * *
  * Response message for 'ListUtilizationReports' request.
  * 
* * Protobuf type {@code google.cloud.vmmigration.v1.ListUtilizationReportsResponse} */ -public final class ListUtilizationReportsResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListUtilizationReportsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.vmmigration.v1.ListUtilizationReportsResponse) ListUtilizationReportsResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListUtilizationReportsResponse.newBuilder() to construct. - private ListUtilizationReportsResponse( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ListUtilizationReportsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListUtilizationReportsResponse() { utilizationReports_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -46,15 +27,16 @@ private ListUtilizationReportsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListUtilizationReportsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListUtilizationReportsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -74,43 +56,37 @@ private ListUtilizationReportsResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - utilizationReports_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - utilizationReports_.add( - input.readMessage( - com.google.cloud.vmmigration.v1.UtilizationReport.parser(), - extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + utilizationReports_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + utilizationReports_.add( + input.readMessage(com.google.cloud.vmmigration.v1.UtilizationReport.parser(), extensionRegistry)); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - unreachable_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000002; - } - unreachable_.add(s); - break; + nextPageToken_ = s; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + unreachable_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000002; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + unreachable_.add(s); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -118,7 +94,8 @@ private ListUtilizationReportsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { utilizationReports_ = java.util.Collections.unmodifiableList(utilizationReports_); @@ -130,96 +107,72 @@ private ListUtilizationReportsResponse( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_ListUtilizationReportsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ListUtilizationReportsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_ListUtilizationReportsResponse_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ListUtilizationReportsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.ListUtilizationReportsResponse.class, - com.google.cloud.vmmigration.v1.ListUtilizationReportsResponse.Builder.class); + com.google.cloud.vmmigration.v1.ListUtilizationReportsResponse.class, com.google.cloud.vmmigration.v1.ListUtilizationReportsResponse.Builder.class); } public static final int UTILIZATION_REPORTS_FIELD_NUMBER = 1; private java.util.List utilizationReports_; /** - * - * *
    * Output only. The list of reports.
    * 
* - * - * repeated .google.cloud.vmmigration.v1.UtilizationReport utilization_reports = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.UtilizationReport utilization_reports = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public java.util.List - getUtilizationReportsList() { + public java.util.List getUtilizationReportsList() { return utilizationReports_; } /** - * - * *
    * Output only. The list of reports.
    * 
* - * - * repeated .google.cloud.vmmigration.v1.UtilizationReport utilization_reports = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.UtilizationReport utilization_reports = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public java.util.List + public java.util.List getUtilizationReportsOrBuilderList() { return utilizationReports_; } /** - * - * *
    * Output only. The list of reports.
    * 
* - * - * repeated .google.cloud.vmmigration.v1.UtilizationReport utilization_reports = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.UtilizationReport utilization_reports = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public int getUtilizationReportsCount() { return utilizationReports_.size(); } /** - * - * *
    * Output only. The list of reports.
    * 
* - * - * repeated .google.cloud.vmmigration.v1.UtilizationReport utilization_reports = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.UtilizationReport utilization_reports = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.cloud.vmmigration.v1.UtilizationReport getUtilizationReports(int index) { return utilizationReports_.get(index); } /** - * - * *
    * Output only. The list of reports.
    * 
* - * - * repeated .google.cloud.vmmigration.v1.UtilizationReport utilization_reports = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.UtilizationReport utilization_reports = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.cloud.vmmigration.v1.UtilizationReportOrBuilder getUtilizationReportsOrBuilder( @@ -230,15 +183,12 @@ public com.google.cloud.vmmigration.v1.UtilizationReportOrBuilder getUtilization public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** - * - * *
-   * Output only. A token, which can be sent as `page_token` to retrieve the next page.
-   * If this field is omitted, there are no subsequent pages.
+   * Output only. A token, which can be sent as `page_token` to retrieve the
+   * next page. If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The nextPageToken. */ @java.lang.Override @@ -247,30 +197,30 @@ 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. A token, which can be sent as `page_token` to retrieve the next page.
-   * If this field is omitted, there are no subsequent pages.
+   * Output only. A token, which can be sent as `page_token` to retrieve the
+   * next page. If this field is omitted, there are no subsequent pages.
    * 
* * 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 { @@ -281,42 +231,34 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { public static final int UNREACHABLE_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList unreachable_; /** - * - * *
    * Output only. Locations that could not be reached.
    * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return A list containing the unreachable. */ - public com.google.protobuf.ProtocolStringList getUnreachableList() { + public com.google.protobuf.ProtocolStringList + getUnreachableList() { return unreachable_; } /** - * - * *
    * Output only. Locations that could not be reached.
    * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** - * - * *
    * Output only. Locations that could not be reached.
    * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -324,23 +266,20 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** - * - * *
    * Output only. Locations that could not be reached.
    * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - public com.google.protobuf.ByteString getUnreachableBytes(int index) { + public com.google.protobuf.ByteString + getUnreachableBytes(int index) { return unreachable_.getByteString(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -352,7 +291,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 < utilizationReports_.size(); i++) { output.writeMessage(1, utilizationReports_.get(i)); } @@ -372,8 +312,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < utilizationReports_.size(); i++) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(1, utilizationReports_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, utilizationReports_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -394,17 +334,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.vmmigration.v1.ListUtilizationReportsResponse)) { return super.equals(obj); } - com.google.cloud.vmmigration.v1.ListUtilizationReportsResponse other = - (com.google.cloud.vmmigration.v1.ListUtilizationReportsResponse) obj; + com.google.cloud.vmmigration.v1.ListUtilizationReportsResponse other = (com.google.cloud.vmmigration.v1.ListUtilizationReportsResponse) obj; - if (!getUtilizationReportsList().equals(other.getUtilizationReportsList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; - if (!getUnreachableList().equals(other.getUnreachableList())) return false; + if (!getUtilizationReportsList() + .equals(other.getUtilizationReportsList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; + if (!getUnreachableList() + .equals(other.getUnreachableList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -432,127 +374,117 @@ public int hashCode() { } public static com.google.cloud.vmmigration.v1.ListUtilizationReportsResponse 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.vmmigration.v1.ListUtilizationReportsResponse 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.vmmigration.v1.ListUtilizationReportsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.vmmigration.v1.ListUtilizationReportsResponse 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.vmmigration.v1.ListUtilizationReportsResponse parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.vmmigration.v1.ListUtilizationReportsResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.vmmigration.v1.ListUtilizationReportsResponse 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.vmmigration.v1.ListUtilizationReportsResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.vmmigration.v1.ListUtilizationReportsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.vmmigration.v1.ListUtilizationReportsResponse 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.vmmigration.v1.ListUtilizationReportsResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.vmmigration.v1.ListUtilizationReportsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.vmmigration.v1.ListUtilizationReportsResponse 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.vmmigration.v1.ListUtilizationReportsResponse 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.vmmigration.v1.ListUtilizationReportsResponse 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.vmmigration.v1.ListUtilizationReportsResponse prototype) { + public static Builder newBuilder(com.google.cloud.vmmigration.v1.ListUtilizationReportsResponse 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; } /** - * - * *
    * Response message for 'ListUtilizationReports' request.
    * 
* * Protobuf type {@code google.cloud.vmmigration.v1.ListUtilizationReportsResponse} */ - 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.vmmigration.v1.ListUtilizationReportsResponse) com.google.cloud.vmmigration.v1.ListUtilizationReportsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_ListUtilizationReportsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ListUtilizationReportsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_ListUtilizationReportsResponse_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ListUtilizationReportsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.ListUtilizationReportsResponse.class, - com.google.cloud.vmmigration.v1.ListUtilizationReportsResponse.Builder.class); + com.google.cloud.vmmigration.v1.ListUtilizationReportsResponse.class, com.google.cloud.vmmigration.v1.ListUtilizationReportsResponse.Builder.class); } // Construct using com.google.cloud.vmmigration.v1.ListUtilizationReportsResponse.newBuilder() @@ -560,17 +492,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) { getUtilizationReportsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -588,14 +520,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_ListUtilizationReportsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ListUtilizationReportsResponse_descriptor; } @java.lang.Override - public com.google.cloud.vmmigration.v1.ListUtilizationReportsResponse - getDefaultInstanceForType() { + public com.google.cloud.vmmigration.v1.ListUtilizationReportsResponse getDefaultInstanceForType() { return com.google.cloud.vmmigration.v1.ListUtilizationReportsResponse.getDefaultInstance(); } @@ -610,8 +541,7 @@ public com.google.cloud.vmmigration.v1.ListUtilizationReportsResponse build() { @java.lang.Override public com.google.cloud.vmmigration.v1.ListUtilizationReportsResponse buildPartial() { - com.google.cloud.vmmigration.v1.ListUtilizationReportsResponse result = - new com.google.cloud.vmmigration.v1.ListUtilizationReportsResponse(this); + com.google.cloud.vmmigration.v1.ListUtilizationReportsResponse result = new com.google.cloud.vmmigration.v1.ListUtilizationReportsResponse(this); int from_bitField0_ = bitField0_; if (utilizationReportsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -636,39 +566,38 @@ public com.google.cloud.vmmigration.v1.ListUtilizationReportsResponse buildParti 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.vmmigration.v1.ListUtilizationReportsResponse) { - return mergeFrom((com.google.cloud.vmmigration.v1.ListUtilizationReportsResponse) other); + return mergeFrom((com.google.cloud.vmmigration.v1.ListUtilizationReportsResponse)other); } else { super.mergeFrom(other); return this; @@ -676,9 +605,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.vmmigration.v1.ListUtilizationReportsResponse other) { - if (other - == com.google.cloud.vmmigration.v1.ListUtilizationReportsResponse.getDefaultInstance()) - return this; + if (other == com.google.cloud.vmmigration.v1.ListUtilizationReportsResponse.getDefaultInstance()) return this; if (utilizationReportsBuilder_ == null) { if (!other.utilizationReports_.isEmpty()) { if (utilizationReports_.isEmpty()) { @@ -697,10 +624,9 @@ public Builder mergeFrom(com.google.cloud.vmmigration.v1.ListUtilizationReportsR utilizationReportsBuilder_ = null; utilizationReports_ = other.utilizationReports_; bitField0_ = (bitField0_ & ~0x00000001); - utilizationReportsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getUtilizationReportsFieldBuilder() - : null; + utilizationReportsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getUtilizationReportsFieldBuilder() : null; } else { utilizationReportsBuilder_.addAllMessages(other.utilizationReports_); } @@ -739,9 +665,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.vmmigration.v1.ListUtilizationReportsResponse) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.vmmigration.v1.ListUtilizationReportsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -750,40 +674,28 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.util.List utilizationReports_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureUtilizationReportsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - utilizationReports_ = - new java.util.ArrayList( - utilizationReports_); + utilizationReports_ = new java.util.ArrayList(utilizationReports_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.vmmigration.v1.UtilizationReport, - com.google.cloud.vmmigration.v1.UtilizationReport.Builder, - com.google.cloud.vmmigration.v1.UtilizationReportOrBuilder> - utilizationReportsBuilder_; + com.google.cloud.vmmigration.v1.UtilizationReport, com.google.cloud.vmmigration.v1.UtilizationReport.Builder, com.google.cloud.vmmigration.v1.UtilizationReportOrBuilder> utilizationReportsBuilder_; /** - * - * *
      * Output only. The list of reports.
      * 
* - * - * repeated .google.cloud.vmmigration.v1.UtilizationReport utilization_reports = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.UtilizationReport utilization_reports = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public java.util.List - getUtilizationReportsList() { + public java.util.List getUtilizationReportsList() { if (utilizationReportsBuilder_ == null) { return java.util.Collections.unmodifiableList(utilizationReports_); } else { @@ -791,15 +703,11 @@ private void ensureUtilizationReportsIsMutable() { } } /** - * - * *
      * Output only. The list of reports.
      * 
* - * - * repeated .google.cloud.vmmigration.v1.UtilizationReport utilization_reports = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.UtilizationReport utilization_reports = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public int getUtilizationReportsCount() { if (utilizationReportsBuilder_ == null) { @@ -809,15 +717,11 @@ public int getUtilizationReportsCount() { } } /** - * - * *
      * Output only. The list of reports.
      * 
* - * - * repeated .google.cloud.vmmigration.v1.UtilizationReport utilization_reports = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.UtilizationReport utilization_reports = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.vmmigration.v1.UtilizationReport getUtilizationReports(int index) { if (utilizationReportsBuilder_ == null) { @@ -827,15 +731,11 @@ public com.google.cloud.vmmigration.v1.UtilizationReport getUtilizationReports(i } } /** - * - * *
      * Output only. The list of reports.
      * 
* - * - * repeated .google.cloud.vmmigration.v1.UtilizationReport utilization_reports = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.UtilizationReport utilization_reports = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setUtilizationReports( int index, com.google.cloud.vmmigration.v1.UtilizationReport value) { @@ -852,15 +752,11 @@ public Builder setUtilizationReports( return this; } /** - * - * *
      * Output only. The list of reports.
      * 
* - * - * repeated .google.cloud.vmmigration.v1.UtilizationReport utilization_reports = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.UtilizationReport utilization_reports = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setUtilizationReports( int index, com.google.cloud.vmmigration.v1.UtilizationReport.Builder builderForValue) { @@ -874,15 +770,11 @@ public Builder setUtilizationReports( return this; } /** - * - * *
      * Output only. The list of reports.
      * 
* - * - * repeated .google.cloud.vmmigration.v1.UtilizationReport utilization_reports = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.UtilizationReport utilization_reports = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addUtilizationReports(com.google.cloud.vmmigration.v1.UtilizationReport value) { if (utilizationReportsBuilder_ == null) { @@ -898,15 +790,11 @@ public Builder addUtilizationReports(com.google.cloud.vmmigration.v1.Utilization return this; } /** - * - * *
      * Output only. The list of reports.
      * 
* - * - * repeated .google.cloud.vmmigration.v1.UtilizationReport utilization_reports = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.UtilizationReport utilization_reports = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addUtilizationReports( int index, com.google.cloud.vmmigration.v1.UtilizationReport value) { @@ -923,15 +811,11 @@ public Builder addUtilizationReports( return this; } /** - * - * *
      * Output only. The list of reports.
      * 
* - * - * repeated .google.cloud.vmmigration.v1.UtilizationReport utilization_reports = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.UtilizationReport utilization_reports = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addUtilizationReports( com.google.cloud.vmmigration.v1.UtilizationReport.Builder builderForValue) { @@ -945,15 +829,11 @@ public Builder addUtilizationReports( return this; } /** - * - * *
      * Output only. The list of reports.
      * 
* - * - * repeated .google.cloud.vmmigration.v1.UtilizationReport utilization_reports = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.UtilizationReport utilization_reports = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addUtilizationReports( int index, com.google.cloud.vmmigration.v1.UtilizationReport.Builder builderForValue) { @@ -967,21 +847,18 @@ public Builder addUtilizationReports( return this; } /** - * - * *
      * Output only. The list of reports.
      * 
* - * - * repeated .google.cloud.vmmigration.v1.UtilizationReport utilization_reports = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.UtilizationReport utilization_reports = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addAllUtilizationReports( java.lang.Iterable values) { if (utilizationReportsBuilder_ == null) { ensureUtilizationReportsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, utilizationReports_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, utilizationReports_); onChanged(); } else { utilizationReportsBuilder_.addAllMessages(values); @@ -989,15 +866,11 @@ public Builder addAllUtilizationReports( return this; } /** - * - * *
      * Output only. The list of reports.
      * 
* - * - * repeated .google.cloud.vmmigration.v1.UtilizationReport utilization_reports = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.UtilizationReport utilization_reports = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearUtilizationReports() { if (utilizationReportsBuilder_ == null) { @@ -1010,15 +883,11 @@ public Builder clearUtilizationReports() { return this; } /** - * - * *
      * Output only. The list of reports.
      * 
* - * - * repeated .google.cloud.vmmigration.v1.UtilizationReport utilization_reports = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.UtilizationReport utilization_reports = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder removeUtilizationReports(int index) { if (utilizationReportsBuilder_ == null) { @@ -1031,52 +900,39 @@ public Builder removeUtilizationReports(int index) { return this; } /** - * - * *
      * Output only. The list of reports.
      * 
* - * - * repeated .google.cloud.vmmigration.v1.UtilizationReport utilization_reports = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.UtilizationReport utilization_reports = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.vmmigration.v1.UtilizationReport.Builder getUtilizationReportsBuilder( int index) { return getUtilizationReportsFieldBuilder().getBuilder(index); } /** - * - * *
      * Output only. The list of reports.
      * 
* - * - * repeated .google.cloud.vmmigration.v1.UtilizationReport utilization_reports = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.UtilizationReport utilization_reports = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.vmmigration.v1.UtilizationReportOrBuilder - getUtilizationReportsOrBuilder(int index) { + public com.google.cloud.vmmigration.v1.UtilizationReportOrBuilder getUtilizationReportsOrBuilder( + int index) { if (utilizationReportsBuilder_ == null) { - return utilizationReports_.get(index); - } else { + return utilizationReports_.get(index); } else { return utilizationReportsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Output only. The list of reports.
      * 
* - * - * repeated .google.cloud.vmmigration.v1.UtilizationReport utilization_reports = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.UtilizationReport utilization_reports = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public java.util.List - getUtilizationReportsOrBuilderList() { + public java.util.List + getUtilizationReportsOrBuilderList() { if (utilizationReportsBuilder_ != null) { return utilizationReportsBuilder_.getMessageOrBuilderList(); } else { @@ -1084,65 +940,45 @@ public com.google.cloud.vmmigration.v1.UtilizationReport.Builder getUtilizationR } } /** - * - * *
      * Output only. The list of reports.
      * 
* - * - * repeated .google.cloud.vmmigration.v1.UtilizationReport utilization_reports = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.UtilizationReport utilization_reports = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.vmmigration.v1.UtilizationReport.Builder - addUtilizationReportsBuilder() { - return getUtilizationReportsFieldBuilder() - .addBuilder(com.google.cloud.vmmigration.v1.UtilizationReport.getDefaultInstance()); + public com.google.cloud.vmmigration.v1.UtilizationReport.Builder addUtilizationReportsBuilder() { + return getUtilizationReportsFieldBuilder().addBuilder( + com.google.cloud.vmmigration.v1.UtilizationReport.getDefaultInstance()); } /** - * - * *
      * Output only. The list of reports.
      * 
* - * - * repeated .google.cloud.vmmigration.v1.UtilizationReport utilization_reports = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.UtilizationReport utilization_reports = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.vmmigration.v1.UtilizationReport.Builder addUtilizationReportsBuilder( int index) { - return getUtilizationReportsFieldBuilder() - .addBuilder( - index, com.google.cloud.vmmigration.v1.UtilizationReport.getDefaultInstance()); + return getUtilizationReportsFieldBuilder().addBuilder( + index, com.google.cloud.vmmigration.v1.UtilizationReport.getDefaultInstance()); } /** - * - * *
      * Output only. The list of reports.
      * 
* - * - * repeated .google.cloud.vmmigration.v1.UtilizationReport utilization_reports = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.UtilizationReport utilization_reports = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public java.util.List - getUtilizationReportsBuilderList() { + public java.util.List + getUtilizationReportsBuilderList() { return getUtilizationReportsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.vmmigration.v1.UtilizationReport, - com.google.cloud.vmmigration.v1.UtilizationReport.Builder, - com.google.cloud.vmmigration.v1.UtilizationReportOrBuilder> + com.google.cloud.vmmigration.v1.UtilizationReport, com.google.cloud.vmmigration.v1.UtilizationReport.Builder, com.google.cloud.vmmigration.v1.UtilizationReportOrBuilder> getUtilizationReportsFieldBuilder() { if (utilizationReportsBuilder_ == null) { - utilizationReportsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.vmmigration.v1.UtilizationReport, - com.google.cloud.vmmigration.v1.UtilizationReport.Builder, - com.google.cloud.vmmigration.v1.UtilizationReportOrBuilder>( + utilizationReportsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.vmmigration.v1.UtilizationReport, com.google.cloud.vmmigration.v1.UtilizationReport.Builder, com.google.cloud.vmmigration.v1.UtilizationReportOrBuilder>( utilizationReports_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -1154,21 +990,19 @@ public com.google.cloud.vmmigration.v1.UtilizationReport.Builder addUtilizationR private java.lang.Object nextPageToken_ = ""; /** - * - * *
-     * Output only. A token, which can be sent as `page_token` to retrieve the next page.
-     * If this field is omitted, there are no subsequent pages.
+     * Output only. A token, which can be sent as `page_token` to retrieve the
+     * next page. If this field is omitted, there are no subsequent pages.
      * 
* * 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; @@ -1177,22 +1011,21 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
-     * Output only. A token, which can be sent as `page_token` to retrieve the next page.
-     * If this field is omitted, there are no subsequent pages.
+     * Output only. A token, which can be sent as `page_token` to retrieve the
+     * next page. If this field is omitted, there are no subsequent pages.
      * 
* * 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 { @@ -1200,115 +1033,98 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
-     * Output only. A token, which can be sent as `page_token` to retrieve the next page.
-     * If this field is omitted, there are no subsequent pages.
+     * Output only. A token, which can be sent as `page_token` to retrieve the
+     * next page. If this field is omitted, there are no subsequent pages.
      * 
* * 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) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** - * - * *
-     * Output only. A token, which can be sent as `page_token` to retrieve the next page.
-     * If this field is omitted, there are no subsequent pages.
+     * Output only. A token, which can be sent as `page_token` to retrieve the
+     * next page. If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
-     * Output only. A token, which can be sent as `page_token` to retrieve the next page.
-     * If this field is omitted, there are no subsequent pages.
+     * Output only. A token, which can be sent as `page_token` to retrieve the
+     * next page. If this field is omitted, there are no subsequent pages.
      * 
* * 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) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList unreachable_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList unreachable_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureUnreachableIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { unreachable_ = new com.google.protobuf.LazyStringArrayList(unreachable_); bitField0_ |= 0x00000002; - } + } } /** - * - * *
      * Output only. Locations that could not be reached.
      * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return A list containing the unreachable. */ - public com.google.protobuf.ProtocolStringList getUnreachableList() { + public com.google.protobuf.ProtocolStringList + getUnreachableList() { return unreachable_.getUnmodifiableView(); } /** - * - * *
      * Output only. Locations that could not be reached.
      * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** - * - * *
      * Output only. Locations that could not be reached.
      * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -1316,90 +1132,80 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** - * - * *
      * Output only. Locations that could not be reached.
      * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - public com.google.protobuf.ByteString getUnreachableBytes(int index) { + public com.google.protobuf.ByteString + getUnreachableBytes(int index) { return unreachable_.getByteString(index); } /** - * - * *
      * Output only. Locations that could not be reached.
      * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param index The index to set the value at. * @param value The unreachable to set. * @return This builder for chaining. */ - public Builder setUnreachable(int index, java.lang.String value) { + public Builder setUnreachable( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUnreachableIsMutable(); + throw new NullPointerException(); + } + ensureUnreachableIsMutable(); unreachable_.set(index, value); onChanged(); return this; } /** - * - * *
      * Output only. Locations that could not be reached.
      * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The unreachable to add. * @return This builder for chaining. */ - public Builder addUnreachable(java.lang.String value) { + public Builder addUnreachable( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUnreachableIsMutable(); + throw new NullPointerException(); + } + ensureUnreachableIsMutable(); unreachable_.add(value); onChanged(); return this; } /** - * - * *
      * Output only. Locations that could not be reached.
      * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param values The unreachable to add. * @return This builder for chaining. */ - public Builder addAllUnreachable(java.lang.Iterable values) { + public Builder addAllUnreachable( + java.lang.Iterable values) { ensureUnreachableIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, unreachable_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, unreachable_); onChanged(); return this; } /** - * - * *
      * Output only. Locations that could not be reached.
      * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearUnreachable() { @@ -1409,30 +1215,28 @@ public Builder clearUnreachable() { return this; } /** - * - * *
      * Output only. Locations that could not be reached.
      * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes of the unreachable to add. * @return This builder for chaining. */ - public Builder addUnreachableBytes(com.google.protobuf.ByteString value) { + public Builder addUnreachableBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureUnreachableIsMutable(); unreachable_.add(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); } @@ -1442,32 +1246,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.vmmigration.v1.ListUtilizationReportsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.vmmigration.v1.ListUtilizationReportsResponse) - private static final com.google.cloud.vmmigration.v1.ListUtilizationReportsResponse - DEFAULT_INSTANCE; - + private static final com.google.cloud.vmmigration.v1.ListUtilizationReportsResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.vmmigration.v1.ListUtilizationReportsResponse(); } - public static com.google.cloud.vmmigration.v1.ListUtilizationReportsResponse - getDefaultInstance() { + public static com.google.cloud.vmmigration.v1.ListUtilizationReportsResponse getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListUtilizationReportsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListUtilizationReportsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListUtilizationReportsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListUtilizationReportsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1479,8 +1281,9 @@ public com.google.protobuf.Parser getParserForTy } @java.lang.Override - public com.google.cloud.vmmigration.v1.ListUtilizationReportsResponse - getDefaultInstanceForType() { + public com.google.cloud.vmmigration.v1.ListUtilizationReportsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListUtilizationReportsResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListUtilizationReportsResponseOrBuilder.java similarity index 58% rename from proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListUtilizationReportsResponseOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListUtilizationReportsResponseOrBuilder.java index 26f02e2..b234c80 100644 --- a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListUtilizationReportsResponseOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListUtilizationReportsResponseOrBuilder.java @@ -1,166 +1,116 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; -public interface ListUtilizationReportsResponseOrBuilder - extends +public interface ListUtilizationReportsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.ListUtilizationReportsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Output only. The list of reports.
    * 
* - * - * repeated .google.cloud.vmmigration.v1.UtilizationReport utilization_reports = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.UtilizationReport utilization_reports = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - java.util.List getUtilizationReportsList(); + java.util.List + getUtilizationReportsList(); /** - * - * *
    * Output only. The list of reports.
    * 
* - * - * repeated .google.cloud.vmmigration.v1.UtilizationReport utilization_reports = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.UtilizationReport utilization_reports = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.cloud.vmmigration.v1.UtilizationReport getUtilizationReports(int index); /** - * - * *
    * Output only. The list of reports.
    * 
* - * - * repeated .google.cloud.vmmigration.v1.UtilizationReport utilization_reports = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.UtilizationReport utilization_reports = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ int getUtilizationReportsCount(); /** - * - * *
    * Output only. The list of reports.
    * 
* - * - * repeated .google.cloud.vmmigration.v1.UtilizationReport utilization_reports = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.UtilizationReport utilization_reports = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - java.util.List + java.util.List getUtilizationReportsOrBuilderList(); /** - * - * *
    * Output only. The list of reports.
    * 
* - * - * repeated .google.cloud.vmmigration.v1.UtilizationReport utilization_reports = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.vmmigration.v1.UtilizationReport utilization_reports = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.cloud.vmmigration.v1.UtilizationReportOrBuilder getUtilizationReportsOrBuilder( int index); /** - * - * *
-   * Output only. A token, which can be sent as `page_token` to retrieve the next page.
-   * If this field is omitted, there are no subsequent pages.
+   * Output only. A token, which can be sent as `page_token` to retrieve the
+   * next page. If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
-   * Output only. A token, which can be sent as `page_token` to retrieve the next page.
-   * If this field is omitted, there are no subsequent pages.
+   * Output only. A token, which can be sent as `page_token` to retrieve the
+   * next page. If this field is omitted, there are no subsequent pages.
    * 
* * 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(); /** - * - * *
    * Output only. Locations that could not be reached.
    * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return A list containing the unreachable. */ - java.util.List getUnreachableList(); + java.util.List + getUnreachableList(); /** - * - * *
    * Output only. Locations that could not be reached.
    * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The count of unreachable. */ int getUnreachableCount(); /** - * - * *
    * Output only. Locations that could not be reached.
    * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param index The index of the element to return. * @return The unreachable at the given index. */ java.lang.String getUnreachable(int index); /** - * - * *
    * Output only. Locations that could not be reached.
    * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - com.google.protobuf.ByteString getUnreachableBytes(int index); + com.google.protobuf.ByteString + getUnreachableBytes(int index); } diff --git a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/LocationName.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/LocationName.java similarity index 100% rename from proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/LocationName.java rename to owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/LocationName.java diff --git a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/MigratingVm.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/MigratingVm.java new file mode 100644 index 0000000..6cc3c36 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/MigratingVm.java @@ -0,0 +1,5152 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/vmmigration/v1/vmmigration.proto + +package com.google.cloud.vmmigration.v1; + +/** + *
+ * MigratingVm describes the VM that will be migrated from a Source environment
+ * and its replication state.
+ * 
+ * + * Protobuf type {@code google.cloud.vmmigration.v1.MigratingVm} + */ +public final class MigratingVm extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:google.cloud.vmmigration.v1.MigratingVm) + MigratingVmOrBuilder { +private static final long serialVersionUID = 0L; + // Use MigratingVm.newBuilder() to construct. + private MigratingVm(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private MigratingVm() { + name_ = ""; + sourceVmId_ = ""; + displayName_ = ""; + description_ = ""; + state_ = 0; + group_ = ""; + recentCloneJobs_ = java.util.Collections.emptyList(); + recentCutoverJobs_ = java.util.Collections.emptyList(); + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new MigratingVm(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private MigratingVm( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + + name_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + + sourceVmId_ = s; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + + description_ = s; + break; + } + case 66: { + com.google.cloud.vmmigration.v1.SchedulePolicy.Builder subBuilder = null; + if (policy_ != null) { + subBuilder = policy_.toBuilder(); + } + policy_ = input.readMessage(com.google.cloud.vmmigration.v1.SchedulePolicy.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(policy_); + policy_ = subBuilder.buildPartial(); + } + + break; + } + case 74: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); + } + createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); + } + + break; + } + case 82: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (updateTime_ != null) { + subBuilder = updateTime_.toBuilder(); + } + updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateTime_); + updateTime_ = subBuilder.buildPartial(); + } + + break; + } + case 90: { + com.google.cloud.vmmigration.v1.ReplicationSync.Builder subBuilder = null; + if (lastSync_ != null) { + subBuilder = lastSync_.toBuilder(); + } + lastSync_ = input.readMessage(com.google.cloud.vmmigration.v1.ReplicationSync.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(lastSync_); + lastSync_ = subBuilder.buildPartial(); + } + + break; + } + case 106: { + com.google.cloud.vmmigration.v1.ReplicationCycle.Builder subBuilder = null; + if (currentSyncInfo_ != null) { + subBuilder = currentSyncInfo_.toBuilder(); + } + currentSyncInfo_ = input.readMessage(com.google.cloud.vmmigration.v1.ReplicationCycle.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(currentSyncInfo_); + currentSyncInfo_ = subBuilder.buildPartial(); + } + + break; + } + case 122: { + java.lang.String s = input.readStringRequireUtf8(); + + group_ = s; + break; + } + case 130: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + labels_ = com.google.protobuf.MapField.newMapField( + LabelsDefaultEntryHolder.defaultEntry); + mutable_bitField0_ |= 0x00000001; + } + com.google.protobuf.MapEntry + labels__ = input.readMessage( + LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + labels_.getMutableMap().put( + labels__.getKey(), labels__.getValue()); + break; + } + case 138: { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + recentCloneJobs_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000002; + } + recentCloneJobs_.add( + input.readMessage(com.google.cloud.vmmigration.v1.CloneJob.parser(), extensionRegistry)); + break; + } + case 146: { + java.lang.String s = input.readStringRequireUtf8(); + + displayName_ = s; + break; + } + case 154: { + com.google.rpc.Status.Builder subBuilder = null; + if (error_ != null) { + subBuilder = error_.toBuilder(); + } + error_ = input.readMessage(com.google.rpc.Status.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(error_); + error_ = subBuilder.buildPartial(); + } + + break; + } + case 162: { + if (!((mutable_bitField0_ & 0x00000004) != 0)) { + recentCutoverJobs_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000004; + } + recentCutoverJobs_.add( + input.readMessage(com.google.cloud.vmmigration.v1.CutoverJob.parser(), extensionRegistry)); + break; + } + case 178: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (stateTime_ != null) { + subBuilder = stateTime_.toBuilder(); + } + stateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(stateTime_); + stateTime_ = subBuilder.buildPartial(); + } + + break; + } + case 184: { + int rawValue = input.readEnum(); + + state_ = rawValue; + break; + } + case 210: { + com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaults.Builder subBuilder = null; + if (targetVmDefaultsCase_ == 26) { + subBuilder = ((com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaults) targetVmDefaults_).toBuilder(); + } + targetVmDefaults_ = + input.readMessage(com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaults.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaults) targetVmDefaults_); + targetVmDefaults_ = subBuilder.buildPartial(); + } + targetVmDefaultsCase_ = 26; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + if (((mutable_bitField0_ & 0x00000002) != 0)) { + recentCloneJobs_ = java.util.Collections.unmodifiableList(recentCloneJobs_); + } + if (((mutable_bitField0_ & 0x00000004) != 0)) { + recentCutoverJobs_ = java.util.Collections.unmodifiableList(recentCutoverJobs_); + } + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_MigratingVm_descriptor; + } + + @SuppressWarnings({"rawtypes"}) + @java.lang.Override + protected com.google.protobuf.MapField internalGetMapField( + int number) { + switch (number) { + case 16: + return internalGetLabels(); + default: + throw new RuntimeException( + "Invalid map field number: " + number); + } + } + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_MigratingVm_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.vmmigration.v1.MigratingVm.class, com.google.cloud.vmmigration.v1.MigratingVm.Builder.class); + } + + /** + *
+   * The possible values of the state/health of source VM.
+   * 
+ * + * Protobuf enum {@code google.cloud.vmmigration.v1.MigratingVm.State} + */ + public enum State + implements com.google.protobuf.ProtocolMessageEnum { + /** + *
+     * The state was not sampled by the health checks yet.
+     * 
+ * + * STATE_UNSPECIFIED = 0; + */ + STATE_UNSPECIFIED(0), + /** + *
+     * The VM in the source is being verified.
+     * 
+ * + * PENDING = 1; + */ + PENDING(1), + /** + *
+     * The source VM was verified, and it's ready to start replication.
+     * 
+ * + * READY = 2; + */ + READY(2), + /** + *
+     * Migration is going through the first sync cycle.
+     * 
+ * + * FIRST_SYNC = 3; + */ + FIRST_SYNC(3), + /** + *
+     * The replication is active, and it's running or scheduled to run.
+     * 
+ * + * ACTIVE = 4; + */ + ACTIVE(4), + /** + *
+     * The source VM is being turned off, and a final replication is currently
+     * running.
+     * 
+ * + * CUTTING_OVER = 7; + */ + CUTTING_OVER(7), + /** + *
+     * The source VM was stopped and replicated. The replication is currently
+     * paused.
+     * 
+ * + * CUTOVER = 8; + */ + CUTOVER(8), + /** + *
+     * A cutover job is active and replication cycle is running the final sync.
+     * 
+ * + * FINAL_SYNC = 9; + */ + FINAL_SYNC(9), + /** + *
+     * The replication was paused by the user and no cycles are scheduled to
+     * run.
+     * 
+ * + * PAUSED = 10; + */ + PAUSED(10), + /** + *
+     * The migrating VM is being finalized and migration resources are being
+     * removed.
+     * 
+ * + * FINALIZING = 11; + */ + FINALIZING(11), + /** + *
+     * The replication process is done. The migrating VM is finalized and no
+     * longer consumes billable resources.
+     * 
+ * + * FINALIZED = 12; + */ + FINALIZED(12), + /** + *
+     * The replication process encountered an unrecoverable error and was
+     * aborted.
+     * 
+ * + * ERROR = 13; + */ + ERROR(13), + UNRECOGNIZED(-1), + ; + + /** + *
+     * The state was not sampled by the health checks yet.
+     * 
+ * + * STATE_UNSPECIFIED = 0; + */ + public static final int STATE_UNSPECIFIED_VALUE = 0; + /** + *
+     * The VM in the source is being verified.
+     * 
+ * + * PENDING = 1; + */ + public static final int PENDING_VALUE = 1; + /** + *
+     * The source VM was verified, and it's ready to start replication.
+     * 
+ * + * READY = 2; + */ + public static final int READY_VALUE = 2; + /** + *
+     * Migration is going through the first sync cycle.
+     * 
+ * + * FIRST_SYNC = 3; + */ + public static final int FIRST_SYNC_VALUE = 3; + /** + *
+     * The replication is active, and it's running or scheduled to run.
+     * 
+ * + * ACTIVE = 4; + */ + public static final int ACTIVE_VALUE = 4; + /** + *
+     * The source VM is being turned off, and a final replication is currently
+     * running.
+     * 
+ * + * CUTTING_OVER = 7; + */ + public static final int CUTTING_OVER_VALUE = 7; + /** + *
+     * The source VM was stopped and replicated. The replication is currently
+     * paused.
+     * 
+ * + * CUTOVER = 8; + */ + public static final int CUTOVER_VALUE = 8; + /** + *
+     * A cutover job is active and replication cycle is running the final sync.
+     * 
+ * + * FINAL_SYNC = 9; + */ + public static final int FINAL_SYNC_VALUE = 9; + /** + *
+     * The replication was paused by the user and no cycles are scheduled to
+     * run.
+     * 
+ * + * PAUSED = 10; + */ + public static final int PAUSED_VALUE = 10; + /** + *
+     * The migrating VM is being finalized and migration resources are being
+     * removed.
+     * 
+ * + * FINALIZING = 11; + */ + public static final int FINALIZING_VALUE = 11; + /** + *
+     * The replication process is done. The migrating VM is finalized and no
+     * longer consumes billable resources.
+     * 
+ * + * FINALIZED = 12; + */ + public static final int FINALIZED_VALUE = 12; + /** + *
+     * The replication process encountered an unrecoverable error and was
+     * aborted.
+     * 
+ * + * ERROR = 13; + */ + public static final int ERROR_VALUE = 13; + + + public final int getNumber() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalArgumentException( + "Can't get the number of an unknown enum value."); + } + return value; + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static State valueOf(int value) { + return forNumber(value); + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ + public static State forNumber(int value) { + switch (value) { + case 0: return STATE_UNSPECIFIED; + case 1: return PENDING; + case 2: return READY; + case 3: return FIRST_SYNC; + case 4: return ACTIVE; + case 7: return CUTTING_OVER; + case 8: return CUTOVER; + case 9: return FINAL_SYNC; + case 10: return PAUSED; + case 11: return FINALIZING; + case 12: return FINALIZED; + case 13: return ERROR; + default: return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { + return internalValueMap; + } + private static final com.google.protobuf.Internal.EnumLiteMap< + State> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public State findValueByNumber(int number) { + return State.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() { + return getDescriptor(); + } + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.cloud.vmmigration.v1.MigratingVm.getDescriptor().getEnumTypes().get(0); + } + + private static final State[] VALUES = values(); + + public static State valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + if (desc.getType() != getDescriptor()) { + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); + } + if (desc.getIndex() == -1) { + return UNRECOGNIZED; + } + return VALUES[desc.getIndex()]; + } + + private final int value; + + private State(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:google.cloud.vmmigration.v1.MigratingVm.State) + } + + private int targetVmDefaultsCase_ = 0; + private java.lang.Object targetVmDefaults_; + public enum TargetVmDefaultsCase + implements com.google.protobuf.Internal.EnumLite, + com.google.protobuf.AbstractMessage.InternalOneOfEnum { + COMPUTE_ENGINE_TARGET_DEFAULTS(26), + TARGETVMDEFAULTS_NOT_SET(0); + private final int value; + private TargetVmDefaultsCase(int value) { + this.value = value; + } + /** + * @param value The number of the enum to look for. + * @return The enum associated with the given number. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static TargetVmDefaultsCase valueOf(int value) { + return forNumber(value); + } + + public static TargetVmDefaultsCase forNumber(int value) { + switch (value) { + case 26: return COMPUTE_ENGINE_TARGET_DEFAULTS; + case 0: return TARGETVMDEFAULTS_NOT_SET; + default: return null; + } + } + public int getNumber() { + return this.value; + } + }; + + public TargetVmDefaultsCase + getTargetVmDefaultsCase() { + return TargetVmDefaultsCase.forNumber( + targetVmDefaultsCase_); + } + + public static final int COMPUTE_ENGINE_TARGET_DEFAULTS_FIELD_NUMBER = 26; + /** + *
+   * Details of the target VM in Compute Engine.
+   * 
+ * + * .google.cloud.vmmigration.v1.ComputeEngineTargetDefaults compute_engine_target_defaults = 26; + * @return Whether the computeEngineTargetDefaults field is set. + */ + @java.lang.Override + public boolean hasComputeEngineTargetDefaults() { + return targetVmDefaultsCase_ == 26; + } + /** + *
+   * Details of the target VM in Compute Engine.
+   * 
+ * + * .google.cloud.vmmigration.v1.ComputeEngineTargetDefaults compute_engine_target_defaults = 26; + * @return The computeEngineTargetDefaults. + */ + @java.lang.Override + public com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaults getComputeEngineTargetDefaults() { + if (targetVmDefaultsCase_ == 26) { + return (com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaults) targetVmDefaults_; + } + return com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaults.getDefaultInstance(); + } + /** + *
+   * Details of the target VM in Compute Engine.
+   * 
+ * + * .google.cloud.vmmigration.v1.ComputeEngineTargetDefaults compute_engine_target_defaults = 26; + */ + @java.lang.Override + public com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaultsOrBuilder getComputeEngineTargetDefaultsOrBuilder() { + if (targetVmDefaultsCase_ == 26) { + return (com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaults) targetVmDefaults_; + } + return com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaults.getDefaultInstance(); + } + + public static final int NAME_FIELD_NUMBER = 1; + private volatile java.lang.Object name_; + /** + *
+   * Output only. The identifier of the MigratingVm.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @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; + } + } + /** + *
+   * Output only. The identifier of the MigratingVm.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @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 SOURCE_VM_ID_FIELD_NUMBER = 2; + private volatile java.lang.Object sourceVmId_; + /** + *
+   * The unique ID of the VM in the source.
+   * The VM's name in vSphere can be changed, so this is not the VM's name but
+   * rather its moRef id. This id is of the form vm-<num>.
+   * 
+ * + * string source_vm_id = 2; + * @return The sourceVmId. + */ + @java.lang.Override + public java.lang.String getSourceVmId() { + java.lang.Object ref = sourceVmId_; + 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(); + sourceVmId_ = s; + return s; + } + } + /** + *
+   * The unique ID of the VM in the source.
+   * The VM's name in vSphere can be changed, so this is not the VM's name but
+   * rather its moRef id. This id is of the form vm-<num>.
+   * 
+ * + * string source_vm_id = 2; + * @return The bytes for sourceVmId. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getSourceVmIdBytes() { + java.lang.Object ref = sourceVmId_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + sourceVmId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int DISPLAY_NAME_FIELD_NUMBER = 18; + private volatile java.lang.Object displayName_; + /** + *
+   * The display name attached to the MigratingVm by the user.
+   * 
+ * + * string display_name = 18; + * @return The displayName. + */ + @java.lang.Override + public java.lang.String getDisplayName() { + java.lang.Object ref = displayName_; + 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(); + displayName_ = s; + return s; + } + } + /** + *
+   * The display name attached to the MigratingVm by the user.
+   * 
+ * + * string display_name = 18; + * @return The bytes for displayName. + */ + @java.lang.Override + 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); + displayName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int DESCRIPTION_FIELD_NUMBER = 3; + private volatile java.lang.Object description_; + /** + *
+   * The description attached to the migrating VM by the user.
+   * 
+ * + * string description = 3; + * @return The description. + */ + @java.lang.Override + public java.lang.String getDescription() { + java.lang.Object ref = description_; + 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(); + description_ = s; + return s; + } + } + /** + *
+   * The description attached to the migrating VM by the user.
+   * 
+ * + * string description = 3; + * @return The bytes for description. + */ + @java.lang.Override + 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); + description_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int POLICY_FIELD_NUMBER = 8; + private com.google.cloud.vmmigration.v1.SchedulePolicy policy_; + /** + *
+   * The replication schedule policy.
+   * 
+ * + * .google.cloud.vmmigration.v1.SchedulePolicy policy = 8; + * @return Whether the policy field is set. + */ + @java.lang.Override + public boolean hasPolicy() { + return policy_ != null; + } + /** + *
+   * The replication schedule policy.
+   * 
+ * + * .google.cloud.vmmigration.v1.SchedulePolicy policy = 8; + * @return The policy. + */ + @java.lang.Override + public com.google.cloud.vmmigration.v1.SchedulePolicy getPolicy() { + return policy_ == null ? com.google.cloud.vmmigration.v1.SchedulePolicy.getDefaultInstance() : policy_; + } + /** + *
+   * The replication schedule policy.
+   * 
+ * + * .google.cloud.vmmigration.v1.SchedulePolicy policy = 8; + */ + @java.lang.Override + public com.google.cloud.vmmigration.v1.SchedulePolicyOrBuilder getPolicyOrBuilder() { + return getPolicy(); + } + + public static final int CREATE_TIME_FIELD_NUMBER = 9; + private com.google.protobuf.Timestamp createTime_; + /** + *
+   * Output only. The time the migrating VM was created (this refers to this
+   * resource and not to the time it was installed in the source).
+   * 
+ * + * .google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return Whether the createTime field is set. + */ + @java.lang.Override + public boolean hasCreateTime() { + return createTime_ != null; + } + /** + *
+   * Output only. The time the migrating VM was created (this refers to this
+   * resource and not to the time it was installed in the source).
+   * 
+ * + * .google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The createTime. + */ + @java.lang.Override + public com.google.protobuf.Timestamp getCreateTime() { + return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + } + /** + *
+   * Output only. The time the migrating VM was created (this refers to this
+   * resource and not to the time it was installed in the source).
+   * 
+ * + * .google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + @java.lang.Override + public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { + return getCreateTime(); + } + + public static final int UPDATE_TIME_FIELD_NUMBER = 10; + private com.google.protobuf.Timestamp updateTime_; + /** + *
+   * Output only. The last time the migrating VM resource was updated.
+   * 
+ * + * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return Whether the updateTime field is set. + */ + @java.lang.Override + public boolean hasUpdateTime() { + return updateTime_ != null; + } + /** + *
+   * Output only. The last time the migrating VM resource was updated.
+   * 
+ * + * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The updateTime. + */ + @java.lang.Override + public com.google.protobuf.Timestamp getUpdateTime() { + return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; + } + /** + *
+   * Output only. The last time the migrating VM resource was updated.
+   * 
+ * + * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + @java.lang.Override + public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { + return getUpdateTime(); + } + + public static final int LAST_SYNC_FIELD_NUMBER = 11; + private com.google.cloud.vmmigration.v1.ReplicationSync lastSync_; + /** + *
+   * Output only. The most updated snapshot created time in the source that
+   * finished replication.
+   * 
+ * + * .google.cloud.vmmigration.v1.ReplicationSync last_sync = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return Whether the lastSync field is set. + */ + @java.lang.Override + public boolean hasLastSync() { + return lastSync_ != null; + } + /** + *
+   * Output only. The most updated snapshot created time in the source that
+   * finished replication.
+   * 
+ * + * .google.cloud.vmmigration.v1.ReplicationSync last_sync = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The lastSync. + */ + @java.lang.Override + public com.google.cloud.vmmigration.v1.ReplicationSync getLastSync() { + return lastSync_ == null ? com.google.cloud.vmmigration.v1.ReplicationSync.getDefaultInstance() : lastSync_; + } + /** + *
+   * Output only. The most updated snapshot created time in the source that
+   * finished replication.
+   * 
+ * + * .google.cloud.vmmigration.v1.ReplicationSync last_sync = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + @java.lang.Override + public com.google.cloud.vmmigration.v1.ReplicationSyncOrBuilder getLastSyncOrBuilder() { + return getLastSync(); + } + + public static final int STATE_FIELD_NUMBER = 23; + private int state_; + /** + *
+   * Output only. State of the MigratingVm.
+   * 
+ * + * .google.cloud.vmmigration.v1.MigratingVm.State state = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The enum numeric value on the wire for state. + */ + @java.lang.Override public int getStateValue() { + return state_; + } + /** + *
+   * Output only. State of the MigratingVm.
+   * 
+ * + * .google.cloud.vmmigration.v1.MigratingVm.State state = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The state. + */ + @java.lang.Override public com.google.cloud.vmmigration.v1.MigratingVm.State getState() { + @SuppressWarnings("deprecation") + com.google.cloud.vmmigration.v1.MigratingVm.State result = com.google.cloud.vmmigration.v1.MigratingVm.State.valueOf(state_); + return result == null ? com.google.cloud.vmmigration.v1.MigratingVm.State.UNRECOGNIZED : result; + } + + public static final int STATE_TIME_FIELD_NUMBER = 22; + private com.google.protobuf.Timestamp stateTime_; + /** + *
+   * Output only. The last time the migrating VM state was updated.
+   * 
+ * + * .google.protobuf.Timestamp state_time = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return Whether the stateTime field is set. + */ + @java.lang.Override + public boolean hasStateTime() { + return stateTime_ != null; + } + /** + *
+   * Output only. The last time the migrating VM state was updated.
+   * 
+ * + * .google.protobuf.Timestamp state_time = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The stateTime. + */ + @java.lang.Override + public com.google.protobuf.Timestamp getStateTime() { + return stateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : stateTime_; + } + /** + *
+   * Output only. The last time the migrating VM state was updated.
+   * 
+ * + * .google.protobuf.Timestamp state_time = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + @java.lang.Override + public com.google.protobuf.TimestampOrBuilder getStateTimeOrBuilder() { + return getStateTime(); + } + + public static final int CURRENT_SYNC_INFO_FIELD_NUMBER = 13; + private com.google.cloud.vmmigration.v1.ReplicationCycle currentSyncInfo_; + /** + *
+   * Output only. The percentage progress of the current running replication
+   * cycle.
+   * 
+ * + * .google.cloud.vmmigration.v1.ReplicationCycle current_sync_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return Whether the currentSyncInfo field is set. + */ + @java.lang.Override + public boolean hasCurrentSyncInfo() { + return currentSyncInfo_ != null; + } + /** + *
+   * Output only. The percentage progress of the current running replication
+   * cycle.
+   * 
+ * + * .google.cloud.vmmigration.v1.ReplicationCycle current_sync_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The currentSyncInfo. + */ + @java.lang.Override + public com.google.cloud.vmmigration.v1.ReplicationCycle getCurrentSyncInfo() { + return currentSyncInfo_ == null ? com.google.cloud.vmmigration.v1.ReplicationCycle.getDefaultInstance() : currentSyncInfo_; + } + /** + *
+   * Output only. The percentage progress of the current running replication
+   * cycle.
+   * 
+ * + * .google.cloud.vmmigration.v1.ReplicationCycle current_sync_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + @java.lang.Override + public com.google.cloud.vmmigration.v1.ReplicationCycleOrBuilder getCurrentSyncInfoOrBuilder() { + return getCurrentSyncInfo(); + } + + public static final int GROUP_FIELD_NUMBER = 15; + private volatile java.lang.Object group_; + /** + *
+   * Output only. The group this migrating vm is included in, if any. The group
+   * is represented by the full path of the appropriate
+   * [Group][google.cloud.vmmigration.v1.Group] resource.
+   * 
+ * + * string group = 15 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * @return The group. + */ + @java.lang.Override + public java.lang.String getGroup() { + java.lang.Object ref = group_; + 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(); + group_ = s; + return s; + } + } + /** + *
+   * Output only. The group this migrating vm is included in, if any. The group
+   * is represented by the full path of the appropriate
+   * [Group][google.cloud.vmmigration.v1.Group] resource.
+   * 
+ * + * string group = 15 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * @return The bytes for group. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getGroupBytes() { + java.lang.Object ref = group_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + group_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int LABELS_FIELD_NUMBER = 16; + private static final class LabelsDefaultEntryHolder { + static final com.google.protobuf.MapEntry< + java.lang.String, java.lang.String> defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_MigratingVm_LabelsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); + } + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> labels_; + private com.google.protobuf.MapField + internalGetLabels() { + if (labels_ == null) { + return com.google.protobuf.MapField.emptyMapField( + LabelsDefaultEntryHolder.defaultEntry); + } + return labels_; + } + + public int getLabelsCount() { + return internalGetLabels().getMap().size(); + } + /** + *
+   * The labels of the migrating VM.
+   * 
+ * + * map<string, string> labels = 16; + */ + + @java.lang.Override + public boolean containsLabels( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + return internalGetLabels().getMap().containsKey(key); + } + /** + * Use {@link #getLabelsMap()} instead. + */ + @java.lang.Override + @java.lang.Deprecated + public java.util.Map getLabels() { + return getLabelsMap(); + } + /** + *
+   * The labels of the migrating VM.
+   * 
+ * + * map<string, string> labels = 16; + */ + @java.lang.Override + + public java.util.Map getLabelsMap() { + return internalGetLabels().getMap(); + } + /** + *
+   * The labels of the migrating VM.
+   * 
+ * + * map<string, string> labels = 16; + */ + @java.lang.Override + + public java.lang.String getLabelsOrDefault( + java.lang.String key, + java.lang.String defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetLabels().getMap(); + return map.containsKey(key) ? map.get(key) : defaultValue; + } + /** + *
+   * The labels of the migrating VM.
+   * 
+ * + * map<string, string> labels = 16; + */ + @java.lang.Override + + public java.lang.String getLabelsOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetLabels().getMap(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); + } + return map.get(key); + } + + public static final int RECENT_CLONE_JOBS_FIELD_NUMBER = 17; + private java.util.List recentCloneJobs_; + /** + *
+   * Output only. The recent [clone jobs][google.cloud.vmmigration.v1.CloneJob]
+   * performed on the migrating VM. This field holds the vm's last completed
+   * clone job and the vm's running clone job, if one exists.
+   * Note: To have this field populated you need to explicitly request it via
+   * the "view" parameter of the Get/List request.
+   * 
+ * + * repeated .google.cloud.vmmigration.v1.CloneJob recent_clone_jobs = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + @java.lang.Override + public java.util.List getRecentCloneJobsList() { + return recentCloneJobs_; + } + /** + *
+   * Output only. The recent [clone jobs][google.cloud.vmmigration.v1.CloneJob]
+   * performed on the migrating VM. This field holds the vm's last completed
+   * clone job and the vm's running clone job, if one exists.
+   * Note: To have this field populated you need to explicitly request it via
+   * the "view" parameter of the Get/List request.
+   * 
+ * + * repeated .google.cloud.vmmigration.v1.CloneJob recent_clone_jobs = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + @java.lang.Override + public java.util.List + getRecentCloneJobsOrBuilderList() { + return recentCloneJobs_; + } + /** + *
+   * Output only. The recent [clone jobs][google.cloud.vmmigration.v1.CloneJob]
+   * performed on the migrating VM. This field holds the vm's last completed
+   * clone job and the vm's running clone job, if one exists.
+   * Note: To have this field populated you need to explicitly request it via
+   * the "view" parameter of the Get/List request.
+   * 
+ * + * repeated .google.cloud.vmmigration.v1.CloneJob recent_clone_jobs = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + @java.lang.Override + public int getRecentCloneJobsCount() { + return recentCloneJobs_.size(); + } + /** + *
+   * Output only. The recent [clone jobs][google.cloud.vmmigration.v1.CloneJob]
+   * performed on the migrating VM. This field holds the vm's last completed
+   * clone job and the vm's running clone job, if one exists.
+   * Note: To have this field populated you need to explicitly request it via
+   * the "view" parameter of the Get/List request.
+   * 
+ * + * repeated .google.cloud.vmmigration.v1.CloneJob recent_clone_jobs = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + @java.lang.Override + public com.google.cloud.vmmigration.v1.CloneJob getRecentCloneJobs(int index) { + return recentCloneJobs_.get(index); + } + /** + *
+   * Output only. The recent [clone jobs][google.cloud.vmmigration.v1.CloneJob]
+   * performed on the migrating VM. This field holds the vm's last completed
+   * clone job and the vm's running clone job, if one exists.
+   * Note: To have this field populated you need to explicitly request it via
+   * the "view" parameter of the Get/List request.
+   * 
+ * + * repeated .google.cloud.vmmigration.v1.CloneJob recent_clone_jobs = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + @java.lang.Override + public com.google.cloud.vmmigration.v1.CloneJobOrBuilder getRecentCloneJobsOrBuilder( + int index) { + return recentCloneJobs_.get(index); + } + + public static final int ERROR_FIELD_NUMBER = 19; + private com.google.rpc.Status error_; + /** + *
+   * Output only. Provides details on the state of the Migrating VM in case of
+   * an error in replication.
+   * 
+ * + * .google.rpc.Status error = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return Whether the error field is set. + */ + @java.lang.Override + public boolean hasError() { + return error_ != null; + } + /** + *
+   * Output only. Provides details on the state of the Migrating VM in case of
+   * an error in replication.
+   * 
+ * + * .google.rpc.Status error = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The error. + */ + @java.lang.Override + public com.google.rpc.Status getError() { + return error_ == null ? com.google.rpc.Status.getDefaultInstance() : error_; + } + /** + *
+   * Output only. Provides details on the state of the Migrating VM in case of
+   * an error in replication.
+   * 
+ * + * .google.rpc.Status error = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + @java.lang.Override + public com.google.rpc.StatusOrBuilder getErrorOrBuilder() { + return getError(); + } + + public static final int RECENT_CUTOVER_JOBS_FIELD_NUMBER = 20; + private java.util.List recentCutoverJobs_; + /** + *
+   * Output only. The recent cutover jobs performed on the migrating VM.
+   * This field holds the vm's last completed cutover job and the vm's
+   * running cutover job, if one exists.
+   * Note: To have this field populated you need to explicitly request it via
+   * the "view" parameter of the Get/List request.
+   * 
+ * + * repeated .google.cloud.vmmigration.v1.CutoverJob recent_cutover_jobs = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + @java.lang.Override + public java.util.List getRecentCutoverJobsList() { + return recentCutoverJobs_; + } + /** + *
+   * Output only. The recent cutover jobs performed on the migrating VM.
+   * This field holds the vm's last completed cutover job and the vm's
+   * running cutover job, if one exists.
+   * Note: To have this field populated you need to explicitly request it via
+   * the "view" parameter of the Get/List request.
+   * 
+ * + * repeated .google.cloud.vmmigration.v1.CutoverJob recent_cutover_jobs = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + @java.lang.Override + public java.util.List + getRecentCutoverJobsOrBuilderList() { + return recentCutoverJobs_; + } + /** + *
+   * Output only. The recent cutover jobs performed on the migrating VM.
+   * This field holds the vm's last completed cutover job and the vm's
+   * running cutover job, if one exists.
+   * Note: To have this field populated you need to explicitly request it via
+   * the "view" parameter of the Get/List request.
+   * 
+ * + * repeated .google.cloud.vmmigration.v1.CutoverJob recent_cutover_jobs = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + @java.lang.Override + public int getRecentCutoverJobsCount() { + return recentCutoverJobs_.size(); + } + /** + *
+   * Output only. The recent cutover jobs performed on the migrating VM.
+   * This field holds the vm's last completed cutover job and the vm's
+   * running cutover job, if one exists.
+   * Note: To have this field populated you need to explicitly request it via
+   * the "view" parameter of the Get/List request.
+   * 
+ * + * repeated .google.cloud.vmmigration.v1.CutoverJob recent_cutover_jobs = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + @java.lang.Override + public com.google.cloud.vmmigration.v1.CutoverJob getRecentCutoverJobs(int index) { + return recentCutoverJobs_.get(index); + } + /** + *
+   * Output only. The recent cutover jobs performed on the migrating VM.
+   * This field holds the vm's last completed cutover job and the vm's
+   * running cutover job, if one exists.
+   * Note: To have this field populated you need to explicitly request it via
+   * the "view" parameter of the Get/List request.
+   * 
+ * + * repeated .google.cloud.vmmigration.v1.CutoverJob recent_cutover_jobs = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + @java.lang.Override + public com.google.cloud.vmmigration.v1.CutoverJobOrBuilder getRecentCutoverJobsOrBuilder( + int index) { + return recentCutoverJobs_.get(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_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sourceVmId_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, sourceVmId_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, description_); + } + if (policy_ != null) { + output.writeMessage(8, getPolicy()); + } + if (createTime_ != null) { + output.writeMessage(9, getCreateTime()); + } + if (updateTime_ != null) { + output.writeMessage(10, getUpdateTime()); + } + if (lastSync_ != null) { + output.writeMessage(11, getLastSync()); + } + if (currentSyncInfo_ != null) { + output.writeMessage(13, getCurrentSyncInfo()); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(group_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 15, group_); + } + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetLabels(), + LabelsDefaultEntryHolder.defaultEntry, + 16); + for (int i = 0; i < recentCloneJobs_.size(); i++) { + output.writeMessage(17, recentCloneJobs_.get(i)); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 18, displayName_); + } + if (error_ != null) { + output.writeMessage(19, getError()); + } + for (int i = 0; i < recentCutoverJobs_.size(); i++) { + output.writeMessage(20, recentCutoverJobs_.get(i)); + } + if (stateTime_ != null) { + output.writeMessage(22, getStateTime()); + } + if (state_ != com.google.cloud.vmmigration.v1.MigratingVm.State.STATE_UNSPECIFIED.getNumber()) { + output.writeEnum(23, state_); + } + if (targetVmDefaultsCase_ == 26) { + output.writeMessage(26, (com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaults) targetVmDefaults_); + } + unknownFields.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_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sourceVmId_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, sourceVmId_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, description_); + } + if (policy_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(8, getPolicy()); + } + if (createTime_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(9, getCreateTime()); + } + if (updateTime_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(10, getUpdateTime()); + } + if (lastSync_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(11, getLastSync()); + } + if (currentSyncInfo_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(13, getCurrentSyncInfo()); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(group_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(15, group_); + } + for (java.util.Map.Entry entry + : internalGetLabels().getMap().entrySet()) { + com.google.protobuf.MapEntry + labels__ = LabelsDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(16, labels__); + } + for (int i = 0; i < recentCloneJobs_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(17, recentCloneJobs_.get(i)); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(18, displayName_); + } + if (error_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(19, getError()); + } + for (int i = 0; i < recentCutoverJobs_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(20, recentCutoverJobs_.get(i)); + } + if (stateTime_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(22, getStateTime()); + } + if (state_ != com.google.cloud.vmmigration.v1.MigratingVm.State.STATE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(23, state_); + } + if (targetVmDefaultsCase_ == 26) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(26, (com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaults) targetVmDefaults_); + } + size += unknownFields.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.vmmigration.v1.MigratingVm)) { + return super.equals(obj); + } + com.google.cloud.vmmigration.v1.MigratingVm other = (com.google.cloud.vmmigration.v1.MigratingVm) obj; + + if (!getName() + .equals(other.getName())) return false; + if (!getSourceVmId() + .equals(other.getSourceVmId())) return false; + if (!getDisplayName() + .equals(other.getDisplayName())) return false; + if (!getDescription() + .equals(other.getDescription())) return false; + if (hasPolicy() != other.hasPolicy()) return false; + if (hasPolicy()) { + if (!getPolicy() + .equals(other.getPolicy())) return false; + } + if (hasCreateTime() != other.hasCreateTime()) return false; + if (hasCreateTime()) { + if (!getCreateTime() + .equals(other.getCreateTime())) return false; + } + if (hasUpdateTime() != other.hasUpdateTime()) return false; + if (hasUpdateTime()) { + if (!getUpdateTime() + .equals(other.getUpdateTime())) return false; + } + if (hasLastSync() != other.hasLastSync()) return false; + if (hasLastSync()) { + if (!getLastSync() + .equals(other.getLastSync())) return false; + } + if (state_ != other.state_) return false; + if (hasStateTime() != other.hasStateTime()) return false; + if (hasStateTime()) { + if (!getStateTime() + .equals(other.getStateTime())) return false; + } + if (hasCurrentSyncInfo() != other.hasCurrentSyncInfo()) return false; + if (hasCurrentSyncInfo()) { + if (!getCurrentSyncInfo() + .equals(other.getCurrentSyncInfo())) return false; + } + if (!getGroup() + .equals(other.getGroup())) return false; + if (!internalGetLabels().equals( + other.internalGetLabels())) return false; + if (!getRecentCloneJobsList() + .equals(other.getRecentCloneJobsList())) return false; + if (hasError() != other.hasError()) return false; + if (hasError()) { + if (!getError() + .equals(other.getError())) return false; + } + if (!getRecentCutoverJobsList() + .equals(other.getRecentCutoverJobsList())) return false; + if (!getTargetVmDefaultsCase().equals(other.getTargetVmDefaultsCase())) return false; + switch (targetVmDefaultsCase_) { + case 26: + if (!getComputeEngineTargetDefaults() + .equals(other.getComputeEngineTargetDefaults())) return false; + break; + case 0: + default: + } + if (!unknownFields.equals(other.unknownFields)) 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(); + hash = (37 * hash) + SOURCE_VM_ID_FIELD_NUMBER; + hash = (53 * hash) + getSourceVmId().hashCode(); + hash = (37 * hash) + DISPLAY_NAME_FIELD_NUMBER; + hash = (53 * hash) + getDisplayName().hashCode(); + hash = (37 * hash) + DESCRIPTION_FIELD_NUMBER; + hash = (53 * hash) + getDescription().hashCode(); + if (hasPolicy()) { + hash = (37 * hash) + POLICY_FIELD_NUMBER; + hash = (53 * hash) + getPolicy().hashCode(); + } + if (hasCreateTime()) { + hash = (37 * hash) + CREATE_TIME_FIELD_NUMBER; + hash = (53 * hash) + getCreateTime().hashCode(); + } + if (hasUpdateTime()) { + hash = (37 * hash) + UPDATE_TIME_FIELD_NUMBER; + hash = (53 * hash) + getUpdateTime().hashCode(); + } + if (hasLastSync()) { + hash = (37 * hash) + LAST_SYNC_FIELD_NUMBER; + hash = (53 * hash) + getLastSync().hashCode(); + } + hash = (37 * hash) + STATE_FIELD_NUMBER; + hash = (53 * hash) + state_; + if (hasStateTime()) { + hash = (37 * hash) + STATE_TIME_FIELD_NUMBER; + hash = (53 * hash) + getStateTime().hashCode(); + } + if (hasCurrentSyncInfo()) { + hash = (37 * hash) + CURRENT_SYNC_INFO_FIELD_NUMBER; + hash = (53 * hash) + getCurrentSyncInfo().hashCode(); + } + hash = (37 * hash) + GROUP_FIELD_NUMBER; + hash = (53 * hash) + getGroup().hashCode(); + if (!internalGetLabels().getMap().isEmpty()) { + hash = (37 * hash) + LABELS_FIELD_NUMBER; + hash = (53 * hash) + internalGetLabels().hashCode(); + } + if (getRecentCloneJobsCount() > 0) { + hash = (37 * hash) + RECENT_CLONE_JOBS_FIELD_NUMBER; + hash = (53 * hash) + getRecentCloneJobsList().hashCode(); + } + if (hasError()) { + hash = (37 * hash) + ERROR_FIELD_NUMBER; + hash = (53 * hash) + getError().hashCode(); + } + if (getRecentCutoverJobsCount() > 0) { + hash = (37 * hash) + RECENT_CUTOVER_JOBS_FIELD_NUMBER; + hash = (53 * hash) + getRecentCutoverJobsList().hashCode(); + } + switch (targetVmDefaultsCase_) { + case 26: + hash = (37 * hash) + COMPUTE_ENGINE_TARGET_DEFAULTS_FIELD_NUMBER; + hash = (53 * hash) + getComputeEngineTargetDefaults().hashCode(); + break; + case 0: + default: + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.vmmigration.v1.MigratingVm parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.vmmigration.v1.MigratingVm 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.vmmigration.v1.MigratingVm parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.vmmigration.v1.MigratingVm 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.vmmigration.v1.MigratingVm parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.vmmigration.v1.MigratingVm parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.vmmigration.v1.MigratingVm parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.vmmigration.v1.MigratingVm 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.vmmigration.v1.MigratingVm parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.google.cloud.vmmigration.v1.MigratingVm 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.vmmigration.v1.MigratingVm parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.vmmigration.v1.MigratingVm 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.vmmigration.v1.MigratingVm 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; + } + /** + *
+   * MigratingVm describes the VM that will be migrated from a Source environment
+   * and its replication state.
+   * 
+ * + * Protobuf type {@code google.cloud.vmmigration.v1.MigratingVm} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:google.cloud.vmmigration.v1.MigratingVm) + com.google.cloud.vmmigration.v1.MigratingVmOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_MigratingVm_descriptor; + } + + @SuppressWarnings({"rawtypes"}) + protected com.google.protobuf.MapField internalGetMapField( + int number) { + switch (number) { + case 16: + return internalGetLabels(); + default: + throw new RuntimeException( + "Invalid map field number: " + number); + } + } + @SuppressWarnings({"rawtypes"}) + protected com.google.protobuf.MapField internalGetMutableMapField( + int number) { + switch (number) { + case 16: + return internalGetMutableLabels(); + default: + throw new RuntimeException( + "Invalid map field number: " + number); + } + } + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_MigratingVm_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.vmmigration.v1.MigratingVm.class, com.google.cloud.vmmigration.v1.MigratingVm.Builder.class); + } + + // Construct using com.google.cloud.vmmigration.v1.MigratingVm.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + getRecentCloneJobsFieldBuilder(); + getRecentCutoverJobsFieldBuilder(); + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + name_ = ""; + + sourceVmId_ = ""; + + displayName_ = ""; + + description_ = ""; + + if (policyBuilder_ == null) { + policy_ = null; + } else { + policy_ = null; + policyBuilder_ = null; + } + if (createTimeBuilder_ == null) { + createTime_ = null; + } else { + createTime_ = null; + createTimeBuilder_ = null; + } + if (updateTimeBuilder_ == null) { + updateTime_ = null; + } else { + updateTime_ = null; + updateTimeBuilder_ = null; + } + if (lastSyncBuilder_ == null) { + lastSync_ = null; + } else { + lastSync_ = null; + lastSyncBuilder_ = null; + } + state_ = 0; + + if (stateTimeBuilder_ == null) { + stateTime_ = null; + } else { + stateTime_ = null; + stateTimeBuilder_ = null; + } + if (currentSyncInfoBuilder_ == null) { + currentSyncInfo_ = null; + } else { + currentSyncInfo_ = null; + currentSyncInfoBuilder_ = null; + } + group_ = ""; + + internalGetMutableLabels().clear(); + if (recentCloneJobsBuilder_ == null) { + recentCloneJobs_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002); + } else { + recentCloneJobsBuilder_.clear(); + } + if (errorBuilder_ == null) { + error_ = null; + } else { + error_ = null; + errorBuilder_ = null; + } + if (recentCutoverJobsBuilder_ == null) { + recentCutoverJobs_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000004); + } else { + recentCutoverJobsBuilder_.clear(); + } + targetVmDefaultsCase_ = 0; + targetVmDefaults_ = null; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_MigratingVm_descriptor; + } + + @java.lang.Override + public com.google.cloud.vmmigration.v1.MigratingVm getDefaultInstanceForType() { + return com.google.cloud.vmmigration.v1.MigratingVm.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.vmmigration.v1.MigratingVm build() { + com.google.cloud.vmmigration.v1.MigratingVm result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.vmmigration.v1.MigratingVm buildPartial() { + com.google.cloud.vmmigration.v1.MigratingVm result = new com.google.cloud.vmmigration.v1.MigratingVm(this); + int from_bitField0_ = bitField0_; + if (targetVmDefaultsCase_ == 26) { + if (computeEngineTargetDefaultsBuilder_ == null) { + result.targetVmDefaults_ = targetVmDefaults_; + } else { + result.targetVmDefaults_ = computeEngineTargetDefaultsBuilder_.build(); + } + } + result.name_ = name_; + result.sourceVmId_ = sourceVmId_; + result.displayName_ = displayName_; + result.description_ = description_; + if (policyBuilder_ == null) { + result.policy_ = policy_; + } else { + result.policy_ = policyBuilder_.build(); + } + if (createTimeBuilder_ == null) { + result.createTime_ = createTime_; + } else { + result.createTime_ = createTimeBuilder_.build(); + } + if (updateTimeBuilder_ == null) { + result.updateTime_ = updateTime_; + } else { + result.updateTime_ = updateTimeBuilder_.build(); + } + if (lastSyncBuilder_ == null) { + result.lastSync_ = lastSync_; + } else { + result.lastSync_ = lastSyncBuilder_.build(); + } + result.state_ = state_; + if (stateTimeBuilder_ == null) { + result.stateTime_ = stateTime_; + } else { + result.stateTime_ = stateTimeBuilder_.build(); + } + if (currentSyncInfoBuilder_ == null) { + result.currentSyncInfo_ = currentSyncInfo_; + } else { + result.currentSyncInfo_ = currentSyncInfoBuilder_.build(); + } + result.group_ = group_; + result.labels_ = internalGetLabels(); + result.labels_.makeImmutable(); + if (recentCloneJobsBuilder_ == null) { + if (((bitField0_ & 0x00000002) != 0)) { + recentCloneJobs_ = java.util.Collections.unmodifiableList(recentCloneJobs_); + bitField0_ = (bitField0_ & ~0x00000002); + } + result.recentCloneJobs_ = recentCloneJobs_; + } else { + result.recentCloneJobs_ = recentCloneJobsBuilder_.build(); + } + if (errorBuilder_ == null) { + result.error_ = error_; + } else { + result.error_ = errorBuilder_.build(); + } + if (recentCutoverJobsBuilder_ == null) { + if (((bitField0_ & 0x00000004) != 0)) { + recentCutoverJobs_ = java.util.Collections.unmodifiableList(recentCutoverJobs_); + bitField0_ = (bitField0_ & ~0x00000004); + } + result.recentCutoverJobs_ = recentCutoverJobs_; + } else { + result.recentCutoverJobs_ = recentCutoverJobsBuilder_.build(); + } + result.targetVmDefaultsCase_ = targetVmDefaultsCase_; + onBuilt(); + return result; + } + + @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.vmmigration.v1.MigratingVm) { + return mergeFrom((com.google.cloud.vmmigration.v1.MigratingVm)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.vmmigration.v1.MigratingVm other) { + if (other == com.google.cloud.vmmigration.v1.MigratingVm.getDefaultInstance()) return this; + if (!other.getName().isEmpty()) { + name_ = other.name_; + onChanged(); + } + if (!other.getSourceVmId().isEmpty()) { + sourceVmId_ = other.sourceVmId_; + onChanged(); + } + if (!other.getDisplayName().isEmpty()) { + displayName_ = other.displayName_; + onChanged(); + } + if (!other.getDescription().isEmpty()) { + description_ = other.description_; + onChanged(); + } + if (other.hasPolicy()) { + mergePolicy(other.getPolicy()); + } + if (other.hasCreateTime()) { + mergeCreateTime(other.getCreateTime()); + } + if (other.hasUpdateTime()) { + mergeUpdateTime(other.getUpdateTime()); + } + if (other.hasLastSync()) { + mergeLastSync(other.getLastSync()); + } + if (other.state_ != 0) { + setStateValue(other.getStateValue()); + } + if (other.hasStateTime()) { + mergeStateTime(other.getStateTime()); + } + if (other.hasCurrentSyncInfo()) { + mergeCurrentSyncInfo(other.getCurrentSyncInfo()); + } + if (!other.getGroup().isEmpty()) { + group_ = other.group_; + onChanged(); + } + internalGetMutableLabels().mergeFrom( + other.internalGetLabels()); + if (recentCloneJobsBuilder_ == null) { + if (!other.recentCloneJobs_.isEmpty()) { + if (recentCloneJobs_.isEmpty()) { + recentCloneJobs_ = other.recentCloneJobs_; + bitField0_ = (bitField0_ & ~0x00000002); + } else { + ensureRecentCloneJobsIsMutable(); + recentCloneJobs_.addAll(other.recentCloneJobs_); + } + onChanged(); + } + } else { + if (!other.recentCloneJobs_.isEmpty()) { + if (recentCloneJobsBuilder_.isEmpty()) { + recentCloneJobsBuilder_.dispose(); + recentCloneJobsBuilder_ = null; + recentCloneJobs_ = other.recentCloneJobs_; + bitField0_ = (bitField0_ & ~0x00000002); + recentCloneJobsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getRecentCloneJobsFieldBuilder() : null; + } else { + recentCloneJobsBuilder_.addAllMessages(other.recentCloneJobs_); + } + } + } + if (other.hasError()) { + mergeError(other.getError()); + } + if (recentCutoverJobsBuilder_ == null) { + if (!other.recentCutoverJobs_.isEmpty()) { + if (recentCutoverJobs_.isEmpty()) { + recentCutoverJobs_ = other.recentCutoverJobs_; + bitField0_ = (bitField0_ & ~0x00000004); + } else { + ensureRecentCutoverJobsIsMutable(); + recentCutoverJobs_.addAll(other.recentCutoverJobs_); + } + onChanged(); + } + } else { + if (!other.recentCutoverJobs_.isEmpty()) { + if (recentCutoverJobsBuilder_.isEmpty()) { + recentCutoverJobsBuilder_.dispose(); + recentCutoverJobsBuilder_ = null; + recentCutoverJobs_ = other.recentCutoverJobs_; + bitField0_ = (bitField0_ & ~0x00000004); + recentCutoverJobsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getRecentCutoverJobsFieldBuilder() : null; + } else { + recentCutoverJobsBuilder_.addAllMessages(other.recentCutoverJobs_); + } + } + } + switch (other.getTargetVmDefaultsCase()) { + case COMPUTE_ENGINE_TARGET_DEFAULTS: { + mergeComputeEngineTargetDefaults(other.getComputeEngineTargetDefaults()); + break; + } + case TARGETVMDEFAULTS_NOT_SET: { + break; + } + } + this.mergeUnknownFields(other.unknownFields); + 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 { + com.google.cloud.vmmigration.v1.MigratingVm parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.cloud.vmmigration.v1.MigratingVm) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + private int targetVmDefaultsCase_ = 0; + private java.lang.Object targetVmDefaults_; + public TargetVmDefaultsCase + getTargetVmDefaultsCase() { + return TargetVmDefaultsCase.forNumber( + targetVmDefaultsCase_); + } + + public Builder clearTargetVmDefaults() { + targetVmDefaultsCase_ = 0; + targetVmDefaults_ = null; + onChanged(); + return this; + } + + private int bitField0_; + + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaults, com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaults.Builder, com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaultsOrBuilder> computeEngineTargetDefaultsBuilder_; + /** + *
+     * Details of the target VM in Compute Engine.
+     * 
+ * + * .google.cloud.vmmigration.v1.ComputeEngineTargetDefaults compute_engine_target_defaults = 26; + * @return Whether the computeEngineTargetDefaults field is set. + */ + @java.lang.Override + public boolean hasComputeEngineTargetDefaults() { + return targetVmDefaultsCase_ == 26; + } + /** + *
+     * Details of the target VM in Compute Engine.
+     * 
+ * + * .google.cloud.vmmigration.v1.ComputeEngineTargetDefaults compute_engine_target_defaults = 26; + * @return The computeEngineTargetDefaults. + */ + @java.lang.Override + public com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaults getComputeEngineTargetDefaults() { + if (computeEngineTargetDefaultsBuilder_ == null) { + if (targetVmDefaultsCase_ == 26) { + return (com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaults) targetVmDefaults_; + } + return com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaults.getDefaultInstance(); + } else { + if (targetVmDefaultsCase_ == 26) { + return computeEngineTargetDefaultsBuilder_.getMessage(); + } + return com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaults.getDefaultInstance(); + } + } + /** + *
+     * Details of the target VM in Compute Engine.
+     * 
+ * + * .google.cloud.vmmigration.v1.ComputeEngineTargetDefaults compute_engine_target_defaults = 26; + */ + public Builder setComputeEngineTargetDefaults(com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaults value) { + if (computeEngineTargetDefaultsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + targetVmDefaults_ = value; + onChanged(); + } else { + computeEngineTargetDefaultsBuilder_.setMessage(value); + } + targetVmDefaultsCase_ = 26; + return this; + } + /** + *
+     * Details of the target VM in Compute Engine.
+     * 
+ * + * .google.cloud.vmmigration.v1.ComputeEngineTargetDefaults compute_engine_target_defaults = 26; + */ + public Builder setComputeEngineTargetDefaults( + com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaults.Builder builderForValue) { + if (computeEngineTargetDefaultsBuilder_ == null) { + targetVmDefaults_ = builderForValue.build(); + onChanged(); + } else { + computeEngineTargetDefaultsBuilder_.setMessage(builderForValue.build()); + } + targetVmDefaultsCase_ = 26; + return this; + } + /** + *
+     * Details of the target VM in Compute Engine.
+     * 
+ * + * .google.cloud.vmmigration.v1.ComputeEngineTargetDefaults compute_engine_target_defaults = 26; + */ + public Builder mergeComputeEngineTargetDefaults(com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaults value) { + if (computeEngineTargetDefaultsBuilder_ == null) { + if (targetVmDefaultsCase_ == 26 && + targetVmDefaults_ != com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaults.getDefaultInstance()) { + targetVmDefaults_ = com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaults.newBuilder((com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaults) targetVmDefaults_) + .mergeFrom(value).buildPartial(); + } else { + targetVmDefaults_ = value; + } + onChanged(); + } else { + if (targetVmDefaultsCase_ == 26) { + computeEngineTargetDefaultsBuilder_.mergeFrom(value); + } else { + computeEngineTargetDefaultsBuilder_.setMessage(value); + } + } + targetVmDefaultsCase_ = 26; + return this; + } + /** + *
+     * Details of the target VM in Compute Engine.
+     * 
+ * + * .google.cloud.vmmigration.v1.ComputeEngineTargetDefaults compute_engine_target_defaults = 26; + */ + public Builder clearComputeEngineTargetDefaults() { + if (computeEngineTargetDefaultsBuilder_ == null) { + if (targetVmDefaultsCase_ == 26) { + targetVmDefaultsCase_ = 0; + targetVmDefaults_ = null; + onChanged(); + } + } else { + if (targetVmDefaultsCase_ == 26) { + targetVmDefaultsCase_ = 0; + targetVmDefaults_ = null; + } + computeEngineTargetDefaultsBuilder_.clear(); + } + return this; + } + /** + *
+     * Details of the target VM in Compute Engine.
+     * 
+ * + * .google.cloud.vmmigration.v1.ComputeEngineTargetDefaults compute_engine_target_defaults = 26; + */ + public com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaults.Builder getComputeEngineTargetDefaultsBuilder() { + return getComputeEngineTargetDefaultsFieldBuilder().getBuilder(); + } + /** + *
+     * Details of the target VM in Compute Engine.
+     * 
+ * + * .google.cloud.vmmigration.v1.ComputeEngineTargetDefaults compute_engine_target_defaults = 26; + */ + @java.lang.Override + public com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaultsOrBuilder getComputeEngineTargetDefaultsOrBuilder() { + if ((targetVmDefaultsCase_ == 26) && (computeEngineTargetDefaultsBuilder_ != null)) { + return computeEngineTargetDefaultsBuilder_.getMessageOrBuilder(); + } else { + if (targetVmDefaultsCase_ == 26) { + return (com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaults) targetVmDefaults_; + } + return com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaults.getDefaultInstance(); + } + } + /** + *
+     * Details of the target VM in Compute Engine.
+     * 
+ * + * .google.cloud.vmmigration.v1.ComputeEngineTargetDefaults compute_engine_target_defaults = 26; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaults, com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaults.Builder, com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaultsOrBuilder> + getComputeEngineTargetDefaultsFieldBuilder() { + if (computeEngineTargetDefaultsBuilder_ == null) { + if (!(targetVmDefaultsCase_ == 26)) { + targetVmDefaults_ = com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaults.getDefaultInstance(); + } + computeEngineTargetDefaultsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaults, com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaults.Builder, com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaultsOrBuilder>( + (com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaults) targetVmDefaults_, + getParentForChildren(), + isClean()); + targetVmDefaults_ = null; + } + targetVmDefaultsCase_ = 26; + onChanged();; + return computeEngineTargetDefaultsBuilder_; + } + + private java.lang.Object name_ = ""; + /** + *
+     * Output only. The identifier of the MigratingVm.
+     * 
+ * + * 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; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * Output only. The identifier of the MigratingVm.
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @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; + } + } + /** + *
+     * Output only. The identifier of the MigratingVm.
+     * 
+ * + * 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(); + } + + name_ = value; + onChanged(); + return this; + } + /** + *
+     * Output only. The identifier of the MigratingVm.
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return This builder for chaining. + */ + public Builder clearName() { + + name_ = getDefaultInstance().getName(); + onChanged(); + return this; + } + /** + *
+     * Output only. The identifier of the MigratingVm.
+     * 
+ * + * 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(); + } + checkByteStringIsUtf8(value); + + name_ = value; + onChanged(); + return this; + } + + private java.lang.Object sourceVmId_ = ""; + /** + *
+     * The unique ID of the VM in the source.
+     * The VM's name in vSphere can be changed, so this is not the VM's name but
+     * rather its moRef id. This id is of the form vm-<num>.
+     * 
+ * + * string source_vm_id = 2; + * @return The sourceVmId. + */ + public java.lang.String getSourceVmId() { + java.lang.Object ref = sourceVmId_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + sourceVmId_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * The unique ID of the VM in the source.
+     * The VM's name in vSphere can be changed, so this is not the VM's name but
+     * rather its moRef id. This id is of the form vm-<num>.
+     * 
+ * + * string source_vm_id = 2; + * @return The bytes for sourceVmId. + */ + public com.google.protobuf.ByteString + getSourceVmIdBytes() { + java.lang.Object ref = sourceVmId_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + sourceVmId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * The unique ID of the VM in the source.
+     * The VM's name in vSphere can be changed, so this is not the VM's name but
+     * rather its moRef id. This id is of the form vm-<num>.
+     * 
+ * + * string source_vm_id = 2; + * @param value The sourceVmId to set. + * @return This builder for chaining. + */ + public Builder setSourceVmId( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + sourceVmId_ = value; + onChanged(); + return this; + } + /** + *
+     * The unique ID of the VM in the source.
+     * The VM's name in vSphere can be changed, so this is not the VM's name but
+     * rather its moRef id. This id is of the form vm-<num>.
+     * 
+ * + * string source_vm_id = 2; + * @return This builder for chaining. + */ + public Builder clearSourceVmId() { + + sourceVmId_ = getDefaultInstance().getSourceVmId(); + onChanged(); + return this; + } + /** + *
+     * The unique ID of the VM in the source.
+     * The VM's name in vSphere can be changed, so this is not the VM's name but
+     * rather its moRef id. This id is of the form vm-<num>.
+     * 
+ * + * string source_vm_id = 2; + * @param value The bytes for sourceVmId to set. + * @return This builder for chaining. + */ + public Builder setSourceVmIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + sourceVmId_ = value; + onChanged(); + return this; + } + + private java.lang.Object displayName_ = ""; + /** + *
+     * The display name attached to the MigratingVm by the user.
+     * 
+ * + * string display_name = 18; + * @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; + java.lang.String s = bs.toStringUtf8(); + displayName_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * The display name attached to the MigratingVm by the user.
+     * 
+ * + * string display_name = 18; + * @return The bytes for displayName. + */ + 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); + displayName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * The display name attached to the MigratingVm by the user.
+     * 
+ * + * string display_name = 18; + * @param value The displayName to set. + * @return This builder for chaining. + */ + public Builder setDisplayName( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + displayName_ = value; + onChanged(); + return this; + } + /** + *
+     * The display name attached to the MigratingVm by the user.
+     * 
+ * + * string display_name = 18; + * @return This builder for chaining. + */ + public Builder clearDisplayName() { + + displayName_ = getDefaultInstance().getDisplayName(); + onChanged(); + return this; + } + /** + *
+     * The display name attached to the MigratingVm by the user.
+     * 
+ * + * string display_name = 18; + * @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(); + } + checkByteStringIsUtf8(value); + + displayName_ = value; + onChanged(); + return this; + } + + private java.lang.Object description_ = ""; + /** + *
+     * The description attached to the migrating VM by the user.
+     * 
+ * + * 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; + java.lang.String s = bs.toStringUtf8(); + description_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * The description attached to the migrating VM by the user.
+     * 
+ * + * string description = 3; + * @return The bytes for description. + */ + 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); + description_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * The description attached to the migrating VM by the user.
+     * 
+ * + * 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(); + } + + description_ = value; + onChanged(); + return this; + } + /** + *
+     * The description attached to the migrating VM by the user.
+     * 
+ * + * string description = 3; + * @return This builder for chaining. + */ + public Builder clearDescription() { + + description_ = getDefaultInstance().getDescription(); + onChanged(); + return this; + } + /** + *
+     * The description attached to the migrating VM by the user.
+     * 
+ * + * 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(); + } + checkByteStringIsUtf8(value); + + description_ = value; + onChanged(); + return this; + } + + private com.google.cloud.vmmigration.v1.SchedulePolicy policy_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.vmmigration.v1.SchedulePolicy, com.google.cloud.vmmigration.v1.SchedulePolicy.Builder, com.google.cloud.vmmigration.v1.SchedulePolicyOrBuilder> policyBuilder_; + /** + *
+     * The replication schedule policy.
+     * 
+ * + * .google.cloud.vmmigration.v1.SchedulePolicy policy = 8; + * @return Whether the policy field is set. + */ + public boolean hasPolicy() { + return policyBuilder_ != null || policy_ != null; + } + /** + *
+     * The replication schedule policy.
+     * 
+ * + * .google.cloud.vmmigration.v1.SchedulePolicy policy = 8; + * @return The policy. + */ + public com.google.cloud.vmmigration.v1.SchedulePolicy getPolicy() { + if (policyBuilder_ == null) { + return policy_ == null ? com.google.cloud.vmmigration.v1.SchedulePolicy.getDefaultInstance() : policy_; + } else { + return policyBuilder_.getMessage(); + } + } + /** + *
+     * The replication schedule policy.
+     * 
+ * + * .google.cloud.vmmigration.v1.SchedulePolicy policy = 8; + */ + public Builder setPolicy(com.google.cloud.vmmigration.v1.SchedulePolicy value) { + if (policyBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + policy_ = value; + onChanged(); + } else { + policyBuilder_.setMessage(value); + } + + return this; + } + /** + *
+     * The replication schedule policy.
+     * 
+ * + * .google.cloud.vmmigration.v1.SchedulePolicy policy = 8; + */ + public Builder setPolicy( + com.google.cloud.vmmigration.v1.SchedulePolicy.Builder builderForValue) { + if (policyBuilder_ == null) { + policy_ = builderForValue.build(); + onChanged(); + } else { + policyBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + *
+     * The replication schedule policy.
+     * 
+ * + * .google.cloud.vmmigration.v1.SchedulePolicy policy = 8; + */ + public Builder mergePolicy(com.google.cloud.vmmigration.v1.SchedulePolicy value) { + if (policyBuilder_ == null) { + if (policy_ != null) { + policy_ = + com.google.cloud.vmmigration.v1.SchedulePolicy.newBuilder(policy_).mergeFrom(value).buildPartial(); + } else { + policy_ = value; + } + onChanged(); + } else { + policyBuilder_.mergeFrom(value); + } + + return this; + } + /** + *
+     * The replication schedule policy.
+     * 
+ * + * .google.cloud.vmmigration.v1.SchedulePolicy policy = 8; + */ + public Builder clearPolicy() { + if (policyBuilder_ == null) { + policy_ = null; + onChanged(); + } else { + policy_ = null; + policyBuilder_ = null; + } + + return this; + } + /** + *
+     * The replication schedule policy.
+     * 
+ * + * .google.cloud.vmmigration.v1.SchedulePolicy policy = 8; + */ + public com.google.cloud.vmmigration.v1.SchedulePolicy.Builder getPolicyBuilder() { + + onChanged(); + return getPolicyFieldBuilder().getBuilder(); + } + /** + *
+     * The replication schedule policy.
+     * 
+ * + * .google.cloud.vmmigration.v1.SchedulePolicy policy = 8; + */ + public com.google.cloud.vmmigration.v1.SchedulePolicyOrBuilder getPolicyOrBuilder() { + if (policyBuilder_ != null) { + return policyBuilder_.getMessageOrBuilder(); + } else { + return policy_ == null ? + com.google.cloud.vmmigration.v1.SchedulePolicy.getDefaultInstance() : policy_; + } + } + /** + *
+     * The replication schedule policy.
+     * 
+ * + * .google.cloud.vmmigration.v1.SchedulePolicy policy = 8; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.vmmigration.v1.SchedulePolicy, com.google.cloud.vmmigration.v1.SchedulePolicy.Builder, com.google.cloud.vmmigration.v1.SchedulePolicyOrBuilder> + getPolicyFieldBuilder() { + if (policyBuilder_ == null) { + policyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.vmmigration.v1.SchedulePolicy, com.google.cloud.vmmigration.v1.SchedulePolicy.Builder, com.google.cloud.vmmigration.v1.SchedulePolicyOrBuilder>( + getPolicy(), + getParentForChildren(), + isClean()); + policy_ = null; + } + return policyBuilder_; + } + + private com.google.protobuf.Timestamp createTime_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; + /** + *
+     * Output only. The time the migrating VM was created (this refers to this
+     * resource and not to the time it was installed in the source).
+     * 
+ * + * .google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return Whether the createTime field is set. + */ + public boolean hasCreateTime() { + return createTimeBuilder_ != null || createTime_ != null; + } + /** + *
+     * Output only. The time the migrating VM was created (this refers to this
+     * resource and not to the time it was installed in the source).
+     * 
+ * + * .google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The createTime. + */ + public com.google.protobuf.Timestamp getCreateTime() { + if (createTimeBuilder_ == null) { + return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + } else { + return createTimeBuilder_.getMessage(); + } + } + /** + *
+     * Output only. The time the migrating VM was created (this refers to this
+     * resource and not to the time it was installed in the source).
+     * 
+ * + * .google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public Builder setCreateTime(com.google.protobuf.Timestamp value) { + if (createTimeBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + createTime_ = value; + onChanged(); + } else { + createTimeBuilder_.setMessage(value); + } + + return this; + } + /** + *
+     * Output only. The time the migrating VM was created (this refers to this
+     * resource and not to the time it was installed in the source).
+     * 
+ * + * .google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public Builder setCreateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { + if (createTimeBuilder_ == null) { + createTime_ = builderForValue.build(); + onChanged(); + } else { + createTimeBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + *
+     * Output only. The time the migrating VM was created (this refers to this
+     * resource and not to the time it was installed in the source).
+     * 
+ * + * .google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { + if (createTimeBuilder_ == null) { + if (createTime_ != null) { + createTime_ = + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + } else { + createTime_ = value; + } + onChanged(); + } else { + createTimeBuilder_.mergeFrom(value); + } + + return this; + } + /** + *
+     * Output only. The time the migrating VM was created (this refers to this
+     * resource and not to the time it was installed in the source).
+     * 
+ * + * .google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public Builder clearCreateTime() { + if (createTimeBuilder_ == null) { + createTime_ = null; + onChanged(); + } else { + createTime_ = null; + createTimeBuilder_ = null; + } + + return this; + } + /** + *
+     * Output only. The time the migrating VM was created (this refers to this
+     * resource and not to the time it was installed in the source).
+     * 
+ * + * .google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { + + onChanged(); + return getCreateTimeFieldBuilder().getBuilder(); + } + /** + *
+     * Output only. The time the migrating VM was created (this refers to this
+     * resource and not to the time it was installed in the source).
+     * 
+ * + * .google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { + if (createTimeBuilder_ != null) { + return createTimeBuilder_.getMessageOrBuilder(); + } else { + return createTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + } + } + /** + *
+     * Output only. The time the migrating VM was created (this refers to this
+     * resource and not to the time it was installed in the source).
+     * 
+ * + * .google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + getCreateTimeFieldBuilder() { + if (createTimeBuilder_ == null) { + createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), + getParentForChildren(), + isClean()); + createTime_ = null; + } + return createTimeBuilder_; + } + + 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_; + /** + *
+     * Output only. The last time the migrating VM resource was updated.
+     * 
+ * + * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return Whether the updateTime field is set. + */ + public boolean hasUpdateTime() { + return updateTimeBuilder_ != null || updateTime_ != null; + } + /** + *
+     * Output only. The last time the migrating VM resource was updated.
+     * 
+ * + * .google.protobuf.Timestamp update_time = 10 [(.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_; + } else { + return updateTimeBuilder_.getMessage(); + } + } + /** + *
+     * Output only. The last time the migrating VM resource was updated.
+     * 
+ * + * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public Builder setUpdateTime(com.google.protobuf.Timestamp value) { + if (updateTimeBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + updateTime_ = value; + onChanged(); + } else { + updateTimeBuilder_.setMessage(value); + } + + return this; + } + /** + *
+     * Output only. The last time the migrating VM resource was updated.
+     * 
+ * + * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public Builder setUpdateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { + if (updateTimeBuilder_ == null) { + updateTime_ = builderForValue.build(); + onChanged(); + } else { + updateTimeBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + *
+     * Output only. The last time the migrating VM resource was updated.
+     * 
+ * + * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { + if (updateTimeBuilder_ == null) { + if (updateTime_ != null) { + updateTime_ = + com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); + } else { + updateTime_ = value; + } + onChanged(); + } else { + updateTimeBuilder_.mergeFrom(value); + } + + return this; + } + /** + *
+     * Output only. The last time the migrating VM resource was updated.
+     * 
+ * + * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public Builder clearUpdateTime() { + if (updateTimeBuilder_ == null) { + updateTime_ = null; + onChanged(); + } else { + updateTime_ = null; + updateTimeBuilder_ = null; + } + + return this; + } + /** + *
+     * Output only. The last time the migrating VM resource was updated.
+     * 
+ * + * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { + + onChanged(); + return getUpdateTimeFieldBuilder().getBuilder(); + } + /** + *
+     * Output only. The last time the migrating VM resource was updated.
+     * 
+ * + * .google.protobuf.Timestamp update_time = 10 [(.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_; + } + } + /** + *
+     * Output only. The last time the migrating VM resource was updated.
+     * 
+ * + * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + private com.google.protobuf.SingleFieldBuilderV3< + 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()); + updateTime_ = null; + } + return updateTimeBuilder_; + } + + private com.google.cloud.vmmigration.v1.ReplicationSync lastSync_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.vmmigration.v1.ReplicationSync, com.google.cloud.vmmigration.v1.ReplicationSync.Builder, com.google.cloud.vmmigration.v1.ReplicationSyncOrBuilder> lastSyncBuilder_; + /** + *
+     * Output only. The most updated snapshot created time in the source that
+     * finished replication.
+     * 
+ * + * .google.cloud.vmmigration.v1.ReplicationSync last_sync = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return Whether the lastSync field is set. + */ + public boolean hasLastSync() { + return lastSyncBuilder_ != null || lastSync_ != null; + } + /** + *
+     * Output only. The most updated snapshot created time in the source that
+     * finished replication.
+     * 
+ * + * .google.cloud.vmmigration.v1.ReplicationSync last_sync = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The lastSync. + */ + public com.google.cloud.vmmigration.v1.ReplicationSync getLastSync() { + if (lastSyncBuilder_ == null) { + return lastSync_ == null ? com.google.cloud.vmmigration.v1.ReplicationSync.getDefaultInstance() : lastSync_; + } else { + return lastSyncBuilder_.getMessage(); + } + } + /** + *
+     * Output only. The most updated snapshot created time in the source that
+     * finished replication.
+     * 
+ * + * .google.cloud.vmmigration.v1.ReplicationSync last_sync = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public Builder setLastSync(com.google.cloud.vmmigration.v1.ReplicationSync value) { + if (lastSyncBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + lastSync_ = value; + onChanged(); + } else { + lastSyncBuilder_.setMessage(value); + } + + return this; + } + /** + *
+     * Output only. The most updated snapshot created time in the source that
+     * finished replication.
+     * 
+ * + * .google.cloud.vmmigration.v1.ReplicationSync last_sync = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public Builder setLastSync( + com.google.cloud.vmmigration.v1.ReplicationSync.Builder builderForValue) { + if (lastSyncBuilder_ == null) { + lastSync_ = builderForValue.build(); + onChanged(); + } else { + lastSyncBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + *
+     * Output only. The most updated snapshot created time in the source that
+     * finished replication.
+     * 
+ * + * .google.cloud.vmmigration.v1.ReplicationSync last_sync = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public Builder mergeLastSync(com.google.cloud.vmmigration.v1.ReplicationSync value) { + if (lastSyncBuilder_ == null) { + if (lastSync_ != null) { + lastSync_ = + com.google.cloud.vmmigration.v1.ReplicationSync.newBuilder(lastSync_).mergeFrom(value).buildPartial(); + } else { + lastSync_ = value; + } + onChanged(); + } else { + lastSyncBuilder_.mergeFrom(value); + } + + return this; + } + /** + *
+     * Output only. The most updated snapshot created time in the source that
+     * finished replication.
+     * 
+ * + * .google.cloud.vmmigration.v1.ReplicationSync last_sync = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public Builder clearLastSync() { + if (lastSyncBuilder_ == null) { + lastSync_ = null; + onChanged(); + } else { + lastSync_ = null; + lastSyncBuilder_ = null; + } + + return this; + } + /** + *
+     * Output only. The most updated snapshot created time in the source that
+     * finished replication.
+     * 
+ * + * .google.cloud.vmmigration.v1.ReplicationSync last_sync = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public com.google.cloud.vmmigration.v1.ReplicationSync.Builder getLastSyncBuilder() { + + onChanged(); + return getLastSyncFieldBuilder().getBuilder(); + } + /** + *
+     * Output only. The most updated snapshot created time in the source that
+     * finished replication.
+     * 
+ * + * .google.cloud.vmmigration.v1.ReplicationSync last_sync = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public com.google.cloud.vmmigration.v1.ReplicationSyncOrBuilder getLastSyncOrBuilder() { + if (lastSyncBuilder_ != null) { + return lastSyncBuilder_.getMessageOrBuilder(); + } else { + return lastSync_ == null ? + com.google.cloud.vmmigration.v1.ReplicationSync.getDefaultInstance() : lastSync_; + } + } + /** + *
+     * Output only. The most updated snapshot created time in the source that
+     * finished replication.
+     * 
+ * + * .google.cloud.vmmigration.v1.ReplicationSync last_sync = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.vmmigration.v1.ReplicationSync, com.google.cloud.vmmigration.v1.ReplicationSync.Builder, com.google.cloud.vmmigration.v1.ReplicationSyncOrBuilder> + getLastSyncFieldBuilder() { + if (lastSyncBuilder_ == null) { + lastSyncBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.vmmigration.v1.ReplicationSync, com.google.cloud.vmmigration.v1.ReplicationSync.Builder, com.google.cloud.vmmigration.v1.ReplicationSyncOrBuilder>( + getLastSync(), + getParentForChildren(), + isClean()); + lastSync_ = null; + } + return lastSyncBuilder_; + } + + private int state_ = 0; + /** + *
+     * Output only. State of the MigratingVm.
+     * 
+ * + * .google.cloud.vmmigration.v1.MigratingVm.State state = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The enum numeric value on the wire for state. + */ + @java.lang.Override public int getStateValue() { + return state_; + } + /** + *
+     * Output only. State of the MigratingVm.
+     * 
+ * + * .google.cloud.vmmigration.v1.MigratingVm.State state = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param value The enum numeric value on the wire for state to set. + * @return This builder for chaining. + */ + public Builder setStateValue(int value) { + + state_ = value; + onChanged(); + return this; + } + /** + *
+     * Output only. State of the MigratingVm.
+     * 
+ * + * .google.cloud.vmmigration.v1.MigratingVm.State state = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The state. + */ + @java.lang.Override + public com.google.cloud.vmmigration.v1.MigratingVm.State getState() { + @SuppressWarnings("deprecation") + com.google.cloud.vmmigration.v1.MigratingVm.State result = com.google.cloud.vmmigration.v1.MigratingVm.State.valueOf(state_); + return result == null ? com.google.cloud.vmmigration.v1.MigratingVm.State.UNRECOGNIZED : result; + } + /** + *
+     * Output only. State of the MigratingVm.
+     * 
+ * + * .google.cloud.vmmigration.v1.MigratingVm.State state = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param value The state to set. + * @return This builder for chaining. + */ + public Builder setState(com.google.cloud.vmmigration.v1.MigratingVm.State value) { + if (value == null) { + throw new NullPointerException(); + } + + state_ = value.getNumber(); + onChanged(); + return this; + } + /** + *
+     * Output only. State of the MigratingVm.
+     * 
+ * + * .google.cloud.vmmigration.v1.MigratingVm.State state = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return This builder for chaining. + */ + public Builder clearState() { + + state_ = 0; + onChanged(); + return this; + } + + private com.google.protobuf.Timestamp stateTime_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> stateTimeBuilder_; + /** + *
+     * Output only. The last time the migrating VM state was updated.
+     * 
+ * + * .google.protobuf.Timestamp state_time = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return Whether the stateTime field is set. + */ + public boolean hasStateTime() { + return stateTimeBuilder_ != null || stateTime_ != null; + } + /** + *
+     * Output only. The last time the migrating VM state was updated.
+     * 
+ * + * .google.protobuf.Timestamp state_time = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The stateTime. + */ + public com.google.protobuf.Timestamp getStateTime() { + if (stateTimeBuilder_ == null) { + return stateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : stateTime_; + } else { + return stateTimeBuilder_.getMessage(); + } + } + /** + *
+     * Output only. The last time the migrating VM state was updated.
+     * 
+ * + * .google.protobuf.Timestamp state_time = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public Builder setStateTime(com.google.protobuf.Timestamp value) { + if (stateTimeBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + stateTime_ = value; + onChanged(); + } else { + stateTimeBuilder_.setMessage(value); + } + + return this; + } + /** + *
+     * Output only. The last time the migrating VM state was updated.
+     * 
+ * + * .google.protobuf.Timestamp state_time = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public Builder setStateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { + if (stateTimeBuilder_ == null) { + stateTime_ = builderForValue.build(); + onChanged(); + } else { + stateTimeBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + *
+     * Output only. The last time the migrating VM state was updated.
+     * 
+ * + * .google.protobuf.Timestamp state_time = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public Builder mergeStateTime(com.google.protobuf.Timestamp value) { + if (stateTimeBuilder_ == null) { + if (stateTime_ != null) { + stateTime_ = + com.google.protobuf.Timestamp.newBuilder(stateTime_).mergeFrom(value).buildPartial(); + } else { + stateTime_ = value; + } + onChanged(); + } else { + stateTimeBuilder_.mergeFrom(value); + } + + return this; + } + /** + *
+     * Output only. The last time the migrating VM state was updated.
+     * 
+ * + * .google.protobuf.Timestamp state_time = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public Builder clearStateTime() { + if (stateTimeBuilder_ == null) { + stateTime_ = null; + onChanged(); + } else { + stateTime_ = null; + stateTimeBuilder_ = null; + } + + return this; + } + /** + *
+     * Output only. The last time the migrating VM state was updated.
+     * 
+ * + * .google.protobuf.Timestamp state_time = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public com.google.protobuf.Timestamp.Builder getStateTimeBuilder() { + + onChanged(); + return getStateTimeFieldBuilder().getBuilder(); + } + /** + *
+     * Output only. The last time the migrating VM state was updated.
+     * 
+ * + * .google.protobuf.Timestamp state_time = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public com.google.protobuf.TimestampOrBuilder getStateTimeOrBuilder() { + if (stateTimeBuilder_ != null) { + return stateTimeBuilder_.getMessageOrBuilder(); + } else { + return stateTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : stateTime_; + } + } + /** + *
+     * Output only. The last time the migrating VM state was updated.
+     * 
+ * + * .google.protobuf.Timestamp state_time = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + getStateTimeFieldBuilder() { + if (stateTimeBuilder_ == null) { + stateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getStateTime(), + getParentForChildren(), + isClean()); + stateTime_ = null; + } + return stateTimeBuilder_; + } + + private com.google.cloud.vmmigration.v1.ReplicationCycle currentSyncInfo_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.vmmigration.v1.ReplicationCycle, com.google.cloud.vmmigration.v1.ReplicationCycle.Builder, com.google.cloud.vmmigration.v1.ReplicationCycleOrBuilder> currentSyncInfoBuilder_; + /** + *
+     * Output only. The percentage progress of the current running replication
+     * cycle.
+     * 
+ * + * .google.cloud.vmmigration.v1.ReplicationCycle current_sync_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return Whether the currentSyncInfo field is set. + */ + public boolean hasCurrentSyncInfo() { + return currentSyncInfoBuilder_ != null || currentSyncInfo_ != null; + } + /** + *
+     * Output only. The percentage progress of the current running replication
+     * cycle.
+     * 
+ * + * .google.cloud.vmmigration.v1.ReplicationCycle current_sync_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The currentSyncInfo. + */ + public com.google.cloud.vmmigration.v1.ReplicationCycle getCurrentSyncInfo() { + if (currentSyncInfoBuilder_ == null) { + return currentSyncInfo_ == null ? com.google.cloud.vmmigration.v1.ReplicationCycle.getDefaultInstance() : currentSyncInfo_; + } else { + return currentSyncInfoBuilder_.getMessage(); + } + } + /** + *
+     * Output only. The percentage progress of the current running replication
+     * cycle.
+     * 
+ * + * .google.cloud.vmmigration.v1.ReplicationCycle current_sync_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public Builder setCurrentSyncInfo(com.google.cloud.vmmigration.v1.ReplicationCycle value) { + if (currentSyncInfoBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + currentSyncInfo_ = value; + onChanged(); + } else { + currentSyncInfoBuilder_.setMessage(value); + } + + return this; + } + /** + *
+     * Output only. The percentage progress of the current running replication
+     * cycle.
+     * 
+ * + * .google.cloud.vmmigration.v1.ReplicationCycle current_sync_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public Builder setCurrentSyncInfo( + com.google.cloud.vmmigration.v1.ReplicationCycle.Builder builderForValue) { + if (currentSyncInfoBuilder_ == null) { + currentSyncInfo_ = builderForValue.build(); + onChanged(); + } else { + currentSyncInfoBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + *
+     * Output only. The percentage progress of the current running replication
+     * cycle.
+     * 
+ * + * .google.cloud.vmmigration.v1.ReplicationCycle current_sync_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public Builder mergeCurrentSyncInfo(com.google.cloud.vmmigration.v1.ReplicationCycle value) { + if (currentSyncInfoBuilder_ == null) { + if (currentSyncInfo_ != null) { + currentSyncInfo_ = + com.google.cloud.vmmigration.v1.ReplicationCycle.newBuilder(currentSyncInfo_).mergeFrom(value).buildPartial(); + } else { + currentSyncInfo_ = value; + } + onChanged(); + } else { + currentSyncInfoBuilder_.mergeFrom(value); + } + + return this; + } + /** + *
+     * Output only. The percentage progress of the current running replication
+     * cycle.
+     * 
+ * + * .google.cloud.vmmigration.v1.ReplicationCycle current_sync_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public Builder clearCurrentSyncInfo() { + if (currentSyncInfoBuilder_ == null) { + currentSyncInfo_ = null; + onChanged(); + } else { + currentSyncInfo_ = null; + currentSyncInfoBuilder_ = null; + } + + return this; + } + /** + *
+     * Output only. The percentage progress of the current running replication
+     * cycle.
+     * 
+ * + * .google.cloud.vmmigration.v1.ReplicationCycle current_sync_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public com.google.cloud.vmmigration.v1.ReplicationCycle.Builder getCurrentSyncInfoBuilder() { + + onChanged(); + return getCurrentSyncInfoFieldBuilder().getBuilder(); + } + /** + *
+     * Output only. The percentage progress of the current running replication
+     * cycle.
+     * 
+ * + * .google.cloud.vmmigration.v1.ReplicationCycle current_sync_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public com.google.cloud.vmmigration.v1.ReplicationCycleOrBuilder getCurrentSyncInfoOrBuilder() { + if (currentSyncInfoBuilder_ != null) { + return currentSyncInfoBuilder_.getMessageOrBuilder(); + } else { + return currentSyncInfo_ == null ? + com.google.cloud.vmmigration.v1.ReplicationCycle.getDefaultInstance() : currentSyncInfo_; + } + } + /** + *
+     * Output only. The percentage progress of the current running replication
+     * cycle.
+     * 
+ * + * .google.cloud.vmmigration.v1.ReplicationCycle current_sync_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.vmmigration.v1.ReplicationCycle, com.google.cloud.vmmigration.v1.ReplicationCycle.Builder, com.google.cloud.vmmigration.v1.ReplicationCycleOrBuilder> + getCurrentSyncInfoFieldBuilder() { + if (currentSyncInfoBuilder_ == null) { + currentSyncInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.vmmigration.v1.ReplicationCycle, com.google.cloud.vmmigration.v1.ReplicationCycle.Builder, com.google.cloud.vmmigration.v1.ReplicationCycleOrBuilder>( + getCurrentSyncInfo(), + getParentForChildren(), + isClean()); + currentSyncInfo_ = null; + } + return currentSyncInfoBuilder_; + } + + private java.lang.Object group_ = ""; + /** + *
+     * Output only. The group this migrating vm is included in, if any. The group
+     * is represented by the full path of the appropriate
+     * [Group][google.cloud.vmmigration.v1.Group] resource.
+     * 
+ * + * string group = 15 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * @return The group. + */ + public java.lang.String getGroup() { + java.lang.Object ref = group_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + group_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * Output only. The group this migrating vm is included in, if any. The group
+     * is represented by the full path of the appropriate
+     * [Group][google.cloud.vmmigration.v1.Group] resource.
+     * 
+ * + * string group = 15 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * @return The bytes for group. + */ + public com.google.protobuf.ByteString + getGroupBytes() { + java.lang.Object ref = group_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + group_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * Output only. The group this migrating vm is included in, if any. The group
+     * is represented by the full path of the appropriate
+     * [Group][google.cloud.vmmigration.v1.Group] resource.
+     * 
+ * + * string group = 15 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * @param value The group to set. + * @return This builder for chaining. + */ + public Builder setGroup( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + group_ = value; + onChanged(); + return this; + } + /** + *
+     * Output only. The group this migrating vm is included in, if any. The group
+     * is represented by the full path of the appropriate
+     * [Group][google.cloud.vmmigration.v1.Group] resource.
+     * 
+ * + * string group = 15 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * @return This builder for chaining. + */ + public Builder clearGroup() { + + group_ = getDefaultInstance().getGroup(); + onChanged(); + return this; + } + /** + *
+     * Output only. The group this migrating vm is included in, if any. The group
+     * is represented by the full path of the appropriate
+     * [Group][google.cloud.vmmigration.v1.Group] resource.
+     * 
+ * + * string group = 15 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * @param value The bytes for group to set. + * @return This builder for chaining. + */ + public Builder setGroupBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + group_ = value; + onChanged(); + return this; + } + + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> labels_; + private com.google.protobuf.MapField + internalGetLabels() { + if (labels_ == null) { + return com.google.protobuf.MapField.emptyMapField( + LabelsDefaultEntryHolder.defaultEntry); + } + return labels_; + } + private com.google.protobuf.MapField + internalGetMutableLabels() { + onChanged();; + if (labels_ == null) { + labels_ = com.google.protobuf.MapField.newMapField( + LabelsDefaultEntryHolder.defaultEntry); + } + if (!labels_.isMutable()) { + labels_ = labels_.copy(); + } + return labels_; + } + + public int getLabelsCount() { + return internalGetLabels().getMap().size(); + } + /** + *
+     * The labels of the migrating VM.
+     * 
+ * + * map<string, string> labels = 16; + */ + + @java.lang.Override + public boolean containsLabels( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + return internalGetLabels().getMap().containsKey(key); + } + /** + * Use {@link #getLabelsMap()} instead. + */ + @java.lang.Override + @java.lang.Deprecated + public java.util.Map getLabels() { + return getLabelsMap(); + } + /** + *
+     * The labels of the migrating VM.
+     * 
+ * + * map<string, string> labels = 16; + */ + @java.lang.Override + + public java.util.Map getLabelsMap() { + return internalGetLabels().getMap(); + } + /** + *
+     * The labels of the migrating VM.
+     * 
+ * + * map<string, string> labels = 16; + */ + @java.lang.Override + + public java.lang.String getLabelsOrDefault( + java.lang.String key, + java.lang.String defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetLabels().getMap(); + return map.containsKey(key) ? map.get(key) : defaultValue; + } + /** + *
+     * The labels of the migrating VM.
+     * 
+ * + * map<string, string> labels = 16; + */ + @java.lang.Override + + public java.lang.String getLabelsOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetLabels().getMap(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); + } + return map.get(key); + } + + public Builder clearLabels() { + internalGetMutableLabels().getMutableMap() + .clear(); + return this; + } + /** + *
+     * The labels of the migrating VM.
+     * 
+ * + * map<string, string> labels = 16; + */ + + public Builder removeLabels( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + internalGetMutableLabels().getMutableMap() + .remove(key); + return this; + } + /** + * Use alternate mutation accessors instead. + */ + @java.lang.Deprecated + public java.util.Map + getMutableLabels() { + return internalGetMutableLabels().getMutableMap(); + } + /** + *
+     * The labels of the migrating VM.
+     * 
+ * + * map<string, string> labels = 16; + */ + public Builder putLabels( + java.lang.String key, + java.lang.String value) { + if (key == null) { throw new NullPointerException("map key"); } + if (value == null) { + throw new NullPointerException("map value"); +} + + internalGetMutableLabels().getMutableMap() + .put(key, value); + return this; + } + /** + *
+     * The labels of the migrating VM.
+     * 
+ * + * map<string, string> labels = 16; + */ + + public Builder putAllLabels( + java.util.Map values) { + internalGetMutableLabels().getMutableMap() + .putAll(values); + return this; + } + + private java.util.List recentCloneJobs_ = + java.util.Collections.emptyList(); + private void ensureRecentCloneJobsIsMutable() { + if (!((bitField0_ & 0x00000002) != 0)) { + recentCloneJobs_ = new java.util.ArrayList(recentCloneJobs_); + bitField0_ |= 0x00000002; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.vmmigration.v1.CloneJob, com.google.cloud.vmmigration.v1.CloneJob.Builder, com.google.cloud.vmmigration.v1.CloneJobOrBuilder> recentCloneJobsBuilder_; + + /** + *
+     * Output only. The recent [clone jobs][google.cloud.vmmigration.v1.CloneJob]
+     * performed on the migrating VM. This field holds the vm's last completed
+     * clone job and the vm's running clone job, if one exists.
+     * Note: To have this field populated you need to explicitly request it via
+     * the "view" parameter of the Get/List request.
+     * 
+ * + * repeated .google.cloud.vmmigration.v1.CloneJob recent_clone_jobs = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public java.util.List getRecentCloneJobsList() { + if (recentCloneJobsBuilder_ == null) { + return java.util.Collections.unmodifiableList(recentCloneJobs_); + } else { + return recentCloneJobsBuilder_.getMessageList(); + } + } + /** + *
+     * Output only. The recent [clone jobs][google.cloud.vmmigration.v1.CloneJob]
+     * performed on the migrating VM. This field holds the vm's last completed
+     * clone job and the vm's running clone job, if one exists.
+     * Note: To have this field populated you need to explicitly request it via
+     * the "view" parameter of the Get/List request.
+     * 
+ * + * repeated .google.cloud.vmmigration.v1.CloneJob recent_clone_jobs = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public int getRecentCloneJobsCount() { + if (recentCloneJobsBuilder_ == null) { + return recentCloneJobs_.size(); + } else { + return recentCloneJobsBuilder_.getCount(); + } + } + /** + *
+     * Output only. The recent [clone jobs][google.cloud.vmmigration.v1.CloneJob]
+     * performed on the migrating VM. This field holds the vm's last completed
+     * clone job and the vm's running clone job, if one exists.
+     * Note: To have this field populated you need to explicitly request it via
+     * the "view" parameter of the Get/List request.
+     * 
+ * + * repeated .google.cloud.vmmigration.v1.CloneJob recent_clone_jobs = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public com.google.cloud.vmmigration.v1.CloneJob getRecentCloneJobs(int index) { + if (recentCloneJobsBuilder_ == null) { + return recentCloneJobs_.get(index); + } else { + return recentCloneJobsBuilder_.getMessage(index); + } + } + /** + *
+     * Output only. The recent [clone jobs][google.cloud.vmmigration.v1.CloneJob]
+     * performed on the migrating VM. This field holds the vm's last completed
+     * clone job and the vm's running clone job, if one exists.
+     * Note: To have this field populated you need to explicitly request it via
+     * the "view" parameter of the Get/List request.
+     * 
+ * + * repeated .google.cloud.vmmigration.v1.CloneJob recent_clone_jobs = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public Builder setRecentCloneJobs( + int index, com.google.cloud.vmmigration.v1.CloneJob value) { + if (recentCloneJobsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureRecentCloneJobsIsMutable(); + recentCloneJobs_.set(index, value); + onChanged(); + } else { + recentCloneJobsBuilder_.setMessage(index, value); + } + return this; + } + /** + *
+     * Output only. The recent [clone jobs][google.cloud.vmmigration.v1.CloneJob]
+     * performed on the migrating VM. This field holds the vm's last completed
+     * clone job and the vm's running clone job, if one exists.
+     * Note: To have this field populated you need to explicitly request it via
+     * the "view" parameter of the Get/List request.
+     * 
+ * + * repeated .google.cloud.vmmigration.v1.CloneJob recent_clone_jobs = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public Builder setRecentCloneJobs( + int index, com.google.cloud.vmmigration.v1.CloneJob.Builder builderForValue) { + if (recentCloneJobsBuilder_ == null) { + ensureRecentCloneJobsIsMutable(); + recentCloneJobs_.set(index, builderForValue.build()); + onChanged(); + } else { + recentCloneJobsBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + *
+     * Output only. The recent [clone jobs][google.cloud.vmmigration.v1.CloneJob]
+     * performed on the migrating VM. This field holds the vm's last completed
+     * clone job and the vm's running clone job, if one exists.
+     * Note: To have this field populated you need to explicitly request it via
+     * the "view" parameter of the Get/List request.
+     * 
+ * + * repeated .google.cloud.vmmigration.v1.CloneJob recent_clone_jobs = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public Builder addRecentCloneJobs(com.google.cloud.vmmigration.v1.CloneJob value) { + if (recentCloneJobsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureRecentCloneJobsIsMutable(); + recentCloneJobs_.add(value); + onChanged(); + } else { + recentCloneJobsBuilder_.addMessage(value); + } + return this; + } + /** + *
+     * Output only. The recent [clone jobs][google.cloud.vmmigration.v1.CloneJob]
+     * performed on the migrating VM. This field holds the vm's last completed
+     * clone job and the vm's running clone job, if one exists.
+     * Note: To have this field populated you need to explicitly request it via
+     * the "view" parameter of the Get/List request.
+     * 
+ * + * repeated .google.cloud.vmmigration.v1.CloneJob recent_clone_jobs = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public Builder addRecentCloneJobs( + int index, com.google.cloud.vmmigration.v1.CloneJob value) { + if (recentCloneJobsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureRecentCloneJobsIsMutable(); + recentCloneJobs_.add(index, value); + onChanged(); + } else { + recentCloneJobsBuilder_.addMessage(index, value); + } + return this; + } + /** + *
+     * Output only. The recent [clone jobs][google.cloud.vmmigration.v1.CloneJob]
+     * performed on the migrating VM. This field holds the vm's last completed
+     * clone job and the vm's running clone job, if one exists.
+     * Note: To have this field populated you need to explicitly request it via
+     * the "view" parameter of the Get/List request.
+     * 
+ * + * repeated .google.cloud.vmmigration.v1.CloneJob recent_clone_jobs = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public Builder addRecentCloneJobs( + com.google.cloud.vmmigration.v1.CloneJob.Builder builderForValue) { + if (recentCloneJobsBuilder_ == null) { + ensureRecentCloneJobsIsMutable(); + recentCloneJobs_.add(builderForValue.build()); + onChanged(); + } else { + recentCloneJobsBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + *
+     * Output only. The recent [clone jobs][google.cloud.vmmigration.v1.CloneJob]
+     * performed on the migrating VM. This field holds the vm's last completed
+     * clone job and the vm's running clone job, if one exists.
+     * Note: To have this field populated you need to explicitly request it via
+     * the "view" parameter of the Get/List request.
+     * 
+ * + * repeated .google.cloud.vmmigration.v1.CloneJob recent_clone_jobs = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public Builder addRecentCloneJobs( + int index, com.google.cloud.vmmigration.v1.CloneJob.Builder builderForValue) { + if (recentCloneJobsBuilder_ == null) { + ensureRecentCloneJobsIsMutable(); + recentCloneJobs_.add(index, builderForValue.build()); + onChanged(); + } else { + recentCloneJobsBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + *
+     * Output only. The recent [clone jobs][google.cloud.vmmigration.v1.CloneJob]
+     * performed on the migrating VM. This field holds the vm's last completed
+     * clone job and the vm's running clone job, if one exists.
+     * Note: To have this field populated you need to explicitly request it via
+     * the "view" parameter of the Get/List request.
+     * 
+ * + * repeated .google.cloud.vmmigration.v1.CloneJob recent_clone_jobs = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public Builder addAllRecentCloneJobs( + java.lang.Iterable values) { + if (recentCloneJobsBuilder_ == null) { + ensureRecentCloneJobsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, recentCloneJobs_); + onChanged(); + } else { + recentCloneJobsBuilder_.addAllMessages(values); + } + return this; + } + /** + *
+     * Output only. The recent [clone jobs][google.cloud.vmmigration.v1.CloneJob]
+     * performed on the migrating VM. This field holds the vm's last completed
+     * clone job and the vm's running clone job, if one exists.
+     * Note: To have this field populated you need to explicitly request it via
+     * the "view" parameter of the Get/List request.
+     * 
+ * + * repeated .google.cloud.vmmigration.v1.CloneJob recent_clone_jobs = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public Builder clearRecentCloneJobs() { + if (recentCloneJobsBuilder_ == null) { + recentCloneJobs_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + } else { + recentCloneJobsBuilder_.clear(); + } + return this; + } + /** + *
+     * Output only. The recent [clone jobs][google.cloud.vmmigration.v1.CloneJob]
+     * performed on the migrating VM. This field holds the vm's last completed
+     * clone job and the vm's running clone job, if one exists.
+     * Note: To have this field populated you need to explicitly request it via
+     * the "view" parameter of the Get/List request.
+     * 
+ * + * repeated .google.cloud.vmmigration.v1.CloneJob recent_clone_jobs = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public Builder removeRecentCloneJobs(int index) { + if (recentCloneJobsBuilder_ == null) { + ensureRecentCloneJobsIsMutable(); + recentCloneJobs_.remove(index); + onChanged(); + } else { + recentCloneJobsBuilder_.remove(index); + } + return this; + } + /** + *
+     * Output only. The recent [clone jobs][google.cloud.vmmigration.v1.CloneJob]
+     * performed on the migrating VM. This field holds the vm's last completed
+     * clone job and the vm's running clone job, if one exists.
+     * Note: To have this field populated you need to explicitly request it via
+     * the "view" parameter of the Get/List request.
+     * 
+ * + * repeated .google.cloud.vmmigration.v1.CloneJob recent_clone_jobs = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public com.google.cloud.vmmigration.v1.CloneJob.Builder getRecentCloneJobsBuilder( + int index) { + return getRecentCloneJobsFieldBuilder().getBuilder(index); + } + /** + *
+     * Output only. The recent [clone jobs][google.cloud.vmmigration.v1.CloneJob]
+     * performed on the migrating VM. This field holds the vm's last completed
+     * clone job and the vm's running clone job, if one exists.
+     * Note: To have this field populated you need to explicitly request it via
+     * the "view" parameter of the Get/List request.
+     * 
+ * + * repeated .google.cloud.vmmigration.v1.CloneJob recent_clone_jobs = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public com.google.cloud.vmmigration.v1.CloneJobOrBuilder getRecentCloneJobsOrBuilder( + int index) { + if (recentCloneJobsBuilder_ == null) { + return recentCloneJobs_.get(index); } else { + return recentCloneJobsBuilder_.getMessageOrBuilder(index); + } + } + /** + *
+     * Output only. The recent [clone jobs][google.cloud.vmmigration.v1.CloneJob]
+     * performed on the migrating VM. This field holds the vm's last completed
+     * clone job and the vm's running clone job, if one exists.
+     * Note: To have this field populated you need to explicitly request it via
+     * the "view" parameter of the Get/List request.
+     * 
+ * + * repeated .google.cloud.vmmigration.v1.CloneJob recent_clone_jobs = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public java.util.List + getRecentCloneJobsOrBuilderList() { + if (recentCloneJobsBuilder_ != null) { + return recentCloneJobsBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(recentCloneJobs_); + } + } + /** + *
+     * Output only. The recent [clone jobs][google.cloud.vmmigration.v1.CloneJob]
+     * performed on the migrating VM. This field holds the vm's last completed
+     * clone job and the vm's running clone job, if one exists.
+     * Note: To have this field populated you need to explicitly request it via
+     * the "view" parameter of the Get/List request.
+     * 
+ * + * repeated .google.cloud.vmmigration.v1.CloneJob recent_clone_jobs = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public com.google.cloud.vmmigration.v1.CloneJob.Builder addRecentCloneJobsBuilder() { + return getRecentCloneJobsFieldBuilder().addBuilder( + com.google.cloud.vmmigration.v1.CloneJob.getDefaultInstance()); + } + /** + *
+     * Output only. The recent [clone jobs][google.cloud.vmmigration.v1.CloneJob]
+     * performed on the migrating VM. This field holds the vm's last completed
+     * clone job and the vm's running clone job, if one exists.
+     * Note: To have this field populated you need to explicitly request it via
+     * the "view" parameter of the Get/List request.
+     * 
+ * + * repeated .google.cloud.vmmigration.v1.CloneJob recent_clone_jobs = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public com.google.cloud.vmmigration.v1.CloneJob.Builder addRecentCloneJobsBuilder( + int index) { + return getRecentCloneJobsFieldBuilder().addBuilder( + index, com.google.cloud.vmmigration.v1.CloneJob.getDefaultInstance()); + } + /** + *
+     * Output only. The recent [clone jobs][google.cloud.vmmigration.v1.CloneJob]
+     * performed on the migrating VM. This field holds the vm's last completed
+     * clone job and the vm's running clone job, if one exists.
+     * Note: To have this field populated you need to explicitly request it via
+     * the "view" parameter of the Get/List request.
+     * 
+ * + * repeated .google.cloud.vmmigration.v1.CloneJob recent_clone_jobs = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public java.util.List + getRecentCloneJobsBuilderList() { + return getRecentCloneJobsFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.vmmigration.v1.CloneJob, com.google.cloud.vmmigration.v1.CloneJob.Builder, com.google.cloud.vmmigration.v1.CloneJobOrBuilder> + getRecentCloneJobsFieldBuilder() { + if (recentCloneJobsBuilder_ == null) { + recentCloneJobsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.vmmigration.v1.CloneJob, com.google.cloud.vmmigration.v1.CloneJob.Builder, com.google.cloud.vmmigration.v1.CloneJobOrBuilder>( + recentCloneJobs_, + ((bitField0_ & 0x00000002) != 0), + getParentForChildren(), + isClean()); + recentCloneJobs_ = null; + } + return recentCloneJobsBuilder_; + } + + private com.google.rpc.Status error_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> errorBuilder_; + /** + *
+     * Output only. Provides details on the state of the Migrating VM in case of
+     * an error in replication.
+     * 
+ * + * .google.rpc.Status error = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return Whether the error field is set. + */ + public boolean hasError() { + return errorBuilder_ != null || error_ != null; + } + /** + *
+     * Output only. Provides details on the state of the Migrating VM in case of
+     * an error in replication.
+     * 
+ * + * .google.rpc.Status error = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The error. + */ + public com.google.rpc.Status getError() { + if (errorBuilder_ == null) { + return error_ == null ? com.google.rpc.Status.getDefaultInstance() : error_; + } else { + return errorBuilder_.getMessage(); + } + } + /** + *
+     * Output only. Provides details on the state of the Migrating VM in case of
+     * an error in replication.
+     * 
+ * + * .google.rpc.Status error = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public Builder setError(com.google.rpc.Status value) { + if (errorBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + error_ = value; + onChanged(); + } else { + errorBuilder_.setMessage(value); + } + + return this; + } + /** + *
+     * Output only. Provides details on the state of the Migrating VM in case of
+     * an error in replication.
+     * 
+ * + * .google.rpc.Status error = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public Builder setError( + com.google.rpc.Status.Builder builderForValue) { + if (errorBuilder_ == null) { + error_ = builderForValue.build(); + onChanged(); + } else { + errorBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + *
+     * Output only. Provides details on the state of the Migrating VM in case of
+     * an error in replication.
+     * 
+ * + * .google.rpc.Status error = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public Builder mergeError(com.google.rpc.Status value) { + if (errorBuilder_ == null) { + if (error_ != null) { + error_ = + com.google.rpc.Status.newBuilder(error_).mergeFrom(value).buildPartial(); + } else { + error_ = value; + } + onChanged(); + } else { + errorBuilder_.mergeFrom(value); + } + + return this; + } + /** + *
+     * Output only. Provides details on the state of the Migrating VM in case of
+     * an error in replication.
+     * 
+ * + * .google.rpc.Status error = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public Builder clearError() { + if (errorBuilder_ == null) { + error_ = null; + onChanged(); + } else { + error_ = null; + errorBuilder_ = null; + } + + return this; + } + /** + *
+     * Output only. Provides details on the state of the Migrating VM in case of
+     * an error in replication.
+     * 
+ * + * .google.rpc.Status error = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public com.google.rpc.Status.Builder getErrorBuilder() { + + onChanged(); + return getErrorFieldBuilder().getBuilder(); + } + /** + *
+     * Output only. Provides details on the state of the Migrating VM in case of
+     * an error in replication.
+     * 
+ * + * .google.rpc.Status error = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public com.google.rpc.StatusOrBuilder getErrorOrBuilder() { + if (errorBuilder_ != null) { + return errorBuilder_.getMessageOrBuilder(); + } else { + return error_ == null ? + com.google.rpc.Status.getDefaultInstance() : error_; + } + } + /** + *
+     * Output only. Provides details on the state of the Migrating VM in case of
+     * an error in replication.
+     * 
+ * + * .google.rpc.Status error = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> + getErrorFieldBuilder() { + if (errorBuilder_ == null) { + errorBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder>( + getError(), + getParentForChildren(), + isClean()); + error_ = null; + } + return errorBuilder_; + } + + private java.util.List recentCutoverJobs_ = + java.util.Collections.emptyList(); + private void ensureRecentCutoverJobsIsMutable() { + if (!((bitField0_ & 0x00000004) != 0)) { + recentCutoverJobs_ = new java.util.ArrayList(recentCutoverJobs_); + bitField0_ |= 0x00000004; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.vmmigration.v1.CutoverJob, com.google.cloud.vmmigration.v1.CutoverJob.Builder, com.google.cloud.vmmigration.v1.CutoverJobOrBuilder> recentCutoverJobsBuilder_; + + /** + *
+     * Output only. The recent cutover jobs performed on the migrating VM.
+     * This field holds the vm's last completed cutover job and the vm's
+     * running cutover job, if one exists.
+     * Note: To have this field populated you need to explicitly request it via
+     * the "view" parameter of the Get/List request.
+     * 
+ * + * repeated .google.cloud.vmmigration.v1.CutoverJob recent_cutover_jobs = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public java.util.List getRecentCutoverJobsList() { + if (recentCutoverJobsBuilder_ == null) { + return java.util.Collections.unmodifiableList(recentCutoverJobs_); + } else { + return recentCutoverJobsBuilder_.getMessageList(); + } + } + /** + *
+     * Output only. The recent cutover jobs performed on the migrating VM.
+     * This field holds the vm's last completed cutover job and the vm's
+     * running cutover job, if one exists.
+     * Note: To have this field populated you need to explicitly request it via
+     * the "view" parameter of the Get/List request.
+     * 
+ * + * repeated .google.cloud.vmmigration.v1.CutoverJob recent_cutover_jobs = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public int getRecentCutoverJobsCount() { + if (recentCutoverJobsBuilder_ == null) { + return recentCutoverJobs_.size(); + } else { + return recentCutoverJobsBuilder_.getCount(); + } + } + /** + *
+     * Output only. The recent cutover jobs performed on the migrating VM.
+     * This field holds the vm's last completed cutover job and the vm's
+     * running cutover job, if one exists.
+     * Note: To have this field populated you need to explicitly request it via
+     * the "view" parameter of the Get/List request.
+     * 
+ * + * repeated .google.cloud.vmmigration.v1.CutoverJob recent_cutover_jobs = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public com.google.cloud.vmmigration.v1.CutoverJob getRecentCutoverJobs(int index) { + if (recentCutoverJobsBuilder_ == null) { + return recentCutoverJobs_.get(index); + } else { + return recentCutoverJobsBuilder_.getMessage(index); + } + } + /** + *
+     * Output only. The recent cutover jobs performed on the migrating VM.
+     * This field holds the vm's last completed cutover job and the vm's
+     * running cutover job, if one exists.
+     * Note: To have this field populated you need to explicitly request it via
+     * the "view" parameter of the Get/List request.
+     * 
+ * + * repeated .google.cloud.vmmigration.v1.CutoverJob recent_cutover_jobs = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public Builder setRecentCutoverJobs( + int index, com.google.cloud.vmmigration.v1.CutoverJob value) { + if (recentCutoverJobsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureRecentCutoverJobsIsMutable(); + recentCutoverJobs_.set(index, value); + onChanged(); + } else { + recentCutoverJobsBuilder_.setMessage(index, value); + } + return this; + } + /** + *
+     * Output only. The recent cutover jobs performed on the migrating VM.
+     * This field holds the vm's last completed cutover job and the vm's
+     * running cutover job, if one exists.
+     * Note: To have this field populated you need to explicitly request it via
+     * the "view" parameter of the Get/List request.
+     * 
+ * + * repeated .google.cloud.vmmigration.v1.CutoverJob recent_cutover_jobs = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public Builder setRecentCutoverJobs( + int index, com.google.cloud.vmmigration.v1.CutoverJob.Builder builderForValue) { + if (recentCutoverJobsBuilder_ == null) { + ensureRecentCutoverJobsIsMutable(); + recentCutoverJobs_.set(index, builderForValue.build()); + onChanged(); + } else { + recentCutoverJobsBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + *
+     * Output only. The recent cutover jobs performed on the migrating VM.
+     * This field holds the vm's last completed cutover job and the vm's
+     * running cutover job, if one exists.
+     * Note: To have this field populated you need to explicitly request it via
+     * the "view" parameter of the Get/List request.
+     * 
+ * + * repeated .google.cloud.vmmigration.v1.CutoverJob recent_cutover_jobs = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public Builder addRecentCutoverJobs(com.google.cloud.vmmigration.v1.CutoverJob value) { + if (recentCutoverJobsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureRecentCutoverJobsIsMutable(); + recentCutoverJobs_.add(value); + onChanged(); + } else { + recentCutoverJobsBuilder_.addMessage(value); + } + return this; + } + /** + *
+     * Output only. The recent cutover jobs performed on the migrating VM.
+     * This field holds the vm's last completed cutover job and the vm's
+     * running cutover job, if one exists.
+     * Note: To have this field populated you need to explicitly request it via
+     * the "view" parameter of the Get/List request.
+     * 
+ * + * repeated .google.cloud.vmmigration.v1.CutoverJob recent_cutover_jobs = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public Builder addRecentCutoverJobs( + int index, com.google.cloud.vmmigration.v1.CutoverJob value) { + if (recentCutoverJobsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureRecentCutoverJobsIsMutable(); + recentCutoverJobs_.add(index, value); + onChanged(); + } else { + recentCutoverJobsBuilder_.addMessage(index, value); + } + return this; + } + /** + *
+     * Output only. The recent cutover jobs performed on the migrating VM.
+     * This field holds the vm's last completed cutover job and the vm's
+     * running cutover job, if one exists.
+     * Note: To have this field populated you need to explicitly request it via
+     * the "view" parameter of the Get/List request.
+     * 
+ * + * repeated .google.cloud.vmmigration.v1.CutoverJob recent_cutover_jobs = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public Builder addRecentCutoverJobs( + com.google.cloud.vmmigration.v1.CutoverJob.Builder builderForValue) { + if (recentCutoverJobsBuilder_ == null) { + ensureRecentCutoverJobsIsMutable(); + recentCutoverJobs_.add(builderForValue.build()); + onChanged(); + } else { + recentCutoverJobsBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + *
+     * Output only. The recent cutover jobs performed on the migrating VM.
+     * This field holds the vm's last completed cutover job and the vm's
+     * running cutover job, if one exists.
+     * Note: To have this field populated you need to explicitly request it via
+     * the "view" parameter of the Get/List request.
+     * 
+ * + * repeated .google.cloud.vmmigration.v1.CutoverJob recent_cutover_jobs = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public Builder addRecentCutoverJobs( + int index, com.google.cloud.vmmigration.v1.CutoverJob.Builder builderForValue) { + if (recentCutoverJobsBuilder_ == null) { + ensureRecentCutoverJobsIsMutable(); + recentCutoverJobs_.add(index, builderForValue.build()); + onChanged(); + } else { + recentCutoverJobsBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + *
+     * Output only. The recent cutover jobs performed on the migrating VM.
+     * This field holds the vm's last completed cutover job and the vm's
+     * running cutover job, if one exists.
+     * Note: To have this field populated you need to explicitly request it via
+     * the "view" parameter of the Get/List request.
+     * 
+ * + * repeated .google.cloud.vmmigration.v1.CutoverJob recent_cutover_jobs = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public Builder addAllRecentCutoverJobs( + java.lang.Iterable values) { + if (recentCutoverJobsBuilder_ == null) { + ensureRecentCutoverJobsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, recentCutoverJobs_); + onChanged(); + } else { + recentCutoverJobsBuilder_.addAllMessages(values); + } + return this; + } + /** + *
+     * Output only. The recent cutover jobs performed on the migrating VM.
+     * This field holds the vm's last completed cutover job and the vm's
+     * running cutover job, if one exists.
+     * Note: To have this field populated you need to explicitly request it via
+     * the "view" parameter of the Get/List request.
+     * 
+ * + * repeated .google.cloud.vmmigration.v1.CutoverJob recent_cutover_jobs = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public Builder clearRecentCutoverJobs() { + if (recentCutoverJobsBuilder_ == null) { + recentCutoverJobs_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + } else { + recentCutoverJobsBuilder_.clear(); + } + return this; + } + /** + *
+     * Output only. The recent cutover jobs performed on the migrating VM.
+     * This field holds the vm's last completed cutover job and the vm's
+     * running cutover job, if one exists.
+     * Note: To have this field populated you need to explicitly request it via
+     * the "view" parameter of the Get/List request.
+     * 
+ * + * repeated .google.cloud.vmmigration.v1.CutoverJob recent_cutover_jobs = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public Builder removeRecentCutoverJobs(int index) { + if (recentCutoverJobsBuilder_ == null) { + ensureRecentCutoverJobsIsMutable(); + recentCutoverJobs_.remove(index); + onChanged(); + } else { + recentCutoverJobsBuilder_.remove(index); + } + return this; + } + /** + *
+     * Output only. The recent cutover jobs performed on the migrating VM.
+     * This field holds the vm's last completed cutover job and the vm's
+     * running cutover job, if one exists.
+     * Note: To have this field populated you need to explicitly request it via
+     * the "view" parameter of the Get/List request.
+     * 
+ * + * repeated .google.cloud.vmmigration.v1.CutoverJob recent_cutover_jobs = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public com.google.cloud.vmmigration.v1.CutoverJob.Builder getRecentCutoverJobsBuilder( + int index) { + return getRecentCutoverJobsFieldBuilder().getBuilder(index); + } + /** + *
+     * Output only. The recent cutover jobs performed on the migrating VM.
+     * This field holds the vm's last completed cutover job and the vm's
+     * running cutover job, if one exists.
+     * Note: To have this field populated you need to explicitly request it via
+     * the "view" parameter of the Get/List request.
+     * 
+ * + * repeated .google.cloud.vmmigration.v1.CutoverJob recent_cutover_jobs = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public com.google.cloud.vmmigration.v1.CutoverJobOrBuilder getRecentCutoverJobsOrBuilder( + int index) { + if (recentCutoverJobsBuilder_ == null) { + return recentCutoverJobs_.get(index); } else { + return recentCutoverJobsBuilder_.getMessageOrBuilder(index); + } + } + /** + *
+     * Output only. The recent cutover jobs performed on the migrating VM.
+     * This field holds the vm's last completed cutover job and the vm's
+     * running cutover job, if one exists.
+     * Note: To have this field populated you need to explicitly request it via
+     * the "view" parameter of the Get/List request.
+     * 
+ * + * repeated .google.cloud.vmmigration.v1.CutoverJob recent_cutover_jobs = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public java.util.List + getRecentCutoverJobsOrBuilderList() { + if (recentCutoverJobsBuilder_ != null) { + return recentCutoverJobsBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(recentCutoverJobs_); + } + } + /** + *
+     * Output only. The recent cutover jobs performed on the migrating VM.
+     * This field holds the vm's last completed cutover job and the vm's
+     * running cutover job, if one exists.
+     * Note: To have this field populated you need to explicitly request it via
+     * the "view" parameter of the Get/List request.
+     * 
+ * + * repeated .google.cloud.vmmigration.v1.CutoverJob recent_cutover_jobs = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public com.google.cloud.vmmigration.v1.CutoverJob.Builder addRecentCutoverJobsBuilder() { + return getRecentCutoverJobsFieldBuilder().addBuilder( + com.google.cloud.vmmigration.v1.CutoverJob.getDefaultInstance()); + } + /** + *
+     * Output only. The recent cutover jobs performed on the migrating VM.
+     * This field holds the vm's last completed cutover job and the vm's
+     * running cutover job, if one exists.
+     * Note: To have this field populated you need to explicitly request it via
+     * the "view" parameter of the Get/List request.
+     * 
+ * + * repeated .google.cloud.vmmigration.v1.CutoverJob recent_cutover_jobs = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public com.google.cloud.vmmigration.v1.CutoverJob.Builder addRecentCutoverJobsBuilder( + int index) { + return getRecentCutoverJobsFieldBuilder().addBuilder( + index, com.google.cloud.vmmigration.v1.CutoverJob.getDefaultInstance()); + } + /** + *
+     * Output only. The recent cutover jobs performed on the migrating VM.
+     * This field holds the vm's last completed cutover job and the vm's
+     * running cutover job, if one exists.
+     * Note: To have this field populated you need to explicitly request it via
+     * the "view" parameter of the Get/List request.
+     * 
+ * + * repeated .google.cloud.vmmigration.v1.CutoverJob recent_cutover_jobs = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public java.util.List + getRecentCutoverJobsBuilderList() { + return getRecentCutoverJobsFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.vmmigration.v1.CutoverJob, com.google.cloud.vmmigration.v1.CutoverJob.Builder, com.google.cloud.vmmigration.v1.CutoverJobOrBuilder> + getRecentCutoverJobsFieldBuilder() { + if (recentCutoverJobsBuilder_ == null) { + recentCutoverJobsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.vmmigration.v1.CutoverJob, com.google.cloud.vmmigration.v1.CutoverJob.Builder, com.google.cloud.vmmigration.v1.CutoverJobOrBuilder>( + recentCutoverJobs_, + ((bitField0_ & 0x00000004) != 0), + getParentForChildren(), + isClean()); + recentCutoverJobs_ = null; + } + return recentCutoverJobsBuilder_; + } + @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.vmmigration.v1.MigratingVm) + } + + // @@protoc_insertion_point(class_scope:google.cloud.vmmigration.v1.MigratingVm) + private static final com.google.cloud.vmmigration.v1.MigratingVm DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.google.cloud.vmmigration.v1.MigratingVm(); + } + + public static com.google.cloud.vmmigration.v1.MigratingVm getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MigratingVm parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new MigratingVm(input, extensionRegistry); + } + }; + + 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.vmmigration.v1.MigratingVm getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/MigratingVmName.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/MigratingVmName.java similarity index 100% rename from proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/MigratingVmName.java rename to owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/MigratingVmName.java diff --git a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/MigratingVmOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/MigratingVmOrBuilder.java new file mode 100644 index 0000000..815dc6f --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/MigratingVmOrBuilder.java @@ -0,0 +1,550 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/vmmigration/v1/vmmigration.proto + +package com.google.cloud.vmmigration.v1; + +public interface MigratingVmOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.MigratingVm) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Details of the target VM in Compute Engine.
+   * 
+ * + * .google.cloud.vmmigration.v1.ComputeEngineTargetDefaults compute_engine_target_defaults = 26; + * @return Whether the computeEngineTargetDefaults field is set. + */ + boolean hasComputeEngineTargetDefaults(); + /** + *
+   * Details of the target VM in Compute Engine.
+   * 
+ * + * .google.cloud.vmmigration.v1.ComputeEngineTargetDefaults compute_engine_target_defaults = 26; + * @return The computeEngineTargetDefaults. + */ + com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaults getComputeEngineTargetDefaults(); + /** + *
+   * Details of the target VM in Compute Engine.
+   * 
+ * + * .google.cloud.vmmigration.v1.ComputeEngineTargetDefaults compute_engine_target_defaults = 26; + */ + com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaultsOrBuilder getComputeEngineTargetDefaultsOrBuilder(); + + /** + *
+   * Output only. The identifier of the MigratingVm.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Output only. The identifier of the MigratingVm.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); + + /** + *
+   * The unique ID of the VM in the source.
+   * The VM's name in vSphere can be changed, so this is not the VM's name but
+   * rather its moRef id. This id is of the form vm-<num>.
+   * 
+ * + * string source_vm_id = 2; + * @return The sourceVmId. + */ + java.lang.String getSourceVmId(); + /** + *
+   * The unique ID of the VM in the source.
+   * The VM's name in vSphere can be changed, so this is not the VM's name but
+   * rather its moRef id. This id is of the form vm-<num>.
+   * 
+ * + * string source_vm_id = 2; + * @return The bytes for sourceVmId. + */ + com.google.protobuf.ByteString + getSourceVmIdBytes(); + + /** + *
+   * The display name attached to the MigratingVm by the user.
+   * 
+ * + * string display_name = 18; + * @return The displayName. + */ + java.lang.String getDisplayName(); + /** + *
+   * The display name attached to the MigratingVm by the user.
+   * 
+ * + * string display_name = 18; + * @return The bytes for displayName. + */ + com.google.protobuf.ByteString + getDisplayNameBytes(); + + /** + *
+   * The description attached to the migrating VM by the user.
+   * 
+ * + * string description = 3; + * @return The description. + */ + java.lang.String getDescription(); + /** + *
+   * The description attached to the migrating VM by the user.
+   * 
+ * + * string description = 3; + * @return The bytes for description. + */ + com.google.protobuf.ByteString + getDescriptionBytes(); + + /** + *
+   * The replication schedule policy.
+   * 
+ * + * .google.cloud.vmmigration.v1.SchedulePolicy policy = 8; + * @return Whether the policy field is set. + */ + boolean hasPolicy(); + /** + *
+   * The replication schedule policy.
+   * 
+ * + * .google.cloud.vmmigration.v1.SchedulePolicy policy = 8; + * @return The policy. + */ + com.google.cloud.vmmigration.v1.SchedulePolicy getPolicy(); + /** + *
+   * The replication schedule policy.
+   * 
+ * + * .google.cloud.vmmigration.v1.SchedulePolicy policy = 8; + */ + com.google.cloud.vmmigration.v1.SchedulePolicyOrBuilder getPolicyOrBuilder(); + + /** + *
+   * Output only. The time the migrating VM was created (this refers to this
+   * resource and not to the time it was installed in the source).
+   * 
+ * + * .google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return Whether the createTime field is set. + */ + boolean hasCreateTime(); + /** + *
+   * Output only. The time the migrating VM was created (this refers to this
+   * resource and not to the time it was installed in the source).
+   * 
+ * + * .google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The createTime. + */ + com.google.protobuf.Timestamp getCreateTime(); + /** + *
+   * Output only. The time the migrating VM was created (this refers to this
+   * resource and not to the time it was installed in the source).
+   * 
+ * + * .google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); + + /** + *
+   * Output only. The last time the migrating VM resource was updated.
+   * 
+ * + * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return Whether the updateTime field is set. + */ + boolean hasUpdateTime(); + /** + *
+   * Output only. The last time the migrating VM resource was updated.
+   * 
+ * + * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The updateTime. + */ + com.google.protobuf.Timestamp getUpdateTime(); + /** + *
+   * Output only. The last time the migrating VM resource was updated.
+   * 
+ * + * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); + + /** + *
+   * Output only. The most updated snapshot created time in the source that
+   * finished replication.
+   * 
+ * + * .google.cloud.vmmigration.v1.ReplicationSync last_sync = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return Whether the lastSync field is set. + */ + boolean hasLastSync(); + /** + *
+   * Output only. The most updated snapshot created time in the source that
+   * finished replication.
+   * 
+ * + * .google.cloud.vmmigration.v1.ReplicationSync last_sync = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The lastSync. + */ + com.google.cloud.vmmigration.v1.ReplicationSync getLastSync(); + /** + *
+   * Output only. The most updated snapshot created time in the source that
+   * finished replication.
+   * 
+ * + * .google.cloud.vmmigration.v1.ReplicationSync last_sync = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + com.google.cloud.vmmigration.v1.ReplicationSyncOrBuilder getLastSyncOrBuilder(); + + /** + *
+   * Output only. State of the MigratingVm.
+   * 
+ * + * .google.cloud.vmmigration.v1.MigratingVm.State state = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The enum numeric value on the wire for state. + */ + int getStateValue(); + /** + *
+   * Output only. State of the MigratingVm.
+   * 
+ * + * .google.cloud.vmmigration.v1.MigratingVm.State state = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The state. + */ + com.google.cloud.vmmigration.v1.MigratingVm.State getState(); + + /** + *
+   * Output only. The last time the migrating VM state was updated.
+   * 
+ * + * .google.protobuf.Timestamp state_time = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return Whether the stateTime field is set. + */ + boolean hasStateTime(); + /** + *
+   * Output only. The last time the migrating VM state was updated.
+   * 
+ * + * .google.protobuf.Timestamp state_time = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The stateTime. + */ + com.google.protobuf.Timestamp getStateTime(); + /** + *
+   * Output only. The last time the migrating VM state was updated.
+   * 
+ * + * .google.protobuf.Timestamp state_time = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + com.google.protobuf.TimestampOrBuilder getStateTimeOrBuilder(); + + /** + *
+   * Output only. The percentage progress of the current running replication
+   * cycle.
+   * 
+ * + * .google.cloud.vmmigration.v1.ReplicationCycle current_sync_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return Whether the currentSyncInfo field is set. + */ + boolean hasCurrentSyncInfo(); + /** + *
+   * Output only. The percentage progress of the current running replication
+   * cycle.
+   * 
+ * + * .google.cloud.vmmigration.v1.ReplicationCycle current_sync_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The currentSyncInfo. + */ + com.google.cloud.vmmigration.v1.ReplicationCycle getCurrentSyncInfo(); + /** + *
+   * Output only. The percentage progress of the current running replication
+   * cycle.
+   * 
+ * + * .google.cloud.vmmigration.v1.ReplicationCycle current_sync_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + com.google.cloud.vmmigration.v1.ReplicationCycleOrBuilder getCurrentSyncInfoOrBuilder(); + + /** + *
+   * Output only. The group this migrating vm is included in, if any. The group
+   * is represented by the full path of the appropriate
+   * [Group][google.cloud.vmmigration.v1.Group] resource.
+   * 
+ * + * string group = 15 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * @return The group. + */ + java.lang.String getGroup(); + /** + *
+   * Output only. The group this migrating vm is included in, if any. The group
+   * is represented by the full path of the appropriate
+   * [Group][google.cloud.vmmigration.v1.Group] resource.
+   * 
+ * + * string group = 15 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * @return The bytes for group. + */ + com.google.protobuf.ByteString + getGroupBytes(); + + /** + *
+   * The labels of the migrating VM.
+   * 
+ * + * map<string, string> labels = 16; + */ + int getLabelsCount(); + /** + *
+   * The labels of the migrating VM.
+   * 
+ * + * map<string, string> labels = 16; + */ + boolean containsLabels( + java.lang.String key); + /** + * Use {@link #getLabelsMap()} instead. + */ + @java.lang.Deprecated + java.util.Map + getLabels(); + /** + *
+   * The labels of the migrating VM.
+   * 
+ * + * map<string, string> labels = 16; + */ + java.util.Map + getLabelsMap(); + /** + *
+   * The labels of the migrating VM.
+   * 
+ * + * map<string, string> labels = 16; + */ + + /* nullable */ +java.lang.String getLabelsOrDefault( + java.lang.String key, + /* nullable */ +java.lang.String defaultValue); + /** + *
+   * The labels of the migrating VM.
+   * 
+ * + * map<string, string> labels = 16; + */ + + java.lang.String getLabelsOrThrow( + java.lang.String key); + + /** + *
+   * Output only. The recent [clone jobs][google.cloud.vmmigration.v1.CloneJob]
+   * performed on the migrating VM. This field holds the vm's last completed
+   * clone job and the vm's running clone job, if one exists.
+   * Note: To have this field populated you need to explicitly request it via
+   * the "view" parameter of the Get/List request.
+   * 
+ * + * repeated .google.cloud.vmmigration.v1.CloneJob recent_clone_jobs = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + java.util.List + getRecentCloneJobsList(); + /** + *
+   * Output only. The recent [clone jobs][google.cloud.vmmigration.v1.CloneJob]
+   * performed on the migrating VM. This field holds the vm's last completed
+   * clone job and the vm's running clone job, if one exists.
+   * Note: To have this field populated you need to explicitly request it via
+   * the "view" parameter of the Get/List request.
+   * 
+ * + * repeated .google.cloud.vmmigration.v1.CloneJob recent_clone_jobs = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + com.google.cloud.vmmigration.v1.CloneJob getRecentCloneJobs(int index); + /** + *
+   * Output only. The recent [clone jobs][google.cloud.vmmigration.v1.CloneJob]
+   * performed on the migrating VM. This field holds the vm's last completed
+   * clone job and the vm's running clone job, if one exists.
+   * Note: To have this field populated you need to explicitly request it via
+   * the "view" parameter of the Get/List request.
+   * 
+ * + * repeated .google.cloud.vmmigration.v1.CloneJob recent_clone_jobs = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + int getRecentCloneJobsCount(); + /** + *
+   * Output only. The recent [clone jobs][google.cloud.vmmigration.v1.CloneJob]
+   * performed on the migrating VM. This field holds the vm's last completed
+   * clone job and the vm's running clone job, if one exists.
+   * Note: To have this field populated you need to explicitly request it via
+   * the "view" parameter of the Get/List request.
+   * 
+ * + * repeated .google.cloud.vmmigration.v1.CloneJob recent_clone_jobs = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + java.util.List + getRecentCloneJobsOrBuilderList(); + /** + *
+   * Output only. The recent [clone jobs][google.cloud.vmmigration.v1.CloneJob]
+   * performed on the migrating VM. This field holds the vm's last completed
+   * clone job and the vm's running clone job, if one exists.
+   * Note: To have this field populated you need to explicitly request it via
+   * the "view" parameter of the Get/List request.
+   * 
+ * + * repeated .google.cloud.vmmigration.v1.CloneJob recent_clone_jobs = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + com.google.cloud.vmmigration.v1.CloneJobOrBuilder getRecentCloneJobsOrBuilder( + int index); + + /** + *
+   * Output only. Provides details on the state of the Migrating VM in case of
+   * an error in replication.
+   * 
+ * + * .google.rpc.Status error = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return Whether the error field is set. + */ + boolean hasError(); + /** + *
+   * Output only. Provides details on the state of the Migrating VM in case of
+   * an error in replication.
+   * 
+ * + * .google.rpc.Status error = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The error. + */ + com.google.rpc.Status getError(); + /** + *
+   * Output only. Provides details on the state of the Migrating VM in case of
+   * an error in replication.
+   * 
+ * + * .google.rpc.Status error = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + com.google.rpc.StatusOrBuilder getErrorOrBuilder(); + + /** + *
+   * Output only. The recent cutover jobs performed on the migrating VM.
+   * This field holds the vm's last completed cutover job and the vm's
+   * running cutover job, if one exists.
+   * Note: To have this field populated you need to explicitly request it via
+   * the "view" parameter of the Get/List request.
+   * 
+ * + * repeated .google.cloud.vmmigration.v1.CutoverJob recent_cutover_jobs = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + java.util.List + getRecentCutoverJobsList(); + /** + *
+   * Output only. The recent cutover jobs performed on the migrating VM.
+   * This field holds the vm's last completed cutover job and the vm's
+   * running cutover job, if one exists.
+   * Note: To have this field populated you need to explicitly request it via
+   * the "view" parameter of the Get/List request.
+   * 
+ * + * repeated .google.cloud.vmmigration.v1.CutoverJob recent_cutover_jobs = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + com.google.cloud.vmmigration.v1.CutoverJob getRecentCutoverJobs(int index); + /** + *
+   * Output only. The recent cutover jobs performed on the migrating VM.
+   * This field holds the vm's last completed cutover job and the vm's
+   * running cutover job, if one exists.
+   * Note: To have this field populated you need to explicitly request it via
+   * the "view" parameter of the Get/List request.
+   * 
+ * + * repeated .google.cloud.vmmigration.v1.CutoverJob recent_cutover_jobs = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + int getRecentCutoverJobsCount(); + /** + *
+   * Output only. The recent cutover jobs performed on the migrating VM.
+   * This field holds the vm's last completed cutover job and the vm's
+   * running cutover job, if one exists.
+   * Note: To have this field populated you need to explicitly request it via
+   * the "view" parameter of the Get/List request.
+   * 
+ * + * repeated .google.cloud.vmmigration.v1.CutoverJob recent_cutover_jobs = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + java.util.List + getRecentCutoverJobsOrBuilderList(); + /** + *
+   * Output only. The recent cutover jobs performed on the migrating VM.
+   * This field holds the vm's last completed cutover job and the vm's
+   * running cutover job, if one exists.
+   * Note: To have this field populated you need to explicitly request it via
+   * the "view" parameter of the Get/List request.
+   * 
+ * + * repeated .google.cloud.vmmigration.v1.CutoverJob recent_cutover_jobs = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + com.google.cloud.vmmigration.v1.CutoverJobOrBuilder getRecentCutoverJobsOrBuilder( + int index); + + public com.google.cloud.vmmigration.v1.MigratingVm.TargetVmDefaultsCase getTargetVmDefaultsCase(); +} diff --git a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/MigratingVmView.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/MigratingVmView.java new file mode 100644 index 0000000..e706ed3 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/MigratingVmView.java @@ -0,0 +1,154 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/vmmigration/v1/vmmigration.proto + +package com.google.cloud.vmmigration.v1; + +/** + *
+ * Controls the level of details of a Migrating VM.
+ * 
+ * + * Protobuf enum {@code google.cloud.vmmigration.v1.MigratingVmView} + */ +public enum MigratingVmView + implements com.google.protobuf.ProtocolMessageEnum { + /** + *
+   * View is unspecified. The API will fallback to the default value.
+   * 
+ * + * MIGRATING_VM_VIEW_UNSPECIFIED = 0; + */ + MIGRATING_VM_VIEW_UNSPECIFIED(0), + /** + *
+   * Get the migrating VM basic details.
+   * The basic details do not include the recent clone jobs and recent cutover
+   * jobs lists.
+   * 
+ * + * MIGRATING_VM_VIEW_BASIC = 1; + */ + MIGRATING_VM_VIEW_BASIC(1), + /** + *
+   * Include everything.
+   * 
+ * + * MIGRATING_VM_VIEW_FULL = 2; + */ + MIGRATING_VM_VIEW_FULL(2), + UNRECOGNIZED(-1), + ; + + /** + *
+   * View is unspecified. The API will fallback to the default value.
+   * 
+ * + * MIGRATING_VM_VIEW_UNSPECIFIED = 0; + */ + public static final int MIGRATING_VM_VIEW_UNSPECIFIED_VALUE = 0; + /** + *
+   * Get the migrating VM basic details.
+   * The basic details do not include the recent clone jobs and recent cutover
+   * jobs lists.
+   * 
+ * + * MIGRATING_VM_VIEW_BASIC = 1; + */ + public static final int MIGRATING_VM_VIEW_BASIC_VALUE = 1; + /** + *
+   * Include everything.
+   * 
+ * + * MIGRATING_VM_VIEW_FULL = 2; + */ + public static final int MIGRATING_VM_VIEW_FULL_VALUE = 2; + + + public final int getNumber() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalArgumentException( + "Can't get the number of an unknown enum value."); + } + return value; + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static MigratingVmView valueOf(int value) { + return forNumber(value); + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ + public static MigratingVmView forNumber(int value) { + switch (value) { + case 0: return MIGRATING_VM_VIEW_UNSPECIFIED; + case 1: return MIGRATING_VM_VIEW_BASIC; + case 2: return MIGRATING_VM_VIEW_FULL; + default: return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { + return internalValueMap; + } + private static final com.google.protobuf.Internal.EnumLiteMap< + MigratingVmView> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public MigratingVmView findValueByNumber(int number) { + return MigratingVmView.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() { + return getDescriptor(); + } + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.getDescriptor().getEnumTypes().get(1); + } + + private static final MigratingVmView[] VALUES = values(); + + public static MigratingVmView valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + if (desc.getType() != getDescriptor()) { + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); + } + if (desc.getIndex() == -1) { + return UNRECOGNIZED; + } + return VALUES[desc.getIndex()]; + } + + private final int value; + + private MigratingVmView(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:google.cloud.vmmigration.v1.MigratingVmView) +} + diff --git a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/MigrationError.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/MigrationError.java similarity index 64% rename from proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/MigrationError.java rename to owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/MigrationError.java index 143b192..b757367 100644 --- a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/MigrationError.java +++ b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/MigrationError.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; /** - * - * *
  * Represents migration resource error information that can be used with
  * google.rpc.Status message. MigrationError is used to present the user with
@@ -29,16 +12,15 @@
  *
  * Protobuf type {@code google.cloud.vmmigration.v1.MigrationError}
  */
-public final class MigrationError extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class MigrationError extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.vmmigration.v1.MigrationError)
     MigrationErrorOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use MigrationError.newBuilder() to construct.
   private MigrationError(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private MigrationError() {
     code_ = 0;
     helpLinks_ = java.util.Collections.emptyList();
@@ -46,15 +28,16 @@ private MigrationError() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new MigrationError();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private MigrationError(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -74,75 +57,67 @@ private MigrationError(
           case 0:
             done = true;
             break;
-          case 8:
-            {
-              int rawValue = input.readEnum();
+          case 8: {
+            int rawValue = input.readEnum();
 
-              code_ = rawValue;
-              break;
+            code_ = rawValue;
+            break;
+          }
+          case 18: {
+            com.google.rpc.LocalizedMessage.Builder subBuilder = null;
+            if (errorMessage_ != null) {
+              subBuilder = errorMessage_.toBuilder();
             }
-          case 18:
-            {
-              com.google.rpc.LocalizedMessage.Builder subBuilder = null;
-              if (errorMessage_ != null) {
-                subBuilder = errorMessage_.toBuilder();
-              }
-              errorMessage_ =
-                  input.readMessage(com.google.rpc.LocalizedMessage.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(errorMessage_);
-                errorMessage_ = subBuilder.buildPartial();
-              }
-
-              break;
+            errorMessage_ = input.readMessage(com.google.rpc.LocalizedMessage.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(errorMessage_);
+              errorMessage_ = subBuilder.buildPartial();
             }
-          case 26:
-            {
-              com.google.rpc.LocalizedMessage.Builder subBuilder = null;
-              if (actionItem_ != null) {
-                subBuilder = actionItem_.toBuilder();
-              }
-              actionItem_ =
-                  input.readMessage(com.google.rpc.LocalizedMessage.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(actionItem_);
-                actionItem_ = subBuilder.buildPartial();
-              }
-
-              break;
+
+            break;
+          }
+          case 26: {
+            com.google.rpc.LocalizedMessage.Builder subBuilder = null;
+            if (actionItem_ != null) {
+              subBuilder = actionItem_.toBuilder();
             }
-          case 34:
-            {
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                helpLinks_ = new java.util.ArrayList();
-                mutable_bitField0_ |= 0x00000001;
-              }
-              helpLinks_.add(
-                  input.readMessage(com.google.rpc.Help.Link.parser(), extensionRegistry));
-              break;
+            actionItem_ = input.readMessage(com.google.rpc.LocalizedMessage.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(actionItem_);
+              actionItem_ = subBuilder.buildPartial();
             }
-          case 42:
-            {
-              com.google.protobuf.Timestamp.Builder subBuilder = null;
-              if (errorTime_ != null) {
-                subBuilder = errorTime_.toBuilder();
-              }
-              errorTime_ =
-                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(errorTime_);
-                errorTime_ = subBuilder.buildPartial();
-              }
-
-              break;
+
+            break;
+          }
+          case 34: {
+            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+              helpLinks_ = new java.util.ArrayList();
+              mutable_bitField0_ |= 0x00000001;
+            }
+            helpLinks_.add(
+                input.readMessage(com.google.rpc.Help.Link.parser(), extensionRegistry));
+            break;
+          }
+          case 42: {
+            com.google.protobuf.Timestamp.Builder subBuilder = null;
+            if (errorTime_ != null) {
+              subBuilder = errorTime_.toBuilder();
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            errorTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(errorTime_);
+              errorTime_ = subBuilder.buildPartial();
             }
+
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
+            }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -150,7 +125,8 @@ private MigrationError(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       if (((mutable_bitField0_ & 0x00000001) != 0)) {
         helpLinks_ = java.util.Collections.unmodifiableList(helpLinks_);
@@ -159,35 +135,29 @@ private MigrationError(
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.vmmigration.v1.VmMigrationProto
-        .internal_static_google_cloud_vmmigration_v1_MigrationError_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_MigrationError_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.vmmigration.v1.VmMigrationProto
-        .internal_static_google_cloud_vmmigration_v1_MigrationError_fieldAccessorTable
+    return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_MigrationError_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.vmmigration.v1.MigrationError.class,
-            com.google.cloud.vmmigration.v1.MigrationError.Builder.class);
+            com.google.cloud.vmmigration.v1.MigrationError.class, com.google.cloud.vmmigration.v1.MigrationError.Builder.class);
   }
 
   /**
-   *
-   *
    * 
    * Represents resource error codes.
    * 
* * Protobuf enum {@code google.cloud.vmmigration.v1.MigrationError.ErrorCode} */ - public enum ErrorCode implements com.google.protobuf.ProtocolMessageEnum { + public enum ErrorCode + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Default value. This value is not used.
      * 
@@ -196,8 +166,6 @@ public enum ErrorCode implements com.google.protobuf.ProtocolMessageEnum { */ ERROR_CODE_UNSPECIFIED(0), /** - * - * *
      * Migrate for Compute encountered an unknown error.
      * 
@@ -206,8 +174,6 @@ public enum ErrorCode implements com.google.protobuf.ProtocolMessageEnum { */ UNKNOWN_ERROR(1), /** - * - * *
      * Migrate for Compute encountered an error while validating replication
      * source health.
@@ -217,8 +183,6 @@ public enum ErrorCode implements com.google.protobuf.ProtocolMessageEnum {
      */
     SOURCE_VALIDATION_ERROR(2),
     /**
-     *
-     *
      * 
      * Migrate for Compute encountered an error during source data operation.
      * 
@@ -227,8 +191,6 @@ public enum ErrorCode implements com.google.protobuf.ProtocolMessageEnum { */ SOURCE_REPLICATION_ERROR(3), /** - * - * *
      * Migrate for Compute encountered an error during target data operation.
      * 
@@ -237,8 +199,6 @@ public enum ErrorCode implements com.google.protobuf.ProtocolMessageEnum { */ TARGET_REPLICATION_ERROR(4), /** - * - * *
      * Migrate for Compute encountered an error during OS adaptation.
      * 
@@ -247,8 +207,6 @@ public enum ErrorCode implements com.google.protobuf.ProtocolMessageEnum { */ OS_ADAPTATION_ERROR(5), /** - * - * *
      * Migrate for Compute encountered an error in clone operation.
      * 
@@ -257,8 +215,6 @@ public enum ErrorCode implements com.google.protobuf.ProtocolMessageEnum { */ CLONE_ERROR(6), /** - * - * *
      * Migrate for Compute encountered an error in cutover operation.
      * 
@@ -267,8 +223,6 @@ public enum ErrorCode implements com.google.protobuf.ProtocolMessageEnum { */ CUTOVER_ERROR(7), /** - * - * *
      * Migrate for Compute encountered an error during utilization report
      * creation.
@@ -277,12 +231,18 @@ public enum ErrorCode implements com.google.protobuf.ProtocolMessageEnum {
      * UTILIZATION_REPORT_ERROR = 8;
      */
     UTILIZATION_REPORT_ERROR(8),
+    /**
+     * 
+     * Migrate for Compute encountered an error during appliance upgrade.
+     * 
+ * + * APPLIANCE_UPGRADE_ERROR = 9; + */ + APPLIANCE_UPGRADE_ERROR(9), UNRECOGNIZED(-1), ; /** - * - * *
      * Default value. This value is not used.
      * 
@@ -291,8 +251,6 @@ public enum ErrorCode implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ERROR_CODE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Migrate for Compute encountered an unknown error.
      * 
@@ -301,8 +259,6 @@ public enum ErrorCode implements com.google.protobuf.ProtocolMessageEnum { */ public static final int UNKNOWN_ERROR_VALUE = 1; /** - * - * *
      * Migrate for Compute encountered an error while validating replication
      * source health.
@@ -312,8 +268,6 @@ public enum ErrorCode implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int SOURCE_VALIDATION_ERROR_VALUE = 2;
     /**
-     *
-     *
      * 
      * Migrate for Compute encountered an error during source data operation.
      * 
@@ -322,8 +276,6 @@ public enum ErrorCode implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SOURCE_REPLICATION_ERROR_VALUE = 3; /** - * - * *
      * Migrate for Compute encountered an error during target data operation.
      * 
@@ -332,8 +284,6 @@ public enum ErrorCode implements com.google.protobuf.ProtocolMessageEnum { */ public static final int TARGET_REPLICATION_ERROR_VALUE = 4; /** - * - * *
      * Migrate for Compute encountered an error during OS adaptation.
      * 
@@ -342,8 +292,6 @@ public enum ErrorCode implements com.google.protobuf.ProtocolMessageEnum { */ public static final int OS_ADAPTATION_ERROR_VALUE = 5; /** - * - * *
      * Migrate for Compute encountered an error in clone operation.
      * 
@@ -352,8 +300,6 @@ public enum ErrorCode implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CLONE_ERROR_VALUE = 6; /** - * - * *
      * Migrate for Compute encountered an error in cutover operation.
      * 
@@ -362,8 +308,6 @@ public enum ErrorCode implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CUTOVER_ERROR_VALUE = 7; /** - * - * *
      * Migrate for Compute encountered an error during utilization report
      * creation.
@@ -372,6 +316,15 @@ public enum ErrorCode implements com.google.protobuf.ProtocolMessageEnum {
      * UTILIZATION_REPORT_ERROR = 8;
      */
     public static final int UTILIZATION_REPORT_ERROR_VALUE = 8;
+    /**
+     * 
+     * Migrate for Compute encountered an error during appliance upgrade.
+     * 
+ * + * APPLIANCE_UPGRADE_ERROR = 9; + */ + public static final int APPLIANCE_UPGRADE_ERROR_VALUE = 9; + public final int getNumber() { if (this == UNRECOGNIZED) { @@ -397,61 +350,56 @@ public static ErrorCode valueOf(int value) { */ public static ErrorCode forNumber(int value) { switch (value) { - case 0: - return ERROR_CODE_UNSPECIFIED; - case 1: - return UNKNOWN_ERROR; - case 2: - return SOURCE_VALIDATION_ERROR; - case 3: - return SOURCE_REPLICATION_ERROR; - case 4: - return TARGET_REPLICATION_ERROR; - case 5: - return OS_ADAPTATION_ERROR; - case 6: - return CLONE_ERROR; - case 7: - return CUTOVER_ERROR; - case 8: - return UTILIZATION_REPORT_ERROR; - default: - return null; + case 0: return ERROR_CODE_UNSPECIFIED; + case 1: return UNKNOWN_ERROR; + case 2: return SOURCE_VALIDATION_ERROR; + case 3: return SOURCE_REPLICATION_ERROR; + case 4: return TARGET_REPLICATION_ERROR; + case 5: return OS_ADAPTATION_ERROR; + case 6: return CLONE_ERROR; + case 7: return CUTOVER_ERROR; + case 8: return UTILIZATION_REPORT_ERROR; + case 9: return APPLIANCE_UPGRADE_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< + ErrorCode> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public ErrorCode findValueByNumber(int number) { + return ErrorCode.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public ErrorCode findValueByNumber(int number) { - return ErrorCode.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() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.cloud.vmmigration.v1.MigrationError.getDescriptor().getEnumTypes().get(0); } private static final ErrorCode[] VALUES = values(); - public static ErrorCode valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static ErrorCode 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; @@ -471,58 +419,38 @@ private ErrorCode(int value) { public static final int CODE_FIELD_NUMBER = 1; private int code_; /** - * - * *
    * Output only. The error code.
    * 
* - * - * .google.cloud.vmmigration.v1.MigrationError.ErrorCode code = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.vmmigration.v1.MigrationError.ErrorCode code = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for code. */ - @java.lang.Override - public int getCodeValue() { + @java.lang.Override public int getCodeValue() { return code_; } /** - * - * *
    * Output only. The error code.
    * 
* - * - * .google.cloud.vmmigration.v1.MigrationError.ErrorCode code = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.vmmigration.v1.MigrationError.ErrorCode code = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The code. */ - @java.lang.Override - public com.google.cloud.vmmigration.v1.MigrationError.ErrorCode getCode() { + @java.lang.Override public com.google.cloud.vmmigration.v1.MigrationError.ErrorCode getCode() { @SuppressWarnings("deprecation") - com.google.cloud.vmmigration.v1.MigrationError.ErrorCode result = - com.google.cloud.vmmigration.v1.MigrationError.ErrorCode.valueOf(code_); - return result == null - ? com.google.cloud.vmmigration.v1.MigrationError.ErrorCode.UNRECOGNIZED - : result; + com.google.cloud.vmmigration.v1.MigrationError.ErrorCode result = com.google.cloud.vmmigration.v1.MigrationError.ErrorCode.valueOf(code_); + return result == null ? com.google.cloud.vmmigration.v1.MigrationError.ErrorCode.UNRECOGNIZED : result; } public static final int ERROR_MESSAGE_FIELD_NUMBER = 2; private com.google.rpc.LocalizedMessage errorMessage_; /** - * - * *
    * Output only. The localized error message.
    * 
* - * - * .google.rpc.LocalizedMessage error_message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.rpc.LocalizedMessage error_message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the errorMessage field is set. */ @java.lang.Override @@ -530,34 +458,23 @@ public boolean hasErrorMessage() { return errorMessage_ != null; } /** - * - * *
    * Output only. The localized error message.
    * 
* - * - * .google.rpc.LocalizedMessage error_message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.rpc.LocalizedMessage error_message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The errorMessage. */ @java.lang.Override public com.google.rpc.LocalizedMessage getErrorMessage() { - return errorMessage_ == null - ? com.google.rpc.LocalizedMessage.getDefaultInstance() - : errorMessage_; + return errorMessage_ == null ? com.google.rpc.LocalizedMessage.getDefaultInstance() : errorMessage_; } /** - * - * *
    * Output only. The localized error message.
    * 
* - * - * .google.rpc.LocalizedMessage error_message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.rpc.LocalizedMessage error_message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.rpc.LocalizedMessageOrBuilder getErrorMessageOrBuilder() { @@ -567,16 +484,11 @@ public com.google.rpc.LocalizedMessageOrBuilder getErrorMessageOrBuilder() { public static final int ACTION_ITEM_FIELD_NUMBER = 3; private com.google.rpc.LocalizedMessage actionItem_; /** - * - * *
    * Output only. Suggested action for solving the error.
    * 
* - * - * .google.rpc.LocalizedMessage action_item = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.rpc.LocalizedMessage action_item = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the actionItem field is set. */ @java.lang.Override @@ -584,16 +496,11 @@ public boolean hasActionItem() { return actionItem_ != null; } /** - * - * *
    * Output only. Suggested action for solving the error.
    * 
* - * - * .google.rpc.LocalizedMessage action_item = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.rpc.LocalizedMessage action_item = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The actionItem. */ @java.lang.Override @@ -601,15 +508,11 @@ public com.google.rpc.LocalizedMessage getActionItem() { return actionItem_ == null ? com.google.rpc.LocalizedMessage.getDefaultInstance() : actionItem_; } /** - * - * *
    * Output only. Suggested action for solving the error.
    * 
* - * - * .google.rpc.LocalizedMessage action_item = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.rpc.LocalizedMessage action_item = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.rpc.LocalizedMessageOrBuilder getActionItemOrBuilder() { @@ -619,93 +522,76 @@ public com.google.rpc.LocalizedMessageOrBuilder getActionItemOrBuilder() { public static final int HELP_LINKS_FIELD_NUMBER = 4; private java.util.List helpLinks_; /** - * - * *
-   * Output only. URL(s) pointing to additional information on handling the current error.
+   * Output only. URL(s) pointing to additional information on handling the
+   * current error.
    * 
* - * - * repeated .google.rpc.Help.Link help_links = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.rpc.Help.Link help_links = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public java.util.List getHelpLinksList() { return helpLinks_; } /** - * - * *
-   * Output only. URL(s) pointing to additional information on handling the current error.
+   * Output only. URL(s) pointing to additional information on handling the
+   * current error.
    * 
* - * - * repeated .google.rpc.Help.Link help_links = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.rpc.Help.Link help_links = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public java.util.List getHelpLinksOrBuilderList() { + public java.util.List + getHelpLinksOrBuilderList() { return helpLinks_; } /** - * - * *
-   * Output only. URL(s) pointing to additional information on handling the current error.
+   * Output only. URL(s) pointing to additional information on handling the
+   * current error.
    * 
* - * - * repeated .google.rpc.Help.Link help_links = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.rpc.Help.Link help_links = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public int getHelpLinksCount() { return helpLinks_.size(); } /** - * - * *
-   * Output only. URL(s) pointing to additional information on handling the current error.
+   * Output only. URL(s) pointing to additional information on handling the
+   * current error.
    * 
* - * - * repeated .google.rpc.Help.Link help_links = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.rpc.Help.Link help_links = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.rpc.Help.Link getHelpLinks(int index) { return helpLinks_.get(index); } /** - * - * *
-   * Output only. URL(s) pointing to additional information on handling the current error.
+   * Output only. URL(s) pointing to additional information on handling the
+   * current error.
    * 
* - * - * repeated .google.rpc.Help.Link help_links = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.rpc.Help.Link help_links = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public com.google.rpc.Help.LinkOrBuilder getHelpLinksOrBuilder(int index) { + public com.google.rpc.Help.LinkOrBuilder getHelpLinksOrBuilder( + int index) { return helpLinks_.get(index); } public static final int ERROR_TIME_FIELD_NUMBER = 5; private com.google.protobuf.Timestamp errorTime_; /** - * - * *
    * Output only. The time the error occurred.
    * 
* - * .google.protobuf.Timestamp error_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp error_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the errorTime field is set. */ @java.lang.Override @@ -713,15 +599,11 @@ public boolean hasErrorTime() { return errorTime_ != null; } /** - * - * *
    * Output only. The time the error occurred.
    * 
* - * .google.protobuf.Timestamp error_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp error_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The errorTime. */ @java.lang.Override @@ -729,14 +611,11 @@ public com.google.protobuf.Timestamp getErrorTime() { return errorTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : errorTime_; } /** - * - * *
    * Output only. The time the error occurred.
    * 
* - * .google.protobuf.Timestamp error_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp error_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getErrorTimeOrBuilder() { @@ -744,7 +623,6 @@ public com.google.protobuf.TimestampOrBuilder getErrorTimeOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -756,10 +634,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (code_ - != com.google.cloud.vmmigration.v1.MigrationError.ErrorCode.ERROR_CODE_UNSPECIFIED - .getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (code_ != com.google.cloud.vmmigration.v1.MigrationError.ErrorCode.ERROR_CODE_UNSPECIFIED.getNumber()) { output.writeEnum(1, code_); } if (errorMessage_ != null) { @@ -783,22 +660,25 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (code_ - != com.google.cloud.vmmigration.v1.MigrationError.ErrorCode.ERROR_CODE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, code_); + if (code_ != com.google.cloud.vmmigration.v1.MigrationError.ErrorCode.ERROR_CODE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, code_); } if (errorMessage_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getErrorMessage()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getErrorMessage()); } if (actionItem_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getActionItem()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getActionItem()); } for (int i = 0; i < helpLinks_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, helpLinks_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, helpLinks_.get(i)); } if (errorTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getErrorTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getErrorTime()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -808,27 +688,30 @@ 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.vmmigration.v1.MigrationError)) { return super.equals(obj); } - com.google.cloud.vmmigration.v1.MigrationError other = - (com.google.cloud.vmmigration.v1.MigrationError) obj; + com.google.cloud.vmmigration.v1.MigrationError other = (com.google.cloud.vmmigration.v1.MigrationError) obj; if (code_ != other.code_) return false; if (hasErrorMessage() != other.hasErrorMessage()) return false; if (hasErrorMessage()) { - if (!getErrorMessage().equals(other.getErrorMessage())) return false; + if (!getErrorMessage() + .equals(other.getErrorMessage())) return false; } if (hasActionItem() != other.hasActionItem()) return false; if (hasActionItem()) { - if (!getActionItem().equals(other.getActionItem())) return false; + if (!getActionItem() + .equals(other.getActionItem())) return false; } - if (!getHelpLinksList().equals(other.getHelpLinksList())) return false; + if (!getHelpLinksList() + .equals(other.getHelpLinksList())) return false; if (hasErrorTime() != other.hasErrorTime()) return false; if (hasErrorTime()) { - if (!getErrorTime().equals(other.getErrorTime())) return false; + if (!getErrorTime() + .equals(other.getErrorTime())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -864,104 +747,97 @@ public int hashCode() { return hash; } - public static com.google.cloud.vmmigration.v1.MigrationError parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.vmmigration.v1.MigrationError parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.vmmigration.v1.MigrationError 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.vmmigration.v1.MigrationError parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.vmmigration.v1.MigrationError 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.vmmigration.v1.MigrationError parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.vmmigration.v1.MigrationError 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.vmmigration.v1.MigrationError parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.vmmigration.v1.MigrationError 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.vmmigration.v1.MigrationError parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.vmmigration.v1.MigrationError parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.vmmigration.v1.MigrationError 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.vmmigration.v1.MigrationError 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.vmmigration.v1.MigrationError 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.vmmigration.v1.MigrationError 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 migration resource error information that can be used with
    * google.rpc.Status message. MigrationError is used to present the user with
@@ -970,23 +846,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.vmmigration.v1.MigrationError}
    */
-  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.vmmigration.v1.MigrationError)
       com.google.cloud.vmmigration.v1.MigrationErrorOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.vmmigration.v1.VmMigrationProto
-          .internal_static_google_cloud_vmmigration_v1_MigrationError_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_MigrationError_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.vmmigration.v1.VmMigrationProto
-          .internal_static_google_cloud_vmmigration_v1_MigrationError_fieldAccessorTable
+      return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_MigrationError_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.vmmigration.v1.MigrationError.class,
-              com.google.cloud.vmmigration.v1.MigrationError.Builder.class);
+              com.google.cloud.vmmigration.v1.MigrationError.class, com.google.cloud.vmmigration.v1.MigrationError.Builder.class);
     }
 
     // Construct using com.google.cloud.vmmigration.v1.MigrationError.newBuilder()
@@ -994,17 +868,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) {
         getHelpLinksFieldBuilder();
       }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1038,9 +912,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.vmmigration.v1.VmMigrationProto
-          .internal_static_google_cloud_vmmigration_v1_MigrationError_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_MigrationError_descriptor;
     }
 
     @java.lang.Override
@@ -1059,8 +933,7 @@ public com.google.cloud.vmmigration.v1.MigrationError build() {
 
     @java.lang.Override
     public com.google.cloud.vmmigration.v1.MigrationError buildPartial() {
-      com.google.cloud.vmmigration.v1.MigrationError result =
-          new com.google.cloud.vmmigration.v1.MigrationError(this);
+      com.google.cloud.vmmigration.v1.MigrationError result = new com.google.cloud.vmmigration.v1.MigrationError(this);
       int from_bitField0_ = bitField0_;
       result.code_ = code_;
       if (errorMessageBuilder_ == null) {
@@ -1095,39 +968,38 @@ public com.google.cloud.vmmigration.v1.MigrationError buildPartial() {
     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.vmmigration.v1.MigrationError) {
-        return mergeFrom((com.google.cloud.vmmigration.v1.MigrationError) other);
+        return mergeFrom((com.google.cloud.vmmigration.v1.MigrationError)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1163,10 +1035,9 @@ public Builder mergeFrom(com.google.cloud.vmmigration.v1.MigrationError other) {
             helpLinksBuilder_ = null;
             helpLinks_ = other.helpLinks_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            helpLinksBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getHelpLinksFieldBuilder()
-                    : null;
+            helpLinksBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getHelpLinksFieldBuilder() : null;
           } else {
             helpLinksBuilder_.addAllMessages(other.helpLinks_);
           }
@@ -1203,80 +1074,55 @@ public Builder mergeFrom(
       }
       return this;
     }
-
     private int bitField0_;
 
     private int code_ = 0;
     /**
-     *
-     *
      * 
      * Output only. The error code.
      * 
* - * - * .google.cloud.vmmigration.v1.MigrationError.ErrorCode code = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.vmmigration.v1.MigrationError.ErrorCode code = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for code. */ - @java.lang.Override - public int getCodeValue() { + @java.lang.Override public int getCodeValue() { return code_; } /** - * - * *
      * Output only. The error code.
      * 
* - * - * .google.cloud.vmmigration.v1.MigrationError.ErrorCode code = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.vmmigration.v1.MigrationError.ErrorCode code = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The enum numeric value on the wire for code to set. * @return This builder for chaining. */ public Builder setCodeValue(int value) { - + code_ = value; onChanged(); return this; } /** - * - * *
      * Output only. The error code.
      * 
* - * - * .google.cloud.vmmigration.v1.MigrationError.ErrorCode code = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.vmmigration.v1.MigrationError.ErrorCode code = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The code. */ @java.lang.Override public com.google.cloud.vmmigration.v1.MigrationError.ErrorCode getCode() { @SuppressWarnings("deprecation") - com.google.cloud.vmmigration.v1.MigrationError.ErrorCode result = - com.google.cloud.vmmigration.v1.MigrationError.ErrorCode.valueOf(code_); - return result == null - ? com.google.cloud.vmmigration.v1.MigrationError.ErrorCode.UNRECOGNIZED - : result; + com.google.cloud.vmmigration.v1.MigrationError.ErrorCode result = com.google.cloud.vmmigration.v1.MigrationError.ErrorCode.valueOf(code_); + return result == null ? com.google.cloud.vmmigration.v1.MigrationError.ErrorCode.UNRECOGNIZED : result; } /** - * - * *
      * Output only. The error code.
      * 
* - * - * .google.cloud.vmmigration.v1.MigrationError.ErrorCode code = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.vmmigration.v1.MigrationError.ErrorCode code = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The code to set. * @return This builder for chaining. */ @@ -1284,26 +1130,21 @@ public Builder setCode(com.google.cloud.vmmigration.v1.MigrationError.ErrorCode if (value == null) { throw new NullPointerException(); } - + code_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Output only. The error code.
      * 
* - * - * .google.cloud.vmmigration.v1.MigrationError.ErrorCode code = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.vmmigration.v1.MigrationError.ErrorCode code = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearCode() { - + code_ = 0; onChanged(); return this; @@ -1311,58 +1152,39 @@ public Builder clearCode() { private com.google.rpc.LocalizedMessage errorMessage_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.LocalizedMessage, - com.google.rpc.LocalizedMessage.Builder, - com.google.rpc.LocalizedMessageOrBuilder> - errorMessageBuilder_; + com.google.rpc.LocalizedMessage, com.google.rpc.LocalizedMessage.Builder, com.google.rpc.LocalizedMessageOrBuilder> errorMessageBuilder_; /** - * - * *
      * Output only. The localized error message.
      * 
* - * - * .google.rpc.LocalizedMessage error_message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.rpc.LocalizedMessage error_message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the errorMessage field is set. */ public boolean hasErrorMessage() { return errorMessageBuilder_ != null || errorMessage_ != null; } /** - * - * *
      * Output only. The localized error message.
      * 
* - * - * .google.rpc.LocalizedMessage error_message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.rpc.LocalizedMessage error_message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The errorMessage. */ public com.google.rpc.LocalizedMessage getErrorMessage() { if (errorMessageBuilder_ == null) { - return errorMessage_ == null - ? com.google.rpc.LocalizedMessage.getDefaultInstance() - : errorMessage_; + return errorMessage_ == null ? com.google.rpc.LocalizedMessage.getDefaultInstance() : errorMessage_; } else { return errorMessageBuilder_.getMessage(); } } /** - * - * *
      * Output only. The localized error message.
      * 
* - * - * .google.rpc.LocalizedMessage error_message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.rpc.LocalizedMessage error_message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setErrorMessage(com.google.rpc.LocalizedMessage value) { if (errorMessageBuilder_ == null) { @@ -1378,17 +1200,14 @@ public Builder setErrorMessage(com.google.rpc.LocalizedMessage value) { return this; } /** - * - * *
      * Output only. The localized error message.
      * 
* - * - * .google.rpc.LocalizedMessage error_message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.rpc.LocalizedMessage error_message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setErrorMessage(com.google.rpc.LocalizedMessage.Builder builderForValue) { + public Builder setErrorMessage( + com.google.rpc.LocalizedMessage.Builder builderForValue) { if (errorMessageBuilder_ == null) { errorMessage_ = builderForValue.build(); onChanged(); @@ -1399,23 +1218,17 @@ public Builder setErrorMessage(com.google.rpc.LocalizedMessage.Builder builderFo return this; } /** - * - * *
      * Output only. The localized error message.
      * 
* - * - * .google.rpc.LocalizedMessage error_message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.rpc.LocalizedMessage error_message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeErrorMessage(com.google.rpc.LocalizedMessage value) { if (errorMessageBuilder_ == null) { if (errorMessage_ != null) { errorMessage_ = - com.google.rpc.LocalizedMessage.newBuilder(errorMessage_) - .mergeFrom(value) - .buildPartial(); + com.google.rpc.LocalizedMessage.newBuilder(errorMessage_).mergeFrom(value).buildPartial(); } else { errorMessage_ = value; } @@ -1427,15 +1240,11 @@ public Builder mergeErrorMessage(com.google.rpc.LocalizedMessage value) { return this; } /** - * - * *
      * Output only. The localized error message.
      * 
* - * - * .google.rpc.LocalizedMessage error_message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.rpc.LocalizedMessage error_message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearErrorMessage() { if (errorMessageBuilder_ == null) { @@ -1449,64 +1258,48 @@ public Builder clearErrorMessage() { return this; } /** - * - * *
      * Output only. The localized error message.
      * 
* - * - * .google.rpc.LocalizedMessage error_message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.rpc.LocalizedMessage error_message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.rpc.LocalizedMessage.Builder getErrorMessageBuilder() { - + onChanged(); return getErrorMessageFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The localized error message.
      * 
* - * - * .google.rpc.LocalizedMessage error_message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.rpc.LocalizedMessage error_message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.rpc.LocalizedMessageOrBuilder getErrorMessageOrBuilder() { if (errorMessageBuilder_ != null) { return errorMessageBuilder_.getMessageOrBuilder(); } else { - return errorMessage_ == null - ? com.google.rpc.LocalizedMessage.getDefaultInstance() - : errorMessage_; + return errorMessage_ == null ? + com.google.rpc.LocalizedMessage.getDefaultInstance() : errorMessage_; } } /** - * - * *
      * Output only. The localized error message.
      * 
* - * - * .google.rpc.LocalizedMessage error_message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.rpc.LocalizedMessage error_message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.LocalizedMessage, - com.google.rpc.LocalizedMessage.Builder, - com.google.rpc.LocalizedMessageOrBuilder> + com.google.rpc.LocalizedMessage, com.google.rpc.LocalizedMessage.Builder, com.google.rpc.LocalizedMessageOrBuilder> getErrorMessageFieldBuilder() { if (errorMessageBuilder_ == null) { - errorMessageBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.LocalizedMessage, - com.google.rpc.LocalizedMessage.Builder, - com.google.rpc.LocalizedMessageOrBuilder>( - getErrorMessage(), getParentForChildren(), isClean()); + errorMessageBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.rpc.LocalizedMessage, com.google.rpc.LocalizedMessage.Builder, com.google.rpc.LocalizedMessageOrBuilder>( + getErrorMessage(), + getParentForChildren(), + isClean()); errorMessage_ = null; } return errorMessageBuilder_; @@ -1514,58 +1307,39 @@ public com.google.rpc.LocalizedMessageOrBuilder getErrorMessageOrBuilder() { private com.google.rpc.LocalizedMessage actionItem_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.LocalizedMessage, - com.google.rpc.LocalizedMessage.Builder, - com.google.rpc.LocalizedMessageOrBuilder> - actionItemBuilder_; + com.google.rpc.LocalizedMessage, com.google.rpc.LocalizedMessage.Builder, com.google.rpc.LocalizedMessageOrBuilder> actionItemBuilder_; /** - * - * *
      * Output only. Suggested action for solving the error.
      * 
* - * - * .google.rpc.LocalizedMessage action_item = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.rpc.LocalizedMessage action_item = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the actionItem field is set. */ public boolean hasActionItem() { return actionItemBuilder_ != null || actionItem_ != null; } /** - * - * *
      * Output only. Suggested action for solving the error.
      * 
* - * - * .google.rpc.LocalizedMessage action_item = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.rpc.LocalizedMessage action_item = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The actionItem. */ public com.google.rpc.LocalizedMessage getActionItem() { if (actionItemBuilder_ == null) { - return actionItem_ == null - ? com.google.rpc.LocalizedMessage.getDefaultInstance() - : actionItem_; + return actionItem_ == null ? com.google.rpc.LocalizedMessage.getDefaultInstance() : actionItem_; } else { return actionItemBuilder_.getMessage(); } } /** - * - * *
      * Output only. Suggested action for solving the error.
      * 
* - * - * .google.rpc.LocalizedMessage action_item = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.rpc.LocalizedMessage action_item = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setActionItem(com.google.rpc.LocalizedMessage value) { if (actionItemBuilder_ == null) { @@ -1581,17 +1355,14 @@ public Builder setActionItem(com.google.rpc.LocalizedMessage value) { return this; } /** - * - * *
      * Output only. Suggested action for solving the error.
      * 
* - * - * .google.rpc.LocalizedMessage action_item = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.rpc.LocalizedMessage action_item = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setActionItem(com.google.rpc.LocalizedMessage.Builder builderForValue) { + public Builder setActionItem( + com.google.rpc.LocalizedMessage.Builder builderForValue) { if (actionItemBuilder_ == null) { actionItem_ = builderForValue.build(); onChanged(); @@ -1602,23 +1373,17 @@ public Builder setActionItem(com.google.rpc.LocalizedMessage.Builder builderForV return this; } /** - * - * *
      * Output only. Suggested action for solving the error.
      * 
* - * - * .google.rpc.LocalizedMessage action_item = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.rpc.LocalizedMessage action_item = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeActionItem(com.google.rpc.LocalizedMessage value) { if (actionItemBuilder_ == null) { if (actionItem_ != null) { actionItem_ = - com.google.rpc.LocalizedMessage.newBuilder(actionItem_) - .mergeFrom(value) - .buildPartial(); + com.google.rpc.LocalizedMessage.newBuilder(actionItem_).mergeFrom(value).buildPartial(); } else { actionItem_ = value; } @@ -1630,15 +1395,11 @@ public Builder mergeActionItem(com.google.rpc.LocalizedMessage value) { return this; } /** - * - * *
      * Output only. Suggested action for solving the error.
      * 
* - * - * .google.rpc.LocalizedMessage action_item = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.rpc.LocalizedMessage action_item = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearActionItem() { if (actionItemBuilder_ == null) { @@ -1652,94 +1413,72 @@ public Builder clearActionItem() { return this; } /** - * - * *
      * Output only. Suggested action for solving the error.
      * 
* - * - * .google.rpc.LocalizedMessage action_item = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.rpc.LocalizedMessage action_item = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.rpc.LocalizedMessage.Builder getActionItemBuilder() { - + onChanged(); return getActionItemFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. Suggested action for solving the error.
      * 
* - * - * .google.rpc.LocalizedMessage action_item = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.rpc.LocalizedMessage action_item = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.rpc.LocalizedMessageOrBuilder getActionItemOrBuilder() { if (actionItemBuilder_ != null) { return actionItemBuilder_.getMessageOrBuilder(); } else { - return actionItem_ == null - ? com.google.rpc.LocalizedMessage.getDefaultInstance() - : actionItem_; + return actionItem_ == null ? + com.google.rpc.LocalizedMessage.getDefaultInstance() : actionItem_; } } /** - * - * *
      * Output only. Suggested action for solving the error.
      * 
* - * - * .google.rpc.LocalizedMessage action_item = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.rpc.LocalizedMessage action_item = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.LocalizedMessage, - com.google.rpc.LocalizedMessage.Builder, - com.google.rpc.LocalizedMessageOrBuilder> + com.google.rpc.LocalizedMessage, com.google.rpc.LocalizedMessage.Builder, com.google.rpc.LocalizedMessageOrBuilder> getActionItemFieldBuilder() { if (actionItemBuilder_ == null) { - actionItemBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.LocalizedMessage, - com.google.rpc.LocalizedMessage.Builder, - com.google.rpc.LocalizedMessageOrBuilder>( - getActionItem(), getParentForChildren(), isClean()); + actionItemBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.rpc.LocalizedMessage, com.google.rpc.LocalizedMessage.Builder, com.google.rpc.LocalizedMessageOrBuilder>( + getActionItem(), + getParentForChildren(), + isClean()); actionItem_ = null; } return actionItemBuilder_; } - private java.util.List helpLinks_ = java.util.Collections.emptyList(); - + private java.util.List helpLinks_ = + java.util.Collections.emptyList(); private void ensureHelpLinksIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { helpLinks_ = new java.util.ArrayList(helpLinks_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.rpc.Help.Link, - com.google.rpc.Help.Link.Builder, - com.google.rpc.Help.LinkOrBuilder> - helpLinksBuilder_; + com.google.rpc.Help.Link, com.google.rpc.Help.Link.Builder, com.google.rpc.Help.LinkOrBuilder> helpLinksBuilder_; /** - * - * *
-     * Output only. URL(s) pointing to additional information on handling the current error.
+     * Output only. URL(s) pointing to additional information on handling the
+     * current error.
      * 
* - * - * repeated .google.rpc.Help.Link help_links = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.rpc.Help.Link help_links = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public java.util.List getHelpLinksList() { if (helpLinksBuilder_ == null) { @@ -1749,15 +1488,12 @@ public java.util.List getHelpLinksList() { } } /** - * - * *
-     * Output only. URL(s) pointing to additional information on handling the current error.
+     * Output only. URL(s) pointing to additional information on handling the
+     * current error.
      * 
* - * - * repeated .google.rpc.Help.Link help_links = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.rpc.Help.Link help_links = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public int getHelpLinksCount() { if (helpLinksBuilder_ == null) { @@ -1767,15 +1503,12 @@ public int getHelpLinksCount() { } } /** - * - * *
-     * Output only. URL(s) pointing to additional information on handling the current error.
+     * Output only. URL(s) pointing to additional information on handling the
+     * current error.
      * 
* - * - * repeated .google.rpc.Help.Link help_links = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.rpc.Help.Link help_links = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.rpc.Help.Link getHelpLinks(int index) { if (helpLinksBuilder_ == null) { @@ -1785,17 +1518,15 @@ public com.google.rpc.Help.Link getHelpLinks(int index) { } } /** - * - * *
-     * Output only. URL(s) pointing to additional information on handling the current error.
+     * Output only. URL(s) pointing to additional information on handling the
+     * current error.
      * 
* - * - * repeated .google.rpc.Help.Link help_links = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.rpc.Help.Link help_links = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setHelpLinks(int index, com.google.rpc.Help.Link value) { + public Builder setHelpLinks( + int index, com.google.rpc.Help.Link value) { if (helpLinksBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1809,17 +1540,15 @@ public Builder setHelpLinks(int index, com.google.rpc.Help.Link value) { return this; } /** - * - * *
-     * Output only. URL(s) pointing to additional information on handling the current error.
+     * Output only. URL(s) pointing to additional information on handling the
+     * current error.
      * 
* - * - * repeated .google.rpc.Help.Link help_links = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.rpc.Help.Link help_links = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setHelpLinks(int index, com.google.rpc.Help.Link.Builder builderForValue) { + public Builder setHelpLinks( + int index, com.google.rpc.Help.Link.Builder builderForValue) { if (helpLinksBuilder_ == null) { ensureHelpLinksIsMutable(); helpLinks_.set(index, builderForValue.build()); @@ -1830,15 +1559,12 @@ public Builder setHelpLinks(int index, com.google.rpc.Help.Link.Builder builderF return this; } /** - * - * *
-     * Output only. URL(s) pointing to additional information on handling the current error.
+     * Output only. URL(s) pointing to additional information on handling the
+     * current error.
      * 
* - * - * repeated .google.rpc.Help.Link help_links = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.rpc.Help.Link help_links = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addHelpLinks(com.google.rpc.Help.Link value) { if (helpLinksBuilder_ == null) { @@ -1854,17 +1580,15 @@ public Builder addHelpLinks(com.google.rpc.Help.Link value) { return this; } /** - * - * *
-     * Output only. URL(s) pointing to additional information on handling the current error.
+     * Output only. URL(s) pointing to additional information on handling the
+     * current error.
      * 
* - * - * repeated .google.rpc.Help.Link help_links = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.rpc.Help.Link help_links = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder addHelpLinks(int index, com.google.rpc.Help.Link value) { + public Builder addHelpLinks( + int index, com.google.rpc.Help.Link value) { if (helpLinksBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1878,17 +1602,15 @@ public Builder addHelpLinks(int index, com.google.rpc.Help.Link value) { return this; } /** - * - * *
-     * Output only. URL(s) pointing to additional information on handling the current error.
+     * Output only. URL(s) pointing to additional information on handling the
+     * current error.
      * 
* - * - * repeated .google.rpc.Help.Link help_links = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.rpc.Help.Link help_links = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder addHelpLinks(com.google.rpc.Help.Link.Builder builderForValue) { + public Builder addHelpLinks( + com.google.rpc.Help.Link.Builder builderForValue) { if (helpLinksBuilder_ == null) { ensureHelpLinksIsMutable(); helpLinks_.add(builderForValue.build()); @@ -1899,17 +1621,15 @@ public Builder addHelpLinks(com.google.rpc.Help.Link.Builder builderForValue) { return this; } /** - * - * *
-     * Output only. URL(s) pointing to additional information on handling the current error.
+     * Output only. URL(s) pointing to additional information on handling the
+     * current error.
      * 
* - * - * repeated .google.rpc.Help.Link help_links = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.rpc.Help.Link help_links = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder addHelpLinks(int index, com.google.rpc.Help.Link.Builder builderForValue) { + public Builder addHelpLinks( + int index, com.google.rpc.Help.Link.Builder builderForValue) { if (helpLinksBuilder_ == null) { ensureHelpLinksIsMutable(); helpLinks_.add(index, builderForValue.build()); @@ -1920,20 +1640,19 @@ public Builder addHelpLinks(int index, com.google.rpc.Help.Link.Builder builderF return this; } /** - * - * *
-     * Output only. URL(s) pointing to additional information on handling the current error.
+     * Output only. URL(s) pointing to additional information on handling the
+     * current error.
      * 
* - * - * repeated .google.rpc.Help.Link help_links = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.rpc.Help.Link help_links = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder addAllHelpLinks(java.lang.Iterable values) { + public Builder addAllHelpLinks( + java.lang.Iterable values) { if (helpLinksBuilder_ == null) { ensureHelpLinksIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, helpLinks_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, helpLinks_); onChanged(); } else { helpLinksBuilder_.addAllMessages(values); @@ -1941,15 +1660,12 @@ public Builder addAllHelpLinks(java.lang.Iterable - * Output only. URL(s) pointing to additional information on handling the current error. + * Output only. URL(s) pointing to additional information on handling the + * current error. *
* - * - * repeated .google.rpc.Help.Link help_links = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.rpc.Help.Link help_links = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearHelpLinks() { if (helpLinksBuilder_ == null) { @@ -1962,15 +1678,12 @@ public Builder clearHelpLinks() { return this; } /** - * - * *
-     * Output only. URL(s) pointing to additional information on handling the current error.
+     * Output only. URL(s) pointing to additional information on handling the
+     * current error.
      * 
* - * - * repeated .google.rpc.Help.Link help_links = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.rpc.Help.Link help_links = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder removeHelpLinks(int index) { if (helpLinksBuilder_ == null) { @@ -1983,49 +1696,42 @@ public Builder removeHelpLinks(int index) { return this; } /** - * - * *
-     * Output only. URL(s) pointing to additional information on handling the current error.
+     * Output only. URL(s) pointing to additional information on handling the
+     * current error.
      * 
* - * - * repeated .google.rpc.Help.Link help_links = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.rpc.Help.Link help_links = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.rpc.Help.Link.Builder getHelpLinksBuilder(int index) { + public com.google.rpc.Help.Link.Builder getHelpLinksBuilder( + int index) { return getHelpLinksFieldBuilder().getBuilder(index); } /** - * - * *
-     * Output only. URL(s) pointing to additional information on handling the current error.
+     * Output only. URL(s) pointing to additional information on handling the
+     * current error.
      * 
* - * - * repeated .google.rpc.Help.Link help_links = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.rpc.Help.Link help_links = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.rpc.Help.LinkOrBuilder getHelpLinksOrBuilder(int index) { + public com.google.rpc.Help.LinkOrBuilder getHelpLinksOrBuilder( + int index) { if (helpLinksBuilder_ == null) { - return helpLinks_.get(index); - } else { + return helpLinks_.get(index); } else { return helpLinksBuilder_.getMessageOrBuilder(index); } } /** - * - * *
-     * Output only. URL(s) pointing to additional information on handling the current error.
+     * Output only. URL(s) pointing to additional information on handling the
+     * current error.
      * 
* - * - * repeated .google.rpc.Help.Link help_links = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.rpc.Help.Link help_links = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public java.util.List getHelpLinksOrBuilderList() { + public java.util.List + getHelpLinksOrBuilderList() { if (helpLinksBuilder_ != null) { return helpLinksBuilder_.getMessageOrBuilderList(); } else { @@ -2033,61 +1739,52 @@ public java.util.List getHelpLinksO } } /** - * - * *
-     * Output only. URL(s) pointing to additional information on handling the current error.
+     * Output only. URL(s) pointing to additional information on handling the
+     * current error.
      * 
* - * - * repeated .google.rpc.Help.Link help_links = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.rpc.Help.Link help_links = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.rpc.Help.Link.Builder addHelpLinksBuilder() { - return getHelpLinksFieldBuilder().addBuilder(com.google.rpc.Help.Link.getDefaultInstance()); + return getHelpLinksFieldBuilder().addBuilder( + com.google.rpc.Help.Link.getDefaultInstance()); } /** - * - * *
-     * Output only. URL(s) pointing to additional information on handling the current error.
+     * Output only. URL(s) pointing to additional information on handling the
+     * current error.
      * 
* - * - * repeated .google.rpc.Help.Link help_links = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.rpc.Help.Link help_links = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.rpc.Help.Link.Builder addHelpLinksBuilder(int index) { - return getHelpLinksFieldBuilder() - .addBuilder(index, com.google.rpc.Help.Link.getDefaultInstance()); + public com.google.rpc.Help.Link.Builder addHelpLinksBuilder( + int index) { + return getHelpLinksFieldBuilder().addBuilder( + index, com.google.rpc.Help.Link.getDefaultInstance()); } /** - * - * *
-     * Output only. URL(s) pointing to additional information on handling the current error.
+     * Output only. URL(s) pointing to additional information on handling the
+     * current error.
      * 
* - * - * repeated .google.rpc.Help.Link help_links = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.rpc.Help.Link help_links = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public java.util.List getHelpLinksBuilderList() { + public java.util.List + getHelpLinksBuilderList() { return getHelpLinksFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.rpc.Help.Link, - com.google.rpc.Help.Link.Builder, - com.google.rpc.Help.LinkOrBuilder> + com.google.rpc.Help.Link, com.google.rpc.Help.Link.Builder, com.google.rpc.Help.LinkOrBuilder> getHelpLinksFieldBuilder() { if (helpLinksBuilder_ == null) { - helpLinksBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.rpc.Help.Link, - com.google.rpc.Help.Link.Builder, - com.google.rpc.Help.LinkOrBuilder>( - helpLinks_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + helpLinksBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.rpc.Help.Link, com.google.rpc.Help.Link.Builder, com.google.rpc.Help.LinkOrBuilder>( + helpLinks_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); helpLinks_ = null; } return helpLinksBuilder_; @@ -2095,35 +1792,24 @@ public java.util.List getHelpLinksBuilderList( private com.google.protobuf.Timestamp errorTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - errorTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> errorTimeBuilder_; /** - * - * *
      * Output only. The time the error occurred.
      * 
* - * .google.protobuf.Timestamp error_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp error_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the errorTime field is set. */ public boolean hasErrorTime() { return errorTimeBuilder_ != null || errorTime_ != null; } /** - * - * *
      * Output only. The time the error occurred.
      * 
* - * .google.protobuf.Timestamp error_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp error_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The errorTime. */ public com.google.protobuf.Timestamp getErrorTime() { @@ -2134,14 +1820,11 @@ public com.google.protobuf.Timestamp getErrorTime() { } } /** - * - * *
      * Output only. The time the error occurred.
      * 
* - * .google.protobuf.Timestamp error_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp error_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setErrorTime(com.google.protobuf.Timestamp value) { if (errorTimeBuilder_ == null) { @@ -2157,16 +1840,14 @@ public Builder setErrorTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time the error occurred.
      * 
* - * .google.protobuf.Timestamp error_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp error_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setErrorTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setErrorTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (errorTimeBuilder_ == null) { errorTime_ = builderForValue.build(); onChanged(); @@ -2177,20 +1858,17 @@ public Builder setErrorTime(com.google.protobuf.Timestamp.Builder builderForValu return this; } /** - * - * *
      * Output only. The time the error occurred.
      * 
* - * .google.protobuf.Timestamp error_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp error_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeErrorTime(com.google.protobuf.Timestamp value) { if (errorTimeBuilder_ == null) { if (errorTime_ != null) { errorTime_ = - com.google.protobuf.Timestamp.newBuilder(errorTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(errorTime_).mergeFrom(value).buildPartial(); } else { errorTime_ = value; } @@ -2202,14 +1880,11 @@ public Builder mergeErrorTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time the error occurred.
      * 
* - * .google.protobuf.Timestamp error_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp error_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearErrorTime() { if (errorTimeBuilder_ == null) { @@ -2223,66 +1898,55 @@ public Builder clearErrorTime() { return this; } /** - * - * *
      * Output only. The time the error occurred.
      * 
* - * .google.protobuf.Timestamp error_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp error_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getErrorTimeBuilder() { - + onChanged(); return getErrorTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The time the error occurred.
      * 
* - * .google.protobuf.Timestamp error_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp error_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getErrorTimeOrBuilder() { if (errorTimeBuilder_ != null) { return errorTimeBuilder_.getMessageOrBuilder(); } else { - return errorTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : errorTime_; + return errorTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : errorTime_; } } /** - * - * *
      * Output only. The time the error occurred.
      * 
* - * .google.protobuf.Timestamp error_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp error_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> getErrorTimeFieldBuilder() { if (errorTimeBuilder_ == null) { - errorTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getErrorTime(), getParentForChildren(), isClean()); + errorTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getErrorTime(), + getParentForChildren(), + isClean()); errorTime_ = null; } return errorTimeBuilder_; } - @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); } @@ -2292,12 +1956,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.vmmigration.v1.MigrationError) } // @@protoc_insertion_point(class_scope:google.cloud.vmmigration.v1.MigrationError) private static final com.google.cloud.vmmigration.v1.MigrationError DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.vmmigration.v1.MigrationError(); } @@ -2306,16 +1970,16 @@ public static com.google.cloud.vmmigration.v1.MigrationError getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public MigrationError parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new MigrationError(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MigrationError parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new MigrationError(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2330,4 +1994,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.vmmigration.v1.MigrationError getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/MigrationErrorOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/MigrationErrorOrBuilder.java new file mode 100644 index 0000000..78d7236 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/MigrationErrorOrBuilder.java @@ -0,0 +1,158 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/vmmigration/v1/vmmigration.proto + +package com.google.cloud.vmmigration.v1; + +public interface MigrationErrorOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.MigrationError) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Output only. The error code.
+   * 
+ * + * .google.cloud.vmmigration.v1.MigrationError.ErrorCode code = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The enum numeric value on the wire for code. + */ + int getCodeValue(); + /** + *
+   * Output only. The error code.
+   * 
+ * + * .google.cloud.vmmigration.v1.MigrationError.ErrorCode code = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The code. + */ + com.google.cloud.vmmigration.v1.MigrationError.ErrorCode getCode(); + + /** + *
+   * Output only. The localized error message.
+   * 
+ * + * .google.rpc.LocalizedMessage error_message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return Whether the errorMessage field is set. + */ + boolean hasErrorMessage(); + /** + *
+   * Output only. The localized error message.
+   * 
+ * + * .google.rpc.LocalizedMessage error_message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The errorMessage. + */ + com.google.rpc.LocalizedMessage getErrorMessage(); + /** + *
+   * Output only. The localized error message.
+   * 
+ * + * .google.rpc.LocalizedMessage error_message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + com.google.rpc.LocalizedMessageOrBuilder getErrorMessageOrBuilder(); + + /** + *
+   * Output only. Suggested action for solving the error.
+   * 
+ * + * .google.rpc.LocalizedMessage action_item = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return Whether the actionItem field is set. + */ + boolean hasActionItem(); + /** + *
+   * Output only. Suggested action for solving the error.
+   * 
+ * + * .google.rpc.LocalizedMessage action_item = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The actionItem. + */ + com.google.rpc.LocalizedMessage getActionItem(); + /** + *
+   * Output only. Suggested action for solving the error.
+   * 
+ * + * .google.rpc.LocalizedMessage action_item = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + com.google.rpc.LocalizedMessageOrBuilder getActionItemOrBuilder(); + + /** + *
+   * Output only. URL(s) pointing to additional information on handling the
+   * current error.
+   * 
+ * + * repeated .google.rpc.Help.Link help_links = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + java.util.List + getHelpLinksList(); + /** + *
+   * Output only. URL(s) pointing to additional information on handling the
+   * current error.
+   * 
+ * + * repeated .google.rpc.Help.Link help_links = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + com.google.rpc.Help.Link getHelpLinks(int index); + /** + *
+   * Output only. URL(s) pointing to additional information on handling the
+   * current error.
+   * 
+ * + * repeated .google.rpc.Help.Link help_links = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + int getHelpLinksCount(); + /** + *
+   * Output only. URL(s) pointing to additional information on handling the
+   * current error.
+   * 
+ * + * repeated .google.rpc.Help.Link help_links = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + java.util.List + getHelpLinksOrBuilderList(); + /** + *
+   * Output only. URL(s) pointing to additional information on handling the
+   * current error.
+   * 
+ * + * repeated .google.rpc.Help.Link help_links = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + com.google.rpc.Help.LinkOrBuilder getHelpLinksOrBuilder( + int index); + + /** + *
+   * Output only. The time the error occurred.
+   * 
+ * + * .google.protobuf.Timestamp error_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return Whether the errorTime field is set. + */ + boolean hasErrorTime(); + /** + *
+   * Output only. The time the error occurred.
+   * 
+ * + * .google.protobuf.Timestamp error_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The errorTime. + */ + com.google.protobuf.Timestamp getErrorTime(); + /** + *
+   * Output only. The time the error occurred.
+   * 
+ * + * .google.protobuf.Timestamp error_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + com.google.protobuf.TimestampOrBuilder getErrorTimeOrBuilder(); +} diff --git a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/NetworkInterface.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/NetworkInterface.java similarity index 71% rename from proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/NetworkInterface.java rename to owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/NetworkInterface.java index d77f07e..e944915 100644 --- a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/NetworkInterface.java +++ b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/NetworkInterface.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; /** - * - * *
  * NetworkInterface represents a NIC of a VM.
  * 
* * Protobuf type {@code google.cloud.vmmigration.v1.NetworkInterface} */ -public final class NetworkInterface extends com.google.protobuf.GeneratedMessageV3 - implements +public final class NetworkInterface extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.vmmigration.v1.NetworkInterface) NetworkInterfaceOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use NetworkInterface.newBuilder() to construct. private NetworkInterface(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private NetworkInterface() { network_ = ""; subnetwork_ = ""; @@ -46,15 +28,16 @@ private NetworkInterface() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new NetworkInterface(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private NetworkInterface( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -73,41 +56,37 @@ private NetworkInterface( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - network_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + network_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - subnetwork_ = s; - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + subnetwork_ = s; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - internalIp_ = s; - break; - } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); + internalIp_ = s; + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); - externalIp_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + externalIp_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -115,39 +94,34 @@ private NetworkInterface( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_NetworkInterface_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_NetworkInterface_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_NetworkInterface_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_NetworkInterface_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.NetworkInterface.class, - com.google.cloud.vmmigration.v1.NetworkInterface.Builder.class); + com.google.cloud.vmmigration.v1.NetworkInterface.class, com.google.cloud.vmmigration.v1.NetworkInterface.Builder.class); } public static final int NETWORK_FIELD_NUMBER = 1; private volatile java.lang.Object network_; /** - * - * *
    * The network to connect the NIC to.
    * 
* * string network = 1; - * * @return The network. */ @java.lang.Override @@ -156,29 +130,29 @@ public java.lang.String getNetwork() { 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(); network_ = s; return s; } } /** - * - * *
    * The network to connect the NIC to.
    * 
* * string network = 1; - * * @return The bytes for network. */ @java.lang.Override - public com.google.protobuf.ByteString getNetworkBytes() { + public com.google.protobuf.ByteString + getNetworkBytes() { java.lang.Object ref = network_; 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); network_ = b; return b; } else { @@ -189,14 +163,11 @@ public com.google.protobuf.ByteString getNetworkBytes() { public static final int SUBNETWORK_FIELD_NUMBER = 2; private volatile java.lang.Object subnetwork_; /** - * - * *
    * The subnetwork to connect the NIC to.
    * 
* * string subnetwork = 2; - * * @return The subnetwork. */ @java.lang.Override @@ -205,29 +176,29 @@ public java.lang.String getSubnetwork() { 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(); subnetwork_ = s; return s; } } /** - * - * *
    * The subnetwork to connect the NIC to.
    * 
* * string subnetwork = 2; - * * @return The bytes for subnetwork. */ @java.lang.Override - public com.google.protobuf.ByteString getSubnetworkBytes() { + public com.google.protobuf.ByteString + getSubnetworkBytes() { java.lang.Object ref = subnetwork_; 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); subnetwork_ = b; return b; } else { @@ -238,8 +209,6 @@ public com.google.protobuf.ByteString getSubnetworkBytes() { public static final int INTERNAL_IP_FIELD_NUMBER = 3; private volatile java.lang.Object internalIp_; /** - * - * *
    * The internal IP to define in the NIC.
    * The formats accepted are: `ephemeral` \ ipv4 address \ a named address
@@ -247,7 +216,6 @@ public com.google.protobuf.ByteString getSubnetworkBytes() {
    * 
* * string internal_ip = 3; - * * @return The internalIp. */ @java.lang.Override @@ -256,15 +224,14 @@ public java.lang.String getInternalIp() { 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(); internalIp_ = s; return s; } } /** - * - * *
    * The internal IP to define in the NIC.
    * The formats accepted are: `ephemeral` \ ipv4 address \ a named address
@@ -272,15 +239,16 @@ public java.lang.String getInternalIp() {
    * 
* * string internal_ip = 3; - * * @return The bytes for internalIp. */ @java.lang.Override - public com.google.protobuf.ByteString getInternalIpBytes() { + public com.google.protobuf.ByteString + getInternalIpBytes() { java.lang.Object ref = internalIp_; 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); internalIp_ = b; return b; } else { @@ -291,14 +259,11 @@ public com.google.protobuf.ByteString getInternalIpBytes() { public static final int EXTERNAL_IP_FIELD_NUMBER = 4; private volatile java.lang.Object externalIp_; /** - * - * *
    * The external IP to define in the NIC.
    * 
* * string external_ip = 4; - * * @return The externalIp. */ @java.lang.Override @@ -307,29 +272,29 @@ public java.lang.String getExternalIp() { 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(); externalIp_ = s; return s; } } /** - * - * *
    * The external IP to define in the NIC.
    * 
* * string external_ip = 4; - * * @return The bytes for externalIp. */ @java.lang.Override - public com.google.protobuf.ByteString getExternalIpBytes() { + public com.google.protobuf.ByteString + getExternalIpBytes() { java.lang.Object ref = externalIp_; 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); externalIp_ = b; return b; } else { @@ -338,7 +303,6 @@ public com.google.protobuf.ByteString getExternalIpBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -350,7 +314,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(network_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, network_); } @@ -392,18 +357,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.vmmigration.v1.NetworkInterface)) { return super.equals(obj); } - com.google.cloud.vmmigration.v1.NetworkInterface other = - (com.google.cloud.vmmigration.v1.NetworkInterface) obj; - - if (!getNetwork().equals(other.getNetwork())) return false; - if (!getSubnetwork().equals(other.getSubnetwork())) return false; - if (!getInternalIp().equals(other.getInternalIp())) return false; - if (!getExternalIp().equals(other.getExternalIp())) return false; + com.google.cloud.vmmigration.v1.NetworkInterface other = (com.google.cloud.vmmigration.v1.NetworkInterface) obj; + + if (!getNetwork() + .equals(other.getNetwork())) return false; + if (!getSubnetwork() + .equals(other.getSubnetwork())) return false; + if (!getInternalIp() + .equals(other.getInternalIp())) return false; + if (!getExternalIp() + .equals(other.getExternalIp())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -428,127 +396,118 @@ public int hashCode() { return hash; } - public static com.google.cloud.vmmigration.v1.NetworkInterface parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.vmmigration.v1.NetworkInterface parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.vmmigration.v1.NetworkInterface 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.vmmigration.v1.NetworkInterface parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.vmmigration.v1.NetworkInterface 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.vmmigration.v1.NetworkInterface parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.vmmigration.v1.NetworkInterface 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.vmmigration.v1.NetworkInterface parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.vmmigration.v1.NetworkInterface parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.vmmigration.v1.NetworkInterface 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.vmmigration.v1.NetworkInterface parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.vmmigration.v1.NetworkInterface parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.vmmigration.v1.NetworkInterface 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.vmmigration.v1.NetworkInterface 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.vmmigration.v1.NetworkInterface 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.vmmigration.v1.NetworkInterface 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; } /** - * - * *
    * NetworkInterface represents a NIC of a VM.
    * 
* * Protobuf type {@code google.cloud.vmmigration.v1.NetworkInterface} */ - 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.vmmigration.v1.NetworkInterface) com.google.cloud.vmmigration.v1.NetworkInterfaceOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_NetworkInterface_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_NetworkInterface_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_NetworkInterface_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_NetworkInterface_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.NetworkInterface.class, - com.google.cloud.vmmigration.v1.NetworkInterface.Builder.class); + com.google.cloud.vmmigration.v1.NetworkInterface.class, com.google.cloud.vmmigration.v1.NetworkInterface.Builder.class); } // Construct using com.google.cloud.vmmigration.v1.NetworkInterface.newBuilder() @@ -556,15 +515,16 @@ 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) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -580,9 +540,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_NetworkInterface_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_NetworkInterface_descriptor; } @java.lang.Override @@ -601,8 +561,7 @@ public com.google.cloud.vmmigration.v1.NetworkInterface build() { @java.lang.Override public com.google.cloud.vmmigration.v1.NetworkInterface buildPartial() { - com.google.cloud.vmmigration.v1.NetworkInterface result = - new com.google.cloud.vmmigration.v1.NetworkInterface(this); + com.google.cloud.vmmigration.v1.NetworkInterface result = new com.google.cloud.vmmigration.v1.NetworkInterface(this); result.network_ = network_; result.subnetwork_ = subnetwork_; result.internalIp_ = internalIp_; @@ -615,39 +574,38 @@ public com.google.cloud.vmmigration.v1.NetworkInterface buildPartial() { 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.vmmigration.v1.NetworkInterface) { - return mergeFrom((com.google.cloud.vmmigration.v1.NetworkInterface) other); + return mergeFrom((com.google.cloud.vmmigration.v1.NetworkInterface)other); } else { super.mergeFrom(other); return this; @@ -655,8 +613,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.vmmigration.v1.NetworkInterface other) { - if (other == com.google.cloud.vmmigration.v1.NetworkInterface.getDefaultInstance()) - return this; + if (other == com.google.cloud.vmmigration.v1.NetworkInterface.getDefaultInstance()) return this; if (!other.getNetwork().isEmpty()) { network_ = other.network_; onChanged(); @@ -704,20 +661,18 @@ public Builder mergeFrom( private java.lang.Object network_ = ""; /** - * - * *
      * The network to connect the NIC to.
      * 
* * string network = 1; - * * @return The network. */ public java.lang.String getNetwork() { java.lang.Object ref = network_; 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(); network_ = s; return s; @@ -726,21 +681,20 @@ public java.lang.String getNetwork() { } } /** - * - * *
      * The network to connect the NIC to.
      * 
* * string network = 1; - * * @return The bytes for network. */ - public com.google.protobuf.ByteString getNetworkBytes() { + public com.google.protobuf.ByteString + getNetworkBytes() { java.lang.Object ref = network_; 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); network_ = b; return b; } else { @@ -748,61 +702,54 @@ public com.google.protobuf.ByteString getNetworkBytes() { } } /** - * - * *
      * The network to connect the NIC to.
      * 
* * string network = 1; - * * @param value The network to set. * @return This builder for chaining. */ - public Builder setNetwork(java.lang.String value) { + public Builder setNetwork( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + network_ = value; onChanged(); return this; } /** - * - * *
      * The network to connect the NIC to.
      * 
* * string network = 1; - * * @return This builder for chaining. */ public Builder clearNetwork() { - + network_ = getDefaultInstance().getNetwork(); onChanged(); return this; } /** - * - * *
      * The network to connect the NIC to.
      * 
* * string network = 1; - * * @param value The bytes for network to set. * @return This builder for chaining. */ - public Builder setNetworkBytes(com.google.protobuf.ByteString value) { + public Builder setNetworkBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + network_ = value; onChanged(); return this; @@ -810,20 +757,18 @@ public Builder setNetworkBytes(com.google.protobuf.ByteString value) { private java.lang.Object subnetwork_ = ""; /** - * - * *
      * The subnetwork to connect the NIC to.
      * 
* * string subnetwork = 2; - * * @return The subnetwork. */ public java.lang.String getSubnetwork() { java.lang.Object ref = subnetwork_; 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(); subnetwork_ = s; return s; @@ -832,21 +777,20 @@ public java.lang.String getSubnetwork() { } } /** - * - * *
      * The subnetwork to connect the NIC to.
      * 
* * string subnetwork = 2; - * * @return The bytes for subnetwork. */ - public com.google.protobuf.ByteString getSubnetworkBytes() { + public com.google.protobuf.ByteString + getSubnetworkBytes() { java.lang.Object ref = subnetwork_; 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); subnetwork_ = b; return b; } else { @@ -854,61 +798,54 @@ public com.google.protobuf.ByteString getSubnetworkBytes() { } } /** - * - * *
      * The subnetwork to connect the NIC to.
      * 
* * string subnetwork = 2; - * * @param value The subnetwork to set. * @return This builder for chaining. */ - public Builder setSubnetwork(java.lang.String value) { + public Builder setSubnetwork( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + subnetwork_ = value; onChanged(); return this; } /** - * - * *
      * The subnetwork to connect the NIC to.
      * 
* * string subnetwork = 2; - * * @return This builder for chaining. */ public Builder clearSubnetwork() { - + subnetwork_ = getDefaultInstance().getSubnetwork(); onChanged(); return this; } /** - * - * *
      * The subnetwork to connect the NIC to.
      * 
* * string subnetwork = 2; - * * @param value The bytes for subnetwork to set. * @return This builder for chaining. */ - public Builder setSubnetworkBytes(com.google.protobuf.ByteString value) { + public Builder setSubnetworkBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + subnetwork_ = value; onChanged(); return this; @@ -916,8 +853,6 @@ public Builder setSubnetworkBytes(com.google.protobuf.ByteString value) { private java.lang.Object internalIp_ = ""; /** - * - * *
      * The internal IP to define in the NIC.
      * The formats accepted are: `ephemeral` \ ipv4 address \ a named address
@@ -925,13 +860,13 @@ public Builder setSubnetworkBytes(com.google.protobuf.ByteString value) {
      * 
* * string internal_ip = 3; - * * @return The internalIp. */ public java.lang.String getInternalIp() { java.lang.Object ref = internalIp_; 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(); internalIp_ = s; return s; @@ -940,8 +875,6 @@ public java.lang.String getInternalIp() { } } /** - * - * *
      * The internal IP to define in the NIC.
      * The formats accepted are: `ephemeral` \ ipv4 address \ a named address
@@ -949,14 +882,15 @@ public java.lang.String getInternalIp() {
      * 
* * string internal_ip = 3; - * * @return The bytes for internalIp. */ - public com.google.protobuf.ByteString getInternalIpBytes() { + public com.google.protobuf.ByteString + getInternalIpBytes() { java.lang.Object ref = internalIp_; 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); internalIp_ = b; return b; } else { @@ -964,8 +898,6 @@ public com.google.protobuf.ByteString getInternalIpBytes() { } } /** - * - * *
      * The internal IP to define in the NIC.
      * The formats accepted are: `ephemeral` \ ipv4 address \ a named address
@@ -973,22 +905,20 @@ public com.google.protobuf.ByteString getInternalIpBytes() {
      * 
* * string internal_ip = 3; - * * @param value The internalIp to set. * @return This builder for chaining. */ - public Builder setInternalIp(java.lang.String value) { + public Builder setInternalIp( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + internalIp_ = value; onChanged(); return this; } /** - * - * *
      * The internal IP to define in the NIC.
      * The formats accepted are: `ephemeral` \ ipv4 address \ a named address
@@ -996,18 +926,15 @@ public Builder setInternalIp(java.lang.String value) {
      * 
* * string internal_ip = 3; - * * @return This builder for chaining. */ public Builder clearInternalIp() { - + internalIp_ = getDefaultInstance().getInternalIp(); onChanged(); return this; } /** - * - * *
      * The internal IP to define in the NIC.
      * The formats accepted are: `ephemeral` \ ipv4 address \ a named address
@@ -1015,16 +942,16 @@ public Builder clearInternalIp() {
      * 
* * string internal_ip = 3; - * * @param value The bytes for internalIp to set. * @return This builder for chaining. */ - public Builder setInternalIpBytes(com.google.protobuf.ByteString value) { + public Builder setInternalIpBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + internalIp_ = value; onChanged(); return this; @@ -1032,20 +959,18 @@ public Builder setInternalIpBytes(com.google.protobuf.ByteString value) { private java.lang.Object externalIp_ = ""; /** - * - * *
      * The external IP to define in the NIC.
      * 
* * string external_ip = 4; - * * @return The externalIp. */ public java.lang.String getExternalIp() { java.lang.Object ref = externalIp_; 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(); externalIp_ = s; return s; @@ -1054,21 +979,20 @@ public java.lang.String getExternalIp() { } } /** - * - * *
      * The external IP to define in the NIC.
      * 
* * string external_ip = 4; - * * @return The bytes for externalIp. */ - public com.google.protobuf.ByteString getExternalIpBytes() { + public com.google.protobuf.ByteString + getExternalIpBytes() { java.lang.Object ref = externalIp_; 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); externalIp_ = b; return b; } else { @@ -1076,68 +1000,61 @@ public com.google.protobuf.ByteString getExternalIpBytes() { } } /** - * - * *
      * The external IP to define in the NIC.
      * 
* * string external_ip = 4; - * * @param value The externalIp to set. * @return This builder for chaining. */ - public Builder setExternalIp(java.lang.String value) { + public Builder setExternalIp( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + externalIp_ = value; onChanged(); return this; } /** - * - * *
      * The external IP to define in the NIC.
      * 
* * string external_ip = 4; - * * @return This builder for chaining. */ public Builder clearExternalIp() { - + externalIp_ = getDefaultInstance().getExternalIp(); onChanged(); return this; } /** - * - * *
      * The external IP to define in the NIC.
      * 
* * string external_ip = 4; - * * @param value The bytes for externalIp to set. * @return This builder for chaining. */ - public Builder setExternalIpBytes(com.google.protobuf.ByteString value) { + public Builder setExternalIpBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + externalIp_ = 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); } @@ -1147,12 +1064,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.vmmigration.v1.NetworkInterface) } // @@protoc_insertion_point(class_scope:google.cloud.vmmigration.v1.NetworkInterface) private static final com.google.cloud.vmmigration.v1.NetworkInterface DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.vmmigration.v1.NetworkInterface(); } @@ -1161,16 +1078,16 @@ public static com.google.cloud.vmmigration.v1.NetworkInterface getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public NetworkInterface parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new NetworkInterface(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public NetworkInterface parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new NetworkInterface(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1185,4 +1102,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.vmmigration.v1.NetworkInterface getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/NetworkInterfaceOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/NetworkInterfaceOrBuilder.java similarity index 65% rename from proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/NetworkInterfaceOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/NetworkInterfaceOrBuilder.java index 05f919f..b854d07 100644 --- a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/NetworkInterfaceOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/NetworkInterfaceOrBuilder.java @@ -1,81 +1,53 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; -public interface NetworkInterfaceOrBuilder - extends +public interface NetworkInterfaceOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.NetworkInterface) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The network to connect the NIC to.
    * 
* * string network = 1; - * * @return The network. */ java.lang.String getNetwork(); /** - * - * *
    * The network to connect the NIC to.
    * 
* * string network = 1; - * * @return The bytes for network. */ - com.google.protobuf.ByteString getNetworkBytes(); + com.google.protobuf.ByteString + getNetworkBytes(); /** - * - * *
    * The subnetwork to connect the NIC to.
    * 
* * string subnetwork = 2; - * * @return The subnetwork. */ java.lang.String getSubnetwork(); /** - * - * *
    * The subnetwork to connect the NIC to.
    * 
* * string subnetwork = 2; - * * @return The bytes for subnetwork. */ - com.google.protobuf.ByteString getSubnetworkBytes(); + com.google.protobuf.ByteString + getSubnetworkBytes(); /** - * - * *
    * The internal IP to define in the NIC.
    * The formats accepted are: `ephemeral` \ ipv4 address \ a named address
@@ -83,13 +55,10 @@ public interface NetworkInterfaceOrBuilder
    * 
* * string internal_ip = 3; - * * @return The internalIp. */ java.lang.String getInternalIp(); /** - * - * *
    * The internal IP to define in the NIC.
    * The formats accepted are: `ephemeral` \ ipv4 address \ a named address
@@ -97,33 +66,28 @@ public interface NetworkInterfaceOrBuilder
    * 
* * string internal_ip = 3; - * * @return The bytes for internalIp. */ - com.google.protobuf.ByteString getInternalIpBytes(); + com.google.protobuf.ByteString + getInternalIpBytes(); /** - * - * *
    * The external IP to define in the NIC.
    * 
* * string external_ip = 4; - * * @return The externalIp. */ java.lang.String getExternalIp(); /** - * - * *
    * The external IP to define in the NIC.
    * 
* * string external_ip = 4; - * * @return The bytes for externalIp. */ - com.google.protobuf.ByteString getExternalIpBytes(); + com.google.protobuf.ByteString + getExternalIpBytes(); } diff --git a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/OperationMetadata.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/OperationMetadata.java similarity index 70% rename from proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/OperationMetadata.java rename to owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/OperationMetadata.java index 27d5af2..48dda74 100644 --- a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/OperationMetadata.java +++ b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/OperationMetadata.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; /** - * - * *
  * Represents the metadata of the long-running operation.
  * 
* * Protobuf type {@code google.cloud.vmmigration.v1.OperationMetadata} */ -public final class OperationMetadata extends com.google.protobuf.GeneratedMessageV3 - implements +public final class OperationMetadata extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.vmmigration.v1.OperationMetadata) OperationMetadataOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use OperationMetadata.newBuilder() to construct. private OperationMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private OperationMetadata() { target_ = ""; verb_ = ""; @@ -46,15 +28,16 @@ private OperationMetadata() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new OperationMetadata(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private OperationMetadata( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -73,76 +56,68 @@ private OperationMetadata( case 0: done = true; break; - case 10: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (createTime_ != null) { - subBuilder = createTime_.toBuilder(); - } - createTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(createTime_); - createTime_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); } - case 18: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (endTime_ != null) { - subBuilder = endTime_.toBuilder(); - } - endTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(endTime_); - endTime_ = subBuilder.buildPartial(); - } - - break; + createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - target_ = s; - break; + break; + } + case 18: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (endTime_ != null) { + subBuilder = endTime_.toBuilder(); } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); - - verb_ = s; - break; + endTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(endTime_); + endTime_ = subBuilder.buildPartial(); } - case 42: - { - java.lang.String s = input.readStringRequireUtf8(); - statusMessage_ = s; - break; - } - case 48: - { - requestedCancellation_ = input.readBool(); - break; - } - case 58: - { - java.lang.String s = input.readStringRequireUtf8(); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - apiVersion_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + target_ = s; + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); + + verb_ = s; + break; + } + case 42: { + java.lang.String s = input.readStringRequireUtf8(); + + statusMessage_ = s; + break; + } + case 48: { + + requestedCancellation_ = input.readBool(); + break; + } + case 58: { + java.lang.String s = input.readStringRequireUtf8(); + + apiVersion_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -150,40 +125,34 @@ private OperationMetadata( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_OperationMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_OperationMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_OperationMetadata_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_OperationMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.OperationMetadata.class, - com.google.cloud.vmmigration.v1.OperationMetadata.Builder.class); + com.google.cloud.vmmigration.v1.OperationMetadata.class, com.google.cloud.vmmigration.v1.OperationMetadata.Builder.class); } public static final int CREATE_TIME_FIELD_NUMBER = 1; private com.google.protobuf.Timestamp createTime_; /** - * - * *
    * Output only. The time the operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ @java.lang.Override @@ -191,15 +160,11 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
    * Output only. The time the operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ @java.lang.Override @@ -207,14 +172,11 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * Output only. The time the operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -224,15 +186,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int END_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp endTime_; /** - * - * *
    * Output only. The time the operation finished running.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the endTime field is set. */ @java.lang.Override @@ -240,15 +198,11 @@ public boolean hasEndTime() { return endTime_ != null; } /** - * - * *
    * Output only. The time the operation finished running.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The endTime. */ @java.lang.Override @@ -256,14 +210,11 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** - * - * *
    * Output only. The time the operation finished running.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { @@ -273,14 +224,11 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { public static final int TARGET_FIELD_NUMBER = 3; private volatile java.lang.Object target_; /** - * - * *
    * Output only. Server-defined resource path for the target of the operation.
    * 
* * string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The target. */ @java.lang.Override @@ -289,29 +237,29 @@ public java.lang.String getTarget() { 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(); target_ = s; return s; } } /** - * - * *
    * Output only. Server-defined resource path for the target of the operation.
    * 
* * string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for target. */ @java.lang.Override - public com.google.protobuf.ByteString getTargetBytes() { + public com.google.protobuf.ByteString + getTargetBytes() { java.lang.Object ref = target_; 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); target_ = b; return b; } else { @@ -322,14 +270,11 @@ public com.google.protobuf.ByteString getTargetBytes() { public static final int VERB_FIELD_NUMBER = 4; private volatile java.lang.Object verb_; /** - * - * *
    * Output only. Name of the verb executed by the operation.
    * 
* * string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The verb. */ @java.lang.Override @@ -338,29 +283,29 @@ public java.lang.String getVerb() { 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(); verb_ = s; return s; } } /** - * - * *
    * Output only. Name of the verb executed by the operation.
    * 
* * string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for verb. */ @java.lang.Override - public com.google.protobuf.ByteString getVerbBytes() { + public com.google.protobuf.ByteString + getVerbBytes() { java.lang.Object ref = verb_; 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); verb_ = b; return b; } else { @@ -371,14 +316,11 @@ public com.google.protobuf.ByteString getVerbBytes() { public static final int STATUS_MESSAGE_FIELD_NUMBER = 5; private volatile java.lang.Object statusMessage_; /** - * - * *
    * Output only. Human-readable status of the operation, if any.
    * 
* * string status_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The statusMessage. */ @java.lang.Override @@ -387,29 +329,29 @@ public java.lang.String getStatusMessage() { 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(); statusMessage_ = s; return s; } } /** - * - * *
    * Output only. Human-readable status of the operation, if any.
    * 
* * string status_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for statusMessage. */ @java.lang.Override - public com.google.protobuf.ByteString getStatusMessageBytes() { + public com.google.protobuf.ByteString + getStatusMessageBytes() { java.lang.Object ref = statusMessage_; 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); statusMessage_ = b; return b; } else { @@ -420,17 +362,15 @@ public com.google.protobuf.ByteString getStatusMessageBytes() { public static final int REQUESTED_CANCELLATION_FIELD_NUMBER = 6; private boolean requestedCancellation_; /** - * - * *
    * Output only. Identifies whether the user has requested cancellation
    * of the operation. Operations that have successfully been cancelled
-   * have [Operation.error][] value with a [google.rpc.Status.code][google.rpc.Status.code] of 1,
-   * corresponding to `Code.CANCELLED`.
+   * have [Operation.error][] value with a
+   * [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding to
+   * `Code.CANCELLED`.
    * 
* * bool requested_cancellation = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The requestedCancellation. */ @java.lang.Override @@ -441,14 +381,11 @@ public boolean getRequestedCancellation() { public static final int API_VERSION_FIELD_NUMBER = 7; private volatile java.lang.Object apiVersion_; /** - * - * *
    * Output only. API version used to start the operation.
    * 
* * string api_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The apiVersion. */ @java.lang.Override @@ -457,29 +394,29 @@ public java.lang.String getApiVersion() { 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(); apiVersion_ = s; return s; } } /** - * - * *
    * Output only. API version used to start the operation.
    * 
* * string api_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for apiVersion. */ @java.lang.Override - public com.google.protobuf.ByteString getApiVersionBytes() { + public com.google.protobuf.ByteString + getApiVersionBytes() { java.lang.Object ref = apiVersion_; 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); apiVersion_ = b; return b; } else { @@ -488,7 +425,6 @@ public com.google.protobuf.ByteString getApiVersionBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -500,7 +436,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 (createTime_ != null) { output.writeMessage(1, getCreateTime()); } @@ -532,10 +469,12 @@ public int getSerializedSize() { size = 0; if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getCreateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getCreateTime()); } if (endTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getEndTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getEndTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(target_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, target_); @@ -547,7 +486,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, statusMessage_); } if (requestedCancellation_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(6, requestedCancellation_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(6, requestedCancellation_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(apiVersion_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, apiVersion_); @@ -560,27 +500,33 @@ 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.vmmigration.v1.OperationMetadata)) { return super.equals(obj); } - com.google.cloud.vmmigration.v1.OperationMetadata other = - (com.google.cloud.vmmigration.v1.OperationMetadata) obj; + com.google.cloud.vmmigration.v1.OperationMetadata other = (com.google.cloud.vmmigration.v1.OperationMetadata) obj; if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime().equals(other.getCreateTime())) return false; + if (!getCreateTime() + .equals(other.getCreateTime())) return false; } if (hasEndTime() != other.hasEndTime()) return false; if (hasEndTime()) { - if (!getEndTime().equals(other.getEndTime())) return false; - } - if (!getTarget().equals(other.getTarget())) return false; - if (!getVerb().equals(other.getVerb())) return false; - if (!getStatusMessage().equals(other.getStatusMessage())) return false; - if (getRequestedCancellation() != other.getRequestedCancellation()) return false; - if (!getApiVersion().equals(other.getApiVersion())) return false; + if (!getEndTime() + .equals(other.getEndTime())) return false; + } + if (!getTarget() + .equals(other.getTarget())) return false; + if (!getVerb() + .equals(other.getVerb())) return false; + if (!getStatusMessage() + .equals(other.getStatusMessage())) return false; + if (getRequestedCancellation() + != other.getRequestedCancellation()) return false; + if (!getApiVersion() + .equals(other.getApiVersion())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -607,7 +553,8 @@ public int hashCode() { hash = (37 * hash) + STATUS_MESSAGE_FIELD_NUMBER; hash = (53 * hash) + getStatusMessage().hashCode(); hash = (37 * hash) + REQUESTED_CANCELLATION_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getRequestedCancellation()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getRequestedCancellation()); hash = (37 * hash) + API_VERSION_FIELD_NUMBER; hash = (53 * hash) + getApiVersion().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); @@ -616,126 +563,117 @@ public int hashCode() { } public static com.google.cloud.vmmigration.v1.OperationMetadata 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.vmmigration.v1.OperationMetadata 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.vmmigration.v1.OperationMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.vmmigration.v1.OperationMetadata 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.vmmigration.v1.OperationMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.vmmigration.v1.OperationMetadata 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.vmmigration.v1.OperationMetadata parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.vmmigration.v1.OperationMetadata parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.vmmigration.v1.OperationMetadata 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.vmmigration.v1.OperationMetadata parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.vmmigration.v1.OperationMetadata parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.vmmigration.v1.OperationMetadata 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.vmmigration.v1.OperationMetadata 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.vmmigration.v1.OperationMetadata 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.vmmigration.v1.OperationMetadata 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 metadata of the long-running operation.
    * 
* * Protobuf type {@code google.cloud.vmmigration.v1.OperationMetadata} */ - 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.vmmigration.v1.OperationMetadata) com.google.cloud.vmmigration.v1.OperationMetadataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_OperationMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_OperationMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_OperationMetadata_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_OperationMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.OperationMetadata.class, - com.google.cloud.vmmigration.v1.OperationMetadata.Builder.class); + com.google.cloud.vmmigration.v1.OperationMetadata.class, com.google.cloud.vmmigration.v1.OperationMetadata.Builder.class); } // Construct using com.google.cloud.vmmigration.v1.OperationMetadata.newBuilder() @@ -743,15 +681,16 @@ 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) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -781,9 +720,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_OperationMetadata_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_OperationMetadata_descriptor; } @java.lang.Override @@ -802,8 +741,7 @@ public com.google.cloud.vmmigration.v1.OperationMetadata build() { @java.lang.Override public com.google.cloud.vmmigration.v1.OperationMetadata buildPartial() { - com.google.cloud.vmmigration.v1.OperationMetadata result = - new com.google.cloud.vmmigration.v1.OperationMetadata(this); + com.google.cloud.vmmigration.v1.OperationMetadata result = new com.google.cloud.vmmigration.v1.OperationMetadata(this); if (createTimeBuilder_ == null) { result.createTime_ = createTime_; } else { @@ -827,39 +765,38 @@ public com.google.cloud.vmmigration.v1.OperationMetadata buildPartial() { 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.vmmigration.v1.OperationMetadata) { - return mergeFrom((com.google.cloud.vmmigration.v1.OperationMetadata) other); + return mergeFrom((com.google.cloud.vmmigration.v1.OperationMetadata)other); } else { super.mergeFrom(other); return this; @@ -867,8 +804,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.vmmigration.v1.OperationMetadata other) { - if (other == com.google.cloud.vmmigration.v1.OperationMetadata.getDefaultInstance()) - return this; + if (other == com.google.cloud.vmmigration.v1.OperationMetadata.getDefaultInstance()) return this; if (other.hasCreateTime()) { mergeCreateTime(other.getCreateTime()); } @@ -913,8 +849,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.vmmigration.v1.OperationMetadata) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.vmmigration.v1.OperationMetadata) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -926,58 +861,39 @@ public Builder mergeFrom( private com.google.protobuf.Timestamp createTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - createTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; /** - * - * *
      * Output only. The time the operation was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** - * - * *
      * Output only. The time the operation was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. The time the operation was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -993,17 +909,14 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time the operation was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); onChanged(); @@ -1014,21 +927,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. The time the operation was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { if (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -1040,15 +949,11 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time the operation was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearCreateTime() { if (createTimeBuilder_ == null) { @@ -1062,64 +967,48 @@ public Builder clearCreateTime() { return this; } /** - * - * *
      * Output only. The time the operation was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The time the operation was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } } /** - * - * *
      * Output only. The time the operation was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 1 [(.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> getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { - createTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getCreateTime(), getParentForChildren(), isClean()); + createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), + getParentForChildren(), + isClean()); createTime_ = null; } return createTimeBuilder_; @@ -1127,35 +1016,24 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { 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. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the endTime field is set. */ public boolean hasEndTime() { return endTimeBuilder_ != null || endTime_ != null; } /** - * - * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { @@ -1166,14 +1044,11 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** - * - * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { @@ -1189,16 +1064,14 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 2 [(.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(); onChanged(); @@ -1209,20 +1082,17 @@ public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) return this; } /** - * - * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { if (endTime_ != null) { endTime_ = - com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); } else { endTime_ = value; } @@ -1234,14 +1104,11 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearEndTime() { if (endTimeBuilder_ == null) { @@ -1255,59 +1122,48 @@ public Builder clearEndTime() { return this; } /** - * - * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { - + onChanged(); return getEndTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 2 [(.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. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 2 [(.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_; @@ -1315,20 +1171,18 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { private java.lang.Object target_ = ""; /** - * - * *
      * Output only. Server-defined resource path for the target of the operation.
      * 
* * string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The target. */ public java.lang.String getTarget() { java.lang.Object ref = target_; 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(); target_ = s; return s; @@ -1337,21 +1191,20 @@ public java.lang.String getTarget() { } } /** - * - * *
      * Output only. Server-defined resource path for the target of the operation.
      * 
* * string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for target. */ - public com.google.protobuf.ByteString getTargetBytes() { + public com.google.protobuf.ByteString + getTargetBytes() { java.lang.Object ref = target_; 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); target_ = b; return b; } else { @@ -1359,61 +1212,54 @@ public com.google.protobuf.ByteString getTargetBytes() { } } /** - * - * *
      * Output only. Server-defined resource path for the target of the operation.
      * 
* * string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The target to set. * @return This builder for chaining. */ - public Builder setTarget(java.lang.String value) { + public Builder setTarget( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + target_ = value; onChanged(); return this; } /** - * - * *
      * Output only. Server-defined resource path for the target of the operation.
      * 
* * string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearTarget() { - + target_ = getDefaultInstance().getTarget(); onChanged(); return this; } /** - * - * *
      * Output only. Server-defined resource path for the target of the operation.
      * 
* * string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for target to set. * @return This builder for chaining. */ - public Builder setTargetBytes(com.google.protobuf.ByteString value) { + public Builder setTargetBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + target_ = value; onChanged(); return this; @@ -1421,20 +1267,18 @@ public Builder setTargetBytes(com.google.protobuf.ByteString value) { private java.lang.Object verb_ = ""; /** - * - * *
      * Output only. Name of the verb executed by the operation.
      * 
* * string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The verb. */ public java.lang.String getVerb() { java.lang.Object ref = verb_; 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(); verb_ = s; return s; @@ -1443,21 +1287,20 @@ public java.lang.String getVerb() { } } /** - * - * *
      * Output only. Name of the verb executed by the operation.
      * 
* * string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for verb. */ - public com.google.protobuf.ByteString getVerbBytes() { + public com.google.protobuf.ByteString + getVerbBytes() { java.lang.Object ref = verb_; 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); verb_ = b; return b; } else { @@ -1465,61 +1308,54 @@ public com.google.protobuf.ByteString getVerbBytes() { } } /** - * - * *
      * Output only. Name of the verb executed by the operation.
      * 
* * string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The verb to set. * @return This builder for chaining. */ - public Builder setVerb(java.lang.String value) { + public Builder setVerb( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + verb_ = value; onChanged(); return this; } /** - * - * *
      * Output only. Name of the verb executed by the operation.
      * 
* * string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearVerb() { - + verb_ = getDefaultInstance().getVerb(); onChanged(); return this; } /** - * - * *
      * Output only. Name of the verb executed by the operation.
      * 
* * string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for verb to set. * @return This builder for chaining. */ - public Builder setVerbBytes(com.google.protobuf.ByteString value) { + public Builder setVerbBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + verb_ = value; onChanged(); return this; @@ -1527,20 +1363,18 @@ public Builder setVerbBytes(com.google.protobuf.ByteString value) { private java.lang.Object statusMessage_ = ""; /** - * - * *
      * Output only. Human-readable status of the operation, if any.
      * 
* * string status_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The statusMessage. */ public java.lang.String getStatusMessage() { java.lang.Object ref = statusMessage_; 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(); statusMessage_ = s; return s; @@ -1549,21 +1383,20 @@ public java.lang.String getStatusMessage() { } } /** - * - * *
      * Output only. Human-readable status of the operation, if any.
      * 
* * string status_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for statusMessage. */ - public com.google.protobuf.ByteString getStatusMessageBytes() { + public com.google.protobuf.ByteString + getStatusMessageBytes() { java.lang.Object ref = statusMessage_; 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); statusMessage_ = b; return b; } else { @@ -1571,79 +1404,70 @@ public com.google.protobuf.ByteString getStatusMessageBytes() { } } /** - * - * *
      * Output only. Human-readable status of the operation, if any.
      * 
* * string status_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The statusMessage to set. * @return This builder for chaining. */ - public Builder setStatusMessage(java.lang.String value) { + public Builder setStatusMessage( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + statusMessage_ = value; onChanged(); return this; } /** - * - * *
      * Output only. Human-readable status of the operation, if any.
      * 
* * string status_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearStatusMessage() { - + statusMessage_ = getDefaultInstance().getStatusMessage(); onChanged(); return this; } /** - * - * *
      * Output only. Human-readable status of the operation, if any.
      * 
* * string status_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for statusMessage to set. * @return This builder for chaining. */ - public Builder setStatusMessageBytes(com.google.protobuf.ByteString value) { + public Builder setStatusMessageBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + statusMessage_ = value; onChanged(); return this; } - private boolean requestedCancellation_; + private boolean requestedCancellation_ ; /** - * - * *
      * Output only. Identifies whether the user has requested cancellation
      * of the operation. Operations that have successfully been cancelled
-     * have [Operation.error][] value with a [google.rpc.Status.code][google.rpc.Status.code] of 1,
-     * corresponding to `Code.CANCELLED`.
+     * have [Operation.error][] value with a
+     * [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding to
+     * `Code.CANCELLED`.
      * 
* * bool requested_cancellation = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The requestedCancellation. */ @java.lang.Override @@ -1651,42 +1475,38 @@ public boolean getRequestedCancellation() { return requestedCancellation_; } /** - * - * *
      * Output only. Identifies whether the user has requested cancellation
      * of the operation. Operations that have successfully been cancelled
-     * have [Operation.error][] value with a [google.rpc.Status.code][google.rpc.Status.code] of 1,
-     * corresponding to `Code.CANCELLED`.
+     * have [Operation.error][] value with a
+     * [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding to
+     * `Code.CANCELLED`.
      * 
* * bool requested_cancellation = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The requestedCancellation to set. * @return This builder for chaining. */ public Builder setRequestedCancellation(boolean value) { - + requestedCancellation_ = value; onChanged(); return this; } /** - * - * *
      * Output only. Identifies whether the user has requested cancellation
      * of the operation. Operations that have successfully been cancelled
-     * have [Operation.error][] value with a [google.rpc.Status.code][google.rpc.Status.code] of 1,
-     * corresponding to `Code.CANCELLED`.
+     * have [Operation.error][] value with a
+     * [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding to
+     * `Code.CANCELLED`.
      * 
* * bool requested_cancellation = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearRequestedCancellation() { - + requestedCancellation_ = false; onChanged(); return this; @@ -1694,20 +1514,18 @@ public Builder clearRequestedCancellation() { private java.lang.Object apiVersion_ = ""; /** - * - * *
      * Output only. API version used to start the operation.
      * 
* * string api_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The apiVersion. */ public java.lang.String getApiVersion() { java.lang.Object ref = apiVersion_; 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(); apiVersion_ = s; return s; @@ -1716,21 +1534,20 @@ public java.lang.String getApiVersion() { } } /** - * - * *
      * Output only. API version used to start the operation.
      * 
* * string api_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for apiVersion. */ - public com.google.protobuf.ByteString getApiVersionBytes() { + public com.google.protobuf.ByteString + getApiVersionBytes() { java.lang.Object ref = apiVersion_; 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); apiVersion_ = b; return b; } else { @@ -1738,68 +1555,61 @@ public com.google.protobuf.ByteString getApiVersionBytes() { } } /** - * - * *
      * Output only. API version used to start the operation.
      * 
* * string api_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The apiVersion to set. * @return This builder for chaining. */ - public Builder setApiVersion(java.lang.String value) { + public Builder setApiVersion( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + apiVersion_ = value; onChanged(); return this; } /** - * - * *
      * Output only. API version used to start the operation.
      * 
* * string api_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearApiVersion() { - + apiVersion_ = getDefaultInstance().getApiVersion(); onChanged(); return this; } /** - * - * *
      * Output only. API version used to start the operation.
      * 
* * string api_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for apiVersion to set. * @return This builder for chaining. */ - public Builder setApiVersionBytes(com.google.protobuf.ByteString value) { + public Builder setApiVersionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + apiVersion_ = 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); } @@ -1809,12 +1619,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.vmmigration.v1.OperationMetadata) } // @@protoc_insertion_point(class_scope:google.cloud.vmmigration.v1.OperationMetadata) private static final com.google.cloud.vmmigration.v1.OperationMetadata DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.vmmigration.v1.OperationMetadata(); } @@ -1823,16 +1633,16 @@ public static com.google.cloud.vmmigration.v1.OperationMetadata getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public OperationMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new OperationMetadata(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public OperationMetadata parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new OperationMetadata(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1847,4 +1657,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.vmmigration.v1.OperationMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/OperationMetadataOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/OperationMetadataOrBuilder.java similarity index 72% rename from proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/OperationMetadataOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/OperationMetadataOrBuilder.java index ee6e8d0..eead222 100644 --- a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/OperationMetadataOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/OperationMetadataOrBuilder.java @@ -1,217 +1,157 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; -public interface OperationMetadataOrBuilder - extends +public interface OperationMetadataOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.OperationMetadata) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Output only. The time the operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** - * - * *
    * Output only. The time the operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** - * - * *
    * Output only. The time the operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** - * - * *
    * Output only. The time the operation finished running.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the endTime field is set. */ boolean hasEndTime(); /** - * - * *
    * Output only. The time the operation finished running.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The endTime. */ com.google.protobuf.Timestamp getEndTime(); /** - * - * *
    * Output only. The time the operation finished running.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder(); /** - * - * *
    * Output only. Server-defined resource path for the target of the operation.
    * 
* * string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The target. */ java.lang.String getTarget(); /** - * - * *
    * Output only. Server-defined resource path for the target of the operation.
    * 
* * string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for target. */ - com.google.protobuf.ByteString getTargetBytes(); + com.google.protobuf.ByteString + getTargetBytes(); /** - * - * *
    * Output only. Name of the verb executed by the operation.
    * 
* * string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The verb. */ java.lang.String getVerb(); /** - * - * *
    * Output only. Name of the verb executed by the operation.
    * 
* * string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for verb. */ - com.google.protobuf.ByteString getVerbBytes(); + com.google.protobuf.ByteString + getVerbBytes(); /** - * - * *
    * Output only. Human-readable status of the operation, if any.
    * 
* * string status_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The statusMessage. */ java.lang.String getStatusMessage(); /** - * - * *
    * Output only. Human-readable status of the operation, if any.
    * 
* * string status_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for statusMessage. */ - com.google.protobuf.ByteString getStatusMessageBytes(); + com.google.protobuf.ByteString + getStatusMessageBytes(); /** - * - * *
    * Output only. Identifies whether the user has requested cancellation
    * of the operation. Operations that have successfully been cancelled
-   * have [Operation.error][] value with a [google.rpc.Status.code][google.rpc.Status.code] of 1,
-   * corresponding to `Code.CANCELLED`.
+   * have [Operation.error][] value with a
+   * [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding to
+   * `Code.CANCELLED`.
    * 
* * bool requested_cancellation = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The requestedCancellation. */ boolean getRequestedCancellation(); /** - * - * *
    * Output only. API version used to start the operation.
    * 
* * string api_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The apiVersion. */ java.lang.String getApiVersion(); /** - * - * *
    * Output only. API version used to start the operation.
    * 
* * string api_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for apiVersion. */ - com.google.protobuf.ByteString getApiVersionBytes(); + com.google.protobuf.ByteString + getApiVersionBytes(); } diff --git a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/PauseMigrationRequest.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/PauseMigrationRequest.java similarity index 64% rename from proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/PauseMigrationRequest.java rename to owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/PauseMigrationRequest.java index f90772a..ff8d4ad 100644 --- a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/PauseMigrationRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/PauseMigrationRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; /** - * - * *
  * Request message for 'PauseMigration' request.
  * 
* * Protobuf type {@code google.cloud.vmmigration.v1.PauseMigrationRequest} */ -public final class PauseMigrationRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class PauseMigrationRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.vmmigration.v1.PauseMigrationRequest) PauseMigrationRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use PauseMigrationRequest.newBuilder() to construct. private PauseMigrationRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private PauseMigrationRequest() { migratingVm_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new PauseMigrationRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private PauseMigrationRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private PauseMigrationRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - migratingVm_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + migratingVm_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,41 +73,34 @@ private PauseMigrationRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_PauseMigrationRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_PauseMigrationRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_PauseMigrationRequest_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_PauseMigrationRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.PauseMigrationRequest.class, - com.google.cloud.vmmigration.v1.PauseMigrationRequest.Builder.class); + com.google.cloud.vmmigration.v1.PauseMigrationRequest.class, com.google.cloud.vmmigration.v1.PauseMigrationRequest.Builder.class); } public static final int MIGRATING_VM_FIELD_NUMBER = 1; private volatile java.lang.Object migratingVm_; /** - * - * *
    * Required. The name of the MigratingVm.
    * 
* - * - * string migrating_vm = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string migrating_vm = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The migratingVm. */ @java.lang.Override @@ -134,31 +109,29 @@ public java.lang.String getMigratingVm() { 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(); migratingVm_ = s; return s; } } /** - * - * *
    * Required. The name of the MigratingVm.
    * 
* - * - * string migrating_vm = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string migrating_vm = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for migratingVm. */ @java.lang.Override - public com.google.protobuf.ByteString getMigratingVmBytes() { + public com.google.protobuf.ByteString + getMigratingVmBytes() { java.lang.Object ref = migratingVm_; 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); migratingVm_ = b; return b; } else { @@ -167,7 +140,6 @@ public com.google.protobuf.ByteString getMigratingVmBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -179,7 +151,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(migratingVm_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, migratingVm_); } @@ -203,15 +176,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.vmmigration.v1.PauseMigrationRequest)) { return super.equals(obj); } - com.google.cloud.vmmigration.v1.PauseMigrationRequest other = - (com.google.cloud.vmmigration.v1.PauseMigrationRequest) obj; + com.google.cloud.vmmigration.v1.PauseMigrationRequest other = (com.google.cloud.vmmigration.v1.PauseMigrationRequest) obj; - if (!getMigratingVm().equals(other.getMigratingVm())) return false; + if (!getMigratingVm() + .equals(other.getMigratingVm())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -231,127 +204,117 @@ public int hashCode() { } public static com.google.cloud.vmmigration.v1.PauseMigrationRequest 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.vmmigration.v1.PauseMigrationRequest 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.vmmigration.v1.PauseMigrationRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.vmmigration.v1.PauseMigrationRequest 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.vmmigration.v1.PauseMigrationRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.vmmigration.v1.PauseMigrationRequest 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.vmmigration.v1.PauseMigrationRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.vmmigration.v1.PauseMigrationRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.vmmigration.v1.PauseMigrationRequest 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.vmmigration.v1.PauseMigrationRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.vmmigration.v1.PauseMigrationRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.vmmigration.v1.PauseMigrationRequest 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.vmmigration.v1.PauseMigrationRequest 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.vmmigration.v1.PauseMigrationRequest 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.vmmigration.v1.PauseMigrationRequest prototype) { + public static Builder newBuilder(com.google.cloud.vmmigration.v1.PauseMigrationRequest 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 message for 'PauseMigration' request.
    * 
* * Protobuf type {@code google.cloud.vmmigration.v1.PauseMigrationRequest} */ - 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.vmmigration.v1.PauseMigrationRequest) com.google.cloud.vmmigration.v1.PauseMigrationRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_PauseMigrationRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_PauseMigrationRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_PauseMigrationRequest_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_PauseMigrationRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.PauseMigrationRequest.class, - com.google.cloud.vmmigration.v1.PauseMigrationRequest.Builder.class); + com.google.cloud.vmmigration.v1.PauseMigrationRequest.class, com.google.cloud.vmmigration.v1.PauseMigrationRequest.Builder.class); } // Construct using com.google.cloud.vmmigration.v1.PauseMigrationRequest.newBuilder() @@ -359,15 +322,16 @@ 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) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -377,9 +341,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_PauseMigrationRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_PauseMigrationRequest_descriptor; } @java.lang.Override @@ -398,8 +362,7 @@ public com.google.cloud.vmmigration.v1.PauseMigrationRequest build() { @java.lang.Override public com.google.cloud.vmmigration.v1.PauseMigrationRequest buildPartial() { - com.google.cloud.vmmigration.v1.PauseMigrationRequest result = - new com.google.cloud.vmmigration.v1.PauseMigrationRequest(this); + com.google.cloud.vmmigration.v1.PauseMigrationRequest result = new com.google.cloud.vmmigration.v1.PauseMigrationRequest(this); result.migratingVm_ = migratingVm_; onBuilt(); return result; @@ -409,39 +372,38 @@ public com.google.cloud.vmmigration.v1.PauseMigrationRequest buildPartial() { 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.vmmigration.v1.PauseMigrationRequest) { - return mergeFrom((com.google.cloud.vmmigration.v1.PauseMigrationRequest) other); + return mergeFrom((com.google.cloud.vmmigration.v1.PauseMigrationRequest)other); } else { super.mergeFrom(other); return this; @@ -449,8 +411,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.vmmigration.v1.PauseMigrationRequest other) { - if (other == com.google.cloud.vmmigration.v1.PauseMigrationRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.vmmigration.v1.PauseMigrationRequest.getDefaultInstance()) return this; if (!other.getMigratingVm().isEmpty()) { migratingVm_ = other.migratingVm_; onChanged(); @@ -474,8 +435,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.vmmigration.v1.PauseMigrationRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.vmmigration.v1.PauseMigrationRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -487,22 +447,18 @@ public Builder mergeFrom( private java.lang.Object migratingVm_ = ""; /** - * - * *
      * Required. The name of the MigratingVm.
      * 
* - * - * string migrating_vm = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string migrating_vm = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The migratingVm. */ public java.lang.String getMigratingVm() { java.lang.Object ref = migratingVm_; 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(); migratingVm_ = s; return s; @@ -511,23 +467,20 @@ public java.lang.String getMigratingVm() { } } /** - * - * *
      * Required. The name of the MigratingVm.
      * 
* - * - * string migrating_vm = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string migrating_vm = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for migratingVm. */ - public com.google.protobuf.ByteString getMigratingVmBytes() { + public com.google.protobuf.ByteString + getMigratingVmBytes() { java.lang.Object ref = migratingVm_; 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); migratingVm_ = b; return b; } else { @@ -535,74 +488,61 @@ public com.google.protobuf.ByteString getMigratingVmBytes() { } } /** - * - * *
      * Required. The name of the MigratingVm.
      * 
* - * - * string migrating_vm = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string migrating_vm = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The migratingVm to set. * @return This builder for chaining. */ - public Builder setMigratingVm(java.lang.String value) { + public Builder setMigratingVm( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + migratingVm_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the MigratingVm.
      * 
* - * - * string migrating_vm = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string migrating_vm = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearMigratingVm() { - + migratingVm_ = getDefaultInstance().getMigratingVm(); onChanged(); return this; } /** - * - * *
      * Required. The name of the MigratingVm.
      * 
* - * - * string migrating_vm = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string migrating_vm = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for migratingVm to set. * @return This builder for chaining. */ - public Builder setMigratingVmBytes(com.google.protobuf.ByteString value) { + public Builder setMigratingVmBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + migratingVm_ = 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); } @@ -612,12 +552,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.vmmigration.v1.PauseMigrationRequest) } // @@protoc_insertion_point(class_scope:google.cloud.vmmigration.v1.PauseMigrationRequest) private static final com.google.cloud.vmmigration.v1.PauseMigrationRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.vmmigration.v1.PauseMigrationRequest(); } @@ -626,16 +566,16 @@ public static com.google.cloud.vmmigration.v1.PauseMigrationRequest getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PauseMigrationRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new PauseMigrationRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PauseMigrationRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PauseMigrationRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -650,4 +590,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.vmmigration.v1.PauseMigrationRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/PauseMigrationRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/PauseMigrationRequestOrBuilder.java new file mode 100644 index 0000000..8cfc9f4 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/PauseMigrationRequestOrBuilder.java @@ -0,0 +1,29 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/vmmigration/v1/vmmigration.proto + +package com.google.cloud.vmmigration.v1; + +public interface PauseMigrationRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.PauseMigrationRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The name of the MigratingVm.
+   * 
+ * + * string migrating_vm = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The migratingVm. + */ + java.lang.String getMigratingVm(); + /** + *
+   * Required. The name of the MigratingVm.
+   * 
+ * + * string migrating_vm = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for migratingVm. + */ + com.google.protobuf.ByteString + getMigratingVmBytes(); +} diff --git a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/PauseMigrationResponse.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/PauseMigrationResponse.java similarity index 65% rename from proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/PauseMigrationResponse.java rename to owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/PauseMigrationResponse.java index 9161e52..74ca5b8 100644 --- a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/PauseMigrationResponse.java +++ b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/PauseMigrationResponse.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; /** - * - * *
  * Response message for 'PauseMigration' request.
  * 
* * Protobuf type {@code google.cloud.vmmigration.v1.PauseMigrationResponse} */ -public final class PauseMigrationResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class PauseMigrationResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.vmmigration.v1.PauseMigrationResponse) PauseMigrationResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use PauseMigrationResponse.newBuilder() to construct. private PauseMigrationResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private PauseMigrationResponse() {} + private PauseMigrationResponse() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new PauseMigrationResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private PauseMigrationResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,13 +52,13 @@ private PauseMigrationResponse( case 0: done = true; break; - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -82,30 +66,27 @@ private PauseMigrationResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_PauseMigrationResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_PauseMigrationResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_PauseMigrationResponse_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_PauseMigrationResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.PauseMigrationResponse.class, - com.google.cloud.vmmigration.v1.PauseMigrationResponse.Builder.class); + com.google.cloud.vmmigration.v1.PauseMigrationResponse.class, com.google.cloud.vmmigration.v1.PauseMigrationResponse.Builder.class); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -117,7 +98,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 { unknownFields.writeTo(output); } @@ -135,13 +117,12 @@ 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.vmmigration.v1.PauseMigrationResponse)) { return super.equals(obj); } - com.google.cloud.vmmigration.v1.PauseMigrationResponse other = - (com.google.cloud.vmmigration.v1.PauseMigrationResponse) obj; + com.google.cloud.vmmigration.v1.PauseMigrationResponse other = (com.google.cloud.vmmigration.v1.PauseMigrationResponse) obj; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -160,127 +141,117 @@ public int hashCode() { } public static com.google.cloud.vmmigration.v1.PauseMigrationResponse 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.vmmigration.v1.PauseMigrationResponse 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.vmmigration.v1.PauseMigrationResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.vmmigration.v1.PauseMigrationResponse 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.vmmigration.v1.PauseMigrationResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.vmmigration.v1.PauseMigrationResponse 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.vmmigration.v1.PauseMigrationResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.vmmigration.v1.PauseMigrationResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.vmmigration.v1.PauseMigrationResponse 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.vmmigration.v1.PauseMigrationResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.vmmigration.v1.PauseMigrationResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.vmmigration.v1.PauseMigrationResponse 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.vmmigration.v1.PauseMigrationResponse 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.vmmigration.v1.PauseMigrationResponse 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.vmmigration.v1.PauseMigrationResponse prototype) { + public static Builder newBuilder(com.google.cloud.vmmigration.v1.PauseMigrationResponse 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; } /** - * - * *
    * Response message for 'PauseMigration' request.
    * 
* * Protobuf type {@code google.cloud.vmmigration.v1.PauseMigrationResponse} */ - 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.vmmigration.v1.PauseMigrationResponse) com.google.cloud.vmmigration.v1.PauseMigrationResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_PauseMigrationResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_PauseMigrationResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_PauseMigrationResponse_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_PauseMigrationResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.PauseMigrationResponse.class, - com.google.cloud.vmmigration.v1.PauseMigrationResponse.Builder.class); + com.google.cloud.vmmigration.v1.PauseMigrationResponse.class, com.google.cloud.vmmigration.v1.PauseMigrationResponse.Builder.class); } // Construct using com.google.cloud.vmmigration.v1.PauseMigrationResponse.newBuilder() @@ -288,15 +259,16 @@ 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) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -304,9 +276,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_PauseMigrationResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_PauseMigrationResponse_descriptor; } @java.lang.Override @@ -325,8 +297,7 @@ public com.google.cloud.vmmigration.v1.PauseMigrationResponse build() { @java.lang.Override public com.google.cloud.vmmigration.v1.PauseMigrationResponse buildPartial() { - com.google.cloud.vmmigration.v1.PauseMigrationResponse result = - new com.google.cloud.vmmigration.v1.PauseMigrationResponse(this); + com.google.cloud.vmmigration.v1.PauseMigrationResponse result = new com.google.cloud.vmmigration.v1.PauseMigrationResponse(this); onBuilt(); return result; } @@ -335,39 +306,38 @@ public com.google.cloud.vmmigration.v1.PauseMigrationResponse buildPartial() { 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.vmmigration.v1.PauseMigrationResponse) { - return mergeFrom((com.google.cloud.vmmigration.v1.PauseMigrationResponse) other); + return mergeFrom((com.google.cloud.vmmigration.v1.PauseMigrationResponse)other); } else { super.mergeFrom(other); return this; @@ -375,8 +345,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.vmmigration.v1.PauseMigrationResponse other) { - if (other == com.google.cloud.vmmigration.v1.PauseMigrationResponse.getDefaultInstance()) - return this; + if (other == com.google.cloud.vmmigration.v1.PauseMigrationResponse.getDefaultInstance()) return this; this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -396,8 +365,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.vmmigration.v1.PauseMigrationResponse) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.vmmigration.v1.PauseMigrationResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -406,9 +374,9 @@ public Builder mergeFrom( } 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); } @@ -418,12 +386,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.vmmigration.v1.PauseMigrationResponse) } // @@protoc_insertion_point(class_scope:google.cloud.vmmigration.v1.PauseMigrationResponse) private static final com.google.cloud.vmmigration.v1.PauseMigrationResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.vmmigration.v1.PauseMigrationResponse(); } @@ -432,16 +400,16 @@ public static com.google.cloud.vmmigration.v1.PauseMigrationResponse getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PauseMigrationResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new PauseMigrationResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PauseMigrationResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PauseMigrationResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -456,4 +424,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.vmmigration.v1.PauseMigrationResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/PauseMigrationResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/PauseMigrationResponseOrBuilder.java new file mode 100644 index 0000000..b38f46e --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/PauseMigrationResponseOrBuilder.java @@ -0,0 +1,9 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/vmmigration/v1/vmmigration.proto + +package com.google.cloud.vmmigration.v1; + +public interface PauseMigrationResponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.PauseMigrationResponse) + com.google.protobuf.MessageOrBuilder { +} diff --git a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/RemoveGroupMigrationRequest.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/RemoveGroupMigrationRequest.java similarity index 66% rename from proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/RemoveGroupMigrationRequest.java rename to owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/RemoveGroupMigrationRequest.java index d483f5b..9151748 100644 --- a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/RemoveGroupMigrationRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/RemoveGroupMigrationRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; /** - * - * *
  * Request message for 'RemoveMigration' request.
  * 
* * Protobuf type {@code google.cloud.vmmigration.v1.RemoveGroupMigrationRequest} */ -public final class RemoveGroupMigrationRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class RemoveGroupMigrationRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.vmmigration.v1.RemoveGroupMigrationRequest) RemoveGroupMigrationRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use RemoveGroupMigrationRequest.newBuilder() to construct. private RemoveGroupMigrationRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private RemoveGroupMigrationRequest() { group_ = ""; migratingVm_ = ""; @@ -44,15 +26,16 @@ private RemoveGroupMigrationRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new RemoveGroupMigrationRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private RemoveGroupMigrationRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,27 +54,25 @@ private RemoveGroupMigrationRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - group_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + group_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - migratingVm_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + migratingVm_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -99,41 +80,34 @@ private RemoveGroupMigrationRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_RemoveGroupMigrationRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_RemoveGroupMigrationRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_RemoveGroupMigrationRequest_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_RemoveGroupMigrationRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.RemoveGroupMigrationRequest.class, - com.google.cloud.vmmigration.v1.RemoveGroupMigrationRequest.Builder.class); + com.google.cloud.vmmigration.v1.RemoveGroupMigrationRequest.class, com.google.cloud.vmmigration.v1.RemoveGroupMigrationRequest.Builder.class); } public static final int GROUP_FIELD_NUMBER = 1; private volatile java.lang.Object group_; /** - * - * *
    * Required. The name of the Group.
    * 
* - * - * string group = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string group = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The group. */ @java.lang.Override @@ -142,31 +116,29 @@ public java.lang.String getGroup() { 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(); group_ = s; return s; } } /** - * - * *
    * Required. The name of the Group.
    * 
* - * - * string group = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string group = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for group. */ @java.lang.Override - public com.google.protobuf.ByteString getGroupBytes() { + public com.google.protobuf.ByteString + getGroupBytes() { java.lang.Object ref = group_; 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); group_ = b; return b; } else { @@ -177,14 +149,11 @@ public com.google.protobuf.ByteString getGroupBytes() { public static final int MIGRATING_VM_FIELD_NUMBER = 2; private volatile java.lang.Object migratingVm_; /** - * - * *
    * The MigratingVm to remove.
    * 
* * string migrating_vm = 2 [(.google.api.resource_reference) = { ... } - * * @return The migratingVm. */ @java.lang.Override @@ -193,29 +162,29 @@ public java.lang.String getMigratingVm() { 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(); migratingVm_ = s; return s; } } /** - * - * *
    * The MigratingVm to remove.
    * 
* * string migrating_vm = 2 [(.google.api.resource_reference) = { ... } - * * @return The bytes for migratingVm. */ @java.lang.Override - public com.google.protobuf.ByteString getMigratingVmBytes() { + public com.google.protobuf.ByteString + getMigratingVmBytes() { java.lang.Object ref = migratingVm_; 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); migratingVm_ = b; return b; } else { @@ -224,7 +193,6 @@ public com.google.protobuf.ByteString getMigratingVmBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -236,7 +204,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(group_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, group_); } @@ -266,16 +235,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.vmmigration.v1.RemoveGroupMigrationRequest)) { return super.equals(obj); } - com.google.cloud.vmmigration.v1.RemoveGroupMigrationRequest other = - (com.google.cloud.vmmigration.v1.RemoveGroupMigrationRequest) obj; + com.google.cloud.vmmigration.v1.RemoveGroupMigrationRequest other = (com.google.cloud.vmmigration.v1.RemoveGroupMigrationRequest) obj; - if (!getGroup().equals(other.getGroup())) return false; - if (!getMigratingVm().equals(other.getMigratingVm())) return false; + if (!getGroup() + .equals(other.getGroup())) return false; + if (!getMigratingVm() + .equals(other.getMigratingVm())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -297,127 +267,117 @@ public int hashCode() { } public static com.google.cloud.vmmigration.v1.RemoveGroupMigrationRequest 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.vmmigration.v1.RemoveGroupMigrationRequest 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.vmmigration.v1.RemoveGroupMigrationRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.vmmigration.v1.RemoveGroupMigrationRequest 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.vmmigration.v1.RemoveGroupMigrationRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.vmmigration.v1.RemoveGroupMigrationRequest 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.vmmigration.v1.RemoveGroupMigrationRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.vmmigration.v1.RemoveGroupMigrationRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.vmmigration.v1.RemoveGroupMigrationRequest 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.vmmigration.v1.RemoveGroupMigrationRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.vmmigration.v1.RemoveGroupMigrationRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.vmmigration.v1.RemoveGroupMigrationRequest 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.vmmigration.v1.RemoveGroupMigrationRequest 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.vmmigration.v1.RemoveGroupMigrationRequest 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.vmmigration.v1.RemoveGroupMigrationRequest prototype) { + public static Builder newBuilder(com.google.cloud.vmmigration.v1.RemoveGroupMigrationRequest 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 message for 'RemoveMigration' request.
    * 
* * Protobuf type {@code google.cloud.vmmigration.v1.RemoveGroupMigrationRequest} */ - 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.vmmigration.v1.RemoveGroupMigrationRequest) com.google.cloud.vmmigration.v1.RemoveGroupMigrationRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_RemoveGroupMigrationRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_RemoveGroupMigrationRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_RemoveGroupMigrationRequest_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_RemoveGroupMigrationRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.RemoveGroupMigrationRequest.class, - com.google.cloud.vmmigration.v1.RemoveGroupMigrationRequest.Builder.class); + com.google.cloud.vmmigration.v1.RemoveGroupMigrationRequest.class, com.google.cloud.vmmigration.v1.RemoveGroupMigrationRequest.Builder.class); } // Construct using com.google.cloud.vmmigration.v1.RemoveGroupMigrationRequest.newBuilder() @@ -425,15 +385,16 @@ 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) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -445,9 +406,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_RemoveGroupMigrationRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_RemoveGroupMigrationRequest_descriptor; } @java.lang.Override @@ -466,8 +427,7 @@ public com.google.cloud.vmmigration.v1.RemoveGroupMigrationRequest build() { @java.lang.Override public com.google.cloud.vmmigration.v1.RemoveGroupMigrationRequest buildPartial() { - com.google.cloud.vmmigration.v1.RemoveGroupMigrationRequest result = - new com.google.cloud.vmmigration.v1.RemoveGroupMigrationRequest(this); + com.google.cloud.vmmigration.v1.RemoveGroupMigrationRequest result = new com.google.cloud.vmmigration.v1.RemoveGroupMigrationRequest(this); result.group_ = group_; result.migratingVm_ = migratingVm_; onBuilt(); @@ -478,39 +438,38 @@ public com.google.cloud.vmmigration.v1.RemoveGroupMigrationRequest buildPartial( 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.vmmigration.v1.RemoveGroupMigrationRequest) { - return mergeFrom((com.google.cloud.vmmigration.v1.RemoveGroupMigrationRequest) other); + return mergeFrom((com.google.cloud.vmmigration.v1.RemoveGroupMigrationRequest)other); } else { super.mergeFrom(other); return this; @@ -518,8 +477,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.vmmigration.v1.RemoveGroupMigrationRequest other) { - if (other == com.google.cloud.vmmigration.v1.RemoveGroupMigrationRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.vmmigration.v1.RemoveGroupMigrationRequest.getDefaultInstance()) return this; if (!other.getGroup().isEmpty()) { group_ = other.group_; onChanged(); @@ -547,8 +505,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.vmmigration.v1.RemoveGroupMigrationRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.vmmigration.v1.RemoveGroupMigrationRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -560,22 +517,18 @@ public Builder mergeFrom( private java.lang.Object group_ = ""; /** - * - * *
      * Required. The name of the Group.
      * 
* - * - * string group = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string group = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The group. */ public java.lang.String getGroup() { java.lang.Object ref = group_; 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(); group_ = s; return s; @@ -584,23 +537,20 @@ public java.lang.String getGroup() { } } /** - * - * *
      * Required. The name of the Group.
      * 
* - * - * string group = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string group = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for group. */ - public com.google.protobuf.ByteString getGroupBytes() { + public com.google.protobuf.ByteString + getGroupBytes() { java.lang.Object ref = group_; 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); group_ = b; return b; } else { @@ -608,67 +558,54 @@ public com.google.protobuf.ByteString getGroupBytes() { } } /** - * - * *
      * Required. The name of the Group.
      * 
* - * - * string group = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string group = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The group to set. * @return This builder for chaining. */ - public Builder setGroup(java.lang.String value) { + public Builder setGroup( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + group_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the Group.
      * 
* - * - * string group = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string group = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearGroup() { - + group_ = getDefaultInstance().getGroup(); onChanged(); return this; } /** - * - * *
      * Required. The name of the Group.
      * 
* - * - * string group = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string group = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for group to set. * @return This builder for chaining. */ - public Builder setGroupBytes(com.google.protobuf.ByteString value) { + public Builder setGroupBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + group_ = value; onChanged(); return this; @@ -676,20 +613,18 @@ public Builder setGroupBytes(com.google.protobuf.ByteString value) { private java.lang.Object migratingVm_ = ""; /** - * - * *
      * The MigratingVm to remove.
      * 
* * string migrating_vm = 2 [(.google.api.resource_reference) = { ... } - * * @return The migratingVm. */ public java.lang.String getMigratingVm() { java.lang.Object ref = migratingVm_; 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(); migratingVm_ = s; return s; @@ -698,21 +633,20 @@ public java.lang.String getMigratingVm() { } } /** - * - * *
      * The MigratingVm to remove.
      * 
* * string migrating_vm = 2 [(.google.api.resource_reference) = { ... } - * * @return The bytes for migratingVm. */ - public com.google.protobuf.ByteString getMigratingVmBytes() { + public com.google.protobuf.ByteString + getMigratingVmBytes() { java.lang.Object ref = migratingVm_; 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); migratingVm_ = b; return b; } else { @@ -720,68 +654,61 @@ public com.google.protobuf.ByteString getMigratingVmBytes() { } } /** - * - * *
      * The MigratingVm to remove.
      * 
* * string migrating_vm = 2 [(.google.api.resource_reference) = { ... } - * * @param value The migratingVm to set. * @return This builder for chaining. */ - public Builder setMigratingVm(java.lang.String value) { + public Builder setMigratingVm( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + migratingVm_ = value; onChanged(); return this; } /** - * - * *
      * The MigratingVm to remove.
      * 
* * string migrating_vm = 2 [(.google.api.resource_reference) = { ... } - * * @return This builder for chaining. */ public Builder clearMigratingVm() { - + migratingVm_ = getDefaultInstance().getMigratingVm(); onChanged(); return this; } /** - * - * *
      * The MigratingVm to remove.
      * 
* * string migrating_vm = 2 [(.google.api.resource_reference) = { ... } - * * @param value The bytes for migratingVm to set. * @return This builder for chaining. */ - public Builder setMigratingVmBytes(com.google.protobuf.ByteString value) { + public Builder setMigratingVmBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + migratingVm_ = 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); } @@ -791,12 +718,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.vmmigration.v1.RemoveGroupMigrationRequest) } // @@protoc_insertion_point(class_scope:google.cloud.vmmigration.v1.RemoveGroupMigrationRequest) private static final com.google.cloud.vmmigration.v1.RemoveGroupMigrationRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.vmmigration.v1.RemoveGroupMigrationRequest(); } @@ -805,16 +732,16 @@ public static com.google.cloud.vmmigration.v1.RemoveGroupMigrationRequest getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RemoveGroupMigrationRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RemoveGroupMigrationRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RemoveGroupMigrationRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RemoveGroupMigrationRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -829,4 +756,6 @@ public com.google.protobuf.Parser getParserForType( public com.google.cloud.vmmigration.v1.RemoveGroupMigrationRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/RemoveGroupMigrationRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/RemoveGroupMigrationRequestOrBuilder.java new file mode 100644 index 0000000..07cb716 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/RemoveGroupMigrationRequestOrBuilder.java @@ -0,0 +1,49 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/vmmigration/v1/vmmigration.proto + +package com.google.cloud.vmmigration.v1; + +public interface RemoveGroupMigrationRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.RemoveGroupMigrationRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The name of the Group.
+   * 
+ * + * string group = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The group. + */ + java.lang.String getGroup(); + /** + *
+   * Required. The name of the Group.
+   * 
+ * + * string group = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for group. + */ + com.google.protobuf.ByteString + getGroupBytes(); + + /** + *
+   * The MigratingVm to remove.
+   * 
+ * + * string migrating_vm = 2 [(.google.api.resource_reference) = { ... } + * @return The migratingVm. + */ + java.lang.String getMigratingVm(); + /** + *
+   * The MigratingVm to remove.
+   * 
+ * + * string migrating_vm = 2 [(.google.api.resource_reference) = { ... } + * @return The bytes for migratingVm. + */ + com.google.protobuf.ByteString + getMigratingVmBytes(); +} diff --git a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/RemoveGroupMigrationResponse.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/RemoveGroupMigrationResponse.java similarity index 64% rename from proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/RemoveGroupMigrationResponse.java rename to owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/RemoveGroupMigrationResponse.java index ca9e8b0..b050374 100644 --- a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/RemoveGroupMigrationResponse.java +++ b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/RemoveGroupMigrationResponse.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; /** - * - * *
  * Response message for 'RemoveMigration' request.
  * 
* * Protobuf type {@code google.cloud.vmmigration.v1.RemoveGroupMigrationResponse} */ -public final class RemoveGroupMigrationResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class RemoveGroupMigrationResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.vmmigration.v1.RemoveGroupMigrationResponse) RemoveGroupMigrationResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use RemoveGroupMigrationResponse.newBuilder() to construct. private RemoveGroupMigrationResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private RemoveGroupMigrationResponse() {} + private RemoveGroupMigrationResponse() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new RemoveGroupMigrationResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private RemoveGroupMigrationResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,13 +52,13 @@ private RemoveGroupMigrationResponse( case 0: done = true; break; - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -82,30 +66,27 @@ private RemoveGroupMigrationResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_RemoveGroupMigrationResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_RemoveGroupMigrationResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_RemoveGroupMigrationResponse_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_RemoveGroupMigrationResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.RemoveGroupMigrationResponse.class, - com.google.cloud.vmmigration.v1.RemoveGroupMigrationResponse.Builder.class); + com.google.cloud.vmmigration.v1.RemoveGroupMigrationResponse.class, com.google.cloud.vmmigration.v1.RemoveGroupMigrationResponse.Builder.class); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -117,7 +98,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 { unknownFields.writeTo(output); } @@ -135,13 +117,12 @@ 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.vmmigration.v1.RemoveGroupMigrationResponse)) { return super.equals(obj); } - com.google.cloud.vmmigration.v1.RemoveGroupMigrationResponse other = - (com.google.cloud.vmmigration.v1.RemoveGroupMigrationResponse) obj; + com.google.cloud.vmmigration.v1.RemoveGroupMigrationResponse other = (com.google.cloud.vmmigration.v1.RemoveGroupMigrationResponse) obj; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -160,127 +141,117 @@ public int hashCode() { } public static com.google.cloud.vmmigration.v1.RemoveGroupMigrationResponse 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.vmmigration.v1.RemoveGroupMigrationResponse 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.vmmigration.v1.RemoveGroupMigrationResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.vmmigration.v1.RemoveGroupMigrationResponse 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.vmmigration.v1.RemoveGroupMigrationResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.vmmigration.v1.RemoveGroupMigrationResponse 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.vmmigration.v1.RemoveGroupMigrationResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.vmmigration.v1.RemoveGroupMigrationResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.vmmigration.v1.RemoveGroupMigrationResponse 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.vmmigration.v1.RemoveGroupMigrationResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.vmmigration.v1.RemoveGroupMigrationResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.vmmigration.v1.RemoveGroupMigrationResponse 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.vmmigration.v1.RemoveGroupMigrationResponse 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.vmmigration.v1.RemoveGroupMigrationResponse 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.vmmigration.v1.RemoveGroupMigrationResponse prototype) { + public static Builder newBuilder(com.google.cloud.vmmigration.v1.RemoveGroupMigrationResponse 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; } /** - * - * *
    * Response message for 'RemoveMigration' request.
    * 
* * Protobuf type {@code google.cloud.vmmigration.v1.RemoveGroupMigrationResponse} */ - 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.vmmigration.v1.RemoveGroupMigrationResponse) com.google.cloud.vmmigration.v1.RemoveGroupMigrationResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_RemoveGroupMigrationResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_RemoveGroupMigrationResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_RemoveGroupMigrationResponse_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_RemoveGroupMigrationResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.RemoveGroupMigrationResponse.class, - com.google.cloud.vmmigration.v1.RemoveGroupMigrationResponse.Builder.class); + com.google.cloud.vmmigration.v1.RemoveGroupMigrationResponse.class, com.google.cloud.vmmigration.v1.RemoveGroupMigrationResponse.Builder.class); } // Construct using com.google.cloud.vmmigration.v1.RemoveGroupMigrationResponse.newBuilder() @@ -288,15 +259,16 @@ 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) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -304,14 +276,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_RemoveGroupMigrationResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_RemoveGroupMigrationResponse_descriptor; } @java.lang.Override - public com.google.cloud.vmmigration.v1.RemoveGroupMigrationResponse - getDefaultInstanceForType() { + public com.google.cloud.vmmigration.v1.RemoveGroupMigrationResponse getDefaultInstanceForType() { return com.google.cloud.vmmigration.v1.RemoveGroupMigrationResponse.getDefaultInstance(); } @@ -326,8 +297,7 @@ public com.google.cloud.vmmigration.v1.RemoveGroupMigrationResponse build() { @java.lang.Override public com.google.cloud.vmmigration.v1.RemoveGroupMigrationResponse buildPartial() { - com.google.cloud.vmmigration.v1.RemoveGroupMigrationResponse result = - new com.google.cloud.vmmigration.v1.RemoveGroupMigrationResponse(this); + com.google.cloud.vmmigration.v1.RemoveGroupMigrationResponse result = new com.google.cloud.vmmigration.v1.RemoveGroupMigrationResponse(this); onBuilt(); return result; } @@ -336,39 +306,38 @@ public com.google.cloud.vmmigration.v1.RemoveGroupMigrationResponse buildPartial 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.vmmigration.v1.RemoveGroupMigrationResponse) { - return mergeFrom((com.google.cloud.vmmigration.v1.RemoveGroupMigrationResponse) other); + return mergeFrom((com.google.cloud.vmmigration.v1.RemoveGroupMigrationResponse)other); } else { super.mergeFrom(other); return this; @@ -376,9 +345,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.vmmigration.v1.RemoveGroupMigrationResponse other) { - if (other - == com.google.cloud.vmmigration.v1.RemoveGroupMigrationResponse.getDefaultInstance()) - return this; + if (other == com.google.cloud.vmmigration.v1.RemoveGroupMigrationResponse.getDefaultInstance()) return this; this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -398,8 +365,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.vmmigration.v1.RemoveGroupMigrationResponse) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.vmmigration.v1.RemoveGroupMigrationResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -408,9 +374,9 @@ public Builder mergeFrom( } 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); } @@ -420,13 +386,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.vmmigration.v1.RemoveGroupMigrationResponse) } // @@protoc_insertion_point(class_scope:google.cloud.vmmigration.v1.RemoveGroupMigrationResponse) - private static final com.google.cloud.vmmigration.v1.RemoveGroupMigrationResponse - DEFAULT_INSTANCE; - + private static final com.google.cloud.vmmigration.v1.RemoveGroupMigrationResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.vmmigration.v1.RemoveGroupMigrationResponse(); } @@ -435,16 +400,16 @@ public static com.google.cloud.vmmigration.v1.RemoveGroupMigrationResponse getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RemoveGroupMigrationResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RemoveGroupMigrationResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RemoveGroupMigrationResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RemoveGroupMigrationResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -459,4 +424,6 @@ public com.google.protobuf.Parser getParserForType public com.google.cloud.vmmigration.v1.RemoveGroupMigrationResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/RemoveGroupMigrationResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/RemoveGroupMigrationResponseOrBuilder.java new file mode 100644 index 0000000..8d37b14 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/RemoveGroupMigrationResponseOrBuilder.java @@ -0,0 +1,9 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/vmmigration/v1/vmmigration.proto + +package com.google.cloud.vmmigration.v1; + +public interface RemoveGroupMigrationResponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.RemoveGroupMigrationResponse) + com.google.protobuf.MessageOrBuilder { +} diff --git a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ReplicationCycle.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ReplicationCycle.java similarity index 70% rename from proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ReplicationCycle.java rename to owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ReplicationCycle.java index d7d7f70..92ee05d 100644 --- a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ReplicationCycle.java +++ b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ReplicationCycle.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; /** - * - * *
  * ReplicationCycle contains information about the current replication cycle
  * status.
@@ -28,29 +11,30 @@
  *
  * Protobuf type {@code google.cloud.vmmigration.v1.ReplicationCycle}
  */
-public final class ReplicationCycle extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ReplicationCycle extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.vmmigration.v1.ReplicationCycle)
     ReplicationCycleOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ReplicationCycle.newBuilder() to construct.
   private ReplicationCycle(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private ReplicationCycle() {}
+  private ReplicationCycle() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ReplicationCycle();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private ReplicationCycle(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -69,33 +53,31 @@ private ReplicationCycle(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              com.google.protobuf.Timestamp.Builder subBuilder = null;
-              if (startTime_ != null) {
-                subBuilder = startTime_.toBuilder();
-              }
-              startTime_ =
-                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(startTime_);
-                startTime_ = subBuilder.buildPartial();
-              }
-
-              break;
+          case 10: {
+            com.google.protobuf.Timestamp.Builder subBuilder = null;
+            if (startTime_ != null) {
+              subBuilder = startTime_.toBuilder();
             }
-          case 40:
-            {
-              progressPercent_ = input.readInt32();
-              break;
+            startTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(startTime_);
+              startTime_ = subBuilder.buildPartial();
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+
+            break;
+          }
+          case 40: {
+
+            progressPercent_ = input.readInt32();
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -103,39 +85,34 @@ private ReplicationCycle(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.vmmigration.v1.VmMigrationProto
-        .internal_static_google_cloud_vmmigration_v1_ReplicationCycle_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ReplicationCycle_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.vmmigration.v1.VmMigrationProto
-        .internal_static_google_cloud_vmmigration_v1_ReplicationCycle_fieldAccessorTable
+    return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ReplicationCycle_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.vmmigration.v1.ReplicationCycle.class,
-            com.google.cloud.vmmigration.v1.ReplicationCycle.Builder.class);
+            com.google.cloud.vmmigration.v1.ReplicationCycle.class, com.google.cloud.vmmigration.v1.ReplicationCycle.Builder.class);
   }
 
   public static final int START_TIME_FIELD_NUMBER = 1;
   private com.google.protobuf.Timestamp startTime_;
   /**
-   *
-   *
    * 
    * The time the replication cycle has started.
    * 
* * .google.protobuf.Timestamp start_time = 1; - * * @return Whether the startTime field is set. */ @java.lang.Override @@ -143,14 +120,11 @@ public boolean hasStartTime() { return startTime_ != null; } /** - * - * *
    * The time the replication cycle has started.
    * 
* * .google.protobuf.Timestamp start_time = 1; - * * @return The startTime. */ @java.lang.Override @@ -158,8 +132,6 @@ public com.google.protobuf.Timestamp getStartTime() { return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } /** - * - * *
    * The time the replication cycle has started.
    * 
@@ -174,14 +146,11 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { public static final int PROGRESS_PERCENT_FIELD_NUMBER = 5; private int progressPercent_; /** - * - * *
    * The current progress in percentage of this cycle.
    * 
* * int32 progress_percent = 5; - * * @return The progressPercent. */ @java.lang.Override @@ -190,7 +159,6 @@ public int getProgressPercent() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -202,7 +170,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 (startTime_ != null) { output.writeMessage(1, getStartTime()); } @@ -219,10 +188,12 @@ public int getSerializedSize() { size = 0; if (startTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getStartTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getStartTime()); } if (progressPercent_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(5, progressPercent_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(5, progressPercent_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -232,19 +203,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.vmmigration.v1.ReplicationCycle)) { return super.equals(obj); } - com.google.cloud.vmmigration.v1.ReplicationCycle other = - (com.google.cloud.vmmigration.v1.ReplicationCycle) obj; + com.google.cloud.vmmigration.v1.ReplicationCycle other = (com.google.cloud.vmmigration.v1.ReplicationCycle) obj; if (hasStartTime() != other.hasStartTime()) return false; if (hasStartTime()) { - if (!getStartTime().equals(other.getStartTime())) return false; + if (!getStartTime() + .equals(other.getStartTime())) return false; } - if (getProgressPercent() != other.getProgressPercent()) return false; + if (getProgressPercent() + != other.getProgressPercent()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -267,104 +239,97 @@ public int hashCode() { return hash; } - public static com.google.cloud.vmmigration.v1.ReplicationCycle parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.vmmigration.v1.ReplicationCycle parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.vmmigration.v1.ReplicationCycle 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.vmmigration.v1.ReplicationCycle parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.vmmigration.v1.ReplicationCycle 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.vmmigration.v1.ReplicationCycle parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.vmmigration.v1.ReplicationCycle 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.vmmigration.v1.ReplicationCycle parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.vmmigration.v1.ReplicationCycle parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.vmmigration.v1.ReplicationCycle 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.vmmigration.v1.ReplicationCycle parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.vmmigration.v1.ReplicationCycle parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.vmmigration.v1.ReplicationCycle 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.vmmigration.v1.ReplicationCycle 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.vmmigration.v1.ReplicationCycle 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.vmmigration.v1.ReplicationCycle 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; } /** - * - * *
    * ReplicationCycle contains information about the current replication cycle
    * status.
@@ -372,23 +337,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.vmmigration.v1.ReplicationCycle}
    */
-  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.vmmigration.v1.ReplicationCycle)
       com.google.cloud.vmmigration.v1.ReplicationCycleOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.vmmigration.v1.VmMigrationProto
-          .internal_static_google_cloud_vmmigration_v1_ReplicationCycle_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ReplicationCycle_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.vmmigration.v1.VmMigrationProto
-          .internal_static_google_cloud_vmmigration_v1_ReplicationCycle_fieldAccessorTable
+      return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ReplicationCycle_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.vmmigration.v1.ReplicationCycle.class,
-              com.google.cloud.vmmigration.v1.ReplicationCycle.Builder.class);
+              com.google.cloud.vmmigration.v1.ReplicationCycle.class, com.google.cloud.vmmigration.v1.ReplicationCycle.Builder.class);
     }
 
     // Construct using com.google.cloud.vmmigration.v1.ReplicationCycle.newBuilder()
@@ -396,15 +359,16 @@ 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) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -420,9 +384,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.vmmigration.v1.VmMigrationProto
-          .internal_static_google_cloud_vmmigration_v1_ReplicationCycle_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ReplicationCycle_descriptor;
     }
 
     @java.lang.Override
@@ -441,8 +405,7 @@ public com.google.cloud.vmmigration.v1.ReplicationCycle build() {
 
     @java.lang.Override
     public com.google.cloud.vmmigration.v1.ReplicationCycle buildPartial() {
-      com.google.cloud.vmmigration.v1.ReplicationCycle result =
-          new com.google.cloud.vmmigration.v1.ReplicationCycle(this);
+      com.google.cloud.vmmigration.v1.ReplicationCycle result = new com.google.cloud.vmmigration.v1.ReplicationCycle(this);
       if (startTimeBuilder_ == null) {
         result.startTime_ = startTime_;
       } else {
@@ -457,39 +420,38 @@ public com.google.cloud.vmmigration.v1.ReplicationCycle buildPartial() {
     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.vmmigration.v1.ReplicationCycle) {
-        return mergeFrom((com.google.cloud.vmmigration.v1.ReplicationCycle) other);
+        return mergeFrom((com.google.cloud.vmmigration.v1.ReplicationCycle)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -497,8 +459,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.vmmigration.v1.ReplicationCycle other) {
-      if (other == com.google.cloud.vmmigration.v1.ReplicationCycle.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.vmmigration.v1.ReplicationCycle.getDefaultInstance()) return this;
       if (other.hasStartTime()) {
         mergeStartTime(other.getStartTime());
       }
@@ -536,33 +497,24 @@ public Builder mergeFrom(
 
     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_;
     /**
-     *
-     *
      * 
      * The time the replication cycle has started.
      * 
* * .google.protobuf.Timestamp start_time = 1; - * * @return Whether the startTime field is set. */ public boolean hasStartTime() { return startTimeBuilder_ != null || startTime_ != null; } /** - * - * *
      * The time the replication cycle has started.
      * 
* * .google.protobuf.Timestamp start_time = 1; - * * @return The startTime. */ public com.google.protobuf.Timestamp getStartTime() { @@ -573,8 +525,6 @@ public com.google.protobuf.Timestamp getStartTime() { } } /** - * - * *
      * The time the replication cycle has started.
      * 
@@ -595,15 +545,14 @@ public Builder setStartTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time the replication cycle has started.
      * 
* * .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(); onChanged(); @@ -614,8 +563,6 @@ public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValu return this; } /** - * - * *
      * The time the replication cycle has started.
      * 
@@ -626,7 +573,7 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { if (startTimeBuilder_ == null) { if (startTime_ != null) { startTime_ = - com.google.protobuf.Timestamp.newBuilder(startTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(startTime_).mergeFrom(value).buildPartial(); } else { startTime_ = value; } @@ -638,8 +585,6 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time the replication cycle has started.
      * 
@@ -658,8 +603,6 @@ public Builder clearStartTime() { return this; } /** - * - * *
      * The time the replication cycle has started.
      * 
@@ -667,13 +610,11 @@ public Builder clearStartTime() { * .google.protobuf.Timestamp start_time = 1; */ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { - + onChanged(); return getStartTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The time the replication cycle has started.
      * 
@@ -684,12 +625,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_; } } /** - * - * *
      * The time the replication cycle has started.
      * 
@@ -697,32 +637,26 @@ 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_; } - private int progressPercent_; + private int progressPercent_ ; /** - * - * *
      * The current progress in percentage of this cycle.
      * 
* * int32 progress_percent = 5; - * * @return The progressPercent. */ @java.lang.Override @@ -730,43 +664,37 @@ public int getProgressPercent() { return progressPercent_; } /** - * - * *
      * The current progress in percentage of this cycle.
      * 
* * int32 progress_percent = 5; - * * @param value The progressPercent to set. * @return This builder for chaining. */ public Builder setProgressPercent(int value) { - + progressPercent_ = value; onChanged(); return this; } /** - * - * *
      * The current progress in percentage of this cycle.
      * 
* * int32 progress_percent = 5; - * * @return This builder for chaining. */ public Builder clearProgressPercent() { - + progressPercent_ = 0; 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); } @@ -776,12 +704,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.vmmigration.v1.ReplicationCycle) } // @@protoc_insertion_point(class_scope:google.cloud.vmmigration.v1.ReplicationCycle) private static final com.google.cloud.vmmigration.v1.ReplicationCycle DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.vmmigration.v1.ReplicationCycle(); } @@ -790,16 +718,16 @@ public static com.google.cloud.vmmigration.v1.ReplicationCycle getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ReplicationCycle parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ReplicationCycle(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ReplicationCycle parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ReplicationCycle(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -814,4 +742,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.vmmigration.v1.ReplicationCycle getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ReplicationCycleOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ReplicationCycleOrBuilder.java similarity index 62% rename from proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ReplicationCycleOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ReplicationCycleOrBuilder.java index 32054a2..637b89e 100644 --- a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ReplicationCycleOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ReplicationCycleOrBuilder.java @@ -1,55 +1,31 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; -public interface ReplicationCycleOrBuilder - extends +public interface ReplicationCycleOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.ReplicationCycle) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The time the replication cycle has started.
    * 
* * .google.protobuf.Timestamp start_time = 1; - * * @return Whether the startTime field is set. */ boolean hasStartTime(); /** - * - * *
    * The time the replication cycle has started.
    * 
* * .google.protobuf.Timestamp start_time = 1; - * * @return The startTime. */ com.google.protobuf.Timestamp getStartTime(); /** - * - * *
    * The time the replication cycle has started.
    * 
@@ -59,14 +35,11 @@ public interface ReplicationCycleOrBuilder com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder(); /** - * - * *
    * The current progress in percentage of this cycle.
    * 
* * int32 progress_percent = 5; - * * @return The progressPercent. */ int getProgressPercent(); diff --git a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ReplicationSync.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ReplicationSync.java similarity index 69% rename from proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ReplicationSync.java rename to owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ReplicationSync.java index 1b329ec..eee4356 100644 --- a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ReplicationSync.java +++ b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ReplicationSync.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; /** - * - * *
  * ReplicationSync contain information about the last replica sync to the cloud.
  * 
* * Protobuf type {@code google.cloud.vmmigration.v1.ReplicationSync} */ -public final class ReplicationSync extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ReplicationSync extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.vmmigration.v1.ReplicationSync) ReplicationSyncOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ReplicationSync.newBuilder() to construct. private ReplicationSync(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private ReplicationSync() {} + private ReplicationSync() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ReplicationSync(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ReplicationSync( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,28 +52,26 @@ private ReplicationSync( case 0: done = true; break; - case 10: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (lastSyncTime_ != null) { - subBuilder = lastSyncTime_.toBuilder(); - } - lastSyncTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(lastSyncTime_); - lastSyncTime_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (lastSyncTime_ != null) { + subBuilder = lastSyncTime_.toBuilder(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + lastSyncTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(lastSyncTime_); + lastSyncTime_ = subBuilder.buildPartial(); + } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -97,40 +79,35 @@ private ReplicationSync( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_ReplicationSync_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ReplicationSync_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_ReplicationSync_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ReplicationSync_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.ReplicationSync.class, - com.google.cloud.vmmigration.v1.ReplicationSync.Builder.class); + com.google.cloud.vmmigration.v1.ReplicationSync.class, com.google.cloud.vmmigration.v1.ReplicationSync.Builder.class); } public static final int LAST_SYNC_TIME_FIELD_NUMBER = 1; private com.google.protobuf.Timestamp lastSyncTime_; /** - * - * *
    * The most updated snapshot created time in the source that finished
    * replication.
    * 
* * .google.protobuf.Timestamp last_sync_time = 1; - * * @return Whether the lastSyncTime field is set. */ @java.lang.Override @@ -138,26 +115,19 @@ public boolean hasLastSyncTime() { return lastSyncTime_ != null; } /** - * - * *
    * The most updated snapshot created time in the source that finished
    * replication.
    * 
* * .google.protobuf.Timestamp last_sync_time = 1; - * * @return The lastSyncTime. */ @java.lang.Override public com.google.protobuf.Timestamp getLastSyncTime() { - return lastSyncTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : lastSyncTime_; + return lastSyncTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : lastSyncTime_; } /** - * - * *
    * The most updated snapshot created time in the source that finished
    * replication.
@@ -171,7 +141,6 @@ public com.google.protobuf.TimestampOrBuilder getLastSyncTimeOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -183,7 +152,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 (lastSyncTime_ != null) {
       output.writeMessage(1, getLastSyncTime());
     }
@@ -197,7 +167,8 @@ public int getSerializedSize() {
 
     size = 0;
     if (lastSyncTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getLastSyncTime());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, getLastSyncTime());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -207,17 +178,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.vmmigration.v1.ReplicationSync)) {
       return super.equals(obj);
     }
-    com.google.cloud.vmmigration.v1.ReplicationSync other =
-        (com.google.cloud.vmmigration.v1.ReplicationSync) obj;
+    com.google.cloud.vmmigration.v1.ReplicationSync other = (com.google.cloud.vmmigration.v1.ReplicationSync) obj;
 
     if (hasLastSyncTime() != other.hasLastSyncTime()) return false;
     if (hasLastSyncTime()) {
-      if (!getLastSyncTime().equals(other.getLastSyncTime())) return false;
+      if (!getLastSyncTime()
+          .equals(other.getLastSyncTime())) return false;
     }
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -239,127 +210,118 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.vmmigration.v1.ReplicationSync parseFrom(java.nio.ByteBuffer data)
+  public static com.google.cloud.vmmigration.v1.ReplicationSync parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.vmmigration.v1.ReplicationSync 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.vmmigration.v1.ReplicationSync parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.vmmigration.v1.ReplicationSync 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.vmmigration.v1.ReplicationSync parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.vmmigration.v1.ReplicationSync 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.vmmigration.v1.ReplicationSync parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.vmmigration.v1.ReplicationSync 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.vmmigration.v1.ReplicationSync parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.vmmigration.v1.ReplicationSync parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.vmmigration.v1.ReplicationSync 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.vmmigration.v1.ReplicationSync 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.vmmigration.v1.ReplicationSync 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.vmmigration.v1.ReplicationSync 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;
   }
   /**
-   *
-   *
    * 
    * ReplicationSync contain information about the last replica sync to the cloud.
    * 
* * Protobuf type {@code google.cloud.vmmigration.v1.ReplicationSync} */ - 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.vmmigration.v1.ReplicationSync) com.google.cloud.vmmigration.v1.ReplicationSyncOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_ReplicationSync_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ReplicationSync_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_ReplicationSync_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ReplicationSync_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.ReplicationSync.class, - com.google.cloud.vmmigration.v1.ReplicationSync.Builder.class); + com.google.cloud.vmmigration.v1.ReplicationSync.class, com.google.cloud.vmmigration.v1.ReplicationSync.Builder.class); } // Construct using com.google.cloud.vmmigration.v1.ReplicationSync.newBuilder() @@ -367,15 +329,16 @@ 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) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -389,9 +352,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_ReplicationSync_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ReplicationSync_descriptor; } @java.lang.Override @@ -410,8 +373,7 @@ public com.google.cloud.vmmigration.v1.ReplicationSync build() { @java.lang.Override public com.google.cloud.vmmigration.v1.ReplicationSync buildPartial() { - com.google.cloud.vmmigration.v1.ReplicationSync result = - new com.google.cloud.vmmigration.v1.ReplicationSync(this); + com.google.cloud.vmmigration.v1.ReplicationSync result = new com.google.cloud.vmmigration.v1.ReplicationSync(this); if (lastSyncTimeBuilder_ == null) { result.lastSyncTime_ = lastSyncTime_; } else { @@ -425,39 +387,38 @@ public com.google.cloud.vmmigration.v1.ReplicationSync buildPartial() { 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.vmmigration.v1.ReplicationSync) { - return mergeFrom((com.google.cloud.vmmigration.v1.ReplicationSync) other); + return mergeFrom((com.google.cloud.vmmigration.v1.ReplicationSync)other); } else { super.mergeFrom(other); return this; @@ -465,8 +426,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.vmmigration.v1.ReplicationSync other) { - if (other == com.google.cloud.vmmigration.v1.ReplicationSync.getDefaultInstance()) - return this; + if (other == com.google.cloud.vmmigration.v1.ReplicationSync.getDefaultInstance()) return this; if (other.hasLastSyncTime()) { mergeLastSyncTime(other.getLastSyncTime()); } @@ -501,49 +461,36 @@ public Builder mergeFrom( private com.google.protobuf.Timestamp lastSyncTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - lastSyncTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> lastSyncTimeBuilder_; /** - * - * *
      * The most updated snapshot created time in the source that finished
      * replication.
      * 
* * .google.protobuf.Timestamp last_sync_time = 1; - * * @return Whether the lastSyncTime field is set. */ public boolean hasLastSyncTime() { return lastSyncTimeBuilder_ != null || lastSyncTime_ != null; } /** - * - * *
      * The most updated snapshot created time in the source that finished
      * replication.
      * 
* * .google.protobuf.Timestamp last_sync_time = 1; - * * @return The lastSyncTime. */ public com.google.protobuf.Timestamp getLastSyncTime() { if (lastSyncTimeBuilder_ == null) { - return lastSyncTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : lastSyncTime_; + return lastSyncTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : lastSyncTime_; } else { return lastSyncTimeBuilder_.getMessage(); } } /** - * - * *
      * The most updated snapshot created time in the source that finished
      * replication.
@@ -565,8 +512,6 @@ public Builder setLastSyncTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The most updated snapshot created time in the source that finished
      * replication.
@@ -574,7 +519,8 @@ public Builder setLastSyncTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp last_sync_time = 1;
      */
-    public Builder setLastSyncTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setLastSyncTime(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (lastSyncTimeBuilder_ == null) {
         lastSyncTime_ = builderForValue.build();
         onChanged();
@@ -585,8 +531,6 @@ public Builder setLastSyncTime(com.google.protobuf.Timestamp.Builder builderForV
       return this;
     }
     /**
-     *
-     *
      * 
      * The most updated snapshot created time in the source that finished
      * replication.
@@ -598,9 +542,7 @@ public Builder mergeLastSyncTime(com.google.protobuf.Timestamp value) {
       if (lastSyncTimeBuilder_ == null) {
         if (lastSyncTime_ != null) {
           lastSyncTime_ =
-              com.google.protobuf.Timestamp.newBuilder(lastSyncTime_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.protobuf.Timestamp.newBuilder(lastSyncTime_).mergeFrom(value).buildPartial();
         } else {
           lastSyncTime_ = value;
         }
@@ -612,8 +554,6 @@ public Builder mergeLastSyncTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The most updated snapshot created time in the source that finished
      * replication.
@@ -633,8 +573,6 @@ public Builder clearLastSyncTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The most updated snapshot created time in the source that finished
      * replication.
@@ -643,13 +581,11 @@ public Builder clearLastSyncTime() {
      * .google.protobuf.Timestamp last_sync_time = 1;
      */
     public com.google.protobuf.Timestamp.Builder getLastSyncTimeBuilder() {
-
+      
       onChanged();
       return getLastSyncTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The most updated snapshot created time in the source that finished
      * replication.
@@ -661,14 +597,11 @@ public com.google.protobuf.TimestampOrBuilder getLastSyncTimeOrBuilder() {
       if (lastSyncTimeBuilder_ != null) {
         return lastSyncTimeBuilder_.getMessageOrBuilder();
       } else {
-        return lastSyncTime_ == null
-            ? com.google.protobuf.Timestamp.getDefaultInstance()
-            : lastSyncTime_;
+        return lastSyncTime_ == null ?
+            com.google.protobuf.Timestamp.getDefaultInstance() : lastSyncTime_;
       }
     }
     /**
-     *
-     *
      * 
      * The most updated snapshot created time in the source that finished
      * replication.
@@ -677,24 +610,21 @@ public com.google.protobuf.TimestampOrBuilder getLastSyncTimeOrBuilder() {
      * .google.protobuf.Timestamp last_sync_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> 
         getLastSyncTimeFieldBuilder() {
       if (lastSyncTimeBuilder_ == null) {
-        lastSyncTimeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Timestamp,
-                com.google.protobuf.Timestamp.Builder,
-                com.google.protobuf.TimestampOrBuilder>(
-                getLastSyncTime(), getParentForChildren(), isClean());
+        lastSyncTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
+                getLastSyncTime(),
+                getParentForChildren(),
+                isClean());
         lastSyncTime_ = null;
       }
       return lastSyncTimeBuilder_;
     }
-
     @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);
     }
 
@@ -704,12 +634,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.vmmigration.v1.ReplicationSync)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.vmmigration.v1.ReplicationSync)
   private static final com.google.cloud.vmmigration.v1.ReplicationSync DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.cloud.vmmigration.v1.ReplicationSync();
   }
@@ -718,16 +648,16 @@ public static com.google.cloud.vmmigration.v1.ReplicationSync getDefaultInstance
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public ReplicationSync parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          return new ReplicationSync(input, extensionRegistry);
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public ReplicationSync parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      return new ReplicationSync(input, extensionRegistry);
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -742,4 +672,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.vmmigration.v1.ReplicationSync getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ReplicationSyncOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ReplicationSyncOrBuilder.java
similarity index 61%
rename from proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ReplicationSyncOrBuilder.java
rename to owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ReplicationSyncOrBuilder.java
index dcad66b..152b043 100644
--- a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ReplicationSyncOrBuilder.java
+++ b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ReplicationSyncOrBuilder.java
@@ -1,57 +1,33 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/vmmigration/v1/vmmigration.proto
 
 package com.google.cloud.vmmigration.v1;
 
-public interface ReplicationSyncOrBuilder
-    extends
+public interface ReplicationSyncOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.ReplicationSync)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * The most updated snapshot created time in the source that finished
    * replication.
    * 
* * .google.protobuf.Timestamp last_sync_time = 1; - * * @return Whether the lastSyncTime field is set. */ boolean hasLastSyncTime(); /** - * - * *
    * The most updated snapshot created time in the source that finished
    * replication.
    * 
* * .google.protobuf.Timestamp last_sync_time = 1; - * * @return The lastSyncTime. */ com.google.protobuf.Timestamp getLastSyncTime(); /** - * - * *
    * The most updated snapshot created time in the source that finished
    * replication.
diff --git a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ResumeMigrationRequest.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ResumeMigrationRequest.java
similarity index 64%
rename from proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ResumeMigrationRequest.java
rename to owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ResumeMigrationRequest.java
index 3141198..3af03b5 100644
--- a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ResumeMigrationRequest.java
+++ b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ResumeMigrationRequest.java
@@ -1,57 +1,40 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/vmmigration/v1/vmmigration.proto
 
 package com.google.cloud.vmmigration.v1;
 
 /**
- *
- *
  * 
  * Request message for 'ResumeMigration' request.
  * 
* * Protobuf type {@code google.cloud.vmmigration.v1.ResumeMigrationRequest} */ -public final class ResumeMigrationRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ResumeMigrationRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.vmmigration.v1.ResumeMigrationRequest) ResumeMigrationRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ResumeMigrationRequest.newBuilder() to construct. private ResumeMigrationRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ResumeMigrationRequest() { migratingVm_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ResumeMigrationRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ResumeMigrationRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private ResumeMigrationRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - migratingVm_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + migratingVm_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,41 +73,34 @@ private ResumeMigrationRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_ResumeMigrationRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ResumeMigrationRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_ResumeMigrationRequest_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ResumeMigrationRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.ResumeMigrationRequest.class, - com.google.cloud.vmmigration.v1.ResumeMigrationRequest.Builder.class); + com.google.cloud.vmmigration.v1.ResumeMigrationRequest.class, com.google.cloud.vmmigration.v1.ResumeMigrationRequest.Builder.class); } public static final int MIGRATING_VM_FIELD_NUMBER = 1; private volatile java.lang.Object migratingVm_; /** - * - * *
    * Required. The name of the MigratingVm.
    * 
* - * - * string migrating_vm = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string migrating_vm = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The migratingVm. */ @java.lang.Override @@ -134,31 +109,29 @@ public java.lang.String getMigratingVm() { 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(); migratingVm_ = s; return s; } } /** - * - * *
    * Required. The name of the MigratingVm.
    * 
* - * - * string migrating_vm = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string migrating_vm = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for migratingVm. */ @java.lang.Override - public com.google.protobuf.ByteString getMigratingVmBytes() { + public com.google.protobuf.ByteString + getMigratingVmBytes() { java.lang.Object ref = migratingVm_; 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); migratingVm_ = b; return b; } else { @@ -167,7 +140,6 @@ public com.google.protobuf.ByteString getMigratingVmBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -179,7 +151,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(migratingVm_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, migratingVm_); } @@ -203,15 +176,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.vmmigration.v1.ResumeMigrationRequest)) { return super.equals(obj); } - com.google.cloud.vmmigration.v1.ResumeMigrationRequest other = - (com.google.cloud.vmmigration.v1.ResumeMigrationRequest) obj; + com.google.cloud.vmmigration.v1.ResumeMigrationRequest other = (com.google.cloud.vmmigration.v1.ResumeMigrationRequest) obj; - if (!getMigratingVm().equals(other.getMigratingVm())) return false; + if (!getMigratingVm() + .equals(other.getMigratingVm())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -231,127 +204,117 @@ public int hashCode() { } public static com.google.cloud.vmmigration.v1.ResumeMigrationRequest 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.vmmigration.v1.ResumeMigrationRequest 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.vmmigration.v1.ResumeMigrationRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.vmmigration.v1.ResumeMigrationRequest 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.vmmigration.v1.ResumeMigrationRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.vmmigration.v1.ResumeMigrationRequest 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.vmmigration.v1.ResumeMigrationRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.vmmigration.v1.ResumeMigrationRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.vmmigration.v1.ResumeMigrationRequest 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.vmmigration.v1.ResumeMigrationRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.vmmigration.v1.ResumeMigrationRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.vmmigration.v1.ResumeMigrationRequest 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.vmmigration.v1.ResumeMigrationRequest 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.vmmigration.v1.ResumeMigrationRequest 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.vmmigration.v1.ResumeMigrationRequest prototype) { + public static Builder newBuilder(com.google.cloud.vmmigration.v1.ResumeMigrationRequest 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 message for 'ResumeMigration' request.
    * 
* * Protobuf type {@code google.cloud.vmmigration.v1.ResumeMigrationRequest} */ - 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.vmmigration.v1.ResumeMigrationRequest) com.google.cloud.vmmigration.v1.ResumeMigrationRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_ResumeMigrationRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ResumeMigrationRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_ResumeMigrationRequest_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ResumeMigrationRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.ResumeMigrationRequest.class, - com.google.cloud.vmmigration.v1.ResumeMigrationRequest.Builder.class); + com.google.cloud.vmmigration.v1.ResumeMigrationRequest.class, com.google.cloud.vmmigration.v1.ResumeMigrationRequest.Builder.class); } // Construct using com.google.cloud.vmmigration.v1.ResumeMigrationRequest.newBuilder() @@ -359,15 +322,16 @@ 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) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -377,9 +341,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_ResumeMigrationRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ResumeMigrationRequest_descriptor; } @java.lang.Override @@ -398,8 +362,7 @@ public com.google.cloud.vmmigration.v1.ResumeMigrationRequest build() { @java.lang.Override public com.google.cloud.vmmigration.v1.ResumeMigrationRequest buildPartial() { - com.google.cloud.vmmigration.v1.ResumeMigrationRequest result = - new com.google.cloud.vmmigration.v1.ResumeMigrationRequest(this); + com.google.cloud.vmmigration.v1.ResumeMigrationRequest result = new com.google.cloud.vmmigration.v1.ResumeMigrationRequest(this); result.migratingVm_ = migratingVm_; onBuilt(); return result; @@ -409,39 +372,38 @@ public com.google.cloud.vmmigration.v1.ResumeMigrationRequest buildPartial() { 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.vmmigration.v1.ResumeMigrationRequest) { - return mergeFrom((com.google.cloud.vmmigration.v1.ResumeMigrationRequest) other); + return mergeFrom((com.google.cloud.vmmigration.v1.ResumeMigrationRequest)other); } else { super.mergeFrom(other); return this; @@ -449,8 +411,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.vmmigration.v1.ResumeMigrationRequest other) { - if (other == com.google.cloud.vmmigration.v1.ResumeMigrationRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.vmmigration.v1.ResumeMigrationRequest.getDefaultInstance()) return this; if (!other.getMigratingVm().isEmpty()) { migratingVm_ = other.migratingVm_; onChanged(); @@ -474,8 +435,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.vmmigration.v1.ResumeMigrationRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.vmmigration.v1.ResumeMigrationRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -487,22 +447,18 @@ public Builder mergeFrom( private java.lang.Object migratingVm_ = ""; /** - * - * *
      * Required. The name of the MigratingVm.
      * 
* - * - * string migrating_vm = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string migrating_vm = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The migratingVm. */ public java.lang.String getMigratingVm() { java.lang.Object ref = migratingVm_; 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(); migratingVm_ = s; return s; @@ -511,23 +467,20 @@ public java.lang.String getMigratingVm() { } } /** - * - * *
      * Required. The name of the MigratingVm.
      * 
* - * - * string migrating_vm = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string migrating_vm = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for migratingVm. */ - public com.google.protobuf.ByteString getMigratingVmBytes() { + public com.google.protobuf.ByteString + getMigratingVmBytes() { java.lang.Object ref = migratingVm_; 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); migratingVm_ = b; return b; } else { @@ -535,74 +488,61 @@ public com.google.protobuf.ByteString getMigratingVmBytes() { } } /** - * - * *
      * Required. The name of the MigratingVm.
      * 
* - * - * string migrating_vm = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string migrating_vm = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The migratingVm to set. * @return This builder for chaining. */ - public Builder setMigratingVm(java.lang.String value) { + public Builder setMigratingVm( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + migratingVm_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the MigratingVm.
      * 
* - * - * string migrating_vm = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string migrating_vm = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearMigratingVm() { - + migratingVm_ = getDefaultInstance().getMigratingVm(); onChanged(); return this; } /** - * - * *
      * Required. The name of the MigratingVm.
      * 
* - * - * string migrating_vm = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string migrating_vm = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for migratingVm to set. * @return This builder for chaining. */ - public Builder setMigratingVmBytes(com.google.protobuf.ByteString value) { + public Builder setMigratingVmBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + migratingVm_ = 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); } @@ -612,12 +552,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.vmmigration.v1.ResumeMigrationRequest) } // @@protoc_insertion_point(class_scope:google.cloud.vmmigration.v1.ResumeMigrationRequest) private static final com.google.cloud.vmmigration.v1.ResumeMigrationRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.vmmigration.v1.ResumeMigrationRequest(); } @@ -626,16 +566,16 @@ public static com.google.cloud.vmmigration.v1.ResumeMigrationRequest getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ResumeMigrationRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ResumeMigrationRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ResumeMigrationRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ResumeMigrationRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -650,4 +590,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.vmmigration.v1.ResumeMigrationRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ResumeMigrationRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ResumeMigrationRequestOrBuilder.java new file mode 100644 index 0000000..05fd7af --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ResumeMigrationRequestOrBuilder.java @@ -0,0 +1,29 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/vmmigration/v1/vmmigration.proto + +package com.google.cloud.vmmigration.v1; + +public interface ResumeMigrationRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.ResumeMigrationRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The name of the MigratingVm.
+   * 
+ * + * string migrating_vm = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The migratingVm. + */ + java.lang.String getMigratingVm(); + /** + *
+   * Required. The name of the MigratingVm.
+   * 
+ * + * string migrating_vm = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for migratingVm. + */ + com.google.protobuf.ByteString + getMigratingVmBytes(); +} diff --git a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ResumeMigrationResponse.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ResumeMigrationResponse.java similarity index 65% rename from proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ResumeMigrationResponse.java rename to owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ResumeMigrationResponse.java index b291ac0..f75e020 100644 --- a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ResumeMigrationResponse.java +++ b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ResumeMigrationResponse.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; /** - * - * *
  * Response message for 'ResumeMigration' request.
  * 
* * Protobuf type {@code google.cloud.vmmigration.v1.ResumeMigrationResponse} */ -public final class ResumeMigrationResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ResumeMigrationResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.vmmigration.v1.ResumeMigrationResponse) ResumeMigrationResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ResumeMigrationResponse.newBuilder() to construct. private ResumeMigrationResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private ResumeMigrationResponse() {} + private ResumeMigrationResponse() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ResumeMigrationResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ResumeMigrationResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,13 +52,13 @@ private ResumeMigrationResponse( case 0: done = true; break; - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -82,30 +66,27 @@ private ResumeMigrationResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_ResumeMigrationResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ResumeMigrationResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_ResumeMigrationResponse_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ResumeMigrationResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.ResumeMigrationResponse.class, - com.google.cloud.vmmigration.v1.ResumeMigrationResponse.Builder.class); + com.google.cloud.vmmigration.v1.ResumeMigrationResponse.class, com.google.cloud.vmmigration.v1.ResumeMigrationResponse.Builder.class); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -117,7 +98,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 { unknownFields.writeTo(output); } @@ -135,13 +117,12 @@ 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.vmmigration.v1.ResumeMigrationResponse)) { return super.equals(obj); } - com.google.cloud.vmmigration.v1.ResumeMigrationResponse other = - (com.google.cloud.vmmigration.v1.ResumeMigrationResponse) obj; + com.google.cloud.vmmigration.v1.ResumeMigrationResponse other = (com.google.cloud.vmmigration.v1.ResumeMigrationResponse) obj; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -160,127 +141,117 @@ public int hashCode() { } public static com.google.cloud.vmmigration.v1.ResumeMigrationResponse 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.vmmigration.v1.ResumeMigrationResponse 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.vmmigration.v1.ResumeMigrationResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.vmmigration.v1.ResumeMigrationResponse 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.vmmigration.v1.ResumeMigrationResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.vmmigration.v1.ResumeMigrationResponse 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.vmmigration.v1.ResumeMigrationResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.vmmigration.v1.ResumeMigrationResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.vmmigration.v1.ResumeMigrationResponse 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.vmmigration.v1.ResumeMigrationResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.vmmigration.v1.ResumeMigrationResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.vmmigration.v1.ResumeMigrationResponse 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.vmmigration.v1.ResumeMigrationResponse 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.vmmigration.v1.ResumeMigrationResponse 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.vmmigration.v1.ResumeMigrationResponse prototype) { + public static Builder newBuilder(com.google.cloud.vmmigration.v1.ResumeMigrationResponse 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; } /** - * - * *
    * Response message for 'ResumeMigration' request.
    * 
* * Protobuf type {@code google.cloud.vmmigration.v1.ResumeMigrationResponse} */ - 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.vmmigration.v1.ResumeMigrationResponse) com.google.cloud.vmmigration.v1.ResumeMigrationResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_ResumeMigrationResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ResumeMigrationResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_ResumeMigrationResponse_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ResumeMigrationResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.ResumeMigrationResponse.class, - com.google.cloud.vmmigration.v1.ResumeMigrationResponse.Builder.class); + com.google.cloud.vmmigration.v1.ResumeMigrationResponse.class, com.google.cloud.vmmigration.v1.ResumeMigrationResponse.Builder.class); } // Construct using com.google.cloud.vmmigration.v1.ResumeMigrationResponse.newBuilder() @@ -288,15 +259,16 @@ 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) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -304,9 +276,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_ResumeMigrationResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ResumeMigrationResponse_descriptor; } @java.lang.Override @@ -325,8 +297,7 @@ public com.google.cloud.vmmigration.v1.ResumeMigrationResponse build() { @java.lang.Override public com.google.cloud.vmmigration.v1.ResumeMigrationResponse buildPartial() { - com.google.cloud.vmmigration.v1.ResumeMigrationResponse result = - new com.google.cloud.vmmigration.v1.ResumeMigrationResponse(this); + com.google.cloud.vmmigration.v1.ResumeMigrationResponse result = new com.google.cloud.vmmigration.v1.ResumeMigrationResponse(this); onBuilt(); return result; } @@ -335,39 +306,38 @@ public com.google.cloud.vmmigration.v1.ResumeMigrationResponse buildPartial() { 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.vmmigration.v1.ResumeMigrationResponse) { - return mergeFrom((com.google.cloud.vmmigration.v1.ResumeMigrationResponse) other); + return mergeFrom((com.google.cloud.vmmigration.v1.ResumeMigrationResponse)other); } else { super.mergeFrom(other); return this; @@ -375,8 +345,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.vmmigration.v1.ResumeMigrationResponse other) { - if (other == com.google.cloud.vmmigration.v1.ResumeMigrationResponse.getDefaultInstance()) - return this; + if (other == com.google.cloud.vmmigration.v1.ResumeMigrationResponse.getDefaultInstance()) return this; this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -396,8 +365,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.vmmigration.v1.ResumeMigrationResponse) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.vmmigration.v1.ResumeMigrationResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -406,9 +374,9 @@ public Builder mergeFrom( } 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); } @@ -418,12 +386,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.vmmigration.v1.ResumeMigrationResponse) } // @@protoc_insertion_point(class_scope:google.cloud.vmmigration.v1.ResumeMigrationResponse) private static final com.google.cloud.vmmigration.v1.ResumeMigrationResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.vmmigration.v1.ResumeMigrationResponse(); } @@ -432,16 +400,16 @@ public static com.google.cloud.vmmigration.v1.ResumeMigrationResponse getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ResumeMigrationResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ResumeMigrationResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ResumeMigrationResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ResumeMigrationResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -456,4 +424,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.vmmigration.v1.ResumeMigrationResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ResumeMigrationResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ResumeMigrationResponseOrBuilder.java new file mode 100644 index 0000000..889fa99 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ResumeMigrationResponseOrBuilder.java @@ -0,0 +1,9 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/vmmigration/v1/vmmigration.proto + +package com.google.cloud.vmmigration.v1; + +public interface ResumeMigrationResponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.ResumeMigrationResponse) + com.google.protobuf.MessageOrBuilder { +} diff --git a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/SchedulePolicy.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/SchedulePolicy.java similarity index 70% rename from proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/SchedulePolicy.java rename to owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/SchedulePolicy.java index 0334614..86d1b2f 100644 --- a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/SchedulePolicy.java +++ b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/SchedulePolicy.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; /** - * - * *
  * A policy for scheduling replications.
  * 
* * Protobuf type {@code google.cloud.vmmigration.v1.SchedulePolicy} */ -public final class SchedulePolicy extends com.google.protobuf.GeneratedMessageV3 - implements +public final class SchedulePolicy extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.vmmigration.v1.SchedulePolicy) SchedulePolicyOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use SchedulePolicy.newBuilder() to construct. private SchedulePolicy(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private SchedulePolicy() {} + private SchedulePolicy() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new SchedulePolicy(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private SchedulePolicy( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,33 +52,31 @@ private SchedulePolicy( case 0: done = true; break; - case 10: - { - com.google.protobuf.Duration.Builder subBuilder = null; - if (idleDuration_ != null) { - subBuilder = idleDuration_.toBuilder(); - } - idleDuration_ = - input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(idleDuration_); - idleDuration_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.protobuf.Duration.Builder subBuilder = null; + if (idleDuration_ != null) { + subBuilder = idleDuration_.toBuilder(); } - case 16: - { - skipOsAdaptation_ = input.readBool(); - break; + idleDuration_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(idleDuration_); + idleDuration_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + case 16: { + + skipOsAdaptation_ = input.readBool(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -102,39 +84,34 @@ private SchedulePolicy( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_SchedulePolicy_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_SchedulePolicy_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_SchedulePolicy_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_SchedulePolicy_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.SchedulePolicy.class, - com.google.cloud.vmmigration.v1.SchedulePolicy.Builder.class); + com.google.cloud.vmmigration.v1.SchedulePolicy.class, com.google.cloud.vmmigration.v1.SchedulePolicy.Builder.class); } public static final int IDLE_DURATION_FIELD_NUMBER = 1; private com.google.protobuf.Duration idleDuration_; /** - * - * *
    * The idle duration between replication stages.
    * 
* * .google.protobuf.Duration idle_duration = 1; - * * @return Whether the idleDuration field is set. */ @java.lang.Override @@ -142,25 +119,18 @@ public boolean hasIdleDuration() { return idleDuration_ != null; } /** - * - * *
    * The idle duration between replication stages.
    * 
* * .google.protobuf.Duration idle_duration = 1; - * * @return The idleDuration. */ @java.lang.Override public com.google.protobuf.Duration getIdleDuration() { - return idleDuration_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : idleDuration_; + return idleDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : idleDuration_; } /** - * - * *
    * The idle duration between replication stages.
    * 
@@ -175,8 +145,6 @@ public com.google.protobuf.DurationOrBuilder getIdleDurationOrBuilder() { public static final int SKIP_OS_ADAPTATION_FIELD_NUMBER = 2; private boolean skipOsAdaptation_; /** - * - * *
    * A flag to indicate whether to skip OS adaptation during the replication
    * sync. OS adaptation is a process where the VM's operating system undergoes
@@ -184,7 +152,6 @@ public com.google.protobuf.DurationOrBuilder getIdleDurationOrBuilder() {
    * 
* * bool skip_os_adaptation = 2; - * * @return The skipOsAdaptation. */ @java.lang.Override @@ -193,7 +160,6 @@ public boolean getSkipOsAdaptation() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -205,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 (idleDuration_ != null) { output.writeMessage(1, getIdleDuration()); } @@ -222,10 +189,12 @@ public int getSerializedSize() { size = 0; if (idleDuration_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getIdleDuration()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getIdleDuration()); } if (skipOsAdaptation_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, skipOsAdaptation_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(2, skipOsAdaptation_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -235,19 +204,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.vmmigration.v1.SchedulePolicy)) { return super.equals(obj); } - com.google.cloud.vmmigration.v1.SchedulePolicy other = - (com.google.cloud.vmmigration.v1.SchedulePolicy) obj; + com.google.cloud.vmmigration.v1.SchedulePolicy other = (com.google.cloud.vmmigration.v1.SchedulePolicy) obj; if (hasIdleDuration() != other.hasIdleDuration()) return false; if (hasIdleDuration()) { - if (!getIdleDuration().equals(other.getIdleDuration())) return false; + if (!getIdleDuration() + .equals(other.getIdleDuration())) return false; } - if (getSkipOsAdaptation() != other.getSkipOsAdaptation()) return false; + if (getSkipOsAdaptation() + != other.getSkipOsAdaptation()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -264,133 +234,125 @@ public int hashCode() { hash = (53 * hash) + getIdleDuration().hashCode(); } hash = (37 * hash) + SKIP_OS_ADAPTATION_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getSkipOsAdaptation()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getSkipOsAdaptation()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.cloud.vmmigration.v1.SchedulePolicy parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.vmmigration.v1.SchedulePolicy parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.vmmigration.v1.SchedulePolicy 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.vmmigration.v1.SchedulePolicy parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.vmmigration.v1.SchedulePolicy 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.vmmigration.v1.SchedulePolicy parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.vmmigration.v1.SchedulePolicy 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.vmmigration.v1.SchedulePolicy parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.vmmigration.v1.SchedulePolicy 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.vmmigration.v1.SchedulePolicy parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.vmmigration.v1.SchedulePolicy parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.vmmigration.v1.SchedulePolicy 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.vmmigration.v1.SchedulePolicy 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.vmmigration.v1.SchedulePolicy 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.vmmigration.v1.SchedulePolicy 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 policy for scheduling replications.
    * 
* * Protobuf type {@code google.cloud.vmmigration.v1.SchedulePolicy} */ - 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.vmmigration.v1.SchedulePolicy) com.google.cloud.vmmigration.v1.SchedulePolicyOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_SchedulePolicy_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_SchedulePolicy_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_SchedulePolicy_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_SchedulePolicy_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.SchedulePolicy.class, - com.google.cloud.vmmigration.v1.SchedulePolicy.Builder.class); + com.google.cloud.vmmigration.v1.SchedulePolicy.class, com.google.cloud.vmmigration.v1.SchedulePolicy.Builder.class); } // Construct using com.google.cloud.vmmigration.v1.SchedulePolicy.newBuilder() @@ -398,15 +360,16 @@ 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) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -422,9 +385,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_SchedulePolicy_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_SchedulePolicy_descriptor; } @java.lang.Override @@ -443,8 +406,7 @@ public com.google.cloud.vmmigration.v1.SchedulePolicy build() { @java.lang.Override public com.google.cloud.vmmigration.v1.SchedulePolicy buildPartial() { - com.google.cloud.vmmigration.v1.SchedulePolicy result = - new com.google.cloud.vmmigration.v1.SchedulePolicy(this); + com.google.cloud.vmmigration.v1.SchedulePolicy result = new com.google.cloud.vmmigration.v1.SchedulePolicy(this); if (idleDurationBuilder_ == null) { result.idleDuration_ = idleDuration_; } else { @@ -459,39 +421,38 @@ public com.google.cloud.vmmigration.v1.SchedulePolicy buildPartial() { 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.vmmigration.v1.SchedulePolicy) { - return mergeFrom((com.google.cloud.vmmigration.v1.SchedulePolicy) other); + return mergeFrom((com.google.cloud.vmmigration.v1.SchedulePolicy)other); } else { super.mergeFrom(other); return this; @@ -537,47 +498,34 @@ public Builder mergeFrom( private com.google.protobuf.Duration idleDuration_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, - com.google.protobuf.Duration.Builder, - com.google.protobuf.DurationOrBuilder> - idleDurationBuilder_; + com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> idleDurationBuilder_; /** - * - * *
      * The idle duration between replication stages.
      * 
* * .google.protobuf.Duration idle_duration = 1; - * * @return Whether the idleDuration field is set. */ public boolean hasIdleDuration() { return idleDurationBuilder_ != null || idleDuration_ != null; } /** - * - * *
      * The idle duration between replication stages.
      * 
* * .google.protobuf.Duration idle_duration = 1; - * * @return The idleDuration. */ public com.google.protobuf.Duration getIdleDuration() { if (idleDurationBuilder_ == null) { - return idleDuration_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : idleDuration_; + return idleDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : idleDuration_; } else { return idleDurationBuilder_.getMessage(); } } /** - * - * *
      * The idle duration between replication stages.
      * 
@@ -598,15 +546,14 @@ public Builder setIdleDuration(com.google.protobuf.Duration value) { return this; } /** - * - * *
      * The idle duration between replication stages.
      * 
* * .google.protobuf.Duration idle_duration = 1; */ - public Builder setIdleDuration(com.google.protobuf.Duration.Builder builderForValue) { + public Builder setIdleDuration( + com.google.protobuf.Duration.Builder builderForValue) { if (idleDurationBuilder_ == null) { idleDuration_ = builderForValue.build(); onChanged(); @@ -617,8 +564,6 @@ public Builder setIdleDuration(com.google.protobuf.Duration.Builder builderForVa return this; } /** - * - * *
      * The idle duration between replication stages.
      * 
@@ -629,9 +574,7 @@ public Builder mergeIdleDuration(com.google.protobuf.Duration value) { if (idleDurationBuilder_ == null) { if (idleDuration_ != null) { idleDuration_ = - com.google.protobuf.Duration.newBuilder(idleDuration_) - .mergeFrom(value) - .buildPartial(); + com.google.protobuf.Duration.newBuilder(idleDuration_).mergeFrom(value).buildPartial(); } else { idleDuration_ = value; } @@ -643,8 +586,6 @@ public Builder mergeIdleDuration(com.google.protobuf.Duration value) { return this; } /** - * - * *
      * The idle duration between replication stages.
      * 
@@ -663,8 +604,6 @@ public Builder clearIdleDuration() { return this; } /** - * - * *
      * The idle duration between replication stages.
      * 
@@ -672,13 +611,11 @@ public Builder clearIdleDuration() { * .google.protobuf.Duration idle_duration = 1; */ public com.google.protobuf.Duration.Builder getIdleDurationBuilder() { - + onChanged(); return getIdleDurationFieldBuilder().getBuilder(); } /** - * - * *
      * The idle duration between replication stages.
      * 
@@ -689,14 +626,11 @@ public com.google.protobuf.DurationOrBuilder getIdleDurationOrBuilder() { if (idleDurationBuilder_ != null) { return idleDurationBuilder_.getMessageOrBuilder(); } else { - return idleDuration_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : idleDuration_; + return idleDuration_ == null ? + com.google.protobuf.Duration.getDefaultInstance() : idleDuration_; } } /** - * - * *
      * The idle duration between replication stages.
      * 
@@ -704,26 +638,21 @@ public com.google.protobuf.DurationOrBuilder getIdleDurationOrBuilder() { * .google.protobuf.Duration idle_duration = 1; */ 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> getIdleDurationFieldBuilder() { if (idleDurationBuilder_ == null) { - idleDurationBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, - com.google.protobuf.Duration.Builder, - com.google.protobuf.DurationOrBuilder>( - getIdleDuration(), getParentForChildren(), isClean()); + idleDurationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>( + getIdleDuration(), + getParentForChildren(), + isClean()); idleDuration_ = null; } return idleDurationBuilder_; } - private boolean skipOsAdaptation_; + private boolean skipOsAdaptation_ ; /** - * - * *
      * A flag to indicate whether to skip OS adaptation during the replication
      * sync. OS adaptation is a process where the VM's operating system undergoes
@@ -731,7 +660,6 @@ public com.google.protobuf.DurationOrBuilder getIdleDurationOrBuilder() {
      * 
* * bool skip_os_adaptation = 2; - * * @return The skipOsAdaptation. */ @java.lang.Override @@ -739,8 +667,6 @@ public boolean getSkipOsAdaptation() { return skipOsAdaptation_; } /** - * - * *
      * A flag to indicate whether to skip OS adaptation during the replication
      * sync. OS adaptation is a process where the VM's operating system undergoes
@@ -748,19 +674,16 @@ public boolean getSkipOsAdaptation() {
      * 
* * bool skip_os_adaptation = 2; - * * @param value The skipOsAdaptation to set. * @return This builder for chaining. */ public Builder setSkipOsAdaptation(boolean value) { - + skipOsAdaptation_ = value; onChanged(); return this; } /** - * - * *
      * A flag to indicate whether to skip OS adaptation during the replication
      * sync. OS adaptation is a process where the VM's operating system undergoes
@@ -768,18 +691,17 @@ public Builder setSkipOsAdaptation(boolean value) {
      * 
* * bool skip_os_adaptation = 2; - * * @return This builder for chaining. */ public Builder clearSkipOsAdaptation() { - + skipOsAdaptation_ = false; 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); } @@ -789,12 +711,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.vmmigration.v1.SchedulePolicy) } // @@protoc_insertion_point(class_scope:google.cloud.vmmigration.v1.SchedulePolicy) private static final com.google.cloud.vmmigration.v1.SchedulePolicy DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.vmmigration.v1.SchedulePolicy(); } @@ -803,16 +725,16 @@ public static com.google.cloud.vmmigration.v1.SchedulePolicy getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SchedulePolicy parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new SchedulePolicy(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SchedulePolicy parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new SchedulePolicy(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -827,4 +749,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.vmmigration.v1.SchedulePolicy getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/SchedulePolicyOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/SchedulePolicyOrBuilder.java similarity index 66% rename from proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/SchedulePolicyOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/SchedulePolicyOrBuilder.java index 21c33e7..e83d7f5 100644 --- a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/SchedulePolicyOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/SchedulePolicyOrBuilder.java @@ -1,55 +1,31 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; -public interface SchedulePolicyOrBuilder - extends +public interface SchedulePolicyOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.SchedulePolicy) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The idle duration between replication stages.
    * 
* * .google.protobuf.Duration idle_duration = 1; - * * @return Whether the idleDuration field is set. */ boolean hasIdleDuration(); /** - * - * *
    * The idle duration between replication stages.
    * 
* * .google.protobuf.Duration idle_duration = 1; - * * @return The idleDuration. */ com.google.protobuf.Duration getIdleDuration(); /** - * - * *
    * The idle duration between replication stages.
    * 
@@ -59,8 +35,6 @@ public interface SchedulePolicyOrBuilder com.google.protobuf.DurationOrBuilder getIdleDurationOrBuilder(); /** - * - * *
    * A flag to indicate whether to skip OS adaptation during the replication
    * sync. OS adaptation is a process where the VM's operating system undergoes
@@ -68,7 +42,6 @@ public interface SchedulePolicyOrBuilder
    * 
* * bool skip_os_adaptation = 2; - * * @return The skipOsAdaptation. */ boolean getSkipOsAdaptation(); diff --git a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/SchedulingNodeAffinity.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/SchedulingNodeAffinity.java similarity index 71% rename from proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/SchedulingNodeAffinity.java rename to owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/SchedulingNodeAffinity.java index c8c5d80..620cc1f 100644 --- a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/SchedulingNodeAffinity.java +++ b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/SchedulingNodeAffinity.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; /** - * - * *
  * Node Affinity: the configuration of desired nodes onto which this Instance
  * could be scheduled. Based on
@@ -29,16 +12,15 @@
  *
  * Protobuf type {@code google.cloud.vmmigration.v1.SchedulingNodeAffinity}
  */
-public final class SchedulingNodeAffinity extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class SchedulingNodeAffinity extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.vmmigration.v1.SchedulingNodeAffinity)
     SchedulingNodeAffinityOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use SchedulingNodeAffinity.newBuilder() to construct.
   private SchedulingNodeAffinity(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private SchedulingNodeAffinity() {
     key_ = "";
     operator_ = 0;
@@ -47,15 +29,16 @@ private SchedulingNodeAffinity() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new SchedulingNodeAffinity();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private SchedulingNodeAffinity(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -75,37 +58,34 @@ private SchedulingNodeAffinity(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              key_ = s;
-              break;
-            }
-          case 16:
-            {
-              int rawValue = input.readEnum();
+            key_ = s;
+            break;
+          }
+          case 16: {
+            int rawValue = input.readEnum();
 
-              operator_ = rawValue;
-              break;
-            }
-          case 26:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                values_ = new com.google.protobuf.LazyStringArrayList();
-                mutable_bitField0_ |= 0x00000001;
-              }
-              values_.add(s);
-              break;
+            operator_ = rawValue;
+            break;
+          }
+          case 26: {
+            java.lang.String s = input.readStringRequireUtf8();
+            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+              values_ = new com.google.protobuf.LazyStringArrayList();
+              mutable_bitField0_ |= 0x00000001;
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            values_.add(s);
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -113,7 +93,8 @@ private SchedulingNodeAffinity(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       if (((mutable_bitField0_ & 0x00000001) != 0)) {
         values_ = values_.getUnmodifiableView();
@@ -122,25 +103,20 @@ private SchedulingNodeAffinity(
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.vmmigration.v1.VmMigrationProto
-        .internal_static_google_cloud_vmmigration_v1_SchedulingNodeAffinity_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_SchedulingNodeAffinity_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.vmmigration.v1.VmMigrationProto
-        .internal_static_google_cloud_vmmigration_v1_SchedulingNodeAffinity_fieldAccessorTable
+    return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_SchedulingNodeAffinity_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.vmmigration.v1.SchedulingNodeAffinity.class,
-            com.google.cloud.vmmigration.v1.SchedulingNodeAffinity.Builder.class);
+            com.google.cloud.vmmigration.v1.SchedulingNodeAffinity.class, com.google.cloud.vmmigration.v1.SchedulingNodeAffinity.Builder.class);
   }
 
   /**
-   *
-   *
    * 
    * Possible types of node selection operators. Valid operators are IN for
    * affinity and NOT_IN for anti-affinity.
@@ -148,10 +124,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    *
    * Protobuf enum {@code google.cloud.vmmigration.v1.SchedulingNodeAffinity.Operator}
    */
-  public enum Operator implements com.google.protobuf.ProtocolMessageEnum {
+  public enum Operator
+      implements com.google.protobuf.ProtocolMessageEnum {
     /**
-     *
-     *
      * 
      * An unknown, unexpected behavior.
      * 
@@ -160,8 +135,6 @@ public enum Operator implements com.google.protobuf.ProtocolMessageEnum { */ OPERATOR_UNSPECIFIED(0), /** - * - * *
      * The node resource group should be in these resources affinity.
      * 
@@ -170,8 +143,6 @@ public enum Operator implements com.google.protobuf.ProtocolMessageEnum { */ IN(1), /** - * - * *
      * The node resource group should not be in these resources affinity.
      * 
@@ -183,8 +154,6 @@ public enum Operator implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * An unknown, unexpected behavior.
      * 
@@ -193,8 +162,6 @@ public enum Operator implements com.google.protobuf.ProtocolMessageEnum { */ public static final int OPERATOR_UNSPECIFIED_VALUE = 0; /** - * - * *
      * The node resource group should be in these resources affinity.
      * 
@@ -203,8 +170,6 @@ public enum Operator implements com.google.protobuf.ProtocolMessageEnum { */ public static final int IN_VALUE = 1; /** - * - * *
      * The node resource group should not be in these resources affinity.
      * 
@@ -213,6 +178,7 @@ public enum Operator implements com.google.protobuf.ProtocolMessageEnum { */ public static final int NOT_IN_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -237,51 +203,49 @@ public static Operator valueOf(int value) { */ public static Operator forNumber(int value) { switch (value) { - case 0: - return OPERATOR_UNSPECIFIED; - case 1: - return IN; - case 2: - return NOT_IN; - default: - return null; + case 0: return OPERATOR_UNSPECIFIED; + case 1: return IN; + case 2: return NOT_IN; + 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< + Operator> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Operator findValueByNumber(int number) { + return Operator.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Operator findValueByNumber(int number) { - return Operator.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.vmmigration.v1.SchedulingNodeAffinity.getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.cloud.vmmigration.v1.SchedulingNodeAffinity.getDescriptor().getEnumTypes().get(0); } private static final Operator[] VALUES = values(); - public static Operator valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Operator 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; @@ -301,14 +265,11 @@ private Operator(int value) { public static final int KEY_FIELD_NUMBER = 1; private volatile java.lang.Object key_; /** - * - * *
    * The label key of Node resource to reference.
    * 
* * string key = 1; - * * @return The key. */ @java.lang.Override @@ -317,29 +278,29 @@ public java.lang.String getKey() { 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(); key_ = s; return s; } } /** - * - * *
    * The label key of Node resource to reference.
    * 
* * string key = 1; - * * @return The bytes for key. */ @java.lang.Override - public com.google.protobuf.ByteString getKeyBytes() { + public com.google.protobuf.ByteString + getKeyBytes() { java.lang.Object ref = key_; 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); key_ = b; return b; } else { @@ -350,82 +311,63 @@ public com.google.protobuf.ByteString getKeyBytes() { public static final int OPERATOR_FIELD_NUMBER = 2; private int operator_; /** - * - * *
    * The operator to use for the node resources specified in the `values`
    * parameter.
    * 
* * .google.cloud.vmmigration.v1.SchedulingNodeAffinity.Operator operator = 2; - * * @return The enum numeric value on the wire for operator. */ - @java.lang.Override - public int getOperatorValue() { + @java.lang.Override public int getOperatorValue() { return operator_; } /** - * - * *
    * The operator to use for the node resources specified in the `values`
    * parameter.
    * 
* * .google.cloud.vmmigration.v1.SchedulingNodeAffinity.Operator operator = 2; - * * @return The operator. */ - @java.lang.Override - public com.google.cloud.vmmigration.v1.SchedulingNodeAffinity.Operator getOperator() { + @java.lang.Override public com.google.cloud.vmmigration.v1.SchedulingNodeAffinity.Operator getOperator() { @SuppressWarnings("deprecation") - com.google.cloud.vmmigration.v1.SchedulingNodeAffinity.Operator result = - com.google.cloud.vmmigration.v1.SchedulingNodeAffinity.Operator.valueOf(operator_); - return result == null - ? com.google.cloud.vmmigration.v1.SchedulingNodeAffinity.Operator.UNRECOGNIZED - : result; + com.google.cloud.vmmigration.v1.SchedulingNodeAffinity.Operator result = com.google.cloud.vmmigration.v1.SchedulingNodeAffinity.Operator.valueOf(operator_); + return result == null ? com.google.cloud.vmmigration.v1.SchedulingNodeAffinity.Operator.UNRECOGNIZED : result; } public static final int VALUES_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList values_; /** - * - * *
    * Corresponds to the label values of Node resource.
    * 
* * repeated string values = 3; - * * @return A list containing the values. */ - public com.google.protobuf.ProtocolStringList getValuesList() { + public com.google.protobuf.ProtocolStringList + getValuesList() { return values_; } /** - * - * *
    * Corresponds to the label values of Node resource.
    * 
* * repeated string values = 3; - * * @return The count of values. */ public int getValuesCount() { return values_.size(); } /** - * - * *
    * Corresponds to the label values of Node resource.
    * 
* * repeated string values = 3; - * * @param index The index of the element to return. * @return The values at the given index. */ @@ -433,23 +375,20 @@ public java.lang.String getValues(int index) { return values_.get(index); } /** - * - * *
    * Corresponds to the label values of Node resource.
    * 
* * repeated string values = 3; - * * @param index The index of the value to return. * @return The bytes of the values at the given index. */ - public com.google.protobuf.ByteString getValuesBytes(int index) { + public com.google.protobuf.ByteString + getValuesBytes(int index) { return values_.getByteString(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -461,13 +400,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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(key_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, key_); } - if (operator_ - != com.google.cloud.vmmigration.v1.SchedulingNodeAffinity.Operator.OPERATOR_UNSPECIFIED - .getNumber()) { + if (operator_ != com.google.cloud.vmmigration.v1.SchedulingNodeAffinity.Operator.OPERATOR_UNSPECIFIED.getNumber()) { output.writeEnum(2, operator_); } for (int i = 0; i < values_.size(); i++) { @@ -485,10 +423,9 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(key_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, key_); } - if (operator_ - != com.google.cloud.vmmigration.v1.SchedulingNodeAffinity.Operator.OPERATOR_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, operator_); + if (operator_ != com.google.cloud.vmmigration.v1.SchedulingNodeAffinity.Operator.OPERATOR_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, operator_); } { int dataSize = 0; @@ -506,17 +443,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.vmmigration.v1.SchedulingNodeAffinity)) { return super.equals(obj); } - com.google.cloud.vmmigration.v1.SchedulingNodeAffinity other = - (com.google.cloud.vmmigration.v1.SchedulingNodeAffinity) obj; + com.google.cloud.vmmigration.v1.SchedulingNodeAffinity other = (com.google.cloud.vmmigration.v1.SchedulingNodeAffinity) obj; - if (!getKey().equals(other.getKey())) return false; + if (!getKey() + .equals(other.getKey())) return false; if (operator_ != other.operator_) return false; - if (!getValuesList().equals(other.getValuesList())) return false; + if (!getValuesList() + .equals(other.getValuesList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -542,104 +480,96 @@ public int hashCode() { } public static com.google.cloud.vmmigration.v1.SchedulingNodeAffinity 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.vmmigration.v1.SchedulingNodeAffinity 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.vmmigration.v1.SchedulingNodeAffinity parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.vmmigration.v1.SchedulingNodeAffinity 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.vmmigration.v1.SchedulingNodeAffinity parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.vmmigration.v1.SchedulingNodeAffinity 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.vmmigration.v1.SchedulingNodeAffinity parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.vmmigration.v1.SchedulingNodeAffinity parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.vmmigration.v1.SchedulingNodeAffinity 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.vmmigration.v1.SchedulingNodeAffinity parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.vmmigration.v1.SchedulingNodeAffinity parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.vmmigration.v1.SchedulingNodeAffinity 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.vmmigration.v1.SchedulingNodeAffinity 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.vmmigration.v1.SchedulingNodeAffinity 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.vmmigration.v1.SchedulingNodeAffinity prototype) { + public static Builder newBuilder(com.google.cloud.vmmigration.v1.SchedulingNodeAffinity 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; } /** - * - * *
    * Node Affinity: the configuration of desired nodes onto which this Instance
    * could be scheduled. Based on
@@ -648,23 +578,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.vmmigration.v1.SchedulingNodeAffinity}
    */
-  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.vmmigration.v1.SchedulingNodeAffinity)
       com.google.cloud.vmmigration.v1.SchedulingNodeAffinityOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.vmmigration.v1.VmMigrationProto
-          .internal_static_google_cloud_vmmigration_v1_SchedulingNodeAffinity_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_SchedulingNodeAffinity_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.vmmigration.v1.VmMigrationProto
-          .internal_static_google_cloud_vmmigration_v1_SchedulingNodeAffinity_fieldAccessorTable
+      return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_SchedulingNodeAffinity_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.vmmigration.v1.SchedulingNodeAffinity.class,
-              com.google.cloud.vmmigration.v1.SchedulingNodeAffinity.Builder.class);
+              com.google.cloud.vmmigration.v1.SchedulingNodeAffinity.class, com.google.cloud.vmmigration.v1.SchedulingNodeAffinity.Builder.class);
     }
 
     // Construct using com.google.cloud.vmmigration.v1.SchedulingNodeAffinity.newBuilder()
@@ -672,15 +600,16 @@ 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) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -694,9 +623,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.vmmigration.v1.VmMigrationProto
-          .internal_static_google_cloud_vmmigration_v1_SchedulingNodeAffinity_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_SchedulingNodeAffinity_descriptor;
     }
 
     @java.lang.Override
@@ -715,8 +644,7 @@ public com.google.cloud.vmmigration.v1.SchedulingNodeAffinity build() {
 
     @java.lang.Override
     public com.google.cloud.vmmigration.v1.SchedulingNodeAffinity buildPartial() {
-      com.google.cloud.vmmigration.v1.SchedulingNodeAffinity result =
-          new com.google.cloud.vmmigration.v1.SchedulingNodeAffinity(this);
+      com.google.cloud.vmmigration.v1.SchedulingNodeAffinity result = new com.google.cloud.vmmigration.v1.SchedulingNodeAffinity(this);
       int from_bitField0_ = bitField0_;
       result.key_ = key_;
       result.operator_ = operator_;
@@ -733,39 +661,38 @@ public com.google.cloud.vmmigration.v1.SchedulingNodeAffinity buildPartial() {
     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.vmmigration.v1.SchedulingNodeAffinity) {
-        return mergeFrom((com.google.cloud.vmmigration.v1.SchedulingNodeAffinity) other);
+        return mergeFrom((com.google.cloud.vmmigration.v1.SchedulingNodeAffinity)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -773,8 +700,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.vmmigration.v1.SchedulingNodeAffinity other) {
-      if (other == com.google.cloud.vmmigration.v1.SchedulingNodeAffinity.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.vmmigration.v1.SchedulingNodeAffinity.getDefaultInstance()) return this;
       if (!other.getKey().isEmpty()) {
         key_ = other.key_;
         onChanged();
@@ -811,8 +737,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.cloud.vmmigration.v1.SchedulingNodeAffinity) e.getUnfinishedMessage();
+        parsedMessage = (com.google.cloud.vmmigration.v1.SchedulingNodeAffinity) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -821,25 +746,22 @@ public Builder mergeFrom(
       }
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object key_ = "";
     /**
-     *
-     *
      * 
      * The label key of Node resource to reference.
      * 
* * string key = 1; - * * @return The key. */ public java.lang.String getKey() { java.lang.Object ref = key_; 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(); key_ = s; return s; @@ -848,21 +770,20 @@ public java.lang.String getKey() { } } /** - * - * *
      * The label key of Node resource to reference.
      * 
* * string key = 1; - * * @return The bytes for key. */ - public com.google.protobuf.ByteString getKeyBytes() { + public com.google.protobuf.ByteString + getKeyBytes() { java.lang.Object ref = key_; 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); key_ = b; return b; } else { @@ -870,61 +791,54 @@ public com.google.protobuf.ByteString getKeyBytes() { } } /** - * - * *
      * The label key of Node resource to reference.
      * 
* * string key = 1; - * * @param value The key to set. * @return This builder for chaining. */ - public Builder setKey(java.lang.String value) { + public Builder setKey( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + key_ = value; onChanged(); return this; } /** - * - * *
      * The label key of Node resource to reference.
      * 
* * string key = 1; - * * @return This builder for chaining. */ public Builder clearKey() { - + key_ = getDefaultInstance().getKey(); onChanged(); return this; } /** - * - * *
      * The label key of Node resource to reference.
      * 
* * string key = 1; - * * @param value The bytes for key to set. * @return This builder for chaining. */ - public Builder setKeyBytes(com.google.protobuf.ByteString value) { + public Builder setKeyBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + key_ = value; onChanged(); return this; @@ -932,149 +846,119 @@ public Builder setKeyBytes(com.google.protobuf.ByteString value) { private int operator_ = 0; /** - * - * *
      * The operator to use for the node resources specified in the `values`
      * parameter.
      * 
* * .google.cloud.vmmigration.v1.SchedulingNodeAffinity.Operator operator = 2; - * * @return The enum numeric value on the wire for operator. */ - @java.lang.Override - public int getOperatorValue() { + @java.lang.Override public int getOperatorValue() { return operator_; } /** - * - * *
      * The operator to use for the node resources specified in the `values`
      * parameter.
      * 
* * .google.cloud.vmmigration.v1.SchedulingNodeAffinity.Operator operator = 2; - * * @param value The enum numeric value on the wire for operator to set. * @return This builder for chaining. */ public Builder setOperatorValue(int value) { - + operator_ = value; onChanged(); return this; } /** - * - * *
      * The operator to use for the node resources specified in the `values`
      * parameter.
      * 
* * .google.cloud.vmmigration.v1.SchedulingNodeAffinity.Operator operator = 2; - * * @return The operator. */ @java.lang.Override public com.google.cloud.vmmigration.v1.SchedulingNodeAffinity.Operator getOperator() { @SuppressWarnings("deprecation") - com.google.cloud.vmmigration.v1.SchedulingNodeAffinity.Operator result = - com.google.cloud.vmmigration.v1.SchedulingNodeAffinity.Operator.valueOf(operator_); - return result == null - ? com.google.cloud.vmmigration.v1.SchedulingNodeAffinity.Operator.UNRECOGNIZED - : result; + com.google.cloud.vmmigration.v1.SchedulingNodeAffinity.Operator result = com.google.cloud.vmmigration.v1.SchedulingNodeAffinity.Operator.valueOf(operator_); + return result == null ? com.google.cloud.vmmigration.v1.SchedulingNodeAffinity.Operator.UNRECOGNIZED : result; } /** - * - * *
      * The operator to use for the node resources specified in the `values`
      * parameter.
      * 
* * .google.cloud.vmmigration.v1.SchedulingNodeAffinity.Operator operator = 2; - * * @param value The operator to set. * @return This builder for chaining. */ - public Builder setOperator( - com.google.cloud.vmmigration.v1.SchedulingNodeAffinity.Operator value) { + public Builder setOperator(com.google.cloud.vmmigration.v1.SchedulingNodeAffinity.Operator value) { if (value == null) { throw new NullPointerException(); } - + operator_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The operator to use for the node resources specified in the `values`
      * parameter.
      * 
* * .google.cloud.vmmigration.v1.SchedulingNodeAffinity.Operator operator = 2; - * * @return This builder for chaining. */ public Builder clearOperator() { - + operator_ = 0; onChanged(); return this; } - private com.google.protobuf.LazyStringList values_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList values_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureValuesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { values_ = new com.google.protobuf.LazyStringArrayList(values_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
      * Corresponds to the label values of Node resource.
      * 
* * repeated string values = 3; - * * @return A list containing the values. */ - public com.google.protobuf.ProtocolStringList getValuesList() { + public com.google.protobuf.ProtocolStringList + getValuesList() { return values_.getUnmodifiableView(); } /** - * - * *
      * Corresponds to the label values of Node resource.
      * 
* * repeated string values = 3; - * * @return The count of values. */ public int getValuesCount() { return values_.size(); } /** - * - * *
      * Corresponds to the label values of Node resource.
      * 
* * repeated string values = 3; - * * @param index The index of the element to return. * @return The values at the given index. */ @@ -1082,90 +966,80 @@ public java.lang.String getValues(int index) { return values_.get(index); } /** - * - * *
      * Corresponds to the label values of Node resource.
      * 
* * repeated string values = 3; - * * @param index The index of the value to return. * @return The bytes of the values at the given index. */ - public com.google.protobuf.ByteString getValuesBytes(int index) { + public com.google.protobuf.ByteString + getValuesBytes(int index) { return values_.getByteString(index); } /** - * - * *
      * Corresponds to the label values of Node resource.
      * 
* * repeated string values = 3; - * * @param index The index to set the value at. * @param value The values to set. * @return This builder for chaining. */ - public Builder setValues(int index, java.lang.String value) { + public Builder setValues( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureValuesIsMutable(); + throw new NullPointerException(); + } + ensureValuesIsMutable(); values_.set(index, value); onChanged(); return this; } /** - * - * *
      * Corresponds to the label values of Node resource.
      * 
* * repeated string values = 3; - * * @param value The values to add. * @return This builder for chaining. */ - public Builder addValues(java.lang.String value) { + public Builder addValues( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureValuesIsMutable(); + throw new NullPointerException(); + } + ensureValuesIsMutable(); values_.add(value); onChanged(); return this; } /** - * - * *
      * Corresponds to the label values of Node resource.
      * 
* * repeated string values = 3; - * * @param values The values to add. * @return This builder for chaining. */ - public Builder addAllValues(java.lang.Iterable values) { + public Builder addAllValues( + java.lang.Iterable values) { ensureValuesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, values_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, values_); onChanged(); return this; } /** - * - * *
      * Corresponds to the label values of Node resource.
      * 
* * repeated string values = 3; - * * @return This builder for chaining. */ public Builder clearValues() { @@ -1175,30 +1049,28 @@ public Builder clearValues() { return this; } /** - * - * *
      * Corresponds to the label values of Node resource.
      * 
* * repeated string values = 3; - * * @param value The bytes of the values to add. * @return This builder for chaining. */ - public Builder addValuesBytes(com.google.protobuf.ByteString value) { + public Builder addValuesBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureValuesIsMutable(); values_.add(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); } @@ -1208,12 +1080,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.vmmigration.v1.SchedulingNodeAffinity) } // @@protoc_insertion_point(class_scope:google.cloud.vmmigration.v1.SchedulingNodeAffinity) private static final com.google.cloud.vmmigration.v1.SchedulingNodeAffinity DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.vmmigration.v1.SchedulingNodeAffinity(); } @@ -1222,16 +1094,16 @@ public static com.google.cloud.vmmigration.v1.SchedulingNodeAffinity getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SchedulingNodeAffinity parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new SchedulingNodeAffinity(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SchedulingNodeAffinity parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new SchedulingNodeAffinity(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1246,4 +1118,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.vmmigration.v1.SchedulingNodeAffinity getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/SchedulingNodeAffinityOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/SchedulingNodeAffinityOrBuilder.java similarity index 70% rename from proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/SchedulingNodeAffinityOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/SchedulingNodeAffinityOrBuilder.java index 58bb030..1b3c01a 100644 --- a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/SchedulingNodeAffinityOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/SchedulingNodeAffinityOrBuilder.java @@ -1,128 +1,91 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; -public interface SchedulingNodeAffinityOrBuilder - extends +public interface SchedulingNodeAffinityOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.SchedulingNodeAffinity) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The label key of Node resource to reference.
    * 
* * string key = 1; - * * @return The key. */ java.lang.String getKey(); /** - * - * *
    * The label key of Node resource to reference.
    * 
* * string key = 1; - * * @return The bytes for key. */ - com.google.protobuf.ByteString getKeyBytes(); + com.google.protobuf.ByteString + getKeyBytes(); /** - * - * *
    * The operator to use for the node resources specified in the `values`
    * parameter.
    * 
* * .google.cloud.vmmigration.v1.SchedulingNodeAffinity.Operator operator = 2; - * * @return The enum numeric value on the wire for operator. */ int getOperatorValue(); /** - * - * *
    * The operator to use for the node resources specified in the `values`
    * parameter.
    * 
* * .google.cloud.vmmigration.v1.SchedulingNodeAffinity.Operator operator = 2; - * * @return The operator. */ com.google.cloud.vmmigration.v1.SchedulingNodeAffinity.Operator getOperator(); /** - * - * *
    * Corresponds to the label values of Node resource.
    * 
* * repeated string values = 3; - * * @return A list containing the values. */ - java.util.List getValuesList(); + java.util.List + getValuesList(); /** - * - * *
    * Corresponds to the label values of Node resource.
    * 
* * repeated string values = 3; - * * @return The count of values. */ int getValuesCount(); /** - * - * *
    * Corresponds to the label values of Node resource.
    * 
* * repeated string values = 3; - * * @param index The index of the element to return. * @return The values at the given index. */ java.lang.String getValues(int index); /** - * - * *
    * Corresponds to the label values of Node resource.
    * 
* * repeated string values = 3; - * * @param index The index of the value to return. * @return The bytes of the values at the given index. */ - com.google.protobuf.ByteString getValuesBytes(int index); + com.google.protobuf.ByteString + getValuesBytes(int index); } diff --git a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/Source.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/Source.java similarity index 65% rename from proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/Source.java rename to owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/Source.java index 14d4dd6..8894546 100644 --- a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/Source.java +++ b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/Source.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; /** - * - * *
  * Source message describes a specific vm migration Source resource. It contains
  * the source environment information.
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.cloud.vmmigration.v1.Source}
  */
-public final class Source extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class Source extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.vmmigration.v1.Source)
     SourceOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use Source.newBuilder() to construct.
   private Source(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private Source() {
     name_ = "";
     description_ = "";
@@ -45,15 +27,16 @@ private Source() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new Source();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private Source(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -73,90 +56,78 @@ private Source(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              name_ = s;
-              break;
+            name_ = s;
+            break;
+          }
+          case 18: {
+            com.google.protobuf.Timestamp.Builder subBuilder = null;
+            if (createTime_ != null) {
+              subBuilder = createTime_.toBuilder();
             }
-          case 18:
-            {
-              com.google.protobuf.Timestamp.Builder subBuilder = null;
-              if (createTime_ != null) {
-                subBuilder = createTime_.toBuilder();
-              }
-              createTime_ =
-                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(createTime_);
-                createTime_ = subBuilder.buildPartial();
-              }
-
-              break;
+            createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(createTime_);
+              createTime_ = subBuilder.buildPartial();
             }
-          case 26:
-            {
-              com.google.protobuf.Timestamp.Builder subBuilder = null;
-              if (updateTime_ != null) {
-                subBuilder = updateTime_.toBuilder();
-              }
-              updateTime_ =
-                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(updateTime_);
-                updateTime_ = subBuilder.buildPartial();
-              }
-
-              break;
+
+            break;
+          }
+          case 26: {
+            com.google.protobuf.Timestamp.Builder subBuilder = null;
+            if (updateTime_ != null) {
+              subBuilder = updateTime_.toBuilder();
             }
-          case 34:
-            {
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                labels_ =
-                    com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry);
-                mutable_bitField0_ |= 0x00000001;
-              }
-              com.google.protobuf.MapEntry labels__ =
-                  input.readMessage(
-                      LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-              labels_.getMutableMap().put(labels__.getKey(), labels__.getValue());
-              break;
+            updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(updateTime_);
+              updateTime_ = subBuilder.buildPartial();
             }
-          case 50:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
 
-              description_ = s;
-              break;
+            break;
+          }
+          case 34: {
+            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+              labels_ = com.google.protobuf.MapField.newMapField(
+                  LabelsDefaultEntryHolder.defaultEntry);
+              mutable_bitField0_ |= 0x00000001;
             }
-          case 82:
-            {
-              com.google.cloud.vmmigration.v1.VmwareSourceDetails.Builder subBuilder = null;
-              if (sourceDetailsCase_ == 10) {
-                subBuilder =
-                    ((com.google.cloud.vmmigration.v1.VmwareSourceDetails) sourceDetails_)
-                        .toBuilder();
-              }
-              sourceDetails_ =
-                  input.readMessage(
-                      com.google.cloud.vmmigration.v1.VmwareSourceDetails.parser(),
-                      extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(
-                    (com.google.cloud.vmmigration.v1.VmwareSourceDetails) sourceDetails_);
-                sourceDetails_ = subBuilder.buildPartial();
-              }
-              sourceDetailsCase_ = 10;
-              break;
+            com.google.protobuf.MapEntry
+            labels__ = input.readMessage(
+                LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+            labels_.getMutableMap().put(
+                labels__.getKey(), labels__.getValue());
+            break;
+          }
+          case 50: {
+            java.lang.String s = input.readStringRequireUtf8();
+
+            description_ = s;
+            break;
+          }
+          case 82: {
+            com.google.cloud.vmmigration.v1.VmwareSourceDetails.Builder subBuilder = null;
+            if (sourceDetailsCase_ == 10) {
+              subBuilder = ((com.google.cloud.vmmigration.v1.VmwareSourceDetails) sourceDetails_).toBuilder();
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            sourceDetails_ =
+                input.readMessage(com.google.cloud.vmmigration.v1.VmwareSourceDetails.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom((com.google.cloud.vmmigration.v1.VmwareSourceDetails) sourceDetails_);
+              sourceDetails_ = subBuilder.buildPartial();
             }
+            sourceDetailsCase_ = 10;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
+            }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -164,50 +135,46 @@ private Source(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.vmmigration.v1.VmMigrationProto
-        .internal_static_google_cloud_vmmigration_v1_Source_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_Source_descriptor;
   }
 
   @SuppressWarnings({"rawtypes"})
   @java.lang.Override
-  protected com.google.protobuf.MapField internalGetMapField(int number) {
+  protected com.google.protobuf.MapField internalGetMapField(
+      int number) {
     switch (number) {
       case 4:
         return internalGetLabels();
       default:
-        throw new RuntimeException("Invalid map field number: " + number);
+        throw new RuntimeException(
+            "Invalid map field number: " + number);
     }
   }
-
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.vmmigration.v1.VmMigrationProto
-        .internal_static_google_cloud_vmmigration_v1_Source_fieldAccessorTable
+    return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_Source_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.vmmigration.v1.Source.class,
-            com.google.cloud.vmmigration.v1.Source.Builder.class);
+            com.google.cloud.vmmigration.v1.Source.class, com.google.cloud.vmmigration.v1.Source.Builder.class);
   }
 
   private int sourceDetailsCase_ = 0;
   private java.lang.Object sourceDetails_;
-
   public enum SourceDetailsCase
-      implements
-          com.google.protobuf.Internal.EnumLite,
+      implements com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     VMWARE(10),
     SOURCEDETAILS_NOT_SET(0);
     private final int value;
-
     private SourceDetailsCase(int value) {
       this.value = value;
     }
@@ -223,34 +190,29 @@ public static SourceDetailsCase valueOf(int value) {
 
     public static SourceDetailsCase forNumber(int value) {
       switch (value) {
-        case 10:
-          return VMWARE;
-        case 0:
-          return SOURCEDETAILS_NOT_SET;
-        default:
-          return null;
+        case 10: return VMWARE;
+        case 0: return SOURCEDETAILS_NOT_SET;
+        default: return null;
       }
     }
-
     public int getNumber() {
       return this.value;
     }
   };
 
-  public SourceDetailsCase getSourceDetailsCase() {
-    return SourceDetailsCase.forNumber(sourceDetailsCase_);
+  public SourceDetailsCase
+  getSourceDetailsCase() {
+    return SourceDetailsCase.forNumber(
+        sourceDetailsCase_);
   }
 
   public static final int VMWARE_FIELD_NUMBER = 10;
   /**
-   *
-   *
    * 
    * Vmware type source details.
    * 
* * .google.cloud.vmmigration.v1.VmwareSourceDetails vmware = 10; - * * @return Whether the vmware field is set. */ @java.lang.Override @@ -258,26 +220,21 @@ public boolean hasVmware() { return sourceDetailsCase_ == 10; } /** - * - * *
    * Vmware type source details.
    * 
* * .google.cloud.vmmigration.v1.VmwareSourceDetails vmware = 10; - * * @return The vmware. */ @java.lang.Override public com.google.cloud.vmmigration.v1.VmwareSourceDetails getVmware() { if (sourceDetailsCase_ == 10) { - return (com.google.cloud.vmmigration.v1.VmwareSourceDetails) sourceDetails_; + return (com.google.cloud.vmmigration.v1.VmwareSourceDetails) sourceDetails_; } return com.google.cloud.vmmigration.v1.VmwareSourceDetails.getDefaultInstance(); } /** - * - * *
    * Vmware type source details.
    * 
@@ -287,7 +244,7 @@ public com.google.cloud.vmmigration.v1.VmwareSourceDetails getVmware() { @java.lang.Override public com.google.cloud.vmmigration.v1.VmwareSourceDetailsOrBuilder getVmwareOrBuilder() { if (sourceDetailsCase_ == 10) { - return (com.google.cloud.vmmigration.v1.VmwareSourceDetails) sourceDetails_; + return (com.google.cloud.vmmigration.v1.VmwareSourceDetails) sourceDetails_; } return com.google.cloud.vmmigration.v1.VmwareSourceDetails.getDefaultInstance(); } @@ -295,14 +252,11 @@ public com.google.cloud.vmmigration.v1.VmwareSourceDetailsOrBuilder getVmwareOrB public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Output only. The Source name.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ @java.lang.Override @@ -311,29 +265,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. The Source 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 { @@ -344,15 +298,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int CREATE_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp createTime_; /** - * - * *
    * Output only. The create time timestamp.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ @java.lang.Override @@ -360,15 +310,11 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
    * Output only. The create time timestamp.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ @java.lang.Override @@ -376,14 +322,11 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * Output only. The create time timestamp.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -393,15 +336,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp updateTime_; /** - * - * *
    * Output only. The update time timestamp.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ @java.lang.Override @@ -409,15 +348,11 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** - * - * *
    * Output only. The update time timestamp.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ @java.lang.Override @@ -425,14 +360,11 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** - * - * *
    * Output only. The update time timestamp.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { @@ -440,23 +372,24 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { } public static final int LABELS_FIELD_NUMBER = 4; - private static final class LabelsDefaultEntryHolder { - static final com.google.protobuf.MapEntry defaultEntry = - com.google.protobuf.MapEntry.newDefaultInstance( - com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_Source_LabelsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); + static final com.google.protobuf.MapEntry< + java.lang.String, java.lang.String> defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_Source_LabelsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } - - private com.google.protobuf.MapField labels_; - - private com.google.protobuf.MapField internalGetLabels() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> labels_; + private com.google.protobuf.MapField + internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + LabelsDefaultEntryHolder.defaultEntry); } return labels_; } @@ -465,30 +398,28 @@ public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** - * - * *
    * The labels of the source.
    * 
* * map<string, string> labels = 4; */ + @java.lang.Override - public boolean containsLabels(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsLabels( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetLabels().getMap().containsKey(key); } - /** Use {@link #getLabelsMap()} instead. */ + /** + * Use {@link #getLabelsMap()} instead. + */ @java.lang.Override @java.lang.Deprecated public java.util.Map getLabels() { return getLabelsMap(); } /** - * - * *
    * The labels of the source.
    * 
@@ -496,12 +427,11 @@ public java.util.Map getLabels() { * map<string, string> labels = 4; */ @java.lang.Override + public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** - * - * *
    * The labels of the source.
    * 
@@ -509,16 +439,16 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 4; */ @java.lang.Override - public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.String defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetLabels().getMap(); + + public java.lang.String getLabelsOrDefault( + java.lang.String key, + java.lang.String defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
    * The labels of the source.
    * 
@@ -526,11 +456,12 @@ public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.Strin * map<string, string> labels = 4; */ @java.lang.Override - public java.lang.String getLabelsOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetLabels().getMap(); + + public java.lang.String getLabelsOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -540,14 +471,11 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) { public static final int DESCRIPTION_FIELD_NUMBER = 6; private volatile java.lang.Object description_; /** - * - * *
    * User-provided description of the source.
    * 
* * string description = 6; - * * @return The description. */ @java.lang.Override @@ -556,29 +484,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-provided description of the source.
    * 
* * string description = 6; - * * @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 { @@ -587,7 +515,6 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -599,7 +526,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_); } @@ -609,8 +537,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (updateTime_ != null) { output.writeMessage(3, getUpdateTime()); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( - output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 4); + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetLabels(), + LabelsDefaultEntryHolder.defaultEntry, + 4); if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 6, description_); } @@ -630,28 +562,29 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getCreateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getCreateTime()); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getUpdateTime()); - } - for (java.util.Map.Entry entry : - internalGetLabels().getMap().entrySet()) { - com.google.protobuf.MapEntry labels__ = - LabelsDefaultEntryHolder.defaultEntry - .newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, labels__); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getUpdateTime()); + } + for (java.util.Map.Entry entry + : internalGetLabels().getMap().entrySet()) { + com.google.protobuf.MapEntry + labels__ = LabelsDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, labels__); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, description_); } if (sourceDetailsCase_ == 10) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 10, (com.google.cloud.vmmigration.v1.VmwareSourceDetails) sourceDetails_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(10, (com.google.cloud.vmmigration.v1.VmwareSourceDetails) sourceDetails_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -661,28 +594,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.vmmigration.v1.Source)) { return super.equals(obj); } com.google.cloud.vmmigration.v1.Source other = (com.google.cloud.vmmigration.v1.Source) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime().equals(other.getCreateTime())) return false; + if (!getCreateTime() + .equals(other.getCreateTime())) 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 (!internalGetLabels().equals(other.internalGetLabels())) return false; - if (!getDescription().equals(other.getDescription())) return false; + if (!internalGetLabels().equals( + other.internalGetLabels())) return false; + if (!getDescription() + .equals(other.getDescription())) return false; if (!getSourceDetailsCase().equals(other.getSourceDetailsCase())) return false; switch (sourceDetailsCase_) { case 10: - if (!getVmware().equals(other.getVmware())) return false; + if (!getVmware() + .equals(other.getVmware())) return false; break; case 0: default: @@ -727,104 +666,97 @@ public int hashCode() { return hash; } - public static com.google.cloud.vmmigration.v1.Source parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.vmmigration.v1.Source parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.vmmigration.v1.Source 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.vmmigration.v1.Source parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.vmmigration.v1.Source 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.vmmigration.v1.Source parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.vmmigration.v1.Source 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.vmmigration.v1.Source parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.vmmigration.v1.Source 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.vmmigration.v1.Source parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.vmmigration.v1.Source 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.vmmigration.v1.Source 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.vmmigration.v1.Source 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.vmmigration.v1.Source 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; } /** - * - * *
    * Source message describes a specific vm migration Source resource. It contains
    * the source environment information.
@@ -832,43 +764,43 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.vmmigration.v1.Source}
    */
-  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.vmmigration.v1.Source)
       com.google.cloud.vmmigration.v1.SourceOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.vmmigration.v1.VmMigrationProto
-          .internal_static_google_cloud_vmmigration_v1_Source_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_Source_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMapField(int number) {
+    protected com.google.protobuf.MapField internalGetMapField(
+        int number) {
       switch (number) {
         case 4:
           return internalGetLabels();
         default:
-          throw new RuntimeException("Invalid map field number: " + number);
+          throw new RuntimeException(
+              "Invalid map field number: " + number);
       }
     }
-
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMutableMapField(int number) {
+    protected com.google.protobuf.MapField internalGetMutableMapField(
+        int number) {
       switch (number) {
         case 4:
           return internalGetMutableLabels();
         default:
-          throw new RuntimeException("Invalid map field number: " + number);
+          throw new RuntimeException(
+              "Invalid map field number: " + number);
       }
     }
-
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.vmmigration.v1.VmMigrationProto
-          .internal_static_google_cloud_vmmigration_v1_Source_fieldAccessorTable
+      return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_Source_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.vmmigration.v1.Source.class,
-              com.google.cloud.vmmigration.v1.Source.Builder.class);
+              com.google.cloud.vmmigration.v1.Source.class, com.google.cloud.vmmigration.v1.Source.Builder.class);
     }
 
     // Construct using com.google.cloud.vmmigration.v1.Source.newBuilder()
@@ -876,15 +808,16 @@ 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) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -911,9 +844,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.vmmigration.v1.VmMigrationProto
-          .internal_static_google_cloud_vmmigration_v1_Source_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_Source_descriptor;
     }
 
     @java.lang.Override
@@ -932,8 +865,7 @@ public com.google.cloud.vmmigration.v1.Source build() {
 
     @java.lang.Override
     public com.google.cloud.vmmigration.v1.Source buildPartial() {
-      com.google.cloud.vmmigration.v1.Source result =
-          new com.google.cloud.vmmigration.v1.Source(this);
+      com.google.cloud.vmmigration.v1.Source result = new com.google.cloud.vmmigration.v1.Source(this);
       int from_bitField0_ = bitField0_;
       if (sourceDetailsCase_ == 10) {
         if (vmwareBuilder_ == null) {
@@ -965,39 +897,38 @@ public com.google.cloud.vmmigration.v1.Source buildPartial() {
     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.vmmigration.v1.Source) {
-        return mergeFrom((com.google.cloud.vmmigration.v1.Source) other);
+        return mergeFrom((com.google.cloud.vmmigration.v1.Source)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1016,21 +947,20 @@ public Builder mergeFrom(com.google.cloud.vmmigration.v1.Source other) {
       if (other.hasUpdateTime()) {
         mergeUpdateTime(other.getUpdateTime());
       }
-      internalGetMutableLabels().mergeFrom(other.internalGetLabels());
+      internalGetMutableLabels().mergeFrom(
+          other.internalGetLabels());
       if (!other.getDescription().isEmpty()) {
         description_ = other.description_;
         onChanged();
       }
       switch (other.getSourceDetailsCase()) {
-        case VMWARE:
-          {
-            mergeVmware(other.getVmware());
-            break;
-          }
-        case SOURCEDETAILS_NOT_SET:
-          {
-            break;
-          }
+        case VMWARE: {
+          mergeVmware(other.getVmware());
+          break;
+        }
+        case SOURCEDETAILS_NOT_SET: {
+          break;
+        }
       }
       this.mergeUnknownFields(other.unknownFields);
       onChanged();
@@ -1060,12 +990,12 @@ public Builder mergeFrom(
       }
       return this;
     }
-
     private int sourceDetailsCase_ = 0;
     private java.lang.Object sourceDetails_;
-
-    public SourceDetailsCase getSourceDetailsCase() {
-      return SourceDetailsCase.forNumber(sourceDetailsCase_);
+    public SourceDetailsCase
+        getSourceDetailsCase() {
+      return SourceDetailsCase.forNumber(
+          sourceDetailsCase_);
     }
 
     public Builder clearSourceDetails() {
@@ -1078,19 +1008,13 @@ public Builder clearSourceDetails() {
     private int bitField0_;
 
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.vmmigration.v1.VmwareSourceDetails,
-            com.google.cloud.vmmigration.v1.VmwareSourceDetails.Builder,
-            com.google.cloud.vmmigration.v1.VmwareSourceDetailsOrBuilder>
-        vmwareBuilder_;
+        com.google.cloud.vmmigration.v1.VmwareSourceDetails, com.google.cloud.vmmigration.v1.VmwareSourceDetails.Builder, com.google.cloud.vmmigration.v1.VmwareSourceDetailsOrBuilder> vmwareBuilder_;
     /**
-     *
-     *
      * 
      * Vmware type source details.
      * 
* * .google.cloud.vmmigration.v1.VmwareSourceDetails vmware = 10; - * * @return Whether the vmware field is set. */ @java.lang.Override @@ -1098,14 +1022,11 @@ public boolean hasVmware() { return sourceDetailsCase_ == 10; } /** - * - * *
      * Vmware type source details.
      * 
* * .google.cloud.vmmigration.v1.VmwareSourceDetails vmware = 10; - * * @return The vmware. */ @java.lang.Override @@ -1123,8 +1044,6 @@ public com.google.cloud.vmmigration.v1.VmwareSourceDetails getVmware() { } } /** - * - * *
      * Vmware type source details.
      * 
@@ -1145,8 +1064,6 @@ public Builder setVmware(com.google.cloud.vmmigration.v1.VmwareSourceDetails val return this; } /** - * - * *
      * Vmware type source details.
      * 
@@ -1165,8 +1082,6 @@ public Builder setVmware( return this; } /** - * - * *
      * Vmware type source details.
      * 
@@ -1175,14 +1090,10 @@ public Builder setVmware( */ public Builder mergeVmware(com.google.cloud.vmmigration.v1.VmwareSourceDetails value) { if (vmwareBuilder_ == null) { - if (sourceDetailsCase_ == 10 - && sourceDetails_ - != com.google.cloud.vmmigration.v1.VmwareSourceDetails.getDefaultInstance()) { - sourceDetails_ = - com.google.cloud.vmmigration.v1.VmwareSourceDetails.newBuilder( - (com.google.cloud.vmmigration.v1.VmwareSourceDetails) sourceDetails_) - .mergeFrom(value) - .buildPartial(); + if (sourceDetailsCase_ == 10 && + sourceDetails_ != com.google.cloud.vmmigration.v1.VmwareSourceDetails.getDefaultInstance()) { + sourceDetails_ = com.google.cloud.vmmigration.v1.VmwareSourceDetails.newBuilder((com.google.cloud.vmmigration.v1.VmwareSourceDetails) sourceDetails_) + .mergeFrom(value).buildPartial(); } else { sourceDetails_ = value; } @@ -1198,8 +1109,6 @@ public Builder mergeVmware(com.google.cloud.vmmigration.v1.VmwareSourceDetails v return this; } /** - * - * *
      * Vmware type source details.
      * 
@@ -1223,8 +1132,6 @@ public Builder clearVmware() { return this; } /** - * - * *
      * Vmware type source details.
      * 
@@ -1235,8 +1142,6 @@ public com.google.cloud.vmmigration.v1.VmwareSourceDetails.Builder getVmwareBuil return getVmwareFieldBuilder().getBuilder(); } /** - * - * *
      * Vmware type source details.
      * 
@@ -1255,8 +1160,6 @@ public com.google.cloud.vmmigration.v1.VmwareSourceDetailsOrBuilder getVmwareOrB } } /** - * - * *
      * Vmware type source details.
      * 
@@ -1264,46 +1167,38 @@ public com.google.cloud.vmmigration.v1.VmwareSourceDetailsOrBuilder getVmwareOrB * .google.cloud.vmmigration.v1.VmwareSourceDetails vmware = 10; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.vmmigration.v1.VmwareSourceDetails, - com.google.cloud.vmmigration.v1.VmwareSourceDetails.Builder, - com.google.cloud.vmmigration.v1.VmwareSourceDetailsOrBuilder> + com.google.cloud.vmmigration.v1.VmwareSourceDetails, com.google.cloud.vmmigration.v1.VmwareSourceDetails.Builder, com.google.cloud.vmmigration.v1.VmwareSourceDetailsOrBuilder> getVmwareFieldBuilder() { if (vmwareBuilder_ == null) { if (!(sourceDetailsCase_ == 10)) { sourceDetails_ = com.google.cloud.vmmigration.v1.VmwareSourceDetails.getDefaultInstance(); } - vmwareBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.vmmigration.v1.VmwareSourceDetails, - com.google.cloud.vmmigration.v1.VmwareSourceDetails.Builder, - com.google.cloud.vmmigration.v1.VmwareSourceDetailsOrBuilder>( + vmwareBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.vmmigration.v1.VmwareSourceDetails, com.google.cloud.vmmigration.v1.VmwareSourceDetails.Builder, com.google.cloud.vmmigration.v1.VmwareSourceDetailsOrBuilder>( (com.google.cloud.vmmigration.v1.VmwareSourceDetails) sourceDetails_, getParentForChildren(), isClean()); sourceDetails_ = null; } sourceDetailsCase_ = 10; - onChanged(); - ; + onChanged();; return vmwareBuilder_; } private java.lang.Object name_ = ""; /** - * - * *
      * Output only. The Source 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; @@ -1312,21 +1207,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Output only. The Source 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 { @@ -1334,61 +1228,54 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Output only. The Source 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Output only. The Source name.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Output only. The Source 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) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -1396,58 +1283,39 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.Timestamp createTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - createTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; /** - * - * *
      * Output only. The create time timestamp.
      * 
* - * - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** - * - * *
      * Output only. The create time timestamp.
      * 
* - * - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. The create time timestamp.
      * 
* - * - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -1463,17 +1331,14 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The create time timestamp.
      * 
* - * - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); onChanged(); @@ -1484,21 +1349,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. The create time timestamp.
      * 
* - * - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { if (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -1510,15 +1371,11 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The create time timestamp.
      * 
* - * - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearCreateTime() { if (createTimeBuilder_ == null) { @@ -1532,64 +1389,48 @@ public Builder clearCreateTime() { return this; } /** - * - * *
      * Output only. The create time timestamp.
      * 
* - * - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The create time timestamp.
      * 
* - * - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } } /** - * - * *
      * Output only. The create time timestamp.
      * 
* - * - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 2 [(.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> getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { - createTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getCreateTime(), getParentForChildren(), isClean()); + createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), + getParentForChildren(), + isClean()); createTime_ = null; } return createTimeBuilder_; @@ -1597,58 +1438,39 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { 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. The update time timestamp.
      * 
* - * - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return updateTimeBuilder_ != null || updateTime_ != null; } /** - * - * *
      * Output only. The update time timestamp.
      * 
* - * - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 3 [(.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. The update time timestamp.
      * 
* - * - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { @@ -1664,17 +1486,14 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The update time timestamp.
      * 
* - * - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 3 [(.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(); onChanged(); @@ -1685,21 +1504,17 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. The update time timestamp.
      * 
* - * - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { if (updateTime_ != null) { updateTime_ = - com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); } else { updateTime_ = value; } @@ -1711,15 +1526,11 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The update time timestamp.
      * 
* - * - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearUpdateTime() { if (updateTimeBuilder_ == null) { @@ -1733,84 +1544,69 @@ public Builder clearUpdateTime() { return this; } /** - * - * *
      * Output only. The update time timestamp.
      * 
* - * - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { - + onChanged(); return getUpdateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The update time timestamp.
      * 
* - * - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 3 [(.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. The update time timestamp.
      * 
* - * - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 3 [(.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_; } - private com.google.protobuf.MapField labels_; - - private com.google.protobuf.MapField internalGetLabels() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> labels_; + private com.google.protobuf.MapField + internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + LabelsDefaultEntryHolder.defaultEntry); } return labels_; } - private com.google.protobuf.MapField - internalGetMutableLabels() { - onChanged(); - ; + internalGetMutableLabels() { + onChanged();; if (labels_ == null) { - labels_ = com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); + labels_ = com.google.protobuf.MapField.newMapField( + LabelsDefaultEntryHolder.defaultEntry); } if (!labels_.isMutable()) { labels_ = labels_.copy(); @@ -1822,30 +1618,28 @@ public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** - * - * *
      * The labels of the source.
      * 
* * map<string, string> labels = 4; */ + @java.lang.Override - public boolean containsLabels(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsLabels( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetLabels().getMap().containsKey(key); } - /** Use {@link #getLabelsMap()} instead. */ + /** + * Use {@link #getLabelsMap()} instead. + */ @java.lang.Override @java.lang.Deprecated public java.util.Map getLabels() { return getLabelsMap(); } /** - * - * *
      * The labels of the source.
      * 
@@ -1853,12 +1647,11 @@ public java.util.Map getLabels() { * map<string, string> labels = 4; */ @java.lang.Override + public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** - * - * *
      * The labels of the source.
      * 
@@ -1866,17 +1659,16 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 4; */ @java.lang.Override + public java.lang.String getLabelsOrDefault( - java.lang.String key, java.lang.String defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetLabels().getMap(); + java.lang.String key, + java.lang.String defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
      * The labels of the source.
      * 
@@ -1884,11 +1676,12 @@ public java.lang.String getLabelsOrDefault( * map<string, string> labels = 4; */ @java.lang.Override - public java.lang.String getLabelsOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetLabels().getMap(); + + public java.lang.String getLabelsOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -1896,80 +1689,81 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) { } public Builder clearLabels() { - internalGetMutableLabels().getMutableMap().clear(); + internalGetMutableLabels().getMutableMap() + .clear(); return this; } /** - * - * *
      * The labels of the source.
      * 
* * map<string, string> labels = 4; */ - public Builder removeLabels(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - internalGetMutableLabels().getMutableMap().remove(key); + + public Builder removeLabels( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + internalGetMutableLabels().getMutableMap() + .remove(key); return this; } - /** Use alternate mutation accessors instead. */ + /** + * Use alternate mutation accessors instead. + */ @java.lang.Deprecated - public java.util.Map getMutableLabels() { + public java.util.Map + getMutableLabels() { return internalGetMutableLabels().getMutableMap(); } /** - * - * *
      * The labels of the source.
      * 
* * map<string, string> labels = 4; */ - public Builder putLabels(java.lang.String key, java.lang.String value) { - if (key == null) { - throw new NullPointerException("map key"); - } + public Builder putLabels( + java.lang.String key, + java.lang.String value) { + if (key == null) { throw new NullPointerException("map key"); } if (value == null) { - throw new NullPointerException("map value"); - } + throw new NullPointerException("map value"); +} - internalGetMutableLabels().getMutableMap().put(key, value); + internalGetMutableLabels().getMutableMap() + .put(key, value); return this; } /** - * - * *
      * The labels of the source.
      * 
* * map<string, string> labels = 4; */ - public Builder putAllLabels(java.util.Map values) { - internalGetMutableLabels().getMutableMap().putAll(values); + + public Builder putAllLabels( + java.util.Map values) { + internalGetMutableLabels().getMutableMap() + .putAll(values); return this; } private java.lang.Object description_ = ""; /** - * - * *
      * User-provided description of the source.
      * 
* * string description = 6; - * * @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; @@ -1978,21 +1772,20 @@ public java.lang.String getDescription() { } } /** - * - * *
      * User-provided description of the source.
      * 
* * string description = 6; - * * @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 { @@ -2000,68 +1793,61 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } } /** - * - * *
      * User-provided description of the source.
      * 
* * string description = 6; - * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription(java.lang.String value) { + public Builder setDescription( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + description_ = value; onChanged(); return this; } /** - * - * *
      * User-provided description of the source.
      * 
* * string description = 6; - * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** - * - * *
      * User-provided description of the source.
      * 
* * string description = 6; - * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { + public Builder setDescriptionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = 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); } @@ -2071,12 +1857,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.vmmigration.v1.Source) } // @@protoc_insertion_point(class_scope:google.cloud.vmmigration.v1.Source) private static final com.google.cloud.vmmigration.v1.Source DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.vmmigration.v1.Source(); } @@ -2085,16 +1871,16 @@ public static com.google.cloud.vmmigration.v1.Source getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Source parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Source(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Source parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Source(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2109,4 +1895,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.vmmigration.v1.Source getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/SourceName.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/SourceName.java similarity index 100% rename from proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/SourceName.java rename to owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/SourceName.java diff --git a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/SourceOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/SourceOrBuilder.java similarity index 70% rename from proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/SourceOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/SourceOrBuilder.java index 3b3c707..a03eae5 100644 --- a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/SourceOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/SourceOrBuilder.java @@ -1,55 +1,31 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; -public interface SourceOrBuilder - extends +public interface SourceOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.Source) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Vmware type source details.
    * 
* * .google.cloud.vmmigration.v1.VmwareSourceDetails vmware = 10; - * * @return Whether the vmware field is set. */ boolean hasVmware(); /** - * - * *
    * Vmware type source details.
    * 
* * .google.cloud.vmmigration.v1.VmwareSourceDetails vmware = 10; - * * @return The vmware. */ com.google.cloud.vmmigration.v1.VmwareSourceDetails getVmware(); /** - * - * *
    * Vmware type source details.
    * 
@@ -59,109 +35,80 @@ public interface SourceOrBuilder com.google.cloud.vmmigration.v1.VmwareSourceDetailsOrBuilder getVmwareOrBuilder(); /** - * - * *
    * Output only. The Source name.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Output only. The Source 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(); /** - * - * *
    * Output only. The create time timestamp.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** - * - * *
    * Output only. The create time timestamp.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** - * - * *
    * Output only. The create time timestamp.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** - * - * *
    * Output only. The update time timestamp.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** - * - * *
    * Output only. The update time timestamp.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** - * - * *
    * Output only. The update time timestamp.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** - * - * *
    * The labels of the source.
    * 
@@ -170,31 +117,30 @@ public interface SourceOrBuilder */ int getLabelsCount(); /** - * - * *
    * The labels of the source.
    * 
* * map<string, string> labels = 4; */ - boolean containsLabels(java.lang.String key); - /** Use {@link #getLabelsMap()} instead. */ + boolean containsLabels( + java.lang.String key); + /** + * Use {@link #getLabelsMap()} instead. + */ @java.lang.Deprecated - java.util.Map getLabels(); + java.util.Map + getLabels(); /** - * - * *
    * The labels of the source.
    * 
* * map<string, string> labels = 4; */ - java.util.Map getLabelsMap(); + java.util.Map + getLabelsMap(); /** - * - * *
    * The labels of the source.
    * 
@@ -203,45 +149,40 @@ public interface SourceOrBuilder */ /* nullable */ - java.lang.String getLabelsOrDefault( +java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ - java.lang.String defaultValue); +java.lang.String defaultValue); /** - * - * *
    * The labels of the source.
    * 
* * map<string, string> labels = 4; */ - java.lang.String getLabelsOrThrow(java.lang.String key); + + java.lang.String getLabelsOrThrow( + java.lang.String key); /** - * - * *
    * User-provided description of the source.
    * 
* * string description = 6; - * * @return The description. */ java.lang.String getDescription(); /** - * - * *
    * User-provided description of the source.
    * 
* * string description = 6; - * * @return The bytes for description. */ - com.google.protobuf.ByteString getDescriptionBytes(); + com.google.protobuf.ByteString + getDescriptionBytes(); public com.google.cloud.vmmigration.v1.Source.SourceDetailsCase getSourceDetailsCase(); } diff --git a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/StartMigrationRequest.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/StartMigrationRequest.java similarity index 64% rename from proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/StartMigrationRequest.java rename to owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/StartMigrationRequest.java index 5d8f998..272d1ac 100644 --- a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/StartMigrationRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/StartMigrationRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; /** - * - * *
  * Request message for 'StartMigrationRequest' request.
  * 
* * Protobuf type {@code google.cloud.vmmigration.v1.StartMigrationRequest} */ -public final class StartMigrationRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class StartMigrationRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.vmmigration.v1.StartMigrationRequest) StartMigrationRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use StartMigrationRequest.newBuilder() to construct. private StartMigrationRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private StartMigrationRequest() { migratingVm_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new StartMigrationRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private StartMigrationRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private StartMigrationRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - migratingVm_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + migratingVm_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,41 +73,34 @@ private StartMigrationRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_StartMigrationRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_StartMigrationRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_StartMigrationRequest_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_StartMigrationRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.StartMigrationRequest.class, - com.google.cloud.vmmigration.v1.StartMigrationRequest.Builder.class); + com.google.cloud.vmmigration.v1.StartMigrationRequest.class, com.google.cloud.vmmigration.v1.StartMigrationRequest.Builder.class); } public static final int MIGRATING_VM_FIELD_NUMBER = 1; private volatile java.lang.Object migratingVm_; /** - * - * *
    * Required. The name of the MigratingVm.
    * 
* - * - * string migrating_vm = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string migrating_vm = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The migratingVm. */ @java.lang.Override @@ -134,31 +109,29 @@ public java.lang.String getMigratingVm() { 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(); migratingVm_ = s; return s; } } /** - * - * *
    * Required. The name of the MigratingVm.
    * 
* - * - * string migrating_vm = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string migrating_vm = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for migratingVm. */ @java.lang.Override - public com.google.protobuf.ByteString getMigratingVmBytes() { + public com.google.protobuf.ByteString + getMigratingVmBytes() { java.lang.Object ref = migratingVm_; 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); migratingVm_ = b; return b; } else { @@ -167,7 +140,6 @@ public com.google.protobuf.ByteString getMigratingVmBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -179,7 +151,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(migratingVm_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, migratingVm_); } @@ -203,15 +176,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.vmmigration.v1.StartMigrationRequest)) { return super.equals(obj); } - com.google.cloud.vmmigration.v1.StartMigrationRequest other = - (com.google.cloud.vmmigration.v1.StartMigrationRequest) obj; + com.google.cloud.vmmigration.v1.StartMigrationRequest other = (com.google.cloud.vmmigration.v1.StartMigrationRequest) obj; - if (!getMigratingVm().equals(other.getMigratingVm())) return false; + if (!getMigratingVm() + .equals(other.getMigratingVm())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -231,127 +204,117 @@ public int hashCode() { } public static com.google.cloud.vmmigration.v1.StartMigrationRequest 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.vmmigration.v1.StartMigrationRequest 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.vmmigration.v1.StartMigrationRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.vmmigration.v1.StartMigrationRequest 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.vmmigration.v1.StartMigrationRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.vmmigration.v1.StartMigrationRequest 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.vmmigration.v1.StartMigrationRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.vmmigration.v1.StartMigrationRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.vmmigration.v1.StartMigrationRequest 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.vmmigration.v1.StartMigrationRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.vmmigration.v1.StartMigrationRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.vmmigration.v1.StartMigrationRequest 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.vmmigration.v1.StartMigrationRequest 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.vmmigration.v1.StartMigrationRequest 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.vmmigration.v1.StartMigrationRequest prototype) { + public static Builder newBuilder(com.google.cloud.vmmigration.v1.StartMigrationRequest 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 message for 'StartMigrationRequest' request.
    * 
* * Protobuf type {@code google.cloud.vmmigration.v1.StartMigrationRequest} */ - 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.vmmigration.v1.StartMigrationRequest) com.google.cloud.vmmigration.v1.StartMigrationRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_StartMigrationRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_StartMigrationRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_StartMigrationRequest_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_StartMigrationRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.StartMigrationRequest.class, - com.google.cloud.vmmigration.v1.StartMigrationRequest.Builder.class); + com.google.cloud.vmmigration.v1.StartMigrationRequest.class, com.google.cloud.vmmigration.v1.StartMigrationRequest.Builder.class); } // Construct using com.google.cloud.vmmigration.v1.StartMigrationRequest.newBuilder() @@ -359,15 +322,16 @@ 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) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -377,9 +341,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_StartMigrationRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_StartMigrationRequest_descriptor; } @java.lang.Override @@ -398,8 +362,7 @@ public com.google.cloud.vmmigration.v1.StartMigrationRequest build() { @java.lang.Override public com.google.cloud.vmmigration.v1.StartMigrationRequest buildPartial() { - com.google.cloud.vmmigration.v1.StartMigrationRequest result = - new com.google.cloud.vmmigration.v1.StartMigrationRequest(this); + com.google.cloud.vmmigration.v1.StartMigrationRequest result = new com.google.cloud.vmmigration.v1.StartMigrationRequest(this); result.migratingVm_ = migratingVm_; onBuilt(); return result; @@ -409,39 +372,38 @@ public com.google.cloud.vmmigration.v1.StartMigrationRequest buildPartial() { 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.vmmigration.v1.StartMigrationRequest) { - return mergeFrom((com.google.cloud.vmmigration.v1.StartMigrationRequest) other); + return mergeFrom((com.google.cloud.vmmigration.v1.StartMigrationRequest)other); } else { super.mergeFrom(other); return this; @@ -449,8 +411,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.vmmigration.v1.StartMigrationRequest other) { - if (other == com.google.cloud.vmmigration.v1.StartMigrationRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.vmmigration.v1.StartMigrationRequest.getDefaultInstance()) return this; if (!other.getMigratingVm().isEmpty()) { migratingVm_ = other.migratingVm_; onChanged(); @@ -474,8 +435,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.vmmigration.v1.StartMigrationRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.vmmigration.v1.StartMigrationRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -487,22 +447,18 @@ public Builder mergeFrom( private java.lang.Object migratingVm_ = ""; /** - * - * *
      * Required. The name of the MigratingVm.
      * 
* - * - * string migrating_vm = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string migrating_vm = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The migratingVm. */ public java.lang.String getMigratingVm() { java.lang.Object ref = migratingVm_; 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(); migratingVm_ = s; return s; @@ -511,23 +467,20 @@ public java.lang.String getMigratingVm() { } } /** - * - * *
      * Required. The name of the MigratingVm.
      * 
* - * - * string migrating_vm = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string migrating_vm = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for migratingVm. */ - public com.google.protobuf.ByteString getMigratingVmBytes() { + public com.google.protobuf.ByteString + getMigratingVmBytes() { java.lang.Object ref = migratingVm_; 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); migratingVm_ = b; return b; } else { @@ -535,74 +488,61 @@ public com.google.protobuf.ByteString getMigratingVmBytes() { } } /** - * - * *
      * Required. The name of the MigratingVm.
      * 
* - * - * string migrating_vm = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string migrating_vm = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The migratingVm to set. * @return This builder for chaining. */ - public Builder setMigratingVm(java.lang.String value) { + public Builder setMigratingVm( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + migratingVm_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the MigratingVm.
      * 
* - * - * string migrating_vm = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string migrating_vm = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearMigratingVm() { - + migratingVm_ = getDefaultInstance().getMigratingVm(); onChanged(); return this; } /** - * - * *
      * Required. The name of the MigratingVm.
      * 
* - * - * string migrating_vm = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string migrating_vm = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for migratingVm to set. * @return This builder for chaining. */ - public Builder setMigratingVmBytes(com.google.protobuf.ByteString value) { + public Builder setMigratingVmBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + migratingVm_ = 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); } @@ -612,12 +552,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.vmmigration.v1.StartMigrationRequest) } // @@protoc_insertion_point(class_scope:google.cloud.vmmigration.v1.StartMigrationRequest) private static final com.google.cloud.vmmigration.v1.StartMigrationRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.vmmigration.v1.StartMigrationRequest(); } @@ -626,16 +566,16 @@ public static com.google.cloud.vmmigration.v1.StartMigrationRequest getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public StartMigrationRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new StartMigrationRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public StartMigrationRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new StartMigrationRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -650,4 +590,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.vmmigration.v1.StartMigrationRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/StartMigrationRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/StartMigrationRequestOrBuilder.java new file mode 100644 index 0000000..115a860 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/StartMigrationRequestOrBuilder.java @@ -0,0 +1,29 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/vmmigration/v1/vmmigration.proto + +package com.google.cloud.vmmigration.v1; + +public interface StartMigrationRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.StartMigrationRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The name of the MigratingVm.
+   * 
+ * + * string migrating_vm = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The migratingVm. + */ + java.lang.String getMigratingVm(); + /** + *
+   * Required. The name of the MigratingVm.
+   * 
+ * + * string migrating_vm = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for migratingVm. + */ + com.google.protobuf.ByteString + getMigratingVmBytes(); +} diff --git a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/StartMigrationResponse.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/StartMigrationResponse.java similarity index 65% rename from proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/StartMigrationResponse.java rename to owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/StartMigrationResponse.java index a21ba49..7c029d6 100644 --- a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/StartMigrationResponse.java +++ b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/StartMigrationResponse.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; /** - * - * *
  * Response message for 'StartMigration' request.
  * 
* * Protobuf type {@code google.cloud.vmmigration.v1.StartMigrationResponse} */ -public final class StartMigrationResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class StartMigrationResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.vmmigration.v1.StartMigrationResponse) StartMigrationResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use StartMigrationResponse.newBuilder() to construct. private StartMigrationResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private StartMigrationResponse() {} + private StartMigrationResponse() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new StartMigrationResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private StartMigrationResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,13 +52,13 @@ private StartMigrationResponse( case 0: done = true; break; - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -82,30 +66,27 @@ private StartMigrationResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_StartMigrationResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_StartMigrationResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_StartMigrationResponse_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_StartMigrationResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.StartMigrationResponse.class, - com.google.cloud.vmmigration.v1.StartMigrationResponse.Builder.class); + com.google.cloud.vmmigration.v1.StartMigrationResponse.class, com.google.cloud.vmmigration.v1.StartMigrationResponse.Builder.class); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -117,7 +98,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 { unknownFields.writeTo(output); } @@ -135,13 +117,12 @@ 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.vmmigration.v1.StartMigrationResponse)) { return super.equals(obj); } - com.google.cloud.vmmigration.v1.StartMigrationResponse other = - (com.google.cloud.vmmigration.v1.StartMigrationResponse) obj; + com.google.cloud.vmmigration.v1.StartMigrationResponse other = (com.google.cloud.vmmigration.v1.StartMigrationResponse) obj; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -160,127 +141,117 @@ public int hashCode() { } public static com.google.cloud.vmmigration.v1.StartMigrationResponse 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.vmmigration.v1.StartMigrationResponse 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.vmmigration.v1.StartMigrationResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.vmmigration.v1.StartMigrationResponse 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.vmmigration.v1.StartMigrationResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.vmmigration.v1.StartMigrationResponse 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.vmmigration.v1.StartMigrationResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.vmmigration.v1.StartMigrationResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.vmmigration.v1.StartMigrationResponse 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.vmmigration.v1.StartMigrationResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.vmmigration.v1.StartMigrationResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.vmmigration.v1.StartMigrationResponse 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.vmmigration.v1.StartMigrationResponse 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.vmmigration.v1.StartMigrationResponse 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.vmmigration.v1.StartMigrationResponse prototype) { + public static Builder newBuilder(com.google.cloud.vmmigration.v1.StartMigrationResponse 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; } /** - * - * *
    * Response message for 'StartMigration' request.
    * 
* * Protobuf type {@code google.cloud.vmmigration.v1.StartMigrationResponse} */ - 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.vmmigration.v1.StartMigrationResponse) com.google.cloud.vmmigration.v1.StartMigrationResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_StartMigrationResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_StartMigrationResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_StartMigrationResponse_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_StartMigrationResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.StartMigrationResponse.class, - com.google.cloud.vmmigration.v1.StartMigrationResponse.Builder.class); + com.google.cloud.vmmigration.v1.StartMigrationResponse.class, com.google.cloud.vmmigration.v1.StartMigrationResponse.Builder.class); } // Construct using com.google.cloud.vmmigration.v1.StartMigrationResponse.newBuilder() @@ -288,15 +259,16 @@ 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) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -304,9 +276,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_StartMigrationResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_StartMigrationResponse_descriptor; } @java.lang.Override @@ -325,8 +297,7 @@ public com.google.cloud.vmmigration.v1.StartMigrationResponse build() { @java.lang.Override public com.google.cloud.vmmigration.v1.StartMigrationResponse buildPartial() { - com.google.cloud.vmmigration.v1.StartMigrationResponse result = - new com.google.cloud.vmmigration.v1.StartMigrationResponse(this); + com.google.cloud.vmmigration.v1.StartMigrationResponse result = new com.google.cloud.vmmigration.v1.StartMigrationResponse(this); onBuilt(); return result; } @@ -335,39 +306,38 @@ public com.google.cloud.vmmigration.v1.StartMigrationResponse buildPartial() { 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.vmmigration.v1.StartMigrationResponse) { - return mergeFrom((com.google.cloud.vmmigration.v1.StartMigrationResponse) other); + return mergeFrom((com.google.cloud.vmmigration.v1.StartMigrationResponse)other); } else { super.mergeFrom(other); return this; @@ -375,8 +345,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.vmmigration.v1.StartMigrationResponse other) { - if (other == com.google.cloud.vmmigration.v1.StartMigrationResponse.getDefaultInstance()) - return this; + if (other == com.google.cloud.vmmigration.v1.StartMigrationResponse.getDefaultInstance()) return this; this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -396,8 +365,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.vmmigration.v1.StartMigrationResponse) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.vmmigration.v1.StartMigrationResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -406,9 +374,9 @@ public Builder mergeFrom( } 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); } @@ -418,12 +386,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.vmmigration.v1.StartMigrationResponse) } // @@protoc_insertion_point(class_scope:google.cloud.vmmigration.v1.StartMigrationResponse) private static final com.google.cloud.vmmigration.v1.StartMigrationResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.vmmigration.v1.StartMigrationResponse(); } @@ -432,16 +400,16 @@ public static com.google.cloud.vmmigration.v1.StartMigrationResponse getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public StartMigrationResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new StartMigrationResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public StartMigrationResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new StartMigrationResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -456,4 +424,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.vmmigration.v1.StartMigrationResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/StartMigrationResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/StartMigrationResponseOrBuilder.java new file mode 100644 index 0000000..7998470 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/StartMigrationResponseOrBuilder.java @@ -0,0 +1,9 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/vmmigration/v1/vmmigration.proto + +package com.google.cloud.vmmigration.v1; + +public interface StartMigrationResponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.StartMigrationResponse) + com.google.protobuf.MessageOrBuilder { +} diff --git a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/TargetProject.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/TargetProject.java similarity index 65% rename from proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/TargetProject.java rename to owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/TargetProject.java index c1e7337..c26a746 100644 --- a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/TargetProject.java +++ b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/TargetProject.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; /** - * - * *
  * TargetProject message represents a target Compute Engine project for a
  * migration or a clone.
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.cloud.vmmigration.v1.TargetProject}
  */
-public final class TargetProject extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class TargetProject extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.vmmigration.v1.TargetProject)
     TargetProjectOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use TargetProject.newBuilder() to construct.
   private TargetProject(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private TargetProject() {
     name_ = "";
     project_ = "";
@@ -46,15 +28,16 @@ private TargetProject() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new TargetProject();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private TargetProject(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -73,64 +56,57 @@ private TargetProject(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              name_ = s;
-              break;
-            }
-          case 18:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            name_ = s;
+            break;
+          }
+          case 18: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              project_ = s;
-              break;
-            }
-          case 26:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            project_ = s;
+            break;
+          }
+          case 26: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              description_ = s;
-              break;
+            description_ = s;
+            break;
+          }
+          case 34: {
+            com.google.protobuf.Timestamp.Builder subBuilder = null;
+            if (createTime_ != null) {
+              subBuilder = createTime_.toBuilder();
             }
-          case 34:
-            {
-              com.google.protobuf.Timestamp.Builder subBuilder = null;
-              if (createTime_ != null) {
-                subBuilder = createTime_.toBuilder();
-              }
-              createTime_ =
-                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(createTime_);
-                createTime_ = subBuilder.buildPartial();
-              }
-
-              break;
+            createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(createTime_);
+              createTime_ = subBuilder.buildPartial();
             }
-          case 42:
-            {
-              com.google.protobuf.Timestamp.Builder subBuilder = null;
-              if (updateTime_ != null) {
-                subBuilder = updateTime_.toBuilder();
-              }
-              updateTime_ =
-                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(updateTime_);
-                updateTime_ = subBuilder.buildPartial();
-              }
-
-              break;
+
+            break;
+          }
+          case 42: {
+            com.google.protobuf.Timestamp.Builder subBuilder = null;
+            if (updateTime_ != null) {
+              subBuilder = updateTime_.toBuilder();
+            }
+            updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(updateTime_);
+              updateTime_ = subBuilder.buildPartial();
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -138,39 +114,34 @@ private TargetProject(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.vmmigration.v1.VmMigrationProto
-        .internal_static_google_cloud_vmmigration_v1_TargetProject_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_TargetProject_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.vmmigration.v1.VmMigrationProto
-        .internal_static_google_cloud_vmmigration_v1_TargetProject_fieldAccessorTable
+    return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_TargetProject_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.vmmigration.v1.TargetProject.class,
-            com.google.cloud.vmmigration.v1.TargetProject.Builder.class);
+            com.google.cloud.vmmigration.v1.TargetProject.class, com.google.cloud.vmmigration.v1.TargetProject.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
-   *
-   *
    * 
-   * The name of the target project.
+   * Output only. The name of the target project.
    * 
* - * string name = 1; - * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The name. */ @java.lang.Override @@ -179,29 +150,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 target project.
+   * Output only. The name of the target project.
    * 
* - * string name = 1; - * + * 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 { @@ -212,14 +183,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int PROJECT_FIELD_NUMBER = 2; private volatile java.lang.Object project_; /** - * - * *
    * The target project ID (number) or project name.
    * 
* * string project = 2; - * * @return The project. */ @java.lang.Override @@ -228,29 +196,29 @@ public java.lang.String getProject() { 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(); project_ = s; return s; } } /** - * - * *
    * The target project ID (number) or project name.
    * 
* * string project = 2; - * * @return The bytes for project. */ @java.lang.Override - public com.google.protobuf.ByteString getProjectBytes() { + public com.google.protobuf.ByteString + getProjectBytes() { java.lang.Object ref = project_; 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); project_ = b; return b; } else { @@ -261,14 +229,11 @@ public com.google.protobuf.ByteString getProjectBytes() { public static final int DESCRIPTION_FIELD_NUMBER = 3; private volatile java.lang.Object description_; /** - * - * *
    * The target project's description.
    * 
* * string description = 3; - * * @return The description. */ @java.lang.Override @@ -277,29 +242,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; } } /** - * - * *
    * The target project's 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 { @@ -310,16 +275,12 @@ public com.google.protobuf.ByteString getDescriptionBytes() { public static final int CREATE_TIME_FIELD_NUMBER = 4; private com.google.protobuf.Timestamp createTime_; /** - * - * *
-   * Output only. The time this target project resource was created (not related to when the
-   * Compute Engine project it points to was created).
+   * Output only. The time this target project resource was created (not related
+   * to when the Compute Engine project it points to was created).
    * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ @java.lang.Override @@ -327,16 +288,12 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
-   * Output only. The time this target project resource was created (not related to when the
-   * Compute Engine project it points to was created).
+   * Output only. The time this target project resource was created (not related
+   * to when the Compute Engine project it points to was created).
    * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ @java.lang.Override @@ -344,15 +301,12 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
-   * Output only. The time this target project resource was created (not related to when the
-   * Compute Engine project it points to was created).
+   * Output only. The time this target project resource was created (not related
+   * to when the Compute Engine project it points to was created).
    * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -362,15 +316,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 5; private com.google.protobuf.Timestamp updateTime_; /** - * - * *
    * Output only. The last time the target project resource was updated.
    * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ @java.lang.Override @@ -378,15 +328,11 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** - * - * *
    * Output only. The last time the target project resource was updated.
    * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ @java.lang.Override @@ -394,14 +340,11 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** - * - * *
    * Output only. The last time the target project resource was updated.
    * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { @@ -409,7 +352,6 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -421,7 +363,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_); } @@ -456,10 +399,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, description_); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getCreateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getCreateTime()); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getUpdateTime()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -469,24 +414,28 @@ 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.vmmigration.v1.TargetProject)) { return super.equals(obj); } - com.google.cloud.vmmigration.v1.TargetProject other = - (com.google.cloud.vmmigration.v1.TargetProject) obj; + com.google.cloud.vmmigration.v1.TargetProject other = (com.google.cloud.vmmigration.v1.TargetProject) obj; - if (!getName().equals(other.getName())) return false; - if (!getProject().equals(other.getProject())) return false; - if (!getDescription().equals(other.getDescription())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getProject() + .equals(other.getProject())) return false; + if (!getDescription() + .equals(other.getDescription())) return false; if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime().equals(other.getCreateTime())) return false; + if (!getCreateTime() + .equals(other.getCreateTime())) 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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -518,104 +467,97 @@ public int hashCode() { return hash; } - public static com.google.cloud.vmmigration.v1.TargetProject parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.vmmigration.v1.TargetProject parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.vmmigration.v1.TargetProject 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.vmmigration.v1.TargetProject parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.vmmigration.v1.TargetProject 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.vmmigration.v1.TargetProject parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.vmmigration.v1.TargetProject 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.vmmigration.v1.TargetProject parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.vmmigration.v1.TargetProject 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.vmmigration.v1.TargetProject parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.vmmigration.v1.TargetProject parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.vmmigration.v1.TargetProject 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.vmmigration.v1.TargetProject 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.vmmigration.v1.TargetProject 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.vmmigration.v1.TargetProject 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; } /** - * - * *
    * TargetProject message represents a target Compute Engine project for a
    * migration or a clone.
@@ -623,23 +565,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.vmmigration.v1.TargetProject}
    */
-  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.vmmigration.v1.TargetProject)
       com.google.cloud.vmmigration.v1.TargetProjectOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.vmmigration.v1.VmMigrationProto
-          .internal_static_google_cloud_vmmigration_v1_TargetProject_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_TargetProject_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.vmmigration.v1.VmMigrationProto
-          .internal_static_google_cloud_vmmigration_v1_TargetProject_fieldAccessorTable
+      return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_TargetProject_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.vmmigration.v1.TargetProject.class,
-              com.google.cloud.vmmigration.v1.TargetProject.Builder.class);
+              com.google.cloud.vmmigration.v1.TargetProject.class, com.google.cloud.vmmigration.v1.TargetProject.Builder.class);
     }
 
     // Construct using com.google.cloud.vmmigration.v1.TargetProject.newBuilder()
@@ -647,15 +587,16 @@ 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) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -681,9 +622,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.vmmigration.v1.VmMigrationProto
-          .internal_static_google_cloud_vmmigration_v1_TargetProject_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_TargetProject_descriptor;
     }
 
     @java.lang.Override
@@ -702,8 +643,7 @@ public com.google.cloud.vmmigration.v1.TargetProject build() {
 
     @java.lang.Override
     public com.google.cloud.vmmigration.v1.TargetProject buildPartial() {
-      com.google.cloud.vmmigration.v1.TargetProject result =
-          new com.google.cloud.vmmigration.v1.TargetProject(this);
+      com.google.cloud.vmmigration.v1.TargetProject result = new com.google.cloud.vmmigration.v1.TargetProject(this);
       result.name_ = name_;
       result.project_ = project_;
       result.description_ = description_;
@@ -725,39 +665,38 @@ public com.google.cloud.vmmigration.v1.TargetProject buildPartial() {
     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.vmmigration.v1.TargetProject) {
-        return mergeFrom((com.google.cloud.vmmigration.v1.TargetProject) other);
+        return mergeFrom((com.google.cloud.vmmigration.v1.TargetProject)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -815,20 +754,18 @@ public Builder mergeFrom(
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
-     * The name of the target project.
+     * Output only. The name of the target project.
      * 
* - * string name = 1; - * + * 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; @@ -837,21 +774,20 @@ public java.lang.String getName() { } } /** - * - * *
-     * The name of the target project.
+     * Output only. The name of the target project.
      * 
* - * string name = 1; - * + * 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 { @@ -859,61 +795,54 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
-     * The name of the target project.
+     * Output only. The name of the target project.
      * 
* - * string name = 1; - * + * 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
-     * The name of the target project.
+     * Output only. The name of the target project.
      * 
* - * string name = 1; - * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
-     * The name of the target project.
+     * Output only. The name of the target project.
      * 
* - * string name = 1; - * + * 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) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -921,20 +850,18 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object project_ = ""; /** - * - * *
      * The target project ID (number) or project name.
      * 
* * string project = 2; - * * @return The project. */ public java.lang.String getProject() { java.lang.Object ref = project_; 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(); project_ = s; return s; @@ -943,21 +870,20 @@ public java.lang.String getProject() { } } /** - * - * *
      * The target project ID (number) or project name.
      * 
* * string project = 2; - * * @return The bytes for project. */ - public com.google.protobuf.ByteString getProjectBytes() { + public com.google.protobuf.ByteString + getProjectBytes() { java.lang.Object ref = project_; 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); project_ = b; return b; } else { @@ -965,61 +891,54 @@ public com.google.protobuf.ByteString getProjectBytes() { } } /** - * - * *
      * The target project ID (number) or project name.
      * 
* * string project = 2; - * * @param value The project to set. * @return This builder for chaining. */ - public Builder setProject(java.lang.String value) { + public Builder setProject( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + project_ = value; onChanged(); return this; } /** - * - * *
      * The target project ID (number) or project name.
      * 
* * string project = 2; - * * @return This builder for chaining. */ public Builder clearProject() { - + project_ = getDefaultInstance().getProject(); onChanged(); return this; } /** - * - * *
      * The target project ID (number) or project name.
      * 
* * string project = 2; - * * @param value The bytes for project to set. * @return This builder for chaining. */ - public Builder setProjectBytes(com.google.protobuf.ByteString value) { + public Builder setProjectBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + project_ = value; onChanged(); return this; @@ -1027,20 +946,18 @@ public Builder setProjectBytes(com.google.protobuf.ByteString value) { private java.lang.Object description_ = ""; /** - * - * *
      * The target project's 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; @@ -1049,21 +966,20 @@ public java.lang.String getDescription() { } } /** - * - * *
      * The target project's 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 { @@ -1071,61 +987,54 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } } /** - * - * *
      * The target project's description.
      * 
* * string description = 3; - * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription(java.lang.String value) { + public Builder setDescription( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + description_ = value; onChanged(); return this; } /** - * - * *
      * The target project's description.
      * 
* * string description = 3; - * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** - * - * *
      * The target project's 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) { + public Builder setDescriptionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = value; onChanged(); return this; @@ -1133,61 +1042,42 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.Timestamp createTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - createTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; /** - * - * *
-     * Output only. The time this target project resource was created (not related to when the
-     * Compute Engine project it points to was created).
+     * Output only. The time this target project resource was created (not related
+     * to when the Compute Engine project it points to was created).
      * 
* - * - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** - * - * *
-     * Output only. The time this target project resource was created (not related to when the
-     * Compute Engine project it points to was created).
+     * Output only. The time this target project resource was created (not related
+     * to when the Compute Engine project it points to was created).
      * 
* - * - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** - * - * *
-     * Output only. The time this target project resource was created (not related to when the
-     * Compute Engine project it points to was created).
+     * Output only. The time this target project resource was created (not related
+     * to when the Compute Engine project it points to was created).
      * 
* - * - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -1203,18 +1093,15 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
-     * Output only. The time this target project resource was created (not related to when the
-     * Compute Engine project it points to was created).
+     * Output only. The time this target project resource was created (not related
+     * to when the Compute Engine project it points to was created).
      * 
* - * - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); onChanged(); @@ -1225,22 +1112,18 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
-     * Output only. The time this target project resource was created (not related to when the
-     * Compute Engine project it points to was created).
+     * Output only. The time this target project resource was created (not related
+     * to when the Compute Engine project it points to was created).
      * 
* - * - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { if (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -1252,16 +1135,12 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
-     * Output only. The time this target project resource was created (not related to when the
-     * Compute Engine project it points to was created).
+     * Output only. The time this target project resource was created (not related
+     * to when the Compute Engine project it points to was created).
      * 
* - * - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearCreateTime() { if (createTimeBuilder_ == null) { @@ -1275,67 +1154,51 @@ public Builder clearCreateTime() { return this; } /** - * - * *
-     * Output only. The time this target project resource was created (not related to when the
-     * Compute Engine project it points to was created).
+     * Output only. The time this target project resource was created (not related
+     * to when the Compute Engine project it points to was created).
      * 
* - * - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
-     * Output only. The time this target project resource was created (not related to when the
-     * Compute Engine project it points to was created).
+     * Output only. The time this target project resource was created (not related
+     * to when the Compute Engine project it points to was created).
      * 
* - * - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } } /** - * - * *
-     * Output only. The time this target project resource was created (not related to when the
-     * Compute Engine project it points to was created).
+     * Output only. The time this target project resource was created (not related
+     * to when the Compute Engine project it points to was created).
      * 
* - * - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_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> getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { - createTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getCreateTime(), getParentForChildren(), isClean()); + createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), + getParentForChildren(), + isClean()); createTime_ = null; } return createTimeBuilder_; @@ -1343,58 +1206,39 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { 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. The last time the target project resource was updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return updateTimeBuilder_ != null || updateTime_ != null; } /** - * - * *
      * Output only. The last time the target project resource was updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 5 [(.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. The last time the target project resource was updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { @@ -1410,17 +1254,14 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The last time the target project resource was updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 5 [(.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(); onChanged(); @@ -1431,21 +1272,17 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. The last time the target project resource was updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { if (updateTime_ != null) { updateTime_ = - com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); } else { updateTime_ = value; } @@ -1457,15 +1294,11 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The last time the target project resource was updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearUpdateTime() { if (updateTimeBuilder_ == null) { @@ -1479,71 +1312,55 @@ public Builder clearUpdateTime() { return this; } /** - * - * *
      * Output only. The last time the target project resource was updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { - + onChanged(); return getUpdateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The last time the target project resource was updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 5 [(.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. The last time the target project resource was updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_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> 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_; } - @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); } @@ -1553,12 +1370,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.vmmigration.v1.TargetProject) } // @@protoc_insertion_point(class_scope:google.cloud.vmmigration.v1.TargetProject) private static final com.google.cloud.vmmigration.v1.TargetProject DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.vmmigration.v1.TargetProject(); } @@ -1567,16 +1384,16 @@ public static com.google.cloud.vmmigration.v1.TargetProject getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TargetProject parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new TargetProject(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TargetProject parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new TargetProject(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1591,4 +1408,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.vmmigration.v1.TargetProject getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/TargetProjectName.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/TargetProjectName.java similarity index 100% rename from proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/TargetProjectName.java rename to owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/TargetProjectName.java diff --git a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/TargetProjectOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/TargetProjectOrBuilder.java similarity index 61% rename from proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/TargetProjectOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/TargetProjectOrBuilder.java index e410927..c860ae1 100644 --- a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/TargetProjectOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/TargetProjectOrBuilder.java @@ -1,179 +1,126 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; -public interface TargetProjectOrBuilder - extends +public interface TargetProjectOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.TargetProject) com.google.protobuf.MessageOrBuilder { /** - * - * *
-   * The name of the target project.
+   * Output only. The name of the target project.
    * 
* - * string name = 1; - * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The name. */ java.lang.String getName(); /** - * - * *
-   * The name of the target project.
+   * Output only. The name of the target project.
    * 
* - * string name = 1; - * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * The target project ID (number) or project name.
    * 
* * string project = 2; - * * @return The project. */ java.lang.String getProject(); /** - * - * *
    * The target project ID (number) or project name.
    * 
* * string project = 2; - * * @return The bytes for project. */ - com.google.protobuf.ByteString getProjectBytes(); + com.google.protobuf.ByteString + getProjectBytes(); /** - * - * *
    * The target project's description.
    * 
* * string description = 3; - * * @return The description. */ java.lang.String getDescription(); /** - * - * *
    * The target project's description.
    * 
* * string description = 3; - * * @return The bytes for description. */ - com.google.protobuf.ByteString getDescriptionBytes(); + com.google.protobuf.ByteString + getDescriptionBytes(); /** - * - * *
-   * Output only. The time this target project resource was created (not related to when the
-   * Compute Engine project it points to was created).
+   * Output only. The time this target project resource was created (not related
+   * to when the Compute Engine project it points to was created).
    * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** - * - * *
-   * Output only. The time this target project resource was created (not related to when the
-   * Compute Engine project it points to was created).
+   * Output only. The time this target project resource was created (not related
+   * to when the Compute Engine project it points to was created).
    * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** - * - * *
-   * Output only. The time this target project resource was created (not related to when the
-   * Compute Engine project it points to was created).
+   * Output only. The time this target project resource was created (not related
+   * to when the Compute Engine project it points to was created).
    * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** - * - * *
    * Output only. The last time the target project resource was updated.
    * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** - * - * *
    * Output only. The last time the target project resource was updated.
    * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** - * - * *
    * Output only. The last time the target project resource was updated.
    * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); } diff --git a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/UpdateGroupRequest.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/UpdateGroupRequest.java similarity index 75% rename from proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/UpdateGroupRequest.java rename to owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/UpdateGroupRequest.java index a474aa9..3050c75 100644 --- a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/UpdateGroupRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/UpdateGroupRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; /** - * - * *
  * Update message for 'UpdateGroups' request.
  * 
* * Protobuf type {@code google.cloud.vmmigration.v1.UpdateGroupRequest} */ -public final class UpdateGroupRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class UpdateGroupRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.vmmigration.v1.UpdateGroupRequest) UpdateGroupRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use UpdateGroupRequest.newBuilder() to construct. private UpdateGroupRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UpdateGroupRequest() { requestId_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UpdateGroupRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private UpdateGroupRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,51 +53,45 @@ private UpdateGroupRequest( case 0: done = true; break; - case 10: - { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); - } - updateMask_ = - input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); } - case 18: - { - com.google.cloud.vmmigration.v1.Group.Builder subBuilder = null; - if (group_ != null) { - subBuilder = group_.toBuilder(); - } - group_ = - input.readMessage( - com.google.cloud.vmmigration.v1.Group.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(group_); - group_ = subBuilder.buildPartial(); - } - - break; + updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - requestId_ = s; - break; + break; + } + case 18: { + com.google.cloud.vmmigration.v1.Group.Builder subBuilder = null; + if (group_ != null) { + subBuilder = group_.toBuilder(); + } + group_ = input.readMessage(com.google.cloud.vmmigration.v1.Group.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(group_); + group_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + + requestId_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -122,33 +99,29 @@ private UpdateGroupRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_UpdateGroupRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_UpdateGroupRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_UpdateGroupRequest_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_UpdateGroupRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.UpdateGroupRequest.class, - com.google.cloud.vmmigration.v1.UpdateGroupRequest.Builder.class); + com.google.cloud.vmmigration.v1.UpdateGroupRequest.class, com.google.cloud.vmmigration.v1.UpdateGroupRequest.Builder.class); } public static final int UPDATE_MASK_FIELD_NUMBER = 1; private com.google.protobuf.FieldMask updateMask_; /** - * - * *
    * Field mask is used to specify the fields to be overwritten in the
    * Group resource by the update.
@@ -158,7 +131,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * .google.protobuf.FieldMask update_mask = 1; - * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -166,8 +138,6 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** - * - * *
    * Field mask is used to specify the fields to be overwritten in the
    * Group resource by the update.
@@ -177,7 +147,6 @@ public boolean hasUpdateMask() {
    * 
* * .google.protobuf.FieldMask update_mask = 1; - * * @return The updateMask. */ @java.lang.Override @@ -185,8 +154,6 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** - * - * *
    * Field mask is used to specify the fields to be overwritten in the
    * Group resource by the update.
@@ -205,15 +172,11 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
   public static final int GROUP_FIELD_NUMBER = 2;
   private com.google.cloud.vmmigration.v1.Group group_;
   /**
-   *
-   *
    * 
    * Required. The update request body.
    * 
* - * .google.cloud.vmmigration.v1.Group group = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.vmmigration.v1.Group group = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the group field is set. */ @java.lang.Override @@ -221,15 +184,11 @@ public boolean hasGroup() { return group_ != null; } /** - * - * *
    * Required. The update request body.
    * 
* - * .google.cloud.vmmigration.v1.Group group = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.vmmigration.v1.Group group = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The group. */ @java.lang.Override @@ -237,14 +196,11 @@ public com.google.cloud.vmmigration.v1.Group getGroup() { return group_ == null ? com.google.cloud.vmmigration.v1.Group.getDefaultInstance() : group_; } /** - * - * *
    * Required. The update request body.
    * 
* - * .google.cloud.vmmigration.v1.Group group = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.vmmigration.v1.Group group = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.vmmigration.v1.GroupOrBuilder getGroupOrBuilder() { @@ -254,8 +210,6 @@ public com.google.cloud.vmmigration.v1.GroupOrBuilder getGroupOrBuilder() { public static final int REQUEST_ID_FIELD_NUMBER = 3; private volatile java.lang.Object requestId_; /** - * - * *
    * A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -271,7 +225,6 @@ public com.google.cloud.vmmigration.v1.GroupOrBuilder getGroupOrBuilder() {
    * 
* * string request_id = 3; - * * @return The requestId. */ @java.lang.Override @@ -280,15 +233,14 @@ public java.lang.String getRequestId() { 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(); requestId_ = s; return s; } } /** - * - * *
    * A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -304,15 +256,16 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 3; - * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; 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); requestId_ = b; return b; } else { @@ -321,7 +274,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -333,7 +285,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 (updateMask_ != null) { output.writeMessage(1, getUpdateMask()); } @@ -353,10 +306,12 @@ public int getSerializedSize() { size = 0; if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getUpdateMask()); } if (group_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getGroup()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getGroup()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, requestId_); @@ -369,23 +324,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.vmmigration.v1.UpdateGroupRequest)) { return super.equals(obj); } - com.google.cloud.vmmigration.v1.UpdateGroupRequest other = - (com.google.cloud.vmmigration.v1.UpdateGroupRequest) obj; + com.google.cloud.vmmigration.v1.UpdateGroupRequest other = (com.google.cloud.vmmigration.v1.UpdateGroupRequest) obj; if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask().equals(other.getUpdateMask())) return false; + if (!getUpdateMask() + .equals(other.getUpdateMask())) return false; } if (hasGroup() != other.hasGroup()) return false; if (hasGroup()) { - if (!getGroup().equals(other.getGroup())) return false; + if (!getGroup() + .equals(other.getGroup())) return false; } - if (!getRequestId().equals(other.getRequestId())) return false; + if (!getRequestId() + .equals(other.getRequestId())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -413,126 +370,117 @@ public int hashCode() { } public static com.google.cloud.vmmigration.v1.UpdateGroupRequest 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.vmmigration.v1.UpdateGroupRequest 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.vmmigration.v1.UpdateGroupRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.vmmigration.v1.UpdateGroupRequest 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.vmmigration.v1.UpdateGroupRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.vmmigration.v1.UpdateGroupRequest 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.vmmigration.v1.UpdateGroupRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.vmmigration.v1.UpdateGroupRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.vmmigration.v1.UpdateGroupRequest 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.vmmigration.v1.UpdateGroupRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.vmmigration.v1.UpdateGroupRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.vmmigration.v1.UpdateGroupRequest 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.vmmigration.v1.UpdateGroupRequest 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.vmmigration.v1.UpdateGroupRequest 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.vmmigration.v1.UpdateGroupRequest 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; } /** - * - * *
    * Update message for 'UpdateGroups' request.
    * 
* * Protobuf type {@code google.cloud.vmmigration.v1.UpdateGroupRequest} */ - 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.vmmigration.v1.UpdateGroupRequest) com.google.cloud.vmmigration.v1.UpdateGroupRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_UpdateGroupRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_UpdateGroupRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_UpdateGroupRequest_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_UpdateGroupRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.UpdateGroupRequest.class, - com.google.cloud.vmmigration.v1.UpdateGroupRequest.Builder.class); + com.google.cloud.vmmigration.v1.UpdateGroupRequest.class, com.google.cloud.vmmigration.v1.UpdateGroupRequest.Builder.class); } // Construct using com.google.cloud.vmmigration.v1.UpdateGroupRequest.newBuilder() @@ -540,15 +488,16 @@ 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) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -570,9 +519,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_UpdateGroupRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_UpdateGroupRequest_descriptor; } @java.lang.Override @@ -591,8 +540,7 @@ public com.google.cloud.vmmigration.v1.UpdateGroupRequest build() { @java.lang.Override public com.google.cloud.vmmigration.v1.UpdateGroupRequest buildPartial() { - com.google.cloud.vmmigration.v1.UpdateGroupRequest result = - new com.google.cloud.vmmigration.v1.UpdateGroupRequest(this); + com.google.cloud.vmmigration.v1.UpdateGroupRequest result = new com.google.cloud.vmmigration.v1.UpdateGroupRequest(this); if (updateMaskBuilder_ == null) { result.updateMask_ = updateMask_; } else { @@ -612,39 +560,38 @@ public com.google.cloud.vmmigration.v1.UpdateGroupRequest buildPartial() { 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.vmmigration.v1.UpdateGroupRequest) { - return mergeFrom((com.google.cloud.vmmigration.v1.UpdateGroupRequest) other); + return mergeFrom((com.google.cloud.vmmigration.v1.UpdateGroupRequest)other); } else { super.mergeFrom(other); return this; @@ -652,8 +599,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.vmmigration.v1.UpdateGroupRequest other) { - if (other == com.google.cloud.vmmigration.v1.UpdateGroupRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.vmmigration.v1.UpdateGroupRequest.getDefaultInstance()) return this; if (other.hasUpdateMask()) { mergeUpdateMask(other.getUpdateMask()); } @@ -683,8 +629,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.vmmigration.v1.UpdateGroupRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.vmmigration.v1.UpdateGroupRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -696,13 +641,8 @@ public Builder mergeFrom( 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_; /** - * - * *
      * Field mask is used to specify the fields to be overwritten in the
      * Group resource by the update.
@@ -712,15 +652,12 @@ public Builder mergeFrom(
      * 
* * .google.protobuf.FieldMask update_mask = 1; - * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** - * - * *
      * Field mask is used to specify the fields to be overwritten in the
      * Group resource by the update.
@@ -730,21 +667,16 @@ public boolean hasUpdateMask() {
      * 
* * .google.protobuf.FieldMask update_mask = 1; - * * @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(); } } /** - * - * *
      * Field mask is used to specify the fields to be overwritten in the
      * Group resource by the update.
@@ -769,8 +701,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Field mask is used to specify the fields to be overwritten in the
      * Group resource by the update.
@@ -781,7 +711,8 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      *
      * .google.protobuf.FieldMask update_mask = 1;
      */
-    public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) {
+    public Builder setUpdateMask(
+        com.google.protobuf.FieldMask.Builder builderForValue) {
       if (updateMaskBuilder_ == null) {
         updateMask_ = builderForValue.build();
         onChanged();
@@ -792,8 +723,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal
       return this;
     }
     /**
-     *
-     *
      * 
      * Field mask is used to specify the fields to be overwritten in the
      * Group resource by the update.
@@ -808,7 +737,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       if (updateMaskBuilder_ == null) {
         if (updateMask_ != null) {
           updateMask_ =
-              com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
+            com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
         } else {
           updateMask_ = value;
         }
@@ -820,8 +749,6 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Field mask is used to specify the fields to be overwritten in the
      * Group resource by the update.
@@ -844,8 +771,6 @@ public Builder clearUpdateMask() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Field mask is used to specify the fields to be overwritten in the
      * Group resource by the update.
@@ -857,13 +782,11 @@ public Builder clearUpdateMask() {
      * .google.protobuf.FieldMask update_mask = 1;
      */
     public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
-
+      
       onChanged();
       return getUpdateMaskFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Field mask is used to specify the fields to be overwritten in the
      * Group resource by the update.
@@ -878,14 +801,11 @@ 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_;
       }
     }
     /**
-     *
-     *
      * 
      * Field mask is used to specify the fields to be overwritten in the
      * Group resource by the update.
@@ -897,17 +817,14 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      * .google.protobuf.FieldMask update_mask = 1;
      */
     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_;
@@ -915,35 +832,24 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
 
     private com.google.cloud.vmmigration.v1.Group group_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.vmmigration.v1.Group,
-            com.google.cloud.vmmigration.v1.Group.Builder,
-            com.google.cloud.vmmigration.v1.GroupOrBuilder>
-        groupBuilder_;
+        com.google.cloud.vmmigration.v1.Group, com.google.cloud.vmmigration.v1.Group.Builder, com.google.cloud.vmmigration.v1.GroupOrBuilder> groupBuilder_;
     /**
-     *
-     *
      * 
      * Required. The update request body.
      * 
* - * .google.cloud.vmmigration.v1.Group group = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.vmmigration.v1.Group group = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the group field is set. */ public boolean hasGroup() { return groupBuilder_ != null || group_ != null; } /** - * - * *
      * Required. The update request body.
      * 
* - * .google.cloud.vmmigration.v1.Group group = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.vmmigration.v1.Group group = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The group. */ public com.google.cloud.vmmigration.v1.Group getGroup() { @@ -954,14 +860,11 @@ public com.google.cloud.vmmigration.v1.Group getGroup() { } } /** - * - * *
      * Required. The update request body.
      * 
* - * .google.cloud.vmmigration.v1.Group group = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.vmmigration.v1.Group group = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setGroup(com.google.cloud.vmmigration.v1.Group value) { if (groupBuilder_ == null) { @@ -977,16 +880,14 @@ public Builder setGroup(com.google.cloud.vmmigration.v1.Group value) { return this; } /** - * - * *
      * Required. The update request body.
      * 
* - * .google.cloud.vmmigration.v1.Group group = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.vmmigration.v1.Group group = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setGroup(com.google.cloud.vmmigration.v1.Group.Builder builderForValue) { + public Builder setGroup( + com.google.cloud.vmmigration.v1.Group.Builder builderForValue) { if (groupBuilder_ == null) { group_ = builderForValue.build(); onChanged(); @@ -997,22 +898,17 @@ public Builder setGroup(com.google.cloud.vmmigration.v1.Group.Builder builderFor return this; } /** - * - * *
      * Required. The update request body.
      * 
* - * .google.cloud.vmmigration.v1.Group group = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.vmmigration.v1.Group group = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeGroup(com.google.cloud.vmmigration.v1.Group value) { if (groupBuilder_ == null) { if (group_ != null) { group_ = - com.google.cloud.vmmigration.v1.Group.newBuilder(group_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.vmmigration.v1.Group.newBuilder(group_).mergeFrom(value).buildPartial(); } else { group_ = value; } @@ -1024,14 +920,11 @@ public Builder mergeGroup(com.google.cloud.vmmigration.v1.Group value) { return this; } /** - * - * *
      * Required. The update request body.
      * 
* - * .google.cloud.vmmigration.v1.Group group = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.vmmigration.v1.Group group = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearGroup() { if (groupBuilder_ == null) { @@ -1045,59 +938,48 @@ public Builder clearGroup() { return this; } /** - * - * *
      * Required. The update request body.
      * 
* - * .google.cloud.vmmigration.v1.Group group = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.vmmigration.v1.Group group = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.vmmigration.v1.Group.Builder getGroupBuilder() { - + onChanged(); return getGroupFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The update request body.
      * 
* - * .google.cloud.vmmigration.v1.Group group = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.vmmigration.v1.Group group = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.vmmigration.v1.GroupOrBuilder getGroupOrBuilder() { if (groupBuilder_ != null) { return groupBuilder_.getMessageOrBuilder(); } else { - return group_ == null ? com.google.cloud.vmmigration.v1.Group.getDefaultInstance() : group_; + return group_ == null ? + com.google.cloud.vmmigration.v1.Group.getDefaultInstance() : group_; } } /** - * - * *
      * Required. The update request body.
      * 
* - * .google.cloud.vmmigration.v1.Group group = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.vmmigration.v1.Group group = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.vmmigration.v1.Group, - com.google.cloud.vmmigration.v1.Group.Builder, - com.google.cloud.vmmigration.v1.GroupOrBuilder> + com.google.cloud.vmmigration.v1.Group, com.google.cloud.vmmigration.v1.Group.Builder, com.google.cloud.vmmigration.v1.GroupOrBuilder> getGroupFieldBuilder() { if (groupBuilder_ == null) { - groupBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.vmmigration.v1.Group, - com.google.cloud.vmmigration.v1.Group.Builder, - com.google.cloud.vmmigration.v1.GroupOrBuilder>( - getGroup(), getParentForChildren(), isClean()); + groupBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.vmmigration.v1.Group, com.google.cloud.vmmigration.v1.Group.Builder, com.google.cloud.vmmigration.v1.GroupOrBuilder>( + getGroup(), + getParentForChildren(), + isClean()); group_ = null; } return groupBuilder_; @@ -1105,8 +987,6 @@ public com.google.cloud.vmmigration.v1.GroupOrBuilder getGroupOrBuilder() { private java.lang.Object requestId_ = ""; /** - * - * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1122,13 +1002,13 @@ public com.google.cloud.vmmigration.v1.GroupOrBuilder getGroupOrBuilder() {
      * 
* * string request_id = 3; - * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; 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(); requestId_ = s; return s; @@ -1137,8 +1017,6 @@ public java.lang.String getRequestId() { } } /** - * - * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1154,14 +1032,15 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 3; - * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; 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); requestId_ = b; return b; } else { @@ -1169,8 +1048,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } } /** - * - * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1186,22 +1063,20 @@ public com.google.protobuf.ByteString getRequestIdBytes() {
      * 
* * string request_id = 3; - * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId(java.lang.String value) { + public Builder setRequestId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + requestId_ = value; onChanged(); return this; } /** - * - * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1217,18 +1092,15 @@ public Builder setRequestId(java.lang.String value) {
      * 
* * string request_id = 3; - * * @return This builder for chaining. */ public Builder clearRequestId() { - + requestId_ = getDefaultInstance().getRequestId(); onChanged(); return this; } /** - * - * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1244,23 +1116,23 @@ public Builder clearRequestId() {
      * 
* * string request_id = 3; - * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { + public Builder setRequestIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + requestId_ = 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); } @@ -1270,12 +1142,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.vmmigration.v1.UpdateGroupRequest) } // @@protoc_insertion_point(class_scope:google.cloud.vmmigration.v1.UpdateGroupRequest) private static final com.google.cloud.vmmigration.v1.UpdateGroupRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.vmmigration.v1.UpdateGroupRequest(); } @@ -1284,16 +1156,16 @@ public static com.google.cloud.vmmigration.v1.UpdateGroupRequest getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateGroupRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new UpdateGroupRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateGroupRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new UpdateGroupRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1308,4 +1180,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.vmmigration.v1.UpdateGroupRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/UpdateGroupRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/UpdateGroupRequestOrBuilder.java similarity index 81% rename from proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/UpdateGroupRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/UpdateGroupRequestOrBuilder.java index 0f3570f..8b3ad54 100644 --- a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/UpdateGroupRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/UpdateGroupRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; -public interface UpdateGroupRequestOrBuilder - extends +public interface UpdateGroupRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.UpdateGroupRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Field mask is used to specify the fields to be overwritten in the
    * Group resource by the update.
@@ -35,13 +17,10 @@ public interface UpdateGroupRequestOrBuilder
    * 
* * .google.protobuf.FieldMask update_mask = 1; - * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** - * - * *
    * Field mask is used to specify the fields to be overwritten in the
    * Group resource by the update.
@@ -51,13 +30,10 @@ public interface UpdateGroupRequestOrBuilder
    * 
* * .google.protobuf.FieldMask update_mask = 1; - * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** - * - * *
    * Field mask is used to specify the fields to be overwritten in the
    * Group resource by the update.
@@ -71,46 +47,33 @@ public interface UpdateGroupRequestOrBuilder
   com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder();
 
   /**
-   *
-   *
    * 
    * Required. The update request body.
    * 
* - * .google.cloud.vmmigration.v1.Group group = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.vmmigration.v1.Group group = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the group field is set. */ boolean hasGroup(); /** - * - * *
    * Required. The update request body.
    * 
* - * .google.cloud.vmmigration.v1.Group group = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.vmmigration.v1.Group group = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The group. */ com.google.cloud.vmmigration.v1.Group getGroup(); /** - * - * *
    * Required. The update request body.
    * 
* - * .google.cloud.vmmigration.v1.Group group = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.vmmigration.v1.Group group = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.vmmigration.v1.GroupOrBuilder getGroupOrBuilder(); /** - * - * *
    * A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -126,13 +89,10 @@ public interface UpdateGroupRequestOrBuilder
    * 
* * string request_id = 3; - * * @return The requestId. */ java.lang.String getRequestId(); /** - * - * *
    * A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -148,8 +108,8 @@ public interface UpdateGroupRequestOrBuilder
    * 
* * string request_id = 3; - * * @return The bytes for requestId. */ - com.google.protobuf.ByteString getRequestIdBytes(); + com.google.protobuf.ByteString + getRequestIdBytes(); } diff --git a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/UpdateMigratingVmRequest.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/UpdateMigratingVmRequest.java similarity index 72% rename from proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/UpdateMigratingVmRequest.java rename to owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/UpdateMigratingVmRequest.java index 8e9f08c..4b90f3d 100644 --- a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/UpdateMigratingVmRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/UpdateMigratingVmRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; /** - * - * *
  * Request message for 'UpdateMigratingVm' request.
  * 
* * Protobuf type {@code google.cloud.vmmigration.v1.UpdateMigratingVmRequest} */ -public final class UpdateMigratingVmRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class UpdateMigratingVmRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.vmmigration.v1.UpdateMigratingVmRequest) UpdateMigratingVmRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use UpdateMigratingVmRequest.newBuilder() to construct. private UpdateMigratingVmRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UpdateMigratingVmRequest() { requestId_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UpdateMigratingVmRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private UpdateMigratingVmRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,51 +53,45 @@ private UpdateMigratingVmRequest( case 0: done = true; break; - case 10: - { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); - } - updateMask_ = - input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); } - case 18: - { - com.google.cloud.vmmigration.v1.MigratingVm.Builder subBuilder = null; - if (migratingVm_ != null) { - subBuilder = migratingVm_.toBuilder(); - } - migratingVm_ = - input.readMessage( - com.google.cloud.vmmigration.v1.MigratingVm.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(migratingVm_); - migratingVm_ = subBuilder.buildPartial(); - } - - break; + updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - requestId_ = s; - break; + break; + } + case 18: { + com.google.cloud.vmmigration.v1.MigratingVm.Builder subBuilder = null; + if (migratingVm_ != null) { + subBuilder = migratingVm_.toBuilder(); + } + migratingVm_ = input.readMessage(com.google.cloud.vmmigration.v1.MigratingVm.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(migratingVm_); + migratingVm_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + + requestId_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -122,33 +99,29 @@ private UpdateMigratingVmRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_UpdateMigratingVmRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_UpdateMigratingVmRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_UpdateMigratingVmRequest_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_UpdateMigratingVmRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.UpdateMigratingVmRequest.class, - com.google.cloud.vmmigration.v1.UpdateMigratingVmRequest.Builder.class); + com.google.cloud.vmmigration.v1.UpdateMigratingVmRequest.class, com.google.cloud.vmmigration.v1.UpdateMigratingVmRequest.Builder.class); } public static final int UPDATE_MASK_FIELD_NUMBER = 1; private com.google.protobuf.FieldMask updateMask_; /** - * - * *
    * Field mask is used to specify the fields to be overwritten in the
    * MigratingVm resource by the update.
@@ -158,7 +131,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * .google.protobuf.FieldMask update_mask = 1; - * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -166,8 +138,6 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** - * - * *
    * Field mask is used to specify the fields to be overwritten in the
    * MigratingVm resource by the update.
@@ -177,7 +147,6 @@ public boolean hasUpdateMask() {
    * 
* * .google.protobuf.FieldMask update_mask = 1; - * * @return The updateMask. */ @java.lang.Override @@ -185,8 +154,6 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** - * - * *
    * Field mask is used to specify the fields to be overwritten in the
    * MigratingVm resource by the update.
@@ -205,16 +172,11 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
   public static final int MIGRATING_VM_FIELD_NUMBER = 2;
   private com.google.cloud.vmmigration.v1.MigratingVm migratingVm_;
   /**
-   *
-   *
    * 
    * Required. The update request body.
    * 
* - * - * .google.cloud.vmmigration.v1.MigratingVm migrating_vm = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.vmmigration.v1.MigratingVm migrating_vm = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the migratingVm field is set. */ @java.lang.Override @@ -222,34 +184,23 @@ public boolean hasMigratingVm() { return migratingVm_ != null; } /** - * - * *
    * Required. The update request body.
    * 
* - * - * .google.cloud.vmmigration.v1.MigratingVm migrating_vm = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.vmmigration.v1.MigratingVm migrating_vm = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The migratingVm. */ @java.lang.Override public com.google.cloud.vmmigration.v1.MigratingVm getMigratingVm() { - return migratingVm_ == null - ? com.google.cloud.vmmigration.v1.MigratingVm.getDefaultInstance() - : migratingVm_; + return migratingVm_ == null ? com.google.cloud.vmmigration.v1.MigratingVm.getDefaultInstance() : migratingVm_; } /** - * - * *
    * Required. The update request body.
    * 
* - * - * .google.cloud.vmmigration.v1.MigratingVm migrating_vm = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.vmmigration.v1.MigratingVm migrating_vm = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.vmmigration.v1.MigratingVmOrBuilder getMigratingVmOrBuilder() { @@ -259,8 +210,6 @@ public com.google.cloud.vmmigration.v1.MigratingVmOrBuilder getMigratingVmOrBuil public static final int REQUEST_ID_FIELD_NUMBER = 3; private volatile java.lang.Object requestId_; /** - * - * *
    * A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -276,7 +225,6 @@ public com.google.cloud.vmmigration.v1.MigratingVmOrBuilder getMigratingVmOrBuil
    * 
* * string request_id = 3; - * * @return The requestId. */ @java.lang.Override @@ -285,15 +233,14 @@ public java.lang.String getRequestId() { 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(); requestId_ = s; return s; } } /** - * - * *
    * A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -309,15 +256,16 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 3; - * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; 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); requestId_ = b; return b; } else { @@ -326,7 +274,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -338,7 +285,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 (updateMask_ != null) { output.writeMessage(1, getUpdateMask()); } @@ -358,10 +306,12 @@ public int getSerializedSize() { size = 0; if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getUpdateMask()); } if (migratingVm_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getMigratingVm()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getMigratingVm()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, requestId_); @@ -374,23 +324,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.vmmigration.v1.UpdateMigratingVmRequest)) { return super.equals(obj); } - com.google.cloud.vmmigration.v1.UpdateMigratingVmRequest other = - (com.google.cloud.vmmigration.v1.UpdateMigratingVmRequest) obj; + com.google.cloud.vmmigration.v1.UpdateMigratingVmRequest other = (com.google.cloud.vmmigration.v1.UpdateMigratingVmRequest) obj; if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask().equals(other.getUpdateMask())) return false; + if (!getUpdateMask() + .equals(other.getUpdateMask())) return false; } if (hasMigratingVm() != other.hasMigratingVm()) return false; if (hasMigratingVm()) { - if (!getMigratingVm().equals(other.getMigratingVm())) return false; + if (!getMigratingVm() + .equals(other.getMigratingVm())) return false; } - if (!getRequestId().equals(other.getRequestId())) return false; + if (!getRequestId() + .equals(other.getRequestId())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -418,127 +370,117 @@ public int hashCode() { } public static com.google.cloud.vmmigration.v1.UpdateMigratingVmRequest 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.vmmigration.v1.UpdateMigratingVmRequest 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.vmmigration.v1.UpdateMigratingVmRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.vmmigration.v1.UpdateMigratingVmRequest 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.vmmigration.v1.UpdateMigratingVmRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.vmmigration.v1.UpdateMigratingVmRequest 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.vmmigration.v1.UpdateMigratingVmRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.vmmigration.v1.UpdateMigratingVmRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.vmmigration.v1.UpdateMigratingVmRequest 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.vmmigration.v1.UpdateMigratingVmRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.vmmigration.v1.UpdateMigratingVmRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.vmmigration.v1.UpdateMigratingVmRequest 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.vmmigration.v1.UpdateMigratingVmRequest 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.vmmigration.v1.UpdateMigratingVmRequest 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.vmmigration.v1.UpdateMigratingVmRequest prototype) { + public static Builder newBuilder(com.google.cloud.vmmigration.v1.UpdateMigratingVmRequest 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 message for 'UpdateMigratingVm' request.
    * 
* * Protobuf type {@code google.cloud.vmmigration.v1.UpdateMigratingVmRequest} */ - 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.vmmigration.v1.UpdateMigratingVmRequest) com.google.cloud.vmmigration.v1.UpdateMigratingVmRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_UpdateMigratingVmRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_UpdateMigratingVmRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_UpdateMigratingVmRequest_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_UpdateMigratingVmRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.UpdateMigratingVmRequest.class, - com.google.cloud.vmmigration.v1.UpdateMigratingVmRequest.Builder.class); + com.google.cloud.vmmigration.v1.UpdateMigratingVmRequest.class, com.google.cloud.vmmigration.v1.UpdateMigratingVmRequest.Builder.class); } // Construct using com.google.cloud.vmmigration.v1.UpdateMigratingVmRequest.newBuilder() @@ -546,15 +488,16 @@ 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) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -576,9 +519,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_UpdateMigratingVmRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_UpdateMigratingVmRequest_descriptor; } @java.lang.Override @@ -597,8 +540,7 @@ public com.google.cloud.vmmigration.v1.UpdateMigratingVmRequest build() { @java.lang.Override public com.google.cloud.vmmigration.v1.UpdateMigratingVmRequest buildPartial() { - com.google.cloud.vmmigration.v1.UpdateMigratingVmRequest result = - new com.google.cloud.vmmigration.v1.UpdateMigratingVmRequest(this); + com.google.cloud.vmmigration.v1.UpdateMigratingVmRequest result = new com.google.cloud.vmmigration.v1.UpdateMigratingVmRequest(this); if (updateMaskBuilder_ == null) { result.updateMask_ = updateMask_; } else { @@ -618,39 +560,38 @@ public com.google.cloud.vmmigration.v1.UpdateMigratingVmRequest buildPartial() { 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.vmmigration.v1.UpdateMigratingVmRequest) { - return mergeFrom((com.google.cloud.vmmigration.v1.UpdateMigratingVmRequest) other); + return mergeFrom((com.google.cloud.vmmigration.v1.UpdateMigratingVmRequest)other); } else { super.mergeFrom(other); return this; @@ -658,8 +599,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.vmmigration.v1.UpdateMigratingVmRequest other) { - if (other == com.google.cloud.vmmigration.v1.UpdateMigratingVmRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.vmmigration.v1.UpdateMigratingVmRequest.getDefaultInstance()) return this; if (other.hasUpdateMask()) { mergeUpdateMask(other.getUpdateMask()); } @@ -689,8 +629,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.vmmigration.v1.UpdateMigratingVmRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.vmmigration.v1.UpdateMigratingVmRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -702,13 +641,8 @@ public Builder mergeFrom( 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_; /** - * - * *
      * Field mask is used to specify the fields to be overwritten in the
      * MigratingVm resource by the update.
@@ -718,15 +652,12 @@ public Builder mergeFrom(
      * 
* * .google.protobuf.FieldMask update_mask = 1; - * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** - * - * *
      * Field mask is used to specify the fields to be overwritten in the
      * MigratingVm resource by the update.
@@ -736,21 +667,16 @@ public boolean hasUpdateMask() {
      * 
* * .google.protobuf.FieldMask update_mask = 1; - * * @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(); } } /** - * - * *
      * Field mask is used to specify the fields to be overwritten in the
      * MigratingVm resource by the update.
@@ -775,8 +701,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Field mask is used to specify the fields to be overwritten in the
      * MigratingVm resource by the update.
@@ -787,7 +711,8 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      *
      * .google.protobuf.FieldMask update_mask = 1;
      */
-    public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) {
+    public Builder setUpdateMask(
+        com.google.protobuf.FieldMask.Builder builderForValue) {
       if (updateMaskBuilder_ == null) {
         updateMask_ = builderForValue.build();
         onChanged();
@@ -798,8 +723,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal
       return this;
     }
     /**
-     *
-     *
      * 
      * Field mask is used to specify the fields to be overwritten in the
      * MigratingVm resource by the update.
@@ -814,7 +737,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       if (updateMaskBuilder_ == null) {
         if (updateMask_ != null) {
           updateMask_ =
-              com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
+            com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
         } else {
           updateMask_ = value;
         }
@@ -826,8 +749,6 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Field mask is used to specify the fields to be overwritten in the
      * MigratingVm resource by the update.
@@ -850,8 +771,6 @@ public Builder clearUpdateMask() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Field mask is used to specify the fields to be overwritten in the
      * MigratingVm resource by the update.
@@ -863,13 +782,11 @@ public Builder clearUpdateMask() {
      * .google.protobuf.FieldMask update_mask = 1;
      */
     public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
-
+      
       onChanged();
       return getUpdateMaskFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Field mask is used to specify the fields to be overwritten in the
      * MigratingVm resource by the update.
@@ -884,14 +801,11 @@ 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_;
       }
     }
     /**
-     *
-     *
      * 
      * Field mask is used to specify the fields to be overwritten in the
      * MigratingVm resource by the update.
@@ -903,17 +817,14 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      * .google.protobuf.FieldMask update_mask = 1;
      */
     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_;
@@ -921,58 +832,39 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
 
     private com.google.cloud.vmmigration.v1.MigratingVm migratingVm_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.vmmigration.v1.MigratingVm,
-            com.google.cloud.vmmigration.v1.MigratingVm.Builder,
-            com.google.cloud.vmmigration.v1.MigratingVmOrBuilder>
-        migratingVmBuilder_;
+        com.google.cloud.vmmigration.v1.MigratingVm, com.google.cloud.vmmigration.v1.MigratingVm.Builder, com.google.cloud.vmmigration.v1.MigratingVmOrBuilder> migratingVmBuilder_;
     /**
-     *
-     *
      * 
      * Required. The update request body.
      * 
* - * - * .google.cloud.vmmigration.v1.MigratingVm migrating_vm = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.vmmigration.v1.MigratingVm migrating_vm = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the migratingVm field is set. */ public boolean hasMigratingVm() { return migratingVmBuilder_ != null || migratingVm_ != null; } /** - * - * *
      * Required. The update request body.
      * 
* - * - * .google.cloud.vmmigration.v1.MigratingVm migrating_vm = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.vmmigration.v1.MigratingVm migrating_vm = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The migratingVm. */ public com.google.cloud.vmmigration.v1.MigratingVm getMigratingVm() { if (migratingVmBuilder_ == null) { - return migratingVm_ == null - ? com.google.cloud.vmmigration.v1.MigratingVm.getDefaultInstance() - : migratingVm_; + return migratingVm_ == null ? com.google.cloud.vmmigration.v1.MigratingVm.getDefaultInstance() : migratingVm_; } else { return migratingVmBuilder_.getMessage(); } } /** - * - * *
      * Required. The update request body.
      * 
* - * - * .google.cloud.vmmigration.v1.MigratingVm migrating_vm = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.vmmigration.v1.MigratingVm migrating_vm = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setMigratingVm(com.google.cloud.vmmigration.v1.MigratingVm value) { if (migratingVmBuilder_ == null) { @@ -988,15 +880,11 @@ public Builder setMigratingVm(com.google.cloud.vmmigration.v1.MigratingVm value) return this; } /** - * - * *
      * Required. The update request body.
      * 
* - * - * .google.cloud.vmmigration.v1.MigratingVm migrating_vm = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.vmmigration.v1.MigratingVm migrating_vm = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setMigratingVm( com.google.cloud.vmmigration.v1.MigratingVm.Builder builderForValue) { @@ -1010,23 +898,17 @@ public Builder setMigratingVm( return this; } /** - * - * *
      * Required. The update request body.
      * 
* - * - * .google.cloud.vmmigration.v1.MigratingVm migrating_vm = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.vmmigration.v1.MigratingVm migrating_vm = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeMigratingVm(com.google.cloud.vmmigration.v1.MigratingVm value) { if (migratingVmBuilder_ == null) { if (migratingVm_ != null) { migratingVm_ = - com.google.cloud.vmmigration.v1.MigratingVm.newBuilder(migratingVm_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.vmmigration.v1.MigratingVm.newBuilder(migratingVm_).mergeFrom(value).buildPartial(); } else { migratingVm_ = value; } @@ -1038,15 +920,11 @@ public Builder mergeMigratingVm(com.google.cloud.vmmigration.v1.MigratingVm valu return this; } /** - * - * *
      * Required. The update request body.
      * 
* - * - * .google.cloud.vmmigration.v1.MigratingVm migrating_vm = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.vmmigration.v1.MigratingVm migrating_vm = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearMigratingVm() { if (migratingVmBuilder_ == null) { @@ -1060,64 +938,48 @@ public Builder clearMigratingVm() { return this; } /** - * - * *
      * Required. The update request body.
      * 
* - * - * .google.cloud.vmmigration.v1.MigratingVm migrating_vm = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.vmmigration.v1.MigratingVm migrating_vm = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.vmmigration.v1.MigratingVm.Builder getMigratingVmBuilder() { - + onChanged(); return getMigratingVmFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The update request body.
      * 
* - * - * .google.cloud.vmmigration.v1.MigratingVm migrating_vm = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.vmmigration.v1.MigratingVm migrating_vm = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.vmmigration.v1.MigratingVmOrBuilder getMigratingVmOrBuilder() { if (migratingVmBuilder_ != null) { return migratingVmBuilder_.getMessageOrBuilder(); } else { - return migratingVm_ == null - ? com.google.cloud.vmmigration.v1.MigratingVm.getDefaultInstance() - : migratingVm_; + return migratingVm_ == null ? + com.google.cloud.vmmigration.v1.MigratingVm.getDefaultInstance() : migratingVm_; } } /** - * - * *
      * Required. The update request body.
      * 
* - * - * .google.cloud.vmmigration.v1.MigratingVm migrating_vm = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.vmmigration.v1.MigratingVm migrating_vm = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.vmmigration.v1.MigratingVm, - com.google.cloud.vmmigration.v1.MigratingVm.Builder, - com.google.cloud.vmmigration.v1.MigratingVmOrBuilder> + com.google.cloud.vmmigration.v1.MigratingVm, com.google.cloud.vmmigration.v1.MigratingVm.Builder, com.google.cloud.vmmigration.v1.MigratingVmOrBuilder> getMigratingVmFieldBuilder() { if (migratingVmBuilder_ == null) { - migratingVmBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.vmmigration.v1.MigratingVm, - com.google.cloud.vmmigration.v1.MigratingVm.Builder, - com.google.cloud.vmmigration.v1.MigratingVmOrBuilder>( - getMigratingVm(), getParentForChildren(), isClean()); + migratingVmBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.vmmigration.v1.MigratingVm, com.google.cloud.vmmigration.v1.MigratingVm.Builder, com.google.cloud.vmmigration.v1.MigratingVmOrBuilder>( + getMigratingVm(), + getParentForChildren(), + isClean()); migratingVm_ = null; } return migratingVmBuilder_; @@ -1125,8 +987,6 @@ public com.google.cloud.vmmigration.v1.MigratingVmOrBuilder getMigratingVmOrBuil private java.lang.Object requestId_ = ""; /** - * - * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1142,13 +1002,13 @@ public com.google.cloud.vmmigration.v1.MigratingVmOrBuilder getMigratingVmOrBuil
      * 
* * string request_id = 3; - * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; 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(); requestId_ = s; return s; @@ -1157,8 +1017,6 @@ public java.lang.String getRequestId() { } } /** - * - * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1174,14 +1032,15 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 3; - * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; 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); requestId_ = b; return b; } else { @@ -1189,8 +1048,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } } /** - * - * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1206,22 +1063,20 @@ public com.google.protobuf.ByteString getRequestIdBytes() {
      * 
* * string request_id = 3; - * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId(java.lang.String value) { + public Builder setRequestId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + requestId_ = value; onChanged(); return this; } /** - * - * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1237,18 +1092,15 @@ public Builder setRequestId(java.lang.String value) {
      * 
* * string request_id = 3; - * * @return This builder for chaining. */ public Builder clearRequestId() { - + requestId_ = getDefaultInstance().getRequestId(); onChanged(); return this; } /** - * - * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1264,23 +1116,23 @@ public Builder clearRequestId() {
      * 
* * string request_id = 3; - * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { + public Builder setRequestIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + requestId_ = 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); } @@ -1290,12 +1142,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.vmmigration.v1.UpdateMigratingVmRequest) } // @@protoc_insertion_point(class_scope:google.cloud.vmmigration.v1.UpdateMigratingVmRequest) private static final com.google.cloud.vmmigration.v1.UpdateMigratingVmRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.vmmigration.v1.UpdateMigratingVmRequest(); } @@ -1304,16 +1156,16 @@ public static com.google.cloud.vmmigration.v1.UpdateMigratingVmRequest getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateMigratingVmRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new UpdateMigratingVmRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateMigratingVmRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new UpdateMigratingVmRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1328,4 +1180,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.vmmigration.v1.UpdateMigratingVmRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/UpdateMigratingVmRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/UpdateMigratingVmRequestOrBuilder.java similarity index 77% rename from proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/UpdateMigratingVmRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/UpdateMigratingVmRequestOrBuilder.java index 9d2a979..ff94216 100644 --- a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/UpdateMigratingVmRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/UpdateMigratingVmRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; -public interface UpdateMigratingVmRequestOrBuilder - extends +public interface UpdateMigratingVmRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.UpdateMigratingVmRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Field mask is used to specify the fields to be overwritten in the
    * MigratingVm resource by the update.
@@ -35,13 +17,10 @@ public interface UpdateMigratingVmRequestOrBuilder
    * 
* * .google.protobuf.FieldMask update_mask = 1; - * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** - * - * *
    * Field mask is used to specify the fields to be overwritten in the
    * MigratingVm resource by the update.
@@ -51,13 +30,10 @@ public interface UpdateMigratingVmRequestOrBuilder
    * 
* * .google.protobuf.FieldMask update_mask = 1; - * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** - * - * *
    * Field mask is used to specify the fields to be overwritten in the
    * MigratingVm resource by the update.
@@ -71,49 +47,33 @@ public interface UpdateMigratingVmRequestOrBuilder
   com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder();
 
   /**
-   *
-   *
    * 
    * Required. The update request body.
    * 
* - * - * .google.cloud.vmmigration.v1.MigratingVm migrating_vm = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.vmmigration.v1.MigratingVm migrating_vm = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the migratingVm field is set. */ boolean hasMigratingVm(); /** - * - * *
    * Required. The update request body.
    * 
* - * - * .google.cloud.vmmigration.v1.MigratingVm migrating_vm = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.vmmigration.v1.MigratingVm migrating_vm = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The migratingVm. */ com.google.cloud.vmmigration.v1.MigratingVm getMigratingVm(); /** - * - * *
    * Required. The update request body.
    * 
* - * - * .google.cloud.vmmigration.v1.MigratingVm migrating_vm = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.vmmigration.v1.MigratingVm migrating_vm = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.vmmigration.v1.MigratingVmOrBuilder getMigratingVmOrBuilder(); /** - * - * *
    * A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -129,13 +89,10 @@ public interface UpdateMigratingVmRequestOrBuilder
    * 
* * string request_id = 3; - * * @return The requestId. */ java.lang.String getRequestId(); /** - * - * *
    * A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -151,8 +108,8 @@ public interface UpdateMigratingVmRequestOrBuilder
    * 
* * string request_id = 3; - * * @return The bytes for requestId. */ - com.google.protobuf.ByteString getRequestIdBytes(); + com.google.protobuf.ByteString + getRequestIdBytes(); } diff --git a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/UpdateSourceRequest.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/UpdateSourceRequest.java similarity index 73% rename from proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/UpdateSourceRequest.java rename to owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/UpdateSourceRequest.java index 17edc34..6555740 100644 --- a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/UpdateSourceRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/UpdateSourceRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; /** - * - * *
  * Update message for 'UpdateSources' request.
  * 
* * Protobuf type {@code google.cloud.vmmigration.v1.UpdateSourceRequest} */ -public final class UpdateSourceRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class UpdateSourceRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.vmmigration.v1.UpdateSourceRequest) UpdateSourceRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use UpdateSourceRequest.newBuilder() to construct. private UpdateSourceRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UpdateSourceRequest() { requestId_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UpdateSourceRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private UpdateSourceRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,51 +53,45 @@ private UpdateSourceRequest( case 0: done = true; break; - case 10: - { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); - } - updateMask_ = - input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); } - case 18: - { - com.google.cloud.vmmigration.v1.Source.Builder subBuilder = null; - if (source_ != null) { - subBuilder = source_.toBuilder(); - } - source_ = - input.readMessage( - com.google.cloud.vmmigration.v1.Source.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(source_); - source_ = subBuilder.buildPartial(); - } - - break; + updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - requestId_ = s; - break; + break; + } + case 18: { + com.google.cloud.vmmigration.v1.Source.Builder subBuilder = null; + if (source_ != null) { + subBuilder = source_.toBuilder(); + } + source_ = input.readMessage(com.google.cloud.vmmigration.v1.Source.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(source_); + source_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + + requestId_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -122,33 +99,29 @@ private UpdateSourceRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_UpdateSourceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_UpdateSourceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_UpdateSourceRequest_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_UpdateSourceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.UpdateSourceRequest.class, - com.google.cloud.vmmigration.v1.UpdateSourceRequest.Builder.class); + com.google.cloud.vmmigration.v1.UpdateSourceRequest.class, com.google.cloud.vmmigration.v1.UpdateSourceRequest.Builder.class); } public static final int UPDATE_MASK_FIELD_NUMBER = 1; private com.google.protobuf.FieldMask updateMask_; /** - * - * *
    * Field mask is used to specify the fields to be overwritten in the
    * Source resource by the update.
@@ -158,7 +131,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * .google.protobuf.FieldMask update_mask = 1; - * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -166,8 +138,6 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** - * - * *
    * Field mask is used to specify the fields to be overwritten in the
    * Source resource by the update.
@@ -177,7 +147,6 @@ public boolean hasUpdateMask() {
    * 
* * .google.protobuf.FieldMask update_mask = 1; - * * @return The updateMask. */ @java.lang.Override @@ -185,8 +154,6 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** - * - * *
    * Field mask is used to specify the fields to be overwritten in the
    * Source resource by the update.
@@ -205,15 +172,11 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
   public static final int SOURCE_FIELD_NUMBER = 2;
   private com.google.cloud.vmmigration.v1.Source source_;
   /**
-   *
-   *
    * 
    * Required. The update request body.
    * 
* - * .google.cloud.vmmigration.v1.Source source = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.vmmigration.v1.Source source = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the source field is set. */ @java.lang.Override @@ -221,15 +184,11 @@ public boolean hasSource() { return source_ != null; } /** - * - * *
    * Required. The update request body.
    * 
* - * .google.cloud.vmmigration.v1.Source source = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.vmmigration.v1.Source source = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The source. */ @java.lang.Override @@ -237,14 +196,11 @@ public com.google.cloud.vmmigration.v1.Source getSource() { return source_ == null ? com.google.cloud.vmmigration.v1.Source.getDefaultInstance() : source_; } /** - * - * *
    * Required. The update request body.
    * 
* - * .google.cloud.vmmigration.v1.Source source = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.vmmigration.v1.Source source = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.vmmigration.v1.SourceOrBuilder getSourceOrBuilder() { @@ -254,8 +210,6 @@ public com.google.cloud.vmmigration.v1.SourceOrBuilder getSourceOrBuilder() { public static final int REQUEST_ID_FIELD_NUMBER = 3; private volatile java.lang.Object requestId_; /** - * - * *
    * A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -271,7 +225,6 @@ public com.google.cloud.vmmigration.v1.SourceOrBuilder getSourceOrBuilder() {
    * 
* * string request_id = 3; - * * @return The requestId. */ @java.lang.Override @@ -280,15 +233,14 @@ public java.lang.String getRequestId() { 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(); requestId_ = s; return s; } } /** - * - * *
    * A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -304,15 +256,16 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 3; - * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; 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); requestId_ = b; return b; } else { @@ -321,7 +274,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -333,7 +285,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 (updateMask_ != null) { output.writeMessage(1, getUpdateMask()); } @@ -353,10 +306,12 @@ public int getSerializedSize() { size = 0; if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getUpdateMask()); } if (source_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getSource()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getSource()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, requestId_); @@ -369,23 +324,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.vmmigration.v1.UpdateSourceRequest)) { return super.equals(obj); } - com.google.cloud.vmmigration.v1.UpdateSourceRequest other = - (com.google.cloud.vmmigration.v1.UpdateSourceRequest) obj; + com.google.cloud.vmmigration.v1.UpdateSourceRequest other = (com.google.cloud.vmmigration.v1.UpdateSourceRequest) obj; if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask().equals(other.getUpdateMask())) return false; + if (!getUpdateMask() + .equals(other.getUpdateMask())) return false; } if (hasSource() != other.hasSource()) return false; if (hasSource()) { - if (!getSource().equals(other.getSource())) return false; + if (!getSource() + .equals(other.getSource())) return false; } - if (!getRequestId().equals(other.getRequestId())) return false; + if (!getRequestId() + .equals(other.getRequestId())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -413,126 +370,117 @@ public int hashCode() { } public static com.google.cloud.vmmigration.v1.UpdateSourceRequest 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.vmmigration.v1.UpdateSourceRequest 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.vmmigration.v1.UpdateSourceRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.vmmigration.v1.UpdateSourceRequest 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.vmmigration.v1.UpdateSourceRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.vmmigration.v1.UpdateSourceRequest 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.vmmigration.v1.UpdateSourceRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.vmmigration.v1.UpdateSourceRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.vmmigration.v1.UpdateSourceRequest 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.vmmigration.v1.UpdateSourceRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.vmmigration.v1.UpdateSourceRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.vmmigration.v1.UpdateSourceRequest 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.vmmigration.v1.UpdateSourceRequest 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.vmmigration.v1.UpdateSourceRequest 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.vmmigration.v1.UpdateSourceRequest 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; } /** - * - * *
    * Update message for 'UpdateSources' request.
    * 
* * Protobuf type {@code google.cloud.vmmigration.v1.UpdateSourceRequest} */ - 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.vmmigration.v1.UpdateSourceRequest) com.google.cloud.vmmigration.v1.UpdateSourceRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_UpdateSourceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_UpdateSourceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_UpdateSourceRequest_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_UpdateSourceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.UpdateSourceRequest.class, - com.google.cloud.vmmigration.v1.UpdateSourceRequest.Builder.class); + com.google.cloud.vmmigration.v1.UpdateSourceRequest.class, com.google.cloud.vmmigration.v1.UpdateSourceRequest.Builder.class); } // Construct using com.google.cloud.vmmigration.v1.UpdateSourceRequest.newBuilder() @@ -540,15 +488,16 @@ 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) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -570,9 +519,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_UpdateSourceRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_UpdateSourceRequest_descriptor; } @java.lang.Override @@ -591,8 +540,7 @@ public com.google.cloud.vmmigration.v1.UpdateSourceRequest build() { @java.lang.Override public com.google.cloud.vmmigration.v1.UpdateSourceRequest buildPartial() { - com.google.cloud.vmmigration.v1.UpdateSourceRequest result = - new com.google.cloud.vmmigration.v1.UpdateSourceRequest(this); + com.google.cloud.vmmigration.v1.UpdateSourceRequest result = new com.google.cloud.vmmigration.v1.UpdateSourceRequest(this); if (updateMaskBuilder_ == null) { result.updateMask_ = updateMask_; } else { @@ -612,39 +560,38 @@ public com.google.cloud.vmmigration.v1.UpdateSourceRequest buildPartial() { 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.vmmigration.v1.UpdateSourceRequest) { - return mergeFrom((com.google.cloud.vmmigration.v1.UpdateSourceRequest) other); + return mergeFrom((com.google.cloud.vmmigration.v1.UpdateSourceRequest)other); } else { super.mergeFrom(other); return this; @@ -652,8 +599,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.vmmigration.v1.UpdateSourceRequest other) { - if (other == com.google.cloud.vmmigration.v1.UpdateSourceRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.vmmigration.v1.UpdateSourceRequest.getDefaultInstance()) return this; if (other.hasUpdateMask()) { mergeUpdateMask(other.getUpdateMask()); } @@ -683,8 +629,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.vmmigration.v1.UpdateSourceRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.vmmigration.v1.UpdateSourceRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -696,13 +641,8 @@ public Builder mergeFrom( 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_; /** - * - * *
      * Field mask is used to specify the fields to be overwritten in the
      * Source resource by the update.
@@ -712,15 +652,12 @@ public Builder mergeFrom(
      * 
* * .google.protobuf.FieldMask update_mask = 1; - * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** - * - * *
      * Field mask is used to specify the fields to be overwritten in the
      * Source resource by the update.
@@ -730,21 +667,16 @@ public boolean hasUpdateMask() {
      * 
* * .google.protobuf.FieldMask update_mask = 1; - * * @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(); } } /** - * - * *
      * Field mask is used to specify the fields to be overwritten in the
      * Source resource by the update.
@@ -769,8 +701,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Field mask is used to specify the fields to be overwritten in the
      * Source resource by the update.
@@ -781,7 +711,8 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      *
      * .google.protobuf.FieldMask update_mask = 1;
      */
-    public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) {
+    public Builder setUpdateMask(
+        com.google.protobuf.FieldMask.Builder builderForValue) {
       if (updateMaskBuilder_ == null) {
         updateMask_ = builderForValue.build();
         onChanged();
@@ -792,8 +723,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal
       return this;
     }
     /**
-     *
-     *
      * 
      * Field mask is used to specify the fields to be overwritten in the
      * Source resource by the update.
@@ -808,7 +737,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       if (updateMaskBuilder_ == null) {
         if (updateMask_ != null) {
           updateMask_ =
-              com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
+            com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
         } else {
           updateMask_ = value;
         }
@@ -820,8 +749,6 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Field mask is used to specify the fields to be overwritten in the
      * Source resource by the update.
@@ -844,8 +771,6 @@ public Builder clearUpdateMask() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Field mask is used to specify the fields to be overwritten in the
      * Source resource by the update.
@@ -857,13 +782,11 @@ public Builder clearUpdateMask() {
      * .google.protobuf.FieldMask update_mask = 1;
      */
     public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
-
+      
       onChanged();
       return getUpdateMaskFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Field mask is used to specify the fields to be overwritten in the
      * Source resource by the update.
@@ -878,14 +801,11 @@ 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_;
       }
     }
     /**
-     *
-     *
      * 
      * Field mask is used to specify the fields to be overwritten in the
      * Source resource by the update.
@@ -897,17 +817,14 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      * .google.protobuf.FieldMask update_mask = 1;
      */
     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_;
@@ -915,58 +832,39 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
 
     private com.google.cloud.vmmigration.v1.Source source_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.vmmigration.v1.Source,
-            com.google.cloud.vmmigration.v1.Source.Builder,
-            com.google.cloud.vmmigration.v1.SourceOrBuilder>
-        sourceBuilder_;
+        com.google.cloud.vmmigration.v1.Source, com.google.cloud.vmmigration.v1.Source.Builder, com.google.cloud.vmmigration.v1.SourceOrBuilder> sourceBuilder_;
     /**
-     *
-     *
      * 
      * Required. The update request body.
      * 
* - * - * .google.cloud.vmmigration.v1.Source source = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.vmmigration.v1.Source source = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the source field is set. */ public boolean hasSource() { return sourceBuilder_ != null || source_ != null; } /** - * - * *
      * Required. The update request body.
      * 
* - * - * .google.cloud.vmmigration.v1.Source source = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.vmmigration.v1.Source source = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The source. */ public com.google.cloud.vmmigration.v1.Source getSource() { if (sourceBuilder_ == null) { - return source_ == null - ? com.google.cloud.vmmigration.v1.Source.getDefaultInstance() - : source_; + return source_ == null ? com.google.cloud.vmmigration.v1.Source.getDefaultInstance() : source_; } else { return sourceBuilder_.getMessage(); } } /** - * - * *
      * Required. The update request body.
      * 
* - * - * .google.cloud.vmmigration.v1.Source source = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.vmmigration.v1.Source source = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setSource(com.google.cloud.vmmigration.v1.Source value) { if (sourceBuilder_ == null) { @@ -982,17 +880,14 @@ public Builder setSource(com.google.cloud.vmmigration.v1.Source value) { return this; } /** - * - * *
      * Required. The update request body.
      * 
* - * - * .google.cloud.vmmigration.v1.Source source = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.vmmigration.v1.Source source = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setSource(com.google.cloud.vmmigration.v1.Source.Builder builderForValue) { + public Builder setSource( + com.google.cloud.vmmigration.v1.Source.Builder builderForValue) { if (sourceBuilder_ == null) { source_ = builderForValue.build(); onChanged(); @@ -1003,23 +898,17 @@ public Builder setSource(com.google.cloud.vmmigration.v1.Source.Builder builderF return this; } /** - * - * *
      * Required. The update request body.
      * 
* - * - * .google.cloud.vmmigration.v1.Source source = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.vmmigration.v1.Source source = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeSource(com.google.cloud.vmmigration.v1.Source value) { if (sourceBuilder_ == null) { if (source_ != null) { source_ = - com.google.cloud.vmmigration.v1.Source.newBuilder(source_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.vmmigration.v1.Source.newBuilder(source_).mergeFrom(value).buildPartial(); } else { source_ = value; } @@ -1031,15 +920,11 @@ public Builder mergeSource(com.google.cloud.vmmigration.v1.Source value) { return this; } /** - * - * *
      * Required. The update request body.
      * 
* - * - * .google.cloud.vmmigration.v1.Source source = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.vmmigration.v1.Source source = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearSource() { if (sourceBuilder_ == null) { @@ -1053,64 +938,48 @@ public Builder clearSource() { return this; } /** - * - * *
      * Required. The update request body.
      * 
* - * - * .google.cloud.vmmigration.v1.Source source = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.vmmigration.v1.Source source = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.vmmigration.v1.Source.Builder getSourceBuilder() { - + onChanged(); return getSourceFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The update request body.
      * 
* - * - * .google.cloud.vmmigration.v1.Source source = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.vmmigration.v1.Source source = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.vmmigration.v1.SourceOrBuilder getSourceOrBuilder() { if (sourceBuilder_ != null) { return sourceBuilder_.getMessageOrBuilder(); } else { - return source_ == null - ? com.google.cloud.vmmigration.v1.Source.getDefaultInstance() - : source_; + return source_ == null ? + com.google.cloud.vmmigration.v1.Source.getDefaultInstance() : source_; } } /** - * - * *
      * Required. The update request body.
      * 
* - * - * .google.cloud.vmmigration.v1.Source source = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.vmmigration.v1.Source source = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.vmmigration.v1.Source, - com.google.cloud.vmmigration.v1.Source.Builder, - com.google.cloud.vmmigration.v1.SourceOrBuilder> + com.google.cloud.vmmigration.v1.Source, com.google.cloud.vmmigration.v1.Source.Builder, com.google.cloud.vmmigration.v1.SourceOrBuilder> getSourceFieldBuilder() { if (sourceBuilder_ == null) { - sourceBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.vmmigration.v1.Source, - com.google.cloud.vmmigration.v1.Source.Builder, - com.google.cloud.vmmigration.v1.SourceOrBuilder>( - getSource(), getParentForChildren(), isClean()); + sourceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.vmmigration.v1.Source, com.google.cloud.vmmigration.v1.Source.Builder, com.google.cloud.vmmigration.v1.SourceOrBuilder>( + getSource(), + getParentForChildren(), + isClean()); source_ = null; } return sourceBuilder_; @@ -1118,8 +987,6 @@ public com.google.cloud.vmmigration.v1.SourceOrBuilder getSourceOrBuilder() { private java.lang.Object requestId_ = ""; /** - * - * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1135,13 +1002,13 @@ public com.google.cloud.vmmigration.v1.SourceOrBuilder getSourceOrBuilder() {
      * 
* * string request_id = 3; - * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; 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(); requestId_ = s; return s; @@ -1150,8 +1017,6 @@ public java.lang.String getRequestId() { } } /** - * - * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1167,14 +1032,15 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 3; - * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; 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); requestId_ = b; return b; } else { @@ -1182,8 +1048,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } } /** - * - * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1199,22 +1063,20 @@ public com.google.protobuf.ByteString getRequestIdBytes() {
      * 
* * string request_id = 3; - * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId(java.lang.String value) { + public Builder setRequestId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + requestId_ = value; onChanged(); return this; } /** - * - * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1230,18 +1092,15 @@ public Builder setRequestId(java.lang.String value) {
      * 
* * string request_id = 3; - * * @return This builder for chaining. */ public Builder clearRequestId() { - + requestId_ = getDefaultInstance().getRequestId(); onChanged(); return this; } /** - * - * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1257,23 +1116,23 @@ public Builder clearRequestId() {
      * 
* * string request_id = 3; - * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { + public Builder setRequestIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + requestId_ = 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); } @@ -1283,12 +1142,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.vmmigration.v1.UpdateSourceRequest) } // @@protoc_insertion_point(class_scope:google.cloud.vmmigration.v1.UpdateSourceRequest) private static final com.google.cloud.vmmigration.v1.UpdateSourceRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.vmmigration.v1.UpdateSourceRequest(); } @@ -1297,16 +1156,16 @@ public static com.google.cloud.vmmigration.v1.UpdateSourceRequest getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateSourceRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new UpdateSourceRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateSourceRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new UpdateSourceRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1321,4 +1180,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.vmmigration.v1.UpdateSourceRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/UpdateSourceRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/UpdateSourceRequestOrBuilder.java similarity index 81% rename from proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/UpdateSourceRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/UpdateSourceRequestOrBuilder.java index 2a44ff0..f077179 100644 --- a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/UpdateSourceRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/UpdateSourceRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; -public interface UpdateSourceRequestOrBuilder - extends +public interface UpdateSourceRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.UpdateSourceRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Field mask is used to specify the fields to be overwritten in the
    * Source resource by the update.
@@ -35,13 +17,10 @@ public interface UpdateSourceRequestOrBuilder
    * 
* * .google.protobuf.FieldMask update_mask = 1; - * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** - * - * *
    * Field mask is used to specify the fields to be overwritten in the
    * Source resource by the update.
@@ -51,13 +30,10 @@ public interface UpdateSourceRequestOrBuilder
    * 
* * .google.protobuf.FieldMask update_mask = 1; - * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** - * - * *
    * Field mask is used to specify the fields to be overwritten in the
    * Source resource by the update.
@@ -71,46 +47,33 @@ public interface UpdateSourceRequestOrBuilder
   com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder();
 
   /**
-   *
-   *
    * 
    * Required. The update request body.
    * 
* - * .google.cloud.vmmigration.v1.Source source = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.vmmigration.v1.Source source = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the source field is set. */ boolean hasSource(); /** - * - * *
    * Required. The update request body.
    * 
* - * .google.cloud.vmmigration.v1.Source source = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.vmmigration.v1.Source source = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The source. */ com.google.cloud.vmmigration.v1.Source getSource(); /** - * - * *
    * Required. The update request body.
    * 
* - * .google.cloud.vmmigration.v1.Source source = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.vmmigration.v1.Source source = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.vmmigration.v1.SourceOrBuilder getSourceOrBuilder(); /** - * - * *
    * A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -126,13 +89,10 @@ public interface UpdateSourceRequestOrBuilder
    * 
* * string request_id = 3; - * * @return The requestId. */ java.lang.String getRequestId(); /** - * - * *
    * A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -148,8 +108,8 @@ public interface UpdateSourceRequestOrBuilder
    * 
* * string request_id = 3; - * * @return The bytes for requestId. */ - com.google.protobuf.ByteString getRequestIdBytes(); + com.google.protobuf.ByteString + getRequestIdBytes(); } diff --git a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/UpdateTargetProjectRequest.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/UpdateTargetProjectRequest.java similarity index 72% rename from proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/UpdateTargetProjectRequest.java rename to owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/UpdateTargetProjectRequest.java index ac6fd7a..19afe3a 100644 --- a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/UpdateTargetProjectRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/UpdateTargetProjectRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; /** - * - * *
  * Update message for 'UpdateTargetProject' request.
  * 
* * Protobuf type {@code google.cloud.vmmigration.v1.UpdateTargetProjectRequest} */ -public final class UpdateTargetProjectRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class UpdateTargetProjectRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.vmmigration.v1.UpdateTargetProjectRequest) UpdateTargetProjectRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use UpdateTargetProjectRequest.newBuilder() to construct. private UpdateTargetProjectRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UpdateTargetProjectRequest() { requestId_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UpdateTargetProjectRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private UpdateTargetProjectRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,51 +53,45 @@ private UpdateTargetProjectRequest( case 0: done = true; break; - case 10: - { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); - } - updateMask_ = - input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); } - case 18: - { - com.google.cloud.vmmigration.v1.TargetProject.Builder subBuilder = null; - if (targetProject_ != null) { - subBuilder = targetProject_.toBuilder(); - } - targetProject_ = - input.readMessage( - com.google.cloud.vmmigration.v1.TargetProject.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(targetProject_); - targetProject_ = subBuilder.buildPartial(); - } - - break; + updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - requestId_ = s; - break; + break; + } + case 18: { + com.google.cloud.vmmigration.v1.TargetProject.Builder subBuilder = null; + if (targetProject_ != null) { + subBuilder = targetProject_.toBuilder(); + } + targetProject_ = input.readMessage(com.google.cloud.vmmigration.v1.TargetProject.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(targetProject_); + targetProject_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + + requestId_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -122,33 +99,29 @@ private UpdateTargetProjectRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_UpdateTargetProjectRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_UpdateTargetProjectRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_UpdateTargetProjectRequest_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_UpdateTargetProjectRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.UpdateTargetProjectRequest.class, - com.google.cloud.vmmigration.v1.UpdateTargetProjectRequest.Builder.class); + com.google.cloud.vmmigration.v1.UpdateTargetProjectRequest.class, com.google.cloud.vmmigration.v1.UpdateTargetProjectRequest.Builder.class); } public static final int UPDATE_MASK_FIELD_NUMBER = 1; private com.google.protobuf.FieldMask updateMask_; /** - * - * *
    * Field mask is used to specify the fields to be overwritten in the
    * TargetProject resource by the update.
@@ -158,7 +131,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * .google.protobuf.FieldMask update_mask = 1; - * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -166,8 +138,6 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** - * - * *
    * Field mask is used to specify the fields to be overwritten in the
    * TargetProject resource by the update.
@@ -177,7 +147,6 @@ public boolean hasUpdateMask() {
    * 
* * .google.protobuf.FieldMask update_mask = 1; - * * @return The updateMask. */ @java.lang.Override @@ -185,8 +154,6 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** - * - * *
    * Field mask is used to specify the fields to be overwritten in the
    * TargetProject resource by the update.
@@ -205,16 +172,11 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
   public static final int TARGET_PROJECT_FIELD_NUMBER = 2;
   private com.google.cloud.vmmigration.v1.TargetProject targetProject_;
   /**
-   *
-   *
    * 
    * Required. The update request body.
    * 
* - * - * .google.cloud.vmmigration.v1.TargetProject target_project = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.vmmigration.v1.TargetProject target_project = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the targetProject field is set. */ @java.lang.Override @@ -222,34 +184,23 @@ public boolean hasTargetProject() { return targetProject_ != null; } /** - * - * *
    * Required. The update request body.
    * 
* - * - * .google.cloud.vmmigration.v1.TargetProject target_project = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.vmmigration.v1.TargetProject target_project = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The targetProject. */ @java.lang.Override public com.google.cloud.vmmigration.v1.TargetProject getTargetProject() { - return targetProject_ == null - ? com.google.cloud.vmmigration.v1.TargetProject.getDefaultInstance() - : targetProject_; + return targetProject_ == null ? com.google.cloud.vmmigration.v1.TargetProject.getDefaultInstance() : targetProject_; } /** - * - * *
    * Required. The update request body.
    * 
* - * - * .google.cloud.vmmigration.v1.TargetProject target_project = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.vmmigration.v1.TargetProject target_project = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.vmmigration.v1.TargetProjectOrBuilder getTargetProjectOrBuilder() { @@ -259,8 +210,6 @@ public com.google.cloud.vmmigration.v1.TargetProjectOrBuilder getTargetProjectOr public static final int REQUEST_ID_FIELD_NUMBER = 3; private volatile java.lang.Object requestId_; /** - * - * *
    * A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -276,7 +225,6 @@ public com.google.cloud.vmmigration.v1.TargetProjectOrBuilder getTargetProjectOr
    * 
* * string request_id = 3; - * * @return The requestId. */ @java.lang.Override @@ -285,15 +233,14 @@ public java.lang.String getRequestId() { 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(); requestId_ = s; return s; } } /** - * - * *
    * A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -309,15 +256,16 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 3; - * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; 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); requestId_ = b; return b; } else { @@ -326,7 +274,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -338,7 +285,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 (updateMask_ != null) { output.writeMessage(1, getUpdateMask()); } @@ -358,10 +306,12 @@ public int getSerializedSize() { size = 0; if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getUpdateMask()); } if (targetProject_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getTargetProject()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getTargetProject()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, requestId_); @@ -374,23 +324,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.vmmigration.v1.UpdateTargetProjectRequest)) { return super.equals(obj); } - com.google.cloud.vmmigration.v1.UpdateTargetProjectRequest other = - (com.google.cloud.vmmigration.v1.UpdateTargetProjectRequest) obj; + com.google.cloud.vmmigration.v1.UpdateTargetProjectRequest other = (com.google.cloud.vmmigration.v1.UpdateTargetProjectRequest) obj; if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask().equals(other.getUpdateMask())) return false; + if (!getUpdateMask() + .equals(other.getUpdateMask())) return false; } if (hasTargetProject() != other.hasTargetProject()) return false; if (hasTargetProject()) { - if (!getTargetProject().equals(other.getTargetProject())) return false; + if (!getTargetProject() + .equals(other.getTargetProject())) return false; } - if (!getRequestId().equals(other.getRequestId())) return false; + if (!getRequestId() + .equals(other.getRequestId())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -418,127 +370,117 @@ public int hashCode() { } public static com.google.cloud.vmmigration.v1.UpdateTargetProjectRequest 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.vmmigration.v1.UpdateTargetProjectRequest 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.vmmigration.v1.UpdateTargetProjectRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.vmmigration.v1.UpdateTargetProjectRequest 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.vmmigration.v1.UpdateTargetProjectRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.vmmigration.v1.UpdateTargetProjectRequest 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.vmmigration.v1.UpdateTargetProjectRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.vmmigration.v1.UpdateTargetProjectRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.vmmigration.v1.UpdateTargetProjectRequest 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.vmmigration.v1.UpdateTargetProjectRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.vmmigration.v1.UpdateTargetProjectRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.vmmigration.v1.UpdateTargetProjectRequest 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.vmmigration.v1.UpdateTargetProjectRequest 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.vmmigration.v1.UpdateTargetProjectRequest 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.vmmigration.v1.UpdateTargetProjectRequest prototype) { + public static Builder newBuilder(com.google.cloud.vmmigration.v1.UpdateTargetProjectRequest 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; } /** - * - * *
    * Update message for 'UpdateTargetProject' request.
    * 
* * Protobuf type {@code google.cloud.vmmigration.v1.UpdateTargetProjectRequest} */ - 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.vmmigration.v1.UpdateTargetProjectRequest) com.google.cloud.vmmigration.v1.UpdateTargetProjectRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_UpdateTargetProjectRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_UpdateTargetProjectRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_UpdateTargetProjectRequest_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_UpdateTargetProjectRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.UpdateTargetProjectRequest.class, - com.google.cloud.vmmigration.v1.UpdateTargetProjectRequest.Builder.class); + com.google.cloud.vmmigration.v1.UpdateTargetProjectRequest.class, com.google.cloud.vmmigration.v1.UpdateTargetProjectRequest.Builder.class); } // Construct using com.google.cloud.vmmigration.v1.UpdateTargetProjectRequest.newBuilder() @@ -546,15 +488,16 @@ 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) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -576,9 +519,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_UpdateTargetProjectRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_UpdateTargetProjectRequest_descriptor; } @java.lang.Override @@ -597,8 +540,7 @@ public com.google.cloud.vmmigration.v1.UpdateTargetProjectRequest build() { @java.lang.Override public com.google.cloud.vmmigration.v1.UpdateTargetProjectRequest buildPartial() { - com.google.cloud.vmmigration.v1.UpdateTargetProjectRequest result = - new com.google.cloud.vmmigration.v1.UpdateTargetProjectRequest(this); + com.google.cloud.vmmigration.v1.UpdateTargetProjectRequest result = new com.google.cloud.vmmigration.v1.UpdateTargetProjectRequest(this); if (updateMaskBuilder_ == null) { result.updateMask_ = updateMask_; } else { @@ -618,39 +560,38 @@ public com.google.cloud.vmmigration.v1.UpdateTargetProjectRequest buildPartial() 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.vmmigration.v1.UpdateTargetProjectRequest) { - return mergeFrom((com.google.cloud.vmmigration.v1.UpdateTargetProjectRequest) other); + return mergeFrom((com.google.cloud.vmmigration.v1.UpdateTargetProjectRequest)other); } else { super.mergeFrom(other); return this; @@ -658,8 +599,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.vmmigration.v1.UpdateTargetProjectRequest other) { - if (other == com.google.cloud.vmmigration.v1.UpdateTargetProjectRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.vmmigration.v1.UpdateTargetProjectRequest.getDefaultInstance()) return this; if (other.hasUpdateMask()) { mergeUpdateMask(other.getUpdateMask()); } @@ -689,8 +629,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.vmmigration.v1.UpdateTargetProjectRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.vmmigration.v1.UpdateTargetProjectRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -702,13 +641,8 @@ public Builder mergeFrom( 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_; /** - * - * *
      * Field mask is used to specify the fields to be overwritten in the
      * TargetProject resource by the update.
@@ -718,15 +652,12 @@ public Builder mergeFrom(
      * 
* * .google.protobuf.FieldMask update_mask = 1; - * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** - * - * *
      * Field mask is used to specify the fields to be overwritten in the
      * TargetProject resource by the update.
@@ -736,21 +667,16 @@ public boolean hasUpdateMask() {
      * 
* * .google.protobuf.FieldMask update_mask = 1; - * * @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(); } } /** - * - * *
      * Field mask is used to specify the fields to be overwritten in the
      * TargetProject resource by the update.
@@ -775,8 +701,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Field mask is used to specify the fields to be overwritten in the
      * TargetProject resource by the update.
@@ -787,7 +711,8 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      *
      * .google.protobuf.FieldMask update_mask = 1;
      */
-    public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) {
+    public Builder setUpdateMask(
+        com.google.protobuf.FieldMask.Builder builderForValue) {
       if (updateMaskBuilder_ == null) {
         updateMask_ = builderForValue.build();
         onChanged();
@@ -798,8 +723,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal
       return this;
     }
     /**
-     *
-     *
      * 
      * Field mask is used to specify the fields to be overwritten in the
      * TargetProject resource by the update.
@@ -814,7 +737,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       if (updateMaskBuilder_ == null) {
         if (updateMask_ != null) {
           updateMask_ =
-              com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
+            com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
         } else {
           updateMask_ = value;
         }
@@ -826,8 +749,6 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Field mask is used to specify the fields to be overwritten in the
      * TargetProject resource by the update.
@@ -850,8 +771,6 @@ public Builder clearUpdateMask() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Field mask is used to specify the fields to be overwritten in the
      * TargetProject resource by the update.
@@ -863,13 +782,11 @@ public Builder clearUpdateMask() {
      * .google.protobuf.FieldMask update_mask = 1;
      */
     public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
-
+      
       onChanged();
       return getUpdateMaskFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Field mask is used to specify the fields to be overwritten in the
      * TargetProject resource by the update.
@@ -884,14 +801,11 @@ 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_;
       }
     }
     /**
-     *
-     *
      * 
      * Field mask is used to specify the fields to be overwritten in the
      * TargetProject resource by the update.
@@ -903,17 +817,14 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      * .google.protobuf.FieldMask update_mask = 1;
      */
     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_;
@@ -921,58 +832,39 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
 
     private com.google.cloud.vmmigration.v1.TargetProject targetProject_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.vmmigration.v1.TargetProject,
-            com.google.cloud.vmmigration.v1.TargetProject.Builder,
-            com.google.cloud.vmmigration.v1.TargetProjectOrBuilder>
-        targetProjectBuilder_;
+        com.google.cloud.vmmigration.v1.TargetProject, com.google.cloud.vmmigration.v1.TargetProject.Builder, com.google.cloud.vmmigration.v1.TargetProjectOrBuilder> targetProjectBuilder_;
     /**
-     *
-     *
      * 
      * Required. The update request body.
      * 
* - * - * .google.cloud.vmmigration.v1.TargetProject target_project = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.vmmigration.v1.TargetProject target_project = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the targetProject field is set. */ public boolean hasTargetProject() { return targetProjectBuilder_ != null || targetProject_ != null; } /** - * - * *
      * Required. The update request body.
      * 
* - * - * .google.cloud.vmmigration.v1.TargetProject target_project = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.vmmigration.v1.TargetProject target_project = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The targetProject. */ public com.google.cloud.vmmigration.v1.TargetProject getTargetProject() { if (targetProjectBuilder_ == null) { - return targetProject_ == null - ? com.google.cloud.vmmigration.v1.TargetProject.getDefaultInstance() - : targetProject_; + return targetProject_ == null ? com.google.cloud.vmmigration.v1.TargetProject.getDefaultInstance() : targetProject_; } else { return targetProjectBuilder_.getMessage(); } } /** - * - * *
      * Required. The update request body.
      * 
* - * - * .google.cloud.vmmigration.v1.TargetProject target_project = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.vmmigration.v1.TargetProject target_project = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setTargetProject(com.google.cloud.vmmigration.v1.TargetProject value) { if (targetProjectBuilder_ == null) { @@ -988,15 +880,11 @@ public Builder setTargetProject(com.google.cloud.vmmigration.v1.TargetProject va return this; } /** - * - * *
      * Required. The update request body.
      * 
* - * - * .google.cloud.vmmigration.v1.TargetProject target_project = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.vmmigration.v1.TargetProject target_project = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setTargetProject( com.google.cloud.vmmigration.v1.TargetProject.Builder builderForValue) { @@ -1010,23 +898,17 @@ public Builder setTargetProject( return this; } /** - * - * *
      * Required. The update request body.
      * 
* - * - * .google.cloud.vmmigration.v1.TargetProject target_project = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.vmmigration.v1.TargetProject target_project = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeTargetProject(com.google.cloud.vmmigration.v1.TargetProject value) { if (targetProjectBuilder_ == null) { if (targetProject_ != null) { targetProject_ = - com.google.cloud.vmmigration.v1.TargetProject.newBuilder(targetProject_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.vmmigration.v1.TargetProject.newBuilder(targetProject_).mergeFrom(value).buildPartial(); } else { targetProject_ = value; } @@ -1038,15 +920,11 @@ public Builder mergeTargetProject(com.google.cloud.vmmigration.v1.TargetProject return this; } /** - * - * *
      * Required. The update request body.
      * 
* - * - * .google.cloud.vmmigration.v1.TargetProject target_project = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.vmmigration.v1.TargetProject target_project = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearTargetProject() { if (targetProjectBuilder_ == null) { @@ -1060,64 +938,48 @@ public Builder clearTargetProject() { return this; } /** - * - * *
      * Required. The update request body.
      * 
* - * - * .google.cloud.vmmigration.v1.TargetProject target_project = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.vmmigration.v1.TargetProject target_project = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.vmmigration.v1.TargetProject.Builder getTargetProjectBuilder() { - + onChanged(); return getTargetProjectFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The update request body.
      * 
* - * - * .google.cloud.vmmigration.v1.TargetProject target_project = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.vmmigration.v1.TargetProject target_project = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.vmmigration.v1.TargetProjectOrBuilder getTargetProjectOrBuilder() { if (targetProjectBuilder_ != null) { return targetProjectBuilder_.getMessageOrBuilder(); } else { - return targetProject_ == null - ? com.google.cloud.vmmigration.v1.TargetProject.getDefaultInstance() - : targetProject_; + return targetProject_ == null ? + com.google.cloud.vmmigration.v1.TargetProject.getDefaultInstance() : targetProject_; } } /** - * - * *
      * Required. The update request body.
      * 
* - * - * .google.cloud.vmmigration.v1.TargetProject target_project = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.vmmigration.v1.TargetProject target_project = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.vmmigration.v1.TargetProject, - com.google.cloud.vmmigration.v1.TargetProject.Builder, - com.google.cloud.vmmigration.v1.TargetProjectOrBuilder> + com.google.cloud.vmmigration.v1.TargetProject, com.google.cloud.vmmigration.v1.TargetProject.Builder, com.google.cloud.vmmigration.v1.TargetProjectOrBuilder> getTargetProjectFieldBuilder() { if (targetProjectBuilder_ == null) { - targetProjectBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.vmmigration.v1.TargetProject, - com.google.cloud.vmmigration.v1.TargetProject.Builder, - com.google.cloud.vmmigration.v1.TargetProjectOrBuilder>( - getTargetProject(), getParentForChildren(), isClean()); + targetProjectBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.vmmigration.v1.TargetProject, com.google.cloud.vmmigration.v1.TargetProject.Builder, com.google.cloud.vmmigration.v1.TargetProjectOrBuilder>( + getTargetProject(), + getParentForChildren(), + isClean()); targetProject_ = null; } return targetProjectBuilder_; @@ -1125,8 +987,6 @@ public com.google.cloud.vmmigration.v1.TargetProjectOrBuilder getTargetProjectOr private java.lang.Object requestId_ = ""; /** - * - * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1142,13 +1002,13 @@ public com.google.cloud.vmmigration.v1.TargetProjectOrBuilder getTargetProjectOr
      * 
* * string request_id = 3; - * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; 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(); requestId_ = s; return s; @@ -1157,8 +1017,6 @@ public java.lang.String getRequestId() { } } /** - * - * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1174,14 +1032,15 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 3; - * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; 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); requestId_ = b; return b; } else { @@ -1189,8 +1048,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } } /** - * - * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1206,22 +1063,20 @@ public com.google.protobuf.ByteString getRequestIdBytes() {
      * 
* * string request_id = 3; - * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId(java.lang.String value) { + public Builder setRequestId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + requestId_ = value; onChanged(); return this; } /** - * - * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1237,18 +1092,15 @@ public Builder setRequestId(java.lang.String value) {
      * 
* * string request_id = 3; - * * @return This builder for chaining. */ public Builder clearRequestId() { - + requestId_ = getDefaultInstance().getRequestId(); onChanged(); return this; } /** - * - * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1264,23 +1116,23 @@ public Builder clearRequestId() {
      * 
* * string request_id = 3; - * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { + public Builder setRequestIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + requestId_ = 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); } @@ -1290,12 +1142,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.vmmigration.v1.UpdateTargetProjectRequest) } // @@protoc_insertion_point(class_scope:google.cloud.vmmigration.v1.UpdateTargetProjectRequest) private static final com.google.cloud.vmmigration.v1.UpdateTargetProjectRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.vmmigration.v1.UpdateTargetProjectRequest(); } @@ -1304,16 +1156,16 @@ public static com.google.cloud.vmmigration.v1.UpdateTargetProjectRequest getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateTargetProjectRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new UpdateTargetProjectRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateTargetProjectRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new UpdateTargetProjectRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1328,4 +1180,6 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.vmmigration.v1.UpdateTargetProjectRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/UpdateTargetProjectRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/UpdateTargetProjectRequestOrBuilder.java similarity index 77% rename from proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/UpdateTargetProjectRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/UpdateTargetProjectRequestOrBuilder.java index 0379f9d..cf34984 100644 --- a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/UpdateTargetProjectRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/UpdateTargetProjectRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; -public interface UpdateTargetProjectRequestOrBuilder - extends +public interface UpdateTargetProjectRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.UpdateTargetProjectRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Field mask is used to specify the fields to be overwritten in the
    * TargetProject resource by the update.
@@ -35,13 +17,10 @@ public interface UpdateTargetProjectRequestOrBuilder
    * 
* * .google.protobuf.FieldMask update_mask = 1; - * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** - * - * *
    * Field mask is used to specify the fields to be overwritten in the
    * TargetProject resource by the update.
@@ -51,13 +30,10 @@ public interface UpdateTargetProjectRequestOrBuilder
    * 
* * .google.protobuf.FieldMask update_mask = 1; - * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** - * - * *
    * Field mask is used to specify the fields to be overwritten in the
    * TargetProject resource by the update.
@@ -71,49 +47,33 @@ public interface UpdateTargetProjectRequestOrBuilder
   com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder();
 
   /**
-   *
-   *
    * 
    * Required. The update request body.
    * 
* - * - * .google.cloud.vmmigration.v1.TargetProject target_project = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.vmmigration.v1.TargetProject target_project = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the targetProject field is set. */ boolean hasTargetProject(); /** - * - * *
    * Required. The update request body.
    * 
* - * - * .google.cloud.vmmigration.v1.TargetProject target_project = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.vmmigration.v1.TargetProject target_project = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The targetProject. */ com.google.cloud.vmmigration.v1.TargetProject getTargetProject(); /** - * - * *
    * Required. The update request body.
    * 
* - * - * .google.cloud.vmmigration.v1.TargetProject target_project = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.vmmigration.v1.TargetProject target_project = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.vmmigration.v1.TargetProjectOrBuilder getTargetProjectOrBuilder(); /** - * - * *
    * A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -129,13 +89,10 @@ public interface UpdateTargetProjectRequestOrBuilder
    * 
* * string request_id = 3; - * * @return The requestId. */ java.lang.String getRequestId(); /** - * - * *
    * A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -151,8 +108,8 @@ public interface UpdateTargetProjectRequestOrBuilder
    * 
* * string request_id = 3; - * * @return The bytes for requestId. */ - com.google.protobuf.ByteString getRequestIdBytes(); + com.google.protobuf.ByteString + getRequestIdBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/UpgradeApplianceRequest.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/UpgradeApplianceRequest.java new file mode 100644 index 0000000..ca531b0 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/UpgradeApplianceRequest.java @@ -0,0 +1,831 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/vmmigration/v1/vmmigration.proto + +package com.google.cloud.vmmigration.v1; + +/** + *
+ * Request message for 'UpgradeAppliance' request.
+ * 
+ * + * Protobuf type {@code google.cloud.vmmigration.v1.UpgradeApplianceRequest} + */ +public final class UpgradeApplianceRequest extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:google.cloud.vmmigration.v1.UpgradeApplianceRequest) + UpgradeApplianceRequestOrBuilder { +private static final long serialVersionUID = 0L; + // Use UpgradeApplianceRequest.newBuilder() to construct. + private UpgradeApplianceRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private UpgradeApplianceRequest() { + datacenterConnector_ = ""; + requestId_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new UpgradeApplianceRequest(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private UpgradeApplianceRequest( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + + datacenterConnector_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + + requestId_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_UpgradeApplianceRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_UpgradeApplianceRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.vmmigration.v1.UpgradeApplianceRequest.class, com.google.cloud.vmmigration.v1.UpgradeApplianceRequest.Builder.class); + } + + public static final int DATACENTER_CONNECTOR_FIELD_NUMBER = 1; + private volatile java.lang.Object datacenterConnector_; + /** + *
+   * Required. The DatacenterConnector name.
+   * 
+ * + * string datacenter_connector = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The datacenterConnector. + */ + @java.lang.Override + public java.lang.String getDatacenterConnector() { + java.lang.Object ref = datacenterConnector_; + 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(); + datacenterConnector_ = s; + return s; + } + } + /** + *
+   * Required. The DatacenterConnector name.
+   * 
+ * + * string datacenter_connector = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for datacenterConnector. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getDatacenterConnectorBytes() { + java.lang.Object ref = datacenterConnector_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + datacenterConnector_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int REQUEST_ID_FIELD_NUMBER = 2; + private volatile java.lang.Object requestId_; + /** + *
+   * A request ID to identify requests. Specify a unique request ID
+   * so that if you must retry your request, the server will know to ignore
+   * the request if it has already been completed. The server will guarantee
+   * that for at least 60 minutes after the first request.
+   * For example, consider a situation where you make an initial request and t
+   * he request times out. If you make the request again with the same request
+   * ID, the server can check if original operation with the same request ID
+   * was received, and if so, will ignore the second request. This prevents
+   * clients from accidentally creating duplicate commitments.
+   * The request ID must be a valid UUID with the exception that zero UUID is
+   * not supported (00000000-0000-0000-0000-000000000000).
+   * 
+ * + * string request_id = 2; + * @return The requestId. + */ + @java.lang.Override + public java.lang.String getRequestId() { + java.lang.Object ref = requestId_; + 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(); + requestId_ = s; + return s; + } + } + /** + *
+   * A request ID to identify requests. Specify a unique request ID
+   * so that if you must retry your request, the server will know to ignore
+   * the request if it has already been completed. The server will guarantee
+   * that for at least 60 minutes after the first request.
+   * For example, consider a situation where you make an initial request and t
+   * he request times out. If you make the request again with the same request
+   * ID, the server can check if original operation with the same request ID
+   * was received, and if so, will ignore the second request. This prevents
+   * clients from accidentally creating duplicate commitments.
+   * The request ID must be a valid UUID with the exception that zero UUID is
+   * not supported (00000000-0000-0000-0000-000000000000).
+   * 
+ * + * string request_id = 2; + * @return The bytes for requestId. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getRequestIdBytes() { + java.lang.Object ref = requestId_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + requestId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + 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(datacenterConnector_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, datacenterConnector_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, requestId_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(datacenterConnector_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, datacenterConnector_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, requestId_); + } + size += unknownFields.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.vmmigration.v1.UpgradeApplianceRequest)) { + return super.equals(obj); + } + com.google.cloud.vmmigration.v1.UpgradeApplianceRequest other = (com.google.cloud.vmmigration.v1.UpgradeApplianceRequest) obj; + + if (!getDatacenterConnector() + .equals(other.getDatacenterConnector())) return false; + if (!getRequestId() + .equals(other.getRequestId())) return false; + if (!unknownFields.equals(other.unknownFields)) 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) + DATACENTER_CONNECTOR_FIELD_NUMBER; + hash = (53 * hash) + getDatacenterConnector().hashCode(); + hash = (37 * hash) + REQUEST_ID_FIELD_NUMBER; + hash = (53 * hash) + getRequestId().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.vmmigration.v1.UpgradeApplianceRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.vmmigration.v1.UpgradeApplianceRequest 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.vmmigration.v1.UpgradeApplianceRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.vmmigration.v1.UpgradeApplianceRequest 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.vmmigration.v1.UpgradeApplianceRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.vmmigration.v1.UpgradeApplianceRequest parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.vmmigration.v1.UpgradeApplianceRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.vmmigration.v1.UpgradeApplianceRequest 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.vmmigration.v1.UpgradeApplianceRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.google.cloud.vmmigration.v1.UpgradeApplianceRequest 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.vmmigration.v1.UpgradeApplianceRequest parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.vmmigration.v1.UpgradeApplianceRequest 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.vmmigration.v1.UpgradeApplianceRequest 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; + } + /** + *
+   * Request message for 'UpgradeAppliance' request.
+   * 
+ * + * Protobuf type {@code google.cloud.vmmigration.v1.UpgradeApplianceRequest} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:google.cloud.vmmigration.v1.UpgradeApplianceRequest) + com.google.cloud.vmmigration.v1.UpgradeApplianceRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_UpgradeApplianceRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_UpgradeApplianceRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.vmmigration.v1.UpgradeApplianceRequest.class, com.google.cloud.vmmigration.v1.UpgradeApplianceRequest.Builder.class); + } + + // Construct using com.google.cloud.vmmigration.v1.UpgradeApplianceRequest.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + datacenterConnector_ = ""; + + requestId_ = ""; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_UpgradeApplianceRequest_descriptor; + } + + @java.lang.Override + public com.google.cloud.vmmigration.v1.UpgradeApplianceRequest getDefaultInstanceForType() { + return com.google.cloud.vmmigration.v1.UpgradeApplianceRequest.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.vmmigration.v1.UpgradeApplianceRequest build() { + com.google.cloud.vmmigration.v1.UpgradeApplianceRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.vmmigration.v1.UpgradeApplianceRequest buildPartial() { + com.google.cloud.vmmigration.v1.UpgradeApplianceRequest result = new com.google.cloud.vmmigration.v1.UpgradeApplianceRequest(this); + result.datacenterConnector_ = datacenterConnector_; + result.requestId_ = requestId_; + onBuilt(); + return result; + } + + @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.vmmigration.v1.UpgradeApplianceRequest) { + return mergeFrom((com.google.cloud.vmmigration.v1.UpgradeApplianceRequest)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.vmmigration.v1.UpgradeApplianceRequest other) { + if (other == com.google.cloud.vmmigration.v1.UpgradeApplianceRequest.getDefaultInstance()) return this; + if (!other.getDatacenterConnector().isEmpty()) { + datacenterConnector_ = other.datacenterConnector_; + onChanged(); + } + if (!other.getRequestId().isEmpty()) { + requestId_ = other.requestId_; + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + 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 { + com.google.cloud.vmmigration.v1.UpgradeApplianceRequest parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.cloud.vmmigration.v1.UpgradeApplianceRequest) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private java.lang.Object datacenterConnector_ = ""; + /** + *
+     * Required. The DatacenterConnector name.
+     * 
+ * + * string datacenter_connector = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The datacenterConnector. + */ + public java.lang.String getDatacenterConnector() { + java.lang.Object ref = datacenterConnector_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + datacenterConnector_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * Required. The DatacenterConnector name.
+     * 
+ * + * string datacenter_connector = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for datacenterConnector. + */ + public com.google.protobuf.ByteString + getDatacenterConnectorBytes() { + java.lang.Object ref = datacenterConnector_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + datacenterConnector_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * Required. The DatacenterConnector name.
+     * 
+ * + * string datacenter_connector = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @param value The datacenterConnector to set. + * @return This builder for chaining. + */ + public Builder setDatacenterConnector( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + datacenterConnector_ = value; + onChanged(); + return this; + } + /** + *
+     * Required. The DatacenterConnector name.
+     * 
+ * + * string datacenter_connector = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return This builder for chaining. + */ + public Builder clearDatacenterConnector() { + + datacenterConnector_ = getDefaultInstance().getDatacenterConnector(); + onChanged(); + return this; + } + /** + *
+     * Required. The DatacenterConnector name.
+     * 
+ * + * string datacenter_connector = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @param value The bytes for datacenterConnector to set. + * @return This builder for chaining. + */ + public Builder setDatacenterConnectorBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + datacenterConnector_ = value; + onChanged(); + return this; + } + + private java.lang.Object requestId_ = ""; + /** + *
+     * A request ID to identify requests. Specify a unique request ID
+     * so that if you must retry your request, the server will know to ignore
+     * the request if it has already been completed. The server will guarantee
+     * that for at least 60 minutes after the first request.
+     * For example, consider a situation where you make an initial request and t
+     * he request times out. If you make the request again with the same request
+     * ID, the server can check if original operation with the same request ID
+     * was received, and if so, will ignore the second request. This prevents
+     * clients from accidentally creating duplicate commitments.
+     * The request ID must be a valid UUID with the exception that zero UUID is
+     * not supported (00000000-0000-0000-0000-000000000000).
+     * 
+ * + * string request_id = 2; + * @return The requestId. + */ + public java.lang.String getRequestId() { + java.lang.Object ref = requestId_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + requestId_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * A request ID to identify requests. Specify a unique request ID
+     * so that if you must retry your request, the server will know to ignore
+     * the request if it has already been completed. The server will guarantee
+     * that for at least 60 minutes after the first request.
+     * For example, consider a situation where you make an initial request and t
+     * he request times out. If you make the request again with the same request
+     * ID, the server can check if original operation with the same request ID
+     * was received, and if so, will ignore the second request. This prevents
+     * clients from accidentally creating duplicate commitments.
+     * The request ID must be a valid UUID with the exception that zero UUID is
+     * not supported (00000000-0000-0000-0000-000000000000).
+     * 
+ * + * string request_id = 2; + * @return The bytes for requestId. + */ + public com.google.protobuf.ByteString + getRequestIdBytes() { + java.lang.Object ref = requestId_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + requestId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * A request ID to identify requests. Specify a unique request ID
+     * so that if you must retry your request, the server will know to ignore
+     * the request if it has already been completed. The server will guarantee
+     * that for at least 60 minutes after the first request.
+     * For example, consider a situation where you make an initial request and t
+     * he request times out. If you make the request again with the same request
+     * ID, the server can check if original operation with the same request ID
+     * was received, and if so, will ignore the second request. This prevents
+     * clients from accidentally creating duplicate commitments.
+     * The request ID must be a valid UUID with the exception that zero UUID is
+     * not supported (00000000-0000-0000-0000-000000000000).
+     * 
+ * + * string request_id = 2; + * @param value The requestId to set. + * @return This builder for chaining. + */ + public Builder setRequestId( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + requestId_ = value; + onChanged(); + return this; + } + /** + *
+     * A request ID to identify requests. Specify a unique request ID
+     * so that if you must retry your request, the server will know to ignore
+     * the request if it has already been completed. The server will guarantee
+     * that for at least 60 minutes after the first request.
+     * For example, consider a situation where you make an initial request and t
+     * he request times out. If you make the request again with the same request
+     * ID, the server can check if original operation with the same request ID
+     * was received, and if so, will ignore the second request. This prevents
+     * clients from accidentally creating duplicate commitments.
+     * The request ID must be a valid UUID with the exception that zero UUID is
+     * not supported (00000000-0000-0000-0000-000000000000).
+     * 
+ * + * string request_id = 2; + * @return This builder for chaining. + */ + public Builder clearRequestId() { + + requestId_ = getDefaultInstance().getRequestId(); + onChanged(); + return this; + } + /** + *
+     * A request ID to identify requests. Specify a unique request ID
+     * so that if you must retry your request, the server will know to ignore
+     * the request if it has already been completed. The server will guarantee
+     * that for at least 60 minutes after the first request.
+     * For example, consider a situation where you make an initial request and t
+     * he request times out. If you make the request again with the same request
+     * ID, the server can check if original operation with the same request ID
+     * was received, and if so, will ignore the second request. This prevents
+     * clients from accidentally creating duplicate commitments.
+     * The request ID must be a valid UUID with the exception that zero UUID is
+     * not supported (00000000-0000-0000-0000-000000000000).
+     * 
+ * + * string request_id = 2; + * @param value The bytes for requestId to set. + * @return This builder for chaining. + */ + public Builder setRequestIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + requestId_ = value; + 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.vmmigration.v1.UpgradeApplianceRequest) + } + + // @@protoc_insertion_point(class_scope:google.cloud.vmmigration.v1.UpgradeApplianceRequest) + private static final com.google.cloud.vmmigration.v1.UpgradeApplianceRequest DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.google.cloud.vmmigration.v1.UpgradeApplianceRequest(); + } + + public static com.google.cloud.vmmigration.v1.UpgradeApplianceRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpgradeApplianceRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new UpgradeApplianceRequest(input, extensionRegistry); + } + }; + + 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.vmmigration.v1.UpgradeApplianceRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/UpgradeApplianceRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/UpgradeApplianceRequestOrBuilder.java new file mode 100644 index 0000000..9666177 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/UpgradeApplianceRequestOrBuilder.java @@ -0,0 +1,69 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/vmmigration/v1/vmmigration.proto + +package com.google.cloud.vmmigration.v1; + +public interface UpgradeApplianceRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.UpgradeApplianceRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The DatacenterConnector name.
+   * 
+ * + * string datacenter_connector = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The datacenterConnector. + */ + java.lang.String getDatacenterConnector(); + /** + *
+   * Required. The DatacenterConnector name.
+   * 
+ * + * string datacenter_connector = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for datacenterConnector. + */ + com.google.protobuf.ByteString + getDatacenterConnectorBytes(); + + /** + *
+   * A request ID to identify requests. Specify a unique request ID
+   * so that if you must retry your request, the server will know to ignore
+   * the request if it has already been completed. The server will guarantee
+   * that for at least 60 minutes after the first request.
+   * For example, consider a situation where you make an initial request and t
+   * he request times out. If you make the request again with the same request
+   * ID, the server can check if original operation with the same request ID
+   * was received, and if so, will ignore the second request. This prevents
+   * clients from accidentally creating duplicate commitments.
+   * The request ID must be a valid UUID with the exception that zero UUID is
+   * not supported (00000000-0000-0000-0000-000000000000).
+   * 
+ * + * string request_id = 2; + * @return The requestId. + */ + java.lang.String getRequestId(); + /** + *
+   * A request ID to identify requests. Specify a unique request ID
+   * so that if you must retry your request, the server will know to ignore
+   * the request if it has already been completed. The server will guarantee
+   * that for at least 60 minutes after the first request.
+   * For example, consider a situation where you make an initial request and t
+   * he request times out. If you make the request again with the same request
+   * ID, the server can check if original operation with the same request ID
+   * was received, and if so, will ignore the second request. This prevents
+   * clients from accidentally creating duplicate commitments.
+   * The request ID must be a valid UUID with the exception that zero UUID is
+   * not supported (00000000-0000-0000-0000-000000000000).
+   * 
+ * + * string request_id = 2; + * @return The bytes for requestId. + */ + com.google.protobuf.ByteString + getRequestIdBytes(); +} diff --git a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/UpgradeApplianceResponse.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/UpgradeApplianceResponse.java new file mode 100644 index 0000000..9552713 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/UpgradeApplianceResponse.java @@ -0,0 +1,429 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/vmmigration/v1/vmmigration.proto + +package com.google.cloud.vmmigration.v1; + +/** + *
+ * Response message for 'UpgradeAppliance' request.
+ * 
+ * + * Protobuf type {@code google.cloud.vmmigration.v1.UpgradeApplianceResponse} + */ +public final class UpgradeApplianceResponse extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:google.cloud.vmmigration.v1.UpgradeApplianceResponse) + UpgradeApplianceResponseOrBuilder { +private static final long serialVersionUID = 0L; + // Use UpgradeApplianceResponse.newBuilder() to construct. + private UpgradeApplianceResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private UpgradeApplianceResponse() { + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new UpgradeApplianceResponse(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private UpgradeApplianceResponse( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_UpgradeApplianceResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_UpgradeApplianceResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.vmmigration.v1.UpgradeApplianceResponse.class, com.google.cloud.vmmigration.v1.UpgradeApplianceResponse.Builder.class); + } + + 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 { + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + size += unknownFields.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.vmmigration.v1.UpgradeApplianceResponse)) { + return super.equals(obj); + } + com.google.cloud.vmmigration.v1.UpgradeApplianceResponse other = (com.google.cloud.vmmigration.v1.UpgradeApplianceResponse) obj; + + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.vmmigration.v1.UpgradeApplianceResponse parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.vmmigration.v1.UpgradeApplianceResponse 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.vmmigration.v1.UpgradeApplianceResponse parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.vmmigration.v1.UpgradeApplianceResponse 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.vmmigration.v1.UpgradeApplianceResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.vmmigration.v1.UpgradeApplianceResponse parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.vmmigration.v1.UpgradeApplianceResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.vmmigration.v1.UpgradeApplianceResponse 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.vmmigration.v1.UpgradeApplianceResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.google.cloud.vmmigration.v1.UpgradeApplianceResponse 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.vmmigration.v1.UpgradeApplianceResponse parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.vmmigration.v1.UpgradeApplianceResponse 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.vmmigration.v1.UpgradeApplianceResponse 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; + } + /** + *
+   * Response message for 'UpgradeAppliance' request.
+   * 
+ * + * Protobuf type {@code google.cloud.vmmigration.v1.UpgradeApplianceResponse} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:google.cloud.vmmigration.v1.UpgradeApplianceResponse) + com.google.cloud.vmmigration.v1.UpgradeApplianceResponseOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_UpgradeApplianceResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_UpgradeApplianceResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.vmmigration.v1.UpgradeApplianceResponse.class, com.google.cloud.vmmigration.v1.UpgradeApplianceResponse.Builder.class); + } + + // Construct using com.google.cloud.vmmigration.v1.UpgradeApplianceResponse.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_UpgradeApplianceResponse_descriptor; + } + + @java.lang.Override + public com.google.cloud.vmmigration.v1.UpgradeApplianceResponse getDefaultInstanceForType() { + return com.google.cloud.vmmigration.v1.UpgradeApplianceResponse.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.vmmigration.v1.UpgradeApplianceResponse build() { + com.google.cloud.vmmigration.v1.UpgradeApplianceResponse result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.vmmigration.v1.UpgradeApplianceResponse buildPartial() { + com.google.cloud.vmmigration.v1.UpgradeApplianceResponse result = new com.google.cloud.vmmigration.v1.UpgradeApplianceResponse(this); + onBuilt(); + return result; + } + + @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.vmmigration.v1.UpgradeApplianceResponse) { + return mergeFrom((com.google.cloud.vmmigration.v1.UpgradeApplianceResponse)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.vmmigration.v1.UpgradeApplianceResponse other) { + if (other == com.google.cloud.vmmigration.v1.UpgradeApplianceResponse.getDefaultInstance()) return this; + this.mergeUnknownFields(other.unknownFields); + 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 { + com.google.cloud.vmmigration.v1.UpgradeApplianceResponse parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.cloud.vmmigration.v1.UpgradeApplianceResponse) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + 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.vmmigration.v1.UpgradeApplianceResponse) + } + + // @@protoc_insertion_point(class_scope:google.cloud.vmmigration.v1.UpgradeApplianceResponse) + private static final com.google.cloud.vmmigration.v1.UpgradeApplianceResponse DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.google.cloud.vmmigration.v1.UpgradeApplianceResponse(); + } + + public static com.google.cloud.vmmigration.v1.UpgradeApplianceResponse getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpgradeApplianceResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new UpgradeApplianceResponse(input, extensionRegistry); + } + }; + + 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.vmmigration.v1.UpgradeApplianceResponse getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/UpgradeApplianceResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/UpgradeApplianceResponseOrBuilder.java new file mode 100644 index 0000000..0ed0a81 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/UpgradeApplianceResponseOrBuilder.java @@ -0,0 +1,9 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/vmmigration/v1/vmmigration.proto + +package com.google.cloud.vmmigration.v1; + +public interface UpgradeApplianceResponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.UpgradeApplianceResponse) + com.google.protobuf.MessageOrBuilder { +} diff --git a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/UpgradeStatus.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/UpgradeStatus.java new file mode 100644 index 0000000..5539e61 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/UpgradeStatus.java @@ -0,0 +1,1519 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/vmmigration/v1/vmmigration.proto + +package com.google.cloud.vmmigration.v1; + +/** + *
+ * UpgradeStatus contains information about upgradeAppliance operation.
+ * 
+ * + * Protobuf type {@code google.cloud.vmmigration.v1.UpgradeStatus} + */ +public final class UpgradeStatus extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:google.cloud.vmmigration.v1.UpgradeStatus) + UpgradeStatusOrBuilder { +private static final long serialVersionUID = 0L; + // Use UpgradeStatus.newBuilder() to construct. + private UpgradeStatus(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private UpgradeStatus() { + version_ = ""; + state_ = 0; + previousVersion_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new UpgradeStatus(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private UpgradeStatus( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + + version_ = s; + break; + } + case 16: { + int rawValue = input.readEnum(); + + state_ = rawValue; + break; + } + case 26: { + com.google.rpc.Status.Builder subBuilder = null; + if (error_ != null) { + subBuilder = error_.toBuilder(); + } + error_ = input.readMessage(com.google.rpc.Status.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(error_); + error_ = subBuilder.buildPartial(); + } + + break; + } + case 34: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (startTime_ != null) { + subBuilder = startTime_.toBuilder(); + } + startTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(startTime_); + startTime_ = subBuilder.buildPartial(); + } + + break; + } + case 42: { + java.lang.String s = input.readStringRequireUtf8(); + + previousVersion_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_UpgradeStatus_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_UpgradeStatus_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.vmmigration.v1.UpgradeStatus.class, com.google.cloud.vmmigration.v1.UpgradeStatus.Builder.class); + } + + /** + *
+   * The possible values of the state.
+   * 
+ * + * Protobuf enum {@code google.cloud.vmmigration.v1.UpgradeStatus.State} + */ + public enum State + implements com.google.protobuf.ProtocolMessageEnum { + /** + *
+     * The state was not sampled by the health checks yet.
+     * 
+ * + * STATE_UNSPECIFIED = 0; + */ + STATE_UNSPECIFIED(0), + /** + *
+     * The upgrade has started.
+     * 
+ * + * RUNNING = 1; + */ + RUNNING(1), + /** + *
+     * The upgrade failed.
+     * 
+ * + * FAILED = 2; + */ + FAILED(2), + /** + *
+     * The upgrade finished successfully.
+     * 
+ * + * SUCCEEDED = 3; + */ + SUCCEEDED(3), + UNRECOGNIZED(-1), + ; + + /** + *
+     * The state was not sampled by the health checks yet.
+     * 
+ * + * STATE_UNSPECIFIED = 0; + */ + public static final int STATE_UNSPECIFIED_VALUE = 0; + /** + *
+     * The upgrade has started.
+     * 
+ * + * RUNNING = 1; + */ + public static final int RUNNING_VALUE = 1; + /** + *
+     * The upgrade failed.
+     * 
+ * + * FAILED = 2; + */ + public static final int FAILED_VALUE = 2; + /** + *
+     * The upgrade finished successfully.
+     * 
+ * + * SUCCEEDED = 3; + */ + public static final int SUCCEEDED_VALUE = 3; + + + public final int getNumber() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalArgumentException( + "Can't get the number of an unknown enum value."); + } + return value; + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static State valueOf(int value) { + return forNumber(value); + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ + public static State forNumber(int value) { + switch (value) { + case 0: return STATE_UNSPECIFIED; + case 1: return RUNNING; + case 2: return FAILED; + case 3: return SUCCEEDED; + default: return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { + return internalValueMap; + } + private static final com.google.protobuf.Internal.EnumLiteMap< + State> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public State findValueByNumber(int number) { + return State.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() { + return getDescriptor(); + } + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.cloud.vmmigration.v1.UpgradeStatus.getDescriptor().getEnumTypes().get(0); + } + + private static final State[] VALUES = values(); + + public static State valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + if (desc.getType() != getDescriptor()) { + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); + } + if (desc.getIndex() == -1) { + return UNRECOGNIZED; + } + return VALUES[desc.getIndex()]; + } + + private final int value; + + private State(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:google.cloud.vmmigration.v1.UpgradeStatus.State) + } + + public static final int VERSION_FIELD_NUMBER = 1; + private volatile java.lang.Object version_; + /** + *
+   * The version to upgrade to.
+   * 
+ * + * string version = 1; + * @return The version. + */ + @java.lang.Override + public java.lang.String getVersion() { + java.lang.Object ref = version_; + 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(); + version_ = s; + return s; + } + } + /** + *
+   * The version to upgrade to.
+   * 
+ * + * string version = 1; + * @return The bytes for version. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getVersionBytes() { + java.lang.Object ref = version_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + version_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int STATE_FIELD_NUMBER = 2; + private int state_; + /** + *
+   * The state of the upgradeAppliance operation.
+   * 
+ * + * .google.cloud.vmmigration.v1.UpgradeStatus.State state = 2; + * @return The enum numeric value on the wire for state. + */ + @java.lang.Override public int getStateValue() { + return state_; + } + /** + *
+   * The state of the upgradeAppliance operation.
+   * 
+ * + * .google.cloud.vmmigration.v1.UpgradeStatus.State state = 2; + * @return The state. + */ + @java.lang.Override public com.google.cloud.vmmigration.v1.UpgradeStatus.State getState() { + @SuppressWarnings("deprecation") + com.google.cloud.vmmigration.v1.UpgradeStatus.State result = com.google.cloud.vmmigration.v1.UpgradeStatus.State.valueOf(state_); + return result == null ? com.google.cloud.vmmigration.v1.UpgradeStatus.State.UNRECOGNIZED : result; + } + + public static final int ERROR_FIELD_NUMBER = 3; + private com.google.rpc.Status error_; + /** + *
+   * Provides details on the state of the upgrade operation in case of an error.
+   * 
+ * + * .google.rpc.Status error = 3; + * @return Whether the error field is set. + */ + @java.lang.Override + public boolean hasError() { + return error_ != null; + } + /** + *
+   * Provides details on the state of the upgrade operation in case of an error.
+   * 
+ * + * .google.rpc.Status error = 3; + * @return The error. + */ + @java.lang.Override + public com.google.rpc.Status getError() { + return error_ == null ? com.google.rpc.Status.getDefaultInstance() : error_; + } + /** + *
+   * Provides details on the state of the upgrade operation in case of an error.
+   * 
+ * + * .google.rpc.Status error = 3; + */ + @java.lang.Override + public com.google.rpc.StatusOrBuilder getErrorOrBuilder() { + return getError(); + } + + public static final int START_TIME_FIELD_NUMBER = 4; + private com.google.protobuf.Timestamp startTime_; + /** + *
+   * The time the operation was started.
+   * 
+ * + * .google.protobuf.Timestamp start_time = 4; + * @return Whether the startTime field is set. + */ + @java.lang.Override + public boolean hasStartTime() { + return startTime_ != null; + } + /** + *
+   * The time the operation was started.
+   * 
+ * + * .google.protobuf.Timestamp start_time = 4; + * @return The startTime. + */ + @java.lang.Override + public com.google.protobuf.Timestamp getStartTime() { + return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; + } + /** + *
+   * The time the operation was started.
+   * 
+ * + * .google.protobuf.Timestamp start_time = 4; + */ + @java.lang.Override + public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { + return getStartTime(); + } + + public static final int PREVIOUS_VERSION_FIELD_NUMBER = 5; + private volatile java.lang.Object previousVersion_; + /** + *
+   * The version from which we upgraded.
+   * 
+ * + * string previous_version = 5; + * @return The previousVersion. + */ + @java.lang.Override + public java.lang.String getPreviousVersion() { + java.lang.Object ref = previousVersion_; + 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(); + previousVersion_ = s; + return s; + } + } + /** + *
+   * The version from which we upgraded.
+   * 
+ * + * string previous_version = 5; + * @return The bytes for previousVersion. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getPreviousVersionBytes() { + java.lang.Object ref = previousVersion_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + previousVersion_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + 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(version_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, version_); + } + if (state_ != com.google.cloud.vmmigration.v1.UpgradeStatus.State.STATE_UNSPECIFIED.getNumber()) { + output.writeEnum(2, state_); + } + if (error_ != null) { + output.writeMessage(3, getError()); + } + if (startTime_ != null) { + output.writeMessage(4, getStartTime()); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(previousVersion_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 5, previousVersion_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(version_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, version_); + } + if (state_ != com.google.cloud.vmmigration.v1.UpgradeStatus.State.STATE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, state_); + } + if (error_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getError()); + } + if (startTime_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getStartTime()); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(previousVersion_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, previousVersion_); + } + size += unknownFields.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.vmmigration.v1.UpgradeStatus)) { + return super.equals(obj); + } + com.google.cloud.vmmigration.v1.UpgradeStatus other = (com.google.cloud.vmmigration.v1.UpgradeStatus) obj; + + if (!getVersion() + .equals(other.getVersion())) return false; + if (state_ != other.state_) return false; + if (hasError() != other.hasError()) return false; + if (hasError()) { + if (!getError() + .equals(other.getError())) return false; + } + if (hasStartTime() != other.hasStartTime()) return false; + if (hasStartTime()) { + if (!getStartTime() + .equals(other.getStartTime())) return false; + } + if (!getPreviousVersion() + .equals(other.getPreviousVersion())) return false; + if (!unknownFields.equals(other.unknownFields)) 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) + VERSION_FIELD_NUMBER; + hash = (53 * hash) + getVersion().hashCode(); + hash = (37 * hash) + STATE_FIELD_NUMBER; + hash = (53 * hash) + state_; + if (hasError()) { + hash = (37 * hash) + ERROR_FIELD_NUMBER; + hash = (53 * hash) + getError().hashCode(); + } + if (hasStartTime()) { + hash = (37 * hash) + START_TIME_FIELD_NUMBER; + hash = (53 * hash) + getStartTime().hashCode(); + } + hash = (37 * hash) + PREVIOUS_VERSION_FIELD_NUMBER; + hash = (53 * hash) + getPreviousVersion().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.vmmigration.v1.UpgradeStatus parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.vmmigration.v1.UpgradeStatus 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.vmmigration.v1.UpgradeStatus parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.vmmigration.v1.UpgradeStatus 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.vmmigration.v1.UpgradeStatus parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.vmmigration.v1.UpgradeStatus parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.vmmigration.v1.UpgradeStatus parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.vmmigration.v1.UpgradeStatus 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.vmmigration.v1.UpgradeStatus parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.google.cloud.vmmigration.v1.UpgradeStatus 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.vmmigration.v1.UpgradeStatus parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.vmmigration.v1.UpgradeStatus 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.vmmigration.v1.UpgradeStatus 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; + } + /** + *
+   * UpgradeStatus contains information about upgradeAppliance operation.
+   * 
+ * + * Protobuf type {@code google.cloud.vmmigration.v1.UpgradeStatus} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:google.cloud.vmmigration.v1.UpgradeStatus) + com.google.cloud.vmmigration.v1.UpgradeStatusOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_UpgradeStatus_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_UpgradeStatus_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.vmmigration.v1.UpgradeStatus.class, com.google.cloud.vmmigration.v1.UpgradeStatus.Builder.class); + } + + // Construct using com.google.cloud.vmmigration.v1.UpgradeStatus.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + version_ = ""; + + state_ = 0; + + if (errorBuilder_ == null) { + error_ = null; + } else { + error_ = null; + errorBuilder_ = null; + } + if (startTimeBuilder_ == null) { + startTime_ = null; + } else { + startTime_ = null; + startTimeBuilder_ = null; + } + previousVersion_ = ""; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_UpgradeStatus_descriptor; + } + + @java.lang.Override + public com.google.cloud.vmmigration.v1.UpgradeStatus getDefaultInstanceForType() { + return com.google.cloud.vmmigration.v1.UpgradeStatus.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.vmmigration.v1.UpgradeStatus build() { + com.google.cloud.vmmigration.v1.UpgradeStatus result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.vmmigration.v1.UpgradeStatus buildPartial() { + com.google.cloud.vmmigration.v1.UpgradeStatus result = new com.google.cloud.vmmigration.v1.UpgradeStatus(this); + result.version_ = version_; + result.state_ = state_; + if (errorBuilder_ == null) { + result.error_ = error_; + } else { + result.error_ = errorBuilder_.build(); + } + if (startTimeBuilder_ == null) { + result.startTime_ = startTime_; + } else { + result.startTime_ = startTimeBuilder_.build(); + } + result.previousVersion_ = previousVersion_; + onBuilt(); + return result; + } + + @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.vmmigration.v1.UpgradeStatus) { + return mergeFrom((com.google.cloud.vmmigration.v1.UpgradeStatus)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.vmmigration.v1.UpgradeStatus other) { + if (other == com.google.cloud.vmmigration.v1.UpgradeStatus.getDefaultInstance()) return this; + if (!other.getVersion().isEmpty()) { + version_ = other.version_; + onChanged(); + } + if (other.state_ != 0) { + setStateValue(other.getStateValue()); + } + if (other.hasError()) { + mergeError(other.getError()); + } + if (other.hasStartTime()) { + mergeStartTime(other.getStartTime()); + } + if (!other.getPreviousVersion().isEmpty()) { + previousVersion_ = other.previousVersion_; + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + 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 { + com.google.cloud.vmmigration.v1.UpgradeStatus parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.cloud.vmmigration.v1.UpgradeStatus) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private java.lang.Object version_ = ""; + /** + *
+     * The version to upgrade to.
+     * 
+ * + * string version = 1; + * @return The version. + */ + public java.lang.String getVersion() { + java.lang.Object ref = version_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + version_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * The version to upgrade to.
+     * 
+ * + * string version = 1; + * @return The bytes for version. + */ + public com.google.protobuf.ByteString + getVersionBytes() { + java.lang.Object ref = version_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + version_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * The version to upgrade to.
+     * 
+ * + * string version = 1; + * @param value The version to set. + * @return This builder for chaining. + */ + public Builder setVersion( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + version_ = value; + onChanged(); + return this; + } + /** + *
+     * The version to upgrade to.
+     * 
+ * + * string version = 1; + * @return This builder for chaining. + */ + public Builder clearVersion() { + + version_ = getDefaultInstance().getVersion(); + onChanged(); + return this; + } + /** + *
+     * The version to upgrade to.
+     * 
+ * + * string version = 1; + * @param value The bytes for version to set. + * @return This builder for chaining. + */ + public Builder setVersionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + version_ = value; + onChanged(); + return this; + } + + private int state_ = 0; + /** + *
+     * The state of the upgradeAppliance operation.
+     * 
+ * + * .google.cloud.vmmigration.v1.UpgradeStatus.State state = 2; + * @return The enum numeric value on the wire for state. + */ + @java.lang.Override public int getStateValue() { + return state_; + } + /** + *
+     * The state of the upgradeAppliance operation.
+     * 
+ * + * .google.cloud.vmmigration.v1.UpgradeStatus.State state = 2; + * @param value The enum numeric value on the wire for state to set. + * @return This builder for chaining. + */ + public Builder setStateValue(int value) { + + state_ = value; + onChanged(); + return this; + } + /** + *
+     * The state of the upgradeAppliance operation.
+     * 
+ * + * .google.cloud.vmmigration.v1.UpgradeStatus.State state = 2; + * @return The state. + */ + @java.lang.Override + public com.google.cloud.vmmigration.v1.UpgradeStatus.State getState() { + @SuppressWarnings("deprecation") + com.google.cloud.vmmigration.v1.UpgradeStatus.State result = com.google.cloud.vmmigration.v1.UpgradeStatus.State.valueOf(state_); + return result == null ? com.google.cloud.vmmigration.v1.UpgradeStatus.State.UNRECOGNIZED : result; + } + /** + *
+     * The state of the upgradeAppliance operation.
+     * 
+ * + * .google.cloud.vmmigration.v1.UpgradeStatus.State state = 2; + * @param value The state to set. + * @return This builder for chaining. + */ + public Builder setState(com.google.cloud.vmmigration.v1.UpgradeStatus.State value) { + if (value == null) { + throw new NullPointerException(); + } + + state_ = value.getNumber(); + onChanged(); + return this; + } + /** + *
+     * The state of the upgradeAppliance operation.
+     * 
+ * + * .google.cloud.vmmigration.v1.UpgradeStatus.State state = 2; + * @return This builder for chaining. + */ + public Builder clearState() { + + state_ = 0; + onChanged(); + return this; + } + + private com.google.rpc.Status error_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> errorBuilder_; + /** + *
+     * Provides details on the state of the upgrade operation in case of an error.
+     * 
+ * + * .google.rpc.Status error = 3; + * @return Whether the error field is set. + */ + public boolean hasError() { + return errorBuilder_ != null || error_ != null; + } + /** + *
+     * Provides details on the state of the upgrade operation in case of an error.
+     * 
+ * + * .google.rpc.Status error = 3; + * @return The error. + */ + public com.google.rpc.Status getError() { + if (errorBuilder_ == null) { + return error_ == null ? com.google.rpc.Status.getDefaultInstance() : error_; + } else { + return errorBuilder_.getMessage(); + } + } + /** + *
+     * Provides details on the state of the upgrade operation in case of an error.
+     * 
+ * + * .google.rpc.Status error = 3; + */ + public Builder setError(com.google.rpc.Status value) { + if (errorBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + error_ = value; + onChanged(); + } else { + errorBuilder_.setMessage(value); + } + + return this; + } + /** + *
+     * Provides details on the state of the upgrade operation in case of an error.
+     * 
+ * + * .google.rpc.Status error = 3; + */ + public Builder setError( + com.google.rpc.Status.Builder builderForValue) { + if (errorBuilder_ == null) { + error_ = builderForValue.build(); + onChanged(); + } else { + errorBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + *
+     * Provides details on the state of the upgrade operation in case of an error.
+     * 
+ * + * .google.rpc.Status error = 3; + */ + public Builder mergeError(com.google.rpc.Status value) { + if (errorBuilder_ == null) { + if (error_ != null) { + error_ = + com.google.rpc.Status.newBuilder(error_).mergeFrom(value).buildPartial(); + } else { + error_ = value; + } + onChanged(); + } else { + errorBuilder_.mergeFrom(value); + } + + return this; + } + /** + *
+     * Provides details on the state of the upgrade operation in case of an error.
+     * 
+ * + * .google.rpc.Status error = 3; + */ + public Builder clearError() { + if (errorBuilder_ == null) { + error_ = null; + onChanged(); + } else { + error_ = null; + errorBuilder_ = null; + } + + return this; + } + /** + *
+     * Provides details on the state of the upgrade operation in case of an error.
+     * 
+ * + * .google.rpc.Status error = 3; + */ + public com.google.rpc.Status.Builder getErrorBuilder() { + + onChanged(); + return getErrorFieldBuilder().getBuilder(); + } + /** + *
+     * Provides details on the state of the upgrade operation in case of an error.
+     * 
+ * + * .google.rpc.Status error = 3; + */ + public com.google.rpc.StatusOrBuilder getErrorOrBuilder() { + if (errorBuilder_ != null) { + return errorBuilder_.getMessageOrBuilder(); + } else { + return error_ == null ? + com.google.rpc.Status.getDefaultInstance() : error_; + } + } + /** + *
+     * Provides details on the state of the upgrade operation in case of an error.
+     * 
+ * + * .google.rpc.Status error = 3; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> + getErrorFieldBuilder() { + if (errorBuilder_ == null) { + errorBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder>( + getError(), + getParentForChildren(), + isClean()); + error_ = null; + } + return errorBuilder_; + } + + 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_; + /** + *
+     * The time the operation was started.
+     * 
+ * + * .google.protobuf.Timestamp start_time = 4; + * @return Whether the startTime field is set. + */ + public boolean hasStartTime() { + return startTimeBuilder_ != null || startTime_ != null; + } + /** + *
+     * The time the operation was started.
+     * 
+ * + * .google.protobuf.Timestamp start_time = 4; + * @return The startTime. + */ + public com.google.protobuf.Timestamp getStartTime() { + if (startTimeBuilder_ == null) { + return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; + } else { + return startTimeBuilder_.getMessage(); + } + } + /** + *
+     * The time the operation was started.
+     * 
+ * + * .google.protobuf.Timestamp start_time = 4; + */ + public Builder setStartTime(com.google.protobuf.Timestamp value) { + if (startTimeBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + startTime_ = value; + onChanged(); + } else { + startTimeBuilder_.setMessage(value); + } + + return this; + } + /** + *
+     * The time the operation was started.
+     * 
+ * + * .google.protobuf.Timestamp start_time = 4; + */ + public Builder setStartTime( + com.google.protobuf.Timestamp.Builder builderForValue) { + if (startTimeBuilder_ == null) { + startTime_ = builderForValue.build(); + onChanged(); + } else { + startTimeBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + *
+     * The time the operation was started.
+     * 
+ * + * .google.protobuf.Timestamp start_time = 4; + */ + public Builder mergeStartTime(com.google.protobuf.Timestamp value) { + if (startTimeBuilder_ == null) { + if (startTime_ != null) { + startTime_ = + com.google.protobuf.Timestamp.newBuilder(startTime_).mergeFrom(value).buildPartial(); + } else { + startTime_ = value; + } + onChanged(); + } else { + startTimeBuilder_.mergeFrom(value); + } + + return this; + } + /** + *
+     * The time the operation was started.
+     * 
+ * + * .google.protobuf.Timestamp start_time = 4; + */ + public Builder clearStartTime() { + if (startTimeBuilder_ == null) { + startTime_ = null; + onChanged(); + } else { + startTime_ = null; + startTimeBuilder_ = null; + } + + return this; + } + /** + *
+     * The time the operation was started.
+     * 
+ * + * .google.protobuf.Timestamp start_time = 4; + */ + public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { + + onChanged(); + return getStartTimeFieldBuilder().getBuilder(); + } + /** + *
+     * The time the operation was started.
+     * 
+ * + * .google.protobuf.Timestamp start_time = 4; + */ + public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { + if (startTimeBuilder_ != null) { + return startTimeBuilder_.getMessageOrBuilder(); + } else { + return startTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; + } + } + /** + *
+     * The time the operation was started.
+     * 
+ * + * .google.protobuf.Timestamp start_time = 4; + */ + private com.google.protobuf.SingleFieldBuilderV3< + 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()); + startTime_ = null; + } + return startTimeBuilder_; + } + + private java.lang.Object previousVersion_ = ""; + /** + *
+     * The version from which we upgraded.
+     * 
+ * + * string previous_version = 5; + * @return The previousVersion. + */ + public java.lang.String getPreviousVersion() { + java.lang.Object ref = previousVersion_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + previousVersion_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * The version from which we upgraded.
+     * 
+ * + * string previous_version = 5; + * @return The bytes for previousVersion. + */ + public com.google.protobuf.ByteString + getPreviousVersionBytes() { + java.lang.Object ref = previousVersion_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + previousVersion_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * The version from which we upgraded.
+     * 
+ * + * string previous_version = 5; + * @param value The previousVersion to set. + * @return This builder for chaining. + */ + public Builder setPreviousVersion( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + previousVersion_ = value; + onChanged(); + return this; + } + /** + *
+     * The version from which we upgraded.
+     * 
+ * + * string previous_version = 5; + * @return This builder for chaining. + */ + public Builder clearPreviousVersion() { + + previousVersion_ = getDefaultInstance().getPreviousVersion(); + onChanged(); + return this; + } + /** + *
+     * The version from which we upgraded.
+     * 
+ * + * string previous_version = 5; + * @param value The bytes for previousVersion to set. + * @return This builder for chaining. + */ + public Builder setPreviousVersionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + previousVersion_ = value; + 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.vmmigration.v1.UpgradeStatus) + } + + // @@protoc_insertion_point(class_scope:google.cloud.vmmigration.v1.UpgradeStatus) + private static final com.google.cloud.vmmigration.v1.UpgradeStatus DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.google.cloud.vmmigration.v1.UpgradeStatus(); + } + + public static com.google.cloud.vmmigration.v1.UpgradeStatus getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpgradeStatus parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new UpgradeStatus(input, extensionRegistry); + } + }; + + 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.vmmigration.v1.UpgradeStatus getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/UpgradeStatusOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/UpgradeStatusOrBuilder.java new file mode 100644 index 0000000..3070444 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/UpgradeStatusOrBuilder.java @@ -0,0 +1,122 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/vmmigration/v1/vmmigration.proto + +package com.google.cloud.vmmigration.v1; + +public interface UpgradeStatusOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.UpgradeStatus) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * The version to upgrade to.
+   * 
+ * + * string version = 1; + * @return The version. + */ + java.lang.String getVersion(); + /** + *
+   * The version to upgrade to.
+   * 
+ * + * string version = 1; + * @return The bytes for version. + */ + com.google.protobuf.ByteString + getVersionBytes(); + + /** + *
+   * The state of the upgradeAppliance operation.
+   * 
+ * + * .google.cloud.vmmigration.v1.UpgradeStatus.State state = 2; + * @return The enum numeric value on the wire for state. + */ + int getStateValue(); + /** + *
+   * The state of the upgradeAppliance operation.
+   * 
+ * + * .google.cloud.vmmigration.v1.UpgradeStatus.State state = 2; + * @return The state. + */ + com.google.cloud.vmmigration.v1.UpgradeStatus.State getState(); + + /** + *
+   * Provides details on the state of the upgrade operation in case of an error.
+   * 
+ * + * .google.rpc.Status error = 3; + * @return Whether the error field is set. + */ + boolean hasError(); + /** + *
+   * Provides details on the state of the upgrade operation in case of an error.
+   * 
+ * + * .google.rpc.Status error = 3; + * @return The error. + */ + com.google.rpc.Status getError(); + /** + *
+   * Provides details on the state of the upgrade operation in case of an error.
+   * 
+ * + * .google.rpc.Status error = 3; + */ + com.google.rpc.StatusOrBuilder getErrorOrBuilder(); + + /** + *
+   * The time the operation was started.
+   * 
+ * + * .google.protobuf.Timestamp start_time = 4; + * @return Whether the startTime field is set. + */ + boolean hasStartTime(); + /** + *
+   * The time the operation was started.
+   * 
+ * + * .google.protobuf.Timestamp start_time = 4; + * @return The startTime. + */ + com.google.protobuf.Timestamp getStartTime(); + /** + *
+   * The time the operation was started.
+   * 
+ * + * .google.protobuf.Timestamp start_time = 4; + */ + com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder(); + + /** + *
+   * The version from which we upgraded.
+   * 
+ * + * string previous_version = 5; + * @return The previousVersion. + */ + java.lang.String getPreviousVersion(); + /** + *
+   * The version from which we upgraded.
+   * 
+ * + * string previous_version = 5; + * @return The bytes for previousVersion. + */ + com.google.protobuf.ByteString + getPreviousVersionBytes(); +} diff --git a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/UtilizationReport.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/UtilizationReport.java similarity index 69% rename from proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/UtilizationReport.java rename to owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/UtilizationReport.java index e98fe89..21a0436 100644 --- a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/UtilizationReport.java +++ b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/UtilizationReport.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; /** - * - * *
  * Utilization report details the utilization (CPU, memory, etc.) of selected
  * source VMs.
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.cloud.vmmigration.v1.UtilizationReport}
  */
-public final class UtilizationReport extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class UtilizationReport extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.vmmigration.v1.UtilizationReport)
     UtilizationReportOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use UtilizationReport.newBuilder() to construct.
   private UtilizationReport(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private UtilizationReport() {
     name_ = "";
     displayName_ = "";
@@ -48,15 +30,16 @@ private UtilizationReport() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new UtilizationReport();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private UtilizationReport(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -76,117 +59,103 @@ private UtilizationReport(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              name_ = s;
-              break;
-            }
-          case 18:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            name_ = s;
+            break;
+          }
+          case 18: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              displayName_ = s;
-              break;
-            }
-          case 24:
-            {
-              int rawValue = input.readEnum();
+            displayName_ = s;
+            break;
+          }
+          case 24: {
+            int rawValue = input.readEnum();
 
-              state_ = rawValue;
-              break;
+            state_ = rawValue;
+            break;
+          }
+          case 34: {
+            com.google.protobuf.Timestamp.Builder subBuilder = null;
+            if (stateTime_ != null) {
+              subBuilder = stateTime_.toBuilder();
             }
-          case 34:
-            {
-              com.google.protobuf.Timestamp.Builder subBuilder = null;
-              if (stateTime_ != null) {
-                subBuilder = stateTime_.toBuilder();
-              }
-              stateTime_ =
-                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(stateTime_);
-                stateTime_ = subBuilder.buildPartial();
-              }
-
-              break;
+            stateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(stateTime_);
+              stateTime_ = subBuilder.buildPartial();
             }
-          case 42:
-            {
-              com.google.rpc.Status.Builder subBuilder = null;
-              if (error_ != null) {
-                subBuilder = error_.toBuilder();
-              }
-              error_ = input.readMessage(com.google.rpc.Status.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(error_);
-                error_ = subBuilder.buildPartial();
-              }
-
-              break;
+
+            break;
+          }
+          case 42: {
+            com.google.rpc.Status.Builder subBuilder = null;
+            if (error_ != null) {
+              subBuilder = error_.toBuilder();
             }
-          case 50:
-            {
-              com.google.protobuf.Timestamp.Builder subBuilder = null;
-              if (createTime_ != null) {
-                subBuilder = createTime_.toBuilder();
-              }
-              createTime_ =
-                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(createTime_);
-                createTime_ = subBuilder.buildPartial();
-              }
-
-              break;
+            error_ = input.readMessage(com.google.rpc.Status.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(error_);
+              error_ = subBuilder.buildPartial();
             }
-          case 56:
-            {
-              int rawValue = input.readEnum();
 
-              timeFrame_ = rawValue;
-              break;
+            break;
+          }
+          case 50: {
+            com.google.protobuf.Timestamp.Builder subBuilder = null;
+            if (createTime_ != null) {
+              subBuilder = createTime_.toBuilder();
             }
-          case 66:
-            {
-              com.google.protobuf.Timestamp.Builder subBuilder = null;
-              if (frameEndTime_ != null) {
-                subBuilder = frameEndTime_.toBuilder();
-              }
-              frameEndTime_ =
-                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(frameEndTime_);
-                frameEndTime_ = subBuilder.buildPartial();
-              }
-
-              break;
+            createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(createTime_);
+              createTime_ = subBuilder.buildPartial();
             }
-          case 72:
-            {
-              vmCount_ = input.readInt32();
-              break;
+
+            break;
+          }
+          case 56: {
+            int rawValue = input.readEnum();
+
+            timeFrame_ = rawValue;
+            break;
+          }
+          case 66: {
+            com.google.protobuf.Timestamp.Builder subBuilder = null;
+            if (frameEndTime_ != null) {
+              subBuilder = frameEndTime_.toBuilder();
             }
-          case 82:
-            {
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                vms_ = new java.util.ArrayList();
-                mutable_bitField0_ |= 0x00000001;
-              }
-              vms_.add(
-                  input.readMessage(
-                      com.google.cloud.vmmigration.v1.VmUtilizationInfo.parser(),
-                      extensionRegistry));
-              break;
+            frameEndTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(frameEndTime_);
+              frameEndTime_ = subBuilder.buildPartial();
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+
+            break;
+          }
+          case 72: {
+
+            vmCount_ = input.readInt32();
+            break;
+          }
+          case 82: {
+            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+              vms_ = new java.util.ArrayList();
+              mutable_bitField0_ |= 0x00000001;
+            }
+            vms_.add(
+                input.readMessage(com.google.cloud.vmmigration.v1.VmUtilizationInfo.parser(), extensionRegistry));
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -194,7 +163,8 @@ private UtilizationReport(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       if (((mutable_bitField0_ & 0x00000001) != 0)) {
         vms_ = java.util.Collections.unmodifiableList(vms_);
@@ -203,35 +173,29 @@ private UtilizationReport(
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.vmmigration.v1.VmMigrationProto
-        .internal_static_google_cloud_vmmigration_v1_UtilizationReport_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_UtilizationReport_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.vmmigration.v1.VmMigrationProto
-        .internal_static_google_cloud_vmmigration_v1_UtilizationReport_fieldAccessorTable
+    return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_UtilizationReport_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.vmmigration.v1.UtilizationReport.class,
-            com.google.cloud.vmmigration.v1.UtilizationReport.Builder.class);
+            com.google.cloud.vmmigration.v1.UtilizationReport.class, com.google.cloud.vmmigration.v1.UtilizationReport.Builder.class);
   }
 
   /**
-   *
-   *
    * 
    * Utilization report state.
    * 
* * Protobuf enum {@code google.cloud.vmmigration.v1.UtilizationReport.State} */ - public enum State implements com.google.protobuf.ProtocolMessageEnum { + public enum State + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * The state is unknown. This value is not in use.
      * 
@@ -240,8 +204,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ STATE_UNSPECIFIED(0), /** - * - * *
      * The report is in the making.
      * 
@@ -250,8 +212,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ CREATING(1), /** - * - * *
      * Report creation completed successfully.
      * 
@@ -260,8 +220,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ SUCCEEDED(2), /** - * - * *
      * Report creation failed.
      * 
@@ -273,8 +231,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * The state is unknown. This value is not in use.
      * 
@@ -283,8 +239,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * The report is in the making.
      * 
@@ -293,8 +247,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CREATING_VALUE = 1; /** - * - * *
      * Report creation completed successfully.
      * 
@@ -303,8 +255,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SUCCEEDED_VALUE = 2; /** - * - * *
      * Report creation failed.
      * 
@@ -313,6 +263,7 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int FAILED_VALUE = 3; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -337,53 +288,50 @@ public static State valueOf(int value) { */ public static State forNumber(int value) { switch (value) { - case 0: - return STATE_UNSPECIFIED; - case 1: - return CREATING; - case 2: - return SUCCEEDED; - case 3: - return FAILED; - default: - return null; + case 0: return STATE_UNSPECIFIED; + case 1: return CREATING; + case 2: return SUCCEEDED; + case 3: return FAILED; + 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< + State> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public State findValueByNumber(int number) { + return State.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public State findValueByNumber(int number) { - return State.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.vmmigration.v1.UtilizationReport.getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.cloud.vmmigration.v1.UtilizationReport.getDescriptor().getEnumTypes().get(0); } private static final State[] VALUES = values(); - public static State valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static State 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; @@ -401,18 +349,15 @@ private State(int value) { } /** - * - * *
    * Report time frame options.
    * 
* * Protobuf enum {@code google.cloud.vmmigration.v1.UtilizationReport.TimeFrame} */ - public enum TimeFrame implements com.google.protobuf.ProtocolMessageEnum { + public enum TimeFrame + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * The time frame was not specified and will default to WEEK.
      * 
@@ -421,8 +366,6 @@ public enum TimeFrame implements com.google.protobuf.ProtocolMessageEnum { */ TIME_FRAME_UNSPECIFIED(0), /** - * - * *
      * One week.
      * 
@@ -431,8 +374,6 @@ public enum TimeFrame implements com.google.protobuf.ProtocolMessageEnum { */ WEEK(1), /** - * - * *
      * One month.
      * 
@@ -441,8 +382,6 @@ public enum TimeFrame implements com.google.protobuf.ProtocolMessageEnum { */ MONTH(2), /** - * - * *
      * One year.
      * 
@@ -454,8 +393,6 @@ public enum TimeFrame implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * The time frame was not specified and will default to WEEK.
      * 
@@ -464,8 +401,6 @@ public enum TimeFrame implements com.google.protobuf.ProtocolMessageEnum { */ public static final int TIME_FRAME_UNSPECIFIED_VALUE = 0; /** - * - * *
      * One week.
      * 
@@ -474,8 +409,6 @@ public enum TimeFrame implements com.google.protobuf.ProtocolMessageEnum { */ public static final int WEEK_VALUE = 1; /** - * - * *
      * One month.
      * 
@@ -484,8 +417,6 @@ public enum TimeFrame implements com.google.protobuf.ProtocolMessageEnum { */ public static final int MONTH_VALUE = 2; /** - * - * *
      * One year.
      * 
@@ -494,6 +425,7 @@ public enum TimeFrame implements com.google.protobuf.ProtocolMessageEnum { */ public static final int YEAR_VALUE = 3; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -518,53 +450,50 @@ public static TimeFrame valueOf(int value) { */ public static TimeFrame forNumber(int value) { switch (value) { - case 0: - return TIME_FRAME_UNSPECIFIED; - case 1: - return WEEK; - case 2: - return MONTH; - case 3: - return YEAR; - default: - return null; + case 0: return TIME_FRAME_UNSPECIFIED; + case 1: return WEEK; + case 2: return MONTH; + case 3: return YEAR; + 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< + TimeFrame> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public TimeFrame findValueByNumber(int number) { + return TimeFrame.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public TimeFrame findValueByNumber(int number) { - return TimeFrame.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.vmmigration.v1.UtilizationReport.getDescriptor() - .getEnumTypes() - .get(1); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.cloud.vmmigration.v1.UtilizationReport.getDescriptor().getEnumTypes().get(1); } private static final TimeFrame[] VALUES = values(); - public static TimeFrame valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static TimeFrame 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; @@ -584,14 +513,11 @@ private TimeFrame(int value) { public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Output only. The report unique name.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ @java.lang.Override @@ -600,29 +526,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. The report unique 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 { @@ -633,14 +559,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int DISPLAY_NAME_FIELD_NUMBER = 2; private volatile java.lang.Object displayName_; /** - * - * *
    * The report display name, as assigned by the user.
    * 
* * string display_name = 2; - * * @return The displayName. */ @java.lang.Override @@ -649,29 +572,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; } } /** - * - * *
    * The report display name, as assigned by the user.
    * 
* * 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 { @@ -682,57 +605,38 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { public static final int STATE_FIELD_NUMBER = 3; private int state_; /** - * - * *
    * Output only. Current state of the report.
    * 
* - * - * .google.cloud.vmmigration.v1.UtilizationReport.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.vmmigration.v1.UtilizationReport.State state = 3 [(.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. Current state of the report.
    * 
* - * - * .google.cloud.vmmigration.v1.UtilizationReport.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.vmmigration.v1.UtilizationReport.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ - @java.lang.Override - public com.google.cloud.vmmigration.v1.UtilizationReport.State getState() { + @java.lang.Override public com.google.cloud.vmmigration.v1.UtilizationReport.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.vmmigration.v1.UtilizationReport.State result = - com.google.cloud.vmmigration.v1.UtilizationReport.State.valueOf(state_); - return result == null - ? com.google.cloud.vmmigration.v1.UtilizationReport.State.UNRECOGNIZED - : result; + com.google.cloud.vmmigration.v1.UtilizationReport.State result = com.google.cloud.vmmigration.v1.UtilizationReport.State.valueOf(state_); + return result == null ? com.google.cloud.vmmigration.v1.UtilizationReport.State.UNRECOGNIZED : result; } public static final int STATE_TIME_FIELD_NUMBER = 4; private com.google.protobuf.Timestamp stateTime_; /** - * - * *
    * Output only. The time the state was last set.
    * 
* - * .google.protobuf.Timestamp state_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp state_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the stateTime field is set. */ @java.lang.Override @@ -740,15 +644,11 @@ public boolean hasStateTime() { return stateTime_ != null; } /** - * - * *
    * Output only. The time the state was last set.
    * 
* - * .google.protobuf.Timestamp state_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp state_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The stateTime. */ @java.lang.Override @@ -756,14 +656,11 @@ public com.google.protobuf.Timestamp getStateTime() { return stateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : stateTime_; } /** - * - * *
    * Output only. The time the state was last set.
    * 
* - * .google.protobuf.Timestamp state_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp state_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getStateTimeOrBuilder() { @@ -773,14 +670,12 @@ public com.google.protobuf.TimestampOrBuilder getStateTimeOrBuilder() { public static final int ERROR_FIELD_NUMBER = 5; private com.google.rpc.Status error_; /** - * - * *
-   * Output only. Provides details on the state of the report in case of an error.
+   * Output only. Provides details on the state of the report in case of an
+   * error.
    * 
* * .google.rpc.Status error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return Whether the error field is set. */ @java.lang.Override @@ -788,14 +683,12 @@ public boolean hasError() { return error_ != null; } /** - * - * *
-   * Output only. Provides details on the state of the report in case of an error.
+   * Output only. Provides details on the state of the report in case of an
+   * error.
    * 
* * .google.rpc.Status error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The error. */ @java.lang.Override @@ -803,10 +696,9 @@ public com.google.rpc.Status getError() { return error_ == null ? com.google.rpc.Status.getDefaultInstance() : error_; } /** - * - * *
-   * Output only. Provides details on the state of the report in case of an error.
+   * Output only. Provides details on the state of the report in case of an
+   * error.
    * 
* * .google.rpc.Status error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -819,16 +711,12 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() { public static final int CREATE_TIME_FIELD_NUMBER = 6; private com.google.protobuf.Timestamp createTime_; /** - * - * *
-   * Output only. The time the report was created (this refers to the time of the request,
-   * not the time the report creation completed).
+   * Output only. The time the report was created (this refers to the time of
+   * the request, not the time the report creation completed).
    * 
* - * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ @java.lang.Override @@ -836,16 +724,12 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
-   * Output only. The time the report was created (this refers to the time of the request,
-   * not the time the report creation completed).
+   * Output only. The time the report was created (this refers to the time of
+   * the request, not the time the report creation completed).
    * 
* - * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ @java.lang.Override @@ -853,15 +737,12 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
-   * Output only. The time the report was created (this refers to the time of the request,
-   * not the time the report creation completed).
+   * Output only. The time the report was created (this refers to the time of
+   * the request, not the time the report creation completed).
    * 
* - * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -871,57 +752,41 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int TIME_FRAME_FIELD_NUMBER = 7; private int timeFrame_; /** - * - * *
    * Time frame of the report.
    * 
* * .google.cloud.vmmigration.v1.UtilizationReport.TimeFrame time_frame = 7; - * * @return The enum numeric value on the wire for timeFrame. */ - @java.lang.Override - public int getTimeFrameValue() { + @java.lang.Override public int getTimeFrameValue() { return timeFrame_; } /** - * - * *
    * Time frame of the report.
    * 
* * .google.cloud.vmmigration.v1.UtilizationReport.TimeFrame time_frame = 7; - * * @return The timeFrame. */ - @java.lang.Override - public com.google.cloud.vmmigration.v1.UtilizationReport.TimeFrame getTimeFrame() { + @java.lang.Override public com.google.cloud.vmmigration.v1.UtilizationReport.TimeFrame getTimeFrame() { @SuppressWarnings("deprecation") - com.google.cloud.vmmigration.v1.UtilizationReport.TimeFrame result = - com.google.cloud.vmmigration.v1.UtilizationReport.TimeFrame.valueOf(timeFrame_); - return result == null - ? com.google.cloud.vmmigration.v1.UtilizationReport.TimeFrame.UNRECOGNIZED - : result; + com.google.cloud.vmmigration.v1.UtilizationReport.TimeFrame result = com.google.cloud.vmmigration.v1.UtilizationReport.TimeFrame.valueOf(timeFrame_); + return result == null ? com.google.cloud.vmmigration.v1.UtilizationReport.TimeFrame.UNRECOGNIZED : result; } public static final int FRAME_END_TIME_FIELD_NUMBER = 8; private com.google.protobuf.Timestamp frameEndTime_; /** - * - * *
-   * Output only. The point in time when the time frame ends. Notice that the time
-   * frame is counted backwards. For instance if the "frame_end_time" value is
-   * 2021/01/20 and the time frame is WEEK then the report covers the week
+   * Output only. The point in time when the time frame ends. Notice that the
+   * time frame is counted backwards. For instance if the "frame_end_time" value
+   * is 2021/01/20 and the time frame is WEEK then the report covers the week
    * between 2021/01/20 and 2021/01/14.
    * 
* - * - * .google.protobuf.Timestamp frame_end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp frame_end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the frameEndTime field is set. */ @java.lang.Override @@ -929,40 +794,29 @@ public boolean hasFrameEndTime() { return frameEndTime_ != null; } /** - * - * *
-   * Output only. The point in time when the time frame ends. Notice that the time
-   * frame is counted backwards. For instance if the "frame_end_time" value is
-   * 2021/01/20 and the time frame is WEEK then the report covers the week
+   * Output only. The point in time when the time frame ends. Notice that the
+   * time frame is counted backwards. For instance if the "frame_end_time" value
+   * is 2021/01/20 and the time frame is WEEK then the report covers the week
    * between 2021/01/20 and 2021/01/14.
    * 
* - * - * .google.protobuf.Timestamp frame_end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp frame_end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The frameEndTime. */ @java.lang.Override public com.google.protobuf.Timestamp getFrameEndTime() { - return frameEndTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : frameEndTime_; + return frameEndTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : frameEndTime_; } /** - * - * *
-   * Output only. The point in time when the time frame ends. Notice that the time
-   * frame is counted backwards. For instance if the "frame_end_time" value is
-   * 2021/01/20 and the time frame is WEEK then the report covers the week
+   * Output only. The point in time when the time frame ends. Notice that the
+   * time frame is counted backwards. For instance if the "frame_end_time" value
+   * is 2021/01/20 and the time frame is WEEK then the report covers the week
    * between 2021/01/20 and 2021/01/14.
    * 
* - * - * .google.protobuf.Timestamp frame_end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp frame_end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getFrameEndTimeOrBuilder() { @@ -972,14 +826,11 @@ public com.google.protobuf.TimestampOrBuilder getFrameEndTimeOrBuilder() { public static final int VM_COUNT_FIELD_NUMBER = 9; private int vmCount_; /** - * - * *
    * Output only. Total number of VMs included in the report.
    * 
* * int32 vm_count = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The vmCount. */ @java.lang.Override @@ -990,8 +841,6 @@ public int getVmCount() { public static final int VMS_FIELD_NUMBER = 10; private java.util.List vms_; /** - * - * *
    * List of utilization information per VM.
    * When sent as part of the request, the "vm_id" field is used in order to
@@ -1006,8 +855,6 @@ public java.util.List getVmsL
     return vms_;
   }
   /**
-   *
-   *
    * 
    * List of utilization information per VM.
    * When sent as part of the request, the "vm_id" field is used in order to
@@ -1018,13 +865,11 @@ public java.util.List getVmsL
    * repeated .google.cloud.vmmigration.v1.VmUtilizationInfo vms = 10;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getVmsOrBuilderList() {
     return vms_;
   }
   /**
-   *
-   *
    * 
    * List of utilization information per VM.
    * When sent as part of the request, the "vm_id" field is used in order to
@@ -1039,8 +884,6 @@ public int getVmsCount() {
     return vms_.size();
   }
   /**
-   *
-   *
    * 
    * List of utilization information per VM.
    * When sent as part of the request, the "vm_id" field is used in order to
@@ -1055,8 +898,6 @@ public com.google.cloud.vmmigration.v1.VmUtilizationInfo getVms(int index) {
     return vms_.get(index);
   }
   /**
-   *
-   *
    * 
    * List of utilization information per VM.
    * When sent as part of the request, the "vm_id" field is used in order to
@@ -1067,12 +908,12 @@ public com.google.cloud.vmmigration.v1.VmUtilizationInfo getVms(int index) {
    * repeated .google.cloud.vmmigration.v1.VmUtilizationInfo vms = 10;
    */
   @java.lang.Override
-  public com.google.cloud.vmmigration.v1.VmUtilizationInfoOrBuilder getVmsOrBuilder(int index) {
+  public com.google.cloud.vmmigration.v1.VmUtilizationInfoOrBuilder getVmsOrBuilder(
+      int index) {
     return vms_.get(index);
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -1084,15 +925,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(name_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
     }
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 2, displayName_);
     }
-    if (state_
-        != com.google.cloud.vmmigration.v1.UtilizationReport.State.STATE_UNSPECIFIED.getNumber()) {
+    if (state_ != com.google.cloud.vmmigration.v1.UtilizationReport.State.STATE_UNSPECIFIED.getNumber()) {
       output.writeEnum(3, state_);
     }
     if (stateTime_ != null) {
@@ -1104,9 +945,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
     if (createTime_ != null) {
       output.writeMessage(6, getCreateTime());
     }
-    if (timeFrame_
-        != com.google.cloud.vmmigration.v1.UtilizationReport.TimeFrame.TIME_FRAME_UNSPECIFIED
-            .getNumber()) {
+    if (timeFrame_ != com.google.cloud.vmmigration.v1.UtilizationReport.TimeFrame.TIME_FRAME_UNSPECIFIED.getNumber()) {
       output.writeEnum(7, timeFrame_);
     }
     if (frameEndTime_ != null) {
@@ -1133,32 +972,37 @@ public int getSerializedSize() {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, displayName_);
     }
-    if (state_
-        != com.google.cloud.vmmigration.v1.UtilizationReport.State.STATE_UNSPECIFIED.getNumber()) {
-      size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, state_);
+    if (state_ != com.google.cloud.vmmigration.v1.UtilizationReport.State.STATE_UNSPECIFIED.getNumber()) {
+      size += com.google.protobuf.CodedOutputStream
+        .computeEnumSize(3, state_);
     }
     if (stateTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getStateTime());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(4, getStateTime());
     }
     if (error_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getError());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(5, getError());
     }
     if (createTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getCreateTime());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(6, getCreateTime());
     }
-    if (timeFrame_
-        != com.google.cloud.vmmigration.v1.UtilizationReport.TimeFrame.TIME_FRAME_UNSPECIFIED
-            .getNumber()) {
-      size += com.google.protobuf.CodedOutputStream.computeEnumSize(7, timeFrame_);
+    if (timeFrame_ != com.google.cloud.vmmigration.v1.UtilizationReport.TimeFrame.TIME_FRAME_UNSPECIFIED.getNumber()) {
+      size += com.google.protobuf.CodedOutputStream
+        .computeEnumSize(7, timeFrame_);
     }
     if (frameEndTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getFrameEndTime());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(8, getFrameEndTime());
     }
     if (vmCount_ != 0) {
-      size += com.google.protobuf.CodedOutputStream.computeInt32Size(9, vmCount_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeInt32Size(9, vmCount_);
     }
     for (int i = 0; i < vms_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(10, vms_.get(i));
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(10, vms_.get(i));
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -1168,36 +1012,43 @@ 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.vmmigration.v1.UtilizationReport)) {
       return super.equals(obj);
     }
-    com.google.cloud.vmmigration.v1.UtilizationReport other =
-        (com.google.cloud.vmmigration.v1.UtilizationReport) obj;
+    com.google.cloud.vmmigration.v1.UtilizationReport other = (com.google.cloud.vmmigration.v1.UtilizationReport) obj;
 
-    if (!getName().equals(other.getName())) return false;
-    if (!getDisplayName().equals(other.getDisplayName())) return false;
+    if (!getName()
+        .equals(other.getName())) return false;
+    if (!getDisplayName()
+        .equals(other.getDisplayName())) return false;
     if (state_ != other.state_) return false;
     if (hasStateTime() != other.hasStateTime()) return false;
     if (hasStateTime()) {
-      if (!getStateTime().equals(other.getStateTime())) return false;
+      if (!getStateTime()
+          .equals(other.getStateTime())) return false;
     }
     if (hasError() != other.hasError()) return false;
     if (hasError()) {
-      if (!getError().equals(other.getError())) return false;
+      if (!getError()
+          .equals(other.getError())) return false;
     }
     if (hasCreateTime() != other.hasCreateTime()) return false;
     if (hasCreateTime()) {
-      if (!getCreateTime().equals(other.getCreateTime())) return false;
+      if (!getCreateTime()
+          .equals(other.getCreateTime())) return false;
     }
     if (timeFrame_ != other.timeFrame_) return false;
     if (hasFrameEndTime() != other.hasFrameEndTime()) return false;
     if (hasFrameEndTime()) {
-      if (!getFrameEndTime().equals(other.getFrameEndTime())) return false;
+      if (!getFrameEndTime()
+          .equals(other.getFrameEndTime())) return false;
     }
-    if (getVmCount() != other.getVmCount()) return false;
-    if (!getVmsList().equals(other.getVmsList())) return false;
+    if (getVmCount()
+        != other.getVmCount()) return false;
+    if (!getVmsList()
+        .equals(other.getVmsList())) return false;
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
   }
@@ -1245,103 +1096,96 @@ public int hashCode() {
   }
 
   public static com.google.cloud.vmmigration.v1.UtilizationReport 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.vmmigration.v1.UtilizationReport 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.vmmigration.v1.UtilizationReport parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.vmmigration.v1.UtilizationReport 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.vmmigration.v1.UtilizationReport parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.vmmigration.v1.UtilizationReport 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.vmmigration.v1.UtilizationReport parseFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+  public static com.google.cloud.vmmigration.v1.UtilizationReport parseFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.vmmigration.v1.UtilizationReport 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.vmmigration.v1.UtilizationReport parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.vmmigration.v1.UtilizationReport parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.vmmigration.v1.UtilizationReport 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.vmmigration.v1.UtilizationReport 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.vmmigration.v1.UtilizationReport 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.vmmigration.v1.UtilizationReport 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;
   }
   /**
-   *
-   *
    * 
    * Utilization report details the utilization (CPU, memory, etc.) of selected
    * source VMs.
@@ -1349,23 +1193,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.vmmigration.v1.UtilizationReport}
    */
-  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.vmmigration.v1.UtilizationReport)
       com.google.cloud.vmmigration.v1.UtilizationReportOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.vmmigration.v1.VmMigrationProto
-          .internal_static_google_cloud_vmmigration_v1_UtilizationReport_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_UtilizationReport_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.vmmigration.v1.VmMigrationProto
-          .internal_static_google_cloud_vmmigration_v1_UtilizationReport_fieldAccessorTable
+      return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_UtilizationReport_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.vmmigration.v1.UtilizationReport.class,
-              com.google.cloud.vmmigration.v1.UtilizationReport.Builder.class);
+              com.google.cloud.vmmigration.v1.UtilizationReport.class, com.google.cloud.vmmigration.v1.UtilizationReport.Builder.class);
     }
 
     // Construct using com.google.cloud.vmmigration.v1.UtilizationReport.newBuilder()
@@ -1373,17 +1215,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) {
         getVmsFieldBuilder();
       }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1431,9 +1273,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.vmmigration.v1.VmMigrationProto
-          .internal_static_google_cloud_vmmigration_v1_UtilizationReport_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_UtilizationReport_descriptor;
     }
 
     @java.lang.Override
@@ -1452,8 +1294,7 @@ public com.google.cloud.vmmigration.v1.UtilizationReport build() {
 
     @java.lang.Override
     public com.google.cloud.vmmigration.v1.UtilizationReport buildPartial() {
-      com.google.cloud.vmmigration.v1.UtilizationReport result =
-          new com.google.cloud.vmmigration.v1.UtilizationReport(this);
+      com.google.cloud.vmmigration.v1.UtilizationReport result = new com.google.cloud.vmmigration.v1.UtilizationReport(this);
       int from_bitField0_ = bitField0_;
       result.name_ = name_;
       result.displayName_ = displayName_;
@@ -1497,39 +1338,38 @@ public com.google.cloud.vmmigration.v1.UtilizationReport buildPartial() {
     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.vmmigration.v1.UtilizationReport) {
-        return mergeFrom((com.google.cloud.vmmigration.v1.UtilizationReport) other);
+        return mergeFrom((com.google.cloud.vmmigration.v1.UtilizationReport)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1537,8 +1377,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.vmmigration.v1.UtilizationReport other) {
-      if (other == com.google.cloud.vmmigration.v1.UtilizationReport.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.vmmigration.v1.UtilizationReport.getDefaultInstance()) return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         onChanged();
@@ -1586,10 +1425,9 @@ public Builder mergeFrom(com.google.cloud.vmmigration.v1.UtilizationReport other
             vmsBuilder_ = null;
             vms_ = other.vms_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            vmsBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getVmsFieldBuilder()
-                    : null;
+            vmsBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getVmsFieldBuilder() : null;
           } else {
             vmsBuilder_.addAllMessages(other.vms_);
           }
@@ -1614,8 +1452,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.cloud.vmmigration.v1.UtilizationReport) e.getUnfinishedMessage();
+        parsedMessage = (com.google.cloud.vmmigration.v1.UtilizationReport) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -1624,25 +1461,22 @@ public Builder mergeFrom(
       }
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Output only. The report unique 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; @@ -1651,21 +1485,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Output only. The report unique 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 { @@ -1673,61 +1506,54 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Output only. The report unique 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Output only. The report unique name.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Output only. The report unique 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) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -1735,20 +1561,18 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object displayName_ = ""; /** - * - * *
      * The report display name, as assigned by the user.
      * 
* * 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; @@ -1757,21 +1581,20 @@ public java.lang.String getDisplayName() { } } /** - * - * *
      * The report display name, as assigned by the user.
      * 
* * 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 { @@ -1779,61 +1602,54 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } } /** - * - * *
      * The report display name, as assigned by the user.
      * 
* * string display_name = 2; - * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName(java.lang.String value) { + public Builder setDisplayName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; onChanged(); return this; } /** - * - * *
      * The report display name, as assigned by the user.
      * 
* * string display_name = 2; - * * @return This builder for chaining. */ public Builder clearDisplayName() { - + displayName_ = getDefaultInstance().getDisplayName(); onChanged(); return this; } /** - * - * *
      * The report display name, as assigned by the user.
      * 
* * 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) { + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; onChanged(); return this; @@ -1841,75 +1657,51 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { private int state_ = 0; /** - * - * *
      * Output only. Current state of the report.
      * 
* - * - * .google.cloud.vmmigration.v1.UtilizationReport.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.vmmigration.v1.UtilizationReport.State state = 3 [(.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. Current state of the report.
      * 
* - * - * .google.cloud.vmmigration.v1.UtilizationReport.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.vmmigration.v1.UtilizationReport.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ public Builder setStateValue(int value) { - + state_ = value; onChanged(); return this; } /** - * - * *
      * Output only. Current state of the report.
      * 
* - * - * .google.cloud.vmmigration.v1.UtilizationReport.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.vmmigration.v1.UtilizationReport.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ @java.lang.Override public com.google.cloud.vmmigration.v1.UtilizationReport.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.vmmigration.v1.UtilizationReport.State result = - com.google.cloud.vmmigration.v1.UtilizationReport.State.valueOf(state_); - return result == null - ? com.google.cloud.vmmigration.v1.UtilizationReport.State.UNRECOGNIZED - : result; + com.google.cloud.vmmigration.v1.UtilizationReport.State result = com.google.cloud.vmmigration.v1.UtilizationReport.State.valueOf(state_); + return result == null ? com.google.cloud.vmmigration.v1.UtilizationReport.State.UNRECOGNIZED : result; } /** - * - * *
      * Output only. Current state of the report.
      * 
* - * - * .google.cloud.vmmigration.v1.UtilizationReport.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.vmmigration.v1.UtilizationReport.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The state to set. * @return This builder for chaining. */ @@ -1917,26 +1709,21 @@ public Builder setState(com.google.cloud.vmmigration.v1.UtilizationReport.State if (value == null) { throw new NullPointerException(); } - + state_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Output only. Current state of the report.
      * 
* - * - * .google.cloud.vmmigration.v1.UtilizationReport.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.vmmigration.v1.UtilizationReport.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearState() { - + state_ = 0; onChanged(); return this; @@ -1944,35 +1731,24 @@ public Builder clearState() { private com.google.protobuf.Timestamp stateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - stateTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> stateTimeBuilder_; /** - * - * *
      * Output only. The time the state was last set.
      * 
* - * .google.protobuf.Timestamp state_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp state_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the stateTime field is set. */ public boolean hasStateTime() { return stateTimeBuilder_ != null || stateTime_ != null; } /** - * - * *
      * Output only. The time the state was last set.
      * 
* - * .google.protobuf.Timestamp state_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp state_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The stateTime. */ public com.google.protobuf.Timestamp getStateTime() { @@ -1983,14 +1759,11 @@ public com.google.protobuf.Timestamp getStateTime() { } } /** - * - * *
      * Output only. The time the state was last set.
      * 
* - * .google.protobuf.Timestamp state_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp state_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setStateTime(com.google.protobuf.Timestamp value) { if (stateTimeBuilder_ == null) { @@ -2006,16 +1779,14 @@ public Builder setStateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time the state was last set.
      * 
* - * .google.protobuf.Timestamp state_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp state_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setStateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setStateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (stateTimeBuilder_ == null) { stateTime_ = builderForValue.build(); onChanged(); @@ -2026,20 +1797,17 @@ public Builder setStateTime(com.google.protobuf.Timestamp.Builder builderForValu return this; } /** - * - * *
      * Output only. The time the state was last set.
      * 
* - * .google.protobuf.Timestamp state_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp state_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeStateTime(com.google.protobuf.Timestamp value) { if (stateTimeBuilder_ == null) { if (stateTime_ != null) { stateTime_ = - com.google.protobuf.Timestamp.newBuilder(stateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(stateTime_).mergeFrom(value).buildPartial(); } else { stateTime_ = value; } @@ -2051,14 +1819,11 @@ public Builder mergeStateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time the state was last set.
      * 
* - * .google.protobuf.Timestamp state_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp state_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearStateTime() { if (stateTimeBuilder_ == null) { @@ -2072,59 +1837,48 @@ public Builder clearStateTime() { return this; } /** - * - * *
      * Output only. The time the state was last set.
      * 
* - * .google.protobuf.Timestamp state_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp state_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getStateTimeBuilder() { - + onChanged(); return getStateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The time the state was last set.
      * 
* - * .google.protobuf.Timestamp state_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp state_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getStateTimeOrBuilder() { if (stateTimeBuilder_ != null) { return stateTimeBuilder_.getMessageOrBuilder(); } else { - return stateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : stateTime_; + return stateTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : stateTime_; } } /** - * - * *
      * Output only. The time the state was last set.
      * 
* - * .google.protobuf.Timestamp state_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp state_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> getStateTimeFieldBuilder() { if (stateTimeBuilder_ == null) { - stateTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getStateTime(), getParentForChildren(), isClean()); + stateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getStateTime(), + getParentForChildren(), + isClean()); stateTime_ = null; } return stateTimeBuilder_; @@ -2132,31 +1886,26 @@ public com.google.protobuf.TimestampOrBuilder getStateTimeOrBuilder() { private com.google.rpc.Status error_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> - errorBuilder_; + com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> errorBuilder_; /** - * - * *
-     * Output only. Provides details on the state of the report in case of an error.
+     * Output only. Provides details on the state of the report in case of an
+     * error.
      * 
* * .google.rpc.Status error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return Whether the error field is set. */ public boolean hasError() { return errorBuilder_ != null || error_ != null; } /** - * - * *
-     * Output only. Provides details on the state of the report in case of an error.
+     * Output only. Provides details on the state of the report in case of an
+     * error.
      * 
* * .google.rpc.Status error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The error. */ public com.google.rpc.Status getError() { @@ -2167,10 +1916,9 @@ public com.google.rpc.Status getError() { } } /** - * - * *
-     * Output only. Provides details on the state of the report in case of an error.
+     * Output only. Provides details on the state of the report in case of an
+     * error.
      * 
* * .google.rpc.Status error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -2189,15 +1937,15 @@ public Builder setError(com.google.rpc.Status value) { return this; } /** - * - * *
-     * Output only. Provides details on the state of the report in case of an error.
+     * Output only. Provides details on the state of the report in case of an
+     * error.
      * 
* * .google.rpc.Status error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setError(com.google.rpc.Status.Builder builderForValue) { + public Builder setError( + com.google.rpc.Status.Builder builderForValue) { if (errorBuilder_ == null) { error_ = builderForValue.build(); onChanged(); @@ -2208,10 +1956,9 @@ public Builder setError(com.google.rpc.Status.Builder builderForValue) { return this; } /** - * - * *
-     * Output only. Provides details on the state of the report in case of an error.
+     * Output only. Provides details on the state of the report in case of an
+     * error.
      * 
* * .google.rpc.Status error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -2219,7 +1966,8 @@ public Builder setError(com.google.rpc.Status.Builder builderForValue) { public Builder mergeError(com.google.rpc.Status value) { if (errorBuilder_ == null) { if (error_ != null) { - error_ = com.google.rpc.Status.newBuilder(error_).mergeFrom(value).buildPartial(); + error_ = + com.google.rpc.Status.newBuilder(error_).mergeFrom(value).buildPartial(); } else { error_ = value; } @@ -2231,10 +1979,9 @@ public Builder mergeError(com.google.rpc.Status value) { return this; } /** - * - * *
-     * Output only. Provides details on the state of the report in case of an error.
+     * Output only. Provides details on the state of the report in case of an
+     * error.
      * 
* * .google.rpc.Status error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -2251,24 +1998,22 @@ public Builder clearError() { return this; } /** - * - * *
-     * Output only. Provides details on the state of the report in case of an error.
+     * Output only. Provides details on the state of the report in case of an
+     * error.
      * 
* * .google.rpc.Status error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.rpc.Status.Builder getErrorBuilder() { - + onChanged(); return getErrorFieldBuilder().getBuilder(); } /** - * - * *
-     * Output only. Provides details on the state of the report in case of an error.
+     * Output only. Provides details on the state of the report in case of an
+     * error.
      * 
* * .google.rpc.Status error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -2277,27 +2022,27 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() { if (errorBuilder_ != null) { return errorBuilder_.getMessageOrBuilder(); } else { - return error_ == null ? com.google.rpc.Status.getDefaultInstance() : error_; + return error_ == null ? + com.google.rpc.Status.getDefaultInstance() : error_; } } /** - * - * *
-     * Output only. Provides details on the state of the report in case of an error.
+     * Output only. Provides details on the state of the report in case of an
+     * error.
      * 
* * .google.rpc.Status error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ 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> getErrorFieldBuilder() { if (errorBuilder_ == null) { - errorBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.Status, - com.google.rpc.Status.Builder, - com.google.rpc.StatusOrBuilder>(getError(), getParentForChildren(), isClean()); + errorBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder>( + getError(), + getParentForChildren(), + isClean()); error_ = null; } return errorBuilder_; @@ -2305,61 +2050,42 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() { private com.google.protobuf.Timestamp createTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - createTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; /** - * - * *
-     * Output only. The time the report was created (this refers to the time of the request,
-     * not the time the report creation completed).
+     * Output only. The time the report was created (this refers to the time of
+     * the request, not the time the report creation completed).
      * 
* - * - * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** - * - * *
-     * Output only. The time the report was created (this refers to the time of the request,
-     * not the time the report creation completed).
+     * Output only. The time the report was created (this refers to the time of
+     * the request, not the time the report creation completed).
      * 
* - * - * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** - * - * *
-     * Output only. The time the report was created (this refers to the time of the request,
-     * not the time the report creation completed).
+     * Output only. The time the report was created (this refers to the time of
+     * the request, not the time the report creation completed).
      * 
* - * - * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -2375,18 +2101,15 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
-     * Output only. The time the report was created (this refers to the time of the request,
-     * not the time the report creation completed).
+     * Output only. The time the report was created (this refers to the time of
+     * the request, not the time the report creation completed).
      * 
* - * - * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); onChanged(); @@ -2397,22 +2120,18 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
-     * Output only. The time the report was created (this refers to the time of the request,
-     * not the time the report creation completed).
+     * Output only. The time the report was created (this refers to the time of
+     * the request, not the time the report creation completed).
      * 
* - * - * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { if (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -2424,16 +2143,12 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
-     * Output only. The time the report was created (this refers to the time of the request,
-     * not the time the report creation completed).
+     * Output only. The time the report was created (this refers to the time of
+     * the request, not the time the report creation completed).
      * 
* - * - * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearCreateTime() { if (createTimeBuilder_ == null) { @@ -2447,67 +2162,51 @@ public Builder clearCreateTime() { return this; } /** - * - * *
-     * Output only. The time the report was created (this refers to the time of the request,
-     * not the time the report creation completed).
+     * Output only. The time the report was created (this refers to the time of
+     * the request, not the time the report creation completed).
      * 
* - * - * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
-     * Output only. The time the report was created (this refers to the time of the request,
-     * not the time the report creation completed).
+     * Output only. The time the report was created (this refers to the time of
+     * the request, not the time the report creation completed).
      * 
* - * - * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } } /** - * - * *
-     * Output only. The time the report was created (this refers to the time of the request,
-     * not the time the report creation completed).
+     * Output only. The time the report was created (this refers to the time of
+     * the request, not the time the report creation completed).
      * 
* - * - * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_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> getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { - createTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getCreateTime(), getParentForChildren(), isClean()); + createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), + getParentForChildren(), + isClean()); createTime_ = null; } return createTimeBuilder_; @@ -2515,67 +2214,51 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { private int timeFrame_ = 0; /** - * - * *
      * Time frame of the report.
      * 
* * .google.cloud.vmmigration.v1.UtilizationReport.TimeFrame time_frame = 7; - * * @return The enum numeric value on the wire for timeFrame. */ - @java.lang.Override - public int getTimeFrameValue() { + @java.lang.Override public int getTimeFrameValue() { return timeFrame_; } /** - * - * *
      * Time frame of the report.
      * 
* * .google.cloud.vmmigration.v1.UtilizationReport.TimeFrame time_frame = 7; - * * @param value The enum numeric value on the wire for timeFrame to set. * @return This builder for chaining. */ public Builder setTimeFrameValue(int value) { - + timeFrame_ = value; onChanged(); return this; } /** - * - * *
      * Time frame of the report.
      * 
* * .google.cloud.vmmigration.v1.UtilizationReport.TimeFrame time_frame = 7; - * * @return The timeFrame. */ @java.lang.Override public com.google.cloud.vmmigration.v1.UtilizationReport.TimeFrame getTimeFrame() { @SuppressWarnings("deprecation") - com.google.cloud.vmmigration.v1.UtilizationReport.TimeFrame result = - com.google.cloud.vmmigration.v1.UtilizationReport.TimeFrame.valueOf(timeFrame_); - return result == null - ? com.google.cloud.vmmigration.v1.UtilizationReport.TimeFrame.UNRECOGNIZED - : result; + com.google.cloud.vmmigration.v1.UtilizationReport.TimeFrame result = com.google.cloud.vmmigration.v1.UtilizationReport.TimeFrame.valueOf(timeFrame_); + return result == null ? com.google.cloud.vmmigration.v1.UtilizationReport.TimeFrame.UNRECOGNIZED : result; } /** - * - * *
      * Time frame of the report.
      * 
* * .google.cloud.vmmigration.v1.UtilizationReport.TimeFrame time_frame = 7; - * * @param value The timeFrame to set. * @return This builder for chaining. */ @@ -2583,24 +2266,21 @@ public Builder setTimeFrame(com.google.cloud.vmmigration.v1.UtilizationReport.Ti if (value == null) { throw new NullPointerException(); } - + timeFrame_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Time frame of the report.
      * 
* * .google.cloud.vmmigration.v1.UtilizationReport.TimeFrame time_frame = 7; - * * @return This builder for chaining. */ public Builder clearTimeFrame() { - + timeFrame_ = 0; onChanged(); return this; @@ -2608,67 +2288,48 @@ public Builder clearTimeFrame() { private com.google.protobuf.Timestamp frameEndTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - frameEndTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> frameEndTimeBuilder_; /** - * - * *
-     * Output only. The point in time when the time frame ends. Notice that the time
-     * frame is counted backwards. For instance if the "frame_end_time" value is
-     * 2021/01/20 and the time frame is WEEK then the report covers the week
+     * Output only. The point in time when the time frame ends. Notice that the
+     * time frame is counted backwards. For instance if the "frame_end_time" value
+     * is 2021/01/20 and the time frame is WEEK then the report covers the week
      * between 2021/01/20 and 2021/01/14.
      * 
* - * - * .google.protobuf.Timestamp frame_end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp frame_end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the frameEndTime field is set. */ public boolean hasFrameEndTime() { return frameEndTimeBuilder_ != null || frameEndTime_ != null; } /** - * - * *
-     * Output only. The point in time when the time frame ends. Notice that the time
-     * frame is counted backwards. For instance if the "frame_end_time" value is
-     * 2021/01/20 and the time frame is WEEK then the report covers the week
+     * Output only. The point in time when the time frame ends. Notice that the
+     * time frame is counted backwards. For instance if the "frame_end_time" value
+     * is 2021/01/20 and the time frame is WEEK then the report covers the week
      * between 2021/01/20 and 2021/01/14.
      * 
* - * - * .google.protobuf.Timestamp frame_end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp frame_end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The frameEndTime. */ public com.google.protobuf.Timestamp getFrameEndTime() { if (frameEndTimeBuilder_ == null) { - return frameEndTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : frameEndTime_; + return frameEndTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : frameEndTime_; } else { return frameEndTimeBuilder_.getMessage(); } } /** - * - * *
-     * Output only. The point in time when the time frame ends. Notice that the time
-     * frame is counted backwards. For instance if the "frame_end_time" value is
-     * 2021/01/20 and the time frame is WEEK then the report covers the week
+     * Output only. The point in time when the time frame ends. Notice that the
+     * time frame is counted backwards. For instance if the "frame_end_time" value
+     * is 2021/01/20 and the time frame is WEEK then the report covers the week
      * between 2021/01/20 and 2021/01/14.
      * 
* - * - * .google.protobuf.Timestamp frame_end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp frame_end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setFrameEndTime(com.google.protobuf.Timestamp value) { if (frameEndTimeBuilder_ == null) { @@ -2684,20 +2345,17 @@ public Builder setFrameEndTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
-     * Output only. The point in time when the time frame ends. Notice that the time
-     * frame is counted backwards. For instance if the "frame_end_time" value is
-     * 2021/01/20 and the time frame is WEEK then the report covers the week
+     * Output only. The point in time when the time frame ends. Notice that the
+     * time frame is counted backwards. For instance if the "frame_end_time" value
+     * is 2021/01/20 and the time frame is WEEK then the report covers the week
      * between 2021/01/20 and 2021/01/14.
      * 
* - * - * .google.protobuf.Timestamp frame_end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp frame_end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setFrameEndTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setFrameEndTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (frameEndTimeBuilder_ == null) { frameEndTime_ = builderForValue.build(); onChanged(); @@ -2708,26 +2366,20 @@ public Builder setFrameEndTime(com.google.protobuf.Timestamp.Builder builderForV return this; } /** - * - * *
-     * Output only. The point in time when the time frame ends. Notice that the time
-     * frame is counted backwards. For instance if the "frame_end_time" value is
-     * 2021/01/20 and the time frame is WEEK then the report covers the week
+     * Output only. The point in time when the time frame ends. Notice that the
+     * time frame is counted backwards. For instance if the "frame_end_time" value
+     * is 2021/01/20 and the time frame is WEEK then the report covers the week
      * between 2021/01/20 and 2021/01/14.
      * 
* - * - * .google.protobuf.Timestamp frame_end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp frame_end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeFrameEndTime(com.google.protobuf.Timestamp value) { if (frameEndTimeBuilder_ == null) { if (frameEndTime_ != null) { frameEndTime_ = - com.google.protobuf.Timestamp.newBuilder(frameEndTime_) - .mergeFrom(value) - .buildPartial(); + com.google.protobuf.Timestamp.newBuilder(frameEndTime_).mergeFrom(value).buildPartial(); } else { frameEndTime_ = value; } @@ -2739,18 +2391,14 @@ public Builder mergeFrameEndTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
-     * Output only. The point in time when the time frame ends. Notice that the time
-     * frame is counted backwards. For instance if the "frame_end_time" value is
-     * 2021/01/20 and the time frame is WEEK then the report covers the week
+     * Output only. The point in time when the time frame ends. Notice that the
+     * time frame is counted backwards. For instance if the "frame_end_time" value
+     * is 2021/01/20 and the time frame is WEEK then the report covers the week
      * between 2021/01/20 and 2021/01/14.
      * 
* - * - * .google.protobuf.Timestamp frame_end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp frame_end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearFrameEndTime() { if (frameEndTimeBuilder_ == null) { @@ -2764,88 +2412,69 @@ public Builder clearFrameEndTime() { return this; } /** - * - * *
-     * Output only. The point in time when the time frame ends. Notice that the time
-     * frame is counted backwards. For instance if the "frame_end_time" value is
-     * 2021/01/20 and the time frame is WEEK then the report covers the week
+     * Output only. The point in time when the time frame ends. Notice that the
+     * time frame is counted backwards. For instance if the "frame_end_time" value
+     * is 2021/01/20 and the time frame is WEEK then the report covers the week
      * between 2021/01/20 and 2021/01/14.
      * 
* - * - * .google.protobuf.Timestamp frame_end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp frame_end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getFrameEndTimeBuilder() { - + onChanged(); return getFrameEndTimeFieldBuilder().getBuilder(); } /** - * - * *
-     * Output only. The point in time when the time frame ends. Notice that the time
-     * frame is counted backwards. For instance if the "frame_end_time" value is
-     * 2021/01/20 and the time frame is WEEK then the report covers the week
+     * Output only. The point in time when the time frame ends. Notice that the
+     * time frame is counted backwards. For instance if the "frame_end_time" value
+     * is 2021/01/20 and the time frame is WEEK then the report covers the week
      * between 2021/01/20 and 2021/01/14.
      * 
* - * - * .google.protobuf.Timestamp frame_end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp frame_end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getFrameEndTimeOrBuilder() { if (frameEndTimeBuilder_ != null) { return frameEndTimeBuilder_.getMessageOrBuilder(); } else { - return frameEndTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : frameEndTime_; + return frameEndTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : frameEndTime_; } } /** - * - * *
-     * Output only. The point in time when the time frame ends. Notice that the time
-     * frame is counted backwards. For instance if the "frame_end_time" value is
-     * 2021/01/20 and the time frame is WEEK then the report covers the week
+     * Output only. The point in time when the time frame ends. Notice that the
+     * time frame is counted backwards. For instance if the "frame_end_time" value
+     * is 2021/01/20 and the time frame is WEEK then the report covers the week
      * between 2021/01/20 and 2021/01/14.
      * 
* - * - * .google.protobuf.Timestamp frame_end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp frame_end_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> getFrameEndTimeFieldBuilder() { if (frameEndTimeBuilder_ == null) { - frameEndTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getFrameEndTime(), getParentForChildren(), isClean()); + frameEndTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getFrameEndTime(), + getParentForChildren(), + isClean()); frameEndTime_ = null; } return frameEndTimeBuilder_; } - private int vmCount_; + private int vmCount_ ; /** - * - * *
      * Output only. Total number of VMs included in the report.
      * 
* * int32 vm_count = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The vmCount. */ @java.lang.Override @@ -2853,60 +2482,48 @@ public int getVmCount() { return vmCount_; } /** - * - * *
      * Output only. Total number of VMs included in the report.
      * 
* * int32 vm_count = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The vmCount to set. * @return This builder for chaining. */ public Builder setVmCount(int value) { - + vmCount_ = value; onChanged(); return this; } /** - * - * *
      * Output only. Total number of VMs included in the report.
      * 
* * int32 vm_count = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearVmCount() { - + vmCount_ = 0; onChanged(); return this; } private java.util.List vms_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureVmsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { vms_ = new java.util.ArrayList(vms_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.vmmigration.v1.VmUtilizationInfo, - com.google.cloud.vmmigration.v1.VmUtilizationInfo.Builder, - com.google.cloud.vmmigration.v1.VmUtilizationInfoOrBuilder> - vmsBuilder_; + com.google.cloud.vmmigration.v1.VmUtilizationInfo, com.google.cloud.vmmigration.v1.VmUtilizationInfo.Builder, com.google.cloud.vmmigration.v1.VmUtilizationInfoOrBuilder> vmsBuilder_; /** - * - * *
      * List of utilization information per VM.
      * When sent as part of the request, the "vm_id" field is used in order to
@@ -2924,8 +2541,6 @@ public java.util.List getVmsL
       }
     }
     /**
-     *
-     *
      * 
      * List of utilization information per VM.
      * When sent as part of the request, the "vm_id" field is used in order to
@@ -2943,8 +2558,6 @@ public int getVmsCount() {
       }
     }
     /**
-     *
-     *
      * 
      * List of utilization information per VM.
      * When sent as part of the request, the "vm_id" field is used in order to
@@ -2962,8 +2575,6 @@ public com.google.cloud.vmmigration.v1.VmUtilizationInfo getVms(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * List of utilization information per VM.
      * When sent as part of the request, the "vm_id" field is used in order to
@@ -2973,7 +2584,8 @@ public com.google.cloud.vmmigration.v1.VmUtilizationInfo getVms(int index) {
      *
      * repeated .google.cloud.vmmigration.v1.VmUtilizationInfo vms = 10;
      */
-    public Builder setVms(int index, com.google.cloud.vmmigration.v1.VmUtilizationInfo value) {
+    public Builder setVms(
+        int index, com.google.cloud.vmmigration.v1.VmUtilizationInfo value) {
       if (vmsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -2987,8 +2599,6 @@ public Builder setVms(int index, com.google.cloud.vmmigration.v1.VmUtilizationIn
       return this;
     }
     /**
-     *
-     *
      * 
      * List of utilization information per VM.
      * When sent as part of the request, the "vm_id" field is used in order to
@@ -3010,8 +2620,6 @@ public Builder setVms(
       return this;
     }
     /**
-     *
-     *
      * 
      * List of utilization information per VM.
      * When sent as part of the request, the "vm_id" field is used in order to
@@ -3035,8 +2643,6 @@ public Builder addVms(com.google.cloud.vmmigration.v1.VmUtilizationInfo value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * List of utilization information per VM.
      * When sent as part of the request, the "vm_id" field is used in order to
@@ -3046,7 +2652,8 @@ public Builder addVms(com.google.cloud.vmmigration.v1.VmUtilizationInfo value) {
      *
      * repeated .google.cloud.vmmigration.v1.VmUtilizationInfo vms = 10;
      */
-    public Builder addVms(int index, com.google.cloud.vmmigration.v1.VmUtilizationInfo value) {
+    public Builder addVms(
+        int index, com.google.cloud.vmmigration.v1.VmUtilizationInfo value) {
       if (vmsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -3060,8 +2667,6 @@ public Builder addVms(int index, com.google.cloud.vmmigration.v1.VmUtilizationIn
       return this;
     }
     /**
-     *
-     *
      * 
      * List of utilization information per VM.
      * When sent as part of the request, the "vm_id" field is used in order to
@@ -3083,8 +2688,6 @@ public Builder addVms(
       return this;
     }
     /**
-     *
-     *
      * 
      * List of utilization information per VM.
      * When sent as part of the request, the "vm_id" field is used in order to
@@ -3106,8 +2709,6 @@ public Builder addVms(
       return this;
     }
     /**
-     *
-     *
      * 
      * List of utilization information per VM.
      * When sent as part of the request, the "vm_id" field is used in order to
@@ -3121,7 +2722,8 @@ public Builder addAllVms(
         java.lang.Iterable values) {
       if (vmsBuilder_ == null) {
         ensureVmsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, vms_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, vms_);
         onChanged();
       } else {
         vmsBuilder_.addAllMessages(values);
@@ -3129,8 +2731,6 @@ public Builder addAllVms(
       return this;
     }
     /**
-     *
-     *
      * 
      * List of utilization information per VM.
      * When sent as part of the request, the "vm_id" field is used in order to
@@ -3151,8 +2751,6 @@ public Builder clearVms() {
       return this;
     }
     /**
-     *
-     *
      * 
      * List of utilization information per VM.
      * When sent as part of the request, the "vm_id" field is used in order to
@@ -3173,8 +2771,6 @@ public Builder removeVms(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * List of utilization information per VM.
      * When sent as part of the request, the "vm_id" field is used in order to
@@ -3184,12 +2780,11 @@ public Builder removeVms(int index) {
      *
      * repeated .google.cloud.vmmigration.v1.VmUtilizationInfo vms = 10;
      */
-    public com.google.cloud.vmmigration.v1.VmUtilizationInfo.Builder getVmsBuilder(int index) {
+    public com.google.cloud.vmmigration.v1.VmUtilizationInfo.Builder getVmsBuilder(
+        int index) {
       return getVmsFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * List of utilization information per VM.
      * When sent as part of the request, the "vm_id" field is used in order to
@@ -3199,16 +2794,14 @@ public com.google.cloud.vmmigration.v1.VmUtilizationInfo.Builder getVmsBuilder(i
      *
      * repeated .google.cloud.vmmigration.v1.VmUtilizationInfo vms = 10;
      */
-    public com.google.cloud.vmmigration.v1.VmUtilizationInfoOrBuilder getVmsOrBuilder(int index) {
+    public com.google.cloud.vmmigration.v1.VmUtilizationInfoOrBuilder getVmsOrBuilder(
+        int index) {
       if (vmsBuilder_ == null) {
-        return vms_.get(index);
-      } else {
+        return vms_.get(index);  } else {
         return vmsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * List of utilization information per VM.
      * When sent as part of the request, the "vm_id" field is used in order to
@@ -3218,8 +2811,8 @@ public com.google.cloud.vmmigration.v1.VmUtilizationInfoOrBuilder getVmsOrBuilde
      *
      * repeated .google.cloud.vmmigration.v1.VmUtilizationInfo vms = 10;
      */
-    public java.util.List
-        getVmsOrBuilderList() {
+    public java.util.List 
+         getVmsOrBuilderList() {
       if (vmsBuilder_ != null) {
         return vmsBuilder_.getMessageOrBuilderList();
       } else {
@@ -3227,8 +2820,6 @@ public com.google.cloud.vmmigration.v1.VmUtilizationInfoOrBuilder getVmsOrBuilde
       }
     }
     /**
-     *
-     *
      * 
      * List of utilization information per VM.
      * When sent as part of the request, the "vm_id" field is used in order to
@@ -3239,12 +2830,10 @@ public com.google.cloud.vmmigration.v1.VmUtilizationInfoOrBuilder getVmsOrBuilde
      * repeated .google.cloud.vmmigration.v1.VmUtilizationInfo vms = 10;
      */
     public com.google.cloud.vmmigration.v1.VmUtilizationInfo.Builder addVmsBuilder() {
-      return getVmsFieldBuilder()
-          .addBuilder(com.google.cloud.vmmigration.v1.VmUtilizationInfo.getDefaultInstance());
+      return getVmsFieldBuilder().addBuilder(
+          com.google.cloud.vmmigration.v1.VmUtilizationInfo.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * List of utilization information per VM.
      * When sent as part of the request, the "vm_id" field is used in order to
@@ -3254,14 +2843,12 @@ public com.google.cloud.vmmigration.v1.VmUtilizationInfo.Builder addVmsBuilder()
      *
      * repeated .google.cloud.vmmigration.v1.VmUtilizationInfo vms = 10;
      */
-    public com.google.cloud.vmmigration.v1.VmUtilizationInfo.Builder addVmsBuilder(int index) {
-      return getVmsFieldBuilder()
-          .addBuilder(
-              index, com.google.cloud.vmmigration.v1.VmUtilizationInfo.getDefaultInstance());
+    public com.google.cloud.vmmigration.v1.VmUtilizationInfo.Builder addVmsBuilder(
+        int index) {
+      return getVmsFieldBuilder().addBuilder(
+          index, com.google.cloud.vmmigration.v1.VmUtilizationInfo.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * List of utilization information per VM.
      * When sent as part of the request, the "vm_id" field is used in order to
@@ -3271,30 +2858,27 @@ public com.google.cloud.vmmigration.v1.VmUtilizationInfo.Builder addVmsBuilder(i
      *
      * repeated .google.cloud.vmmigration.v1.VmUtilizationInfo vms = 10;
      */
-    public java.util.List
-        getVmsBuilderList() {
+    public java.util.List 
+         getVmsBuilderList() {
       return getVmsFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.vmmigration.v1.VmUtilizationInfo,
-            com.google.cloud.vmmigration.v1.VmUtilizationInfo.Builder,
-            com.google.cloud.vmmigration.v1.VmUtilizationInfoOrBuilder>
+        com.google.cloud.vmmigration.v1.VmUtilizationInfo, com.google.cloud.vmmigration.v1.VmUtilizationInfo.Builder, com.google.cloud.vmmigration.v1.VmUtilizationInfoOrBuilder> 
         getVmsFieldBuilder() {
       if (vmsBuilder_ == null) {
-        vmsBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.cloud.vmmigration.v1.VmUtilizationInfo,
-                com.google.cloud.vmmigration.v1.VmUtilizationInfo.Builder,
-                com.google.cloud.vmmigration.v1.VmUtilizationInfoOrBuilder>(
-                vms_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
+        vmsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.cloud.vmmigration.v1.VmUtilizationInfo, com.google.cloud.vmmigration.v1.VmUtilizationInfo.Builder, com.google.cloud.vmmigration.v1.VmUtilizationInfoOrBuilder>(
+                vms_,
+                ((bitField0_ & 0x00000001) != 0),
+                getParentForChildren(),
+                isClean());
         vms_ = null;
       }
       return vmsBuilder_;
     }
-
     @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);
     }
 
@@ -3304,12 +2888,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.vmmigration.v1.UtilizationReport)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.vmmigration.v1.UtilizationReport)
   private static final com.google.cloud.vmmigration.v1.UtilizationReport DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.cloud.vmmigration.v1.UtilizationReport();
   }
@@ -3318,16 +2902,16 @@ public static com.google.cloud.vmmigration.v1.UtilizationReport getDefaultInstan
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public UtilizationReport parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          return new UtilizationReport(input, extensionRegistry);
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public UtilizationReport parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      return new UtilizationReport(input, extensionRegistry);
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -3342,4 +2926,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.vmmigration.v1.UtilizationReport getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/UtilizationReportName.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/UtilizationReportName.java
similarity index 100%
rename from proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/UtilizationReportName.java
rename to owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/UtilizationReportName.java
diff --git a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/UtilizationReportOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/UtilizationReportOrBuilder.java
similarity index 70%
rename from proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/UtilizationReportOrBuilder.java
rename to owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/UtilizationReportOrBuilder.java
index e2e3d8c..22e0bfa 100644
--- a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/UtilizationReportOrBuilder.java
+++ b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/UtilizationReportOrBuilder.java
@@ -1,174 +1,122 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/vmmigration/v1/vmmigration.proto
 
 package com.google.cloud.vmmigration.v1;
 
-public interface UtilizationReportOrBuilder
-    extends
+public interface UtilizationReportOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.UtilizationReport)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Output only. The report unique name.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Output only. The report unique 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(); /** - * - * *
    * The report display name, as assigned by the user.
    * 
* * string display_name = 2; - * * @return The displayName. */ java.lang.String getDisplayName(); /** - * - * *
    * The report display name, as assigned by the user.
    * 
* * string display_name = 2; - * * @return The bytes for displayName. */ - com.google.protobuf.ByteString getDisplayNameBytes(); + com.google.protobuf.ByteString + getDisplayNameBytes(); /** - * - * *
    * Output only. Current state of the report.
    * 
* - * - * .google.cloud.vmmigration.v1.UtilizationReport.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.vmmigration.v1.UtilizationReport.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for state. */ int getStateValue(); /** - * - * *
    * Output only. Current state of the report.
    * 
* - * - * .google.cloud.vmmigration.v1.UtilizationReport.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.vmmigration.v1.UtilizationReport.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ com.google.cloud.vmmigration.v1.UtilizationReport.State getState(); /** - * - * *
    * Output only. The time the state was last set.
    * 
* - * .google.protobuf.Timestamp state_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp state_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the stateTime field is set. */ boolean hasStateTime(); /** - * - * *
    * Output only. The time the state was last set.
    * 
* - * .google.protobuf.Timestamp state_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp state_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The stateTime. */ com.google.protobuf.Timestamp getStateTime(); /** - * - * *
    * Output only. The time the state was last set.
    * 
* - * .google.protobuf.Timestamp state_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp state_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getStateTimeOrBuilder(); /** - * - * *
-   * Output only. Provides details on the state of the report in case of an error.
+   * Output only. Provides details on the state of the report in case of an
+   * error.
    * 
* * .google.rpc.Status error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return Whether the error field is set. */ boolean hasError(); /** - * - * *
-   * Output only. Provides details on the state of the report in case of an error.
+   * Output only. Provides details on the state of the report in case of an
+   * error.
    * 
* * .google.rpc.Status error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The error. */ com.google.rpc.Status getError(); /** - * - * *
-   * Output only. Provides details on the state of the report in case of an error.
+   * Output only. Provides details on the state of the report in case of an
+   * error.
    * 
* * .google.rpc.Status error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -176,137 +124,101 @@ public interface UtilizationReportOrBuilder com.google.rpc.StatusOrBuilder getErrorOrBuilder(); /** - * - * *
-   * Output only. The time the report was created (this refers to the time of the request,
-   * not the time the report creation completed).
+   * Output only. The time the report was created (this refers to the time of
+   * the request, not the time the report creation completed).
    * 
* - * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** - * - * *
-   * Output only. The time the report was created (this refers to the time of the request,
-   * not the time the report creation completed).
+   * Output only. The time the report was created (this refers to the time of
+   * the request, not the time the report creation completed).
    * 
* - * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** - * - * *
-   * Output only. The time the report was created (this refers to the time of the request,
-   * not the time the report creation completed).
+   * Output only. The time the report was created (this refers to the time of
+   * the request, not the time the report creation completed).
    * 
* - * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** - * - * *
    * Time frame of the report.
    * 
* * .google.cloud.vmmigration.v1.UtilizationReport.TimeFrame time_frame = 7; - * * @return The enum numeric value on the wire for timeFrame. */ int getTimeFrameValue(); /** - * - * *
    * Time frame of the report.
    * 
* * .google.cloud.vmmigration.v1.UtilizationReport.TimeFrame time_frame = 7; - * * @return The timeFrame. */ com.google.cloud.vmmigration.v1.UtilizationReport.TimeFrame getTimeFrame(); /** - * - * *
-   * Output only. The point in time when the time frame ends. Notice that the time
-   * frame is counted backwards. For instance if the "frame_end_time" value is
-   * 2021/01/20 and the time frame is WEEK then the report covers the week
+   * Output only. The point in time when the time frame ends. Notice that the
+   * time frame is counted backwards. For instance if the "frame_end_time" value
+   * is 2021/01/20 and the time frame is WEEK then the report covers the week
    * between 2021/01/20 and 2021/01/14.
    * 
* - * - * .google.protobuf.Timestamp frame_end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp frame_end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the frameEndTime field is set. */ boolean hasFrameEndTime(); /** - * - * *
-   * Output only. The point in time when the time frame ends. Notice that the time
-   * frame is counted backwards. For instance if the "frame_end_time" value is
-   * 2021/01/20 and the time frame is WEEK then the report covers the week
+   * Output only. The point in time when the time frame ends. Notice that the
+   * time frame is counted backwards. For instance if the "frame_end_time" value
+   * is 2021/01/20 and the time frame is WEEK then the report covers the week
    * between 2021/01/20 and 2021/01/14.
    * 
* - * - * .google.protobuf.Timestamp frame_end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp frame_end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The frameEndTime. */ com.google.protobuf.Timestamp getFrameEndTime(); /** - * - * *
-   * Output only. The point in time when the time frame ends. Notice that the time
-   * frame is counted backwards. For instance if the "frame_end_time" value is
-   * 2021/01/20 and the time frame is WEEK then the report covers the week
+   * Output only. The point in time when the time frame ends. Notice that the
+   * time frame is counted backwards. For instance if the "frame_end_time" value
+   * is 2021/01/20 and the time frame is WEEK then the report covers the week
    * between 2021/01/20 and 2021/01/14.
    * 
* - * - * .google.protobuf.Timestamp frame_end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp frame_end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getFrameEndTimeOrBuilder(); /** - * - * *
    * Output only. Total number of VMs included in the report.
    * 
* * int32 vm_count = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The vmCount. */ int getVmCount(); /** - * - * *
    * List of utilization information per VM.
    * When sent as part of the request, the "vm_id" field is used in order to
@@ -316,10 +228,9 @@ public interface UtilizationReportOrBuilder
    *
    * repeated .google.cloud.vmmigration.v1.VmUtilizationInfo vms = 10;
    */
-  java.util.List getVmsList();
+  java.util.List 
+      getVmsList();
   /**
-   *
-   *
    * 
    * List of utilization information per VM.
    * When sent as part of the request, the "vm_id" field is used in order to
@@ -331,8 +242,6 @@ public interface UtilizationReportOrBuilder
    */
   com.google.cloud.vmmigration.v1.VmUtilizationInfo getVms(int index);
   /**
-   *
-   *
    * 
    * List of utilization information per VM.
    * When sent as part of the request, the "vm_id" field is used in order to
@@ -344,8 +253,6 @@ public interface UtilizationReportOrBuilder
    */
   int getVmsCount();
   /**
-   *
-   *
    * 
    * List of utilization information per VM.
    * When sent as part of the request, the "vm_id" field is used in order to
@@ -355,11 +262,9 @@ public interface UtilizationReportOrBuilder
    *
    * repeated .google.cloud.vmmigration.v1.VmUtilizationInfo vms = 10;
    */
-  java.util.List
+  java.util.List 
       getVmsOrBuilderList();
   /**
-   *
-   *
    * 
    * List of utilization information per VM.
    * When sent as part of the request, the "vm_id" field is used in order to
@@ -369,5 +274,6 @@ public interface UtilizationReportOrBuilder
    *
    * repeated .google.cloud.vmmigration.v1.VmUtilizationInfo vms = 10;
    */
-  com.google.cloud.vmmigration.v1.VmUtilizationInfoOrBuilder getVmsOrBuilder(int index);
+  com.google.cloud.vmmigration.v1.VmUtilizationInfoOrBuilder getVmsOrBuilder(
+      int index);
 }
diff --git a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/UtilizationReportView.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/UtilizationReportView.java
similarity index 71%
rename from proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/UtilizationReportView.java
rename to owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/UtilizationReportView.java
index 85d9b89..2447b9b 100644
--- a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/UtilizationReportView.java
+++ b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/UtilizationReportView.java
@@ -1,36 +1,18 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/vmmigration/v1/vmmigration.proto
 
 package com.google.cloud.vmmigration.v1;
 
 /**
- *
- *
  * 
  * Controls the level of details of a Utilization Report.
  * 
* * Protobuf enum {@code google.cloud.vmmigration.v1.UtilizationReportView} */ -public enum UtilizationReportView implements com.google.protobuf.ProtocolMessageEnum { +public enum UtilizationReportView + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
    * The default / unset value.
    * The API will default to FULL on single report request and BASIC for
@@ -41,8 +23,6 @@ public enum UtilizationReportView implements com.google.protobuf.ProtocolMessage
    */
   UTILIZATION_REPORT_VIEW_UNSPECIFIED(0),
   /**
-   *
-   *
    * 
    * Get the report metadata, without the list of VMs and their utilization
    * info.
@@ -52,8 +32,6 @@ public enum UtilizationReportView implements com.google.protobuf.ProtocolMessage
    */
   BASIC(1),
   /**
-   *
-   *
    * 
    * Include everything.
    * 
@@ -65,8 +43,6 @@ public enum UtilizationReportView implements com.google.protobuf.ProtocolMessage ; /** - * - * *
    * The default / unset value.
    * The API will default to FULL on single report request and BASIC for
@@ -77,8 +53,6 @@ public enum UtilizationReportView implements com.google.protobuf.ProtocolMessage
    */
   public static final int UTILIZATION_REPORT_VIEW_UNSPECIFIED_VALUE = 0;
   /**
-   *
-   *
    * 
    * Get the report metadata, without the list of VMs and their utilization
    * info.
@@ -88,8 +62,6 @@ public enum UtilizationReportView implements com.google.protobuf.ProtocolMessage
    */
   public static final int BASIC_VALUE = 1;
   /**
-   *
-   *
    * 
    * Include everything.
    * 
@@ -98,6 +70,7 @@ public enum UtilizationReportView implements com.google.protobuf.ProtocolMessage */ public static final int FULL_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -122,14 +95,10 @@ public static UtilizationReportView valueOf(int value) { */ public static UtilizationReportView forNumber(int value) { switch (value) { - case 0: - return UTILIZATION_REPORT_VIEW_UNSPECIFIED; - case 1: - return BASIC; - case 2: - return FULL; - default: - return null; + case 0: return UTILIZATION_REPORT_VIEW_UNSPECIFIED; + case 1: return BASIC; + case 2: return FULL; + default: return null; } } @@ -137,28 +106,28 @@ public static UtilizationReportView forNumber(int value) { internalGetValueMap() { return internalValueMap; } - - private static final com.google.protobuf.Internal.EnumLiteMap - internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public UtilizationReportView findValueByNumber(int number) { - return UtilizationReportView.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap< + UtilizationReportView> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public UtilizationReportView findValueByNumber(int number) { + return UtilizationReportView.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() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.cloud.vmmigration.v1.VmMigrationProto.getDescriptor().getEnumTypes().get(0); } @@ -167,7 +136,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor public static UtilizationReportView 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; @@ -183,3 +153,4 @@ private UtilizationReportView(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.vmmigration.v1.UtilizationReportView) } + diff --git a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/VmMigrationProto.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/VmMigrationProto.java new file mode 100644 index 0000000..833b9c4 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/VmMigrationProto.java @@ -0,0 +1,1886 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/vmmigration/v1/vmmigration.proto + +package com.google.cloud.vmmigration.v1; + +public final class VmMigrationProto { + private VmMigrationProto() {} + 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_vmmigration_v1_ReplicationCycle_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_vmmigration_v1_ReplicationCycle_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_vmmigration_v1_ReplicationSync_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_vmmigration_v1_ReplicationSync_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_vmmigration_v1_MigratingVm_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_vmmigration_v1_MigratingVm_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_vmmigration_v1_MigratingVm_LabelsEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_vmmigration_v1_MigratingVm_LabelsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_vmmigration_v1_CloneJob_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_vmmigration_v1_CloneJob_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_vmmigration_v1_CutoverJob_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_vmmigration_v1_CutoverJob_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_vmmigration_v1_CreateCloneJobRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_vmmigration_v1_CreateCloneJobRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_vmmigration_v1_CancelCloneJobRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_vmmigration_v1_CancelCloneJobRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_vmmigration_v1_CancelCloneJobResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_vmmigration_v1_CancelCloneJobResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_vmmigration_v1_ListCloneJobsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_vmmigration_v1_ListCloneJobsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_vmmigration_v1_ListCloneJobsResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_vmmigration_v1_ListCloneJobsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_vmmigration_v1_GetCloneJobRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_vmmigration_v1_GetCloneJobRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_vmmigration_v1_Source_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_vmmigration_v1_Source_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_vmmigration_v1_Source_LabelsEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_vmmigration_v1_Source_LabelsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_vmmigration_v1_VmwareSourceDetails_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_vmmigration_v1_VmwareSourceDetails_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_vmmigration_v1_DatacenterConnector_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_vmmigration_v1_DatacenterConnector_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_vmmigration_v1_UpgradeStatus_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_vmmigration_v1_UpgradeStatus_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_vmmigration_v1_AvailableUpdates_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_vmmigration_v1_AvailableUpdates_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_vmmigration_v1_ApplianceVersion_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_vmmigration_v1_ApplianceVersion_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_vmmigration_v1_ListSourcesRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_vmmigration_v1_ListSourcesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_vmmigration_v1_ListSourcesResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_vmmigration_v1_ListSourcesResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_vmmigration_v1_GetSourceRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_vmmigration_v1_GetSourceRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_vmmigration_v1_CreateSourceRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_vmmigration_v1_CreateSourceRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_vmmigration_v1_UpdateSourceRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_vmmigration_v1_UpdateSourceRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_vmmigration_v1_DeleteSourceRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_vmmigration_v1_DeleteSourceRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_vmmigration_v1_FetchInventoryRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_vmmigration_v1_FetchInventoryRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_vmmigration_v1_VmwareVmDetails_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_vmmigration_v1_VmwareVmDetails_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_vmmigration_v1_VmwareVmsDetails_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_vmmigration_v1_VmwareVmsDetails_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_vmmigration_v1_FetchInventoryResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_vmmigration_v1_FetchInventoryResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_vmmigration_v1_UtilizationReport_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_vmmigration_v1_UtilizationReport_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_vmmigration_v1_VmUtilizationInfo_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_vmmigration_v1_VmUtilizationInfo_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_vmmigration_v1_VmUtilizationMetrics_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_vmmigration_v1_VmUtilizationMetrics_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_vmmigration_v1_ListUtilizationReportsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_vmmigration_v1_ListUtilizationReportsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_vmmigration_v1_ListUtilizationReportsResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_vmmigration_v1_ListUtilizationReportsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_vmmigration_v1_GetUtilizationReportRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_vmmigration_v1_GetUtilizationReportRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_vmmigration_v1_CreateUtilizationReportRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_vmmigration_v1_CreateUtilizationReportRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_vmmigration_v1_DeleteUtilizationReportRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_vmmigration_v1_DeleteUtilizationReportRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_vmmigration_v1_ListDatacenterConnectorsResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_vmmigration_v1_ListDatacenterConnectorsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_vmmigration_v1_GetDatacenterConnectorRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_vmmigration_v1_GetDatacenterConnectorRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_vmmigration_v1_CreateDatacenterConnectorRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_vmmigration_v1_CreateDatacenterConnectorRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_vmmigration_v1_DeleteDatacenterConnectorRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_vmmigration_v1_DeleteDatacenterConnectorRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_vmmigration_v1_UpgradeApplianceRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_vmmigration_v1_UpgradeApplianceRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_vmmigration_v1_UpgradeApplianceResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_vmmigration_v1_UpgradeApplianceResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_vmmigration_v1_ListDatacenterConnectorsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_vmmigration_v1_ListDatacenterConnectorsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_vmmigration_v1_ComputeEngineTargetDefaults_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_vmmigration_v1_ComputeEngineTargetDefaults_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_vmmigration_v1_ComputeEngineTargetDefaults_LabelsEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_vmmigration_v1_ComputeEngineTargetDefaults_LabelsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_vmmigration_v1_ComputeEngineTargetDefaults_MetadataEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_vmmigration_v1_ComputeEngineTargetDefaults_MetadataEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_vmmigration_v1_ComputeEngineTargetDetails_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_vmmigration_v1_ComputeEngineTargetDetails_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_vmmigration_v1_ComputeEngineTargetDetails_LabelsEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_vmmigration_v1_ComputeEngineTargetDetails_LabelsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_vmmigration_v1_ComputeEngineTargetDetails_MetadataEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_vmmigration_v1_ComputeEngineTargetDetails_MetadataEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_vmmigration_v1_NetworkInterface_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_vmmigration_v1_NetworkInterface_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_vmmigration_v1_AppliedLicense_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_vmmigration_v1_AppliedLicense_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_vmmigration_v1_SchedulingNodeAffinity_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_vmmigration_v1_SchedulingNodeAffinity_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_vmmigration_v1_ComputeScheduling_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_vmmigration_v1_ComputeScheduling_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_vmmigration_v1_SchedulePolicy_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_vmmigration_v1_SchedulePolicy_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_vmmigration_v1_CreateMigratingVmRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_vmmigration_v1_CreateMigratingVmRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_vmmigration_v1_ListMigratingVmsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_vmmigration_v1_ListMigratingVmsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_vmmigration_v1_ListMigratingVmsResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_vmmigration_v1_ListMigratingVmsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_vmmigration_v1_GetMigratingVmRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_vmmigration_v1_GetMigratingVmRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_vmmigration_v1_UpdateMigratingVmRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_vmmigration_v1_UpdateMigratingVmRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_vmmigration_v1_DeleteMigratingVmRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_vmmigration_v1_DeleteMigratingVmRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_vmmigration_v1_StartMigrationRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_vmmigration_v1_StartMigrationRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_vmmigration_v1_StartMigrationResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_vmmigration_v1_StartMigrationResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_vmmigration_v1_PauseMigrationRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_vmmigration_v1_PauseMigrationRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_vmmigration_v1_PauseMigrationResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_vmmigration_v1_PauseMigrationResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_vmmigration_v1_ResumeMigrationRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_vmmigration_v1_ResumeMigrationRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_vmmigration_v1_ResumeMigrationResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_vmmigration_v1_ResumeMigrationResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_vmmigration_v1_FinalizeMigrationRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_vmmigration_v1_FinalizeMigrationRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_vmmigration_v1_FinalizeMigrationResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_vmmigration_v1_FinalizeMigrationResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_vmmigration_v1_TargetProject_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_vmmigration_v1_TargetProject_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_vmmigration_v1_GetTargetProjectRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_vmmigration_v1_GetTargetProjectRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_vmmigration_v1_ListTargetProjectsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_vmmigration_v1_ListTargetProjectsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_vmmigration_v1_ListTargetProjectsResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_vmmigration_v1_ListTargetProjectsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_vmmigration_v1_CreateTargetProjectRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_vmmigration_v1_CreateTargetProjectRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_vmmigration_v1_UpdateTargetProjectRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_vmmigration_v1_UpdateTargetProjectRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_vmmigration_v1_DeleteTargetProjectRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_vmmigration_v1_DeleteTargetProjectRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_vmmigration_v1_Group_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_vmmigration_v1_Group_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_vmmigration_v1_ListGroupsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_vmmigration_v1_ListGroupsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_vmmigration_v1_ListGroupsResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_vmmigration_v1_ListGroupsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_vmmigration_v1_GetGroupRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_vmmigration_v1_GetGroupRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_vmmigration_v1_CreateGroupRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_vmmigration_v1_CreateGroupRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_vmmigration_v1_UpdateGroupRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_vmmigration_v1_UpdateGroupRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_vmmigration_v1_DeleteGroupRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_vmmigration_v1_DeleteGroupRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_vmmigration_v1_AddGroupMigrationRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_vmmigration_v1_AddGroupMigrationRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_vmmigration_v1_AddGroupMigrationResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_vmmigration_v1_AddGroupMigrationResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_vmmigration_v1_RemoveGroupMigrationRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_vmmigration_v1_RemoveGroupMigrationRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_vmmigration_v1_RemoveGroupMigrationResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_vmmigration_v1_RemoveGroupMigrationResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_vmmigration_v1_CreateCutoverJobRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_vmmigration_v1_CreateCutoverJobRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_vmmigration_v1_CancelCutoverJobRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_vmmigration_v1_CancelCutoverJobRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_vmmigration_v1_CancelCutoverJobResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_vmmigration_v1_CancelCutoverJobResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_vmmigration_v1_ListCutoverJobsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_vmmigration_v1_ListCutoverJobsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_vmmigration_v1_ListCutoverJobsResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_vmmigration_v1_ListCutoverJobsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_vmmigration_v1_GetCutoverJobRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_vmmigration_v1_GetCutoverJobRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_vmmigration_v1_OperationMetadata_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_vmmigration_v1_OperationMetadata_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_vmmigration_v1_MigrationError_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_vmmigration_v1_MigrationError_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n-google/cloud/vmmigration/v1/vmmigratio" + + "n.proto\022\033google.cloud.vmmigration.v1\032\034go" + + "ogle/api/annotations.proto\032\027google/api/c" + + "lient.proto\032\037google/api/field_behavior.p" + + "roto\032\031google/api/resource.proto\032#google/" + + "longrunning/operations.proto\032\036google/pro" + + "tobuf/duration.proto\032 google/protobuf/fi" + + "eld_mask.proto\032\037google/protobuf/timestam" + + "p.proto\032\036google/rpc/error_details.proto\032" + + "\027google/rpc/status.proto\"\\\n\020ReplicationC" + + "ycle\022.\n\nstart_time\030\001 \001(\0132\032.google.protob" + + "uf.Timestamp\022\030\n\020progress_percent\030\005 \001(\005\"E" + + "\n\017ReplicationSync\0222\n\016last_sync_time\030\001 \001(" + + "\0132\032.google.protobuf.Timestamp\"\270\n\n\013Migrat" + + "ingVm\022b\n\036compute_engine_target_defaults\030" + + "\032 \001(\01328.google.cloud.vmmigration.v1.Comp" + + "uteEngineTargetDefaultsH\000\022\021\n\004name\030\001 \001(\tB" + + "\003\340A\003\022\024\n\014source_vm_id\030\002 \001(\t\022\024\n\014display_na" + + "me\030\022 \001(\t\022\023\n\013description\030\003 \001(\t\022;\n\006policy\030" + + "\010 \001(\0132+.google.cloud.vmmigration.v1.Sche" + + "dulePolicy\0224\n\013create_time\030\t \001(\0132\032.google" + + ".protobuf.TimestampB\003\340A\003\0224\n\013update_time\030" + + "\n \001(\0132\032.google.protobuf.TimestampB\003\340A\003\022D" + + "\n\tlast_sync\030\013 \001(\0132,.google.cloud.vmmigra" + + "tion.v1.ReplicationSyncB\003\340A\003\022B\n\005state\030\027 " + + "\001(\0162..google.cloud.vmmigration.v1.Migrat" + + "ingVm.StateB\003\340A\003\0223\n\nstate_time\030\026 \001(\0132\032.g" + + "oogle.protobuf.TimestampB\003\340A\003\022M\n\021current" + + "_sync_info\030\r \001(\0132-.google.cloud.vmmigrat" + + "ion.v1.ReplicationCycleB\003\340A\003\0227\n\005group\030\017 " + + "\001(\tB(\340A\003\372A\"\022 vmmigration.googleapis.com/" + + "Group\022D\n\006labels\030\020 \003(\01324.google.cloud.vmm" + + "igration.v1.MigratingVm.LabelsEntry\022E\n\021r" + + "ecent_clone_jobs\030\021 \003(\0132%.google.cloud.vm" + + "migration.v1.CloneJobB\003\340A\003\022&\n\005error\030\023 \001(" + + "\0132\022.google.rpc.StatusB\003\340A\003\022I\n\023recent_cut" + + "over_jobs\030\024 \003(\0132\'.google.cloud.vmmigrati" + + "on.v1.CutoverJobB\003\340A\003\032-\n\013LabelsEntry\022\013\n\003" + + "key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\267\001\n\005State\022\025" + + "\n\021STATE_UNSPECIFIED\020\000\022\013\n\007PENDING\020\001\022\t\n\005RE" + + "ADY\020\002\022\016\n\nFIRST_SYNC\020\003\022\n\n\006ACTIVE\020\004\022\020\n\014CUT" + + "TING_OVER\020\007\022\013\n\007CUTOVER\020\010\022\016\n\nFINAL_SYNC\020\t" + + "\022\n\n\006PAUSED\020\n\022\016\n\nFINALIZING\020\013\022\r\n\tFINALIZE" + + "D\020\014\022\t\n\005ERROR\020\r:\201\001\352A~\n&vmmigration.google" + + "apis.com/MigratingVm\022Tprojects/{project}" + + "/locations/{location}/sources/{source}/m" + + "igratingVms/{migrating_vm}B\024\n\022target_vm_" + + "defaults\"\275\005\n\010CloneJob\022e\n\035compute_engine_" + + "target_details\030\024 \001(\01327.google.cloud.vmmi" + + "gration.v1.ComputeEngineTargetDetailsB\003\340" + + "A\003H\000\0224\n\013create_time\030\001 \001(\0132\032.google.proto" + + "buf.TimestampB\003\340A\003\0221\n\010end_time\030\026 \001(\0132\032.g" + + "oogle.protobuf.TimestampB\003\340A\003\022\021\n\004name\030\003 " + + "\001(\tB\003\340A\003\022?\n\005state\030\014 \001(\0162+.google.cloud.v" + + "mmigration.v1.CloneJob.StateB\003\340A\003\0223\n\nsta" + + "te_time\030\016 \001(\0132\032.google.protobuf.Timestam" + + "pB\003\340A\003\022&\n\005error\030\021 \001(\0132\022.google.rpc.Statu" + + "sB\003\340A\003\"\202\001\n\005State\022\025\n\021STATE_UNSPECIFIED\020\000\022" + + "\013\n\007PENDING\020\001\022\n\n\006ACTIVE\020\002\022\n\n\006FAILED\020\003\022\r\n\t" + + "SUCCEEDED\020\004\022\r\n\tCANCELLED\020\005\022\016\n\nCANCELLING" + + "\020\006\022\017\n\013ADAPTING_OS\020\007:\225\001\352A\221\001\n#vmmigration." + + "googleapis.com/CloneJob\022jprojects/{proje" + + "ct}/locations/{location}/sources/{source" + + "}/migratingVms/{migrating_vm}/cloneJobs/" + + "{clone_job}B\023\n\021target_vm_details\"\202\006\n\nCut" + + "overJob\022e\n\035compute_engine_target_details" + + "\030\016 \001(\01327.google.cloud.vmmigration.v1.Com" + + "puteEngineTargetDetailsB\003\340A\003H\000\0224\n\013create" + + "_time\030\001 \001(\0132\032.google.protobuf.TimestampB" + + "\003\340A\003\0221\n\010end_time\030\020 \001(\0132\032.google.protobuf" + + ".TimestampB\003\340A\003\022\021\n\004name\030\003 \001(\tB\003\340A\003\022A\n\005st" + + "ate\030\005 \001(\0162-.google.cloud.vmmigration.v1." + + "CutoverJob.StateB\003\340A\003\0223\n\nstate_time\030\006 \001(" + + "\0132\032.google.protobuf.TimestampB\003\340A\003\022\035\n\020pr" + + "ogress_percent\030\r \001(\005B\003\340A\003\022&\n\005error\030\t \001(\013" + + "2\022.google.rpc.StatusB\003\340A\003\022\032\n\rstate_messa" + + "ge\030\n \001(\tB\003\340A\003\"\202\001\n\005State\022\025\n\021STATE_UNSPECI" + + "FIED\020\000\022\013\n\007PENDING\020\001\022\n\n\006FAILED\020\002\022\r\n\tSUCCE" + + "EDED\020\003\022\r\n\tCANCELLED\020\004\022\016\n\nCANCELLING\020\005\022\n\n" + + "\006ACTIVE\020\006\022\017\n\013ADAPTING_OS\020\007:\233\001\352A\227\001\n%vmmig" + + "ration.googleapis.com/CutoverJob\022nprojec" + + "ts/{project}/locations/{location}/source" + + "s/{source}/migratingVms/{migrating_vm}/c" + + "utoverJobs/{cutover_job}B\023\n\021target_vm_de" + + "tails\"\302\001\n\025CreateCloneJobRequest\022;\n\006paren" + + "t\030\001 \001(\tB+\340A\002\372A%\022#vmmigration.googleapis." + + "com/CloneJob\022\031\n\014clone_job_id\030\002 \001(\tB\003\340A\002\022" + + "=\n\tclone_job\030\003 \001(\0132%.google.cloud.vmmigr" + + "ation.v1.CloneJobB\003\340A\002\022\022\n\nrequest_id\030\004 \001" + + "(\t\"R\n\025CancelCloneJobRequest\0229\n\004name\030\001 \001(" + + "\tB+\340A\002\372A%\n#vmmigration.googleapis.com/Cl" + + "oneJob\"\030\n\026CancelCloneJobResponse\"\260\001\n\024Lis" + + "tCloneJobsRequest\022;\n\006parent\030\001 \001(\tB+\340A\002\372A" + + "%\022#vmmigration.googleapis.com/CloneJob\022\026" + + "\n\tpage_size\030\002 \001(\005B\003\340A\001\022\027\n\npage_token\030\003 \001" + + "(\tB\003\340A\002\022\023\n\006filter\030\004 \001(\tB\003\340A\001\022\025\n\010order_by" + + "\030\005 \001(\tB\003\340A\001\"\217\001\n\025ListCloneJobsResponse\022>\n" + + "\nclone_jobs\030\001 \003(\0132%.google.cloud.vmmigra" + + "tion.v1.CloneJobB\003\340A\003\022\034\n\017next_page_token" + + "\030\002 \001(\tB\003\340A\003\022\030\n\013unreachable\030\003 \003(\tB\003\340A\003\"O\n" + + "\022GetCloneJobRequest\0229\n\004name\030\001 \001(\tB+\340A\002\372A" + + "%\n#vmmigration.googleapis.com/CloneJob\"\304" + + "\003\n\006Source\022B\n\006vmware\030\n \001(\01320.google.cloud" + + ".vmmigration.v1.VmwareSourceDetailsH\000\022\021\n" + + "\004name\030\001 \001(\tB\003\340A\003\0224\n\013create_time\030\002 \001(\0132\032." + + "google.protobuf.TimestampB\003\340A\003\0224\n\013update" + + "_time\030\003 \001(\0132\032.google.protobuf.TimestampB" + + "\003\340A\003\022?\n\006labels\030\004 \003(\0132/.google.cloud.vmmi" + + "gration.v1.Source.LabelsEntry\022\023\n\013descrip" + + "tion\030\006 \001(\t\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r" + + "\n\005value\030\002 \001(\t:\0028\001:`\352A]\n!vmmigration.goog" + + "leapis.com/Source\0228projects/{project}/lo" + + "cations/{location}/sources/{source}B\020\n\016s" + + "ource_details\"f\n\023VmwareSourceDetails\022\020\n\010" + + "username\030\001 \001(\t\022\025\n\010password\030\002 \001(\tB\003\340A\004\022\022\n" + + "\nvcenter_ip\030\003 \001(\t\022\022\n\nthumbprint\030\004 \001(\t\"\372\006" + + "\n\023DatacenterConnector\0224\n\013create_time\030\001 \001" + + "(\0132\032.google.protobuf.TimestampB\003\340A\003\0224\n\013u" + + "pdate_time\030\002 \001(\0132\032.google.protobuf.Times" + + "tampB\003\340A\003\022\021\n\004name\030\003 \001(\tB\003\340A\003\022\034\n\017registra" + + "tion_id\030\014 \001(\tB\003\340A\005\022\027\n\017service_account\030\005 " + + "\001(\t\022\017\n\007version\030\006 \001(\t\022\023\n\006bucket\030\n \001(\tB\003\340A" + + "\003\022J\n\005state\030\007 \001(\01626.google.cloud.vmmigrat" + + "ion.v1.DatacenterConnector.StateB\003\340A\003\0223\n" + + "\nstate_time\030\010 \001(\0132\032.google.protobuf.Time" + + "stampB\003\340A\003\022&\n\005error\030\013 \001(\0132\022.google.rpc.S" + + "tatusB\003\340A\003\022-\n appliance_infrastructure_v" + + "ersion\030\r \001(\tB\003\340A\003\022\'\n\032appliance_software_" + + "version\030\016 \001(\tB\003\340A\003\022N\n\022available_versions" + + "\030\017 \001(\0132-.google.cloud.vmmigration.v1.Ava" + + "ilableUpdatesB\003\340A\003\022G\n\016upgrade_status\030\020 \001" + + "(\0132*.google.cloud.vmmigration.v1.Upgrade" + + "StatusB\003\340A\003\"P\n\005State\022\025\n\021STATE_UNSPECIFIE" + + "D\020\000\022\013\n\007PENDING\020\001\022\013\n\007OFFLINE\020\002\022\n\n\006FAILED\020" + + "\003\022\n\n\006ACTIVE\020\004:\232\001\352A\226\001\n.vmmigration.google" + + "apis.com/DatacenterConnector\022dprojects/{" + + "project}/locations/{location}/sources/{s" + + "ource}/datacenterConnectors/{datacenter_" + + "connector}\"\226\002\n\rUpgradeStatus\022\017\n\007version\030" + + "\001 \001(\t\022?\n\005state\030\002 \001(\01620.google.cloud.vmmi" + + "gration.v1.UpgradeStatus.State\022!\n\005error\030" + + "\003 \001(\0132\022.google.rpc.Status\022.\n\nstart_time\030" + + "\004 \001(\0132\032.google.protobuf.Timestamp\022\030\n\020pre" + + "vious_version\030\005 \001(\t\"F\n\005State\022\025\n\021STATE_UN" + + "SPECIFIED\020\000\022\013\n\007RUNNING\020\001\022\n\n\006FAILED\020\002\022\r\n\t" + + "SUCCEEDED\020\003\"\253\001\n\020AvailableUpdates\022O\n\030new_" + + "deployable_appliance\030\001 \001(\0132-.google.clou" + + "d.vmmigration.v1.ApplianceVersion\022F\n\017in_" + + "place_update\030\002 \001(\0132-.google.cloud.vmmigr" + + "ation.v1.ApplianceVersion\"]\n\020ApplianceVe" + + "rsion\022\017\n\007version\030\001 \001(\t\022\013\n\003uri\030\002 \001(\t\022\020\n\010c" + + "ritical\030\003 \001(\010\022\031\n\021release_notes_uri\030\004 \001(\t" + + "\"\254\001\n\022ListSourcesRequest\0229\n\006parent\030\001 \001(\tB" + + ")\340A\002\372A#\022!vmmigration.googleapis.com/Sour" + + "ce\022\026\n\tpage_size\030\002 \001(\005B\003\340A\001\022\027\n\npage_token" + + "\030\003 \001(\tB\003\340A\002\022\023\n\006filter\030\004 \001(\tB\003\340A\001\022\025\n\010orde" + + "r_by\030\005 \001(\tB\003\340A\001\"\210\001\n\023ListSourcesResponse\022" + + "9\n\007sources\030\001 \003(\0132#.google.cloud.vmmigrat" + + "ion.v1.SourceB\003\340A\003\022\034\n\017next_page_token\030\002 " + + "\001(\tB\003\340A\003\022\030\n\013unreachable\030\003 \003(\tB\003\340A\003\"K\n\020Ge" + + "tSourceRequest\0227\n\004name\030\001 \001(\tB)\340A\002\372A#\n!vm" + + "migration.googleapis.com/Source\"\266\001\n\023Crea" + + "teSourceRequest\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\022" + + "!vmmigration.googleapis.com/Source\022\026\n\tso" + + "urce_id\030\002 \001(\tB\003\340A\002\0228\n\006source\030\003 \001(\0132#.goo" + + "gle.cloud.vmmigration.v1.SourceB\003\340A\002\022\022\n\n" + + "request_id\030\004 \001(\t\"\224\001\n\023UpdateSourceRequest" + + "\022/\n\013update_mask\030\001 \001(\0132\032.google.protobuf." + + "FieldMask\0228\n\006source\030\002 \001(\0132#.google.cloud" + + ".vmmigration.v1.SourceB\003\340A\002\022\022\n\nrequest_i" + + "d\030\003 \001(\t\"g\n\023DeleteSourceRequest\0227\n\004name\030\001" + + " \001(\tB)\340A\002\372A#\n!vmmigration.googleapis.com" + + "/Source\022\027\n\nrequest_id\030\002 \001(\tB\003\340A\001\"i\n\025Fetc" + + "hInventoryRequest\0229\n\006source\030\001 \001(\tB)\340A\002\372A" + + "#\n!vmmigration.googleapis.com/Source\022\025\n\r" + + "force_refresh\030\002 \001(\010\"\230\004\n\017VmwareVmDetails\022" + + "\r\n\005vm_id\030\001 \001(\t\022\025\n\rdatacenter_id\030\002 \001(\t\022\036\n" + + "\026datacenter_description\030\003 \001(\t\022\014\n\004uuid\030\004 " + + "\001(\t\022\024\n\014display_name\030\005 \001(\t\022L\n\013power_state" + + "\030\006 \001(\01627.google.cloud.vmmigration.v1.Vmw" + + "areVmDetails.PowerState\022\021\n\tcpu_count\030\007 \001" + + "(\005\022\021\n\tmemory_mb\030\010 \001(\005\022\022\n\ndisk_count\030\t \001(" + + "\005\022\034\n\024committed_storage_mb\030\014 \001(\003\022\031\n\021guest" + + "_description\030\013 \001(\t\022Q\n\013boot_option\030\r \001(\0162" + + "7.google.cloud.vmmigration.v1.VmwareVmDe" + + "tails.BootOptionB\003\340A\003\"I\n\nPowerState\022\033\n\027P" + + "OWER_STATE_UNSPECIFIED\020\000\022\006\n\002ON\020\001\022\007\n\003OFF\020" + + "\002\022\r\n\tSUSPENDED\020\003\"<\n\nBootOption\022\033\n\027BOOT_O" + + "PTION_UNSPECIFIED\020\000\022\007\n\003EFI\020\001\022\010\n\004BIOS\020\002\"Q" + + "\n\020VmwareVmsDetails\022=\n\007details\030\001 \003(\0132,.go" + + "ogle.cloud.vmmigration.v1.VmwareVmDetail" + + "s\"\240\001\n\026FetchInventoryResponse\022C\n\nvmware_v" + + "ms\030\001 \001(\0132-.google.cloud.vmmigration.v1.V" + + "mwareVmsDetailsH\000\0224\n\013update_time\030\002 \001(\0132\032" + + ".google.protobuf.TimestampB\003\340A\003B\013\n\tSourc" + + "eVms\"\234\006\n\021UtilizationReport\022\021\n\004name\030\001 \001(\t" + + "B\003\340A\003\022\024\n\014display_name\030\002 \001(\t\022H\n\005state\030\003 \001" + + "(\01624.google.cloud.vmmigration.v1.Utiliza" + + "tionReport.StateB\003\340A\003\0223\n\nstate_time\030\004 \001(" + + "\0132\032.google.protobuf.TimestampB\003\340A\003\022&\n\005er" + + "ror\030\005 \001(\0132\022.google.rpc.StatusB\003\340A\003\0224\n\013cr" + + "eate_time\030\006 \001(\0132\032.google.protobuf.Timest" + + "ampB\003\340A\003\022L\n\ntime_frame\030\007 \001(\01628.google.cl" + + "oud.vmmigration.v1.UtilizationReport.Tim" + + "eFrame\0227\n\016frame_end_time\030\010 \001(\0132\032.google." + + "protobuf.TimestampB\003\340A\003\022\025\n\010vm_count\030\t \001(" + + "\005B\003\340A\003\022;\n\003vms\030\n \003(\0132..google.cloud.vmmig" + + "ration.v1.VmUtilizationInfo\"G\n\005State\022\025\n\021" + + "STATE_UNSPECIFIED\020\000\022\014\n\010CREATING\020\001\022\r\n\tSUC" + + "CEEDED\020\002\022\n\n\006FAILED\020\003\"F\n\tTimeFrame\022\032\n\026TIM" + + "E_FRAME_UNSPECIFIED\020\000\022\010\n\004WEEK\020\001\022\t\n\005MONTH" + + "\020\002\022\010\n\004YEAR\020\003:\224\001\352A\220\001\n,vmmigration.googlea" + + "pis.com/UtilizationReport\022`projects/{pro" + + "ject}/locations/{location}/sources/{sour" + + "ce}/utilizationReports/{utilization_repo" + + "rt}\"\302\001\n\021VmUtilizationInfo\022I\n\021vmware_vm_d" + + "etails\030\001 \001(\0132,.google.cloud.vmmigration." + + "v1.VmwareVmDetailsH\000\022\r\n\005vm_id\030\003 \001(\t\022F\n\013u" + + "tilization\030\002 \001(\01321.google.cloud.vmmigrat" + + "ion.v1.VmUtilizationMetricsB\013\n\tVmDetails" + + "\"\230\002\n\024VmUtilizationMetrics\022\027\n\017cpu_max_per" + + "cent\030\t \001(\005\022\033\n\023cpu_average_percent\030\n \001(\005\022" + + "\032\n\022memory_max_percent\030\013 \001(\005\022\036\n\026memory_av" + + "erage_percent\030\014 \001(\005\022\035\n\025disk_io_rate_max_" + + "kbps\030\r \001(\003\022!\n\031disk_io_rate_average_kbps\030" + + "\016 \001(\003\022#\n\033network_throughput_max_kbps\030\017 \001" + + "(\003\022\'\n\037network_throughput_average_kbps\030\020 " + + "\001(\003\"\211\002\n\035ListUtilizationReportsRequest\022D\n" + + "\006parent\030\001 \001(\tB4\340A\002\372A.\022,vmmigration.googl" + + "eapis.com/UtilizationReport\022E\n\004view\030\002 \001(" + + "\01622.google.cloud.vmmigration.v1.Utilizat" + + "ionReportViewB\003\340A\001\022\026\n\tpage_size\030\003 \001(\005B\003\340" + + "A\001\022\027\n\npage_token\030\004 \001(\tB\003\340A\002\022\023\n\006filter\030\005 " + + "\001(\tB\003\340A\001\022\025\n\010order_by\030\006 \001(\tB\003\340A\001\"\252\001\n\036List" + + "UtilizationReportsResponse\022P\n\023utilizatio" + + "n_reports\030\001 \003(\0132..google.cloud.vmmigrati" + + "on.v1.UtilizationReportB\003\340A\003\022\034\n\017next_pag" + + "e_token\030\002 \001(\tB\003\340A\003\022\030\n\013unreachable\030\003 \003(\tB" + + "\003\340A\003\"\250\001\n\033GetUtilizationReportRequest\022B\n\004" + + "name\030\001 \001(\tB4\340A\002\372A.\n,vmmigration.googleap" + + "is.com/UtilizationReport\022E\n\004view\030\002 \001(\01622" + + ".google.cloud.vmmigration.v1.Utilization" + + "ReportViewB\003\340A\001\"\357\001\n\036CreateUtilizationRep" + + "ortRequest\022D\n\006parent\030\001 \001(\tB4\340A\002\372A.\022,vmmi" + + "gration.googleapis.com/UtilizationReport" + + "\022O\n\022utilization_report\030\002 \001(\0132..google.cl" + + "oud.vmmigration.v1.UtilizationReportB\003\340A" + + "\002\022\"\n\025utilization_report_id\030\003 \001(\tB\003\340A\002\022\022\n" + + "\nrequest_id\030\004 \001(\t\"}\n\036DeleteUtilizationRe" + + "portRequest\022B\n\004name\030\001 \001(\tB4\340A\002\372A.\n,vmmig" + + "ration.googleapis.com/UtilizationReport\022" + + "\027\n\nrequest_id\030\002 \001(\tB\003\340A\001\"\260\001\n ListDatacen" + + "terConnectorsResponse\022T\n\025datacenter_conn" + + "ectors\030\001 \003(\01320.google.cloud.vmmigration." + + "v1.DatacenterConnectorB\003\340A\003\022\034\n\017next_page" + + "_token\030\002 \001(\tB\003\340A\003\022\030\n\013unreachable\030\003 \003(\tB\003" + + "\340A\003\"e\n\035GetDatacenterConnectorRequest\022D\n\004" + + "name\030\001 \001(\tB6\340A\002\372A0\n.vmmigration.googleap" + + "is.com/DatacenterConnector\"\371\001\n CreateDat" + + "acenterConnectorRequest\022F\n\006parent\030\001 \001(\tB" + + "6\340A\002\372A0\022.vmmigration.googleapis.com/Data" + + "centerConnector\022$\n\027datacenter_connector_" + + "id\030\002 \001(\tB\003\340A\002\022S\n\024datacenter_connector\030\003 " + + "\001(\01320.google.cloud.vmmigration.v1.Datace" + + "nterConnectorB\003\340A\002\022\022\n\nrequest_id\030\004 \001(\t\"|" + + "\n DeleteDatacenterConnectorRequest\022D\n\004na" + + "me\030\001 \001(\tB6\340A\002\372A0\n.vmmigration.googleapis" + + ".com/DatacenterConnector\022\022\n\nrequest_id\030\002" + + " \001(\t\"\203\001\n\027UpgradeApplianceRequest\022T\n\024data" + + "center_connector\030\001 \001(\tB6\340A\002\372A0\n.vmmigrat" + + "ion.googleapis.com/DatacenterConnector\022\022" + + "\n\nrequest_id\030\002 \001(\t\"\032\n\030UpgradeApplianceRe" + + "sponse\"\306\001\n\037ListDatacenterConnectorsReque" + + "st\022F\n\006parent\030\001 \001(\tB6\340A\002\372A0\022.vmmigration." + + "googleapis.com/DatacenterConnector\022\026\n\tpa" + + "ge_size\030\002 \001(\005B\003\340A\001\022\027\n\npage_token\030\003 \001(\tB\003" + + "\340A\002\022\023\n\006filter\030\004 \001(\tB\003\340A\001\022\025\n\010order_by\030\005 \001" + + "(\tB\003\340A\001\"\377\007\n\033ComputeEngineTargetDefaults\022" + + "\017\n\007vm_name\030\001 \001(\t\022E\n\016target_project\030\002 \001(\t" + + "B-\372A*\n(vmmigration.googleapis.com/Target" + + "Project\022\014\n\004zone\030\003 \001(\t\022\033\n\023machine_type_se" + + "ries\030\004 \001(\t\022\024\n\014machine_type\030\005 \001(\t\022\024\n\014netw" + + "ork_tags\030\006 \003(\t\022I\n\022network_interfaces\030\007 \003" + + "(\0132-.google.cloud.vmmigration.v1.Network" + + "Interface\022\027\n\017service_account\030\010 \001(\t\022E\n\tdi" + + "sk_type\030\t \001(\01622.google.cloud.vmmigration" + + ".v1.ComputeEngineDiskType\022T\n\006labels\030\n \003(" + + "\0132D.google.cloud.vmmigration.v1.ComputeE" + + "ngineTargetDefaults.LabelsEntry\022K\n\014licen" + + "se_type\030\013 \001(\01625.google.cloud.vmmigration" + + ".v1.ComputeEngineLicenseType\022I\n\017applied_" + + "license\030\014 \001(\0132+.google.cloud.vmmigration" + + ".v1.AppliedLicenseB\003\340A\003\022J\n\022compute_sched" + + "uling\030\r \001(\0132..google.cloud.vmmigration.v" + + "1.ComputeScheduling\022\023\n\013secure_boot\030\016 \001(\010" + + "\022N\n\013boot_option\030\017 \001(\01624.google.cloud.vmm" + + "igration.v1.ComputeEngineBootOptionB\003\340A\003" + + "\022X\n\010metadata\030\020 \003(\0132F.google.cloud.vmmigr" + + "ation.v1.ComputeEngineTargetDefaults.Met" + + "adataEntry\022\033\n\023additional_licenses\030\021 \003(\t\022" + + "\020\n\010hostname\030\022 \001(\t\032-\n\013LabelsEntry\022\013\n\003key\030" + + "\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\032/\n\rMetadataEntr" + + "y\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\274\007\n\032Co" + + "mputeEngineTargetDetails\022\017\n\007vm_name\030\001 \001(" + + "\t\022\017\n\007project\030\002 \001(\t\022\014\n\004zone\030\003 \001(\t\022\033\n\023mach" + + "ine_type_series\030\004 \001(\t\022\024\n\014machine_type\030\005 " + + "\001(\t\022\024\n\014network_tags\030\006 \003(\t\022I\n\022network_int" + + "erfaces\030\007 \003(\0132-.google.cloud.vmmigration" + + ".v1.NetworkInterface\022\027\n\017service_account\030" + + "\010 \001(\t\022E\n\tdisk_type\030\t \001(\01622.google.cloud." + + "vmmigration.v1.ComputeEngineDiskType\022S\n\006" + + "labels\030\n \003(\0132C.google.cloud.vmmigration." + + "v1.ComputeEngineTargetDetails.LabelsEntr" + + "y\022K\n\014license_type\030\013 \001(\01625.google.cloud.v" + + "mmigration.v1.ComputeEngineLicenseType\022D" + + "\n\017applied_license\030\014 \001(\0132+.google.cloud.v" + + "mmigration.v1.AppliedLicense\022J\n\022compute_" + + "scheduling\030\r \001(\0132..google.cloud.vmmigrat" + + "ion.v1.ComputeScheduling\022\023\n\013secure_boot\030" + + "\016 \001(\010\022I\n\013boot_option\030\017 \001(\01624.google.clou" + + "d.vmmigration.v1.ComputeEngineBootOption" + + "\022W\n\010metadata\030\020 \003(\0132E.google.cloud.vmmigr" + + "ation.v1.ComputeEngineTargetDetails.Meta" + + "dataEntry\022\033\n\023additional_licenses\030\021 \003(\t\022\020" + + "\n\010hostname\030\022 \001(\t\032-\n\013LabelsEntry\022\013\n\003key\030\001" + + " \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\032/\n\rMetadataEntry" + + "\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"a\n\020Netw" + + "orkInterface\022\017\n\007network\030\001 \001(\t\022\022\n\nsubnetw" + + "ork\030\002 \001(\t\022\023\n\013internal_ip\030\003 \001(\t\022\023\n\013extern" + + "al_ip\030\004 \001(\t\"\240\001\n\016AppliedLicense\022>\n\004type\030\001" + + " \001(\01620.google.cloud.vmmigration.v1.Appli" + + "edLicense.Type\022\022\n\nos_license\030\002 \001(\t\":\n\004Ty" + + "pe\022\024\n\020TYPE_UNSPECIFIED\020\000\022\010\n\004NONE\020\001\022\010\n\004PA" + + "YG\020\002\022\010\n\004BYOL\020\003\"\277\001\n\026SchedulingNodeAffinit" + + "y\022\013\n\003key\030\001 \001(\t\022N\n\010operator\030\002 \001(\0162<.googl" + + "e.cloud.vmmigration.v1.SchedulingNodeAff" + + "inity.Operator\022\016\n\006values\030\003 \003(\t\"8\n\010Operat" + + "or\022\030\n\024OPERATOR_UNSPECIFIED\020\000\022\006\n\002IN\020\001\022\n\n\006" + + "NOT_IN\020\002\"\335\003\n\021ComputeScheduling\022]\n\023on_hos" + + "t_maintenance\030\001 \001(\0162@.google.cloud.vmmig" + + "ration.v1.ComputeScheduling.OnHostMainte" + + "nance\022P\n\014restart_type\030\005 \001(\0162:.google.clo" + + "ud.vmmigration.v1.ComputeScheduling.Rest" + + "artType\022L\n\017node_affinities\030\003 \003(\01323.googl" + + "e.cloud.vmmigration.v1.SchedulingNodeAff" + + "inity\022\025\n\rmin_node_cpus\030\004 \001(\005\"T\n\021OnHostMa" + + "intenance\022#\n\037ON_HOST_MAINTENANCE_UNSPECI" + + "FIED\020\000\022\r\n\tTERMINATE\020\001\022\013\n\007MIGRATE\020\002\"\\\n\013Re" + + "startType\022\034\n\030RESTART_TYPE_UNSPECIFIED\020\000\022" + + "\025\n\021AUTOMATIC_RESTART\020\001\022\030\n\024NO_AUTOMATIC_R" + + "ESTART\020\002\"^\n\016SchedulePolicy\0220\n\ridle_durat" + + "ion\030\001 \001(\0132\031.google.protobuf.Duration\022\032\n\022" + + "skip_os_adaptation\030\002 \001(\010\"\321\001\n\030CreateMigra" + + "tingVmRequest\022>\n\006parent\030\001 \001(\tB.\340A\002\372A(\022&v" + + "mmigration.googleapis.com/MigratingVm\022\034\n" + + "\017migrating_vm_id\030\002 \001(\tB\003\340A\002\022C\n\014migrating" + + "_vm\030\003 \001(\0132(.google.cloud.vmmigration.v1." + + "MigratingVmB\003\340A\002\022\022\n\nrequest_id\030\004 \001(\t\"\367\001\n" + + "\027ListMigratingVmsRequest\022>\n\006parent\030\001 \001(\t" + + "B.\340A\002\372A(\022&vmmigration.googleapis.com/Mig" + + "ratingVm\022\026\n\tpage_size\030\002 \001(\005B\003\340A\001\022\027\n\npage" + + "_token\030\003 \001(\tB\003\340A\002\022\023\n\006filter\030\004 \001(\tB\003\340A\001\022\025" + + "\n\010order_by\030\005 \001(\tB\003\340A\001\022?\n\004view\030\006 \001(\0162,.go" + + "ogle.cloud.vmmigration.v1.MigratingVmVie" + + "wB\003\340A\001\"\230\001\n\030ListMigratingVmsResponse\022D\n\rm" + + "igrating_vms\030\001 \003(\0132(.google.cloud.vmmigr" + + "ation.v1.MigratingVmB\003\340A\003\022\034\n\017next_page_t" + + "oken\030\002 \001(\tB\003\340A\003\022\030\n\013unreachable\030\003 \003(\tB\003\340A" + + "\003\"\226\001\n\025GetMigratingVmRequest\022<\n\004name\030\001 \001(" + + "\tB.\340A\002\372A(\n&vmmigration.googleapis.com/Mi" + + "gratingVm\022?\n\004view\030\002 \001(\0162,.google.cloud.v" + + "mmigration.v1.MigratingVmViewB\003\340A\001\"\244\001\n\030U" + + "pdateMigratingVmRequest\022/\n\013update_mask\030\001" + + " \001(\0132\032.google.protobuf.FieldMask\022C\n\014migr" + + "ating_vm\030\002 \001(\0132(.google.cloud.vmmigratio" + + "n.v1.MigratingVmB\003\340A\002\022\022\n\nrequest_id\030\003 \001(" + + "\t\"X\n\030DeleteMigratingVmRequest\022<\n\004name\030\001 " + + "\001(\tB.\340A\002\372A(\n&vmmigration.googleapis.com/" + + "MigratingVm\"]\n\025StartMigrationRequest\022D\n\014" + + "migrating_vm\030\001 \001(\tB.\340A\002\372A(\n&vmmigration." + + "googleapis.com/MigratingVm\"\030\n\026StartMigra" + + "tionResponse\"]\n\025PauseMigrationRequest\022D\n" + + "\014migrating_vm\030\001 \001(\tB.\340A\002\372A(\n&vmmigration" + + ".googleapis.com/MigratingVm\"\030\n\026PauseMigr" + + "ationResponse\"^\n\026ResumeMigrationRequest\022" + + "D\n\014migrating_vm\030\001 \001(\tB.\340A\002\372A(\n&vmmigrati" + + "on.googleapis.com/MigratingVm\"\031\n\027ResumeM" + + "igrationResponse\"`\n\030FinalizeMigrationReq" + + "uest\022D\n\014migrating_vm\030\001 \001(\tB.\340A\002\372A(\n&vmmi" + + "gration.googleapis.com/MigratingVm\"\033\n\031Fi" + + "nalizeMigrationResponse\"\254\002\n\rTargetProjec" + + "t\022\021\n\004name\030\001 \001(\tB\003\340A\003\022\017\n\007project\030\002 \001(\t\022\023\n" + + "\013description\030\003 \001(\t\0224\n\013create_time\030\004 \001(\0132" + + "\032.google.protobuf.TimestampB\003\340A\003\0224\n\013upda" + + "te_time\030\005 \001(\0132\032.google.protobuf.Timestam" + + "pB\003\340A\003:v\352As\n(vmmigration.googleapis.com/" + + "TargetProject\022Gprojects/{project}/locati" + + "ons/{location}/targetProjects/{target_pr" + + "oject}\"Y\n\027GetTargetProjectRequest\022>\n\004nam" + + "e\030\001 \001(\tB0\340A\002\372A*\n(vmmigration.googleapis.", + "com/TargetProject\"\272\001\n\031ListTargetProjects" + + "Request\022@\n\006parent\030\001 \001(\tB0\340A\002\372A*\022(vmmigra" + + "tion.googleapis.com/TargetProject\022\026\n\tpag" + + "e_size\030\002 \001(\005B\003\340A\001\022\027\n\npage_token\030\003 \001(\tB\003\340" + + "A\002\022\023\n\006filter\030\004 \001(\tB\003\340A\001\022\025\n\010order_by\030\005 \001(" + + "\tB\003\340A\001\"\236\001\n\032ListTargetProjectsResponse\022H\n" + + "\017target_projects\030\001 \003(\0132*.google.cloud.vm" + + "migration.v1.TargetProjectB\003\340A\003\022\034\n\017next_" + + "page_token\030\002 \001(\tB\003\340A\003\022\030\n\013unreachable\030\003 \003" + + "(\tB\003\340A\003\"\333\001\n\032CreateTargetProjectRequest\022@" + + "\n\006parent\030\001 \001(\tB0\340A\002\372A*\022(vmmigration.goog" + + "leapis.com/TargetProject\022\036\n\021target_proje" + + "ct_id\030\002 \001(\tB\003\340A\002\022G\n\016target_project\030\003 \001(\013" + + "2*.google.cloud.vmmigration.v1.TargetPro" + + "jectB\003\340A\002\022\022\n\nrequest_id\030\004 \001(\t\"\252\001\n\032Update" + + "TargetProjectRequest\022/\n\013update_mask\030\001 \001(" + + "\0132\032.google.protobuf.FieldMask\022G\n\016target_" + + "project\030\002 \001(\0132*.google.cloud.vmmigration" + + ".v1.TargetProjectB\003\340A\002\022\022\n\nrequest_id\030\003 \001" + + "(\t\"u\n\032DeleteTargetProjectRequest\022>\n\004name" + + "\030\001 \001(\tB0\340A\002\372A*\n(vmmigration.googleapis.c" + + "om/TargetProject\022\027\n\nrequest_id\030\002 \001(\tB\003\340A" + + "\001\"\220\002\n\005Group\022\021\n\004name\030\001 \001(\tB\003\340A\003\0224\n\013create" + + "_time\030\002 \001(\0132\032.google.protobuf.TimestampB" + + "\003\340A\003\0224\n\013update_time\030\003 \001(\0132\032.google.proto" + + "buf.TimestampB\003\340A\003\022\023\n\013description\030\004 \001(\t\022" + + "\024\n\014display_name\030\005 \001(\t:]\352AZ\n vmmigration." + + "googleapis.com/Group\0226projects/{project}" + + "/locations/{location}/groups/{group}\"\252\001\n" + + "\021ListGroupsRequest\0228\n\006parent\030\001 \001(\tB(\340A\002\372" + + "A\"\022 vmmigration.googleapis.com/Group\022\026\n\t" + + "page_size\030\002 \001(\005B\003\340A\001\022\027\n\npage_token\030\003 \001(\t" + + "B\003\340A\002\022\023\n\006filter\030\004 \001(\tB\003\340A\001\022\025\n\010order_by\030\005" + + " \001(\tB\003\340A\001\"\205\001\n\022ListGroupsResponse\0227\n\006grou" + + "ps\030\001 \003(\0132\".google.cloud.vmmigration.v1.G" + + "roupB\003\340A\003\022\034\n\017next_page_token\030\002 \001(\tB\003\340A\003\022" + + "\030\n\013unreachable\030\003 \003(\tB\003\340A\003\"I\n\017GetGroupReq" + + "uest\0226\n\004name\030\001 \001(\tB(\340A\002\372A\"\n vmmigration." + + "googleapis.com/Group\"\261\001\n\022CreateGroupRequ" + + "est\0228\n\006parent\030\001 \001(\tB(\340A\002\372A\"\022 vmmigration" + + ".googleapis.com/Group\022\025\n\010group_id\030\002 \001(\tB" + + "\003\340A\002\0226\n\005group\030\003 \001(\0132\".google.cloud.vmmig" + + "ration.v1.GroupB\003\340A\002\022\022\n\nrequest_id\030\004 \001(\t" + + "\"\221\001\n\022UpdateGroupRequest\022/\n\013update_mask\030\001" + + " \001(\0132\032.google.protobuf.FieldMask\0226\n\005grou" + + "p\030\002 \001(\0132\".google.cloud.vmmigration.v1.Gr" + + "oupB\003\340A\002\022\022\n\nrequest_id\030\003 \001(\t\"e\n\022DeleteGr" + + "oupRequest\0226\n\004name\030\001 \001(\tB(\340A\002\372A\"\n vmmigr" + + "ation.googleapis.com/Group\022\027\n\nrequest_id" + + "\030\002 \001(\tB\003\340A\001\"\226\001\n\030AddGroupMigrationRequest" + + "\0227\n\005group\030\001 \001(\tB(\340A\002\372A\"\n vmmigration.goo" + + "gleapis.com/Group\022A\n\014migrating_vm\030\002 \001(\tB" + + "+\372A(\n&vmmigration.googleapis.com/Migrati" + + "ngVm\"\033\n\031AddGroupMigrationResponse\"\231\001\n\033Re" + + "moveGroupMigrationRequest\0227\n\005group\030\001 \001(\t" + + "B(\340A\002\372A\"\n vmmigration.googleapis.com/Gro" + + "up\022A\n\014migrating_vm\030\002 \001(\tB+\372A(\n&vmmigrati" + + "on.googleapis.com/MigratingVm\"\036\n\034RemoveG" + + "roupMigrationResponse\"\314\001\n\027CreateCutoverJ" + + "obRequest\022=\n\006parent\030\001 \001(\tB-\340A\002\372A\'\022%vmmig" + + "ration.googleapis.com/CutoverJob\022\033\n\016cuto" + + "ver_job_id\030\002 \001(\tB\003\340A\002\022A\n\013cutover_job\030\003 \001" + + "(\0132\'.google.cloud.vmmigration.v1.Cutover" + + "JobB\003\340A\002\022\022\n\nrequest_id\030\004 \001(\t\"V\n\027CancelCu" + + "toverJobRequest\022;\n\004name\030\001 \001(\tB-\340A\002\372A\'\n%v" + + "mmigration.googleapis.com/CutoverJob\"\032\n\030" + + "CancelCutoverJobResponse\"\264\001\n\026ListCutover" + + "JobsRequest\022=\n\006parent\030\001 \001(\tB-\340A\002\372A\'\022%vmm" + + "igration.googleapis.com/CutoverJob\022\026\n\tpa" + + "ge_size\030\002 \001(\005B\003\340A\001\022\027\n\npage_token\030\003 \001(\tB\003" + + "\340A\002\022\023\n\006filter\030\004 \001(\tB\003\340A\001\022\025\n\010order_by\030\005 \001" + + "(\tB\003\340A\001\"\225\001\n\027ListCutoverJobsResponse\022B\n\014c" + + "utover_jobs\030\001 \003(\0132\'.google.cloud.vmmigra" + + "tion.v1.CutoverJobB\003\340A\003\022\034\n\017next_page_tok" + + "en\030\002 \001(\tB\003\340A\003\022\030\n\013unreachable\030\003 \003(\tB\003\340A\003\"" + + "S\n\024GetCutoverJobRequest\022;\n\004name\030\001 \001(\tB-\340" + + "A\002\372A\'\n%vmmigration.googleapis.com/Cutove" + + "rJob\"\200\002\n\021OperationMetadata\0224\n\013create_tim" + + "e\030\001 \001(\0132\032.google.protobuf.TimestampB\003\340A\003" + + "\0221\n\010end_time\030\002 \001(\0132\032.google.protobuf.Tim" + + "estampB\003\340A\003\022\023\n\006target\030\003 \001(\tB\003\340A\003\022\021\n\004verb" + + "\030\004 \001(\tB\003\340A\003\022\033\n\016status_message\030\005 \001(\tB\003\340A\003" + + "\022#\n\026requested_cancellation\030\006 \001(\010B\003\340A\003\022\030\n" + + "\013api_version\030\007 \001(\tB\003\340A\003\"\277\004\n\016MigrationErr" + + "or\022H\n\004code\030\001 \001(\01625.google.cloud.vmmigrat" + + "ion.v1.MigrationError.ErrorCodeB\003\340A\003\0228\n\r" + + "error_message\030\002 \001(\0132\034.google.rpc.Localiz" + + "edMessageB\003\340A\003\0226\n\013action_item\030\003 \001(\0132\034.go" + + "ogle.rpc.LocalizedMessageB\003\340A\003\022.\n\nhelp_l" + + "inks\030\004 \003(\0132\025.google.rpc.Help.LinkB\003\340A\003\0223" + + "\n\nerror_time\030\005 \001(\0132\032.google.protobuf.Tim" + + "estampB\003\340A\003\"\213\002\n\tErrorCode\022\032\n\026ERROR_CODE_" + + "UNSPECIFIED\020\000\022\021\n\rUNKNOWN_ERROR\020\001\022\033\n\027SOUR" + + "CE_VALIDATION_ERROR\020\002\022\034\n\030SOURCE_REPLICAT" + + "ION_ERROR\020\003\022\034\n\030TARGET_REPLICATION_ERROR\020" + + "\004\022\027\n\023OS_ADAPTATION_ERROR\020\005\022\017\n\013CLONE_ERRO" + + "R\020\006\022\021\n\rCUTOVER_ERROR\020\007\022\034\n\030UTILIZATION_RE" + + "PORT_ERROR\020\010\022\033\n\027APPLIANCE_UPGRADE_ERROR\020" + + "\t*U\n\025UtilizationReportView\022\'\n#UTILIZATIO" + + "N_REPORT_VIEW_UNSPECIFIED\020\000\022\t\n\005BASIC\020\001\022\010" + + "\n\004FULL\020\002*m\n\017MigratingVmView\022!\n\035MIGRATING" + + "_VM_VIEW_UNSPECIFIED\020\000\022\033\n\027MIGRATING_VM_V" + + "IEW_BASIC\020\001\022\032\n\026MIGRATING_VM_VIEW_FULL\020\002*" + + "\261\001\n\025ComputeEngineDiskType\022(\n$COMPUTE_ENG" + + "INE_DISK_TYPE_UNSPECIFIED\020\000\022%\n!COMPUTE_E" + + "NGINE_DISK_TYPE_STANDARD\020\001\022 \n\034COMPUTE_EN" + + "GINE_DISK_TYPE_SSD\020\002\022%\n!COMPUTE_ENGINE_D" + + "ISK_TYPE_BALANCED\020\003*\217\001\n\030ComputeEngineLic" + + "enseType\022\'\n#COMPUTE_ENGINE_LICENSE_TYPE_" + + "DEFAULT\020\000\022$\n COMPUTE_ENGINE_LICENSE_TYPE" + + "_PAYG\020\001\022$\n COMPUTE_ENGINE_LICENSE_TYPE_B" + + "YOL\020\002*\216\001\n\027ComputeEngineBootOption\022*\n&COM" + + "PUTE_ENGINE_BOOT_OPTION_UNSPECIFIED\020\000\022\"\n" + + "\036COMPUTE_ENGINE_BOOT_OPTION_EFI\020\001\022#\n\037COM" + + "PUTE_ENGINE_BOOT_OPTION_BIOS\020\0022\270O\n\013VmMig" + + "ration\022\256\001\n\013ListSources\022/.google.cloud.vm" + + "migration.v1.ListSourcesRequest\0320.google" + + ".cloud.vmmigration.v1.ListSourcesRespons" + + "e\"<\202\323\344\223\002-\022+/v1/{parent=projects/*/locati" + + "ons/*}/sources\332A\006parent\022\233\001\n\tGetSource\022-." + + "google.cloud.vmmigration.v1.GetSourceReq" + + "uest\032#.google.cloud.vmmigration.v1.Sourc" + + "e\":\202\323\344\223\002-\022+/v1/{name=projects/*/location" + + "s/*/sources/*}\332A\004name\022\324\001\n\014CreateSource\0220" + + ".google.cloud.vmmigration.v1.CreateSourc" + + "eRequest\032\035.google.longrunning.Operation\"" + + "s\202\323\344\223\0025\"+/v1/{parent=projects/*/location" + + "s/*}/sources:\006source\332A\027parent,source,sou" + + "rce_id\312A\033\n\006Source\022\021OperationMetadata\022\326\001\n" + + "\014UpdateSource\0220.google.cloud.vmmigration" + + ".v1.UpdateSourceRequest\032\035.google.longrun" + + "ning.Operation\"u\202\323\344\223\002<22/v1/{source.name" + + "=projects/*/locations/*/sources/*}:\006sour" + + "ce\332A\022source,update_mask\312A\033\n\006Source\022\021Oper" + + "ationMetadata\022\310\001\n\014DeleteSource\0220.google." + + "cloud.vmmigration.v1.DeleteSourceRequest" + + "\032\035.google.longrunning.Operation\"g\202\323\344\223\002-*" + + "+/v1/{name=projects/*/locations/*/source" + + "s/*}\332A\004name\312A*\n\025google.protobuf.Empty\022\021O" + + "perationMetadata\022\310\001\n\016FetchInventory\0222.go" + + "ogle.cloud.vmmigration.v1.FetchInventory" + + "Request\0323.google.cloud.vmmigration.v1.Fe" + + "tchInventoryResponse\"M\202\323\344\223\002>\022 * Utilization information of a single VM. *
* * Protobuf type {@code google.cloud.vmmigration.v1.VmUtilizationInfo} */ -public final class VmUtilizationInfo extends com.google.protobuf.GeneratedMessageV3 - implements +public final class VmUtilizationInfo extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.vmmigration.v1.VmUtilizationInfo) VmUtilizationInfoOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use VmUtilizationInfo.newBuilder() to construct. private VmUtilizationInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private VmUtilizationInfo() { vmId_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new VmUtilizationInfo(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private VmUtilizationInfo( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,54 +53,46 @@ private VmUtilizationInfo( case 0: done = true; break; - case 10: - { - com.google.cloud.vmmigration.v1.VmwareVmDetails.Builder subBuilder = null; - if (vmDetailsCase_ == 1) { - subBuilder = - ((com.google.cloud.vmmigration.v1.VmwareVmDetails) vmDetails_).toBuilder(); - } - vmDetails_ = - input.readMessage( - com.google.cloud.vmmigration.v1.VmwareVmDetails.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.vmmigration.v1.VmwareVmDetails) vmDetails_); - vmDetails_ = subBuilder.buildPartial(); - } - vmDetailsCase_ = 1; - break; + case 10: { + com.google.cloud.vmmigration.v1.VmwareVmDetails.Builder subBuilder = null; + if (vmDetailsCase_ == 1) { + subBuilder = ((com.google.cloud.vmmigration.v1.VmwareVmDetails) vmDetails_).toBuilder(); } - case 18: - { - com.google.cloud.vmmigration.v1.VmUtilizationMetrics.Builder subBuilder = null; - if (utilization_ != null) { - subBuilder = utilization_.toBuilder(); - } - utilization_ = - input.readMessage( - com.google.cloud.vmmigration.v1.VmUtilizationMetrics.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(utilization_); - utilization_ = subBuilder.buildPartial(); - } - - break; + vmDetails_ = + input.readMessage(com.google.cloud.vmmigration.v1.VmwareVmDetails.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.vmmigration.v1.VmwareVmDetails) vmDetails_); + vmDetails_ = subBuilder.buildPartial(); } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - - vmId_ = s; - break; + vmDetailsCase_ = 1; + break; + } + case 18: { + com.google.cloud.vmmigration.v1.VmUtilizationMetrics.Builder subBuilder = null; + if (utilization_ != null) { + subBuilder = utilization_.toBuilder(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + utilization_ = input.readMessage(com.google.cloud.vmmigration.v1.VmUtilizationMetrics.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(utilization_); + utilization_ = subBuilder.buildPartial(); } + + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + + vmId_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -125,39 +100,34 @@ private VmUtilizationInfo( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_VmUtilizationInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_VmUtilizationInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_VmUtilizationInfo_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_VmUtilizationInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.VmUtilizationInfo.class, - com.google.cloud.vmmigration.v1.VmUtilizationInfo.Builder.class); + com.google.cloud.vmmigration.v1.VmUtilizationInfo.class, com.google.cloud.vmmigration.v1.VmUtilizationInfo.Builder.class); } private int vmDetailsCase_ = 0; private java.lang.Object vmDetails_; - public enum VmDetailsCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { VMWARE_VM_DETAILS(1), VMDETAILS_NOT_SET(0); private final int value; - private VmDetailsCase(int value) { this.value = value; } @@ -173,34 +143,29 @@ public static VmDetailsCase valueOf(int value) { public static VmDetailsCase forNumber(int value) { switch (value) { - case 1: - return VMWARE_VM_DETAILS; - case 0: - return VMDETAILS_NOT_SET; - default: - return null; + case 1: return VMWARE_VM_DETAILS; + case 0: return VMDETAILS_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public VmDetailsCase getVmDetailsCase() { - return VmDetailsCase.forNumber(vmDetailsCase_); + public VmDetailsCase + getVmDetailsCase() { + return VmDetailsCase.forNumber( + vmDetailsCase_); } public static final int VMWARE_VM_DETAILS_FIELD_NUMBER = 1; /** - * - * *
    * The description of the VM in a Source of type Vmware.
    * 
* * .google.cloud.vmmigration.v1.VmwareVmDetails vmware_vm_details = 1; - * * @return Whether the vmwareVmDetails field is set. */ @java.lang.Override @@ -208,26 +173,21 @@ public boolean hasVmwareVmDetails() { return vmDetailsCase_ == 1; } /** - * - * *
    * The description of the VM in a Source of type Vmware.
    * 
* * .google.cloud.vmmigration.v1.VmwareVmDetails vmware_vm_details = 1; - * * @return The vmwareVmDetails. */ @java.lang.Override public com.google.cloud.vmmigration.v1.VmwareVmDetails getVmwareVmDetails() { if (vmDetailsCase_ == 1) { - return (com.google.cloud.vmmigration.v1.VmwareVmDetails) vmDetails_; + return (com.google.cloud.vmmigration.v1.VmwareVmDetails) vmDetails_; } return com.google.cloud.vmmigration.v1.VmwareVmDetails.getDefaultInstance(); } /** - * - * *
    * The description of the VM in a Source of type Vmware.
    * 
@@ -237,7 +197,7 @@ public com.google.cloud.vmmigration.v1.VmwareVmDetails getVmwareVmDetails() { @java.lang.Override public com.google.cloud.vmmigration.v1.VmwareVmDetailsOrBuilder getVmwareVmDetailsOrBuilder() { if (vmDetailsCase_ == 1) { - return (com.google.cloud.vmmigration.v1.VmwareVmDetails) vmDetails_; + return (com.google.cloud.vmmigration.v1.VmwareVmDetails) vmDetails_; } return com.google.cloud.vmmigration.v1.VmwareVmDetails.getDefaultInstance(); } @@ -245,14 +205,11 @@ public com.google.cloud.vmmigration.v1.VmwareVmDetailsOrBuilder getVmwareVmDetai public static final int VM_ID_FIELD_NUMBER = 3; private volatile java.lang.Object vmId_; /** - * - * *
    * The VM's ID in the source.
    * 
* * string vm_id = 3; - * * @return The vmId. */ @java.lang.Override @@ -261,29 +218,29 @@ public java.lang.String getVmId() { 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(); vmId_ = s; return s; } } /** - * - * *
    * The VM's ID in the source.
    * 
* * string vm_id = 3; - * * @return The bytes for vmId. */ @java.lang.Override - public com.google.protobuf.ByteString getVmIdBytes() { + public com.google.protobuf.ByteString + getVmIdBytes() { java.lang.Object ref = vmId_; 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); vmId_ = b; return b; } else { @@ -294,14 +251,11 @@ public com.google.protobuf.ByteString getVmIdBytes() { public static final int UTILIZATION_FIELD_NUMBER = 2; private com.google.cloud.vmmigration.v1.VmUtilizationMetrics utilization_; /** - * - * *
    * Utilization metrics for this VM.
    * 
* * .google.cloud.vmmigration.v1.VmUtilizationMetrics utilization = 2; - * * @return Whether the utilization field is set. */ @java.lang.Override @@ -309,25 +263,18 @@ public boolean hasUtilization() { return utilization_ != null; } /** - * - * *
    * Utilization metrics for this VM.
    * 
* * .google.cloud.vmmigration.v1.VmUtilizationMetrics utilization = 2; - * * @return The utilization. */ @java.lang.Override public com.google.cloud.vmmigration.v1.VmUtilizationMetrics getUtilization() { - return utilization_ == null - ? com.google.cloud.vmmigration.v1.VmUtilizationMetrics.getDefaultInstance() - : utilization_; + return utilization_ == null ? com.google.cloud.vmmigration.v1.VmUtilizationMetrics.getDefaultInstance() : utilization_; } /** - * - * *
    * Utilization metrics for this VM.
    * 
@@ -340,7 +287,6 @@ public com.google.cloud.vmmigration.v1.VmUtilizationMetricsOrBuilder getUtilizat } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -352,7 +298,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 (vmDetailsCase_ == 1) { output.writeMessage(1, (com.google.cloud.vmmigration.v1.VmwareVmDetails) vmDetails_); } @@ -372,12 +319,12 @@ public int getSerializedSize() { size = 0; if (vmDetailsCase_ == 1) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 1, (com.google.cloud.vmmigration.v1.VmwareVmDetails) vmDetails_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, (com.google.cloud.vmmigration.v1.VmwareVmDetails) vmDetails_); } if (utilization_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUtilization()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getUtilization()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(vmId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, vmId_); @@ -390,23 +337,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.vmmigration.v1.VmUtilizationInfo)) { return super.equals(obj); } - com.google.cloud.vmmigration.v1.VmUtilizationInfo other = - (com.google.cloud.vmmigration.v1.VmUtilizationInfo) obj; + com.google.cloud.vmmigration.v1.VmUtilizationInfo other = (com.google.cloud.vmmigration.v1.VmUtilizationInfo) obj; - if (!getVmId().equals(other.getVmId())) return false; + if (!getVmId() + .equals(other.getVmId())) return false; if (hasUtilization() != other.hasUtilization()) return false; if (hasUtilization()) { - if (!getUtilization().equals(other.getUtilization())) return false; + if (!getUtilization() + .equals(other.getUtilization())) return false; } if (!getVmDetailsCase().equals(other.getVmDetailsCase())) return false; switch (vmDetailsCase_) { case 1: - if (!getVmwareVmDetails().equals(other.getVmwareVmDetails())) return false; + if (!getVmwareVmDetails() + .equals(other.getVmwareVmDetails())) return false; break; case 0: default: @@ -442,126 +391,117 @@ public int hashCode() { } public static com.google.cloud.vmmigration.v1.VmUtilizationInfo 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.vmmigration.v1.VmUtilizationInfo 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.vmmigration.v1.VmUtilizationInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.vmmigration.v1.VmUtilizationInfo 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.vmmigration.v1.VmUtilizationInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.vmmigration.v1.VmUtilizationInfo 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.vmmigration.v1.VmUtilizationInfo parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.vmmigration.v1.VmUtilizationInfo parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.vmmigration.v1.VmUtilizationInfo 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.vmmigration.v1.VmUtilizationInfo parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.vmmigration.v1.VmUtilizationInfo parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.vmmigration.v1.VmUtilizationInfo 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.vmmigration.v1.VmUtilizationInfo 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.vmmigration.v1.VmUtilizationInfo 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.vmmigration.v1.VmUtilizationInfo 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; } /** - * - * *
    * Utilization information of a single VM.
    * 
* * Protobuf type {@code google.cloud.vmmigration.v1.VmUtilizationInfo} */ - 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.vmmigration.v1.VmUtilizationInfo) com.google.cloud.vmmigration.v1.VmUtilizationInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_VmUtilizationInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_VmUtilizationInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_VmUtilizationInfo_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_VmUtilizationInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.VmUtilizationInfo.class, - com.google.cloud.vmmigration.v1.VmUtilizationInfo.Builder.class); + com.google.cloud.vmmigration.v1.VmUtilizationInfo.class, com.google.cloud.vmmigration.v1.VmUtilizationInfo.Builder.class); } // Construct using com.google.cloud.vmmigration.v1.VmUtilizationInfo.newBuilder() @@ -569,15 +509,16 @@ 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) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -595,9 +536,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_VmUtilizationInfo_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_VmUtilizationInfo_descriptor; } @java.lang.Override @@ -616,8 +557,7 @@ public com.google.cloud.vmmigration.v1.VmUtilizationInfo build() { @java.lang.Override public com.google.cloud.vmmigration.v1.VmUtilizationInfo buildPartial() { - com.google.cloud.vmmigration.v1.VmUtilizationInfo result = - new com.google.cloud.vmmigration.v1.VmUtilizationInfo(this); + com.google.cloud.vmmigration.v1.VmUtilizationInfo result = new com.google.cloud.vmmigration.v1.VmUtilizationInfo(this); if (vmDetailsCase_ == 1) { if (vmwareVmDetailsBuilder_ == null) { result.vmDetails_ = vmDetails_; @@ -640,39 +580,38 @@ public com.google.cloud.vmmigration.v1.VmUtilizationInfo buildPartial() { 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.vmmigration.v1.VmUtilizationInfo) { - return mergeFrom((com.google.cloud.vmmigration.v1.VmUtilizationInfo) other); + return mergeFrom((com.google.cloud.vmmigration.v1.VmUtilizationInfo)other); } else { super.mergeFrom(other); return this; @@ -680,8 +619,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.vmmigration.v1.VmUtilizationInfo other) { - if (other == com.google.cloud.vmmigration.v1.VmUtilizationInfo.getDefaultInstance()) - return this; + if (other == com.google.cloud.vmmigration.v1.VmUtilizationInfo.getDefaultInstance()) return this; if (!other.getVmId().isEmpty()) { vmId_ = other.vmId_; onChanged(); @@ -690,15 +628,13 @@ public Builder mergeFrom(com.google.cloud.vmmigration.v1.VmUtilizationInfo other mergeUtilization(other.getUtilization()); } switch (other.getVmDetailsCase()) { - case VMWARE_VM_DETAILS: - { - mergeVmwareVmDetails(other.getVmwareVmDetails()); - break; - } - case VMDETAILS_NOT_SET: - { - break; - } + case VMWARE_VM_DETAILS: { + mergeVmwareVmDetails(other.getVmwareVmDetails()); + break; + } + case VMDETAILS_NOT_SET: { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -719,8 +655,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.vmmigration.v1.VmUtilizationInfo) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.vmmigration.v1.VmUtilizationInfo) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -729,12 +664,12 @@ public Builder mergeFrom( } return this; } - private int vmDetailsCase_ = 0; private java.lang.Object vmDetails_; - - public VmDetailsCase getVmDetailsCase() { - return VmDetailsCase.forNumber(vmDetailsCase_); + public VmDetailsCase + getVmDetailsCase() { + return VmDetailsCase.forNumber( + vmDetailsCase_); } public Builder clearVmDetails() { @@ -744,20 +679,15 @@ public Builder clearVmDetails() { return this; } + private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.vmmigration.v1.VmwareVmDetails, - com.google.cloud.vmmigration.v1.VmwareVmDetails.Builder, - com.google.cloud.vmmigration.v1.VmwareVmDetailsOrBuilder> - vmwareVmDetailsBuilder_; + com.google.cloud.vmmigration.v1.VmwareVmDetails, com.google.cloud.vmmigration.v1.VmwareVmDetails.Builder, com.google.cloud.vmmigration.v1.VmwareVmDetailsOrBuilder> vmwareVmDetailsBuilder_; /** - * - * *
      * The description of the VM in a Source of type Vmware.
      * 
* * .google.cloud.vmmigration.v1.VmwareVmDetails vmware_vm_details = 1; - * * @return Whether the vmwareVmDetails field is set. */ @java.lang.Override @@ -765,14 +695,11 @@ public boolean hasVmwareVmDetails() { return vmDetailsCase_ == 1; } /** - * - * *
      * The description of the VM in a Source of type Vmware.
      * 
* * .google.cloud.vmmigration.v1.VmwareVmDetails vmware_vm_details = 1; - * * @return The vmwareVmDetails. */ @java.lang.Override @@ -790,8 +717,6 @@ public com.google.cloud.vmmigration.v1.VmwareVmDetails getVmwareVmDetails() { } } /** - * - * *
      * The description of the VM in a Source of type Vmware.
      * 
@@ -812,8 +737,6 @@ public Builder setVmwareVmDetails(com.google.cloud.vmmigration.v1.VmwareVmDetail return this; } /** - * - * *
      * The description of the VM in a Source of type Vmware.
      * 
@@ -832,8 +755,6 @@ public Builder setVmwareVmDetails( return this; } /** - * - * *
      * The description of the VM in a Source of type Vmware.
      * 
@@ -842,13 +763,10 @@ public Builder setVmwareVmDetails( */ public Builder mergeVmwareVmDetails(com.google.cloud.vmmigration.v1.VmwareVmDetails value) { if (vmwareVmDetailsBuilder_ == null) { - if (vmDetailsCase_ == 1 - && vmDetails_ != com.google.cloud.vmmigration.v1.VmwareVmDetails.getDefaultInstance()) { - vmDetails_ = - com.google.cloud.vmmigration.v1.VmwareVmDetails.newBuilder( - (com.google.cloud.vmmigration.v1.VmwareVmDetails) vmDetails_) - .mergeFrom(value) - .buildPartial(); + if (vmDetailsCase_ == 1 && + vmDetails_ != com.google.cloud.vmmigration.v1.VmwareVmDetails.getDefaultInstance()) { + vmDetails_ = com.google.cloud.vmmigration.v1.VmwareVmDetails.newBuilder((com.google.cloud.vmmigration.v1.VmwareVmDetails) vmDetails_) + .mergeFrom(value).buildPartial(); } else { vmDetails_ = value; } @@ -864,8 +782,6 @@ public Builder mergeVmwareVmDetails(com.google.cloud.vmmigration.v1.VmwareVmDeta return this; } /** - * - * *
      * The description of the VM in a Source of type Vmware.
      * 
@@ -889,8 +805,6 @@ public Builder clearVmwareVmDetails() { return this; } /** - * - * *
      * The description of the VM in a Source of type Vmware.
      * 
@@ -901,8 +815,6 @@ public com.google.cloud.vmmigration.v1.VmwareVmDetails.Builder getVmwareVmDetail return getVmwareVmDetailsFieldBuilder().getBuilder(); } /** - * - * *
      * The description of the VM in a Source of type Vmware.
      * 
@@ -921,8 +833,6 @@ public com.google.cloud.vmmigration.v1.VmwareVmDetailsOrBuilder getVmwareVmDetai } } /** - * - * *
      * The description of the VM in a Source of type Vmware.
      * 
@@ -930,46 +840,38 @@ public com.google.cloud.vmmigration.v1.VmwareVmDetailsOrBuilder getVmwareVmDetai * .google.cloud.vmmigration.v1.VmwareVmDetails vmware_vm_details = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.vmmigration.v1.VmwareVmDetails, - com.google.cloud.vmmigration.v1.VmwareVmDetails.Builder, - com.google.cloud.vmmigration.v1.VmwareVmDetailsOrBuilder> + com.google.cloud.vmmigration.v1.VmwareVmDetails, com.google.cloud.vmmigration.v1.VmwareVmDetails.Builder, com.google.cloud.vmmigration.v1.VmwareVmDetailsOrBuilder> getVmwareVmDetailsFieldBuilder() { if (vmwareVmDetailsBuilder_ == null) { if (!(vmDetailsCase_ == 1)) { vmDetails_ = com.google.cloud.vmmigration.v1.VmwareVmDetails.getDefaultInstance(); } - vmwareVmDetailsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.vmmigration.v1.VmwareVmDetails, - com.google.cloud.vmmigration.v1.VmwareVmDetails.Builder, - com.google.cloud.vmmigration.v1.VmwareVmDetailsOrBuilder>( + vmwareVmDetailsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.vmmigration.v1.VmwareVmDetails, com.google.cloud.vmmigration.v1.VmwareVmDetails.Builder, com.google.cloud.vmmigration.v1.VmwareVmDetailsOrBuilder>( (com.google.cloud.vmmigration.v1.VmwareVmDetails) vmDetails_, getParentForChildren(), isClean()); vmDetails_ = null; } vmDetailsCase_ = 1; - onChanged(); - ; + onChanged();; return vmwareVmDetailsBuilder_; } private java.lang.Object vmId_ = ""; /** - * - * *
      * The VM's ID in the source.
      * 
* * string vm_id = 3; - * * @return The vmId. */ public java.lang.String getVmId() { java.lang.Object ref = vmId_; 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(); vmId_ = s; return s; @@ -978,21 +880,20 @@ public java.lang.String getVmId() { } } /** - * - * *
      * The VM's ID in the source.
      * 
* * string vm_id = 3; - * * @return The bytes for vmId. */ - public com.google.protobuf.ByteString getVmIdBytes() { + public com.google.protobuf.ByteString + getVmIdBytes() { java.lang.Object ref = vmId_; 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); vmId_ = b; return b; } else { @@ -1000,61 +901,54 @@ public com.google.protobuf.ByteString getVmIdBytes() { } } /** - * - * *
      * The VM's ID in the source.
      * 
* * string vm_id = 3; - * * @param value The vmId to set. * @return This builder for chaining. */ - public Builder setVmId(java.lang.String value) { + public Builder setVmId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + vmId_ = value; onChanged(); return this; } /** - * - * *
      * The VM's ID in the source.
      * 
* * string vm_id = 3; - * * @return This builder for chaining. */ public Builder clearVmId() { - + vmId_ = getDefaultInstance().getVmId(); onChanged(); return this; } /** - * - * *
      * The VM's ID in the source.
      * 
* * string vm_id = 3; - * * @param value The bytes for vmId to set. * @return This builder for chaining. */ - public Builder setVmIdBytes(com.google.protobuf.ByteString value) { + public Builder setVmIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + vmId_ = value; onChanged(); return this; @@ -1062,47 +956,34 @@ public Builder setVmIdBytes(com.google.protobuf.ByteString value) { private com.google.cloud.vmmigration.v1.VmUtilizationMetrics utilization_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.vmmigration.v1.VmUtilizationMetrics, - com.google.cloud.vmmigration.v1.VmUtilizationMetrics.Builder, - com.google.cloud.vmmigration.v1.VmUtilizationMetricsOrBuilder> - utilizationBuilder_; + com.google.cloud.vmmigration.v1.VmUtilizationMetrics, com.google.cloud.vmmigration.v1.VmUtilizationMetrics.Builder, com.google.cloud.vmmigration.v1.VmUtilizationMetricsOrBuilder> utilizationBuilder_; /** - * - * *
      * Utilization metrics for this VM.
      * 
* * .google.cloud.vmmigration.v1.VmUtilizationMetrics utilization = 2; - * * @return Whether the utilization field is set. */ public boolean hasUtilization() { return utilizationBuilder_ != null || utilization_ != null; } /** - * - * *
      * Utilization metrics for this VM.
      * 
* * .google.cloud.vmmigration.v1.VmUtilizationMetrics utilization = 2; - * * @return The utilization. */ public com.google.cloud.vmmigration.v1.VmUtilizationMetrics getUtilization() { if (utilizationBuilder_ == null) { - return utilization_ == null - ? com.google.cloud.vmmigration.v1.VmUtilizationMetrics.getDefaultInstance() - : utilization_; + return utilization_ == null ? com.google.cloud.vmmigration.v1.VmUtilizationMetrics.getDefaultInstance() : utilization_; } else { return utilizationBuilder_.getMessage(); } } /** - * - * *
      * Utilization metrics for this VM.
      * 
@@ -1123,8 +1004,6 @@ public Builder setUtilization(com.google.cloud.vmmigration.v1.VmUtilizationMetri return this; } /** - * - * *
      * Utilization metrics for this VM.
      * 
@@ -1143,8 +1022,6 @@ public Builder setUtilization( return this; } /** - * - * *
      * Utilization metrics for this VM.
      * 
@@ -1155,9 +1032,7 @@ public Builder mergeUtilization(com.google.cloud.vmmigration.v1.VmUtilizationMet if (utilizationBuilder_ == null) { if (utilization_ != null) { utilization_ = - com.google.cloud.vmmigration.v1.VmUtilizationMetrics.newBuilder(utilization_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.vmmigration.v1.VmUtilizationMetrics.newBuilder(utilization_).mergeFrom(value).buildPartial(); } else { utilization_ = value; } @@ -1169,8 +1044,6 @@ public Builder mergeUtilization(com.google.cloud.vmmigration.v1.VmUtilizationMet return this; } /** - * - * *
      * Utilization metrics for this VM.
      * 
@@ -1189,8 +1062,6 @@ public Builder clearUtilization() { return this; } /** - * - * *
      * Utilization metrics for this VM.
      * 
@@ -1198,13 +1069,11 @@ public Builder clearUtilization() { * .google.cloud.vmmigration.v1.VmUtilizationMetrics utilization = 2; */ public com.google.cloud.vmmigration.v1.VmUtilizationMetrics.Builder getUtilizationBuilder() { - + onChanged(); return getUtilizationFieldBuilder().getBuilder(); } /** - * - * *
      * Utilization metrics for this VM.
      * 
@@ -1215,14 +1084,11 @@ public com.google.cloud.vmmigration.v1.VmUtilizationMetricsOrBuilder getUtilizat if (utilizationBuilder_ != null) { return utilizationBuilder_.getMessageOrBuilder(); } else { - return utilization_ == null - ? com.google.cloud.vmmigration.v1.VmUtilizationMetrics.getDefaultInstance() - : utilization_; + return utilization_ == null ? + com.google.cloud.vmmigration.v1.VmUtilizationMetrics.getDefaultInstance() : utilization_; } } /** - * - * *
      * Utilization metrics for this VM.
      * 
@@ -1230,24 +1096,21 @@ public com.google.cloud.vmmigration.v1.VmUtilizationMetricsOrBuilder getUtilizat * .google.cloud.vmmigration.v1.VmUtilizationMetrics utilization = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.vmmigration.v1.VmUtilizationMetrics, - com.google.cloud.vmmigration.v1.VmUtilizationMetrics.Builder, - com.google.cloud.vmmigration.v1.VmUtilizationMetricsOrBuilder> + com.google.cloud.vmmigration.v1.VmUtilizationMetrics, com.google.cloud.vmmigration.v1.VmUtilizationMetrics.Builder, com.google.cloud.vmmigration.v1.VmUtilizationMetricsOrBuilder> getUtilizationFieldBuilder() { if (utilizationBuilder_ == null) { - utilizationBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.vmmigration.v1.VmUtilizationMetrics, - com.google.cloud.vmmigration.v1.VmUtilizationMetrics.Builder, - com.google.cloud.vmmigration.v1.VmUtilizationMetricsOrBuilder>( - getUtilization(), getParentForChildren(), isClean()); + utilizationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.vmmigration.v1.VmUtilizationMetrics, com.google.cloud.vmmigration.v1.VmUtilizationMetrics.Builder, com.google.cloud.vmmigration.v1.VmUtilizationMetricsOrBuilder>( + getUtilization(), + getParentForChildren(), + isClean()); utilization_ = null; } return utilizationBuilder_; } - @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); } @@ -1257,12 +1120,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.vmmigration.v1.VmUtilizationInfo) } // @@protoc_insertion_point(class_scope:google.cloud.vmmigration.v1.VmUtilizationInfo) private static final com.google.cloud.vmmigration.v1.VmUtilizationInfo DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.vmmigration.v1.VmUtilizationInfo(); } @@ -1271,16 +1134,16 @@ public static com.google.cloud.vmmigration.v1.VmUtilizationInfo getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public VmUtilizationInfo parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new VmUtilizationInfo(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public VmUtilizationInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new VmUtilizationInfo(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1295,4 +1158,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.vmmigration.v1.VmUtilizationInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/VmUtilizationInfoOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/VmUtilizationInfoOrBuilder.java similarity index 73% rename from proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/VmUtilizationInfoOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/VmUtilizationInfoOrBuilder.java index 54448c7..b251839 100644 --- a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/VmUtilizationInfoOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/VmUtilizationInfoOrBuilder.java @@ -1,55 +1,31 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; -public interface VmUtilizationInfoOrBuilder - extends +public interface VmUtilizationInfoOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.VmUtilizationInfo) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The description of the VM in a Source of type Vmware.
    * 
* * .google.cloud.vmmigration.v1.VmwareVmDetails vmware_vm_details = 1; - * * @return Whether the vmwareVmDetails field is set. */ boolean hasVmwareVmDetails(); /** - * - * *
    * The description of the VM in a Source of type Vmware.
    * 
* * .google.cloud.vmmigration.v1.VmwareVmDetails vmware_vm_details = 1; - * * @return The vmwareVmDetails. */ com.google.cloud.vmmigration.v1.VmwareVmDetails getVmwareVmDetails(); /** - * - * *
    * The description of the VM in a Source of type Vmware.
    * 
@@ -59,57 +35,44 @@ public interface VmUtilizationInfoOrBuilder com.google.cloud.vmmigration.v1.VmwareVmDetailsOrBuilder getVmwareVmDetailsOrBuilder(); /** - * - * *
    * The VM's ID in the source.
    * 
* * string vm_id = 3; - * * @return The vmId. */ java.lang.String getVmId(); /** - * - * *
    * The VM's ID in the source.
    * 
* * string vm_id = 3; - * * @return The bytes for vmId. */ - com.google.protobuf.ByteString getVmIdBytes(); + com.google.protobuf.ByteString + getVmIdBytes(); /** - * - * *
    * Utilization metrics for this VM.
    * 
* * .google.cloud.vmmigration.v1.VmUtilizationMetrics utilization = 2; - * * @return Whether the utilization field is set. */ boolean hasUtilization(); /** - * - * *
    * Utilization metrics for this VM.
    * 
* * .google.cloud.vmmigration.v1.VmUtilizationMetrics utilization = 2; - * * @return The utilization. */ com.google.cloud.vmmigration.v1.VmUtilizationMetrics getUtilization(); /** - * - * *
    * Utilization metrics for this VM.
    * 
diff --git a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/VmUtilizationMetrics.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/VmUtilizationMetrics.java similarity index 73% rename from proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/VmUtilizationMetrics.java rename to owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/VmUtilizationMetrics.java index 8948e7e..07a4c8f 100644 --- a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/VmUtilizationMetrics.java +++ b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/VmUtilizationMetrics.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; /** - * - * *
  * Utilization metrics values for a single VM.
  * 
* * Protobuf type {@code google.cloud.vmmigration.v1.VmUtilizationMetrics} */ -public final class VmUtilizationMetrics extends com.google.protobuf.GeneratedMessageV3 - implements +public final class VmUtilizationMetrics extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.vmmigration.v1.VmUtilizationMetrics) VmUtilizationMetricsOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use VmUtilizationMetrics.newBuilder() to construct. private VmUtilizationMetrics(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private VmUtilizationMetrics() {} + private VmUtilizationMetrics() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new VmUtilizationMetrics(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private VmUtilizationMetrics( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,53 +52,53 @@ private VmUtilizationMetrics( case 0: done = true; break; - case 72: - { - cpuMaxPercent_ = input.readInt32(); - break; - } - case 80: - { - cpuAveragePercent_ = input.readInt32(); - break; - } - case 88: - { - memoryMaxPercent_ = input.readInt32(); - break; - } - case 96: - { - memoryAveragePercent_ = input.readInt32(); - break; - } - case 104: - { - diskIoRateMaxKbps_ = input.readInt64(); - break; - } - case 112: - { - diskIoRateAverageKbps_ = input.readInt64(); - break; - } - case 120: - { - networkThroughputMaxKbps_ = input.readInt64(); - break; - } - case 128: - { - networkThroughputAverageKbps_ = input.readInt64(); - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + case 72: { + + cpuMaxPercent_ = input.readInt32(); + break; + } + case 80: { + + cpuAveragePercent_ = input.readInt32(); + break; + } + case 88: { + + memoryMaxPercent_ = input.readInt32(); + break; + } + case 96: { + + memoryAveragePercent_ = input.readInt32(); + break; + } + case 104: { + + diskIoRateMaxKbps_ = input.readInt64(); + break; + } + case 112: { + + diskIoRateAverageKbps_ = input.readInt64(); + break; + } + case 120: { + + networkThroughputMaxKbps_ = input.readInt64(); + break; + } + case 128: { + + networkThroughputAverageKbps_ = input.readInt64(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -122,39 +106,34 @@ private VmUtilizationMetrics( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_VmUtilizationMetrics_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_VmUtilizationMetrics_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_VmUtilizationMetrics_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_VmUtilizationMetrics_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.VmUtilizationMetrics.class, - com.google.cloud.vmmigration.v1.VmUtilizationMetrics.Builder.class); + com.google.cloud.vmmigration.v1.VmUtilizationMetrics.class, com.google.cloud.vmmigration.v1.VmUtilizationMetrics.Builder.class); } public static final int CPU_MAX_PERCENT_FIELD_NUMBER = 9; private int cpuMaxPercent_; /** - * - * *
    * Max CPU usage, percent.
    * 
* * int32 cpu_max_percent = 9; - * * @return The cpuMaxPercent. */ @java.lang.Override @@ -165,14 +144,11 @@ public int getCpuMaxPercent() { public static final int CPU_AVERAGE_PERCENT_FIELD_NUMBER = 10; private int cpuAveragePercent_; /** - * - * *
    * Average CPU usage, percent.
    * 
* * int32 cpu_average_percent = 10; - * * @return The cpuAveragePercent. */ @java.lang.Override @@ -183,14 +159,11 @@ public int getCpuAveragePercent() { public static final int MEMORY_MAX_PERCENT_FIELD_NUMBER = 11; private int memoryMaxPercent_; /** - * - * *
    * Max memory usage, percent.
    * 
* * int32 memory_max_percent = 11; - * * @return The memoryMaxPercent. */ @java.lang.Override @@ -201,14 +174,11 @@ public int getMemoryMaxPercent() { public static final int MEMORY_AVERAGE_PERCENT_FIELD_NUMBER = 12; private int memoryAveragePercent_; /** - * - * *
    * Average memory usage, percent.
    * 
* * int32 memory_average_percent = 12; - * * @return The memoryAveragePercent. */ @java.lang.Override @@ -219,14 +189,11 @@ public int getMemoryAveragePercent() { public static final int DISK_IO_RATE_MAX_KBPS_FIELD_NUMBER = 13; private long diskIoRateMaxKbps_; /** - * - * *
    * Max disk IO rate, in kilobytes per second.
    * 
* * int64 disk_io_rate_max_kbps = 13; - * * @return The diskIoRateMaxKbps. */ @java.lang.Override @@ -237,14 +204,11 @@ public long getDiskIoRateMaxKbps() { public static final int DISK_IO_RATE_AVERAGE_KBPS_FIELD_NUMBER = 14; private long diskIoRateAverageKbps_; /** - * - * *
    * Average disk IO rate, in kilobytes per second.
    * 
* * int64 disk_io_rate_average_kbps = 14; - * * @return The diskIoRateAverageKbps. */ @java.lang.Override @@ -255,15 +219,12 @@ public long getDiskIoRateAverageKbps() { public static final int NETWORK_THROUGHPUT_MAX_KBPS_FIELD_NUMBER = 15; private long networkThroughputMaxKbps_; /** - * - * *
    * Max network throughput (combined transmit-rates and receive-rates), in
    * kilobytes per second.
    * 
* * int64 network_throughput_max_kbps = 15; - * * @return The networkThroughputMaxKbps. */ @java.lang.Override @@ -274,15 +235,12 @@ public long getNetworkThroughputMaxKbps() { public static final int NETWORK_THROUGHPUT_AVERAGE_KBPS_FIELD_NUMBER = 16; private long networkThroughputAverageKbps_; /** - * - * *
    * Average network throughput (combined transmit-rates and receive-rates), in
    * kilobytes per second.
    * 
* * int64 network_throughput_average_kbps = 16; - * * @return The networkThroughputAverageKbps. */ @java.lang.Override @@ -291,7 +249,6 @@ public long getNetworkThroughputAverageKbps() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -303,7 +260,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 (cpuMaxPercent_ != 0) { output.writeInt32(9, cpuMaxPercent_); } @@ -338,29 +296,36 @@ public int getSerializedSize() { size = 0; if (cpuMaxPercent_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(9, cpuMaxPercent_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(9, cpuMaxPercent_); } if (cpuAveragePercent_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(10, cpuAveragePercent_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(10, cpuAveragePercent_); } if (memoryMaxPercent_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(11, memoryMaxPercent_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(11, memoryMaxPercent_); } if (memoryAveragePercent_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(12, memoryAveragePercent_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(12, memoryAveragePercent_); } if (diskIoRateMaxKbps_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(13, diskIoRateMaxKbps_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(13, diskIoRateMaxKbps_); } if (diskIoRateAverageKbps_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(14, diskIoRateAverageKbps_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(14, diskIoRateAverageKbps_); } if (networkThroughputMaxKbps_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(15, networkThroughputMaxKbps_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(15, networkThroughputMaxKbps_); } if (networkThroughputAverageKbps_ != 0L) { - size += - com.google.protobuf.CodedOutputStream.computeInt64Size(16, networkThroughputAverageKbps_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(16, networkThroughputAverageKbps_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -370,22 +335,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.vmmigration.v1.VmUtilizationMetrics)) { return super.equals(obj); } - com.google.cloud.vmmigration.v1.VmUtilizationMetrics other = - (com.google.cloud.vmmigration.v1.VmUtilizationMetrics) obj; - - if (getCpuMaxPercent() != other.getCpuMaxPercent()) return false; - if (getCpuAveragePercent() != other.getCpuAveragePercent()) return false; - if (getMemoryMaxPercent() != other.getMemoryMaxPercent()) return false; - if (getMemoryAveragePercent() != other.getMemoryAveragePercent()) return false; - if (getDiskIoRateMaxKbps() != other.getDiskIoRateMaxKbps()) return false; - if (getDiskIoRateAverageKbps() != other.getDiskIoRateAverageKbps()) return false; - if (getNetworkThroughputMaxKbps() != other.getNetworkThroughputMaxKbps()) return false; - if (getNetworkThroughputAverageKbps() != other.getNetworkThroughputAverageKbps()) return false; + com.google.cloud.vmmigration.v1.VmUtilizationMetrics other = (com.google.cloud.vmmigration.v1.VmUtilizationMetrics) obj; + + if (getCpuMaxPercent() + != other.getCpuMaxPercent()) return false; + if (getCpuAveragePercent() + != other.getCpuAveragePercent()) return false; + if (getMemoryMaxPercent() + != other.getMemoryMaxPercent()) return false; + if (getMemoryAveragePercent() + != other.getMemoryAveragePercent()) return false; + if (getDiskIoRateMaxKbps() + != other.getDiskIoRateMaxKbps()) return false; + if (getDiskIoRateAverageKbps() + != other.getDiskIoRateAverageKbps()) return false; + if (getNetworkThroughputMaxKbps() + != other.getNetworkThroughputMaxKbps()) return false; + if (getNetworkThroughputAverageKbps() + != other.getNetworkThroughputAverageKbps()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -406,139 +378,134 @@ public int hashCode() { hash = (37 * hash) + MEMORY_AVERAGE_PERCENT_FIELD_NUMBER; hash = (53 * hash) + getMemoryAveragePercent(); hash = (37 * hash) + DISK_IO_RATE_MAX_KBPS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getDiskIoRateMaxKbps()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getDiskIoRateMaxKbps()); hash = (37 * hash) + DISK_IO_RATE_AVERAGE_KBPS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getDiskIoRateAverageKbps()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getDiskIoRateAverageKbps()); hash = (37 * hash) + NETWORK_THROUGHPUT_MAX_KBPS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getNetworkThroughputMaxKbps()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getNetworkThroughputMaxKbps()); hash = (37 * hash) + NETWORK_THROUGHPUT_AVERAGE_KBPS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getNetworkThroughputAverageKbps()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getNetworkThroughputAverageKbps()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.vmmigration.v1.VmUtilizationMetrics 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.vmmigration.v1.VmUtilizationMetrics 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.vmmigration.v1.VmUtilizationMetrics parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.vmmigration.v1.VmUtilizationMetrics 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.vmmigration.v1.VmUtilizationMetrics parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.vmmigration.v1.VmUtilizationMetrics 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.vmmigration.v1.VmUtilizationMetrics parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.vmmigration.v1.VmUtilizationMetrics parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.vmmigration.v1.VmUtilizationMetrics 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.vmmigration.v1.VmUtilizationMetrics parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.vmmigration.v1.VmUtilizationMetrics parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.vmmigration.v1.VmUtilizationMetrics 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.vmmigration.v1.VmUtilizationMetrics 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.vmmigration.v1.VmUtilizationMetrics 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.vmmigration.v1.VmUtilizationMetrics 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; } /** - * - * *
    * Utilization metrics values for a single VM.
    * 
* * Protobuf type {@code google.cloud.vmmigration.v1.VmUtilizationMetrics} */ - 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.vmmigration.v1.VmUtilizationMetrics) com.google.cloud.vmmigration.v1.VmUtilizationMetricsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_VmUtilizationMetrics_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_VmUtilizationMetrics_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_VmUtilizationMetrics_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_VmUtilizationMetrics_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.VmUtilizationMetrics.class, - com.google.cloud.vmmigration.v1.VmUtilizationMetrics.Builder.class); + com.google.cloud.vmmigration.v1.VmUtilizationMetrics.class, com.google.cloud.vmmigration.v1.VmUtilizationMetrics.Builder.class); } // Construct using com.google.cloud.vmmigration.v1.VmUtilizationMetrics.newBuilder() @@ -546,15 +513,16 @@ 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) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -578,9 +546,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_VmUtilizationMetrics_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_VmUtilizationMetrics_descriptor; } @java.lang.Override @@ -599,8 +567,7 @@ public com.google.cloud.vmmigration.v1.VmUtilizationMetrics build() { @java.lang.Override public com.google.cloud.vmmigration.v1.VmUtilizationMetrics buildPartial() { - com.google.cloud.vmmigration.v1.VmUtilizationMetrics result = - new com.google.cloud.vmmigration.v1.VmUtilizationMetrics(this); + com.google.cloud.vmmigration.v1.VmUtilizationMetrics result = new com.google.cloud.vmmigration.v1.VmUtilizationMetrics(this); result.cpuMaxPercent_ = cpuMaxPercent_; result.cpuAveragePercent_ = cpuAveragePercent_; result.memoryMaxPercent_ = memoryMaxPercent_; @@ -617,39 +584,38 @@ public com.google.cloud.vmmigration.v1.VmUtilizationMetrics buildPartial() { 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.vmmigration.v1.VmUtilizationMetrics) { - return mergeFrom((com.google.cloud.vmmigration.v1.VmUtilizationMetrics) other); + return mergeFrom((com.google.cloud.vmmigration.v1.VmUtilizationMetrics)other); } else { super.mergeFrom(other); return this; @@ -657,8 +623,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.vmmigration.v1.VmUtilizationMetrics other) { - if (other == com.google.cloud.vmmigration.v1.VmUtilizationMetrics.getDefaultInstance()) - return this; + if (other == com.google.cloud.vmmigration.v1.VmUtilizationMetrics.getDefaultInstance()) return this; if (other.getCpuMaxPercent() != 0) { setCpuMaxPercent(other.getCpuMaxPercent()); } @@ -702,8 +667,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.vmmigration.v1.VmUtilizationMetrics) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.vmmigration.v1.VmUtilizationMetrics) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -713,16 +677,13 @@ public Builder mergeFrom( return this; } - private int cpuMaxPercent_; + private int cpuMaxPercent_ ; /** - * - * *
      * Max CPU usage, percent.
      * 
* * int32 cpu_max_percent = 9; - * * @return The cpuMaxPercent. */ @java.lang.Override @@ -730,51 +691,42 @@ public int getCpuMaxPercent() { return cpuMaxPercent_; } /** - * - * *
      * Max CPU usage, percent.
      * 
* * int32 cpu_max_percent = 9; - * * @param value The cpuMaxPercent to set. * @return This builder for chaining. */ public Builder setCpuMaxPercent(int value) { - + cpuMaxPercent_ = value; onChanged(); return this; } /** - * - * *
      * Max CPU usage, percent.
      * 
* * int32 cpu_max_percent = 9; - * * @return This builder for chaining. */ public Builder clearCpuMaxPercent() { - + cpuMaxPercent_ = 0; onChanged(); return this; } - private int cpuAveragePercent_; + private int cpuAveragePercent_ ; /** - * - * *
      * Average CPU usage, percent.
      * 
* * int32 cpu_average_percent = 10; - * * @return The cpuAveragePercent. */ @java.lang.Override @@ -782,51 +734,42 @@ public int getCpuAveragePercent() { return cpuAveragePercent_; } /** - * - * *
      * Average CPU usage, percent.
      * 
* * int32 cpu_average_percent = 10; - * * @param value The cpuAveragePercent to set. * @return This builder for chaining. */ public Builder setCpuAveragePercent(int value) { - + cpuAveragePercent_ = value; onChanged(); return this; } /** - * - * *
      * Average CPU usage, percent.
      * 
* * int32 cpu_average_percent = 10; - * * @return This builder for chaining. */ public Builder clearCpuAveragePercent() { - + cpuAveragePercent_ = 0; onChanged(); return this; } - private int memoryMaxPercent_; + private int memoryMaxPercent_ ; /** - * - * *
      * Max memory usage, percent.
      * 
* * int32 memory_max_percent = 11; - * * @return The memoryMaxPercent. */ @java.lang.Override @@ -834,51 +777,42 @@ public int getMemoryMaxPercent() { return memoryMaxPercent_; } /** - * - * *
      * Max memory usage, percent.
      * 
* * int32 memory_max_percent = 11; - * * @param value The memoryMaxPercent to set. * @return This builder for chaining. */ public Builder setMemoryMaxPercent(int value) { - + memoryMaxPercent_ = value; onChanged(); return this; } /** - * - * *
      * Max memory usage, percent.
      * 
* * int32 memory_max_percent = 11; - * * @return This builder for chaining. */ public Builder clearMemoryMaxPercent() { - + memoryMaxPercent_ = 0; onChanged(); return this; } - private int memoryAveragePercent_; + private int memoryAveragePercent_ ; /** - * - * *
      * Average memory usage, percent.
      * 
* * int32 memory_average_percent = 12; - * * @return The memoryAveragePercent. */ @java.lang.Override @@ -886,51 +820,42 @@ public int getMemoryAveragePercent() { return memoryAveragePercent_; } /** - * - * *
      * Average memory usage, percent.
      * 
* * int32 memory_average_percent = 12; - * * @param value The memoryAveragePercent to set. * @return This builder for chaining. */ public Builder setMemoryAveragePercent(int value) { - + memoryAveragePercent_ = value; onChanged(); return this; } /** - * - * *
      * Average memory usage, percent.
      * 
* * int32 memory_average_percent = 12; - * * @return This builder for chaining. */ public Builder clearMemoryAveragePercent() { - + memoryAveragePercent_ = 0; onChanged(); return this; } - private long diskIoRateMaxKbps_; + private long diskIoRateMaxKbps_ ; /** - * - * *
      * Max disk IO rate, in kilobytes per second.
      * 
* * int64 disk_io_rate_max_kbps = 13; - * * @return The diskIoRateMaxKbps. */ @java.lang.Override @@ -938,51 +863,42 @@ public long getDiskIoRateMaxKbps() { return diskIoRateMaxKbps_; } /** - * - * *
      * Max disk IO rate, in kilobytes per second.
      * 
* * int64 disk_io_rate_max_kbps = 13; - * * @param value The diskIoRateMaxKbps to set. * @return This builder for chaining. */ public Builder setDiskIoRateMaxKbps(long value) { - + diskIoRateMaxKbps_ = value; onChanged(); return this; } /** - * - * *
      * Max disk IO rate, in kilobytes per second.
      * 
* * int64 disk_io_rate_max_kbps = 13; - * * @return This builder for chaining. */ public Builder clearDiskIoRateMaxKbps() { - + diskIoRateMaxKbps_ = 0L; onChanged(); return this; } - private long diskIoRateAverageKbps_; + private long diskIoRateAverageKbps_ ; /** - * - * *
      * Average disk IO rate, in kilobytes per second.
      * 
* * int64 disk_io_rate_average_kbps = 14; - * * @return The diskIoRateAverageKbps. */ @java.lang.Override @@ -990,52 +906,43 @@ public long getDiskIoRateAverageKbps() { return diskIoRateAverageKbps_; } /** - * - * *
      * Average disk IO rate, in kilobytes per second.
      * 
* * int64 disk_io_rate_average_kbps = 14; - * * @param value The diskIoRateAverageKbps to set. * @return This builder for chaining. */ public Builder setDiskIoRateAverageKbps(long value) { - + diskIoRateAverageKbps_ = value; onChanged(); return this; } /** - * - * *
      * Average disk IO rate, in kilobytes per second.
      * 
* * int64 disk_io_rate_average_kbps = 14; - * * @return This builder for chaining. */ public Builder clearDiskIoRateAverageKbps() { - + diskIoRateAverageKbps_ = 0L; onChanged(); return this; } - private long networkThroughputMaxKbps_; + private long networkThroughputMaxKbps_ ; /** - * - * *
      * Max network throughput (combined transmit-rates and receive-rates), in
      * kilobytes per second.
      * 
* * int64 network_throughput_max_kbps = 15; - * * @return The networkThroughputMaxKbps. */ @java.lang.Override @@ -1043,54 +950,45 @@ public long getNetworkThroughputMaxKbps() { return networkThroughputMaxKbps_; } /** - * - * *
      * Max network throughput (combined transmit-rates and receive-rates), in
      * kilobytes per second.
      * 
* * int64 network_throughput_max_kbps = 15; - * * @param value The networkThroughputMaxKbps to set. * @return This builder for chaining. */ public Builder setNetworkThroughputMaxKbps(long value) { - + networkThroughputMaxKbps_ = value; onChanged(); return this; } /** - * - * *
      * Max network throughput (combined transmit-rates and receive-rates), in
      * kilobytes per second.
      * 
* * int64 network_throughput_max_kbps = 15; - * * @return This builder for chaining. */ public Builder clearNetworkThroughputMaxKbps() { - + networkThroughputMaxKbps_ = 0L; onChanged(); return this; } - private long networkThroughputAverageKbps_; + private long networkThroughputAverageKbps_ ; /** - * - * *
      * Average network throughput (combined transmit-rates and receive-rates), in
      * kilobytes per second.
      * 
* * int64 network_throughput_average_kbps = 16; - * * @return The networkThroughputAverageKbps. */ @java.lang.Override @@ -1098,45 +996,39 @@ public long getNetworkThroughputAverageKbps() { return networkThroughputAverageKbps_; } /** - * - * *
      * Average network throughput (combined transmit-rates and receive-rates), in
      * kilobytes per second.
      * 
* * int64 network_throughput_average_kbps = 16; - * * @param value The networkThroughputAverageKbps to set. * @return This builder for chaining. */ public Builder setNetworkThroughputAverageKbps(long value) { - + networkThroughputAverageKbps_ = value; onChanged(); return this; } /** - * - * *
      * Average network throughput (combined transmit-rates and receive-rates), in
      * kilobytes per second.
      * 
* * int64 network_throughput_average_kbps = 16; - * * @return This builder for chaining. */ public Builder clearNetworkThroughputAverageKbps() { - + networkThroughputAverageKbps_ = 0L; 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); } @@ -1146,12 +1038,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.vmmigration.v1.VmUtilizationMetrics) } // @@protoc_insertion_point(class_scope:google.cloud.vmmigration.v1.VmUtilizationMetrics) private static final com.google.cloud.vmmigration.v1.VmUtilizationMetrics DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.vmmigration.v1.VmUtilizationMetrics(); } @@ -1160,16 +1052,16 @@ public static com.google.cloud.vmmigration.v1.VmUtilizationMetrics getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public VmUtilizationMetrics parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new VmUtilizationMetrics(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public VmUtilizationMetrics parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new VmUtilizationMetrics(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1184,4 +1076,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.vmmigration.v1.VmUtilizationMetrics getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/VmUtilizationMetricsOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/VmUtilizationMetricsOrBuilder.java similarity index 72% rename from proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/VmUtilizationMetricsOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/VmUtilizationMetricsOrBuilder.java index 44ff99f..92ea74c 100644 --- a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/VmUtilizationMetricsOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/VmUtilizationMetricsOrBuilder.java @@ -1,130 +1,90 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; -public interface VmUtilizationMetricsOrBuilder - extends +public interface VmUtilizationMetricsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.VmUtilizationMetrics) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Max CPU usage, percent.
    * 
* * int32 cpu_max_percent = 9; - * * @return The cpuMaxPercent. */ int getCpuMaxPercent(); /** - * - * *
    * Average CPU usage, percent.
    * 
* * int32 cpu_average_percent = 10; - * * @return The cpuAveragePercent. */ int getCpuAveragePercent(); /** - * - * *
    * Max memory usage, percent.
    * 
* * int32 memory_max_percent = 11; - * * @return The memoryMaxPercent. */ int getMemoryMaxPercent(); /** - * - * *
    * Average memory usage, percent.
    * 
* * int32 memory_average_percent = 12; - * * @return The memoryAveragePercent. */ int getMemoryAveragePercent(); /** - * - * *
    * Max disk IO rate, in kilobytes per second.
    * 
* * int64 disk_io_rate_max_kbps = 13; - * * @return The diskIoRateMaxKbps. */ long getDiskIoRateMaxKbps(); /** - * - * *
    * Average disk IO rate, in kilobytes per second.
    * 
* * int64 disk_io_rate_average_kbps = 14; - * * @return The diskIoRateAverageKbps. */ long getDiskIoRateAverageKbps(); /** - * - * *
    * Max network throughput (combined transmit-rates and receive-rates), in
    * kilobytes per second.
    * 
* * int64 network_throughput_max_kbps = 15; - * * @return The networkThroughputMaxKbps. */ long getNetworkThroughputMaxKbps(); /** - * - * *
    * Average network throughput (combined transmit-rates and receive-rates), in
    * kilobytes per second.
    * 
* * int64 network_throughput_average_kbps = 16; - * * @return The networkThroughputAverageKbps. */ long getNetworkThroughputAverageKbps(); diff --git a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/VmwareSourceDetails.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/VmwareSourceDetails.java similarity index 70% rename from proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/VmwareSourceDetails.java rename to owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/VmwareSourceDetails.java index 2cc15bc..3d748ce 100644 --- a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/VmwareSourceDetails.java +++ b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/VmwareSourceDetails.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; /** - * - * *
  * VmwareSourceDetails message describes a specific source details for the
  * vmware source type.
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.cloud.vmmigration.v1.VmwareSourceDetails}
  */
-public final class VmwareSourceDetails extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class VmwareSourceDetails extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.vmmigration.v1.VmwareSourceDetails)
     VmwareSourceDetailsOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use VmwareSourceDetails.newBuilder() to construct.
   private VmwareSourceDetails(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private VmwareSourceDetails() {
     username_ = "";
     password_ = "";
@@ -47,15 +29,16 @@ private VmwareSourceDetails() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new VmwareSourceDetails();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private VmwareSourceDetails(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -74,41 +57,37 @@ private VmwareSourceDetails(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              username_ = s;
-              break;
-            }
-          case 18:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            username_ = s;
+            break;
+          }
+          case 18: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              password_ = s;
-              break;
-            }
-          case 26:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            password_ = s;
+            break;
+          }
+          case 26: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              vcenterIp_ = s;
-              break;
-            }
-          case 34:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            vcenterIp_ = s;
+            break;
+          }
+          case 34: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              thumbprint_ = s;
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            thumbprint_ = s;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -116,39 +95,34 @@ private VmwareSourceDetails(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.vmmigration.v1.VmMigrationProto
-        .internal_static_google_cloud_vmmigration_v1_VmwareSourceDetails_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_VmwareSourceDetails_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.vmmigration.v1.VmMigrationProto
-        .internal_static_google_cloud_vmmigration_v1_VmwareSourceDetails_fieldAccessorTable
+    return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_VmwareSourceDetails_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.vmmigration.v1.VmwareSourceDetails.class,
-            com.google.cloud.vmmigration.v1.VmwareSourceDetails.Builder.class);
+            com.google.cloud.vmmigration.v1.VmwareSourceDetails.class, com.google.cloud.vmmigration.v1.VmwareSourceDetails.Builder.class);
   }
 
   public static final int USERNAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object username_;
   /**
-   *
-   *
    * 
    * The credentials username.
    * 
* * string username = 1; - * * @return The username. */ @java.lang.Override @@ -157,29 +131,29 @@ public java.lang.String getUsername() { 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(); username_ = s; return s; } } /** - * - * *
    * The credentials username.
    * 
* * string username = 1; - * * @return The bytes for username. */ @java.lang.Override - public com.google.protobuf.ByteString getUsernameBytes() { + public com.google.protobuf.ByteString + getUsernameBytes() { java.lang.Object ref = username_; 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); username_ = b; return b; } else { @@ -190,15 +164,12 @@ public com.google.protobuf.ByteString getUsernameBytes() { public static final int PASSWORD_FIELD_NUMBER = 2; private volatile java.lang.Object password_; /** - * - * *
-   * Input only. The credentials password. This is write only and can not be read in a GET
-   * operation.
+   * Input only. The credentials password. This is write only and can not be
+   * read in a GET operation.
    * 
* * string password = 2 [(.google.api.field_behavior) = INPUT_ONLY]; - * * @return The password. */ @java.lang.Override @@ -207,30 +178,30 @@ public java.lang.String getPassword() { 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(); password_ = s; return s; } } /** - * - * *
-   * Input only. The credentials password. This is write only and can not be read in a GET
-   * operation.
+   * Input only. The credentials password. This is write only and can not be
+   * read in a GET operation.
    * 
* * string password = 2 [(.google.api.field_behavior) = INPUT_ONLY]; - * * @return The bytes for password. */ @java.lang.Override - public com.google.protobuf.ByteString getPasswordBytes() { + public com.google.protobuf.ByteString + getPasswordBytes() { java.lang.Object ref = password_; 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); password_ = b; return b; } else { @@ -241,14 +212,11 @@ public com.google.protobuf.ByteString getPasswordBytes() { public static final int VCENTER_IP_FIELD_NUMBER = 3; private volatile java.lang.Object vcenterIp_; /** - * - * *
    * The ip address of the vcenter this Source represents.
    * 
* * string vcenter_ip = 3; - * * @return The vcenterIp. */ @java.lang.Override @@ -257,29 +225,29 @@ public java.lang.String getVcenterIp() { 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(); vcenterIp_ = s; return s; } } /** - * - * *
    * The ip address of the vcenter this Source represents.
    * 
* * string vcenter_ip = 3; - * * @return The bytes for vcenterIp. */ @java.lang.Override - public com.google.protobuf.ByteString getVcenterIpBytes() { + public com.google.protobuf.ByteString + getVcenterIpBytes() { java.lang.Object ref = vcenterIp_; 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); vcenterIp_ = b; return b; } else { @@ -290,14 +258,11 @@ public com.google.protobuf.ByteString getVcenterIpBytes() { public static final int THUMBPRINT_FIELD_NUMBER = 4; private volatile java.lang.Object thumbprint_; /** - * - * *
    * The thumbprint representing the certificate for the vcenter.
    * 
* * string thumbprint = 4; - * * @return The thumbprint. */ @java.lang.Override @@ -306,29 +271,29 @@ public java.lang.String getThumbprint() { 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(); thumbprint_ = s; return s; } } /** - * - * *
    * The thumbprint representing the certificate for the vcenter.
    * 
* * string thumbprint = 4; - * * @return The bytes for thumbprint. */ @java.lang.Override - public com.google.protobuf.ByteString getThumbprintBytes() { + public com.google.protobuf.ByteString + getThumbprintBytes() { java.lang.Object ref = thumbprint_; 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); thumbprint_ = b; return b; } else { @@ -337,7 +302,6 @@ public com.google.protobuf.ByteString getThumbprintBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -349,7 +313,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(username_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, username_); } @@ -391,18 +356,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.vmmigration.v1.VmwareSourceDetails)) { return super.equals(obj); } - com.google.cloud.vmmigration.v1.VmwareSourceDetails other = - (com.google.cloud.vmmigration.v1.VmwareSourceDetails) obj; - - if (!getUsername().equals(other.getUsername())) return false; - if (!getPassword().equals(other.getPassword())) return false; - if (!getVcenterIp().equals(other.getVcenterIp())) return false; - if (!getThumbprint().equals(other.getThumbprint())) return false; + com.google.cloud.vmmigration.v1.VmwareSourceDetails other = (com.google.cloud.vmmigration.v1.VmwareSourceDetails) obj; + + if (!getUsername() + .equals(other.getUsername())) return false; + if (!getPassword() + .equals(other.getPassword())) return false; + if (!getVcenterIp() + .equals(other.getVcenterIp())) return false; + if (!getThumbprint() + .equals(other.getThumbprint())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -428,103 +396,96 @@ public int hashCode() { } public static com.google.cloud.vmmigration.v1.VmwareSourceDetails 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.vmmigration.v1.VmwareSourceDetails 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.vmmigration.v1.VmwareSourceDetails parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.vmmigration.v1.VmwareSourceDetails 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.vmmigration.v1.VmwareSourceDetails parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.vmmigration.v1.VmwareSourceDetails 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.vmmigration.v1.VmwareSourceDetails parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.vmmigration.v1.VmwareSourceDetails parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.vmmigration.v1.VmwareSourceDetails 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.vmmigration.v1.VmwareSourceDetails parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.vmmigration.v1.VmwareSourceDetails parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.vmmigration.v1.VmwareSourceDetails 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.vmmigration.v1.VmwareSourceDetails 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.vmmigration.v1.VmwareSourceDetails 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.vmmigration.v1.VmwareSourceDetails 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; } /** - * - * *
    * VmwareSourceDetails message describes a specific source details for the
    * vmware source type.
@@ -532,23 +493,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.vmmigration.v1.VmwareSourceDetails}
    */
-  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.vmmigration.v1.VmwareSourceDetails)
       com.google.cloud.vmmigration.v1.VmwareSourceDetailsOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.vmmigration.v1.VmMigrationProto
-          .internal_static_google_cloud_vmmigration_v1_VmwareSourceDetails_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_VmwareSourceDetails_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.vmmigration.v1.VmMigrationProto
-          .internal_static_google_cloud_vmmigration_v1_VmwareSourceDetails_fieldAccessorTable
+      return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_VmwareSourceDetails_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.vmmigration.v1.VmwareSourceDetails.class,
-              com.google.cloud.vmmigration.v1.VmwareSourceDetails.Builder.class);
+              com.google.cloud.vmmigration.v1.VmwareSourceDetails.class, com.google.cloud.vmmigration.v1.VmwareSourceDetails.Builder.class);
     }
 
     // Construct using com.google.cloud.vmmigration.v1.VmwareSourceDetails.newBuilder()
@@ -556,15 +515,16 @@ 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) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -580,9 +540,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.vmmigration.v1.VmMigrationProto
-          .internal_static_google_cloud_vmmigration_v1_VmwareSourceDetails_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_VmwareSourceDetails_descriptor;
     }
 
     @java.lang.Override
@@ -601,8 +561,7 @@ public com.google.cloud.vmmigration.v1.VmwareSourceDetails build() {
 
     @java.lang.Override
     public com.google.cloud.vmmigration.v1.VmwareSourceDetails buildPartial() {
-      com.google.cloud.vmmigration.v1.VmwareSourceDetails result =
-          new com.google.cloud.vmmigration.v1.VmwareSourceDetails(this);
+      com.google.cloud.vmmigration.v1.VmwareSourceDetails result = new com.google.cloud.vmmigration.v1.VmwareSourceDetails(this);
       result.username_ = username_;
       result.password_ = password_;
       result.vcenterIp_ = vcenterIp_;
@@ -615,39 +574,38 @@ public com.google.cloud.vmmigration.v1.VmwareSourceDetails buildPartial() {
     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.vmmigration.v1.VmwareSourceDetails) {
-        return mergeFrom((com.google.cloud.vmmigration.v1.VmwareSourceDetails) other);
+        return mergeFrom((com.google.cloud.vmmigration.v1.VmwareSourceDetails)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -655,8 +613,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.vmmigration.v1.VmwareSourceDetails other) {
-      if (other == com.google.cloud.vmmigration.v1.VmwareSourceDetails.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.vmmigration.v1.VmwareSourceDetails.getDefaultInstance()) return this;
       if (!other.getUsername().isEmpty()) {
         username_ = other.username_;
         onChanged();
@@ -692,8 +649,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.cloud.vmmigration.v1.VmwareSourceDetails) e.getUnfinishedMessage();
+        parsedMessage = (com.google.cloud.vmmigration.v1.VmwareSourceDetails) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -705,20 +661,18 @@ public Builder mergeFrom(
 
     private java.lang.Object username_ = "";
     /**
-     *
-     *
      * 
      * The credentials username.
      * 
* * string username = 1; - * * @return The username. */ public java.lang.String getUsername() { java.lang.Object ref = username_; 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(); username_ = s; return s; @@ -727,21 +681,20 @@ public java.lang.String getUsername() { } } /** - * - * *
      * The credentials username.
      * 
* * string username = 1; - * * @return The bytes for username. */ - public com.google.protobuf.ByteString getUsernameBytes() { + public com.google.protobuf.ByteString + getUsernameBytes() { java.lang.Object ref = username_; 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); username_ = b; return b; } else { @@ -749,61 +702,54 @@ public com.google.protobuf.ByteString getUsernameBytes() { } } /** - * - * *
      * The credentials username.
      * 
* * string username = 1; - * * @param value The username to set. * @return This builder for chaining. */ - public Builder setUsername(java.lang.String value) { + public Builder setUsername( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + username_ = value; onChanged(); return this; } /** - * - * *
      * The credentials username.
      * 
* * string username = 1; - * * @return This builder for chaining. */ public Builder clearUsername() { - + username_ = getDefaultInstance().getUsername(); onChanged(); return this; } /** - * - * *
      * The credentials username.
      * 
* * string username = 1; - * * @param value The bytes for username to set. * @return This builder for chaining. */ - public Builder setUsernameBytes(com.google.protobuf.ByteString value) { + public Builder setUsernameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + username_ = value; onChanged(); return this; @@ -811,21 +757,19 @@ public Builder setUsernameBytes(com.google.protobuf.ByteString value) { private java.lang.Object password_ = ""; /** - * - * *
-     * Input only. The credentials password. This is write only and can not be read in a GET
-     * operation.
+     * Input only. The credentials password. This is write only and can not be
+     * read in a GET operation.
      * 
* * string password = 2 [(.google.api.field_behavior) = INPUT_ONLY]; - * * @return The password. */ public java.lang.String getPassword() { java.lang.Object ref = password_; 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(); password_ = s; return s; @@ -834,22 +778,21 @@ public java.lang.String getPassword() { } } /** - * - * *
-     * Input only. The credentials password. This is write only and can not be read in a GET
-     * operation.
+     * Input only. The credentials password. This is write only and can not be
+     * read in a GET operation.
      * 
* * string password = 2 [(.google.api.field_behavior) = INPUT_ONLY]; - * * @return The bytes for password. */ - public com.google.protobuf.ByteString getPasswordBytes() { + public com.google.protobuf.ByteString + getPasswordBytes() { java.lang.Object ref = password_; 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); password_ = b; return b; } else { @@ -857,64 +800,57 @@ public com.google.protobuf.ByteString getPasswordBytes() { } } /** - * - * *
-     * Input only. The credentials password. This is write only and can not be read in a GET
-     * operation.
+     * Input only. The credentials password. This is write only and can not be
+     * read in a GET operation.
      * 
* * string password = 2 [(.google.api.field_behavior) = INPUT_ONLY]; - * * @param value The password to set. * @return This builder for chaining. */ - public Builder setPassword(java.lang.String value) { + public Builder setPassword( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + password_ = value; onChanged(); return this; } /** - * - * *
-     * Input only. The credentials password. This is write only and can not be read in a GET
-     * operation.
+     * Input only. The credentials password. This is write only and can not be
+     * read in a GET operation.
      * 
* * string password = 2 [(.google.api.field_behavior) = INPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearPassword() { - + password_ = getDefaultInstance().getPassword(); onChanged(); return this; } /** - * - * *
-     * Input only. The credentials password. This is write only and can not be read in a GET
-     * operation.
+     * Input only. The credentials password. This is write only and can not be
+     * read in a GET operation.
      * 
* * string password = 2 [(.google.api.field_behavior) = INPUT_ONLY]; - * * @param value The bytes for password to set. * @return This builder for chaining. */ - public Builder setPasswordBytes(com.google.protobuf.ByteString value) { + public Builder setPasswordBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + password_ = value; onChanged(); return this; @@ -922,20 +858,18 @@ public Builder setPasswordBytes(com.google.protobuf.ByteString value) { private java.lang.Object vcenterIp_ = ""; /** - * - * *
      * The ip address of the vcenter this Source represents.
      * 
* * string vcenter_ip = 3; - * * @return The vcenterIp. */ public java.lang.String getVcenterIp() { java.lang.Object ref = vcenterIp_; 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(); vcenterIp_ = s; return s; @@ -944,21 +878,20 @@ public java.lang.String getVcenterIp() { } } /** - * - * *
      * The ip address of the vcenter this Source represents.
      * 
* * string vcenter_ip = 3; - * * @return The bytes for vcenterIp. */ - public com.google.protobuf.ByteString getVcenterIpBytes() { + public com.google.protobuf.ByteString + getVcenterIpBytes() { java.lang.Object ref = vcenterIp_; 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); vcenterIp_ = b; return b; } else { @@ -966,61 +899,54 @@ public com.google.protobuf.ByteString getVcenterIpBytes() { } } /** - * - * *
      * The ip address of the vcenter this Source represents.
      * 
* * string vcenter_ip = 3; - * * @param value The vcenterIp to set. * @return This builder for chaining. */ - public Builder setVcenterIp(java.lang.String value) { + public Builder setVcenterIp( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + vcenterIp_ = value; onChanged(); return this; } /** - * - * *
      * The ip address of the vcenter this Source represents.
      * 
* * string vcenter_ip = 3; - * * @return This builder for chaining. */ public Builder clearVcenterIp() { - + vcenterIp_ = getDefaultInstance().getVcenterIp(); onChanged(); return this; } /** - * - * *
      * The ip address of the vcenter this Source represents.
      * 
* * string vcenter_ip = 3; - * * @param value The bytes for vcenterIp to set. * @return This builder for chaining. */ - public Builder setVcenterIpBytes(com.google.protobuf.ByteString value) { + public Builder setVcenterIpBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + vcenterIp_ = value; onChanged(); return this; @@ -1028,20 +954,18 @@ public Builder setVcenterIpBytes(com.google.protobuf.ByteString value) { private java.lang.Object thumbprint_ = ""; /** - * - * *
      * The thumbprint representing the certificate for the vcenter.
      * 
* * string thumbprint = 4; - * * @return The thumbprint. */ public java.lang.String getThumbprint() { java.lang.Object ref = thumbprint_; 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(); thumbprint_ = s; return s; @@ -1050,21 +974,20 @@ public java.lang.String getThumbprint() { } } /** - * - * *
      * The thumbprint representing the certificate for the vcenter.
      * 
* * string thumbprint = 4; - * * @return The bytes for thumbprint. */ - public com.google.protobuf.ByteString getThumbprintBytes() { + public com.google.protobuf.ByteString + getThumbprintBytes() { java.lang.Object ref = thumbprint_; 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); thumbprint_ = b; return b; } else { @@ -1072,68 +995,61 @@ public com.google.protobuf.ByteString getThumbprintBytes() { } } /** - * - * *
      * The thumbprint representing the certificate for the vcenter.
      * 
* * string thumbprint = 4; - * * @param value The thumbprint to set. * @return This builder for chaining. */ - public Builder setThumbprint(java.lang.String value) { + public Builder setThumbprint( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + thumbprint_ = value; onChanged(); return this; } /** - * - * *
      * The thumbprint representing the certificate for the vcenter.
      * 
* * string thumbprint = 4; - * * @return This builder for chaining. */ public Builder clearThumbprint() { - + thumbprint_ = getDefaultInstance().getThumbprint(); onChanged(); return this; } /** - * - * *
      * The thumbprint representing the certificate for the vcenter.
      * 
* * string thumbprint = 4; - * * @param value The bytes for thumbprint to set. * @return This builder for chaining. */ - public Builder setThumbprintBytes(com.google.protobuf.ByteString value) { + public Builder setThumbprintBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + thumbprint_ = 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); } @@ -1143,12 +1059,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.vmmigration.v1.VmwareSourceDetails) } // @@protoc_insertion_point(class_scope:google.cloud.vmmigration.v1.VmwareSourceDetails) private static final com.google.cloud.vmmigration.v1.VmwareSourceDetails DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.vmmigration.v1.VmwareSourceDetails(); } @@ -1157,16 +1073,16 @@ public static com.google.cloud.vmmigration.v1.VmwareSourceDetails getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public VmwareSourceDetails parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new VmwareSourceDetails(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public VmwareSourceDetails parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new VmwareSourceDetails(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1181,4 +1097,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.vmmigration.v1.VmwareSourceDetails getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/VmwareSourceDetailsOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/VmwareSourceDetailsOrBuilder.java similarity index 63% rename from proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/VmwareSourceDetailsOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/VmwareSourceDetailsOrBuilder.java index 76fc6eb..c85f59e 100644 --- a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/VmwareSourceDetailsOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/VmwareSourceDetailsOrBuilder.java @@ -1,127 +1,91 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; -public interface VmwareSourceDetailsOrBuilder - extends +public interface VmwareSourceDetailsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.VmwareSourceDetails) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The credentials username.
    * 
* * string username = 1; - * * @return The username. */ java.lang.String getUsername(); /** - * - * *
    * The credentials username.
    * 
* * string username = 1; - * * @return The bytes for username. */ - com.google.protobuf.ByteString getUsernameBytes(); + com.google.protobuf.ByteString + getUsernameBytes(); /** - * - * *
-   * Input only. The credentials password. This is write only and can not be read in a GET
-   * operation.
+   * Input only. The credentials password. This is write only and can not be
+   * read in a GET operation.
    * 
* * string password = 2 [(.google.api.field_behavior) = INPUT_ONLY]; - * * @return The password. */ java.lang.String getPassword(); /** - * - * *
-   * Input only. The credentials password. This is write only and can not be read in a GET
-   * operation.
+   * Input only. The credentials password. This is write only and can not be
+   * read in a GET operation.
    * 
* * string password = 2 [(.google.api.field_behavior) = INPUT_ONLY]; - * * @return The bytes for password. */ - com.google.protobuf.ByteString getPasswordBytes(); + com.google.protobuf.ByteString + getPasswordBytes(); /** - * - * *
    * The ip address of the vcenter this Source represents.
    * 
* * string vcenter_ip = 3; - * * @return The vcenterIp. */ java.lang.String getVcenterIp(); /** - * - * *
    * The ip address of the vcenter this Source represents.
    * 
* * string vcenter_ip = 3; - * * @return The bytes for vcenterIp. */ - com.google.protobuf.ByteString getVcenterIpBytes(); + com.google.protobuf.ByteString + getVcenterIpBytes(); /** - * - * *
    * The thumbprint representing the certificate for the vcenter.
    * 
* * string thumbprint = 4; - * * @return The thumbprint. */ java.lang.String getThumbprint(); /** - * - * *
    * The thumbprint representing the certificate for the vcenter.
    * 
* * string thumbprint = 4; - * * @return The bytes for thumbprint. */ - com.google.protobuf.ByteString getThumbprintBytes(); + com.google.protobuf.ByteString + getThumbprintBytes(); } diff --git a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/VmwareVmDetails.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/VmwareVmDetails.java similarity index 71% rename from proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/VmwareVmDetails.java rename to owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/VmwareVmDetails.java index 9ca188b..68e937f 100644 --- a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/VmwareVmDetails.java +++ b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/VmwareVmDetails.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; /** - * - * *
  * VmwareVmDetails describes a VM in vCenter.
  * 
* * Protobuf type {@code google.cloud.vmmigration.v1.VmwareVmDetails} */ -public final class VmwareVmDetails extends com.google.protobuf.GeneratedMessageV3 - implements +public final class VmwareVmDetails extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.vmmigration.v1.VmwareVmDetails) VmwareVmDetailsOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use VmwareVmDetails.newBuilder() to construct. private VmwareVmDetails(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private VmwareVmDetails() { vmId_ = ""; datacenterId_ = ""; @@ -50,15 +32,16 @@ private VmwareVmDetails() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new VmwareVmDetails(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private VmwareVmDetails( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -77,89 +60,81 @@ private VmwareVmDetails( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - vmId_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + vmId_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - datacenterId_ = s; - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + datacenterId_ = s; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - datacenterDescription_ = s; - break; - } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); + datacenterDescription_ = s; + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); - uuid_ = s; - break; - } - case 42: - { - java.lang.String s = input.readStringRequireUtf8(); + uuid_ = s; + break; + } + case 42: { + java.lang.String s = input.readStringRequireUtf8(); - displayName_ = s; - break; - } - case 48: - { - int rawValue = input.readEnum(); + displayName_ = s; + break; + } + case 48: { + int rawValue = input.readEnum(); - powerState_ = rawValue; - break; - } - case 56: - { - cpuCount_ = input.readInt32(); - break; - } - case 64: - { - memoryMb_ = input.readInt32(); - break; - } - case 72: - { - diskCount_ = input.readInt32(); - break; - } - case 90: - { - java.lang.String s = input.readStringRequireUtf8(); + powerState_ = rawValue; + break; + } + case 56: { - guestDescription_ = s; - break; - } - case 96: - { - committedStorageMb_ = input.readInt64(); - break; - } - case 104: - { - int rawValue = input.readEnum(); + cpuCount_ = input.readInt32(); + break; + } + case 64: { - bootOption_ = rawValue; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + memoryMb_ = input.readInt32(); + break; + } + case 72: { + + diskCount_ = input.readInt32(); + break; + } + case 90: { + java.lang.String s = input.readStringRequireUtf8(); + + guestDescription_ = s; + break; + } + case 96: { + + committedStorageMb_ = input.readInt64(); + break; + } + case 104: { + int rawValue = input.readEnum(); + + bootOption_ = rawValue; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -167,41 +142,36 @@ private VmwareVmDetails( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_VmwareVmDetails_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_VmwareVmDetails_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_VmwareVmDetails_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_VmwareVmDetails_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.VmwareVmDetails.class, - com.google.cloud.vmmigration.v1.VmwareVmDetails.Builder.class); + com.google.cloud.vmmigration.v1.VmwareVmDetails.class, com.google.cloud.vmmigration.v1.VmwareVmDetails.Builder.class); } /** - * - * *
    * Possible values for the power state of the VM.
    * 
* * Protobuf enum {@code google.cloud.vmmigration.v1.VmwareVmDetails.PowerState} */ - public enum PowerState implements com.google.protobuf.ProtocolMessageEnum { + public enum PowerState + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Power state is not specified.
      * 
@@ -210,8 +180,6 @@ public enum PowerState implements com.google.protobuf.ProtocolMessageEnum { */ POWER_STATE_UNSPECIFIED(0), /** - * - * *
      * The VM is turned ON.
      * 
@@ -220,8 +188,6 @@ public enum PowerState implements com.google.protobuf.ProtocolMessageEnum { */ ON(1), /** - * - * *
      * The VM is turned OFF.
      * 
@@ -230,8 +196,6 @@ public enum PowerState implements com.google.protobuf.ProtocolMessageEnum { */ OFF(2), /** - * - * *
      * The VM is suspended. This is similar to hibernation or sleep mode.
      * 
@@ -243,8 +207,6 @@ public enum PowerState implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Power state is not specified.
      * 
@@ -253,8 +215,6 @@ public enum PowerState implements com.google.protobuf.ProtocolMessageEnum { */ public static final int POWER_STATE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * The VM is turned ON.
      * 
@@ -263,8 +223,6 @@ public enum PowerState implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ON_VALUE = 1; /** - * - * *
      * The VM is turned OFF.
      * 
@@ -273,8 +231,6 @@ public enum PowerState implements com.google.protobuf.ProtocolMessageEnum { */ public static final int OFF_VALUE = 2; /** - * - * *
      * The VM is suspended. This is similar to hibernation or sleep mode.
      * 
@@ -283,6 +239,7 @@ public enum PowerState implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SUSPENDED_VALUE = 3; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -307,51 +264,50 @@ public static PowerState valueOf(int value) { */ public static PowerState forNumber(int value) { switch (value) { - case 0: - return POWER_STATE_UNSPECIFIED; - case 1: - return ON; - case 2: - return OFF; - case 3: - return SUSPENDED; - default: - return null; + case 0: return POWER_STATE_UNSPECIFIED; + case 1: return ON; + case 2: return OFF; + case 3: return SUSPENDED; + 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< + PowerState> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public PowerState findValueByNumber(int number) { + return PowerState.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public PowerState findValueByNumber(int number) { - return PowerState.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() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.cloud.vmmigration.v1.VmwareVmDetails.getDescriptor().getEnumTypes().get(0); } private static final PowerState[] VALUES = values(); - public static PowerState valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static PowerState 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; @@ -369,18 +325,15 @@ private PowerState(int value) { } /** - * - * *
    * Possible values for vm boot option.
    * 
* * Protobuf enum {@code google.cloud.vmmigration.v1.VmwareVmDetails.BootOption} */ - public enum BootOption implements com.google.protobuf.ProtocolMessageEnum { + public enum BootOption + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * The boot option is unknown.
      * 
@@ -389,8 +342,6 @@ public enum BootOption implements com.google.protobuf.ProtocolMessageEnum { */ BOOT_OPTION_UNSPECIFIED(0), /** - * - * *
      * The boot option is EFI.
      * 
@@ -399,8 +350,6 @@ public enum BootOption implements com.google.protobuf.ProtocolMessageEnum { */ EFI(1), /** - * - * *
      * The boot option is BIOS.
      * 
@@ -412,8 +361,6 @@ public enum BootOption implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * The boot option is unknown.
      * 
@@ -422,8 +369,6 @@ public enum BootOption implements com.google.protobuf.ProtocolMessageEnum { */ public static final int BOOT_OPTION_UNSPECIFIED_VALUE = 0; /** - * - * *
      * The boot option is EFI.
      * 
@@ -432,8 +377,6 @@ public enum BootOption implements com.google.protobuf.ProtocolMessageEnum { */ public static final int EFI_VALUE = 1; /** - * - * *
      * The boot option is BIOS.
      * 
@@ -442,6 +385,7 @@ public enum BootOption implements com.google.protobuf.ProtocolMessageEnum { */ public static final int BIOS_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -466,49 +410,49 @@ public static BootOption valueOf(int value) { */ public static BootOption forNumber(int value) { switch (value) { - case 0: - return BOOT_OPTION_UNSPECIFIED; - case 1: - return EFI; - case 2: - return BIOS; - default: - return null; + case 0: return BOOT_OPTION_UNSPECIFIED; + case 1: return EFI; + case 2: return BIOS; + 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< + BootOption> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public BootOption findValueByNumber(int number) { + return BootOption.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public BootOption findValueByNumber(int number) { - return BootOption.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() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.cloud.vmmigration.v1.VmwareVmDetails.getDescriptor().getEnumTypes().get(1); } private static final BootOption[] VALUES = values(); - public static BootOption valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static BootOption 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; @@ -528,15 +472,12 @@ private BootOption(int value) { public static final int VM_ID_FIELD_NUMBER = 1; private volatile java.lang.Object vmId_; /** - * - * *
    * The VM's id in the source (note that this is not the MigratingVm's id).
    * This is the moref id of the VM.
    * 
* * string vm_id = 1; - * * @return The vmId. */ @java.lang.Override @@ -545,30 +486,30 @@ public java.lang.String getVmId() { 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(); vmId_ = s; return s; } } /** - * - * *
    * The VM's id in the source (note that this is not the MigratingVm's id).
    * This is the moref id of the VM.
    * 
* * string vm_id = 1; - * * @return The bytes for vmId. */ @java.lang.Override - public com.google.protobuf.ByteString getVmIdBytes() { + public com.google.protobuf.ByteString + getVmIdBytes() { java.lang.Object ref = vmId_; 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); vmId_ = b; return b; } else { @@ -579,14 +520,11 @@ public com.google.protobuf.ByteString getVmIdBytes() { public static final int DATACENTER_ID_FIELD_NUMBER = 2; private volatile java.lang.Object datacenterId_; /** - * - * *
    * The id of the vCenter's datacenter this VM is contained in.
    * 
* * string datacenter_id = 2; - * * @return The datacenterId. */ @java.lang.Override @@ -595,29 +533,29 @@ public java.lang.String getDatacenterId() { 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(); datacenterId_ = s; return s; } } /** - * - * *
    * The id of the vCenter's datacenter this VM is contained in.
    * 
* * string datacenter_id = 2; - * * @return The bytes for datacenterId. */ @java.lang.Override - public com.google.protobuf.ByteString getDatacenterIdBytes() { + public com.google.protobuf.ByteString + getDatacenterIdBytes() { java.lang.Object ref = datacenterId_; 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); datacenterId_ = b; return b; } else { @@ -628,14 +566,11 @@ public com.google.protobuf.ByteString getDatacenterIdBytes() { public static final int DATACENTER_DESCRIPTION_FIELD_NUMBER = 3; private volatile java.lang.Object datacenterDescription_; /** - * - * *
    * The descriptive name of the vCenter's datacenter this VM is contained in.
    * 
* * string datacenter_description = 3; - * * @return The datacenterDescription. */ @java.lang.Override @@ -644,29 +579,29 @@ public java.lang.String getDatacenterDescription() { 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(); datacenterDescription_ = s; return s; } } /** - * - * *
    * The descriptive name of the vCenter's datacenter this VM is contained in.
    * 
* * string datacenter_description = 3; - * * @return The bytes for datacenterDescription. */ @java.lang.Override - public com.google.protobuf.ByteString getDatacenterDescriptionBytes() { + public com.google.protobuf.ByteString + getDatacenterDescriptionBytes() { java.lang.Object ref = datacenterDescription_; 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); datacenterDescription_ = b; return b; } else { @@ -677,14 +612,11 @@ public com.google.protobuf.ByteString getDatacenterDescriptionBytes() { public static final int UUID_FIELD_NUMBER = 4; private volatile java.lang.Object uuid_; /** - * - * *
    * The unique identifier of the VM in vCenter.
    * 
* * string uuid = 4; - * * @return The uuid. */ @java.lang.Override @@ -693,29 +625,29 @@ public java.lang.String getUuid() { 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(); uuid_ = s; return s; } } /** - * - * *
    * The unique identifier of the VM in vCenter.
    * 
* * string uuid = 4; - * * @return The bytes for uuid. */ @java.lang.Override - public com.google.protobuf.ByteString getUuidBytes() { + public com.google.protobuf.ByteString + getUuidBytes() { java.lang.Object ref = uuid_; 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); uuid_ = b; return b; } else { @@ -726,14 +658,11 @@ public com.google.protobuf.ByteString getUuidBytes() { public static final int DISPLAY_NAME_FIELD_NUMBER = 5; private volatile java.lang.Object displayName_; /** - * - * *
    * The display name of the VM. Note that this is not necessarily unique.
    * 
* * string display_name = 5; - * * @return The displayName. */ @java.lang.Override @@ -742,29 +671,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; } } /** - * - * *
    * The display name of the VM. Note that this is not necessarily unique.
    * 
* * string display_name = 5; - * * @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 { @@ -775,52 +704,38 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { public static final int POWER_STATE_FIELD_NUMBER = 6; private int powerState_; /** - * - * *
    * The power state of the VM at the moment list was taken.
    * 
* * .google.cloud.vmmigration.v1.VmwareVmDetails.PowerState power_state = 6; - * * @return The enum numeric value on the wire for powerState. */ - @java.lang.Override - public int getPowerStateValue() { + @java.lang.Override public int getPowerStateValue() { return powerState_; } /** - * - * *
    * The power state of the VM at the moment list was taken.
    * 
* * .google.cloud.vmmigration.v1.VmwareVmDetails.PowerState power_state = 6; - * * @return The powerState. */ - @java.lang.Override - public com.google.cloud.vmmigration.v1.VmwareVmDetails.PowerState getPowerState() { + @java.lang.Override public com.google.cloud.vmmigration.v1.VmwareVmDetails.PowerState getPowerState() { @SuppressWarnings("deprecation") - com.google.cloud.vmmigration.v1.VmwareVmDetails.PowerState result = - com.google.cloud.vmmigration.v1.VmwareVmDetails.PowerState.valueOf(powerState_); - return result == null - ? com.google.cloud.vmmigration.v1.VmwareVmDetails.PowerState.UNRECOGNIZED - : result; + com.google.cloud.vmmigration.v1.VmwareVmDetails.PowerState result = com.google.cloud.vmmigration.v1.VmwareVmDetails.PowerState.valueOf(powerState_); + return result == null ? com.google.cloud.vmmigration.v1.VmwareVmDetails.PowerState.UNRECOGNIZED : result; } public static final int CPU_COUNT_FIELD_NUMBER = 7; private int cpuCount_; /** - * - * *
    * The number of cpus in the VM.
    * 
* * int32 cpu_count = 7; - * * @return The cpuCount. */ @java.lang.Override @@ -831,14 +746,11 @@ public int getCpuCount() { public static final int MEMORY_MB_FIELD_NUMBER = 8; private int memoryMb_; /** - * - * *
    * The size of the memory of the VM in MB.
    * 
* * int32 memory_mb = 8; - * * @return The memoryMb. */ @java.lang.Override @@ -849,14 +761,11 @@ public int getMemoryMb() { public static final int DISK_COUNT_FIELD_NUMBER = 9; private int diskCount_; /** - * - * *
    * The number of disks the VM has.
    * 
* * int32 disk_count = 9; - * * @return The diskCount. */ @java.lang.Override @@ -867,14 +776,11 @@ public int getDiskCount() { public static final int COMMITTED_STORAGE_MB_FIELD_NUMBER = 12; private long committedStorageMb_; /** - * - * *
    * The total size of the storage allocated to the VM in MB.
    * 
* * int64 committed_storage_mb = 12; - * * @return The committedStorageMb. */ @java.lang.Override @@ -885,16 +791,13 @@ public long getCommittedStorageMb() { public static final int GUEST_DESCRIPTION_FIELD_NUMBER = 11; private volatile java.lang.Object guestDescription_; /** - * - * *
    * The VM's OS. See for example
-   * https://pubs.vmware.com/vi-sdk/visdk250/ReferenceGuide/vim.vm.GuestOsDescriptor.GuestOsIdentifier.html
+   * https://vdc-repo.vmware.com/vmwb-repository/dcr-public/da47f910-60ac-438b-8b9b-6122f4d14524/16b7274a-bf8b-4b4c-a05e-746f2aa93c8c/doc/vim.vm.GuestOsDescriptor.GuestOsIdentifier.html
    * for types of strings this might hold.
    * 
* * string guest_description = 11; - * * @return The guestDescription. */ @java.lang.Override @@ -903,31 +806,31 @@ public java.lang.String getGuestDescription() { 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(); guestDescription_ = s; return s; } } /** - * - * *
    * The VM's OS. See for example
-   * https://pubs.vmware.com/vi-sdk/visdk250/ReferenceGuide/vim.vm.GuestOsDescriptor.GuestOsIdentifier.html
+   * https://vdc-repo.vmware.com/vmwb-repository/dcr-public/da47f910-60ac-438b-8b9b-6122f4d14524/16b7274a-bf8b-4b4c-a05e-746f2aa93c8c/doc/vim.vm.GuestOsDescriptor.GuestOsIdentifier.html
    * for types of strings this might hold.
    * 
* * string guest_description = 11; - * * @return The bytes for guestDescription. */ @java.lang.Override - public com.google.protobuf.ByteString getGuestDescriptionBytes() { + public com.google.protobuf.ByteString + getGuestDescriptionBytes() { java.lang.Object ref = guestDescription_; 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); guestDescription_ = b; return b; } else { @@ -938,47 +841,31 @@ public com.google.protobuf.ByteString getGuestDescriptionBytes() { public static final int BOOT_OPTION_FIELD_NUMBER = 13; private int bootOption_; /** - * - * *
    * Output only. The VM Boot Option.
    * 
* - * - * .google.cloud.vmmigration.v1.VmwareVmDetails.BootOption boot_option = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.vmmigration.v1.VmwareVmDetails.BootOption boot_option = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for bootOption. */ - @java.lang.Override - public int getBootOptionValue() { + @java.lang.Override public int getBootOptionValue() { return bootOption_; } /** - * - * *
    * Output only. The VM Boot Option.
    * 
* - * - * .google.cloud.vmmigration.v1.VmwareVmDetails.BootOption boot_option = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.vmmigration.v1.VmwareVmDetails.BootOption boot_option = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The bootOption. */ - @java.lang.Override - public com.google.cloud.vmmigration.v1.VmwareVmDetails.BootOption getBootOption() { + @java.lang.Override public com.google.cloud.vmmigration.v1.VmwareVmDetails.BootOption getBootOption() { @SuppressWarnings("deprecation") - com.google.cloud.vmmigration.v1.VmwareVmDetails.BootOption result = - com.google.cloud.vmmigration.v1.VmwareVmDetails.BootOption.valueOf(bootOption_); - return result == null - ? com.google.cloud.vmmigration.v1.VmwareVmDetails.BootOption.UNRECOGNIZED - : result; + com.google.cloud.vmmigration.v1.VmwareVmDetails.BootOption result = com.google.cloud.vmmigration.v1.VmwareVmDetails.BootOption.valueOf(bootOption_); + return result == null ? com.google.cloud.vmmigration.v1.VmwareVmDetails.BootOption.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -990,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(vmId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, vmId_); } @@ -1006,9 +894,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, displayName_); } - if (powerState_ - != com.google.cloud.vmmigration.v1.VmwareVmDetails.PowerState.POWER_STATE_UNSPECIFIED - .getNumber()) { + if (powerState_ != com.google.cloud.vmmigration.v1.VmwareVmDetails.PowerState.POWER_STATE_UNSPECIFIED.getNumber()) { output.writeEnum(6, powerState_); } if (cpuCount_ != 0) { @@ -1026,9 +912,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (committedStorageMb_ != 0L) { output.writeInt64(12, committedStorageMb_); } - if (bootOption_ - != com.google.cloud.vmmigration.v1.VmwareVmDetails.BootOption.BOOT_OPTION_UNSPECIFIED - .getNumber()) { + if (bootOption_ != com.google.cloud.vmmigration.v1.VmwareVmDetails.BootOption.BOOT_OPTION_UNSPECIFIED.getNumber()) { output.writeEnum(13, bootOption_); } unknownFields.writeTo(output); @@ -1055,30 +939,32 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, displayName_); } - if (powerState_ - != com.google.cloud.vmmigration.v1.VmwareVmDetails.PowerState.POWER_STATE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(6, powerState_); + if (powerState_ != com.google.cloud.vmmigration.v1.VmwareVmDetails.PowerState.POWER_STATE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(6, powerState_); } if (cpuCount_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(7, cpuCount_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(7, cpuCount_); } if (memoryMb_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(8, memoryMb_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(8, memoryMb_); } if (diskCount_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(9, diskCount_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(9, diskCount_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(guestDescription_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(11, guestDescription_); } if (committedStorageMb_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(12, committedStorageMb_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(12, committedStorageMb_); } - if (bootOption_ - != com.google.cloud.vmmigration.v1.VmwareVmDetails.BootOption.BOOT_OPTION_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(13, bootOption_); + if (bootOption_ != com.google.cloud.vmmigration.v1.VmwareVmDetails.BootOption.BOOT_OPTION_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(13, bootOption_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1088,25 +974,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.vmmigration.v1.VmwareVmDetails)) { return super.equals(obj); } - com.google.cloud.vmmigration.v1.VmwareVmDetails other = - (com.google.cloud.vmmigration.v1.VmwareVmDetails) obj; - - if (!getVmId().equals(other.getVmId())) return false; - if (!getDatacenterId().equals(other.getDatacenterId())) return false; - if (!getDatacenterDescription().equals(other.getDatacenterDescription())) return false; - if (!getUuid().equals(other.getUuid())) return false; - if (!getDisplayName().equals(other.getDisplayName())) return false; + com.google.cloud.vmmigration.v1.VmwareVmDetails other = (com.google.cloud.vmmigration.v1.VmwareVmDetails) obj; + + if (!getVmId() + .equals(other.getVmId())) return false; + if (!getDatacenterId() + .equals(other.getDatacenterId())) return false; + if (!getDatacenterDescription() + .equals(other.getDatacenterDescription())) return false; + if (!getUuid() + .equals(other.getUuid())) return false; + if (!getDisplayName() + .equals(other.getDisplayName())) return false; if (powerState_ != other.powerState_) return false; - if (getCpuCount() != other.getCpuCount()) return false; - if (getMemoryMb() != other.getMemoryMb()) return false; - if (getDiskCount() != other.getDiskCount()) return false; - if (getCommittedStorageMb() != other.getCommittedStorageMb()) return false; - if (!getGuestDescription().equals(other.getGuestDescription())) return false; + if (getCpuCount() + != other.getCpuCount()) return false; + if (getMemoryMb() + != other.getMemoryMb()) return false; + if (getDiskCount() + != other.getDiskCount()) return false; + if (getCommittedStorageMb() + != other.getCommittedStorageMb()) return false; + if (!getGuestDescription() + .equals(other.getGuestDescription())) return false; if (bootOption_ != other.bootOption_) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -1138,7 +1033,8 @@ public int hashCode() { hash = (37 * hash) + DISK_COUNT_FIELD_NUMBER; hash = (53 * hash) + getDiskCount(); hash = (37 * hash) + COMMITTED_STORAGE_MB_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getCommittedStorageMb()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getCommittedStorageMb()); hash = (37 * hash) + GUEST_DESCRIPTION_FIELD_NUMBER; hash = (53 * hash) + getGuestDescription().hashCode(); hash = (37 * hash) + BOOT_OPTION_FIELD_NUMBER; @@ -1148,127 +1044,118 @@ public int hashCode() { return hash; } - public static com.google.cloud.vmmigration.v1.VmwareVmDetails parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.vmmigration.v1.VmwareVmDetails parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.vmmigration.v1.VmwareVmDetails 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.vmmigration.v1.VmwareVmDetails parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.vmmigration.v1.VmwareVmDetails 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.vmmigration.v1.VmwareVmDetails parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.vmmigration.v1.VmwareVmDetails 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.vmmigration.v1.VmwareVmDetails parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.vmmigration.v1.VmwareVmDetails 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.vmmigration.v1.VmwareVmDetails parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.vmmigration.v1.VmwareVmDetails parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.vmmigration.v1.VmwareVmDetails 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.vmmigration.v1.VmwareVmDetails 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.vmmigration.v1.VmwareVmDetails 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.vmmigration.v1.VmwareVmDetails 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; } /** - * - * *
    * VmwareVmDetails describes a VM in vCenter.
    * 
* * Protobuf type {@code google.cloud.vmmigration.v1.VmwareVmDetails} */ - 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.vmmigration.v1.VmwareVmDetails) com.google.cloud.vmmigration.v1.VmwareVmDetailsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_VmwareVmDetails_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_VmwareVmDetails_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_VmwareVmDetails_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_VmwareVmDetails_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.VmwareVmDetails.class, - com.google.cloud.vmmigration.v1.VmwareVmDetails.Builder.class); + com.google.cloud.vmmigration.v1.VmwareVmDetails.class, com.google.cloud.vmmigration.v1.VmwareVmDetails.Builder.class); } // Construct using com.google.cloud.vmmigration.v1.VmwareVmDetails.newBuilder() @@ -1276,15 +1163,16 @@ 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) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -1316,9 +1204,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_VmwareVmDetails_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_VmwareVmDetails_descriptor; } @java.lang.Override @@ -1337,8 +1225,7 @@ public com.google.cloud.vmmigration.v1.VmwareVmDetails build() { @java.lang.Override public com.google.cloud.vmmigration.v1.VmwareVmDetails buildPartial() { - com.google.cloud.vmmigration.v1.VmwareVmDetails result = - new com.google.cloud.vmmigration.v1.VmwareVmDetails(this); + com.google.cloud.vmmigration.v1.VmwareVmDetails result = new com.google.cloud.vmmigration.v1.VmwareVmDetails(this); result.vmId_ = vmId_; result.datacenterId_ = datacenterId_; result.datacenterDescription_ = datacenterDescription_; @@ -1359,39 +1246,38 @@ public com.google.cloud.vmmigration.v1.VmwareVmDetails buildPartial() { 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.vmmigration.v1.VmwareVmDetails) { - return mergeFrom((com.google.cloud.vmmigration.v1.VmwareVmDetails) other); + return mergeFrom((com.google.cloud.vmmigration.v1.VmwareVmDetails)other); } else { super.mergeFrom(other); return this; @@ -1399,8 +1285,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.vmmigration.v1.VmwareVmDetails other) { - if (other == com.google.cloud.vmmigration.v1.VmwareVmDetails.getDefaultInstance()) - return this; + if (other == com.google.cloud.vmmigration.v1.VmwareVmDetails.getDefaultInstance()) return this; if (!other.getVmId().isEmpty()) { vmId_ = other.vmId_; onChanged(); @@ -1474,21 +1359,19 @@ public Builder mergeFrom( private java.lang.Object vmId_ = ""; /** - * - * *
      * The VM's id in the source (note that this is not the MigratingVm's id).
      * This is the moref id of the VM.
      * 
* * string vm_id = 1; - * * @return The vmId. */ public java.lang.String getVmId() { java.lang.Object ref = vmId_; 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(); vmId_ = s; return s; @@ -1497,22 +1380,21 @@ public java.lang.String getVmId() { } } /** - * - * *
      * The VM's id in the source (note that this is not the MigratingVm's id).
      * This is the moref id of the VM.
      * 
* * string vm_id = 1; - * * @return The bytes for vmId. */ - public com.google.protobuf.ByteString getVmIdBytes() { + public com.google.protobuf.ByteString + getVmIdBytes() { java.lang.Object ref = vmId_; 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); vmId_ = b; return b; } else { @@ -1520,64 +1402,57 @@ public com.google.protobuf.ByteString getVmIdBytes() { } } /** - * - * *
      * The VM's id in the source (note that this is not the MigratingVm's id).
      * This is the moref id of the VM.
      * 
* * string vm_id = 1; - * * @param value The vmId to set. * @return This builder for chaining. */ - public Builder setVmId(java.lang.String value) { + public Builder setVmId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + vmId_ = value; onChanged(); return this; } /** - * - * *
      * The VM's id in the source (note that this is not the MigratingVm's id).
      * This is the moref id of the VM.
      * 
* * string vm_id = 1; - * * @return This builder for chaining. */ public Builder clearVmId() { - + vmId_ = getDefaultInstance().getVmId(); onChanged(); return this; } /** - * - * *
      * The VM's id in the source (note that this is not the MigratingVm's id).
      * This is the moref id of the VM.
      * 
* * string vm_id = 1; - * * @param value The bytes for vmId to set. * @return This builder for chaining. */ - public Builder setVmIdBytes(com.google.protobuf.ByteString value) { + public Builder setVmIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + vmId_ = value; onChanged(); return this; @@ -1585,20 +1460,18 @@ public Builder setVmIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object datacenterId_ = ""; /** - * - * *
      * The id of the vCenter's datacenter this VM is contained in.
      * 
* * string datacenter_id = 2; - * * @return The datacenterId. */ public java.lang.String getDatacenterId() { java.lang.Object ref = datacenterId_; 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(); datacenterId_ = s; return s; @@ -1607,21 +1480,20 @@ public java.lang.String getDatacenterId() { } } /** - * - * *
      * The id of the vCenter's datacenter this VM is contained in.
      * 
* * string datacenter_id = 2; - * * @return The bytes for datacenterId. */ - public com.google.protobuf.ByteString getDatacenterIdBytes() { + public com.google.protobuf.ByteString + getDatacenterIdBytes() { java.lang.Object ref = datacenterId_; 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); datacenterId_ = b; return b; } else { @@ -1629,61 +1501,54 @@ public com.google.protobuf.ByteString getDatacenterIdBytes() { } } /** - * - * *
      * The id of the vCenter's datacenter this VM is contained in.
      * 
* * string datacenter_id = 2; - * * @param value The datacenterId to set. * @return This builder for chaining. */ - public Builder setDatacenterId(java.lang.String value) { + public Builder setDatacenterId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + datacenterId_ = value; onChanged(); return this; } /** - * - * *
      * The id of the vCenter's datacenter this VM is contained in.
      * 
* * string datacenter_id = 2; - * * @return This builder for chaining. */ public Builder clearDatacenterId() { - + datacenterId_ = getDefaultInstance().getDatacenterId(); onChanged(); return this; } /** - * - * *
      * The id of the vCenter's datacenter this VM is contained in.
      * 
* * string datacenter_id = 2; - * * @param value The bytes for datacenterId to set. * @return This builder for chaining. */ - public Builder setDatacenterIdBytes(com.google.protobuf.ByteString value) { + public Builder setDatacenterIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + datacenterId_ = value; onChanged(); return this; @@ -1691,20 +1556,18 @@ public Builder setDatacenterIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object datacenterDescription_ = ""; /** - * - * *
      * The descriptive name of the vCenter's datacenter this VM is contained in.
      * 
* * string datacenter_description = 3; - * * @return The datacenterDescription. */ public java.lang.String getDatacenterDescription() { java.lang.Object ref = datacenterDescription_; 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(); datacenterDescription_ = s; return s; @@ -1713,21 +1576,20 @@ public java.lang.String getDatacenterDescription() { } } /** - * - * *
      * The descriptive name of the vCenter's datacenter this VM is contained in.
      * 
* * string datacenter_description = 3; - * * @return The bytes for datacenterDescription. */ - public com.google.protobuf.ByteString getDatacenterDescriptionBytes() { + public com.google.protobuf.ByteString + getDatacenterDescriptionBytes() { java.lang.Object ref = datacenterDescription_; 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); datacenterDescription_ = b; return b; } else { @@ -1735,61 +1597,54 @@ public com.google.protobuf.ByteString getDatacenterDescriptionBytes() { } } /** - * - * *
      * The descriptive name of the vCenter's datacenter this VM is contained in.
      * 
* * string datacenter_description = 3; - * * @param value The datacenterDescription to set. * @return This builder for chaining. */ - public Builder setDatacenterDescription(java.lang.String value) { + public Builder setDatacenterDescription( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + datacenterDescription_ = value; onChanged(); return this; } /** - * - * *
      * The descriptive name of the vCenter's datacenter this VM is contained in.
      * 
* * string datacenter_description = 3; - * * @return This builder for chaining. */ public Builder clearDatacenterDescription() { - + datacenterDescription_ = getDefaultInstance().getDatacenterDescription(); onChanged(); return this; } /** - * - * *
      * The descriptive name of the vCenter's datacenter this VM is contained in.
      * 
* * string datacenter_description = 3; - * * @param value The bytes for datacenterDescription to set. * @return This builder for chaining. */ - public Builder setDatacenterDescriptionBytes(com.google.protobuf.ByteString value) { + public Builder setDatacenterDescriptionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + datacenterDescription_ = value; onChanged(); return this; @@ -1797,20 +1652,18 @@ public Builder setDatacenterDescriptionBytes(com.google.protobuf.ByteString valu private java.lang.Object uuid_ = ""; /** - * - * *
      * The unique identifier of the VM in vCenter.
      * 
* * string uuid = 4; - * * @return The uuid. */ public java.lang.String getUuid() { java.lang.Object ref = uuid_; 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(); uuid_ = s; return s; @@ -1819,21 +1672,20 @@ public java.lang.String getUuid() { } } /** - * - * *
      * The unique identifier of the VM in vCenter.
      * 
* * string uuid = 4; - * * @return The bytes for uuid. */ - public com.google.protobuf.ByteString getUuidBytes() { + public com.google.protobuf.ByteString + getUuidBytes() { java.lang.Object ref = uuid_; 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); uuid_ = b; return b; } else { @@ -1841,61 +1693,54 @@ public com.google.protobuf.ByteString getUuidBytes() { } } /** - * - * *
      * The unique identifier of the VM in vCenter.
      * 
* * string uuid = 4; - * * @param value The uuid to set. * @return This builder for chaining. */ - public Builder setUuid(java.lang.String value) { + public Builder setUuid( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + uuid_ = value; onChanged(); return this; } /** - * - * *
      * The unique identifier of the VM in vCenter.
      * 
* * string uuid = 4; - * * @return This builder for chaining. */ public Builder clearUuid() { - + uuid_ = getDefaultInstance().getUuid(); onChanged(); return this; } /** - * - * *
      * The unique identifier of the VM in vCenter.
      * 
* * string uuid = 4; - * * @param value The bytes for uuid to set. * @return This builder for chaining. */ - public Builder setUuidBytes(com.google.protobuf.ByteString value) { + public Builder setUuidBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + uuid_ = value; onChanged(); return this; @@ -1903,20 +1748,18 @@ public Builder setUuidBytes(com.google.protobuf.ByteString value) { private java.lang.Object displayName_ = ""; /** - * - * *
      * The display name of the VM. Note that this is not necessarily unique.
      * 
* * string display_name = 5; - * * @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; @@ -1925,21 +1768,20 @@ public java.lang.String getDisplayName() { } } /** - * - * *
      * The display name of the VM. Note that this is not necessarily unique.
      * 
* * string display_name = 5; - * * @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 { @@ -1947,61 +1789,54 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } } /** - * - * *
      * The display name of the VM. Note that this is not necessarily unique.
      * 
* * string display_name = 5; - * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName(java.lang.String value) { + public Builder setDisplayName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; onChanged(); return this; } /** - * - * *
      * The display name of the VM. Note that this is not necessarily unique.
      * 
* * string display_name = 5; - * * @return This builder for chaining. */ public Builder clearDisplayName() { - + displayName_ = getDefaultInstance().getDisplayName(); onChanged(); return this; } /** - * - * *
      * The display name of the VM. Note that this is not necessarily unique.
      * 
* * string display_name = 5; - * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; onChanged(); return this; @@ -2009,67 +1844,51 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { private int powerState_ = 0; /** - * - * *
      * The power state of the VM at the moment list was taken.
      * 
* * .google.cloud.vmmigration.v1.VmwareVmDetails.PowerState power_state = 6; - * * @return The enum numeric value on the wire for powerState. */ - @java.lang.Override - public int getPowerStateValue() { + @java.lang.Override public int getPowerStateValue() { return powerState_; } /** - * - * *
      * The power state of the VM at the moment list was taken.
      * 
* * .google.cloud.vmmigration.v1.VmwareVmDetails.PowerState power_state = 6; - * * @param value The enum numeric value on the wire for powerState to set. * @return This builder for chaining. */ public Builder setPowerStateValue(int value) { - + powerState_ = value; onChanged(); return this; } /** - * - * *
      * The power state of the VM at the moment list was taken.
      * 
* * .google.cloud.vmmigration.v1.VmwareVmDetails.PowerState power_state = 6; - * * @return The powerState. */ @java.lang.Override public com.google.cloud.vmmigration.v1.VmwareVmDetails.PowerState getPowerState() { @SuppressWarnings("deprecation") - com.google.cloud.vmmigration.v1.VmwareVmDetails.PowerState result = - com.google.cloud.vmmigration.v1.VmwareVmDetails.PowerState.valueOf(powerState_); - return result == null - ? com.google.cloud.vmmigration.v1.VmwareVmDetails.PowerState.UNRECOGNIZED - : result; + com.google.cloud.vmmigration.v1.VmwareVmDetails.PowerState result = com.google.cloud.vmmigration.v1.VmwareVmDetails.PowerState.valueOf(powerState_); + return result == null ? com.google.cloud.vmmigration.v1.VmwareVmDetails.PowerState.UNRECOGNIZED : result; } /** - * - * *
      * The power state of the VM at the moment list was taken.
      * 
* * .google.cloud.vmmigration.v1.VmwareVmDetails.PowerState power_state = 6; - * * @param value The powerState to set. * @return This builder for chaining. */ @@ -2077,39 +1896,33 @@ public Builder setPowerState(com.google.cloud.vmmigration.v1.VmwareVmDetails.Pow if (value == null) { throw new NullPointerException(); } - + powerState_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The power state of the VM at the moment list was taken.
      * 
* * .google.cloud.vmmigration.v1.VmwareVmDetails.PowerState power_state = 6; - * * @return This builder for chaining. */ public Builder clearPowerState() { - + powerState_ = 0; onChanged(); return this; } - private int cpuCount_; + private int cpuCount_ ; /** - * - * *
      * The number of cpus in the VM.
      * 
* * int32 cpu_count = 7; - * * @return The cpuCount. */ @java.lang.Override @@ -2117,51 +1930,42 @@ public int getCpuCount() { return cpuCount_; } /** - * - * *
      * The number of cpus in the VM.
      * 
* * int32 cpu_count = 7; - * * @param value The cpuCount to set. * @return This builder for chaining. */ public Builder setCpuCount(int value) { - + cpuCount_ = value; onChanged(); return this; } /** - * - * *
      * The number of cpus in the VM.
      * 
* * int32 cpu_count = 7; - * * @return This builder for chaining. */ public Builder clearCpuCount() { - + cpuCount_ = 0; onChanged(); return this; } - private int memoryMb_; + private int memoryMb_ ; /** - * - * *
      * The size of the memory of the VM in MB.
      * 
* * int32 memory_mb = 8; - * * @return The memoryMb. */ @java.lang.Override @@ -2169,51 +1973,42 @@ public int getMemoryMb() { return memoryMb_; } /** - * - * *
      * The size of the memory of the VM in MB.
      * 
* * int32 memory_mb = 8; - * * @param value The memoryMb to set. * @return This builder for chaining. */ public Builder setMemoryMb(int value) { - + memoryMb_ = value; onChanged(); return this; } /** - * - * *
      * The size of the memory of the VM in MB.
      * 
* * int32 memory_mb = 8; - * * @return This builder for chaining. */ public Builder clearMemoryMb() { - + memoryMb_ = 0; onChanged(); return this; } - private int diskCount_; + private int diskCount_ ; /** - * - * *
      * The number of disks the VM has.
      * 
* * int32 disk_count = 9; - * * @return The diskCount. */ @java.lang.Override @@ -2221,51 +2016,42 @@ public int getDiskCount() { return diskCount_; } /** - * - * *
      * The number of disks the VM has.
      * 
* * int32 disk_count = 9; - * * @param value The diskCount to set. * @return This builder for chaining. */ public Builder setDiskCount(int value) { - + diskCount_ = value; onChanged(); return this; } /** - * - * *
      * The number of disks the VM has.
      * 
* * int32 disk_count = 9; - * * @return This builder for chaining. */ public Builder clearDiskCount() { - + diskCount_ = 0; onChanged(); return this; } - private long committedStorageMb_; + private long committedStorageMb_ ; /** - * - * *
      * The total size of the storage allocated to the VM in MB.
      * 
* * int64 committed_storage_mb = 12; - * * @return The committedStorageMb. */ @java.lang.Override @@ -2273,36 +2059,30 @@ public long getCommittedStorageMb() { return committedStorageMb_; } /** - * - * *
      * The total size of the storage allocated to the VM in MB.
      * 
* * int64 committed_storage_mb = 12; - * * @param value The committedStorageMb to set. * @return This builder for chaining. */ public Builder setCommittedStorageMb(long value) { - + committedStorageMb_ = value; onChanged(); return this; } /** - * - * *
      * The total size of the storage allocated to the VM in MB.
      * 
* * int64 committed_storage_mb = 12; - * * @return This builder for chaining. */ public Builder clearCommittedStorageMb() { - + committedStorageMb_ = 0L; onChanged(); return this; @@ -2310,22 +2090,20 @@ public Builder clearCommittedStorageMb() { private java.lang.Object guestDescription_ = ""; /** - * - * *
      * The VM's OS. See for example
-     * https://pubs.vmware.com/vi-sdk/visdk250/ReferenceGuide/vim.vm.GuestOsDescriptor.GuestOsIdentifier.html
+     * https://vdc-repo.vmware.com/vmwb-repository/dcr-public/da47f910-60ac-438b-8b9b-6122f4d14524/16b7274a-bf8b-4b4c-a05e-746f2aa93c8c/doc/vim.vm.GuestOsDescriptor.GuestOsIdentifier.html
      * for types of strings this might hold.
      * 
* * string guest_description = 11; - * * @return The guestDescription. */ public java.lang.String getGuestDescription() { java.lang.Object ref = guestDescription_; 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(); guestDescription_ = s; return s; @@ -2334,23 +2112,22 @@ public java.lang.String getGuestDescription() { } } /** - * - * *
      * The VM's OS. See for example
-     * https://pubs.vmware.com/vi-sdk/visdk250/ReferenceGuide/vim.vm.GuestOsDescriptor.GuestOsIdentifier.html
+     * https://vdc-repo.vmware.com/vmwb-repository/dcr-public/da47f910-60ac-438b-8b9b-6122f4d14524/16b7274a-bf8b-4b4c-a05e-746f2aa93c8c/doc/vim.vm.GuestOsDescriptor.GuestOsIdentifier.html
      * for types of strings this might hold.
      * 
* * string guest_description = 11; - * * @return The bytes for guestDescription. */ - public com.google.protobuf.ByteString getGuestDescriptionBytes() { + public com.google.protobuf.ByteString + getGuestDescriptionBytes() { java.lang.Object ref = guestDescription_; 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); guestDescription_ = b; return b; } else { @@ -2358,67 +2135,60 @@ public com.google.protobuf.ByteString getGuestDescriptionBytes() { } } /** - * - * *
      * The VM's OS. See for example
-     * https://pubs.vmware.com/vi-sdk/visdk250/ReferenceGuide/vim.vm.GuestOsDescriptor.GuestOsIdentifier.html
+     * https://vdc-repo.vmware.com/vmwb-repository/dcr-public/da47f910-60ac-438b-8b9b-6122f4d14524/16b7274a-bf8b-4b4c-a05e-746f2aa93c8c/doc/vim.vm.GuestOsDescriptor.GuestOsIdentifier.html
      * for types of strings this might hold.
      * 
* * string guest_description = 11; - * * @param value The guestDescription to set. * @return This builder for chaining. */ - public Builder setGuestDescription(java.lang.String value) { + public Builder setGuestDescription( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + guestDescription_ = value; onChanged(); return this; } /** - * - * *
      * The VM's OS. See for example
-     * https://pubs.vmware.com/vi-sdk/visdk250/ReferenceGuide/vim.vm.GuestOsDescriptor.GuestOsIdentifier.html
+     * https://vdc-repo.vmware.com/vmwb-repository/dcr-public/da47f910-60ac-438b-8b9b-6122f4d14524/16b7274a-bf8b-4b4c-a05e-746f2aa93c8c/doc/vim.vm.GuestOsDescriptor.GuestOsIdentifier.html
      * for types of strings this might hold.
      * 
* * string guest_description = 11; - * * @return This builder for chaining. */ public Builder clearGuestDescription() { - + guestDescription_ = getDefaultInstance().getGuestDescription(); onChanged(); return this; } /** - * - * *
      * The VM's OS. See for example
-     * https://pubs.vmware.com/vi-sdk/visdk250/ReferenceGuide/vim.vm.GuestOsDescriptor.GuestOsIdentifier.html
+     * https://vdc-repo.vmware.com/vmwb-repository/dcr-public/da47f910-60ac-438b-8b9b-6122f4d14524/16b7274a-bf8b-4b4c-a05e-746f2aa93c8c/doc/vim.vm.GuestOsDescriptor.GuestOsIdentifier.html
      * for types of strings this might hold.
      * 
* * string guest_description = 11; - * * @param value The bytes for guestDescription to set. * @return This builder for chaining. */ - public Builder setGuestDescriptionBytes(com.google.protobuf.ByteString value) { + public Builder setGuestDescriptionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + guestDescription_ = value; onChanged(); return this; @@ -2426,75 +2196,51 @@ public Builder setGuestDescriptionBytes(com.google.protobuf.ByteString value) { private int bootOption_ = 0; /** - * - * *
      * Output only. The VM Boot Option.
      * 
* - * - * .google.cloud.vmmigration.v1.VmwareVmDetails.BootOption boot_option = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.vmmigration.v1.VmwareVmDetails.BootOption boot_option = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for bootOption. */ - @java.lang.Override - public int getBootOptionValue() { + @java.lang.Override public int getBootOptionValue() { return bootOption_; } /** - * - * *
      * Output only. The VM Boot Option.
      * 
* - * - * .google.cloud.vmmigration.v1.VmwareVmDetails.BootOption boot_option = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.vmmigration.v1.VmwareVmDetails.BootOption boot_option = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The enum numeric value on the wire for bootOption to set. * @return This builder for chaining. */ public Builder setBootOptionValue(int value) { - + bootOption_ = value; onChanged(); return this; } /** - * - * *
      * Output only. The VM Boot Option.
      * 
* - * - * .google.cloud.vmmigration.v1.VmwareVmDetails.BootOption boot_option = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.vmmigration.v1.VmwareVmDetails.BootOption boot_option = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The bootOption. */ @java.lang.Override public com.google.cloud.vmmigration.v1.VmwareVmDetails.BootOption getBootOption() { @SuppressWarnings("deprecation") - com.google.cloud.vmmigration.v1.VmwareVmDetails.BootOption result = - com.google.cloud.vmmigration.v1.VmwareVmDetails.BootOption.valueOf(bootOption_); - return result == null - ? com.google.cloud.vmmigration.v1.VmwareVmDetails.BootOption.UNRECOGNIZED - : result; + com.google.cloud.vmmigration.v1.VmwareVmDetails.BootOption result = com.google.cloud.vmmigration.v1.VmwareVmDetails.BootOption.valueOf(bootOption_); + return result == null ? com.google.cloud.vmmigration.v1.VmwareVmDetails.BootOption.UNRECOGNIZED : result; } /** - * - * *
      * Output only. The VM Boot Option.
      * 
* - * - * .google.cloud.vmmigration.v1.VmwareVmDetails.BootOption boot_option = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.vmmigration.v1.VmwareVmDetails.BootOption boot_option = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The bootOption to set. * @return This builder for chaining. */ @@ -2502,33 +2248,28 @@ public Builder setBootOption(com.google.cloud.vmmigration.v1.VmwareVmDetails.Boo if (value == null) { throw new NullPointerException(); } - + bootOption_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Output only. The VM Boot Option.
      * 
* - * - * .google.cloud.vmmigration.v1.VmwareVmDetails.BootOption boot_option = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.vmmigration.v1.VmwareVmDetails.BootOption boot_option = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearBootOption() { - + bootOption_ = 0; 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); } @@ -2538,12 +2279,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.vmmigration.v1.VmwareVmDetails) } // @@protoc_insertion_point(class_scope:google.cloud.vmmigration.v1.VmwareVmDetails) private static final com.google.cloud.vmmigration.v1.VmwareVmDetails DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.vmmigration.v1.VmwareVmDetails(); } @@ -2552,16 +2293,16 @@ public static com.google.cloud.vmmigration.v1.VmwareVmDetails getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public VmwareVmDetails parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new VmwareVmDetails(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public VmwareVmDetails parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new VmwareVmDetails(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2576,4 +2317,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.vmmigration.v1.VmwareVmDetails getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/VmwareVmDetailsOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/VmwareVmDetailsOrBuilder.java similarity index 71% rename from proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/VmwareVmDetailsOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/VmwareVmDetailsOrBuilder.java index b595a4a..9801d57 100644 --- a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/VmwareVmDetailsOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/VmwareVmDetailsOrBuilder.java @@ -1,286 +1,212 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; -public interface VmwareVmDetailsOrBuilder - extends +public interface VmwareVmDetailsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.VmwareVmDetails) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The VM's id in the source (note that this is not the MigratingVm's id).
    * This is the moref id of the VM.
    * 
* * string vm_id = 1; - * * @return The vmId. */ java.lang.String getVmId(); /** - * - * *
    * The VM's id in the source (note that this is not the MigratingVm's id).
    * This is the moref id of the VM.
    * 
* * string vm_id = 1; - * * @return The bytes for vmId. */ - com.google.protobuf.ByteString getVmIdBytes(); + com.google.protobuf.ByteString + getVmIdBytes(); /** - * - * *
    * The id of the vCenter's datacenter this VM is contained in.
    * 
* * string datacenter_id = 2; - * * @return The datacenterId. */ java.lang.String getDatacenterId(); /** - * - * *
    * The id of the vCenter's datacenter this VM is contained in.
    * 
* * string datacenter_id = 2; - * * @return The bytes for datacenterId. */ - com.google.protobuf.ByteString getDatacenterIdBytes(); + com.google.protobuf.ByteString + getDatacenterIdBytes(); /** - * - * *
    * The descriptive name of the vCenter's datacenter this VM is contained in.
    * 
* * string datacenter_description = 3; - * * @return The datacenterDescription. */ java.lang.String getDatacenterDescription(); /** - * - * *
    * The descriptive name of the vCenter's datacenter this VM is contained in.
    * 
* * string datacenter_description = 3; - * * @return The bytes for datacenterDescription. */ - com.google.protobuf.ByteString getDatacenterDescriptionBytes(); + com.google.protobuf.ByteString + getDatacenterDescriptionBytes(); /** - * - * *
    * The unique identifier of the VM in vCenter.
    * 
* * string uuid = 4; - * * @return The uuid. */ java.lang.String getUuid(); /** - * - * *
    * The unique identifier of the VM in vCenter.
    * 
* * string uuid = 4; - * * @return The bytes for uuid. */ - com.google.protobuf.ByteString getUuidBytes(); + com.google.protobuf.ByteString + getUuidBytes(); /** - * - * *
    * The display name of the VM. Note that this is not necessarily unique.
    * 
* * string display_name = 5; - * * @return The displayName. */ java.lang.String getDisplayName(); /** - * - * *
    * The display name of the VM. Note that this is not necessarily unique.
    * 
* * string display_name = 5; - * * @return The bytes for displayName. */ - com.google.protobuf.ByteString getDisplayNameBytes(); + com.google.protobuf.ByteString + getDisplayNameBytes(); /** - * - * *
    * The power state of the VM at the moment list was taken.
    * 
* * .google.cloud.vmmigration.v1.VmwareVmDetails.PowerState power_state = 6; - * * @return The enum numeric value on the wire for powerState. */ int getPowerStateValue(); /** - * - * *
    * The power state of the VM at the moment list was taken.
    * 
* * .google.cloud.vmmigration.v1.VmwareVmDetails.PowerState power_state = 6; - * * @return The powerState. */ com.google.cloud.vmmigration.v1.VmwareVmDetails.PowerState getPowerState(); /** - * - * *
    * The number of cpus in the VM.
    * 
* * int32 cpu_count = 7; - * * @return The cpuCount. */ int getCpuCount(); /** - * - * *
    * The size of the memory of the VM in MB.
    * 
* * int32 memory_mb = 8; - * * @return The memoryMb. */ int getMemoryMb(); /** - * - * *
    * The number of disks the VM has.
    * 
* * int32 disk_count = 9; - * * @return The diskCount. */ int getDiskCount(); /** - * - * *
    * The total size of the storage allocated to the VM in MB.
    * 
* * int64 committed_storage_mb = 12; - * * @return The committedStorageMb. */ long getCommittedStorageMb(); /** - * - * *
    * The VM's OS. See for example
-   * https://pubs.vmware.com/vi-sdk/visdk250/ReferenceGuide/vim.vm.GuestOsDescriptor.GuestOsIdentifier.html
+   * https://vdc-repo.vmware.com/vmwb-repository/dcr-public/da47f910-60ac-438b-8b9b-6122f4d14524/16b7274a-bf8b-4b4c-a05e-746f2aa93c8c/doc/vim.vm.GuestOsDescriptor.GuestOsIdentifier.html
    * for types of strings this might hold.
    * 
* * string guest_description = 11; - * * @return The guestDescription. */ java.lang.String getGuestDescription(); /** - * - * *
    * The VM's OS. See for example
-   * https://pubs.vmware.com/vi-sdk/visdk250/ReferenceGuide/vim.vm.GuestOsDescriptor.GuestOsIdentifier.html
+   * https://vdc-repo.vmware.com/vmwb-repository/dcr-public/da47f910-60ac-438b-8b9b-6122f4d14524/16b7274a-bf8b-4b4c-a05e-746f2aa93c8c/doc/vim.vm.GuestOsDescriptor.GuestOsIdentifier.html
    * for types of strings this might hold.
    * 
* * string guest_description = 11; - * * @return The bytes for guestDescription. */ - com.google.protobuf.ByteString getGuestDescriptionBytes(); + com.google.protobuf.ByteString + getGuestDescriptionBytes(); /** - * - * *
    * Output only. The VM Boot Option.
    * 
* - * - * .google.cloud.vmmigration.v1.VmwareVmDetails.BootOption boot_option = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.vmmigration.v1.VmwareVmDetails.BootOption boot_option = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for bootOption. */ int getBootOptionValue(); /** - * - * *
    * Output only. The VM Boot Option.
    * 
* - * - * .google.cloud.vmmigration.v1.VmwareVmDetails.BootOption boot_option = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.vmmigration.v1.VmwareVmDetails.BootOption boot_option = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The bootOption. */ com.google.cloud.vmmigration.v1.VmwareVmDetails.BootOption getBootOption(); diff --git a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/VmwareVmsDetails.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/VmwareVmsDetails.java similarity index 72% rename from proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/VmwareVmsDetails.java rename to owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/VmwareVmsDetails.java index ca98632..68c193e 100644 --- a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/VmwareVmsDetails.java +++ b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/VmwareVmsDetails.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; /** - * - * *
  * VmwareVmsDetails describes VMs in vCenter.
  * 
* * Protobuf type {@code google.cloud.vmmigration.v1.VmwareVmsDetails} */ -public final class VmwareVmsDetails extends com.google.protobuf.GeneratedMessageV3 - implements +public final class VmwareVmsDetails extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.vmmigration.v1.VmwareVmsDetails) VmwareVmsDetailsOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use VmwareVmsDetails.newBuilder() to construct. private VmwareVmsDetails(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private VmwareVmsDetails() { details_ = 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 VmwareVmsDetails(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private VmwareVmsDetails( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,25 +54,22 @@ private VmwareVmsDetails( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - details_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - details_.add( - input.readMessage( - com.google.cloud.vmmigration.v1.VmwareVmDetails.parser(), extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + details_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + details_.add( + input.readMessage(com.google.cloud.vmmigration.v1.VmwareVmDetails.parser(), extensionRegistry)); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -97,7 +77,8 @@ private VmwareVmsDetails( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { details_ = java.util.Collections.unmodifiableList(details_); @@ -106,27 +87,22 @@ private VmwareVmsDetails( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_VmwareVmsDetails_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_VmwareVmsDetails_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_VmwareVmsDetails_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_VmwareVmsDetails_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.VmwareVmsDetails.class, - com.google.cloud.vmmigration.v1.VmwareVmsDetails.Builder.class); + com.google.cloud.vmmigration.v1.VmwareVmsDetails.class, com.google.cloud.vmmigration.v1.VmwareVmsDetails.Builder.class); } public static final int DETAILS_FIELD_NUMBER = 1; private java.util.List details_; /** - * - * *
    * The details of the vmware VMs.
    * 
@@ -138,8 +114,6 @@ public java.util.List getDetail return details_; } /** - * - * *
    * The details of the vmware VMs.
    * 
@@ -147,13 +121,11 @@ public java.util.List getDetail * repeated .google.cloud.vmmigration.v1.VmwareVmDetails details = 1; */ @java.lang.Override - public java.util.List + public java.util.List getDetailsOrBuilderList() { return details_; } /** - * - * *
    * The details of the vmware VMs.
    * 
@@ -165,8 +137,6 @@ public int getDetailsCount() { return details_.size(); } /** - * - * *
    * The details of the vmware VMs.
    * 
@@ -178,8 +148,6 @@ public com.google.cloud.vmmigration.v1.VmwareVmDetails getDetails(int index) { return details_.get(index); } /** - * - * *
    * The details of the vmware VMs.
    * 
@@ -187,12 +155,12 @@ public com.google.cloud.vmmigration.v1.VmwareVmDetails getDetails(int index) { * repeated .google.cloud.vmmigration.v1.VmwareVmDetails details = 1; */ @java.lang.Override - public com.google.cloud.vmmigration.v1.VmwareVmDetailsOrBuilder getDetailsOrBuilder(int index) { + public com.google.cloud.vmmigration.v1.VmwareVmDetailsOrBuilder getDetailsOrBuilder( + int index) { return details_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -204,7 +172,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 < details_.size(); i++) { output.writeMessage(1, details_.get(i)); } @@ -218,7 +187,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < details_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, details_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, details_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -228,15 +198,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.vmmigration.v1.VmwareVmsDetails)) { return super.equals(obj); } - com.google.cloud.vmmigration.v1.VmwareVmsDetails other = - (com.google.cloud.vmmigration.v1.VmwareVmsDetails) obj; + com.google.cloud.vmmigration.v1.VmwareVmsDetails other = (com.google.cloud.vmmigration.v1.VmwareVmsDetails) obj; - if (!getDetailsList().equals(other.getDetailsList())) return false; + if (!getDetailsList() + .equals(other.getDetailsList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -257,127 +227,118 @@ public int hashCode() { return hash; } - public static com.google.cloud.vmmigration.v1.VmwareVmsDetails parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.vmmigration.v1.VmwareVmsDetails parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.vmmigration.v1.VmwareVmsDetails 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.vmmigration.v1.VmwareVmsDetails parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.vmmigration.v1.VmwareVmsDetails 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.vmmigration.v1.VmwareVmsDetails parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.vmmigration.v1.VmwareVmsDetails 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.vmmigration.v1.VmwareVmsDetails parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.vmmigration.v1.VmwareVmsDetails parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.vmmigration.v1.VmwareVmsDetails 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.vmmigration.v1.VmwareVmsDetails parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.vmmigration.v1.VmwareVmsDetails parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.vmmigration.v1.VmwareVmsDetails 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.vmmigration.v1.VmwareVmsDetails 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.vmmigration.v1.VmwareVmsDetails 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.vmmigration.v1.VmwareVmsDetails 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; } /** - * - * *
    * VmwareVmsDetails describes VMs in vCenter.
    * 
* * Protobuf type {@code google.cloud.vmmigration.v1.VmwareVmsDetails} */ - 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.vmmigration.v1.VmwareVmsDetails) com.google.cloud.vmmigration.v1.VmwareVmsDetailsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_VmwareVmsDetails_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_VmwareVmsDetails_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_VmwareVmsDetails_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_VmwareVmsDetails_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.VmwareVmsDetails.class, - com.google.cloud.vmmigration.v1.VmwareVmsDetails.Builder.class); + com.google.cloud.vmmigration.v1.VmwareVmsDetails.class, com.google.cloud.vmmigration.v1.VmwareVmsDetails.Builder.class); } // Construct using com.google.cloud.vmmigration.v1.VmwareVmsDetails.newBuilder() @@ -385,17 +346,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) { getDetailsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -409,9 +370,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_VmwareVmsDetails_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_VmwareVmsDetails_descriptor; } @java.lang.Override @@ -430,8 +391,7 @@ public com.google.cloud.vmmigration.v1.VmwareVmsDetails build() { @java.lang.Override public com.google.cloud.vmmigration.v1.VmwareVmsDetails buildPartial() { - com.google.cloud.vmmigration.v1.VmwareVmsDetails result = - new com.google.cloud.vmmigration.v1.VmwareVmsDetails(this); + com.google.cloud.vmmigration.v1.VmwareVmsDetails result = new com.google.cloud.vmmigration.v1.VmwareVmsDetails(this); int from_bitField0_ = bitField0_; if (detailsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -450,39 +410,38 @@ public com.google.cloud.vmmigration.v1.VmwareVmsDetails buildPartial() { 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.vmmigration.v1.VmwareVmsDetails) { - return mergeFrom((com.google.cloud.vmmigration.v1.VmwareVmsDetails) other); + return mergeFrom((com.google.cloud.vmmigration.v1.VmwareVmsDetails)other); } else { super.mergeFrom(other); return this; @@ -490,8 +449,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.vmmigration.v1.VmwareVmsDetails other) { - if (other == com.google.cloud.vmmigration.v1.VmwareVmsDetails.getDefaultInstance()) - return this; + if (other == com.google.cloud.vmmigration.v1.VmwareVmsDetails.getDefaultInstance()) return this; if (detailsBuilder_ == null) { if (!other.details_.isEmpty()) { if (details_.isEmpty()) { @@ -510,10 +468,9 @@ public Builder mergeFrom(com.google.cloud.vmmigration.v1.VmwareVmsDetails other) detailsBuilder_ = null; details_ = other.details_; bitField0_ = (bitField0_ & ~0x00000001); - detailsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getDetailsFieldBuilder() - : null; + detailsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getDetailsFieldBuilder() : null; } else { detailsBuilder_.addAllMessages(other.details_); } @@ -547,29 +504,21 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.util.List details_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureDetailsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - details_ = - new java.util.ArrayList(details_); + details_ = new java.util.ArrayList(details_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.vmmigration.v1.VmwareVmDetails, - com.google.cloud.vmmigration.v1.VmwareVmDetails.Builder, - com.google.cloud.vmmigration.v1.VmwareVmDetailsOrBuilder> - detailsBuilder_; + com.google.cloud.vmmigration.v1.VmwareVmDetails, com.google.cloud.vmmigration.v1.VmwareVmDetails.Builder, com.google.cloud.vmmigration.v1.VmwareVmDetailsOrBuilder> detailsBuilder_; /** - * - * *
      * The details of the vmware VMs.
      * 
@@ -584,8 +533,6 @@ public java.util.List getDetail } } /** - * - * *
      * The details of the vmware VMs.
      * 
@@ -600,8 +547,6 @@ public int getDetailsCount() { } } /** - * - * *
      * The details of the vmware VMs.
      * 
@@ -616,15 +561,14 @@ public com.google.cloud.vmmigration.v1.VmwareVmDetails getDetails(int index) { } } /** - * - * *
      * The details of the vmware VMs.
      * 
* * repeated .google.cloud.vmmigration.v1.VmwareVmDetails details = 1; */ - public Builder setDetails(int index, com.google.cloud.vmmigration.v1.VmwareVmDetails value) { + public Builder setDetails( + int index, com.google.cloud.vmmigration.v1.VmwareVmDetails value) { if (detailsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -638,8 +582,6 @@ public Builder setDetails(int index, com.google.cloud.vmmigration.v1.VmwareVmDet return this; } /** - * - * *
      * The details of the vmware VMs.
      * 
@@ -658,8 +600,6 @@ public Builder setDetails( return this; } /** - * - * *
      * The details of the vmware VMs.
      * 
@@ -680,15 +620,14 @@ public Builder addDetails(com.google.cloud.vmmigration.v1.VmwareVmDetails value) return this; } /** - * - * *
      * The details of the vmware VMs.
      * 
* * repeated .google.cloud.vmmigration.v1.VmwareVmDetails details = 1; */ - public Builder addDetails(int index, com.google.cloud.vmmigration.v1.VmwareVmDetails value) { + public Builder addDetails( + int index, com.google.cloud.vmmigration.v1.VmwareVmDetails value) { if (detailsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -702,8 +641,6 @@ public Builder addDetails(int index, com.google.cloud.vmmigration.v1.VmwareVmDet return this; } /** - * - * *
      * The details of the vmware VMs.
      * 
@@ -722,8 +659,6 @@ public Builder addDetails( return this; } /** - * - * *
      * The details of the vmware VMs.
      * 
@@ -742,8 +677,6 @@ public Builder addDetails( return this; } /** - * - * *
      * The details of the vmware VMs.
      * 
@@ -754,7 +687,8 @@ public Builder addAllDetails( java.lang.Iterable values) { if (detailsBuilder_ == null) { ensureDetailsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, details_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, details_); onChanged(); } else { detailsBuilder_.addAllMessages(values); @@ -762,8 +696,6 @@ public Builder addAllDetails( return this; } /** - * - * *
      * The details of the vmware VMs.
      * 
@@ -781,8 +713,6 @@ public Builder clearDetails() { return this; } /** - * - * *
      * The details of the vmware VMs.
      * 
@@ -800,44 +730,39 @@ public Builder removeDetails(int index) { return this; } /** - * - * *
      * The details of the vmware VMs.
      * 
* * repeated .google.cloud.vmmigration.v1.VmwareVmDetails details = 1; */ - public com.google.cloud.vmmigration.v1.VmwareVmDetails.Builder getDetailsBuilder(int index) { + public com.google.cloud.vmmigration.v1.VmwareVmDetails.Builder getDetailsBuilder( + int index) { return getDetailsFieldBuilder().getBuilder(index); } /** - * - * *
      * The details of the vmware VMs.
      * 
* * repeated .google.cloud.vmmigration.v1.VmwareVmDetails details = 1; */ - public com.google.cloud.vmmigration.v1.VmwareVmDetailsOrBuilder getDetailsOrBuilder(int index) { + public com.google.cloud.vmmigration.v1.VmwareVmDetailsOrBuilder getDetailsOrBuilder( + int index) { if (detailsBuilder_ == null) { - return details_.get(index); - } else { + return details_.get(index); } else { return detailsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The details of the vmware VMs.
      * 
* * repeated .google.cloud.vmmigration.v1.VmwareVmDetails details = 1; */ - public java.util.List - getDetailsOrBuilderList() { + public java.util.List + getDetailsOrBuilderList() { if (detailsBuilder_ != null) { return detailsBuilder_.getMessageOrBuilderList(); } else { @@ -845,8 +770,6 @@ public com.google.cloud.vmmigration.v1.VmwareVmDetailsOrBuilder getDetailsOrBuil } } /** - * - * *
      * The details of the vmware VMs.
      * 
@@ -854,55 +777,49 @@ public com.google.cloud.vmmigration.v1.VmwareVmDetailsOrBuilder getDetailsOrBuil * repeated .google.cloud.vmmigration.v1.VmwareVmDetails details = 1; */ public com.google.cloud.vmmigration.v1.VmwareVmDetails.Builder addDetailsBuilder() { - return getDetailsFieldBuilder() - .addBuilder(com.google.cloud.vmmigration.v1.VmwareVmDetails.getDefaultInstance()); + return getDetailsFieldBuilder().addBuilder( + com.google.cloud.vmmigration.v1.VmwareVmDetails.getDefaultInstance()); } /** - * - * *
      * The details of the vmware VMs.
      * 
* * repeated .google.cloud.vmmigration.v1.VmwareVmDetails details = 1; */ - public com.google.cloud.vmmigration.v1.VmwareVmDetails.Builder addDetailsBuilder(int index) { - return getDetailsFieldBuilder() - .addBuilder(index, com.google.cloud.vmmigration.v1.VmwareVmDetails.getDefaultInstance()); + public com.google.cloud.vmmigration.v1.VmwareVmDetails.Builder addDetailsBuilder( + int index) { + return getDetailsFieldBuilder().addBuilder( + index, com.google.cloud.vmmigration.v1.VmwareVmDetails.getDefaultInstance()); } /** - * - * *
      * The details of the vmware VMs.
      * 
* * repeated .google.cloud.vmmigration.v1.VmwareVmDetails details = 1; */ - public java.util.List - getDetailsBuilderList() { + public java.util.List + getDetailsBuilderList() { return getDetailsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.vmmigration.v1.VmwareVmDetails, - com.google.cloud.vmmigration.v1.VmwareVmDetails.Builder, - com.google.cloud.vmmigration.v1.VmwareVmDetailsOrBuilder> + com.google.cloud.vmmigration.v1.VmwareVmDetails, com.google.cloud.vmmigration.v1.VmwareVmDetails.Builder, com.google.cloud.vmmigration.v1.VmwareVmDetailsOrBuilder> getDetailsFieldBuilder() { if (detailsBuilder_ == null) { - detailsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.vmmigration.v1.VmwareVmDetails, - com.google.cloud.vmmigration.v1.VmwareVmDetails.Builder, - com.google.cloud.vmmigration.v1.VmwareVmDetailsOrBuilder>( - details_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + detailsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.vmmigration.v1.VmwareVmDetails, com.google.cloud.vmmigration.v1.VmwareVmDetails.Builder, com.google.cloud.vmmigration.v1.VmwareVmDetailsOrBuilder>( + details_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); details_ = null; } return detailsBuilder_; } - @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); } @@ -912,12 +829,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.vmmigration.v1.VmwareVmsDetails) } // @@protoc_insertion_point(class_scope:google.cloud.vmmigration.v1.VmwareVmsDetails) private static final com.google.cloud.vmmigration.v1.VmwareVmsDetails DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.vmmigration.v1.VmwareVmsDetails(); } @@ -926,16 +843,16 @@ public static com.google.cloud.vmmigration.v1.VmwareVmsDetails getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public VmwareVmsDetails parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new VmwareVmsDetails(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public VmwareVmsDetails parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new VmwareVmsDetails(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -950,4 +867,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.vmmigration.v1.VmwareVmsDetails getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/VmwareVmsDetailsOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/VmwareVmsDetailsOrBuilder.java similarity index 65% rename from proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/VmwareVmsDetailsOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/VmwareVmsDetailsOrBuilder.java index d743711..0a5dc5c 100644 --- a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/VmwareVmsDetailsOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/VmwareVmsDetailsOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; -public interface VmwareVmsDetailsOrBuilder - extends +public interface VmwareVmsDetailsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.VmwareVmsDetails) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The details of the vmware VMs.
    * 
* * repeated .google.cloud.vmmigration.v1.VmwareVmDetails details = 1; */ - java.util.List getDetailsList(); + java.util.List + getDetailsList(); /** - * - * *
    * The details of the vmware VMs.
    * 
@@ -44,8 +25,6 @@ public interface VmwareVmsDetailsOrBuilder */ com.google.cloud.vmmigration.v1.VmwareVmDetails getDetails(int index); /** - * - * *
    * The details of the vmware VMs.
    * 
@@ -54,24 +33,21 @@ public interface VmwareVmsDetailsOrBuilder */ int getDetailsCount(); /** - * - * *
    * The details of the vmware VMs.
    * 
* * repeated .google.cloud.vmmigration.v1.VmwareVmDetails details = 1; */ - java.util.List + java.util.List getDetailsOrBuilderList(); /** - * - * *
    * The details of the vmware VMs.
    * 
* * repeated .google.cloud.vmmigration.v1.VmwareVmDetails details = 1; */ - com.google.cloud.vmmigration.v1.VmwareVmDetailsOrBuilder getDetailsOrBuilder(int index); + com.google.cloud.vmmigration.v1.VmwareVmDetailsOrBuilder getDetailsOrBuilder( + int index); } diff --git a/proto-google-cloud-vmmigration-v1/src/main/proto/google/cloud/vmmigration/v1/vmmigration.proto b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/proto/google/cloud/vmmigration/v1/vmmigration.proto similarity index 83% rename from proto-google-cloud-vmmigration-v1/src/main/proto/google/cloud/vmmigration/v1/vmmigration.proto rename to owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/proto/google/cloud/vmmigration/v1/vmmigration.proto index 4b2a4e8..d5dfe9e 100644 --- a/proto-google-cloud-vmmigration-v1/src/main/proto/google/cloud/vmmigration/v1/vmmigration.proto +++ b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/proto/google/cloud/vmmigration/v1/vmmigration.proto @@ -1,4 +1,4 @@ -// Copyright 2021 Google LLC +// Copyright 2022 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -38,7 +38,8 @@ option ruby_package = "Google::Cloud::VMMigration::V1"; // VM Migration Service service VmMigration { option (google.api.default_host) = "vmmigration.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/cloud-platform"; + option (google.api.oauth_scopes) = + "https://www.googleapis.com/auth/cloud-platform"; // Lists Sources in a given project and location. rpc ListSources(ListSourcesRequest) returns (ListSourcesResponse) { @@ -107,7 +108,8 @@ service VmMigration { } // Lists Utilization Reports of the given Source. - rpc ListUtilizationReports(ListUtilizationReportsRequest) returns (ListUtilizationReportsResponse) { + rpc ListUtilizationReports(ListUtilizationReportsRequest) + returns (ListUtilizationReportsResponse) { option (google.api.http) = { get: "/v1/{parent=projects/*/locations/*/sources/*}/utilizationReports" }; @@ -115,7 +117,8 @@ service VmMigration { } // Gets a single Utilization Report. - rpc GetUtilizationReport(GetUtilizationReportRequest) returns (UtilizationReport) { + rpc GetUtilizationReport(GetUtilizationReportRequest) + returns (UtilizationReport) { option (google.api.http) = { get: "/v1/{name=projects/*/locations/*/sources/*/utilizationReports/*}" }; @@ -123,12 +126,14 @@ service VmMigration { } // Creates a new UtilizationReport. - rpc CreateUtilizationReport(CreateUtilizationReportRequest) returns (google.longrunning.Operation) { + rpc CreateUtilizationReport(CreateUtilizationReportRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { post: "/v1/{parent=projects/*/locations/*/sources/*}/utilizationReports" body: "utilization_report" }; - option (google.api.method_signature) = "parent,utilization_report,utilization_report_id"; + option (google.api.method_signature) = + "parent,utilization_report,utilization_report_id"; option (google.longrunning.operation_info) = { response_type: "UtilizationReport" metadata_type: "OperationMetadata" @@ -136,7 +141,8 @@ service VmMigration { } // Deletes a single Utilization Report. - rpc DeleteUtilizationReport(DeleteUtilizationReportRequest) returns (google.longrunning.Operation) { + rpc DeleteUtilizationReport(DeleteUtilizationReportRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { delete: "/v1/{name=projects/*/locations/*/sources/*/utilizationReports/*}" }; @@ -148,7 +154,8 @@ service VmMigration { } // Lists DatacenterConnectors in a given Source. - rpc ListDatacenterConnectors(ListDatacenterConnectorsRequest) returns (ListDatacenterConnectorsResponse) { + rpc ListDatacenterConnectors(ListDatacenterConnectorsRequest) + returns (ListDatacenterConnectorsResponse) { option (google.api.http) = { get: "/v1/{parent=projects/*/locations/*/sources/*}/datacenterConnectors" }; @@ -156,7 +163,8 @@ service VmMigration { } // Gets details of a single DatacenterConnector. - rpc GetDatacenterConnector(GetDatacenterConnectorRequest) returns (DatacenterConnector) { + rpc GetDatacenterConnector(GetDatacenterConnectorRequest) + returns (DatacenterConnector) { option (google.api.http) = { get: "/v1/{name=projects/*/locations/*/sources/*/datacenterConnectors/*}" }; @@ -164,12 +172,14 @@ service VmMigration { } // Creates a new DatacenterConnector in a given Source. - rpc CreateDatacenterConnector(CreateDatacenterConnectorRequest) returns (google.longrunning.Operation) { + rpc CreateDatacenterConnector(CreateDatacenterConnectorRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { post: "/v1/{parent=projects/*/locations/*/sources/*}/datacenterConnectors" body: "datacenter_connector" }; - option (google.api.method_signature) = "parent,datacenter_connector,datacenter_connector_id"; + option (google.api.method_signature) = + "parent,datacenter_connector,datacenter_connector_id"; option (google.longrunning.operation_info) = { response_type: "DatacenterConnector" metadata_type: "OperationMetadata" @@ -177,7 +187,8 @@ service VmMigration { } // Deletes a single DatacenterConnector. - rpc DeleteDatacenterConnector(DeleteDatacenterConnectorRequest) returns (google.longrunning.Operation) { + rpc DeleteDatacenterConnector(DeleteDatacenterConnectorRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { delete: "/v1/{name=projects/*/locations/*/sources/*/datacenterConnectors/*}" }; @@ -188,13 +199,29 @@ service VmMigration { }; } + // Upgrades the appliance relate to this DatacenterConnector to the in-place + // updateable version. + rpc UpgradeAppliance(UpgradeApplianceRequest) + returns (google.longrunning.Operation) { + option (google.api.http) = { + post: "/v1/{datacenter_connector=projects/*/locations/*/sources/*/datacenterConnectors/*}:upgradeAppliance" + body: "*" + }; + option (google.longrunning.operation_info) = { + response_type: "UpgradeApplianceResponse" + metadata_type: "OperationMetadata" + }; + } + // Creates a new MigratingVm in a given Source. - rpc CreateMigratingVm(CreateMigratingVmRequest) returns (google.longrunning.Operation) { + rpc CreateMigratingVm(CreateMigratingVmRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { post: "/v1/{parent=projects/*/locations/*/sources/*}/migratingVms" body: "migrating_vm" }; - option (google.api.method_signature) = "parent,migrating_vm,migrating_vm_id"; + option (google.api.method_signature) = + "parent,migrating_vm,migrating_vm_id"; option (google.longrunning.operation_info) = { response_type: "MigratingVm" metadata_type: "OperationMetadata" @@ -202,7 +229,8 @@ service VmMigration { } // Lists MigratingVms in a given Source. - rpc ListMigratingVms(ListMigratingVmsRequest) returns (ListMigratingVmsResponse) { + rpc ListMigratingVms(ListMigratingVmsRequest) + returns (ListMigratingVmsResponse) { option (google.api.http) = { get: "/v1/{parent=projects/*/locations/*/sources/*}/migratingVms" }; @@ -218,7 +246,8 @@ service VmMigration { } // Updates the parameters of a single MigratingVm. - rpc UpdateMigratingVm(UpdateMigratingVmRequest) returns (google.longrunning.Operation) { + rpc UpdateMigratingVm(UpdateMigratingVmRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { patch: "/v1/{migrating_vm.name=projects/*/locations/*/sources/*/migratingVms/*}" body: "migrating_vm" @@ -231,7 +260,8 @@ service VmMigration { } // Deletes a single MigratingVm. - rpc DeleteMigratingVm(DeleteMigratingVmRequest) returns (google.longrunning.Operation) { + rpc DeleteMigratingVm(DeleteMigratingVmRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { delete: "/v1/{name=projects/*/locations/*/sources/*/migratingVms/*}" }; @@ -244,7 +274,8 @@ service VmMigration { // Starts migration for a VM. Starts the process of uploading // data and creating snapshots, in replication cycles scheduled by the policy. - rpc StartMigration(StartMigrationRequest) returns (google.longrunning.Operation) { + rpc StartMigration(StartMigrationRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { post: "/v1/{migrating_vm=projects/*/locations/*/sources/*/migratingVms/*}:startMigration" body: "*" @@ -260,7 +291,8 @@ service VmMigration { // the process of uploading data and creating snapshots; when called on a // completed cut-over migration, will update the migration to active state and // start the process of uploading data and creating snapshots. - rpc ResumeMigration(ResumeMigrationRequest) returns (google.longrunning.Operation) { + rpc ResumeMigration(ResumeMigrationRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { post: "/v1/{migrating_vm=projects/*/locations/*/sources/*/migratingVms/*}:resumeMigration" body: "*" @@ -274,7 +306,8 @@ service VmMigration { // Pauses a migration for a VM. If cycle tasks are running they will be // cancelled, preserving source task data. Further replication cycles will not // be triggered while the VM is paused. - rpc PauseMigration(PauseMigrationRequest) returns (google.longrunning.Operation) { + rpc PauseMigration(PauseMigrationRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { post: "/v1/{migrating_vm=projects/*/locations/*/sources/*/migratingVms/*}:pauseMigration" body: "*" @@ -287,7 +320,8 @@ service VmMigration { // Marks a migration as completed, deleting migration resources that are no // longer being used. Only applicable after cutover is done. - rpc FinalizeMigration(FinalizeMigrationRequest) returns (google.longrunning.Operation) { + rpc FinalizeMigration(FinalizeMigrationRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { post: "/v1/{migrating_vm=projects/*/locations/*/sources/*/migratingVms/*}:finalizeMigration" body: "*" @@ -300,7 +334,8 @@ service VmMigration { } // Initiates a Clone of a specific migrating VM. - rpc CreateCloneJob(CreateCloneJobRequest) returns (google.longrunning.Operation) { + rpc CreateCloneJob(CreateCloneJobRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { post: "/v1/{parent=projects/*/locations/*/sources/*/migratingVms/*}/cloneJobs" body: "clone_job" @@ -313,7 +348,8 @@ service VmMigration { } // Initiates the cancellation of a running clone job. - rpc CancelCloneJob(CancelCloneJobRequest) returns (google.longrunning.Operation) { + rpc CancelCloneJob(CancelCloneJobRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { post: "/v1/{name=projects/*/locations/*/sources/*/migratingVms/*/cloneJobs/*}:cancel" body: "*" @@ -344,7 +380,8 @@ service VmMigration { // Initiates a Cutover of a specific migrating VM. // The returned LRO is completed when the cutover job resource is created // and the job is initiated. - rpc CreateCutoverJob(CreateCutoverJobRequest) returns (google.longrunning.Operation) { + rpc CreateCutoverJob(CreateCutoverJobRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { post: "/v1/{parent=projects/*/locations/*/sources/*/migratingVms/*}/cutoverJobs" body: "cutover_job" @@ -357,7 +394,8 @@ service VmMigration { } // Initiates the cancellation of a running cutover job. - rpc CancelCutoverJob(CancelCutoverJobRequest) returns (google.longrunning.Operation) { + rpc CancelCutoverJob(CancelCutoverJobRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { post: "/v1/{name=projects/*/locations/*/sources/*/migratingVms/*/cutoverJobs/*}:cancel" body: "*" @@ -370,7 +408,8 @@ service VmMigration { } // Lists CutoverJobs of a given migrating VM. - rpc ListCutoverJobs(ListCutoverJobsRequest) returns (ListCutoverJobsResponse) { + rpc ListCutoverJobs(ListCutoverJobsRequest) + returns (ListCutoverJobsResponse) { option (google.api.http) = { get: "/v1/{parent=projects/*/locations/*/sources/*/migratingVms/*}/cutoverJobs" }; @@ -440,7 +479,8 @@ service VmMigration { } // Adds a MigratingVm to a Group. - rpc AddGroupMigration(AddGroupMigrationRequest) returns (google.longrunning.Operation) { + rpc AddGroupMigration(AddGroupMigrationRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { post: "/v1/{group=projects/*/locations/*/groups/*}:addGroupMigration" body: "*" @@ -453,7 +493,8 @@ service VmMigration { } // Removes a MigratingVm from a Group. - rpc RemoveGroupMigration(RemoveGroupMigrationRequest) returns (google.longrunning.Operation) { + rpc RemoveGroupMigration(RemoveGroupMigrationRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { post: "/v1/{group=projects/*/locations/*/groups/*}:removeGroupMigration" body: "*" @@ -469,7 +510,8 @@ service VmMigration { // // NOTE: TargetProject is a global resource; hence the only supported value // for location is `global`. - rpc ListTargetProjects(ListTargetProjectsRequest) returns (ListTargetProjectsResponse) { + rpc ListTargetProjects(ListTargetProjectsRequest) + returns (ListTargetProjectsResponse) { option (google.api.http) = { get: "/v1/{parent=projects/*/locations/*}/targetProjects" }; @@ -491,12 +533,14 @@ service VmMigration { // // NOTE: TargetProject is a global resource; hence the only supported value // for location is `global`. - rpc CreateTargetProject(CreateTargetProjectRequest) returns (google.longrunning.Operation) { + rpc CreateTargetProject(CreateTargetProjectRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { post: "/v1/{parent=projects/*/locations/*}/targetProjects" body: "target_project" }; - option (google.api.method_signature) = "parent,target_project,target_project_id"; + option (google.api.method_signature) = + "parent,target_project,target_project_id"; option (google.longrunning.operation_info) = { response_type: "TargetProject" metadata_type: "OperationMetadata" @@ -507,7 +551,8 @@ service VmMigration { // // NOTE: TargetProject is a global resource; hence the only supported value // for location is `global`. - rpc UpdateTargetProject(UpdateTargetProjectRequest) returns (google.longrunning.Operation) { + rpc UpdateTargetProject(UpdateTargetProjectRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { patch: "/v1/{target_project.name=projects/*/locations/*/targetProjects/*}" body: "target_project" @@ -523,7 +568,8 @@ service VmMigration { // // NOTE: TargetProject is a global resource; hence the only supported value // for location is `global`. - rpc DeleteTargetProject(DeleteTargetProjectRequest) returns (google.longrunning.Operation) { + rpc DeleteTargetProject(DeleteTargetProjectRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { delete: "/v1/{name=projects/*/locations/*/targetProjects/*}" }; @@ -535,16 +581,6 @@ service VmMigration { } } -// ReplicationCycle contains information about the current replication cycle -// status. -message ReplicationCycle { - // The time the replication cycle has started. - google.protobuf.Timestamp start_time = 1; - - // The current progress in percentage of this cycle. - int32 progress_percent = 5; -} - // Controls the level of details of a Utilization Report. enum UtilizationReportView { // The default / unset value. @@ -560,11 +596,18 @@ enum UtilizationReportView { FULL = 2; } -// ReplicationSync contain information about the last replica sync to the cloud. -message ReplicationSync { - // The most updated snapshot created time in the source that finished - // replication. - google.protobuf.Timestamp last_sync_time = 1; +// Controls the level of details of a Migrating VM. +enum MigratingVmView { + // View is unspecified. The API will fallback to the default value. + MIGRATING_VM_VIEW_UNSPECIFIED = 0; + + // Get the migrating VM basic details. + // The basic details do not include the recent clone jobs and recent cutover + // jobs lists. + MIGRATING_VM_VIEW_BASIC = 1; + + // Include everything. + MIGRATING_VM_VIEW_FULL = 2; } // Types of disks supported for Compute Engine VM. @@ -607,6 +650,23 @@ enum ComputeEngineBootOption { COMPUTE_ENGINE_BOOT_OPTION_BIOS = 2; } +// ReplicationCycle contains information about the current replication cycle +// status. +message ReplicationCycle { + // The time the replication cycle has started. + google.protobuf.Timestamp start_time = 1; + + // The current progress in percentage of this cycle. + int32 progress_percent = 5; +} + +// ReplicationSync contain information about the last replica sync to the cloud. +message ReplicationSync { + // The most updated snapshot created time in the source that finished + // replication. + google.protobuf.Timestamp last_sync_time = 1; +} + // MigratingVm describes the VM that will be migrated from a Source environment // and its replication state. message MigratingVm { @@ -684,28 +744,33 @@ message MigratingVm { // The replication schedule policy. SchedulePolicy policy = 8; - // Output only. The time the migrating VM was created (this refers to this resource and not - // to the time it was installed in the source). - google.protobuf.Timestamp create_time = 9 [(google.api.field_behavior) = OUTPUT_ONLY]; + // Output only. The time the migrating VM was created (this refers to this + // resource and not to the time it was installed in the source). + google.protobuf.Timestamp create_time = 9 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The last time the migrating VM resource was updated. - google.protobuf.Timestamp update_time = 10 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp update_time = 10 + [(google.api.field_behavior) = OUTPUT_ONLY]; - // Output only. The most updated snapshot created time in the source that finished - // replication. + // Output only. The most updated snapshot created time in the source that + // finished replication. ReplicationSync last_sync = 11 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. State of the MigratingVm. State state = 23 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The last time the migrating VM state was updated. - google.protobuf.Timestamp state_time = 22 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp state_time = 22 + [(google.api.field_behavior) = OUTPUT_ONLY]; - // Output only. The percentage progress of the current running replication cycle. - ReplicationCycle current_sync_info = 13 [(google.api.field_behavior) = OUTPUT_ONLY]; + // Output only. The percentage progress of the current running replication + // cycle. + ReplicationCycle current_sync_info = 13 + [(google.api.field_behavior) = OUTPUT_ONLY]; - // Output only. The group this migrating vm is included in, if any. The group is - // represented by the full path of the appropriate + // Output only. The group this migrating vm is included in, if any. The group + // is represented by the full path of the appropriate // [Group][google.cloud.vmmigration.v1.Group] resource. string group = 15 [ (google.api.field_behavior) = OUTPUT_ONLY, @@ -717,9 +782,25 @@ message MigratingVm { // The labels of the migrating VM. map labels = 16; - // Output only. Provides details on the state of the Migrating VM in case of an - // error in replication. + // Output only. The recent [clone jobs][google.cloud.vmmigration.v1.CloneJob] + // performed on the migrating VM. This field holds the vm's last completed + // clone job and the vm's running clone job, if one exists. + // Note: To have this field populated you need to explicitly request it via + // the "view" parameter of the Get/List request. + repeated CloneJob recent_clone_jobs = 17 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Provides details on the state of the Migrating VM in case of + // an error in replication. google.rpc.Status error = 19 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. The recent cutover jobs performed on the migrating VM. + // This field holds the vm's last completed cutover job and the vm's + // running cutover job, if one exists. + // Note: To have this field populated you need to explicitly request it via + // the "view" parameter of the Get/List request. + repeated CutoverJob recent_cutover_jobs = 20 + [(google.api.field_behavior) = OUTPUT_ONLY]; } // CloneJob describes the process of creating a clone of a @@ -769,23 +850,31 @@ message CloneJob { // Details of the VM to create as the target of this clone job. oneof target_vm_details { // Output only. Details of the target VM in Compute Engine. - ComputeEngineTargetDetails compute_engine_target_details = 20 [(google.api.field_behavior) = OUTPUT_ONLY]; + ComputeEngineTargetDetails compute_engine_target_details = 20 + [(google.api.field_behavior) = OUTPUT_ONLY]; } - // Output only. The time the clone job was created (as an API call, not when it was - // actually created in the target). - google.protobuf.Timestamp create_time = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; + // Output only. The time the clone job was created (as an API call, not when + // it was actually created in the target). + google.protobuf.Timestamp create_time = 1 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. The time the clone job was ended. + google.protobuf.Timestamp end_time = 22 + [(google.api.field_behavior) = OUTPUT_ONLY]; - // The name of the clone. - string name = 3; + // Output only. The name of the clone. + string name = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. State of the clone job. State state = 12 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The time the state was last updated. - google.protobuf.Timestamp state_time = 14 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp state_time = 14 + [(google.api.field_behavior) = OUTPUT_ONLY]; - // Output only. Provides details for the errors that led to the Clone Job's state. + // Output only. Provides details for the errors that led to the Clone Job's + // state. google.rpc.Status error = 17 [(google.api.field_behavior) = OUTPUT_ONLY]; } @@ -829,12 +918,18 @@ message CutoverJob { // Details of the VM to create as the target of this cutover job. oneof target_vm_details { // Output only. Details of the target VM in Compute Engine. - ComputeEngineTargetDetails compute_engine_target_details = 14 [(google.api.field_behavior) = OUTPUT_ONLY]; + ComputeEngineTargetDetails compute_engine_target_details = 14 + [(google.api.field_behavior) = OUTPUT_ONLY]; } - // Output only. The time the cutover job was created (as an API call, not when it was - // actually created in the target). - google.protobuf.Timestamp create_time = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; + // Output only. The time the cutover job was created (as an API call, not when + // it was actually created in the target). + google.protobuf.Timestamp create_time = 1 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. The time the cutover job had finished. + google.protobuf.Timestamp end_time = 16 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The name of the cutover job. string name = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; @@ -843,15 +938,18 @@ message CutoverJob { State state = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The time the state was last updated. - google.protobuf.Timestamp state_time = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp state_time = 6 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The current progress in percentage of the cutover job. int32 progress_percent = 13 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Output only. Provides details for the errors that led to the Cutover Job's state. + // Output only. Provides details for the errors that led to the Cutover Job's + // state. google.rpc.Status error = 9 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Output only. A message providing possible extra details about the current state. + // Output only. A message providing possible extra details about the current + // state. string state_message = 10 [(google.api.field_behavior) = OUTPUT_ONLY]; } @@ -899,9 +997,7 @@ message CancelCloneJobRequest { } // Response message for 'CancelCloneJob' request. -message CancelCloneJobResponse { - -} +message CancelCloneJobResponse {} // Request message for 'ListCloneJobsRequest' request. message ListCloneJobsRequest { @@ -913,10 +1009,10 @@ message ListCloneJobsRequest { } ]; - // Optional. The maximum number of clone jobs to return. The service may return - // fewer than this value. If unspecified, at most 500 clone jobs will be - // returned. The maximum value is 1000; values above 1000 will be coerced to - // 1000. + // Optional. The maximum number of clone jobs to return. The service may + // return fewer than this value. If unspecified, at most 500 clone jobs will + // be returned. The maximum value is 1000; values above 1000 will be coerced + // to 1000. int32 page_size = 2 [(google.api.field_behavior) = OPTIONAL]; // Required. A page token, received from a previous `ListCloneJobs` call. @@ -938,8 +1034,8 @@ message ListCloneJobsResponse { // Output only. The list of clone jobs response. repeated CloneJob clone_jobs = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Output only. A token, which can be sent as `page_token` to retrieve the next page. - // If this field is omitted, there are no subsequent pages. + // Output only. A token, which can be sent as `page_token` to retrieve the + // next page. If this field is omitted, there are no subsequent pages. string next_page_token = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Locations that could not be reached. @@ -974,10 +1070,12 @@ message Source { string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The create time timestamp. - google.protobuf.Timestamp create_time = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp create_time = 2 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The update time timestamp. - google.protobuf.Timestamp update_time = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp update_time = 3 + [(google.api.field_behavior) = OUTPUT_ONLY]; // The labels of the source. map labels = 4; @@ -992,8 +1090,8 @@ message VmwareSourceDetails { // The credentials username. string username = 1; - // Input only. The credentials password. This is write only and can not be read in a GET - // operation. + // Input only. The credentials password. This is write only and can not be + // read in a GET operation. string password = 2 [(google.api.field_behavior) = INPUT_ONLY]; // The ip address of the vcenter this Source represents. @@ -1033,19 +1131,21 @@ message DatacenterConnector { ACTIVE = 4; } - // Output only. The time the connector was created (as an API call, not when it was - // actually installed). - google.protobuf.Timestamp create_time = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; + // Output only. The time the connector was created (as an API call, not when + // it was actually installed). + google.protobuf.Timestamp create_time = 1 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The last time the connector was updated with an API call. - google.protobuf.Timestamp update_time = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp update_time = 2 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The connector's name. string name = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Immutable. A unique key for this connector. This key is internal to the OVA connector - // and is supplied with its creation during the registration process and can - // not be modified. + // Immutable. A unique key for this connector. This key is internal to the OVA + // connector and is supplied with its creation during the registration process + // and can not be modified. string registration_id = 12 [(google.api.field_behavior) = IMMUTABLE]; // The service account to use in the connector when communicating with the @@ -1056,18 +1156,101 @@ message DatacenterConnector { // connector during the registration process and can not be modified. string version = 6; - // Output only. The communication channel between the datacenter connector and GCP. + // Output only. The communication channel between the datacenter connector and + // GCP. string bucket = 10 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Output only. State of the DatacenterConnector, as determined by the health checks. + // Output only. State of the DatacenterConnector, as determined by the health + // checks. State state = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The time the state was last set. - google.protobuf.Timestamp state_time = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp state_time = 8 + [(google.api.field_behavior) = OUTPUT_ONLY]; - // Output only. Provides details on the state of the Datacenter Connector in case of an - // error. + // Output only. Provides details on the state of the Datacenter Connector in + // case of an error. google.rpc.Status error = 11 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Appliance OVA version. + // This is the OVA which is manually installed by the user and contains the + // infrastructure for the automatically updatable components on the appliance. + string appliance_infrastructure_version = 13 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Appliance last installed update bundle version. + // This is the version of the automatically updatable components on the + // appliance. + string appliance_software_version = 14 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. The available versions for updating this appliance. + AvailableUpdates available_versions = 15 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. The status of the current / last upgradeAppliance operation. + UpgradeStatus upgrade_status = 16 [(google.api.field_behavior) = OUTPUT_ONLY]; +} + +// UpgradeStatus contains information about upgradeAppliance operation. +message UpgradeStatus { + // The possible values of the state. + enum State { + // The state was not sampled by the health checks yet. + STATE_UNSPECIFIED = 0; + + // The upgrade has started. + RUNNING = 1; + + // The upgrade failed. + FAILED = 2; + + // The upgrade finished successfully. + SUCCEEDED = 3; + } + + // The version to upgrade to. + string version = 1; + + // The state of the upgradeAppliance operation. + State state = 2; + + // Provides details on the state of the upgrade operation in case of an error. + google.rpc.Status error = 3; + + // The time the operation was started. + google.protobuf.Timestamp start_time = 4; + + // The version from which we upgraded. + string previous_version = 5; +} + +// Holds informatiom about the available versions for upgrade. +message AvailableUpdates { + // The newest deployable version of the appliance. + // The current appliance can't be updated into this version, and the owner + // must manually deploy this OVA to a new appliance. + ApplianceVersion new_deployable_appliance = 1; + + // The latest version for in place update. + // The current appliance can be updated to this version using the API or m4c + // CLI. + ApplianceVersion in_place_update = 2; +} + +// Describes an appliance version. +message ApplianceVersion { + // The appliance version. + string version = 1; + + // A link for downloading the version. + string uri = 2; + + // Determine whether it's critical to upgrade the appliance to this version. + bool critical = 3; + + // Link to a page that contains the version release notes. + string release_notes_uri = 4; } // Request message for 'ListSources' request. @@ -1105,8 +1288,8 @@ message ListSourcesResponse { // Output only. The list of sources response. repeated Source sources = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Output only. A token, which can be sent as `page_token` to retrieve the next page. - // If this field is omitted, there are no subsequent pages. + // Output only. A token, which can be sent as `page_token` to retrieve the + // next page. If this field is omitted, there are no subsequent pages. string next_page_token = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Locations that could not be reached. @@ -1287,7 +1470,7 @@ message VmwareVmDetails { int64 committed_storage_mb = 12; // The VM's OS. See for example - // https://pubs.vmware.com/vi-sdk/visdk250/ReferenceGuide/vim.vm.GuestOsDescriptor.GuestOsIdentifier.html + // https://vdc-repo.vmware.com/vmwb-repository/dcr-public/da47f910-60ac-438b-8b9b-6122f4d14524/16b7274a-bf8b-4b4c-a05e-746f2aa93c8c/doc/vim.vm.GuestOsDescriptor.GuestOsIdentifier.html // for types of strings this might hold. string guest_description = 11; @@ -1305,13 +1488,14 @@ message VmwareVmsDetails { // [fetchInventory][google.cloud.vmmigration.v1.VmMigration.FetchInventory]. message FetchInventoryResponse { oneof SourceVms { - // Output only. The description of the VMs in a Source of type Vmware. - VmwareVmsDetails vmware_vms = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; + // The description of the VMs in a Source of type Vmware. + VmwareVmsDetails vmware_vms = 1; } - // Output only. The timestamp when the source was last queried (if the result is from the - // cache). - google.protobuf.Timestamp update_time = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; + // Output only. The timestamp when the source was last queried (if the result + // is from the cache). + google.protobuf.Timestamp update_time = 2 + [(google.api.field_behavior) = OUTPUT_ONLY]; } // Utilization report details the utilization (CPU, memory, etc.) of selected @@ -1362,23 +1546,27 @@ message UtilizationReport { State state = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The time the state was last set. - google.protobuf.Timestamp state_time = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp state_time = 4 + [(google.api.field_behavior) = OUTPUT_ONLY]; - // Output only. Provides details on the state of the report in case of an error. + // Output only. Provides details on the state of the report in case of an + // error. google.rpc.Status error = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Output only. The time the report was created (this refers to the time of the request, - // not the time the report creation completed). - google.protobuf.Timestamp create_time = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; + // Output only. The time the report was created (this refers to the time of + // the request, not the time the report creation completed). + google.protobuf.Timestamp create_time = 6 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Time frame of the report. TimeFrame time_frame = 7; - // Output only. The point in time when the time frame ends. Notice that the time - // frame is counted backwards. For instance if the "frame_end_time" value is - // 2021/01/20 and the time frame is WEEK then the report covers the week + // Output only. The point in time when the time frame ends. Notice that the + // time frame is counted backwards. For instance if the "frame_end_time" value + // is 2021/01/20 and the time frame is WEEK then the report covers the week // between 2021/01/20 and 2021/01/14. - google.protobuf.Timestamp frame_end_time = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp frame_end_time = 8 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Total number of VMs included in the report. int32 vm_count = 9 [(google.api.field_behavior) = OUTPUT_ONLY]; @@ -1453,8 +1641,8 @@ message ListUtilizationReportsRequest { // 1000. int32 page_size = 3 [(google.api.field_behavior) = OPTIONAL]; - // Required. A page token, received from a previous `ListUtilizationReports` call. - // Provide this to retrieve the subsequent page. + // Required. A page token, received from a previous `ListUtilizationReports` + // call. Provide this to retrieve the subsequent page. // // When paginating, all other parameters provided to `ListUtilizationReports` // must match the call that provided the page token. @@ -1470,10 +1658,11 @@ message ListUtilizationReportsRequest { // Response message for 'ListUtilizationReports' request. message ListUtilizationReportsResponse { // Output only. The list of reports. - repeated UtilizationReport utilization_reports = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; + repeated UtilizationReport utilization_reports = 1 + [(google.api.field_behavior) = OUTPUT_ONLY]; - // Output only. A token, which can be sent as `page_token` to retrieve the next page. - // If this field is omitted, there are no subsequent pages. + // Output only. A token, which can be sent as `page_token` to retrieve the + // next page. If this field is omitted, there are no subsequent pages. string next_page_token = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Locations that could not be reached. @@ -1506,10 +1695,11 @@ message CreateUtilizationReportRequest { ]; // Required. The report to create. - UtilizationReport utilization_report = 2 [(google.api.field_behavior) = REQUIRED]; + UtilizationReport utilization_report = 2 + [(google.api.field_behavior) = REQUIRED]; - // Required. The ID to use for the report, which will become the final component of - // the reports's resource name. + // Required. The ID to use for the report, which will become the final + // component of the reports's resource name. // // This value maximum length is 63 characters, and valid characters // are /[a-z][0-9]-/. It must start with an english letter and must not @@ -1561,10 +1751,11 @@ message DeleteUtilizationReportRequest { // Response message for 'ListDatacenterConnectors' request. message ListDatacenterConnectorsResponse { // Output only. The list of sources response. - repeated DatacenterConnector datacenter_connectors = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; + repeated DatacenterConnector datacenter_connectors = 1 + [(google.api.field_behavior) = OUTPUT_ONLY]; - // Output only. A token, which can be sent as `page_token` to retrieve the next page. - // If this field is omitted, there are no subsequent pages. + // Output only. A token, which can be sent as `page_token` to retrieve the + // next page. If this field is omitted, there are no subsequent pages. string next_page_token = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Locations that could not be reached. @@ -1599,7 +1790,8 @@ message CreateDatacenterConnectorRequest { string datacenter_connector_id = 2 [(google.api.field_behavior) = REQUIRED]; // Required. The create request body. - DatacenterConnector datacenter_connector = 3 [(google.api.field_behavior) = REQUIRED]; + DatacenterConnector datacenter_connector = 3 + [(google.api.field_behavior) = REQUIRED]; // A request ID to identify requests. Specify a unique request ID // so that if you must retry your request, the server will know to ignore @@ -1643,6 +1835,35 @@ message DeleteDatacenterConnectorRequest { string request_id = 2; } +// Request message for 'UpgradeAppliance' request. +message UpgradeApplianceRequest { + // Required. The DatacenterConnector name. + string datacenter_connector = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "vmmigration.googleapis.com/DatacenterConnector" + } + ]; + + // A request ID to identify requests. Specify a unique request ID + // so that if you must retry your request, the server will know to ignore + // the request if it has already been completed. The server will guarantee + // that for at least 60 minutes after the first request. + // + // For example, consider a situation where you make an initial request and t + // he request times out. If you make the request again with the same request + // ID, the server can check if original operation with the same request ID + // was received, and if so, will ignore the second request. This prevents + // clients from accidentally creating duplicate commitments. + // + // The request ID must be a valid UUID with the exception that zero UUID is + // not supported (00000000-0000-0000-0000-000000000000). + string request_id = 2; +} + +// Response message for 'UpgradeAppliance' request. +message UpgradeApplianceResponse {} + // Request message for 'ListDatacenterConnectors' request. message ListDatacenterConnectorsRequest { // Required. The parent, which owns this collection of connectors. @@ -1653,14 +1874,14 @@ message ListDatacenterConnectorsRequest { } ]; - // Optional. The maximum number of connectors to return. The service may return - // fewer than this value. If unspecified, at most 500 sources will be + // Optional. The maximum number of connectors to return. The service may + // return fewer than this value. If unspecified, at most 500 sources will be // returned. The maximum value is 1000; values above 1000 will be coerced to // 1000. int32 page_size = 2 [(google.api.field_behavior) = OPTIONAL]; - // Required. A page token, received from a previous `ListDatacenterConnectors` call. - // Provide this to retrieve the subsequent page. + // Required. A page token, received from a previous `ListDatacenterConnectors` + // call. Provide this to retrieve the subsequent page. // // When paginating, all other parameters provided to // `ListDatacenterConnectors` must match the call that provided the page @@ -1683,8 +1904,8 @@ message ComputeEngineTargetDefaults { // The full path of the resource of type TargetProject which represents the // Compute Engine project in which to create this VM. string target_project = 2 [(google.api.resource_reference) = { - type: "vmmigration.googleapis.com/TargetProject" - }]; + type: "vmmigration.googleapis.com/TargetProject" + }]; // The zone in which to create the VM. string zone = 3; @@ -1714,7 +1935,8 @@ message ComputeEngineTargetDefaults { ComputeEngineLicenseType license_type = 11; // Output only. The OS license returned from the adaptation module report. - AppliedLicense applied_license = 12 [(google.api.field_behavior) = OUTPUT_ONLY]; + AppliedLicense applied_license = 12 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Compute instance scheduling information (if empty default is used). ComputeScheduling compute_scheduling = 13; @@ -1724,10 +1946,17 @@ message ComputeEngineTargetDefaults { bool secure_boot = 14; // Output only. The VM Boot Option, as set in the source vm. - ComputeEngineBootOption boot_option = 15 [(google.api.field_behavior) = OUTPUT_ONLY]; + ComputeEngineBootOption boot_option = 15 + [(google.api.field_behavior) = OUTPUT_ONLY]; // The metadata key/value pairs to assign to the VM. map metadata = 16; + + // Additional licenses to assign to the VM. + repeated string additional_licenses = 17; + + // The hostname to assign to the VM. + string hostname = 18; } // ComputeEngineTargetDetails is a collection of details for creating a VM in a @@ -1781,6 +2010,12 @@ message ComputeEngineTargetDetails { // The metadata key/value pairs to assign to the VM. map metadata = 16; + + // Additional licenses to assign to the VM. + repeated string additional_licenses = 17; + + // The hostname to assign to the VM. + string hostname = 18; } // NetworkInterface represents a NIC of a VM. @@ -1956,10 +2191,10 @@ message ListMigratingVmsRequest { } ]; - // Optional. The maximum number of migrating VMs to return. The service may return - // fewer than this value. If unspecified, at most 500 migrating VMs will be - // returned. The maximum value is 1000; values above 1000 will be coerced to - // 1000. + // Optional. The maximum number of migrating VMs to return. The service may + // return fewer than this value. If unspecified, at most 500 migrating VMs + // will be returned. The maximum value is 1000; values above 1000 will be + // coerced to 1000. int32 page_size = 2 [(google.api.field_behavior) = OPTIONAL]; // Required. A page token, received from a previous `ListMigratingVms` call. @@ -1974,15 +2209,19 @@ message ListMigratingVmsRequest { // Optional. the order by fields for the result. string order_by = 5 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. The level of details of each migrating VM. + MigratingVmView view = 6 [(google.api.field_behavior) = OPTIONAL]; } // Response message for 'ListMigratingVms' request. message ListMigratingVmsResponse { // Output only. The list of Migrating VMs response. - repeated MigratingVm migrating_vms = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; + repeated MigratingVm migrating_vms = 1 + [(google.api.field_behavior) = OUTPUT_ONLY]; - // Output only. A token, which can be sent as `page_token` to retrieve the next page. - // If this field is omitted, there are no subsequent pages. + // Output only. A token, which can be sent as `page_token` to retrieve the + // next page. If this field is omitted, there are no subsequent pages. string next_page_token = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Locations that could not be reached. @@ -1998,6 +2237,9 @@ message GetMigratingVmRequest { type: "vmmigration.googleapis.com/MigratingVm" } ]; + + // Optional. The level of details of the migrating VM. + MigratingVmView view = 2 [(google.api.field_behavior) = OPTIONAL]; } // Request message for 'UpdateMigratingVm' request. @@ -2051,9 +2293,7 @@ message StartMigrationRequest { } // Response message for 'StartMigration' request. -message StartMigrationResponse { - -} +message StartMigrationResponse {} // Request message for 'PauseMigration' request. message PauseMigrationRequest { @@ -2067,9 +2307,7 @@ message PauseMigrationRequest { } // Response message for 'PauseMigration' request. -message PauseMigrationResponse { - -} +message PauseMigrationResponse {} // Request message for 'ResumeMigration' request. message ResumeMigrationRequest { @@ -2083,9 +2321,7 @@ message ResumeMigrationRequest { } // Response message for 'ResumeMigration' request. -message ResumeMigrationResponse { - -} +message ResumeMigrationResponse {} // Request message for 'FinalizeMigration' request. message FinalizeMigrationRequest { @@ -2099,9 +2335,7 @@ message FinalizeMigrationRequest { } // Response message for 'FinalizeMigration' request. -message FinalizeMigrationResponse { - -} +message FinalizeMigrationResponse {} // TargetProject message represents a target Compute Engine project for a // migration or a clone. @@ -2111,8 +2345,8 @@ message TargetProject { pattern: "projects/{project}/locations/{location}/targetProjects/{target_project}" }; - // The name of the target project. - string name = 1; + // Output only. The name of the target project. + string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; // The target project ID (number) or project name. string project = 2; @@ -2120,12 +2354,14 @@ message TargetProject { // The target project's description. string description = 3; - // Output only. The time this target project resource was created (not related to when the - // Compute Engine project it points to was created). - google.protobuf.Timestamp create_time = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; + // Output only. The time this target project resource was created (not related + // to when the Compute Engine project it points to was created). + google.protobuf.Timestamp create_time = 4 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The last time the target project resource was updated. - google.protobuf.Timestamp update_time = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp update_time = 5 + [(google.api.field_behavior) = OUTPUT_ONLY]; } // Request message for 'GetTargetProject' call. @@ -2172,10 +2408,11 @@ message ListTargetProjectsRequest { // Response message for 'ListTargetProjects' call. message ListTargetProjectsResponse { // Output only. The list of target response. - repeated TargetProject target_projects = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; + repeated TargetProject target_projects = 1 + [(google.api.field_behavior) = OUTPUT_ONLY]; - // Output only. A token, which can be sent as `page_token` to retrieve the next page. - // If this field is omitted, there are no subsequent pages. + // Output only. A token, which can be sent as `page_token` to retrieve the + // next page. If this field is omitted, there are no subsequent pages. string next_page_token = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Locations that could not be reached. @@ -2276,14 +2513,16 @@ message Group { pattern: "projects/{project}/locations/{location}/groups/{group}" }; - // The Group name. - string name = 1; + // Output only. The Group name. + string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The create time timestamp. - google.protobuf.Timestamp create_time = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp create_time = 2 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The update time timestamp. - google.protobuf.Timestamp update_time = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp update_time = 3 + [(google.api.field_behavior) = OUTPUT_ONLY]; // User-provided description of the group. string description = 4; @@ -2327,8 +2566,8 @@ message ListGroupsResponse { // Output only. The list of groups response. repeated Group groups = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Output only. A token, which can be sent as `page_token` to retrieve the next page. - // If this field is omitted, there are no subsequent pages. + // Output only. A token, which can be sent as `page_token` to retrieve the + // next page. If this field is omitted, there are no subsequent pages. string next_page_token = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Locations that could not be reached. @@ -2444,14 +2683,12 @@ message AddGroupMigrationRequest { // The full path name of the MigratingVm to add. string migrating_vm = 2 [(google.api.resource_reference) = { - type: "vmmigration.googleapis.com/MigratingVm" - }]; + type: "vmmigration.googleapis.com/MigratingVm" + }]; } // Response message for 'AddGroupMigration' request. -message AddGroupMigrationResponse { - -} +message AddGroupMigrationResponse {} // Request message for 'RemoveMigration' request. message RemoveGroupMigrationRequest { @@ -2465,14 +2702,12 @@ message RemoveGroupMigrationRequest { // The MigratingVm to remove. string migrating_vm = 2 [(google.api.resource_reference) = { - type: "vmmigration.googleapis.com/MigratingVm" - }]; + type: "vmmigration.googleapis.com/MigratingVm" + }]; } // Response message for 'RemoveMigration' request. -message RemoveGroupMigrationResponse { - -} +message RemoveGroupMigrationResponse {} // Request message for 'CreateCutoverJob' request. message CreateCutoverJobRequest { @@ -2518,9 +2753,7 @@ message CancelCutoverJobRequest { } // Response message for 'CancelCutoverJob' request. -message CancelCutoverJobResponse { - -} +message CancelCutoverJobResponse {} // Request message for 'ListCutoverJobsRequest' request. message ListCutoverJobsRequest { @@ -2532,10 +2765,10 @@ message ListCutoverJobsRequest { } ]; - // Optional. The maximum number of cutover jobs to return. The service may return - // fewer than this value. If unspecified, at most 500 cutover jobs will be - // returned. The maximum value is 1000; values above 1000 will be coerced to - // 1000. + // Optional. The maximum number of cutover jobs to return. The service may + // return fewer than this value. If unspecified, at most 500 cutover jobs will + // be returned. The maximum value is 1000; values above 1000 will be coerced + // to 1000. int32 page_size = 2 [(google.api.field_behavior) = OPTIONAL]; // Required. A page token, received from a previous `ListCutoverJobs` call. @@ -2555,10 +2788,11 @@ message ListCutoverJobsRequest { // Response message for 'ListCutoverJobs' request. message ListCutoverJobsResponse { // Output only. The list of cutover jobs response. - repeated CutoverJob cutover_jobs = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; + repeated CutoverJob cutover_jobs = 1 + [(google.api.field_behavior) = OUTPUT_ONLY]; - // Output only. A token, which can be sent as `page_token` to retrieve the next page. - // If this field is omitted, there are no subsequent pages. + // Output only. A token, which can be sent as `page_token` to retrieve the + // next page. If this field is omitted, there are no subsequent pages. string next_page_token = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Locations that could not be reached. @@ -2579,10 +2813,12 @@ message GetCutoverJobRequest { // Represents the metadata of the long-running operation. message OperationMetadata { // Output only. The time the operation was created. - google.protobuf.Timestamp create_time = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp create_time = 1 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The time the operation finished running. - google.protobuf.Timestamp end_time = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp end_time = 2 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Server-defined resource path for the target of the operation. string target = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; @@ -2595,8 +2831,9 @@ message OperationMetadata { // Output only. Identifies whether the user has requested cancellation // of the operation. Operations that have successfully been cancelled - // have [Operation.error][] value with a [google.rpc.Status.code][google.rpc.Status.code] of 1, - // corresponding to `Code.CANCELLED`. + // have [Operation.error][] value with a + // [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding to + // `Code.CANCELLED`. bool requested_cancellation = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. API version used to start the operation. @@ -2637,20 +2874,28 @@ message MigrationError { // Migrate for Compute encountered an error during utilization report // creation. UTILIZATION_REPORT_ERROR = 8; + + // Migrate for Compute encountered an error during appliance upgrade. + APPLIANCE_UPGRADE_ERROR = 9; } // Output only. The error code. ErrorCode code = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The localized error message. - google.rpc.LocalizedMessage error_message = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.rpc.LocalizedMessage error_message = 2 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Suggested action for solving the error. - google.rpc.LocalizedMessage action_item = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.rpc.LocalizedMessage action_item = 3 + [(google.api.field_behavior) = OUTPUT_ONLY]; - // Output only. URL(s) pointing to additional information on handling the current error. - repeated google.rpc.Help.Link help_links = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; + // Output only. URL(s) pointing to additional information on handling the + // current error. + repeated google.rpc.Help.Link help_links = 4 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The time the error occurred. - google.protobuf.Timestamp error_time = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp error_time = 5 + [(google.api.field_behavior) = OUTPUT_ONLY]; } diff --git a/samples/snippets/generated/com/google/cloud/vmmigration/v1/stub/vmmigrationstubsettings/getsource/SyncGetSource.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/stub/vmmigrationstubsettings/getsource/SyncGetSource.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/vmmigration/v1/stub/vmmigrationstubsettings/getsource/SyncGetSource.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/stub/vmmigrationstubsettings/getsource/SyncGetSource.java diff --git a/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/addgroupmigration/AsyncAddGroupMigration.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/addgroupmigration/AsyncAddGroupMigration.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/addgroupmigration/AsyncAddGroupMigration.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/addgroupmigration/AsyncAddGroupMigration.java diff --git a/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/addgroupmigration/AsyncAddGroupMigrationLRO.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/addgroupmigration/AsyncAddGroupMigrationLRO.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/addgroupmigration/AsyncAddGroupMigrationLRO.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/addgroupmigration/AsyncAddGroupMigrationLRO.java diff --git a/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/addgroupmigration/SyncAddGroupMigration.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/addgroupmigration/SyncAddGroupMigration.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/addgroupmigration/SyncAddGroupMigration.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/addgroupmigration/SyncAddGroupMigration.java diff --git a/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/addgroupmigration/SyncAddGroupMigrationGroupname.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/addgroupmigration/SyncAddGroupMigrationGroupname.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/addgroupmigration/SyncAddGroupMigrationGroupname.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/addgroupmigration/SyncAddGroupMigrationGroupname.java diff --git a/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/addgroupmigration/SyncAddGroupMigrationString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/addgroupmigration/SyncAddGroupMigrationString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/addgroupmigration/SyncAddGroupMigrationString.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/addgroupmigration/SyncAddGroupMigrationString.java diff --git a/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/cancelclonejob/AsyncCancelCloneJob.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/cancelclonejob/AsyncCancelCloneJob.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/cancelclonejob/AsyncCancelCloneJob.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/cancelclonejob/AsyncCancelCloneJob.java diff --git a/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/cancelclonejob/AsyncCancelCloneJobLRO.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/cancelclonejob/AsyncCancelCloneJobLRO.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/cancelclonejob/AsyncCancelCloneJobLRO.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/cancelclonejob/AsyncCancelCloneJobLRO.java diff --git a/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/cancelclonejob/SyncCancelCloneJob.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/cancelclonejob/SyncCancelCloneJob.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/cancelclonejob/SyncCancelCloneJob.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/cancelclonejob/SyncCancelCloneJob.java diff --git a/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/cancelclonejob/SyncCancelCloneJobClonejobname.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/cancelclonejob/SyncCancelCloneJobClonejobname.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/cancelclonejob/SyncCancelCloneJobClonejobname.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/cancelclonejob/SyncCancelCloneJobClonejobname.java diff --git a/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/cancelclonejob/SyncCancelCloneJobString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/cancelclonejob/SyncCancelCloneJobString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/cancelclonejob/SyncCancelCloneJobString.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/cancelclonejob/SyncCancelCloneJobString.java diff --git a/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/cancelcutoverjob/AsyncCancelCutoverJob.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/cancelcutoverjob/AsyncCancelCutoverJob.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/cancelcutoverjob/AsyncCancelCutoverJob.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/cancelcutoverjob/AsyncCancelCutoverJob.java diff --git a/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/cancelcutoverjob/AsyncCancelCutoverJobLRO.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/cancelcutoverjob/AsyncCancelCutoverJobLRO.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/cancelcutoverjob/AsyncCancelCutoverJobLRO.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/cancelcutoverjob/AsyncCancelCutoverJobLRO.java diff --git a/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/cancelcutoverjob/SyncCancelCutoverJob.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/cancelcutoverjob/SyncCancelCutoverJob.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/cancelcutoverjob/SyncCancelCutoverJob.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/cancelcutoverjob/SyncCancelCutoverJob.java diff --git a/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/cancelcutoverjob/SyncCancelCutoverJobCutoverjobname.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/cancelcutoverjob/SyncCancelCutoverJobCutoverjobname.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/cancelcutoverjob/SyncCancelCutoverJobCutoverjobname.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/cancelcutoverjob/SyncCancelCutoverJobCutoverjobname.java diff --git a/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/cancelcutoverjob/SyncCancelCutoverJobString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/cancelcutoverjob/SyncCancelCutoverJobString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/cancelcutoverjob/SyncCancelCutoverJobString.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/cancelcutoverjob/SyncCancelCutoverJobString.java diff --git a/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/create/SyncCreateSetCredentialsProvider.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/create/SyncCreateSetCredentialsProvider.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/create/SyncCreateSetCredentialsProvider.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/create/SyncCreateSetCredentialsProvider.java diff --git a/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/create/SyncCreateSetCredentialsProvider1.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/create/SyncCreateSetCredentialsProvider1.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/create/SyncCreateSetCredentialsProvider1.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/create/SyncCreateSetCredentialsProvider1.java diff --git a/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/create/SyncCreateSetEndpoint.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/create/SyncCreateSetEndpoint.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/create/SyncCreateSetEndpoint.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/create/SyncCreateSetEndpoint.java diff --git a/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createclonejob/AsyncCreateCloneJob.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createclonejob/AsyncCreateCloneJob.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createclonejob/AsyncCreateCloneJob.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createclonejob/AsyncCreateCloneJob.java diff --git a/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createclonejob/AsyncCreateCloneJobLRO.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createclonejob/AsyncCreateCloneJobLRO.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createclonejob/AsyncCreateCloneJobLRO.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createclonejob/AsyncCreateCloneJobLRO.java diff --git a/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createclonejob/SyncCreateCloneJob.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createclonejob/SyncCreateCloneJob.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createclonejob/SyncCreateCloneJob.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createclonejob/SyncCreateCloneJob.java diff --git a/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createclonejob/SyncCreateCloneJobMigratingvmnameClonejobString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createclonejob/SyncCreateCloneJobMigratingvmnameClonejobString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createclonejob/SyncCreateCloneJobMigratingvmnameClonejobString.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createclonejob/SyncCreateCloneJobMigratingvmnameClonejobString.java diff --git a/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createclonejob/SyncCreateCloneJobStringClonejobString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createclonejob/SyncCreateCloneJobStringClonejobString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createclonejob/SyncCreateCloneJobStringClonejobString.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createclonejob/SyncCreateCloneJobStringClonejobString.java diff --git a/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createcutoverjob/AsyncCreateCutoverJob.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createcutoverjob/AsyncCreateCutoverJob.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createcutoverjob/AsyncCreateCutoverJob.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createcutoverjob/AsyncCreateCutoverJob.java diff --git a/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createcutoverjob/AsyncCreateCutoverJobLRO.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createcutoverjob/AsyncCreateCutoverJobLRO.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createcutoverjob/AsyncCreateCutoverJobLRO.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createcutoverjob/AsyncCreateCutoverJobLRO.java diff --git a/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createcutoverjob/SyncCreateCutoverJob.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createcutoverjob/SyncCreateCutoverJob.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createcutoverjob/SyncCreateCutoverJob.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createcutoverjob/SyncCreateCutoverJob.java diff --git a/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createcutoverjob/SyncCreateCutoverJobMigratingvmnameCutoverjobString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createcutoverjob/SyncCreateCutoverJobMigratingvmnameCutoverjobString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createcutoverjob/SyncCreateCutoverJobMigratingvmnameCutoverjobString.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createcutoverjob/SyncCreateCutoverJobMigratingvmnameCutoverjobString.java diff --git a/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createcutoverjob/SyncCreateCutoverJobStringCutoverjobString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createcutoverjob/SyncCreateCutoverJobStringCutoverjobString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createcutoverjob/SyncCreateCutoverJobStringCutoverjobString.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createcutoverjob/SyncCreateCutoverJobStringCutoverjobString.java diff --git a/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createdatacenterconnector/AsyncCreateDatacenterConnector.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createdatacenterconnector/AsyncCreateDatacenterConnector.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createdatacenterconnector/AsyncCreateDatacenterConnector.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createdatacenterconnector/AsyncCreateDatacenterConnector.java diff --git a/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createdatacenterconnector/AsyncCreateDatacenterConnectorLRO.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createdatacenterconnector/AsyncCreateDatacenterConnectorLRO.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createdatacenterconnector/AsyncCreateDatacenterConnectorLRO.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createdatacenterconnector/AsyncCreateDatacenterConnectorLRO.java diff --git a/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createdatacenterconnector/SyncCreateDatacenterConnector.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createdatacenterconnector/SyncCreateDatacenterConnector.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createdatacenterconnector/SyncCreateDatacenterConnector.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createdatacenterconnector/SyncCreateDatacenterConnector.java diff --git a/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createdatacenterconnector/SyncCreateDatacenterConnectorSourcenameDatacenterconnectorString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createdatacenterconnector/SyncCreateDatacenterConnectorSourcenameDatacenterconnectorString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createdatacenterconnector/SyncCreateDatacenterConnectorSourcenameDatacenterconnectorString.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createdatacenterconnector/SyncCreateDatacenterConnectorSourcenameDatacenterconnectorString.java diff --git a/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createdatacenterconnector/SyncCreateDatacenterConnectorStringDatacenterconnectorString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createdatacenterconnector/SyncCreateDatacenterConnectorStringDatacenterconnectorString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createdatacenterconnector/SyncCreateDatacenterConnectorStringDatacenterconnectorString.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createdatacenterconnector/SyncCreateDatacenterConnectorStringDatacenterconnectorString.java diff --git a/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/creategroup/AsyncCreateGroup.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/creategroup/AsyncCreateGroup.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/creategroup/AsyncCreateGroup.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/creategroup/AsyncCreateGroup.java diff --git a/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/creategroup/AsyncCreateGroupLRO.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/creategroup/AsyncCreateGroupLRO.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/creategroup/AsyncCreateGroupLRO.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/creategroup/AsyncCreateGroupLRO.java diff --git a/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/creategroup/SyncCreateGroup.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/creategroup/SyncCreateGroup.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/creategroup/SyncCreateGroup.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/creategroup/SyncCreateGroup.java diff --git a/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/creategroup/SyncCreateGroupLocationnameGroupString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/creategroup/SyncCreateGroupLocationnameGroupString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/creategroup/SyncCreateGroupLocationnameGroupString.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/creategroup/SyncCreateGroupLocationnameGroupString.java diff --git a/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/creategroup/SyncCreateGroupStringGroupString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/creategroup/SyncCreateGroupStringGroupString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/creategroup/SyncCreateGroupStringGroupString.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/creategroup/SyncCreateGroupStringGroupString.java diff --git a/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createmigratingvm/AsyncCreateMigratingVm.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createmigratingvm/AsyncCreateMigratingVm.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createmigratingvm/AsyncCreateMigratingVm.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createmigratingvm/AsyncCreateMigratingVm.java diff --git a/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createmigratingvm/AsyncCreateMigratingVmLRO.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createmigratingvm/AsyncCreateMigratingVmLRO.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createmigratingvm/AsyncCreateMigratingVmLRO.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createmigratingvm/AsyncCreateMigratingVmLRO.java diff --git a/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createmigratingvm/SyncCreateMigratingVm.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createmigratingvm/SyncCreateMigratingVm.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createmigratingvm/SyncCreateMigratingVm.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createmigratingvm/SyncCreateMigratingVm.java diff --git a/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createmigratingvm/SyncCreateMigratingVmSourcenameMigratingvmString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createmigratingvm/SyncCreateMigratingVmSourcenameMigratingvmString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createmigratingvm/SyncCreateMigratingVmSourcenameMigratingvmString.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createmigratingvm/SyncCreateMigratingVmSourcenameMigratingvmString.java diff --git a/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createmigratingvm/SyncCreateMigratingVmStringMigratingvmString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createmigratingvm/SyncCreateMigratingVmStringMigratingvmString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createmigratingvm/SyncCreateMigratingVmStringMigratingvmString.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createmigratingvm/SyncCreateMigratingVmStringMigratingvmString.java diff --git a/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createsource/AsyncCreateSource.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createsource/AsyncCreateSource.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createsource/AsyncCreateSource.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createsource/AsyncCreateSource.java diff --git a/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createsource/AsyncCreateSourceLRO.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createsource/AsyncCreateSourceLRO.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createsource/AsyncCreateSourceLRO.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createsource/AsyncCreateSourceLRO.java diff --git a/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createsource/SyncCreateSource.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createsource/SyncCreateSource.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createsource/SyncCreateSource.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createsource/SyncCreateSource.java diff --git a/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createsource/SyncCreateSourceLocationnameSourceString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createsource/SyncCreateSourceLocationnameSourceString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createsource/SyncCreateSourceLocationnameSourceString.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createsource/SyncCreateSourceLocationnameSourceString.java diff --git a/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createsource/SyncCreateSourceStringSourceString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createsource/SyncCreateSourceStringSourceString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createsource/SyncCreateSourceStringSourceString.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createsource/SyncCreateSourceStringSourceString.java diff --git a/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createtargetproject/AsyncCreateTargetProject.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createtargetproject/AsyncCreateTargetProject.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createtargetproject/AsyncCreateTargetProject.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createtargetproject/AsyncCreateTargetProject.java diff --git a/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createtargetproject/AsyncCreateTargetProjectLRO.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createtargetproject/AsyncCreateTargetProjectLRO.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createtargetproject/AsyncCreateTargetProjectLRO.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createtargetproject/AsyncCreateTargetProjectLRO.java diff --git a/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createtargetproject/SyncCreateTargetProject.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createtargetproject/SyncCreateTargetProject.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createtargetproject/SyncCreateTargetProject.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createtargetproject/SyncCreateTargetProject.java diff --git a/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createtargetproject/SyncCreateTargetProjectLocationnameTargetprojectString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createtargetproject/SyncCreateTargetProjectLocationnameTargetprojectString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createtargetproject/SyncCreateTargetProjectLocationnameTargetprojectString.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createtargetproject/SyncCreateTargetProjectLocationnameTargetprojectString.java diff --git a/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createtargetproject/SyncCreateTargetProjectStringTargetprojectString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createtargetproject/SyncCreateTargetProjectStringTargetprojectString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createtargetproject/SyncCreateTargetProjectStringTargetprojectString.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createtargetproject/SyncCreateTargetProjectStringTargetprojectString.java diff --git a/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createutilizationreport/AsyncCreateUtilizationReport.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createutilizationreport/AsyncCreateUtilizationReport.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createutilizationreport/AsyncCreateUtilizationReport.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createutilizationreport/AsyncCreateUtilizationReport.java diff --git a/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createutilizationreport/AsyncCreateUtilizationReportLRO.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createutilizationreport/AsyncCreateUtilizationReportLRO.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createutilizationreport/AsyncCreateUtilizationReportLRO.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createutilizationreport/AsyncCreateUtilizationReportLRO.java diff --git a/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createutilizationreport/SyncCreateUtilizationReport.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createutilizationreport/SyncCreateUtilizationReport.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createutilizationreport/SyncCreateUtilizationReport.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createutilizationreport/SyncCreateUtilizationReport.java diff --git a/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createutilizationreport/SyncCreateUtilizationReportSourcenameUtilizationreportString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createutilizationreport/SyncCreateUtilizationReportSourcenameUtilizationreportString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createutilizationreport/SyncCreateUtilizationReportSourcenameUtilizationreportString.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createutilizationreport/SyncCreateUtilizationReportSourcenameUtilizationreportString.java diff --git a/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createutilizationreport/SyncCreateUtilizationReportStringUtilizationreportString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createutilizationreport/SyncCreateUtilizationReportStringUtilizationreportString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createutilizationreport/SyncCreateUtilizationReportStringUtilizationreportString.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createutilizationreport/SyncCreateUtilizationReportStringUtilizationreportString.java diff --git a/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletedatacenterconnector/AsyncDeleteDatacenterConnector.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletedatacenterconnector/AsyncDeleteDatacenterConnector.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletedatacenterconnector/AsyncDeleteDatacenterConnector.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletedatacenterconnector/AsyncDeleteDatacenterConnector.java diff --git a/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletedatacenterconnector/AsyncDeleteDatacenterConnectorLRO.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletedatacenterconnector/AsyncDeleteDatacenterConnectorLRO.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletedatacenterconnector/AsyncDeleteDatacenterConnectorLRO.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletedatacenterconnector/AsyncDeleteDatacenterConnectorLRO.java diff --git a/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletedatacenterconnector/SyncDeleteDatacenterConnector.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletedatacenterconnector/SyncDeleteDatacenterConnector.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletedatacenterconnector/SyncDeleteDatacenterConnector.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletedatacenterconnector/SyncDeleteDatacenterConnector.java diff --git a/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletedatacenterconnector/SyncDeleteDatacenterConnectorDatacenterconnectorname.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletedatacenterconnector/SyncDeleteDatacenterConnectorDatacenterconnectorname.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletedatacenterconnector/SyncDeleteDatacenterConnectorDatacenterconnectorname.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletedatacenterconnector/SyncDeleteDatacenterConnectorDatacenterconnectorname.java diff --git a/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletedatacenterconnector/SyncDeleteDatacenterConnectorString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletedatacenterconnector/SyncDeleteDatacenterConnectorString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletedatacenterconnector/SyncDeleteDatacenterConnectorString.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletedatacenterconnector/SyncDeleteDatacenterConnectorString.java diff --git a/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletegroup/AsyncDeleteGroup.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletegroup/AsyncDeleteGroup.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletegroup/AsyncDeleteGroup.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletegroup/AsyncDeleteGroup.java diff --git a/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletegroup/AsyncDeleteGroupLRO.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletegroup/AsyncDeleteGroupLRO.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletegroup/AsyncDeleteGroupLRO.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletegroup/AsyncDeleteGroupLRO.java diff --git a/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletegroup/SyncDeleteGroup.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletegroup/SyncDeleteGroup.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletegroup/SyncDeleteGroup.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletegroup/SyncDeleteGroup.java diff --git a/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletegroup/SyncDeleteGroupGroupname.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletegroup/SyncDeleteGroupGroupname.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletegroup/SyncDeleteGroupGroupname.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletegroup/SyncDeleteGroupGroupname.java diff --git a/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletegroup/SyncDeleteGroupString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletegroup/SyncDeleteGroupString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletegroup/SyncDeleteGroupString.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletegroup/SyncDeleteGroupString.java diff --git a/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletemigratingvm/AsyncDeleteMigratingVm.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletemigratingvm/AsyncDeleteMigratingVm.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletemigratingvm/AsyncDeleteMigratingVm.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletemigratingvm/AsyncDeleteMigratingVm.java diff --git a/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletemigratingvm/AsyncDeleteMigratingVmLRO.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletemigratingvm/AsyncDeleteMigratingVmLRO.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletemigratingvm/AsyncDeleteMigratingVmLRO.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletemigratingvm/AsyncDeleteMigratingVmLRO.java diff --git a/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletemigratingvm/SyncDeleteMigratingVm.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletemigratingvm/SyncDeleteMigratingVm.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletemigratingvm/SyncDeleteMigratingVm.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletemigratingvm/SyncDeleteMigratingVm.java diff --git a/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletemigratingvm/SyncDeleteMigratingVmMigratingvmname.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletemigratingvm/SyncDeleteMigratingVmMigratingvmname.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletemigratingvm/SyncDeleteMigratingVmMigratingvmname.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletemigratingvm/SyncDeleteMigratingVmMigratingvmname.java diff --git a/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletemigratingvm/SyncDeleteMigratingVmString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletemigratingvm/SyncDeleteMigratingVmString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletemigratingvm/SyncDeleteMigratingVmString.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletemigratingvm/SyncDeleteMigratingVmString.java diff --git a/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletesource/AsyncDeleteSource.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletesource/AsyncDeleteSource.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletesource/AsyncDeleteSource.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletesource/AsyncDeleteSource.java diff --git a/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletesource/AsyncDeleteSourceLRO.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletesource/AsyncDeleteSourceLRO.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletesource/AsyncDeleteSourceLRO.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletesource/AsyncDeleteSourceLRO.java diff --git a/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletesource/SyncDeleteSource.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletesource/SyncDeleteSource.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletesource/SyncDeleteSource.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletesource/SyncDeleteSource.java diff --git a/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletesource/SyncDeleteSourceSourcename.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletesource/SyncDeleteSourceSourcename.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletesource/SyncDeleteSourceSourcename.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletesource/SyncDeleteSourceSourcename.java diff --git a/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletesource/SyncDeleteSourceString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletesource/SyncDeleteSourceString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletesource/SyncDeleteSourceString.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletesource/SyncDeleteSourceString.java diff --git a/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletetargetproject/AsyncDeleteTargetProject.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletetargetproject/AsyncDeleteTargetProject.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletetargetproject/AsyncDeleteTargetProject.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletetargetproject/AsyncDeleteTargetProject.java diff --git a/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletetargetproject/AsyncDeleteTargetProjectLRO.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletetargetproject/AsyncDeleteTargetProjectLRO.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletetargetproject/AsyncDeleteTargetProjectLRO.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletetargetproject/AsyncDeleteTargetProjectLRO.java diff --git a/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletetargetproject/SyncDeleteTargetProject.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletetargetproject/SyncDeleteTargetProject.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletetargetproject/SyncDeleteTargetProject.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletetargetproject/SyncDeleteTargetProject.java diff --git a/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletetargetproject/SyncDeleteTargetProjectString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletetargetproject/SyncDeleteTargetProjectString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletetargetproject/SyncDeleteTargetProjectString.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletetargetproject/SyncDeleteTargetProjectString.java diff --git a/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletetargetproject/SyncDeleteTargetProjectTargetprojectname.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletetargetproject/SyncDeleteTargetProjectTargetprojectname.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletetargetproject/SyncDeleteTargetProjectTargetprojectname.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletetargetproject/SyncDeleteTargetProjectTargetprojectname.java diff --git a/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deleteutilizationreport/AsyncDeleteUtilizationReport.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deleteutilizationreport/AsyncDeleteUtilizationReport.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deleteutilizationreport/AsyncDeleteUtilizationReport.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deleteutilizationreport/AsyncDeleteUtilizationReport.java diff --git a/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deleteutilizationreport/AsyncDeleteUtilizationReportLRO.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deleteutilizationreport/AsyncDeleteUtilizationReportLRO.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deleteutilizationreport/AsyncDeleteUtilizationReportLRO.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deleteutilizationreport/AsyncDeleteUtilizationReportLRO.java diff --git a/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deleteutilizationreport/SyncDeleteUtilizationReport.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deleteutilizationreport/SyncDeleteUtilizationReport.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deleteutilizationreport/SyncDeleteUtilizationReport.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deleteutilizationreport/SyncDeleteUtilizationReport.java diff --git a/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deleteutilizationreport/SyncDeleteUtilizationReportString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deleteutilizationreport/SyncDeleteUtilizationReportString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deleteutilizationreport/SyncDeleteUtilizationReportString.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deleteutilizationreport/SyncDeleteUtilizationReportString.java diff --git a/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deleteutilizationreport/SyncDeleteUtilizationReportUtilizationreportname.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deleteutilizationreport/SyncDeleteUtilizationReportUtilizationreportname.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deleteutilizationreport/SyncDeleteUtilizationReportUtilizationreportname.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deleteutilizationreport/SyncDeleteUtilizationReportUtilizationreportname.java diff --git a/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/fetchinventory/AsyncFetchInventory.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/fetchinventory/AsyncFetchInventory.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/fetchinventory/AsyncFetchInventory.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/fetchinventory/AsyncFetchInventory.java diff --git a/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/fetchinventory/SyncFetchInventory.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/fetchinventory/SyncFetchInventory.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/fetchinventory/SyncFetchInventory.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/fetchinventory/SyncFetchInventory.java diff --git a/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/fetchinventory/SyncFetchInventorySourcename.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/fetchinventory/SyncFetchInventorySourcename.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/fetchinventory/SyncFetchInventorySourcename.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/fetchinventory/SyncFetchInventorySourcename.java diff --git a/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/fetchinventory/SyncFetchInventoryString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/fetchinventory/SyncFetchInventoryString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/fetchinventory/SyncFetchInventoryString.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/fetchinventory/SyncFetchInventoryString.java diff --git a/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/finalizemigration/AsyncFinalizeMigration.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/finalizemigration/AsyncFinalizeMigration.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/finalizemigration/AsyncFinalizeMigration.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/finalizemigration/AsyncFinalizeMigration.java diff --git a/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/finalizemigration/AsyncFinalizeMigrationLRO.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/finalizemigration/AsyncFinalizeMigrationLRO.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/finalizemigration/AsyncFinalizeMigrationLRO.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/finalizemigration/AsyncFinalizeMigrationLRO.java diff --git a/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/finalizemigration/SyncFinalizeMigration.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/finalizemigration/SyncFinalizeMigration.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/finalizemigration/SyncFinalizeMigration.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/finalizemigration/SyncFinalizeMigration.java diff --git a/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/finalizemigration/SyncFinalizeMigrationMigratingvmname.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/finalizemigration/SyncFinalizeMigrationMigratingvmname.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/finalizemigration/SyncFinalizeMigrationMigratingvmname.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/finalizemigration/SyncFinalizeMigrationMigratingvmname.java diff --git a/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/finalizemigration/SyncFinalizeMigrationString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/finalizemigration/SyncFinalizeMigrationString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/finalizemigration/SyncFinalizeMigrationString.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/finalizemigration/SyncFinalizeMigrationString.java diff --git a/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getclonejob/AsyncGetCloneJob.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getclonejob/AsyncGetCloneJob.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getclonejob/AsyncGetCloneJob.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getclonejob/AsyncGetCloneJob.java diff --git a/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getclonejob/SyncGetCloneJob.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getclonejob/SyncGetCloneJob.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getclonejob/SyncGetCloneJob.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getclonejob/SyncGetCloneJob.java diff --git a/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getclonejob/SyncGetCloneJobClonejobname.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getclonejob/SyncGetCloneJobClonejobname.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getclonejob/SyncGetCloneJobClonejobname.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getclonejob/SyncGetCloneJobClonejobname.java diff --git a/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getclonejob/SyncGetCloneJobString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getclonejob/SyncGetCloneJobString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getclonejob/SyncGetCloneJobString.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getclonejob/SyncGetCloneJobString.java diff --git a/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getcutoverjob/AsyncGetCutoverJob.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getcutoverjob/AsyncGetCutoverJob.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getcutoverjob/AsyncGetCutoverJob.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getcutoverjob/AsyncGetCutoverJob.java diff --git a/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getcutoverjob/SyncGetCutoverJob.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getcutoverjob/SyncGetCutoverJob.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getcutoverjob/SyncGetCutoverJob.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getcutoverjob/SyncGetCutoverJob.java diff --git a/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getcutoverjob/SyncGetCutoverJobCutoverjobname.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getcutoverjob/SyncGetCutoverJobCutoverjobname.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getcutoverjob/SyncGetCutoverJobCutoverjobname.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getcutoverjob/SyncGetCutoverJobCutoverjobname.java diff --git a/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getcutoverjob/SyncGetCutoverJobString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getcutoverjob/SyncGetCutoverJobString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getcutoverjob/SyncGetCutoverJobString.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getcutoverjob/SyncGetCutoverJobString.java diff --git a/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getdatacenterconnector/AsyncGetDatacenterConnector.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getdatacenterconnector/AsyncGetDatacenterConnector.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getdatacenterconnector/AsyncGetDatacenterConnector.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getdatacenterconnector/AsyncGetDatacenterConnector.java diff --git a/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getdatacenterconnector/SyncGetDatacenterConnector.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getdatacenterconnector/SyncGetDatacenterConnector.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getdatacenterconnector/SyncGetDatacenterConnector.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getdatacenterconnector/SyncGetDatacenterConnector.java diff --git a/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getdatacenterconnector/SyncGetDatacenterConnectorDatacenterconnectorname.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getdatacenterconnector/SyncGetDatacenterConnectorDatacenterconnectorname.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getdatacenterconnector/SyncGetDatacenterConnectorDatacenterconnectorname.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getdatacenterconnector/SyncGetDatacenterConnectorDatacenterconnectorname.java diff --git a/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getdatacenterconnector/SyncGetDatacenterConnectorString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getdatacenterconnector/SyncGetDatacenterConnectorString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getdatacenterconnector/SyncGetDatacenterConnectorString.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getdatacenterconnector/SyncGetDatacenterConnectorString.java diff --git a/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getgroup/AsyncGetGroup.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getgroup/AsyncGetGroup.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getgroup/AsyncGetGroup.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getgroup/AsyncGetGroup.java diff --git a/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getgroup/SyncGetGroup.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getgroup/SyncGetGroup.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getgroup/SyncGetGroup.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getgroup/SyncGetGroup.java diff --git a/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getgroup/SyncGetGroupGroupname.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getgroup/SyncGetGroupGroupname.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getgroup/SyncGetGroupGroupname.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getgroup/SyncGetGroupGroupname.java diff --git a/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getgroup/SyncGetGroupString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getgroup/SyncGetGroupString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getgroup/SyncGetGroupString.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getgroup/SyncGetGroupString.java diff --git a/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getmigratingvm/AsyncGetMigratingVm.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getmigratingvm/AsyncGetMigratingVm.java similarity index 94% rename from samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getmigratingvm/AsyncGetMigratingVm.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getmigratingvm/AsyncGetMigratingVm.java index 8eb4de2..e6e9825 100644 --- a/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getmigratingvm/AsyncGetMigratingVm.java +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getmigratingvm/AsyncGetMigratingVm.java @@ -21,6 +21,7 @@ import com.google.cloud.vmmigration.v1.GetMigratingVmRequest; import com.google.cloud.vmmigration.v1.MigratingVm; import com.google.cloud.vmmigration.v1.MigratingVmName; +import com.google.cloud.vmmigration.v1.MigratingVmView; import com.google.cloud.vmmigration.v1.VmMigrationClient; public class AsyncGetMigratingVm { @@ -38,6 +39,7 @@ public static void asyncGetMigratingVm() throws Exception { .setName( MigratingVmName.of("[PROJECT]", "[LOCATION]", "[SOURCE]", "[MIGRATING_VM]") .toString()) + .setView(MigratingVmView.forNumber(0)) .build(); ApiFuture future = vmMigrationClient.getMigratingVmCallable().futureCall(request); diff --git a/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getmigratingvm/SyncGetMigratingVm.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getmigratingvm/SyncGetMigratingVm.java similarity index 94% rename from samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getmigratingvm/SyncGetMigratingVm.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getmigratingvm/SyncGetMigratingVm.java index 0d9a086..91dc06f 100644 --- a/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getmigratingvm/SyncGetMigratingVm.java +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getmigratingvm/SyncGetMigratingVm.java @@ -20,6 +20,7 @@ import com.google.cloud.vmmigration.v1.GetMigratingVmRequest; import com.google.cloud.vmmigration.v1.MigratingVm; import com.google.cloud.vmmigration.v1.MigratingVmName; +import com.google.cloud.vmmigration.v1.MigratingVmView; import com.google.cloud.vmmigration.v1.VmMigrationClient; public class SyncGetMigratingVm { @@ -37,6 +38,7 @@ public static void syncGetMigratingVm() throws Exception { .setName( MigratingVmName.of("[PROJECT]", "[LOCATION]", "[SOURCE]", "[MIGRATING_VM]") .toString()) + .setView(MigratingVmView.forNumber(0)) .build(); MigratingVm response = vmMigrationClient.getMigratingVm(request); } diff --git a/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getmigratingvm/SyncGetMigratingVmMigratingvmname.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getmigratingvm/SyncGetMigratingVmMigratingvmname.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getmigratingvm/SyncGetMigratingVmMigratingvmname.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getmigratingvm/SyncGetMigratingVmMigratingvmname.java diff --git a/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getmigratingvm/SyncGetMigratingVmString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getmigratingvm/SyncGetMigratingVmString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getmigratingvm/SyncGetMigratingVmString.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getmigratingvm/SyncGetMigratingVmString.java diff --git a/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getsource/AsyncGetSource.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getsource/AsyncGetSource.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getsource/AsyncGetSource.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getsource/AsyncGetSource.java diff --git a/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getsource/SyncGetSource.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getsource/SyncGetSource.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getsource/SyncGetSource.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getsource/SyncGetSource.java diff --git a/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getsource/SyncGetSourceSourcename.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getsource/SyncGetSourceSourcename.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getsource/SyncGetSourceSourcename.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getsource/SyncGetSourceSourcename.java diff --git a/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getsource/SyncGetSourceString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getsource/SyncGetSourceString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getsource/SyncGetSourceString.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getsource/SyncGetSourceString.java diff --git a/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/gettargetproject/AsyncGetTargetProject.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/gettargetproject/AsyncGetTargetProject.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/gettargetproject/AsyncGetTargetProject.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/gettargetproject/AsyncGetTargetProject.java diff --git a/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/gettargetproject/SyncGetTargetProject.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/gettargetproject/SyncGetTargetProject.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/gettargetproject/SyncGetTargetProject.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/gettargetproject/SyncGetTargetProject.java diff --git a/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/gettargetproject/SyncGetTargetProjectString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/gettargetproject/SyncGetTargetProjectString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/gettargetproject/SyncGetTargetProjectString.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/gettargetproject/SyncGetTargetProjectString.java diff --git a/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/gettargetproject/SyncGetTargetProjectTargetprojectname.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/gettargetproject/SyncGetTargetProjectTargetprojectname.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/gettargetproject/SyncGetTargetProjectTargetprojectname.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/gettargetproject/SyncGetTargetProjectTargetprojectname.java diff --git a/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getutilizationreport/AsyncGetUtilizationReport.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getutilizationreport/AsyncGetUtilizationReport.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getutilizationreport/AsyncGetUtilizationReport.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getutilizationreport/AsyncGetUtilizationReport.java diff --git a/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getutilizationreport/SyncGetUtilizationReport.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getutilizationreport/SyncGetUtilizationReport.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getutilizationreport/SyncGetUtilizationReport.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getutilizationreport/SyncGetUtilizationReport.java diff --git a/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getutilizationreport/SyncGetUtilizationReportString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getutilizationreport/SyncGetUtilizationReportString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getutilizationreport/SyncGetUtilizationReportString.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getutilizationreport/SyncGetUtilizationReportString.java diff --git a/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getutilizationreport/SyncGetUtilizationReportUtilizationreportname.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getutilizationreport/SyncGetUtilizationReportUtilizationreportname.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getutilizationreport/SyncGetUtilizationReportUtilizationreportname.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getutilizationreport/SyncGetUtilizationReportUtilizationreportname.java diff --git a/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listclonejobs/AsyncListCloneJobs.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listclonejobs/AsyncListCloneJobs.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listclonejobs/AsyncListCloneJobs.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listclonejobs/AsyncListCloneJobs.java diff --git a/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listclonejobs/AsyncListCloneJobsPaged.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listclonejobs/AsyncListCloneJobsPaged.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listclonejobs/AsyncListCloneJobsPaged.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listclonejobs/AsyncListCloneJobsPaged.java diff --git a/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listclonejobs/SyncListCloneJobs.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listclonejobs/SyncListCloneJobs.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listclonejobs/SyncListCloneJobs.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listclonejobs/SyncListCloneJobs.java diff --git a/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listclonejobs/SyncListCloneJobsMigratingvmname.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listclonejobs/SyncListCloneJobsMigratingvmname.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listclonejobs/SyncListCloneJobsMigratingvmname.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listclonejobs/SyncListCloneJobsMigratingvmname.java diff --git a/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listclonejobs/SyncListCloneJobsString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listclonejobs/SyncListCloneJobsString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listclonejobs/SyncListCloneJobsString.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listclonejobs/SyncListCloneJobsString.java diff --git a/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listcutoverjobs/AsyncListCutoverJobs.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listcutoverjobs/AsyncListCutoverJobs.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listcutoverjobs/AsyncListCutoverJobs.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listcutoverjobs/AsyncListCutoverJobs.java diff --git a/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listcutoverjobs/AsyncListCutoverJobsPaged.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listcutoverjobs/AsyncListCutoverJobsPaged.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listcutoverjobs/AsyncListCutoverJobsPaged.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listcutoverjobs/AsyncListCutoverJobsPaged.java diff --git a/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listcutoverjobs/SyncListCutoverJobs.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listcutoverjobs/SyncListCutoverJobs.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listcutoverjobs/SyncListCutoverJobs.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listcutoverjobs/SyncListCutoverJobs.java diff --git a/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listcutoverjobs/SyncListCutoverJobsMigratingvmname.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listcutoverjobs/SyncListCutoverJobsMigratingvmname.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listcutoverjobs/SyncListCutoverJobsMigratingvmname.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listcutoverjobs/SyncListCutoverJobsMigratingvmname.java diff --git a/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listcutoverjobs/SyncListCutoverJobsString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listcutoverjobs/SyncListCutoverJobsString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listcutoverjobs/SyncListCutoverJobsString.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listcutoverjobs/SyncListCutoverJobsString.java diff --git a/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listdatacenterconnectors/AsyncListDatacenterConnectors.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listdatacenterconnectors/AsyncListDatacenterConnectors.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listdatacenterconnectors/AsyncListDatacenterConnectors.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listdatacenterconnectors/AsyncListDatacenterConnectors.java diff --git a/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listdatacenterconnectors/AsyncListDatacenterConnectorsPaged.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listdatacenterconnectors/AsyncListDatacenterConnectorsPaged.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listdatacenterconnectors/AsyncListDatacenterConnectorsPaged.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listdatacenterconnectors/AsyncListDatacenterConnectorsPaged.java diff --git a/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listdatacenterconnectors/SyncListDatacenterConnectors.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listdatacenterconnectors/SyncListDatacenterConnectors.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listdatacenterconnectors/SyncListDatacenterConnectors.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listdatacenterconnectors/SyncListDatacenterConnectors.java diff --git a/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listdatacenterconnectors/SyncListDatacenterConnectorsSourcename.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listdatacenterconnectors/SyncListDatacenterConnectorsSourcename.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listdatacenterconnectors/SyncListDatacenterConnectorsSourcename.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listdatacenterconnectors/SyncListDatacenterConnectorsSourcename.java diff --git a/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listdatacenterconnectors/SyncListDatacenterConnectorsString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listdatacenterconnectors/SyncListDatacenterConnectorsString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listdatacenterconnectors/SyncListDatacenterConnectorsString.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listdatacenterconnectors/SyncListDatacenterConnectorsString.java diff --git a/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listgroups/AsyncListGroups.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listgroups/AsyncListGroups.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listgroups/AsyncListGroups.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listgroups/AsyncListGroups.java diff --git a/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listgroups/AsyncListGroupsPaged.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listgroups/AsyncListGroupsPaged.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listgroups/AsyncListGroupsPaged.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listgroups/AsyncListGroupsPaged.java diff --git a/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listgroups/SyncListGroups.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listgroups/SyncListGroups.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listgroups/SyncListGroups.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listgroups/SyncListGroups.java diff --git a/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listgroups/SyncListGroupsLocationname.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listgroups/SyncListGroupsLocationname.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listgroups/SyncListGroupsLocationname.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listgroups/SyncListGroupsLocationname.java diff --git a/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listgroups/SyncListGroupsString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listgroups/SyncListGroupsString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listgroups/SyncListGroupsString.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listgroups/SyncListGroupsString.java diff --git a/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listmigratingvms/AsyncListMigratingVms.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listmigratingvms/AsyncListMigratingVms.java similarity index 95% rename from samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listmigratingvms/AsyncListMigratingVms.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listmigratingvms/AsyncListMigratingVms.java index 6ba503a..2199031 100644 --- a/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listmigratingvms/AsyncListMigratingVms.java +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listmigratingvms/AsyncListMigratingVms.java @@ -20,6 +20,7 @@ import com.google.api.core.ApiFuture; import com.google.cloud.vmmigration.v1.ListMigratingVmsRequest; import com.google.cloud.vmmigration.v1.MigratingVm; +import com.google.cloud.vmmigration.v1.MigratingVmView; import com.google.cloud.vmmigration.v1.SourceName; import com.google.cloud.vmmigration.v1.VmMigrationClient; @@ -40,6 +41,7 @@ public static void asyncListMigratingVms() throws Exception { .setPageToken("pageToken873572522") .setFilter("filter-1274492040") .setOrderBy("orderBy-1207110587") + .setView(MigratingVmView.forNumber(0)) .build(); ApiFuture future = vmMigrationClient.listMigratingVmsPagedCallable().futureCall(request); diff --git a/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listmigratingvms/AsyncListMigratingVmsPaged.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listmigratingvms/AsyncListMigratingVmsPaged.java similarity index 95% rename from samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listmigratingvms/AsyncListMigratingVmsPaged.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listmigratingvms/AsyncListMigratingVmsPaged.java index 452d27d..e4c505f 100644 --- a/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listmigratingvms/AsyncListMigratingVmsPaged.java +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listmigratingvms/AsyncListMigratingVmsPaged.java @@ -20,6 +20,7 @@ import com.google.cloud.vmmigration.v1.ListMigratingVmsRequest; import com.google.cloud.vmmigration.v1.ListMigratingVmsResponse; import com.google.cloud.vmmigration.v1.MigratingVm; +import com.google.cloud.vmmigration.v1.MigratingVmView; import com.google.cloud.vmmigration.v1.SourceName; import com.google.cloud.vmmigration.v1.VmMigrationClient; import com.google.common.base.Strings; @@ -41,6 +42,7 @@ public static void asyncListMigratingVmsPaged() throws Exception { .setPageToken("pageToken873572522") .setFilter("filter-1274492040") .setOrderBy("orderBy-1207110587") + .setView(MigratingVmView.forNumber(0)) .build(); while (true) { ListMigratingVmsResponse response = diff --git a/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listmigratingvms/SyncListMigratingVms.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listmigratingvms/SyncListMigratingVms.java similarity index 94% rename from samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listmigratingvms/SyncListMigratingVms.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listmigratingvms/SyncListMigratingVms.java index 6f40e2a..4449401 100644 --- a/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listmigratingvms/SyncListMigratingVms.java +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listmigratingvms/SyncListMigratingVms.java @@ -19,6 +19,7 @@ // [START vmmigration_v1_generated_vmmigrationclient_listmigratingvms_sync] import com.google.cloud.vmmigration.v1.ListMigratingVmsRequest; import com.google.cloud.vmmigration.v1.MigratingVm; +import com.google.cloud.vmmigration.v1.MigratingVmView; import com.google.cloud.vmmigration.v1.SourceName; import com.google.cloud.vmmigration.v1.VmMigrationClient; @@ -39,6 +40,7 @@ public static void syncListMigratingVms() throws Exception { .setPageToken("pageToken873572522") .setFilter("filter-1274492040") .setOrderBy("orderBy-1207110587") + .setView(MigratingVmView.forNumber(0)) .build(); for (MigratingVm element : vmMigrationClient.listMigratingVms(request).iterateAll()) { // doThingsWith(element); diff --git a/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listmigratingvms/SyncListMigratingVmsSourcename.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listmigratingvms/SyncListMigratingVmsSourcename.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listmigratingvms/SyncListMigratingVmsSourcename.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listmigratingvms/SyncListMigratingVmsSourcename.java diff --git a/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listmigratingvms/SyncListMigratingVmsString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listmigratingvms/SyncListMigratingVmsString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listmigratingvms/SyncListMigratingVmsString.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listmigratingvms/SyncListMigratingVmsString.java diff --git a/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listsources/AsyncListSources.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listsources/AsyncListSources.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listsources/AsyncListSources.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listsources/AsyncListSources.java diff --git a/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listsources/AsyncListSourcesPaged.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listsources/AsyncListSourcesPaged.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listsources/AsyncListSourcesPaged.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listsources/AsyncListSourcesPaged.java diff --git a/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listsources/SyncListSources.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listsources/SyncListSources.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listsources/SyncListSources.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listsources/SyncListSources.java diff --git a/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listsources/SyncListSourcesLocationname.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listsources/SyncListSourcesLocationname.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listsources/SyncListSourcesLocationname.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listsources/SyncListSourcesLocationname.java diff --git a/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listsources/SyncListSourcesString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listsources/SyncListSourcesString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listsources/SyncListSourcesString.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listsources/SyncListSourcesString.java diff --git a/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listtargetprojects/AsyncListTargetProjects.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listtargetprojects/AsyncListTargetProjects.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listtargetprojects/AsyncListTargetProjects.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listtargetprojects/AsyncListTargetProjects.java diff --git a/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listtargetprojects/AsyncListTargetProjectsPaged.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listtargetprojects/AsyncListTargetProjectsPaged.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listtargetprojects/AsyncListTargetProjectsPaged.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listtargetprojects/AsyncListTargetProjectsPaged.java diff --git a/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listtargetprojects/SyncListTargetProjects.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listtargetprojects/SyncListTargetProjects.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listtargetprojects/SyncListTargetProjects.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listtargetprojects/SyncListTargetProjects.java diff --git a/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listtargetprojects/SyncListTargetProjectsLocationname.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listtargetprojects/SyncListTargetProjectsLocationname.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listtargetprojects/SyncListTargetProjectsLocationname.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listtargetprojects/SyncListTargetProjectsLocationname.java diff --git a/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listtargetprojects/SyncListTargetProjectsString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listtargetprojects/SyncListTargetProjectsString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listtargetprojects/SyncListTargetProjectsString.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listtargetprojects/SyncListTargetProjectsString.java diff --git a/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listutilizationreports/AsyncListUtilizationReports.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listutilizationreports/AsyncListUtilizationReports.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listutilizationreports/AsyncListUtilizationReports.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listutilizationreports/AsyncListUtilizationReports.java diff --git a/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listutilizationreports/AsyncListUtilizationReportsPaged.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listutilizationreports/AsyncListUtilizationReportsPaged.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listutilizationreports/AsyncListUtilizationReportsPaged.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listutilizationreports/AsyncListUtilizationReportsPaged.java diff --git a/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listutilizationreports/SyncListUtilizationReports.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listutilizationreports/SyncListUtilizationReports.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listutilizationreports/SyncListUtilizationReports.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listutilizationreports/SyncListUtilizationReports.java diff --git a/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listutilizationreports/SyncListUtilizationReportsSourcename.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listutilizationreports/SyncListUtilizationReportsSourcename.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listutilizationreports/SyncListUtilizationReportsSourcename.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listutilizationreports/SyncListUtilizationReportsSourcename.java diff --git a/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listutilizationreports/SyncListUtilizationReportsString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listutilizationreports/SyncListUtilizationReportsString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listutilizationreports/SyncListUtilizationReportsString.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listutilizationreports/SyncListUtilizationReportsString.java diff --git a/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/pausemigration/AsyncPauseMigration.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/pausemigration/AsyncPauseMigration.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/pausemigration/AsyncPauseMigration.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/pausemigration/AsyncPauseMigration.java diff --git a/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/pausemigration/AsyncPauseMigrationLRO.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/pausemigration/AsyncPauseMigrationLRO.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/pausemigration/AsyncPauseMigrationLRO.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/pausemigration/AsyncPauseMigrationLRO.java diff --git a/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/pausemigration/SyncPauseMigration.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/pausemigration/SyncPauseMigration.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/pausemigration/SyncPauseMigration.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/pausemigration/SyncPauseMigration.java diff --git a/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/removegroupmigration/AsyncRemoveGroupMigration.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/removegroupmigration/AsyncRemoveGroupMigration.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/removegroupmigration/AsyncRemoveGroupMigration.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/removegroupmigration/AsyncRemoveGroupMigration.java diff --git a/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/removegroupmigration/AsyncRemoveGroupMigrationLRO.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/removegroupmigration/AsyncRemoveGroupMigrationLRO.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/removegroupmigration/AsyncRemoveGroupMigrationLRO.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/removegroupmigration/AsyncRemoveGroupMigrationLRO.java diff --git a/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/removegroupmigration/SyncRemoveGroupMigration.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/removegroupmigration/SyncRemoveGroupMigration.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/removegroupmigration/SyncRemoveGroupMigration.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/removegroupmigration/SyncRemoveGroupMigration.java diff --git a/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/removegroupmigration/SyncRemoveGroupMigrationGroupname.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/removegroupmigration/SyncRemoveGroupMigrationGroupname.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/removegroupmigration/SyncRemoveGroupMigrationGroupname.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/removegroupmigration/SyncRemoveGroupMigrationGroupname.java diff --git a/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/removegroupmigration/SyncRemoveGroupMigrationString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/removegroupmigration/SyncRemoveGroupMigrationString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/removegroupmigration/SyncRemoveGroupMigrationString.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/removegroupmigration/SyncRemoveGroupMigrationString.java diff --git a/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/resumemigration/AsyncResumeMigration.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/resumemigration/AsyncResumeMigration.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/resumemigration/AsyncResumeMigration.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/resumemigration/AsyncResumeMigration.java diff --git a/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/resumemigration/AsyncResumeMigrationLRO.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/resumemigration/AsyncResumeMigrationLRO.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/resumemigration/AsyncResumeMigrationLRO.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/resumemigration/AsyncResumeMigrationLRO.java diff --git a/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/resumemigration/SyncResumeMigration.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/resumemigration/SyncResumeMigration.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/resumemigration/SyncResumeMigration.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/resumemigration/SyncResumeMigration.java diff --git a/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/startmigration/AsyncStartMigration.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/startmigration/AsyncStartMigration.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/startmigration/AsyncStartMigration.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/startmigration/AsyncStartMigration.java diff --git a/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/startmigration/AsyncStartMigrationLRO.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/startmigration/AsyncStartMigrationLRO.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/startmigration/AsyncStartMigrationLRO.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/startmigration/AsyncStartMigrationLRO.java diff --git a/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/startmigration/SyncStartMigration.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/startmigration/SyncStartMigration.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/startmigration/SyncStartMigration.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/startmigration/SyncStartMigration.java diff --git a/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/startmigration/SyncStartMigrationMigratingvmname.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/startmigration/SyncStartMigrationMigratingvmname.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/startmigration/SyncStartMigrationMigratingvmname.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/startmigration/SyncStartMigrationMigratingvmname.java diff --git a/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/startmigration/SyncStartMigrationString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/startmigration/SyncStartMigrationString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/startmigration/SyncStartMigrationString.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/startmigration/SyncStartMigrationString.java diff --git a/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/updategroup/AsyncUpdateGroup.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/updategroup/AsyncUpdateGroup.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/updategroup/AsyncUpdateGroup.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/updategroup/AsyncUpdateGroup.java diff --git a/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/updategroup/AsyncUpdateGroupLRO.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/updategroup/AsyncUpdateGroupLRO.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/updategroup/AsyncUpdateGroupLRO.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/updategroup/AsyncUpdateGroupLRO.java diff --git a/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/updategroup/SyncUpdateGroup.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/updategroup/SyncUpdateGroup.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/updategroup/SyncUpdateGroup.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/updategroup/SyncUpdateGroup.java diff --git a/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/updategroup/SyncUpdateGroupGroupFieldmask.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/updategroup/SyncUpdateGroupGroupFieldmask.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/updategroup/SyncUpdateGroupGroupFieldmask.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/updategroup/SyncUpdateGroupGroupFieldmask.java diff --git a/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/updatemigratingvm/AsyncUpdateMigratingVm.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/updatemigratingvm/AsyncUpdateMigratingVm.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/updatemigratingvm/AsyncUpdateMigratingVm.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/updatemigratingvm/AsyncUpdateMigratingVm.java diff --git a/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/updatemigratingvm/AsyncUpdateMigratingVmLRO.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/updatemigratingvm/AsyncUpdateMigratingVmLRO.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/updatemigratingvm/AsyncUpdateMigratingVmLRO.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/updatemigratingvm/AsyncUpdateMigratingVmLRO.java diff --git a/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/updatemigratingvm/SyncUpdateMigratingVm.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/updatemigratingvm/SyncUpdateMigratingVm.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/updatemigratingvm/SyncUpdateMigratingVm.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/updatemigratingvm/SyncUpdateMigratingVm.java diff --git a/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/updatemigratingvm/SyncUpdateMigratingVmMigratingvmFieldmask.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/updatemigratingvm/SyncUpdateMigratingVmMigratingvmFieldmask.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/updatemigratingvm/SyncUpdateMigratingVmMigratingvmFieldmask.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/updatemigratingvm/SyncUpdateMigratingVmMigratingvmFieldmask.java diff --git a/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/updatesource/AsyncUpdateSource.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/updatesource/AsyncUpdateSource.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/updatesource/AsyncUpdateSource.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/updatesource/AsyncUpdateSource.java diff --git a/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/updatesource/AsyncUpdateSourceLRO.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/updatesource/AsyncUpdateSourceLRO.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/updatesource/AsyncUpdateSourceLRO.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/updatesource/AsyncUpdateSourceLRO.java diff --git a/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/updatesource/SyncUpdateSource.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/updatesource/SyncUpdateSource.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/updatesource/SyncUpdateSource.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/updatesource/SyncUpdateSource.java diff --git a/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/updatesource/SyncUpdateSourceSourceFieldmask.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/updatesource/SyncUpdateSourceSourceFieldmask.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/updatesource/SyncUpdateSourceSourceFieldmask.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/updatesource/SyncUpdateSourceSourceFieldmask.java diff --git a/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/updatetargetproject/AsyncUpdateTargetProject.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/updatetargetproject/AsyncUpdateTargetProject.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/updatetargetproject/AsyncUpdateTargetProject.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/updatetargetproject/AsyncUpdateTargetProject.java diff --git a/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/updatetargetproject/AsyncUpdateTargetProjectLRO.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/updatetargetproject/AsyncUpdateTargetProjectLRO.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/updatetargetproject/AsyncUpdateTargetProjectLRO.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/updatetargetproject/AsyncUpdateTargetProjectLRO.java diff --git a/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/updatetargetproject/SyncUpdateTargetProject.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/updatetargetproject/SyncUpdateTargetProject.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/updatetargetproject/SyncUpdateTargetProject.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/updatetargetproject/SyncUpdateTargetProject.java diff --git a/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/updatetargetproject/SyncUpdateTargetProjectTargetprojectFieldmask.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/updatetargetproject/SyncUpdateTargetProjectTargetprojectFieldmask.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/updatetargetproject/SyncUpdateTargetProjectTargetprojectFieldmask.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/updatetargetproject/SyncUpdateTargetProjectTargetprojectFieldmask.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/upgradeappliance/AsyncUpgradeAppliance.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/upgradeappliance/AsyncUpgradeAppliance.java new file mode 100644 index 0000000..48ff72a --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/upgradeappliance/AsyncUpgradeAppliance.java @@ -0,0 +1,51 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.vmmigration.v1.samples; + +// [START vmmigration_v1_generated_vmmigrationclient_upgradeappliance_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.vmmigration.v1.DatacenterConnectorName; +import com.google.cloud.vmmigration.v1.UpgradeApplianceRequest; +import com.google.cloud.vmmigration.v1.VmMigrationClient; +import com.google.longrunning.Operation; + +public class AsyncUpgradeAppliance { + + public static void main(String[] args) throws Exception { + asyncUpgradeAppliance(); + } + + public static void asyncUpgradeAppliance() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (VmMigrationClient vmMigrationClient = VmMigrationClient.create()) { + UpgradeApplianceRequest request = + UpgradeApplianceRequest.newBuilder() + .setDatacenterConnector( + DatacenterConnectorName.of( + "[PROJECT]", "[LOCATION]", "[SOURCE]", "[DATACENTER_CONNECTOR]") + .toString()) + .setRequestId("requestId693933066") + .build(); + ApiFuture future = + vmMigrationClient.upgradeApplianceCallable().futureCall(request); + // Do something. + Operation response = future.get(); + } + } +} +// [END vmmigration_v1_generated_vmmigrationclient_upgradeappliance_async] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/upgradeappliance/AsyncUpgradeApplianceLRO.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/upgradeappliance/AsyncUpgradeApplianceLRO.java new file mode 100644 index 0000000..2c455cd --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/upgradeappliance/AsyncUpgradeApplianceLRO.java @@ -0,0 +1,52 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.vmmigration.v1.samples; + +// [START vmmigration_v1_generated_vmmigrationclient_upgradeappliance_lro_async] +import com.google.api.gax.longrunning.OperationFuture; +import com.google.cloud.vmmigration.v1.DatacenterConnectorName; +import com.google.cloud.vmmigration.v1.OperationMetadata; +import com.google.cloud.vmmigration.v1.UpgradeApplianceRequest; +import com.google.cloud.vmmigration.v1.UpgradeApplianceResponse; +import com.google.cloud.vmmigration.v1.VmMigrationClient; + +public class AsyncUpgradeApplianceLRO { + + public static void main(String[] args) throws Exception { + asyncUpgradeApplianceLRO(); + } + + public static void asyncUpgradeApplianceLRO() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (VmMigrationClient vmMigrationClient = VmMigrationClient.create()) { + UpgradeApplianceRequest request = + UpgradeApplianceRequest.newBuilder() + .setDatacenterConnector( + DatacenterConnectorName.of( + "[PROJECT]", "[LOCATION]", "[SOURCE]", "[DATACENTER_CONNECTOR]") + .toString()) + .setRequestId("requestId693933066") + .build(); + OperationFuture future = + vmMigrationClient.upgradeApplianceOperationCallable().futureCall(request); + // Do something. + UpgradeApplianceResponse response = future.get(); + } + } +} +// [END vmmigration_v1_generated_vmmigrationclient_upgradeappliance_lro_async] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/upgradeappliance/SyncUpgradeAppliance.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/upgradeappliance/SyncUpgradeAppliance.java new file mode 100644 index 0000000..94aff15 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/upgradeappliance/SyncUpgradeAppliance.java @@ -0,0 +1,47 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.vmmigration.v1.samples; + +// [START vmmigration_v1_generated_vmmigrationclient_upgradeappliance_sync] +import com.google.cloud.vmmigration.v1.DatacenterConnectorName; +import com.google.cloud.vmmigration.v1.UpgradeApplianceRequest; +import com.google.cloud.vmmigration.v1.UpgradeApplianceResponse; +import com.google.cloud.vmmigration.v1.VmMigrationClient; + +public class SyncUpgradeAppliance { + + public static void main(String[] args) throws Exception { + syncUpgradeAppliance(); + } + + public static void syncUpgradeAppliance() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (VmMigrationClient vmMigrationClient = VmMigrationClient.create()) { + UpgradeApplianceRequest request = + UpgradeApplianceRequest.newBuilder() + .setDatacenterConnector( + DatacenterConnectorName.of( + "[PROJECT]", "[LOCATION]", "[SOURCE]", "[DATACENTER_CONNECTOR]") + .toString()) + .setRequestId("requestId693933066") + .build(); + UpgradeApplianceResponse response = vmMigrationClient.upgradeApplianceAsync(request).get(); + } + } +} +// [END vmmigration_v1_generated_vmmigrationclient_upgradeappliance_sync] diff --git a/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationsettings/getsource/SyncGetSource.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationsettings/getsource/SyncGetSource.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationsettings/getsource/SyncGetSource.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationsettings/getsource/SyncGetSource.java diff --git a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/AddGroupMigrationRequestOrBuilder.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/AddGroupMigrationRequestOrBuilder.java deleted file mode 100644 index c09bcae..0000000 --- a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/AddGroupMigrationRequestOrBuilder.java +++ /dev/null @@ -1,79 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/vmmigration/v1/vmmigration.proto - -package com.google.cloud.vmmigration.v1; - -public interface AddGroupMigrationRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.AddGroupMigrationRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The full path name of the Group to add to.
-   * 
- * - * - * string group = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The group. - */ - java.lang.String getGroup(); - /** - * - * - *
-   * Required. The full path name of the Group to add to.
-   * 
- * - * - * string group = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for group. - */ - com.google.protobuf.ByteString getGroupBytes(); - - /** - * - * - *
-   * The full path name of the MigratingVm to add.
-   * 
- * - * string migrating_vm = 2 [(.google.api.resource_reference) = { ... } - * - * @return The migratingVm. - */ - java.lang.String getMigratingVm(); - /** - * - * - *
-   * The full path name of the MigratingVm to add.
-   * 
- * - * string migrating_vm = 2 [(.google.api.resource_reference) = { ... } - * - * @return The bytes for migratingVm. - */ - com.google.protobuf.ByteString getMigratingVmBytes(); -} diff --git a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/AddGroupMigrationResponseOrBuilder.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/AddGroupMigrationResponseOrBuilder.java deleted file mode 100644 index a69f7b2..0000000 --- a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/AddGroupMigrationResponseOrBuilder.java +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/vmmigration/v1/vmmigration.proto - -package com.google.cloud.vmmigration.v1; - -public interface AddGroupMigrationResponseOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.AddGroupMigrationResponse) - com.google.protobuf.MessageOrBuilder {} diff --git a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CancelCloneJobRequestOrBuilder.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CancelCloneJobRequestOrBuilder.java deleted file mode 100644 index 6f75453..0000000 --- a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CancelCloneJobRequestOrBuilder.java +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/vmmigration/v1/vmmigration.proto - -package com.google.cloud.vmmigration.v1; - -public interface CancelCloneJobRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.CancelCloneJobRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The clone job id
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The clone job 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/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CancelCloneJobResponseOrBuilder.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CancelCloneJobResponseOrBuilder.java deleted file mode 100644 index 2d29c71..0000000 --- a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CancelCloneJobResponseOrBuilder.java +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/vmmigration/v1/vmmigration.proto - -package com.google.cloud.vmmigration.v1; - -public interface CancelCloneJobResponseOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.CancelCloneJobResponse) - com.google.protobuf.MessageOrBuilder {} diff --git a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CancelCutoverJobRequestOrBuilder.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CancelCutoverJobRequestOrBuilder.java deleted file mode 100644 index a58590e..0000000 --- a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CancelCutoverJobRequestOrBuilder.java +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/vmmigration/v1/vmmigration.proto - -package com.google.cloud.vmmigration.v1; - -public interface CancelCutoverJobRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.CancelCutoverJobRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The cutover job id
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The cutover job 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/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CancelCutoverJobResponseOrBuilder.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CancelCutoverJobResponseOrBuilder.java deleted file mode 100644 index 926a037..0000000 --- a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CancelCutoverJobResponseOrBuilder.java +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/vmmigration/v1/vmmigration.proto - -package com.google.cloud.vmmigration.v1; - -public interface CancelCutoverJobResponseOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.CancelCutoverJobResponse) - com.google.protobuf.MessageOrBuilder {} diff --git a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/DeleteMigratingVmRequestOrBuilder.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/DeleteMigratingVmRequestOrBuilder.java deleted file mode 100644 index 38ba70f..0000000 --- a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/DeleteMigratingVmRequestOrBuilder.java +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/vmmigration/v1/vmmigration.proto - -package com.google.cloud.vmmigration.v1; - -public interface DeleteMigratingVmRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.DeleteMigratingVmRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The name of the MigratingVm.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The name of the MigratingVm.
-   * 
- * - * - * 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/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/FetchInventoryRequestOrBuilder.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/FetchInventoryRequestOrBuilder.java deleted file mode 100644 index 45c44f3..0000000 --- a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/FetchInventoryRequestOrBuilder.java +++ /dev/null @@ -1,68 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/vmmigration/v1/vmmigration.proto - -package com.google.cloud.vmmigration.v1; - -public interface FetchInventoryRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.FetchInventoryRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The name of the Source.
-   * 
- * - * - * string source = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The source. - */ - java.lang.String getSource(); - /** - * - * - *
-   * Required. The name of the Source.
-   * 
- * - * - * string source = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for source. - */ - com.google.protobuf.ByteString getSourceBytes(); - - /** - * - * - *
-   * If this flag is set to true, the source will be queried instead of using
-   * cached results. Using this flag will make the call slower.
-   * 
- * - * bool force_refresh = 2; - * - * @return The forceRefresh. - */ - boolean getForceRefresh(); -} diff --git a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/FetchInventoryResponseOrBuilder.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/FetchInventoryResponseOrBuilder.java deleted file mode 100644 index f1cab8f..0000000 --- a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/FetchInventoryResponseOrBuilder.java +++ /dev/null @@ -1,109 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/vmmigration/v1/vmmigration.proto - -package com.google.cloud.vmmigration.v1; - -public interface FetchInventoryResponseOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.FetchInventoryResponse) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Output only. The description of the VMs in a Source of type Vmware.
-   * 
- * - * - * .google.cloud.vmmigration.v1.VmwareVmsDetails vmware_vms = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @return Whether the vmwareVms field is set. - */ - boolean hasVmwareVms(); - /** - * - * - *
-   * Output only. The description of the VMs in a Source of type Vmware.
-   * 
- * - * - * .google.cloud.vmmigration.v1.VmwareVmsDetails vmware_vms = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @return The vmwareVms. - */ - com.google.cloud.vmmigration.v1.VmwareVmsDetails getVmwareVms(); - /** - * - * - *
-   * Output only. The description of the VMs in a Source of type Vmware.
-   * 
- * - * - * .google.cloud.vmmigration.v1.VmwareVmsDetails vmware_vms = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - com.google.cloud.vmmigration.v1.VmwareVmsDetailsOrBuilder getVmwareVmsOrBuilder(); - - /** - * - * - *
-   * Output only. The timestamp when the source was last queried (if the result is from the
-   * cache).
-   * 
- * - * .google.protobuf.Timestamp update_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @return Whether the updateTime field is set. - */ - boolean hasUpdateTime(); - /** - * - * - *
-   * Output only. The timestamp when the source was last queried (if the result is from the
-   * cache).
-   * 
- * - * .google.protobuf.Timestamp update_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @return The updateTime. - */ - com.google.protobuf.Timestamp getUpdateTime(); - /** - * - * - *
-   * Output only. The timestamp when the source was last queried (if the result is from the
-   * cache).
-   * 
- * - * .google.protobuf.Timestamp update_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); - - public com.google.cloud.vmmigration.v1.FetchInventoryResponse.SourceVmsCase getSourceVmsCase(); -} diff --git a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/FinalizeMigrationRequestOrBuilder.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/FinalizeMigrationRequestOrBuilder.java deleted file mode 100644 index 543f495..0000000 --- a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/FinalizeMigrationRequestOrBuilder.java +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/vmmigration/v1/vmmigration.proto - -package com.google.cloud.vmmigration.v1; - -public interface FinalizeMigrationRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.FinalizeMigrationRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The name of the MigratingVm.
-   * 
- * - * - * string migrating_vm = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The migratingVm. - */ - java.lang.String getMigratingVm(); - /** - * - * - *
-   * Required. The name of the MigratingVm.
-   * 
- * - * - * string migrating_vm = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for migratingVm. - */ - com.google.protobuf.ByteString getMigratingVmBytes(); -} diff --git a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/FinalizeMigrationResponseOrBuilder.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/FinalizeMigrationResponseOrBuilder.java deleted file mode 100644 index 5325761..0000000 --- a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/FinalizeMigrationResponseOrBuilder.java +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/vmmigration/v1/vmmigration.proto - -package com.google.cloud.vmmigration.v1; - -public interface FinalizeMigrationResponseOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.FinalizeMigrationResponse) - com.google.protobuf.MessageOrBuilder {} diff --git a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetCloneJobRequestOrBuilder.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetCloneJobRequestOrBuilder.java deleted file mode 100644 index b20431f..0000000 --- a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetCloneJobRequestOrBuilder.java +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/vmmigration/v1/vmmigration.proto - -package com.google.cloud.vmmigration.v1; - -public interface GetCloneJobRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.GetCloneJobRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The name of the CloneJob.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The name of the CloneJob.
-   * 
- * - * - * 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/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetCutoverJobRequestOrBuilder.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetCutoverJobRequestOrBuilder.java deleted file mode 100644 index c44fa0e..0000000 --- a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetCutoverJobRequestOrBuilder.java +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/vmmigration/v1/vmmigration.proto - -package com.google.cloud.vmmigration.v1; - -public interface GetCutoverJobRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.GetCutoverJobRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The name of the CutoverJob.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The name of the CutoverJob.
-   * 
- * - * - * 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/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetDatacenterConnectorRequestOrBuilder.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetDatacenterConnectorRequestOrBuilder.java deleted file mode 100644 index c10d316..0000000 --- a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetDatacenterConnectorRequestOrBuilder.java +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/vmmigration/v1/vmmigration.proto - -package com.google.cloud.vmmigration.v1; - -public interface GetDatacenterConnectorRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.GetDatacenterConnectorRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The name of the DatacenterConnector.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The name of the DatacenterConnector.
-   * 
- * - * - * 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/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetGroupRequestOrBuilder.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetGroupRequestOrBuilder.java deleted file mode 100644 index 67be178..0000000 --- a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetGroupRequestOrBuilder.java +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/vmmigration/v1/vmmigration.proto - -package com.google.cloud.vmmigration.v1; - -public interface GetGroupRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.GetGroupRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The group name.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The group name.
-   * 
- * - * - * 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/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetMigratingVmRequestOrBuilder.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetMigratingVmRequestOrBuilder.java deleted file mode 100644 index ab3c447..0000000 --- a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetMigratingVmRequestOrBuilder.java +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/vmmigration/v1/vmmigration.proto - -package com.google.cloud.vmmigration.v1; - -public interface GetMigratingVmRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.GetMigratingVmRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The name of the MigratingVm.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The name of the MigratingVm.
-   * 
- * - * - * 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/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetSourceRequestOrBuilder.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetSourceRequestOrBuilder.java deleted file mode 100644 index d6d935f..0000000 --- a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetSourceRequestOrBuilder.java +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/vmmigration/v1/vmmigration.proto - -package com.google.cloud.vmmigration.v1; - -public interface GetSourceRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.GetSourceRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The Source name.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The Source name.
-   * 
- * - * - * 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/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetTargetProjectRequestOrBuilder.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetTargetProjectRequestOrBuilder.java deleted file mode 100644 index 065a826..0000000 --- a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetTargetProjectRequestOrBuilder.java +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/vmmigration/v1/vmmigration.proto - -package com.google.cloud.vmmigration.v1; - -public interface GetTargetProjectRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.GetTargetProjectRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The TargetProject name.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The TargetProject name.
-   * 
- * - * - * 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/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetUtilizationReportRequestOrBuilder.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetUtilizationReportRequestOrBuilder.java deleted file mode 100644 index 060b7b5..0000000 --- a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetUtilizationReportRequestOrBuilder.java +++ /dev/null @@ -1,85 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/vmmigration/v1/vmmigration.proto - -package com.google.cloud.vmmigration.v1; - -public interface GetUtilizationReportRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.GetUtilizationReportRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The Utilization Report name.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The Utilization Report name.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); - - /** - * - * - *
-   * Optional. The level of details of the report.
-   * Defaults to FULL
-   * 
- * - * - * .google.cloud.vmmigration.v1.UtilizationReportView view = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * - * @return The enum numeric value on the wire for view. - */ - int getViewValue(); - /** - * - * - *
-   * Optional. The level of details of the report.
-   * Defaults to FULL
-   * 
- * - * - * .google.cloud.vmmigration.v1.UtilizationReportView view = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * - * @return The view. - */ - com.google.cloud.vmmigration.v1.UtilizationReportView getView(); -} diff --git a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/MigratingVm.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/MigratingVm.java deleted file mode 100644 index 059b3d9..0000000 --- a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/MigratingVm.java +++ /dev/null @@ -1,4731 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/vmmigration/v1/vmmigration.proto - -package com.google.cloud.vmmigration.v1; - -/** - * - * - *
- * MigratingVm describes the VM that will be migrated from a Source environment
- * and its replication state.
- * 
- * - * Protobuf type {@code google.cloud.vmmigration.v1.MigratingVm} - */ -public final class MigratingVm extends com.google.protobuf.GeneratedMessageV3 - implements - // @@protoc_insertion_point(message_implements:google.cloud.vmmigration.v1.MigratingVm) - MigratingVmOrBuilder { - private static final long serialVersionUID = 0L; - // Use MigratingVm.newBuilder() to construct. - private MigratingVm(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private MigratingVm() { - name_ = ""; - sourceVmId_ = ""; - displayName_ = ""; - description_ = ""; - state_ = 0; - group_ = ""; - } - - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new MigratingVm(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - - private MigratingVm( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); - - name_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); - - sourceVmId_ = s; - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - - description_ = s; - break; - } - case 66: - { - com.google.cloud.vmmigration.v1.SchedulePolicy.Builder subBuilder = null; - if (policy_ != null) { - subBuilder = policy_.toBuilder(); - } - policy_ = - input.readMessage( - com.google.cloud.vmmigration.v1.SchedulePolicy.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(policy_); - policy_ = subBuilder.buildPartial(); - } - - break; - } - case 74: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (createTime_ != null) { - subBuilder = createTime_.toBuilder(); - } - createTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(createTime_); - createTime_ = subBuilder.buildPartial(); - } - - break; - } - case 82: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (updateTime_ != null) { - subBuilder = updateTime_.toBuilder(); - } - updateTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateTime_); - updateTime_ = subBuilder.buildPartial(); - } - - break; - } - case 90: - { - com.google.cloud.vmmigration.v1.ReplicationSync.Builder subBuilder = null; - if (lastSync_ != null) { - subBuilder = lastSync_.toBuilder(); - } - lastSync_ = - input.readMessage( - com.google.cloud.vmmigration.v1.ReplicationSync.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(lastSync_); - lastSync_ = subBuilder.buildPartial(); - } - - break; - } - case 106: - { - com.google.cloud.vmmigration.v1.ReplicationCycle.Builder subBuilder = null; - if (currentSyncInfo_ != null) { - subBuilder = currentSyncInfo_.toBuilder(); - } - currentSyncInfo_ = - input.readMessage( - com.google.cloud.vmmigration.v1.ReplicationCycle.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(currentSyncInfo_); - currentSyncInfo_ = subBuilder.buildPartial(); - } - - break; - } - case 122: - { - java.lang.String s = input.readStringRequireUtf8(); - - group_ = s; - break; - } - case 130: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - labels_ = - com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000001; - } - com.google.protobuf.MapEntry labels__ = - input.readMessage( - LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - labels_.getMutableMap().put(labels__.getKey(), labels__.getValue()); - break; - } - case 146: - { - java.lang.String s = input.readStringRequireUtf8(); - - displayName_ = s; - break; - } - case 154: - { - com.google.rpc.Status.Builder subBuilder = null; - if (error_ != null) { - subBuilder = error_.toBuilder(); - } - error_ = input.readMessage(com.google.rpc.Status.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(error_); - error_ = subBuilder.buildPartial(); - } - - break; - } - case 178: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (stateTime_ != null) { - subBuilder = stateTime_.toBuilder(); - } - stateTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(stateTime_); - stateTime_ = subBuilder.buildPartial(); - } - - break; - } - case 184: - { - int rawValue = input.readEnum(); - - state_ = rawValue; - break; - } - case 210: - { - com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaults.Builder subBuilder = null; - if (targetVmDefaultsCase_ == 26) { - subBuilder = - ((com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaults) - targetVmDefaults_) - .toBuilder(); - } - targetVmDefaults_ = - input.readMessage( - com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaults.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaults) - targetVmDefaults_); - targetVmDefaults_ = subBuilder.buildPartial(); - } - targetVmDefaultsCase_ = 26; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_MigratingVm_descriptor; - } - - @SuppressWarnings({"rawtypes"}) - @java.lang.Override - protected com.google.protobuf.MapField internalGetMapField(int number) { - switch (number) { - case 16: - return internalGetLabels(); - default: - throw new RuntimeException("Invalid map field number: " + number); - } - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_MigratingVm_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.MigratingVm.class, - com.google.cloud.vmmigration.v1.MigratingVm.Builder.class); - } - - /** - * - * - *
-   * The possible values of the state/health of source VM.
-   * 
- * - * Protobuf enum {@code google.cloud.vmmigration.v1.MigratingVm.State} - */ - public enum State implements com.google.protobuf.ProtocolMessageEnum { - /** - * - * - *
-     * The state was not sampled by the health checks yet.
-     * 
- * - * STATE_UNSPECIFIED = 0; - */ - STATE_UNSPECIFIED(0), - /** - * - * - *
-     * The VM in the source is being verified.
-     * 
- * - * PENDING = 1; - */ - PENDING(1), - /** - * - * - *
-     * The source VM was verified, and it's ready to start replication.
-     * 
- * - * READY = 2; - */ - READY(2), - /** - * - * - *
-     * Migration is going through the first sync cycle.
-     * 
- * - * FIRST_SYNC = 3; - */ - FIRST_SYNC(3), - /** - * - * - *
-     * The replication is active, and it's running or scheduled to run.
-     * 
- * - * ACTIVE = 4; - */ - ACTIVE(4), - /** - * - * - *
-     * The source VM is being turned off, and a final replication is currently
-     * running.
-     * 
- * - * CUTTING_OVER = 7; - */ - CUTTING_OVER(7), - /** - * - * - *
-     * The source VM was stopped and replicated. The replication is currently
-     * paused.
-     * 
- * - * CUTOVER = 8; - */ - CUTOVER(8), - /** - * - * - *
-     * A cutover job is active and replication cycle is running the final sync.
-     * 
- * - * FINAL_SYNC = 9; - */ - FINAL_SYNC(9), - /** - * - * - *
-     * The replication was paused by the user and no cycles are scheduled to
-     * run.
-     * 
- * - * PAUSED = 10; - */ - PAUSED(10), - /** - * - * - *
-     * The migrating VM is being finalized and migration resources are being
-     * removed.
-     * 
- * - * FINALIZING = 11; - */ - FINALIZING(11), - /** - * - * - *
-     * The replication process is done. The migrating VM is finalized and no
-     * longer consumes billable resources.
-     * 
- * - * FINALIZED = 12; - */ - FINALIZED(12), - /** - * - * - *
-     * The replication process encountered an unrecoverable error and was
-     * aborted.
-     * 
- * - * ERROR = 13; - */ - ERROR(13), - UNRECOGNIZED(-1), - ; - - /** - * - * - *
-     * The state was not sampled by the health checks yet.
-     * 
- * - * STATE_UNSPECIFIED = 0; - */ - public static final int STATE_UNSPECIFIED_VALUE = 0; - /** - * - * - *
-     * The VM in the source is being verified.
-     * 
- * - * PENDING = 1; - */ - public static final int PENDING_VALUE = 1; - /** - * - * - *
-     * The source VM was verified, and it's ready to start replication.
-     * 
- * - * READY = 2; - */ - public static final int READY_VALUE = 2; - /** - * - * - *
-     * Migration is going through the first sync cycle.
-     * 
- * - * FIRST_SYNC = 3; - */ - public static final int FIRST_SYNC_VALUE = 3; - /** - * - * - *
-     * The replication is active, and it's running or scheduled to run.
-     * 
- * - * ACTIVE = 4; - */ - public static final int ACTIVE_VALUE = 4; - /** - * - * - *
-     * The source VM is being turned off, and a final replication is currently
-     * running.
-     * 
- * - * CUTTING_OVER = 7; - */ - public static final int CUTTING_OVER_VALUE = 7; - /** - * - * - *
-     * The source VM was stopped and replicated. The replication is currently
-     * paused.
-     * 
- * - * CUTOVER = 8; - */ - public static final int CUTOVER_VALUE = 8; - /** - * - * - *
-     * A cutover job is active and replication cycle is running the final sync.
-     * 
- * - * FINAL_SYNC = 9; - */ - public static final int FINAL_SYNC_VALUE = 9; - /** - * - * - *
-     * The replication was paused by the user and no cycles are scheduled to
-     * run.
-     * 
- * - * PAUSED = 10; - */ - public static final int PAUSED_VALUE = 10; - /** - * - * - *
-     * The migrating VM is being finalized and migration resources are being
-     * removed.
-     * 
- * - * FINALIZING = 11; - */ - public static final int FINALIZING_VALUE = 11; - /** - * - * - *
-     * The replication process is done. The migrating VM is finalized and no
-     * longer consumes billable resources.
-     * 
- * - * FINALIZED = 12; - */ - public static final int FINALIZED_VALUE = 12; - /** - * - * - *
-     * The replication process encountered an unrecoverable error and was
-     * aborted.
-     * 
- * - * ERROR = 13; - */ - public static final int ERROR_VALUE = 13; - - public final int getNumber() { - if (this == UNRECOGNIZED) { - throw new java.lang.IllegalArgumentException( - "Can't get the number of an unknown enum value."); - } - return value; - } - - /** - * @param value The numeric wire value of the corresponding enum entry. - * @return The enum associated with the given numeric wire value. - * @deprecated Use {@link #forNumber(int)} instead. - */ - @java.lang.Deprecated - public static State valueOf(int value) { - return forNumber(value); - } - - /** - * @param value The numeric wire value of the corresponding enum entry. - * @return The enum associated with the given numeric wire value. - */ - public static State forNumber(int value) { - switch (value) { - case 0: - return STATE_UNSPECIFIED; - case 1: - return PENDING; - case 2: - return READY; - case 3: - return FIRST_SYNC; - case 4: - return ACTIVE; - case 7: - return CUTTING_OVER; - case 8: - return CUTOVER; - case 9: - return FINAL_SYNC; - case 10: - return PAUSED; - case 11: - return FINALIZING; - case 12: - return FINALIZED; - case 13: - return ERROR; - default: - return null; - } - } - - 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 State findValueByNumber(int number) { - return State.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() { - return getDescriptor(); - } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.cloud.vmmigration.v1.MigratingVm.getDescriptor().getEnumTypes().get(0); - } - - private static final State[] VALUES = values(); - - public static State valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { - if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); - } - if (desc.getIndex() == -1) { - return UNRECOGNIZED; - } - return VALUES[desc.getIndex()]; - } - - private final int value; - - private State(int value) { - this.value = value; - } - - // @@protoc_insertion_point(enum_scope:google.cloud.vmmigration.v1.MigratingVm.State) - } - - private int targetVmDefaultsCase_ = 0; - private java.lang.Object targetVmDefaults_; - - public enum TargetVmDefaultsCase - implements - com.google.protobuf.Internal.EnumLite, - com.google.protobuf.AbstractMessage.InternalOneOfEnum { - COMPUTE_ENGINE_TARGET_DEFAULTS(26), - TARGETVMDEFAULTS_NOT_SET(0); - private final int value; - - private TargetVmDefaultsCase(int value) { - this.value = value; - } - /** - * @param value The number of the enum to look for. - * @return The enum associated with the given number. - * @deprecated Use {@link #forNumber(int)} instead. - */ - @java.lang.Deprecated - public static TargetVmDefaultsCase valueOf(int value) { - return forNumber(value); - } - - public static TargetVmDefaultsCase forNumber(int value) { - switch (value) { - case 26: - return COMPUTE_ENGINE_TARGET_DEFAULTS; - case 0: - return TARGETVMDEFAULTS_NOT_SET; - default: - return null; - } - } - - public int getNumber() { - return this.value; - } - }; - - public TargetVmDefaultsCase getTargetVmDefaultsCase() { - return TargetVmDefaultsCase.forNumber(targetVmDefaultsCase_); - } - - public static final int COMPUTE_ENGINE_TARGET_DEFAULTS_FIELD_NUMBER = 26; - /** - * - * - *
-   * Details of the target VM in Compute Engine.
-   * 
- * - * - * .google.cloud.vmmigration.v1.ComputeEngineTargetDefaults compute_engine_target_defaults = 26; - * - * - * @return Whether the computeEngineTargetDefaults field is set. - */ - @java.lang.Override - public boolean hasComputeEngineTargetDefaults() { - return targetVmDefaultsCase_ == 26; - } - /** - * - * - *
-   * Details of the target VM in Compute Engine.
-   * 
- * - * - * .google.cloud.vmmigration.v1.ComputeEngineTargetDefaults compute_engine_target_defaults = 26; - * - * - * @return The computeEngineTargetDefaults. - */ - @java.lang.Override - public com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaults - getComputeEngineTargetDefaults() { - if (targetVmDefaultsCase_ == 26) { - return (com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaults) targetVmDefaults_; - } - return com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaults.getDefaultInstance(); - } - /** - * - * - *
-   * Details of the target VM in Compute Engine.
-   * 
- * - * - * .google.cloud.vmmigration.v1.ComputeEngineTargetDefaults compute_engine_target_defaults = 26; - * - */ - @java.lang.Override - public com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaultsOrBuilder - getComputeEngineTargetDefaultsOrBuilder() { - if (targetVmDefaultsCase_ == 26) { - return (com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaults) targetVmDefaults_; - } - return com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaults.getDefaultInstance(); - } - - public static final int NAME_FIELD_NUMBER = 1; - private volatile java.lang.Object name_; - /** - * - * - *
-   * Output only. The identifier of the MigratingVm.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * @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; - } - } - /** - * - * - *
-   * Output only. The identifier of the MigratingVm.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * @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 SOURCE_VM_ID_FIELD_NUMBER = 2; - private volatile java.lang.Object sourceVmId_; - /** - * - * - *
-   * The unique ID of the VM in the source.
-   * The VM's name in vSphere can be changed, so this is not the VM's name but
-   * rather its moRef id. This id is of the form vm-<num>.
-   * 
- * - * string source_vm_id = 2; - * - * @return The sourceVmId. - */ - @java.lang.Override - public java.lang.String getSourceVmId() { - java.lang.Object ref = sourceVmId_; - 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(); - sourceVmId_ = s; - return s; - } - } - /** - * - * - *
-   * The unique ID of the VM in the source.
-   * The VM's name in vSphere can be changed, so this is not the VM's name but
-   * rather its moRef id. This id is of the form vm-<num>.
-   * 
- * - * string source_vm_id = 2; - * - * @return The bytes for sourceVmId. - */ - @java.lang.Override - public com.google.protobuf.ByteString getSourceVmIdBytes() { - java.lang.Object ref = sourceVmId_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - sourceVmId_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int DISPLAY_NAME_FIELD_NUMBER = 18; - private volatile java.lang.Object displayName_; - /** - * - * - *
-   * The display name attached to the MigratingVm by the user.
-   * 
- * - * string display_name = 18; - * - * @return The displayName. - */ - @java.lang.Override - public java.lang.String getDisplayName() { - java.lang.Object ref = displayName_; - 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(); - displayName_ = s; - return s; - } - } - /** - * - * - *
-   * The display name attached to the MigratingVm by the user.
-   * 
- * - * string display_name = 18; - * - * @return The bytes for displayName. - */ - @java.lang.Override - 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); - displayName_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int DESCRIPTION_FIELD_NUMBER = 3; - private volatile java.lang.Object description_; - /** - * - * - *
-   * The description attached to the migrating VM by the user.
-   * 
- * - * string description = 3; - * - * @return The description. - */ - @java.lang.Override - public java.lang.String getDescription() { - java.lang.Object ref = description_; - 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(); - description_ = s; - return s; - } - } - /** - * - * - *
-   * The description attached to the migrating VM by the user.
-   * 
- * - * string description = 3; - * - * @return The bytes for description. - */ - @java.lang.Override - 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); - description_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int POLICY_FIELD_NUMBER = 8; - private com.google.cloud.vmmigration.v1.SchedulePolicy policy_; - /** - * - * - *
-   * The replication schedule policy.
-   * 
- * - * .google.cloud.vmmigration.v1.SchedulePolicy policy = 8; - * - * @return Whether the policy field is set. - */ - @java.lang.Override - public boolean hasPolicy() { - return policy_ != null; - } - /** - * - * - *
-   * The replication schedule policy.
-   * 
- * - * .google.cloud.vmmigration.v1.SchedulePolicy policy = 8; - * - * @return The policy. - */ - @java.lang.Override - public com.google.cloud.vmmigration.v1.SchedulePolicy getPolicy() { - return policy_ == null - ? com.google.cloud.vmmigration.v1.SchedulePolicy.getDefaultInstance() - : policy_; - } - /** - * - * - *
-   * The replication schedule policy.
-   * 
- * - * .google.cloud.vmmigration.v1.SchedulePolicy policy = 8; - */ - @java.lang.Override - public com.google.cloud.vmmigration.v1.SchedulePolicyOrBuilder getPolicyOrBuilder() { - return getPolicy(); - } - - public static final int CREATE_TIME_FIELD_NUMBER = 9; - private com.google.protobuf.Timestamp createTime_; - /** - * - * - *
-   * Output only. The time the migrating VM was created (this refers to this resource and not
-   * to the time it was installed in the source).
-   * 
- * - * .google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @return Whether the createTime field is set. - */ - @java.lang.Override - public boolean hasCreateTime() { - return createTime_ != null; - } - /** - * - * - *
-   * Output only. The time the migrating VM was created (this refers to this resource and not
-   * to the time it was installed in the source).
-   * 
- * - * .google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @return The createTime. - */ - @java.lang.Override - public com.google.protobuf.Timestamp getCreateTime() { - return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; - } - /** - * - * - *
-   * Output only. The time the migrating VM was created (this refers to this resource and not
-   * to the time it was installed in the source).
-   * 
- * - * .google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - @java.lang.Override - public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { - return getCreateTime(); - } - - public static final int UPDATE_TIME_FIELD_NUMBER = 10; - private com.google.protobuf.Timestamp updateTime_; - /** - * - * - *
-   * Output only. The last time the migrating VM resource was updated.
-   * 
- * - * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @return Whether the updateTime field is set. - */ - @java.lang.Override - public boolean hasUpdateTime() { - return updateTime_ != null; - } - /** - * - * - *
-   * Output only. The last time the migrating VM resource was updated.
-   * 
- * - * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @return The updateTime. - */ - @java.lang.Override - public com.google.protobuf.Timestamp getUpdateTime() { - return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; - } - /** - * - * - *
-   * Output only. The last time the migrating VM resource was updated.
-   * 
- * - * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - @java.lang.Override - public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { - return getUpdateTime(); - } - - public static final int LAST_SYNC_FIELD_NUMBER = 11; - private com.google.cloud.vmmigration.v1.ReplicationSync lastSync_; - /** - * - * - *
-   * Output only. The most updated snapshot created time in the source that finished
-   * replication.
-   * 
- * - * - * .google.cloud.vmmigration.v1.ReplicationSync last_sync = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @return Whether the lastSync field is set. - */ - @java.lang.Override - public boolean hasLastSync() { - return lastSync_ != null; - } - /** - * - * - *
-   * Output only. The most updated snapshot created time in the source that finished
-   * replication.
-   * 
- * - * - * .google.cloud.vmmigration.v1.ReplicationSync last_sync = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @return The lastSync. - */ - @java.lang.Override - public com.google.cloud.vmmigration.v1.ReplicationSync getLastSync() { - return lastSync_ == null - ? com.google.cloud.vmmigration.v1.ReplicationSync.getDefaultInstance() - : lastSync_; - } - /** - * - * - *
-   * Output only. The most updated snapshot created time in the source that finished
-   * replication.
-   * 
- * - * - * .google.cloud.vmmigration.v1.ReplicationSync last_sync = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - @java.lang.Override - public com.google.cloud.vmmigration.v1.ReplicationSyncOrBuilder getLastSyncOrBuilder() { - return getLastSync(); - } - - public static final int STATE_FIELD_NUMBER = 23; - private int state_; - /** - * - * - *
-   * Output only. State of the MigratingVm.
-   * 
- * - * - * .google.cloud.vmmigration.v1.MigratingVm.State state = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @return The enum numeric value on the wire for state. - */ - @java.lang.Override - public int getStateValue() { - return state_; - } - /** - * - * - *
-   * Output only. State of the MigratingVm.
-   * 
- * - * - * .google.cloud.vmmigration.v1.MigratingVm.State state = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @return The state. - */ - @java.lang.Override - public com.google.cloud.vmmigration.v1.MigratingVm.State getState() { - @SuppressWarnings("deprecation") - com.google.cloud.vmmigration.v1.MigratingVm.State result = - com.google.cloud.vmmigration.v1.MigratingVm.State.valueOf(state_); - return result == null ? com.google.cloud.vmmigration.v1.MigratingVm.State.UNRECOGNIZED : result; - } - - public static final int STATE_TIME_FIELD_NUMBER = 22; - private com.google.protobuf.Timestamp stateTime_; - /** - * - * - *
-   * Output only. The last time the migrating VM state was updated.
-   * 
- * - * .google.protobuf.Timestamp state_time = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @return Whether the stateTime field is set. - */ - @java.lang.Override - public boolean hasStateTime() { - return stateTime_ != null; - } - /** - * - * - *
-   * Output only. The last time the migrating VM state was updated.
-   * 
- * - * .google.protobuf.Timestamp state_time = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @return The stateTime. - */ - @java.lang.Override - public com.google.protobuf.Timestamp getStateTime() { - return stateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : stateTime_; - } - /** - * - * - *
-   * Output only. The last time the migrating VM state was updated.
-   * 
- * - * .google.protobuf.Timestamp state_time = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - @java.lang.Override - public com.google.protobuf.TimestampOrBuilder getStateTimeOrBuilder() { - return getStateTime(); - } - - public static final int CURRENT_SYNC_INFO_FIELD_NUMBER = 13; - private com.google.cloud.vmmigration.v1.ReplicationCycle currentSyncInfo_; - /** - * - * - *
-   * Output only. The percentage progress of the current running replication cycle.
-   * 
- * - * - * .google.cloud.vmmigration.v1.ReplicationCycle current_sync_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @return Whether the currentSyncInfo field is set. - */ - @java.lang.Override - public boolean hasCurrentSyncInfo() { - return currentSyncInfo_ != null; - } - /** - * - * - *
-   * Output only. The percentage progress of the current running replication cycle.
-   * 
- * - * - * .google.cloud.vmmigration.v1.ReplicationCycle current_sync_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @return The currentSyncInfo. - */ - @java.lang.Override - public com.google.cloud.vmmigration.v1.ReplicationCycle getCurrentSyncInfo() { - return currentSyncInfo_ == null - ? com.google.cloud.vmmigration.v1.ReplicationCycle.getDefaultInstance() - : currentSyncInfo_; - } - /** - * - * - *
-   * Output only. The percentage progress of the current running replication cycle.
-   * 
- * - * - * .google.cloud.vmmigration.v1.ReplicationCycle current_sync_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - @java.lang.Override - public com.google.cloud.vmmigration.v1.ReplicationCycleOrBuilder getCurrentSyncInfoOrBuilder() { - return getCurrentSyncInfo(); - } - - public static final int GROUP_FIELD_NUMBER = 15; - private volatile java.lang.Object group_; - /** - * - * - *
-   * Output only. The group this migrating vm is included in, if any. The group is
-   * represented by the full path of the appropriate
-   * [Group][google.cloud.vmmigration.v1.Group] resource.
-   * 
- * - * - * string group = 15 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * - * @return The group. - */ - @java.lang.Override - public java.lang.String getGroup() { - java.lang.Object ref = group_; - 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(); - group_ = s; - return s; - } - } - /** - * - * - *
-   * Output only. The group this migrating vm is included in, if any. The group is
-   * represented by the full path of the appropriate
-   * [Group][google.cloud.vmmigration.v1.Group] resource.
-   * 
- * - * - * string group = 15 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for group. - */ - @java.lang.Override - public com.google.protobuf.ByteString getGroupBytes() { - java.lang.Object ref = group_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - group_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int LABELS_FIELD_NUMBER = 16; - - private static final class LabelsDefaultEntryHolder { - static final com.google.protobuf.MapEntry defaultEntry = - com.google.protobuf.MapEntry.newDefaultInstance( - com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_MigratingVm_LabelsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); - } - - private com.google.protobuf.MapField labels_; - - private com.google.protobuf.MapField internalGetLabels() { - if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); - } - return labels_; - } - - public int getLabelsCount() { - return internalGetLabels().getMap().size(); - } - /** - * - * - *
-   * The labels of the migrating VM.
-   * 
- * - * map<string, string> labels = 16; - */ - @java.lang.Override - public boolean containsLabels(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - return internalGetLabels().getMap().containsKey(key); - } - /** Use {@link #getLabelsMap()} instead. */ - @java.lang.Override - @java.lang.Deprecated - public java.util.Map getLabels() { - return getLabelsMap(); - } - /** - * - * - *
-   * The labels of the migrating VM.
-   * 
- * - * map<string, string> labels = 16; - */ - @java.lang.Override - public java.util.Map getLabelsMap() { - return internalGetLabels().getMap(); - } - /** - * - * - *
-   * The labels of the migrating VM.
-   * 
- * - * map<string, string> labels = 16; - */ - @java.lang.Override - public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.String defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetLabels().getMap(); - return map.containsKey(key) ? map.get(key) : defaultValue; - } - /** - * - * - *
-   * The labels of the migrating VM.
-   * 
- * - * map<string, string> labels = 16; - */ - @java.lang.Override - public java.lang.String getLabelsOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetLabels().getMap(); - if (!map.containsKey(key)) { - throw new java.lang.IllegalArgumentException(); - } - return map.get(key); - } - - public static final int ERROR_FIELD_NUMBER = 19; - private com.google.rpc.Status error_; - /** - * - * - *
-   * Output only. Provides details on the state of the Migrating VM in case of an
-   * error in replication.
-   * 
- * - * .google.rpc.Status error = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * @return Whether the error field is set. - */ - @java.lang.Override - public boolean hasError() { - return error_ != null; - } - /** - * - * - *
-   * Output only. Provides details on the state of the Migrating VM in case of an
-   * error in replication.
-   * 
- * - * .google.rpc.Status error = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * @return The error. - */ - @java.lang.Override - public com.google.rpc.Status getError() { - return error_ == null ? com.google.rpc.Status.getDefaultInstance() : error_; - } - /** - * - * - *
-   * Output only. Provides details on the state of the Migrating VM in case of an
-   * error in replication.
-   * 
- * - * .google.rpc.Status error = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - @java.lang.Override - public com.google.rpc.StatusOrBuilder getErrorOrBuilder() { - return getError(); - } - - 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_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sourceVmId_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, sourceVmId_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, description_); - } - if (policy_ != null) { - output.writeMessage(8, getPolicy()); - } - if (createTime_ != null) { - output.writeMessage(9, getCreateTime()); - } - if (updateTime_ != null) { - output.writeMessage(10, getUpdateTime()); - } - if (lastSync_ != null) { - output.writeMessage(11, getLastSync()); - } - if (currentSyncInfo_ != null) { - output.writeMessage(13, getCurrentSyncInfo()); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(group_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 15, group_); - } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( - output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 16); - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 18, displayName_); - } - if (error_ != null) { - output.writeMessage(19, getError()); - } - if (stateTime_ != null) { - output.writeMessage(22, getStateTime()); - } - if (state_ != com.google.cloud.vmmigration.v1.MigratingVm.State.STATE_UNSPECIFIED.getNumber()) { - output.writeEnum(23, state_); - } - if (targetVmDefaultsCase_ == 26) { - output.writeMessage( - 26, (com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaults) targetVmDefaults_); - } - unknownFields.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_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sourceVmId_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, sourceVmId_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, description_); - } - if (policy_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getPolicy()); - } - if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, getCreateTime()); - } - if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(10, getUpdateTime()); - } - if (lastSync_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(11, getLastSync()); - } - if (currentSyncInfo_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(13, getCurrentSyncInfo()); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(group_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(15, group_); - } - for (java.util.Map.Entry entry : - internalGetLabels().getMap().entrySet()) { - com.google.protobuf.MapEntry labels__ = - LabelsDefaultEntryHolder.defaultEntry - .newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream.computeMessageSize(16, labels__); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(18, displayName_); - } - if (error_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(19, getError()); - } - if (stateTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(22, getStateTime()); - } - if (state_ != com.google.cloud.vmmigration.v1.MigratingVm.State.STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(23, state_); - } - if (targetVmDefaultsCase_ == 26) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 26, (com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaults) targetVmDefaults_); - } - size += unknownFields.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.vmmigration.v1.MigratingVm)) { - return super.equals(obj); - } - com.google.cloud.vmmigration.v1.MigratingVm other = - (com.google.cloud.vmmigration.v1.MigratingVm) obj; - - if (!getName().equals(other.getName())) return false; - if (!getSourceVmId().equals(other.getSourceVmId())) return false; - if (!getDisplayName().equals(other.getDisplayName())) return false; - if (!getDescription().equals(other.getDescription())) return false; - if (hasPolicy() != other.hasPolicy()) return false; - if (hasPolicy()) { - if (!getPolicy().equals(other.getPolicy())) return false; - } - if (hasCreateTime() != other.hasCreateTime()) return false; - if (hasCreateTime()) { - if (!getCreateTime().equals(other.getCreateTime())) return false; - } - if (hasUpdateTime() != other.hasUpdateTime()) return false; - if (hasUpdateTime()) { - if (!getUpdateTime().equals(other.getUpdateTime())) return false; - } - if (hasLastSync() != other.hasLastSync()) return false; - if (hasLastSync()) { - if (!getLastSync().equals(other.getLastSync())) return false; - } - if (state_ != other.state_) return false; - if (hasStateTime() != other.hasStateTime()) return false; - if (hasStateTime()) { - if (!getStateTime().equals(other.getStateTime())) return false; - } - if (hasCurrentSyncInfo() != other.hasCurrentSyncInfo()) return false; - if (hasCurrentSyncInfo()) { - if (!getCurrentSyncInfo().equals(other.getCurrentSyncInfo())) return false; - } - if (!getGroup().equals(other.getGroup())) return false; - if (!internalGetLabels().equals(other.internalGetLabels())) return false; - if (hasError() != other.hasError()) return false; - if (hasError()) { - if (!getError().equals(other.getError())) return false; - } - if (!getTargetVmDefaultsCase().equals(other.getTargetVmDefaultsCase())) return false; - switch (targetVmDefaultsCase_) { - case 26: - if (!getComputeEngineTargetDefaults().equals(other.getComputeEngineTargetDefaults())) - return false; - break; - case 0: - default: - } - if (!unknownFields.equals(other.unknownFields)) 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(); - hash = (37 * hash) + SOURCE_VM_ID_FIELD_NUMBER; - hash = (53 * hash) + getSourceVmId().hashCode(); - hash = (37 * hash) + DISPLAY_NAME_FIELD_NUMBER; - hash = (53 * hash) + getDisplayName().hashCode(); - hash = (37 * hash) + DESCRIPTION_FIELD_NUMBER; - hash = (53 * hash) + getDescription().hashCode(); - if (hasPolicy()) { - hash = (37 * hash) + POLICY_FIELD_NUMBER; - hash = (53 * hash) + getPolicy().hashCode(); - } - if (hasCreateTime()) { - hash = (37 * hash) + CREATE_TIME_FIELD_NUMBER; - hash = (53 * hash) + getCreateTime().hashCode(); - } - if (hasUpdateTime()) { - hash = (37 * hash) + UPDATE_TIME_FIELD_NUMBER; - hash = (53 * hash) + getUpdateTime().hashCode(); - } - if (hasLastSync()) { - hash = (37 * hash) + LAST_SYNC_FIELD_NUMBER; - hash = (53 * hash) + getLastSync().hashCode(); - } - hash = (37 * hash) + STATE_FIELD_NUMBER; - hash = (53 * hash) + state_; - if (hasStateTime()) { - hash = (37 * hash) + STATE_TIME_FIELD_NUMBER; - hash = (53 * hash) + getStateTime().hashCode(); - } - if (hasCurrentSyncInfo()) { - hash = (37 * hash) + CURRENT_SYNC_INFO_FIELD_NUMBER; - hash = (53 * hash) + getCurrentSyncInfo().hashCode(); - } - hash = (37 * hash) + GROUP_FIELD_NUMBER; - hash = (53 * hash) + getGroup().hashCode(); - if (!internalGetLabels().getMap().isEmpty()) { - hash = (37 * hash) + LABELS_FIELD_NUMBER; - hash = (53 * hash) + internalGetLabels().hashCode(); - } - if (hasError()) { - hash = (37 * hash) + ERROR_FIELD_NUMBER; - hash = (53 * hash) + getError().hashCode(); - } - switch (targetVmDefaultsCase_) { - case 26: - hash = (37 * hash) + COMPUTE_ENGINE_TARGET_DEFAULTS_FIELD_NUMBER; - hash = (53 * hash) + getComputeEngineTargetDefaults().hashCode(); - break; - case 0: - default: - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.google.cloud.vmmigration.v1.MigratingVm parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.cloud.vmmigration.v1.MigratingVm 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.vmmigration.v1.MigratingVm parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.cloud.vmmigration.v1.MigratingVm 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.vmmigration.v1.MigratingVm parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.cloud.vmmigration.v1.MigratingVm parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.cloud.vmmigration.v1.MigratingVm parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.cloud.vmmigration.v1.MigratingVm 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.vmmigration.v1.MigratingVm parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static com.google.cloud.vmmigration.v1.MigratingVm 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.vmmigration.v1.MigratingVm parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.cloud.vmmigration.v1.MigratingVm 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.vmmigration.v1.MigratingVm 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; - } - /** - * - * - *
-   * MigratingVm describes the VM that will be migrated from a Source environment
-   * and its replication state.
-   * 
- * - * Protobuf type {@code google.cloud.vmmigration.v1.MigratingVm} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements - // @@protoc_insertion_point(builder_implements:google.cloud.vmmigration.v1.MigratingVm) - com.google.cloud.vmmigration.v1.MigratingVmOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_MigratingVm_descriptor; - } - - @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField(int number) { - switch (number) { - case 16: - return internalGetLabels(); - default: - throw new RuntimeException("Invalid map field number: " + number); - } - } - - @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMutableMapField(int number) { - switch (number) { - case 16: - return internalGetMutableLabels(); - default: - throw new RuntimeException("Invalid map field number: " + number); - } - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_MigratingVm_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.MigratingVm.class, - com.google.cloud.vmmigration.v1.MigratingVm.Builder.class); - } - - // Construct using com.google.cloud.vmmigration.v1.MigratingVm.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} - } - - @java.lang.Override - public Builder clear() { - super.clear(); - name_ = ""; - - sourceVmId_ = ""; - - displayName_ = ""; - - description_ = ""; - - if (policyBuilder_ == null) { - policy_ = null; - } else { - policy_ = null; - policyBuilder_ = null; - } - if (createTimeBuilder_ == null) { - createTime_ = null; - } else { - createTime_ = null; - createTimeBuilder_ = null; - } - if (updateTimeBuilder_ == null) { - updateTime_ = null; - } else { - updateTime_ = null; - updateTimeBuilder_ = null; - } - if (lastSyncBuilder_ == null) { - lastSync_ = null; - } else { - lastSync_ = null; - lastSyncBuilder_ = null; - } - state_ = 0; - - if (stateTimeBuilder_ == null) { - stateTime_ = null; - } else { - stateTime_ = null; - stateTimeBuilder_ = null; - } - if (currentSyncInfoBuilder_ == null) { - currentSyncInfo_ = null; - } else { - currentSyncInfo_ = null; - currentSyncInfoBuilder_ = null; - } - group_ = ""; - - internalGetMutableLabels().clear(); - if (errorBuilder_ == null) { - error_ = null; - } else { - error_ = null; - errorBuilder_ = null; - } - targetVmDefaultsCase_ = 0; - targetVmDefaults_ = null; - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.vmmigration.v1.VmMigrationProto - .internal_static_google_cloud_vmmigration_v1_MigratingVm_descriptor; - } - - @java.lang.Override - public com.google.cloud.vmmigration.v1.MigratingVm getDefaultInstanceForType() { - return com.google.cloud.vmmigration.v1.MigratingVm.getDefaultInstance(); - } - - @java.lang.Override - public com.google.cloud.vmmigration.v1.MigratingVm build() { - com.google.cloud.vmmigration.v1.MigratingVm result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.google.cloud.vmmigration.v1.MigratingVm buildPartial() { - com.google.cloud.vmmigration.v1.MigratingVm result = - new com.google.cloud.vmmigration.v1.MigratingVm(this); - int from_bitField0_ = bitField0_; - if (targetVmDefaultsCase_ == 26) { - if (computeEngineTargetDefaultsBuilder_ == null) { - result.targetVmDefaults_ = targetVmDefaults_; - } else { - result.targetVmDefaults_ = computeEngineTargetDefaultsBuilder_.build(); - } - } - result.name_ = name_; - result.sourceVmId_ = sourceVmId_; - result.displayName_ = displayName_; - result.description_ = description_; - if (policyBuilder_ == null) { - result.policy_ = policy_; - } else { - result.policy_ = policyBuilder_.build(); - } - if (createTimeBuilder_ == null) { - result.createTime_ = createTime_; - } else { - result.createTime_ = createTimeBuilder_.build(); - } - if (updateTimeBuilder_ == null) { - result.updateTime_ = updateTime_; - } else { - result.updateTime_ = updateTimeBuilder_.build(); - } - if (lastSyncBuilder_ == null) { - result.lastSync_ = lastSync_; - } else { - result.lastSync_ = lastSyncBuilder_.build(); - } - result.state_ = state_; - if (stateTimeBuilder_ == null) { - result.stateTime_ = stateTime_; - } else { - result.stateTime_ = stateTimeBuilder_.build(); - } - if (currentSyncInfoBuilder_ == null) { - result.currentSyncInfo_ = currentSyncInfo_; - } else { - result.currentSyncInfo_ = currentSyncInfoBuilder_.build(); - } - result.group_ = group_; - result.labels_ = internalGetLabels(); - result.labels_.makeImmutable(); - if (errorBuilder_ == null) { - result.error_ = error_; - } else { - result.error_ = errorBuilder_.build(); - } - result.targetVmDefaultsCase_ = targetVmDefaultsCase_; - onBuilt(); - return result; - } - - @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.vmmigration.v1.MigratingVm) { - return mergeFrom((com.google.cloud.vmmigration.v1.MigratingVm) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.google.cloud.vmmigration.v1.MigratingVm other) { - if (other == com.google.cloud.vmmigration.v1.MigratingVm.getDefaultInstance()) return this; - if (!other.getName().isEmpty()) { - name_ = other.name_; - onChanged(); - } - if (!other.getSourceVmId().isEmpty()) { - sourceVmId_ = other.sourceVmId_; - onChanged(); - } - if (!other.getDisplayName().isEmpty()) { - displayName_ = other.displayName_; - onChanged(); - } - if (!other.getDescription().isEmpty()) { - description_ = other.description_; - onChanged(); - } - if (other.hasPolicy()) { - mergePolicy(other.getPolicy()); - } - if (other.hasCreateTime()) { - mergeCreateTime(other.getCreateTime()); - } - if (other.hasUpdateTime()) { - mergeUpdateTime(other.getUpdateTime()); - } - if (other.hasLastSync()) { - mergeLastSync(other.getLastSync()); - } - if (other.state_ != 0) { - setStateValue(other.getStateValue()); - } - if (other.hasStateTime()) { - mergeStateTime(other.getStateTime()); - } - if (other.hasCurrentSyncInfo()) { - mergeCurrentSyncInfo(other.getCurrentSyncInfo()); - } - if (!other.getGroup().isEmpty()) { - group_ = other.group_; - onChanged(); - } - internalGetMutableLabels().mergeFrom(other.internalGetLabels()); - if (other.hasError()) { - mergeError(other.getError()); - } - switch (other.getTargetVmDefaultsCase()) { - case COMPUTE_ENGINE_TARGET_DEFAULTS: - { - mergeComputeEngineTargetDefaults(other.getComputeEngineTargetDefaults()); - break; - } - case TARGETVMDEFAULTS_NOT_SET: - { - break; - } - } - this.mergeUnknownFields(other.unknownFields); - 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 { - com.google.cloud.vmmigration.v1.MigratingVm parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.vmmigration.v1.MigratingVm) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private int targetVmDefaultsCase_ = 0; - private java.lang.Object targetVmDefaults_; - - public TargetVmDefaultsCase getTargetVmDefaultsCase() { - return TargetVmDefaultsCase.forNumber(targetVmDefaultsCase_); - } - - public Builder clearTargetVmDefaults() { - targetVmDefaultsCase_ = 0; - targetVmDefaults_ = null; - onChanged(); - return this; - } - - private int bitField0_; - - private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaults, - com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaults.Builder, - com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaultsOrBuilder> - computeEngineTargetDefaultsBuilder_; - /** - * - * - *
-     * Details of the target VM in Compute Engine.
-     * 
- * - * - * .google.cloud.vmmigration.v1.ComputeEngineTargetDefaults compute_engine_target_defaults = 26; - * - * - * @return Whether the computeEngineTargetDefaults field is set. - */ - @java.lang.Override - public boolean hasComputeEngineTargetDefaults() { - return targetVmDefaultsCase_ == 26; - } - /** - * - * - *
-     * Details of the target VM in Compute Engine.
-     * 
- * - * - * .google.cloud.vmmigration.v1.ComputeEngineTargetDefaults compute_engine_target_defaults = 26; - * - * - * @return The computeEngineTargetDefaults. - */ - @java.lang.Override - public com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaults - getComputeEngineTargetDefaults() { - if (computeEngineTargetDefaultsBuilder_ == null) { - if (targetVmDefaultsCase_ == 26) { - return (com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaults) targetVmDefaults_; - } - return com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaults.getDefaultInstance(); - } else { - if (targetVmDefaultsCase_ == 26) { - return computeEngineTargetDefaultsBuilder_.getMessage(); - } - return com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaults.getDefaultInstance(); - } - } - /** - * - * - *
-     * Details of the target VM in Compute Engine.
-     * 
- * - * - * .google.cloud.vmmigration.v1.ComputeEngineTargetDefaults compute_engine_target_defaults = 26; - * - */ - public Builder setComputeEngineTargetDefaults( - com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaults value) { - if (computeEngineTargetDefaultsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - targetVmDefaults_ = value; - onChanged(); - } else { - computeEngineTargetDefaultsBuilder_.setMessage(value); - } - targetVmDefaultsCase_ = 26; - return this; - } - /** - * - * - *
-     * Details of the target VM in Compute Engine.
-     * 
- * - * - * .google.cloud.vmmigration.v1.ComputeEngineTargetDefaults compute_engine_target_defaults = 26; - * - */ - public Builder setComputeEngineTargetDefaults( - com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaults.Builder builderForValue) { - if (computeEngineTargetDefaultsBuilder_ == null) { - targetVmDefaults_ = builderForValue.build(); - onChanged(); - } else { - computeEngineTargetDefaultsBuilder_.setMessage(builderForValue.build()); - } - targetVmDefaultsCase_ = 26; - return this; - } - /** - * - * - *
-     * Details of the target VM in Compute Engine.
-     * 
- * - * - * .google.cloud.vmmigration.v1.ComputeEngineTargetDefaults compute_engine_target_defaults = 26; - * - */ - public Builder mergeComputeEngineTargetDefaults( - com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaults value) { - if (computeEngineTargetDefaultsBuilder_ == null) { - if (targetVmDefaultsCase_ == 26 - && targetVmDefaults_ - != com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaults - .getDefaultInstance()) { - targetVmDefaults_ = - com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaults.newBuilder( - (com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaults) - targetVmDefaults_) - .mergeFrom(value) - .buildPartial(); - } else { - targetVmDefaults_ = value; - } - onChanged(); - } else { - if (targetVmDefaultsCase_ == 26) { - computeEngineTargetDefaultsBuilder_.mergeFrom(value); - } else { - computeEngineTargetDefaultsBuilder_.setMessage(value); - } - } - targetVmDefaultsCase_ = 26; - return this; - } - /** - * - * - *
-     * Details of the target VM in Compute Engine.
-     * 
- * - * - * .google.cloud.vmmigration.v1.ComputeEngineTargetDefaults compute_engine_target_defaults = 26; - * - */ - public Builder clearComputeEngineTargetDefaults() { - if (computeEngineTargetDefaultsBuilder_ == null) { - if (targetVmDefaultsCase_ == 26) { - targetVmDefaultsCase_ = 0; - targetVmDefaults_ = null; - onChanged(); - } - } else { - if (targetVmDefaultsCase_ == 26) { - targetVmDefaultsCase_ = 0; - targetVmDefaults_ = null; - } - computeEngineTargetDefaultsBuilder_.clear(); - } - return this; - } - /** - * - * - *
-     * Details of the target VM in Compute Engine.
-     * 
- * - * - * .google.cloud.vmmigration.v1.ComputeEngineTargetDefaults compute_engine_target_defaults = 26; - * - */ - public com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaults.Builder - getComputeEngineTargetDefaultsBuilder() { - return getComputeEngineTargetDefaultsFieldBuilder().getBuilder(); - } - /** - * - * - *
-     * Details of the target VM in Compute Engine.
-     * 
- * - * - * .google.cloud.vmmigration.v1.ComputeEngineTargetDefaults compute_engine_target_defaults = 26; - * - */ - @java.lang.Override - public com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaultsOrBuilder - getComputeEngineTargetDefaultsOrBuilder() { - if ((targetVmDefaultsCase_ == 26) && (computeEngineTargetDefaultsBuilder_ != null)) { - return computeEngineTargetDefaultsBuilder_.getMessageOrBuilder(); - } else { - if (targetVmDefaultsCase_ == 26) { - return (com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaults) targetVmDefaults_; - } - return com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaults.getDefaultInstance(); - } - } - /** - * - * - *
-     * Details of the target VM in Compute Engine.
-     * 
- * - * - * .google.cloud.vmmigration.v1.ComputeEngineTargetDefaults compute_engine_target_defaults = 26; - * - */ - private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaults, - com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaults.Builder, - com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaultsOrBuilder> - getComputeEngineTargetDefaultsFieldBuilder() { - if (computeEngineTargetDefaultsBuilder_ == null) { - if (!(targetVmDefaultsCase_ == 26)) { - targetVmDefaults_ = - com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaults.getDefaultInstance(); - } - computeEngineTargetDefaultsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaults, - com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaults.Builder, - com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaultsOrBuilder>( - (com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaults) targetVmDefaults_, - getParentForChildren(), - isClean()); - targetVmDefaults_ = null; - } - targetVmDefaultsCase_ = 26; - onChanged(); - ; - return computeEngineTargetDefaultsBuilder_; - } - - private java.lang.Object name_ = ""; - /** - * - * - *
-     * Output only. The identifier of the MigratingVm.
-     * 
- * - * 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; - java.lang.String s = bs.toStringUtf8(); - name_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * - * - *
-     * Output only. The identifier of the MigratingVm.
-     * 
- * - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * @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; - } - } - /** - * - * - *
-     * Output only. The identifier of the MigratingVm.
-     * 
- * - * 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(); - } - - name_ = value; - onChanged(); - return this; - } - /** - * - * - *
-     * Output only. The identifier of the MigratingVm.
-     * 
- * - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * @return This builder for chaining. - */ - public Builder clearName() { - - name_ = getDefaultInstance().getName(); - onChanged(); - return this; - } - /** - * - * - *
-     * Output only. The identifier of the MigratingVm.
-     * 
- * - * 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(); - } - checkByteStringIsUtf8(value); - - name_ = value; - onChanged(); - return this; - } - - private java.lang.Object sourceVmId_ = ""; - /** - * - * - *
-     * The unique ID of the VM in the source.
-     * The VM's name in vSphere can be changed, so this is not the VM's name but
-     * rather its moRef id. This id is of the form vm-<num>.
-     * 
- * - * string source_vm_id = 2; - * - * @return The sourceVmId. - */ - public java.lang.String getSourceVmId() { - java.lang.Object ref = sourceVmId_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - sourceVmId_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * - * - *
-     * The unique ID of the VM in the source.
-     * The VM's name in vSphere can be changed, so this is not the VM's name but
-     * rather its moRef id. This id is of the form vm-<num>.
-     * 
- * - * string source_vm_id = 2; - * - * @return The bytes for sourceVmId. - */ - public com.google.protobuf.ByteString getSourceVmIdBytes() { - java.lang.Object ref = sourceVmId_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - sourceVmId_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * - * - *
-     * The unique ID of the VM in the source.
-     * The VM's name in vSphere can be changed, so this is not the VM's name but
-     * rather its moRef id. This id is of the form vm-<num>.
-     * 
- * - * string source_vm_id = 2; - * - * @param value The sourceVmId to set. - * @return This builder for chaining. - */ - public Builder setSourceVmId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - sourceVmId_ = value; - onChanged(); - return this; - } - /** - * - * - *
-     * The unique ID of the VM in the source.
-     * The VM's name in vSphere can be changed, so this is not the VM's name but
-     * rather its moRef id. This id is of the form vm-<num>.
-     * 
- * - * string source_vm_id = 2; - * - * @return This builder for chaining. - */ - public Builder clearSourceVmId() { - - sourceVmId_ = getDefaultInstance().getSourceVmId(); - onChanged(); - return this; - } - /** - * - * - *
-     * The unique ID of the VM in the source.
-     * The VM's name in vSphere can be changed, so this is not the VM's name but
-     * rather its moRef id. This id is of the form vm-<num>.
-     * 
- * - * string source_vm_id = 2; - * - * @param value The bytes for sourceVmId to set. - * @return This builder for chaining. - */ - public Builder setSourceVmIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - sourceVmId_ = value; - onChanged(); - return this; - } - - private java.lang.Object displayName_ = ""; - /** - * - * - *
-     * The display name attached to the MigratingVm by the user.
-     * 
- * - * string display_name = 18; - * - * @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; - java.lang.String s = bs.toStringUtf8(); - displayName_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * - * - *
-     * The display name attached to the MigratingVm by the user.
-     * 
- * - * string display_name = 18; - * - * @return The bytes for displayName. - */ - 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); - displayName_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * - * - *
-     * The display name attached to the MigratingVm by the user.
-     * 
- * - * string display_name = 18; - * - * @param value The displayName to set. - * @return This builder for chaining. - */ - public Builder setDisplayName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - displayName_ = value; - onChanged(); - return this; - } - /** - * - * - *
-     * The display name attached to the MigratingVm by the user.
-     * 
- * - * string display_name = 18; - * - * @return This builder for chaining. - */ - public Builder clearDisplayName() { - - displayName_ = getDefaultInstance().getDisplayName(); - onChanged(); - return this; - } - /** - * - * - *
-     * The display name attached to the MigratingVm by the user.
-     * 
- * - * string display_name = 18; - * - * @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(); - } - checkByteStringIsUtf8(value); - - displayName_ = value; - onChanged(); - return this; - } - - private java.lang.Object description_ = ""; - /** - * - * - *
-     * The description attached to the migrating VM by the user.
-     * 
- * - * 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; - java.lang.String s = bs.toStringUtf8(); - description_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * - * - *
-     * The description attached to the migrating VM by the user.
-     * 
- * - * string description = 3; - * - * @return The bytes for description. - */ - 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); - description_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * - * - *
-     * The description attached to the migrating VM by the user.
-     * 
- * - * 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(); - } - - description_ = value; - onChanged(); - return this; - } - /** - * - * - *
-     * The description attached to the migrating VM by the user.
-     * 
- * - * string description = 3; - * - * @return This builder for chaining. - */ - public Builder clearDescription() { - - description_ = getDefaultInstance().getDescription(); - onChanged(); - return this; - } - /** - * - * - *
-     * The description attached to the migrating VM by the user.
-     * 
- * - * 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(); - } - checkByteStringIsUtf8(value); - - description_ = value; - onChanged(); - return this; - } - - private com.google.cloud.vmmigration.v1.SchedulePolicy policy_; - private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.vmmigration.v1.SchedulePolicy, - com.google.cloud.vmmigration.v1.SchedulePolicy.Builder, - com.google.cloud.vmmigration.v1.SchedulePolicyOrBuilder> - policyBuilder_; - /** - * - * - *
-     * The replication schedule policy.
-     * 
- * - * .google.cloud.vmmigration.v1.SchedulePolicy policy = 8; - * - * @return Whether the policy field is set. - */ - public boolean hasPolicy() { - return policyBuilder_ != null || policy_ != null; - } - /** - * - * - *
-     * The replication schedule policy.
-     * 
- * - * .google.cloud.vmmigration.v1.SchedulePolicy policy = 8; - * - * @return The policy. - */ - public com.google.cloud.vmmigration.v1.SchedulePolicy getPolicy() { - if (policyBuilder_ == null) { - return policy_ == null - ? com.google.cloud.vmmigration.v1.SchedulePolicy.getDefaultInstance() - : policy_; - } else { - return policyBuilder_.getMessage(); - } - } - /** - * - * - *
-     * The replication schedule policy.
-     * 
- * - * .google.cloud.vmmigration.v1.SchedulePolicy policy = 8; - */ - public Builder setPolicy(com.google.cloud.vmmigration.v1.SchedulePolicy value) { - if (policyBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - policy_ = value; - onChanged(); - } else { - policyBuilder_.setMessage(value); - } - - return this; - } - /** - * - * - *
-     * The replication schedule policy.
-     * 
- * - * .google.cloud.vmmigration.v1.SchedulePolicy policy = 8; - */ - public Builder setPolicy( - com.google.cloud.vmmigration.v1.SchedulePolicy.Builder builderForValue) { - if (policyBuilder_ == null) { - policy_ = builderForValue.build(); - onChanged(); - } else { - policyBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - * - * - *
-     * The replication schedule policy.
-     * 
- * - * .google.cloud.vmmigration.v1.SchedulePolicy policy = 8; - */ - public Builder mergePolicy(com.google.cloud.vmmigration.v1.SchedulePolicy value) { - if (policyBuilder_ == null) { - if (policy_ != null) { - policy_ = - com.google.cloud.vmmigration.v1.SchedulePolicy.newBuilder(policy_) - .mergeFrom(value) - .buildPartial(); - } else { - policy_ = value; - } - onChanged(); - } else { - policyBuilder_.mergeFrom(value); - } - - return this; - } - /** - * - * - *
-     * The replication schedule policy.
-     * 
- * - * .google.cloud.vmmigration.v1.SchedulePolicy policy = 8; - */ - public Builder clearPolicy() { - if (policyBuilder_ == null) { - policy_ = null; - onChanged(); - } else { - policy_ = null; - policyBuilder_ = null; - } - - return this; - } - /** - * - * - *
-     * The replication schedule policy.
-     * 
- * - * .google.cloud.vmmigration.v1.SchedulePolicy policy = 8; - */ - public com.google.cloud.vmmigration.v1.SchedulePolicy.Builder getPolicyBuilder() { - - onChanged(); - return getPolicyFieldBuilder().getBuilder(); - } - /** - * - * - *
-     * The replication schedule policy.
-     * 
- * - * .google.cloud.vmmigration.v1.SchedulePolicy policy = 8; - */ - public com.google.cloud.vmmigration.v1.SchedulePolicyOrBuilder getPolicyOrBuilder() { - if (policyBuilder_ != null) { - return policyBuilder_.getMessageOrBuilder(); - } else { - return policy_ == null - ? com.google.cloud.vmmigration.v1.SchedulePolicy.getDefaultInstance() - : policy_; - } - } - /** - * - * - *
-     * The replication schedule policy.
-     * 
- * - * .google.cloud.vmmigration.v1.SchedulePolicy policy = 8; - */ - private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.vmmigration.v1.SchedulePolicy, - com.google.cloud.vmmigration.v1.SchedulePolicy.Builder, - com.google.cloud.vmmigration.v1.SchedulePolicyOrBuilder> - getPolicyFieldBuilder() { - if (policyBuilder_ == null) { - policyBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.vmmigration.v1.SchedulePolicy, - com.google.cloud.vmmigration.v1.SchedulePolicy.Builder, - com.google.cloud.vmmigration.v1.SchedulePolicyOrBuilder>( - getPolicy(), getParentForChildren(), isClean()); - policy_ = null; - } - return policyBuilder_; - } - - private com.google.protobuf.Timestamp createTime_; - private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - createTimeBuilder_; - /** - * - * - *
-     * Output only. The time the migrating VM was created (this refers to this resource and not
-     * to the time it was installed in the source).
-     * 
- * - * - * .google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @return Whether the createTime field is set. - */ - public boolean hasCreateTime() { - return createTimeBuilder_ != null || createTime_ != null; - } - /** - * - * - *
-     * Output only. The time the migrating VM was created (this refers to this resource and not
-     * to the time it was installed in the source).
-     * 
- * - * - * .google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @return The createTime. - */ - public com.google.protobuf.Timestamp getCreateTime() { - if (createTimeBuilder_ == null) { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; - } else { - return createTimeBuilder_.getMessage(); - } - } - /** - * - * - *
-     * Output only. The time the migrating VM was created (this refers to this resource and not
-     * to the time it was installed in the source).
-     * 
- * - * - * .google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - public Builder setCreateTime(com.google.protobuf.Timestamp value) { - if (createTimeBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - createTime_ = value; - onChanged(); - } else { - createTimeBuilder_.setMessage(value); - } - - return this; - } - /** - * - * - *
-     * Output only. The time the migrating VM was created (this refers to this resource and not
-     * to the time it was installed in the source).
-     * 
- * - * - * .google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { - if (createTimeBuilder_ == null) { - createTime_ = builderForValue.build(); - onChanged(); - } else { - createTimeBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - * - * - *
-     * Output only. The time the migrating VM was created (this refers to this resource and not
-     * to the time it was installed in the source).
-     * 
- * - * - * .google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { - if (createTimeBuilder_ == null) { - if (createTime_ != null) { - createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); - } else { - createTime_ = value; - } - onChanged(); - } else { - createTimeBuilder_.mergeFrom(value); - } - - return this; - } - /** - * - * - *
-     * Output only. The time the migrating VM was created (this refers to this resource and not
-     * to the time it was installed in the source).
-     * 
- * - * - * .google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - public Builder clearCreateTime() { - if (createTimeBuilder_ == null) { - createTime_ = null; - onChanged(); - } else { - createTime_ = null; - createTimeBuilder_ = null; - } - - return this; - } - /** - * - * - *
-     * Output only. The time the migrating VM was created (this refers to this resource and not
-     * to the time it was installed in the source).
-     * 
- * - * - * .google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - - onChanged(); - return getCreateTimeFieldBuilder().getBuilder(); - } - /** - * - * - *
-     * Output only. The time the migrating VM was created (this refers to this resource and not
-     * to the time it was installed in the source).
-     * 
- * - * - * .google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { - if (createTimeBuilder_ != null) { - return createTimeBuilder_.getMessageOrBuilder(); - } else { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; - } - } - /** - * - * - *
-     * Output only. The time the migrating VM was created (this refers to this resource and not
-     * to the time it was installed in the source).
-     * 
- * - * - * .google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - getCreateTimeFieldBuilder() { - if (createTimeBuilder_ == null) { - createTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getCreateTime(), getParentForChildren(), isClean()); - createTime_ = null; - } - return createTimeBuilder_; - } - - 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_; - /** - * - * - *
-     * Output only. The last time the migrating VM resource was updated.
-     * 
- * - * - * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @return Whether the updateTime field is set. - */ - public boolean hasUpdateTime() { - return updateTimeBuilder_ != null || updateTime_ != null; - } - /** - * - * - *
-     * Output only. The last time the migrating VM resource was updated.
-     * 
- * - * - * .google.protobuf.Timestamp update_time = 10 [(.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_; - } else { - return updateTimeBuilder_.getMessage(); - } - } - /** - * - * - *
-     * Output only. The last time the migrating VM resource was updated.
-     * 
- * - * - * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - public Builder setUpdateTime(com.google.protobuf.Timestamp value) { - if (updateTimeBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - updateTime_ = value; - onChanged(); - } else { - updateTimeBuilder_.setMessage(value); - } - - return this; - } - /** - * - * - *
-     * Output only. The last time the migrating VM resource was updated.
-     * 
- * - * - * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { - if (updateTimeBuilder_ == null) { - updateTime_ = builderForValue.build(); - onChanged(); - } else { - updateTimeBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - * - * - *
-     * Output only. The last time the migrating VM resource was updated.
-     * 
- * - * - * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { - if (updateTimeBuilder_ == null) { - if (updateTime_ != null) { - updateTime_ = - com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); - } else { - updateTime_ = value; - } - onChanged(); - } else { - updateTimeBuilder_.mergeFrom(value); - } - - return this; - } - /** - * - * - *
-     * Output only. The last time the migrating VM resource was updated.
-     * 
- * - * - * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - public Builder clearUpdateTime() { - if (updateTimeBuilder_ == null) { - updateTime_ = null; - onChanged(); - } else { - updateTime_ = null; - updateTimeBuilder_ = null; - } - - return this; - } - /** - * - * - *
-     * Output only. The last time the migrating VM resource was updated.
-     * 
- * - * - * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { - - onChanged(); - return getUpdateTimeFieldBuilder().getBuilder(); - } - /** - * - * - *
-     * Output only. The last time the migrating VM resource was updated.
-     * 
- * - * - * .google.protobuf.Timestamp update_time = 10 [(.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_; - } - } - /** - * - * - *
-     * Output only. The last time the migrating VM resource was updated.
-     * 
- * - * - * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - private com.google.protobuf.SingleFieldBuilderV3< - 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()); - updateTime_ = null; - } - return updateTimeBuilder_; - } - - private com.google.cloud.vmmigration.v1.ReplicationSync lastSync_; - private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.vmmigration.v1.ReplicationSync, - com.google.cloud.vmmigration.v1.ReplicationSync.Builder, - com.google.cloud.vmmigration.v1.ReplicationSyncOrBuilder> - lastSyncBuilder_; - /** - * - * - *
-     * Output only. The most updated snapshot created time in the source that finished
-     * replication.
-     * 
- * - * - * .google.cloud.vmmigration.v1.ReplicationSync last_sync = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @return Whether the lastSync field is set. - */ - public boolean hasLastSync() { - return lastSyncBuilder_ != null || lastSync_ != null; - } - /** - * - * - *
-     * Output only. The most updated snapshot created time in the source that finished
-     * replication.
-     * 
- * - * - * .google.cloud.vmmigration.v1.ReplicationSync last_sync = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @return The lastSync. - */ - public com.google.cloud.vmmigration.v1.ReplicationSync getLastSync() { - if (lastSyncBuilder_ == null) { - return lastSync_ == null - ? com.google.cloud.vmmigration.v1.ReplicationSync.getDefaultInstance() - : lastSync_; - } else { - return lastSyncBuilder_.getMessage(); - } - } - /** - * - * - *
-     * Output only. The most updated snapshot created time in the source that finished
-     * replication.
-     * 
- * - * - * .google.cloud.vmmigration.v1.ReplicationSync last_sync = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - public Builder setLastSync(com.google.cloud.vmmigration.v1.ReplicationSync value) { - if (lastSyncBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - lastSync_ = value; - onChanged(); - } else { - lastSyncBuilder_.setMessage(value); - } - - return this; - } - /** - * - * - *
-     * Output only. The most updated snapshot created time in the source that finished
-     * replication.
-     * 
- * - * - * .google.cloud.vmmigration.v1.ReplicationSync last_sync = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - public Builder setLastSync( - com.google.cloud.vmmigration.v1.ReplicationSync.Builder builderForValue) { - if (lastSyncBuilder_ == null) { - lastSync_ = builderForValue.build(); - onChanged(); - } else { - lastSyncBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - * - * - *
-     * Output only. The most updated snapshot created time in the source that finished
-     * replication.
-     * 
- * - * - * .google.cloud.vmmigration.v1.ReplicationSync last_sync = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - public Builder mergeLastSync(com.google.cloud.vmmigration.v1.ReplicationSync value) { - if (lastSyncBuilder_ == null) { - if (lastSync_ != null) { - lastSync_ = - com.google.cloud.vmmigration.v1.ReplicationSync.newBuilder(lastSync_) - .mergeFrom(value) - .buildPartial(); - } else { - lastSync_ = value; - } - onChanged(); - } else { - lastSyncBuilder_.mergeFrom(value); - } - - return this; - } - /** - * - * - *
-     * Output only. The most updated snapshot created time in the source that finished
-     * replication.
-     * 
- * - * - * .google.cloud.vmmigration.v1.ReplicationSync last_sync = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - public Builder clearLastSync() { - if (lastSyncBuilder_ == null) { - lastSync_ = null; - onChanged(); - } else { - lastSync_ = null; - lastSyncBuilder_ = null; - } - - return this; - } - /** - * - * - *
-     * Output only. The most updated snapshot created time in the source that finished
-     * replication.
-     * 
- * - * - * .google.cloud.vmmigration.v1.ReplicationSync last_sync = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - public com.google.cloud.vmmigration.v1.ReplicationSync.Builder getLastSyncBuilder() { - - onChanged(); - return getLastSyncFieldBuilder().getBuilder(); - } - /** - * - * - *
-     * Output only. The most updated snapshot created time in the source that finished
-     * replication.
-     * 
- * - * - * .google.cloud.vmmigration.v1.ReplicationSync last_sync = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - public com.google.cloud.vmmigration.v1.ReplicationSyncOrBuilder getLastSyncOrBuilder() { - if (lastSyncBuilder_ != null) { - return lastSyncBuilder_.getMessageOrBuilder(); - } else { - return lastSync_ == null - ? com.google.cloud.vmmigration.v1.ReplicationSync.getDefaultInstance() - : lastSync_; - } - } - /** - * - * - *
-     * Output only. The most updated snapshot created time in the source that finished
-     * replication.
-     * 
- * - * - * .google.cloud.vmmigration.v1.ReplicationSync last_sync = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.vmmigration.v1.ReplicationSync, - com.google.cloud.vmmigration.v1.ReplicationSync.Builder, - com.google.cloud.vmmigration.v1.ReplicationSyncOrBuilder> - getLastSyncFieldBuilder() { - if (lastSyncBuilder_ == null) { - lastSyncBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.vmmigration.v1.ReplicationSync, - com.google.cloud.vmmigration.v1.ReplicationSync.Builder, - com.google.cloud.vmmigration.v1.ReplicationSyncOrBuilder>( - getLastSync(), getParentForChildren(), isClean()); - lastSync_ = null; - } - return lastSyncBuilder_; - } - - private int state_ = 0; - /** - * - * - *
-     * Output only. State of the MigratingVm.
-     * 
- * - * - * .google.cloud.vmmigration.v1.MigratingVm.State state = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @return The enum numeric value on the wire for state. - */ - @java.lang.Override - public int getStateValue() { - return state_; - } - /** - * - * - *
-     * Output only. State of the MigratingVm.
-     * 
- * - * - * .google.cloud.vmmigration.v1.MigratingVm.State state = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @param value The enum numeric value on the wire for state to set. - * @return This builder for chaining. - */ - public Builder setStateValue(int value) { - - state_ = value; - onChanged(); - return this; - } - /** - * - * - *
-     * Output only. State of the MigratingVm.
-     * 
- * - * - * .google.cloud.vmmigration.v1.MigratingVm.State state = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @return The state. - */ - @java.lang.Override - public com.google.cloud.vmmigration.v1.MigratingVm.State getState() { - @SuppressWarnings("deprecation") - com.google.cloud.vmmigration.v1.MigratingVm.State result = - com.google.cloud.vmmigration.v1.MigratingVm.State.valueOf(state_); - return result == null - ? com.google.cloud.vmmigration.v1.MigratingVm.State.UNRECOGNIZED - : result; - } - /** - * - * - *
-     * Output only. State of the MigratingVm.
-     * 
- * - * - * .google.cloud.vmmigration.v1.MigratingVm.State state = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @param value The state to set. - * @return This builder for chaining. - */ - public Builder setState(com.google.cloud.vmmigration.v1.MigratingVm.State value) { - if (value == null) { - throw new NullPointerException(); - } - - state_ = value.getNumber(); - onChanged(); - return this; - } - /** - * - * - *
-     * Output only. State of the MigratingVm.
-     * 
- * - * - * .google.cloud.vmmigration.v1.MigratingVm.State state = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @return This builder for chaining. - */ - public Builder clearState() { - - state_ = 0; - onChanged(); - return this; - } - - private com.google.protobuf.Timestamp stateTime_; - private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - stateTimeBuilder_; - /** - * - * - *
-     * Output only. The last time the migrating VM state was updated.
-     * 
- * - * - * .google.protobuf.Timestamp state_time = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @return Whether the stateTime field is set. - */ - public boolean hasStateTime() { - return stateTimeBuilder_ != null || stateTime_ != null; - } - /** - * - * - *
-     * Output only. The last time the migrating VM state was updated.
-     * 
- * - * - * .google.protobuf.Timestamp state_time = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @return The stateTime. - */ - public com.google.protobuf.Timestamp getStateTime() { - if (stateTimeBuilder_ == null) { - return stateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : stateTime_; - } else { - return stateTimeBuilder_.getMessage(); - } - } - /** - * - * - *
-     * Output only. The last time the migrating VM state was updated.
-     * 
- * - * - * .google.protobuf.Timestamp state_time = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - public Builder setStateTime(com.google.protobuf.Timestamp value) { - if (stateTimeBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - stateTime_ = value; - onChanged(); - } else { - stateTimeBuilder_.setMessage(value); - } - - return this; - } - /** - * - * - *
-     * Output only. The last time the migrating VM state was updated.
-     * 
- * - * - * .google.protobuf.Timestamp state_time = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - public Builder setStateTime(com.google.protobuf.Timestamp.Builder builderForValue) { - if (stateTimeBuilder_ == null) { - stateTime_ = builderForValue.build(); - onChanged(); - } else { - stateTimeBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - * - * - *
-     * Output only. The last time the migrating VM state was updated.
-     * 
- * - * - * .google.protobuf.Timestamp state_time = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - public Builder mergeStateTime(com.google.protobuf.Timestamp value) { - if (stateTimeBuilder_ == null) { - if (stateTime_ != null) { - stateTime_ = - com.google.protobuf.Timestamp.newBuilder(stateTime_).mergeFrom(value).buildPartial(); - } else { - stateTime_ = value; - } - onChanged(); - } else { - stateTimeBuilder_.mergeFrom(value); - } - - return this; - } - /** - * - * - *
-     * Output only. The last time the migrating VM state was updated.
-     * 
- * - * - * .google.protobuf.Timestamp state_time = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - public Builder clearStateTime() { - if (stateTimeBuilder_ == null) { - stateTime_ = null; - onChanged(); - } else { - stateTime_ = null; - stateTimeBuilder_ = null; - } - - return this; - } - /** - * - * - *
-     * Output only. The last time the migrating VM state was updated.
-     * 
- * - * - * .google.protobuf.Timestamp state_time = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - public com.google.protobuf.Timestamp.Builder getStateTimeBuilder() { - - onChanged(); - return getStateTimeFieldBuilder().getBuilder(); - } - /** - * - * - *
-     * Output only. The last time the migrating VM state was updated.
-     * 
- * - * - * .google.protobuf.Timestamp state_time = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - public com.google.protobuf.TimestampOrBuilder getStateTimeOrBuilder() { - if (stateTimeBuilder_ != null) { - return stateTimeBuilder_.getMessageOrBuilder(); - } else { - return stateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : stateTime_; - } - } - /** - * - * - *
-     * Output only. The last time the migrating VM state was updated.
-     * 
- * - * - * .google.protobuf.Timestamp state_time = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - getStateTimeFieldBuilder() { - if (stateTimeBuilder_ == null) { - stateTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getStateTime(), getParentForChildren(), isClean()); - stateTime_ = null; - } - return stateTimeBuilder_; - } - - private com.google.cloud.vmmigration.v1.ReplicationCycle currentSyncInfo_; - private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.vmmigration.v1.ReplicationCycle, - com.google.cloud.vmmigration.v1.ReplicationCycle.Builder, - com.google.cloud.vmmigration.v1.ReplicationCycleOrBuilder> - currentSyncInfoBuilder_; - /** - * - * - *
-     * Output only. The percentage progress of the current running replication cycle.
-     * 
- * - * - * .google.cloud.vmmigration.v1.ReplicationCycle current_sync_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @return Whether the currentSyncInfo field is set. - */ - public boolean hasCurrentSyncInfo() { - return currentSyncInfoBuilder_ != null || currentSyncInfo_ != null; - } - /** - * - * - *
-     * Output only. The percentage progress of the current running replication cycle.
-     * 
- * - * - * .google.cloud.vmmigration.v1.ReplicationCycle current_sync_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @return The currentSyncInfo. - */ - public com.google.cloud.vmmigration.v1.ReplicationCycle getCurrentSyncInfo() { - if (currentSyncInfoBuilder_ == null) { - return currentSyncInfo_ == null - ? com.google.cloud.vmmigration.v1.ReplicationCycle.getDefaultInstance() - : currentSyncInfo_; - } else { - return currentSyncInfoBuilder_.getMessage(); - } - } - /** - * - * - *
-     * Output only. The percentage progress of the current running replication cycle.
-     * 
- * - * - * .google.cloud.vmmigration.v1.ReplicationCycle current_sync_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - public Builder setCurrentSyncInfo(com.google.cloud.vmmigration.v1.ReplicationCycle value) { - if (currentSyncInfoBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - currentSyncInfo_ = value; - onChanged(); - } else { - currentSyncInfoBuilder_.setMessage(value); - } - - return this; - } - /** - * - * - *
-     * Output only. The percentage progress of the current running replication cycle.
-     * 
- * - * - * .google.cloud.vmmigration.v1.ReplicationCycle current_sync_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - public Builder setCurrentSyncInfo( - com.google.cloud.vmmigration.v1.ReplicationCycle.Builder builderForValue) { - if (currentSyncInfoBuilder_ == null) { - currentSyncInfo_ = builderForValue.build(); - onChanged(); - } else { - currentSyncInfoBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - * - * - *
-     * Output only. The percentage progress of the current running replication cycle.
-     * 
- * - * - * .google.cloud.vmmigration.v1.ReplicationCycle current_sync_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - public Builder mergeCurrentSyncInfo(com.google.cloud.vmmigration.v1.ReplicationCycle value) { - if (currentSyncInfoBuilder_ == null) { - if (currentSyncInfo_ != null) { - currentSyncInfo_ = - com.google.cloud.vmmigration.v1.ReplicationCycle.newBuilder(currentSyncInfo_) - .mergeFrom(value) - .buildPartial(); - } else { - currentSyncInfo_ = value; - } - onChanged(); - } else { - currentSyncInfoBuilder_.mergeFrom(value); - } - - return this; - } - /** - * - * - *
-     * Output only. The percentage progress of the current running replication cycle.
-     * 
- * - * - * .google.cloud.vmmigration.v1.ReplicationCycle current_sync_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - public Builder clearCurrentSyncInfo() { - if (currentSyncInfoBuilder_ == null) { - currentSyncInfo_ = null; - onChanged(); - } else { - currentSyncInfo_ = null; - currentSyncInfoBuilder_ = null; - } - - return this; - } - /** - * - * - *
-     * Output only. The percentage progress of the current running replication cycle.
-     * 
- * - * - * .google.cloud.vmmigration.v1.ReplicationCycle current_sync_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - public com.google.cloud.vmmigration.v1.ReplicationCycle.Builder getCurrentSyncInfoBuilder() { - - onChanged(); - return getCurrentSyncInfoFieldBuilder().getBuilder(); - } - /** - * - * - *
-     * Output only. The percentage progress of the current running replication cycle.
-     * 
- * - * - * .google.cloud.vmmigration.v1.ReplicationCycle current_sync_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - public com.google.cloud.vmmigration.v1.ReplicationCycleOrBuilder getCurrentSyncInfoOrBuilder() { - if (currentSyncInfoBuilder_ != null) { - return currentSyncInfoBuilder_.getMessageOrBuilder(); - } else { - return currentSyncInfo_ == null - ? com.google.cloud.vmmigration.v1.ReplicationCycle.getDefaultInstance() - : currentSyncInfo_; - } - } - /** - * - * - *
-     * Output only. The percentage progress of the current running replication cycle.
-     * 
- * - * - * .google.cloud.vmmigration.v1.ReplicationCycle current_sync_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.vmmigration.v1.ReplicationCycle, - com.google.cloud.vmmigration.v1.ReplicationCycle.Builder, - com.google.cloud.vmmigration.v1.ReplicationCycleOrBuilder> - getCurrentSyncInfoFieldBuilder() { - if (currentSyncInfoBuilder_ == null) { - currentSyncInfoBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.vmmigration.v1.ReplicationCycle, - com.google.cloud.vmmigration.v1.ReplicationCycle.Builder, - com.google.cloud.vmmigration.v1.ReplicationCycleOrBuilder>( - getCurrentSyncInfo(), getParentForChildren(), isClean()); - currentSyncInfo_ = null; - } - return currentSyncInfoBuilder_; - } - - private java.lang.Object group_ = ""; - /** - * - * - *
-     * Output only. The group this migrating vm is included in, if any. The group is
-     * represented by the full path of the appropriate
-     * [Group][google.cloud.vmmigration.v1.Group] resource.
-     * 
- * - * - * string group = 15 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * - * @return The group. - */ - public java.lang.String getGroup() { - java.lang.Object ref = group_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - group_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * - * - *
-     * Output only. The group this migrating vm is included in, if any. The group is
-     * represented by the full path of the appropriate
-     * [Group][google.cloud.vmmigration.v1.Group] resource.
-     * 
- * - * - * string group = 15 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for group. - */ - public com.google.protobuf.ByteString getGroupBytes() { - java.lang.Object ref = group_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - group_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * - * - *
-     * Output only. The group this migrating vm is included in, if any. The group is
-     * represented by the full path of the appropriate
-     * [Group][google.cloud.vmmigration.v1.Group] resource.
-     * 
- * - * - * string group = 15 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * - * @param value The group to set. - * @return This builder for chaining. - */ - public Builder setGroup(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - group_ = value; - onChanged(); - return this; - } - /** - * - * - *
-     * Output only. The group this migrating vm is included in, if any. The group is
-     * represented by the full path of the appropriate
-     * [Group][google.cloud.vmmigration.v1.Group] resource.
-     * 
- * - * - * string group = 15 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * - * @return This builder for chaining. - */ - public Builder clearGroup() { - - group_ = getDefaultInstance().getGroup(); - onChanged(); - return this; - } - /** - * - * - *
-     * Output only. The group this migrating vm is included in, if any. The group is
-     * represented by the full path of the appropriate
-     * [Group][google.cloud.vmmigration.v1.Group] resource.
-     * 
- * - * - * string group = 15 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * - * @param value The bytes for group to set. - * @return This builder for chaining. - */ - public Builder setGroupBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - group_ = value; - onChanged(); - return this; - } - - private com.google.protobuf.MapField labels_; - - private com.google.protobuf.MapField internalGetLabels() { - if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); - } - return labels_; - } - - private com.google.protobuf.MapField - internalGetMutableLabels() { - onChanged(); - ; - if (labels_ == null) { - labels_ = com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); - } - if (!labels_.isMutable()) { - labels_ = labels_.copy(); - } - return labels_; - } - - public int getLabelsCount() { - return internalGetLabels().getMap().size(); - } - /** - * - * - *
-     * The labels of the migrating VM.
-     * 
- * - * map<string, string> labels = 16; - */ - @java.lang.Override - public boolean containsLabels(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - return internalGetLabels().getMap().containsKey(key); - } - /** Use {@link #getLabelsMap()} instead. */ - @java.lang.Override - @java.lang.Deprecated - public java.util.Map getLabels() { - return getLabelsMap(); - } - /** - * - * - *
-     * The labels of the migrating VM.
-     * 
- * - * map<string, string> labels = 16; - */ - @java.lang.Override - public java.util.Map getLabelsMap() { - return internalGetLabels().getMap(); - } - /** - * - * - *
-     * The labels of the migrating VM.
-     * 
- * - * map<string, string> labels = 16; - */ - @java.lang.Override - public java.lang.String getLabelsOrDefault( - java.lang.String key, java.lang.String defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetLabels().getMap(); - return map.containsKey(key) ? map.get(key) : defaultValue; - } - /** - * - * - *
-     * The labels of the migrating VM.
-     * 
- * - * map<string, string> labels = 16; - */ - @java.lang.Override - public java.lang.String getLabelsOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetLabels().getMap(); - if (!map.containsKey(key)) { - throw new java.lang.IllegalArgumentException(); - } - return map.get(key); - } - - public Builder clearLabels() { - internalGetMutableLabels().getMutableMap().clear(); - return this; - } - /** - * - * - *
-     * The labels of the migrating VM.
-     * 
- * - * map<string, string> labels = 16; - */ - public Builder removeLabels(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - internalGetMutableLabels().getMutableMap().remove(key); - return this; - } - /** Use alternate mutation accessors instead. */ - @java.lang.Deprecated - public java.util.Map getMutableLabels() { - return internalGetMutableLabels().getMutableMap(); - } - /** - * - * - *
-     * The labels of the migrating VM.
-     * 
- * - * map<string, string> labels = 16; - */ - public Builder putLabels(java.lang.String key, java.lang.String value) { - if (key == null) { - throw new NullPointerException("map key"); - } - if (value == null) { - throw new NullPointerException("map value"); - } - - internalGetMutableLabels().getMutableMap().put(key, value); - return this; - } - /** - * - * - *
-     * The labels of the migrating VM.
-     * 
- * - * map<string, string> labels = 16; - */ - public Builder putAllLabels(java.util.Map values) { - internalGetMutableLabels().getMutableMap().putAll(values); - return this; - } - - private com.google.rpc.Status error_; - private com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> - errorBuilder_; - /** - * - * - *
-     * Output only. Provides details on the state of the Migrating VM in case of an
-     * error in replication.
-     * 
- * - * .google.rpc.Status error = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * @return Whether the error field is set. - */ - public boolean hasError() { - return errorBuilder_ != null || error_ != null; - } - /** - * - * - *
-     * Output only. Provides details on the state of the Migrating VM in case of an
-     * error in replication.
-     * 
- * - * .google.rpc.Status error = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * @return The error. - */ - public com.google.rpc.Status getError() { - if (errorBuilder_ == null) { - return error_ == null ? com.google.rpc.Status.getDefaultInstance() : error_; - } else { - return errorBuilder_.getMessage(); - } - } - /** - * - * - *
-     * Output only. Provides details on the state of the Migrating VM in case of an
-     * error in replication.
-     * 
- * - * .google.rpc.Status error = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - public Builder setError(com.google.rpc.Status value) { - if (errorBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - error_ = value; - onChanged(); - } else { - errorBuilder_.setMessage(value); - } - - return this; - } - /** - * - * - *
-     * Output only. Provides details on the state of the Migrating VM in case of an
-     * error in replication.
-     * 
- * - * .google.rpc.Status error = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - public Builder setError(com.google.rpc.Status.Builder builderForValue) { - if (errorBuilder_ == null) { - error_ = builderForValue.build(); - onChanged(); - } else { - errorBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - * - * - *
-     * Output only. Provides details on the state of the Migrating VM in case of an
-     * error in replication.
-     * 
- * - * .google.rpc.Status error = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - public Builder mergeError(com.google.rpc.Status value) { - if (errorBuilder_ == null) { - if (error_ != null) { - error_ = com.google.rpc.Status.newBuilder(error_).mergeFrom(value).buildPartial(); - } else { - error_ = value; - } - onChanged(); - } else { - errorBuilder_.mergeFrom(value); - } - - return this; - } - /** - * - * - *
-     * Output only. Provides details on the state of the Migrating VM in case of an
-     * error in replication.
-     * 
- * - * .google.rpc.Status error = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - public Builder clearError() { - if (errorBuilder_ == null) { - error_ = null; - onChanged(); - } else { - error_ = null; - errorBuilder_ = null; - } - - return this; - } - /** - * - * - *
-     * Output only. Provides details on the state of the Migrating VM in case of an
-     * error in replication.
-     * 
- * - * .google.rpc.Status error = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - public com.google.rpc.Status.Builder getErrorBuilder() { - - onChanged(); - return getErrorFieldBuilder().getBuilder(); - } - /** - * - * - *
-     * Output only. Provides details on the state of the Migrating VM in case of an
-     * error in replication.
-     * 
- * - * .google.rpc.Status error = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - public com.google.rpc.StatusOrBuilder getErrorOrBuilder() { - if (errorBuilder_ != null) { - return errorBuilder_.getMessageOrBuilder(); - } else { - return error_ == null ? com.google.rpc.Status.getDefaultInstance() : error_; - } - } - /** - * - * - *
-     * Output only. Provides details on the state of the Migrating VM in case of an
-     * error in replication.
-     * 
- * - * .google.rpc.Status error = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - private com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> - getErrorFieldBuilder() { - if (errorBuilder_ == null) { - errorBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.Status, - com.google.rpc.Status.Builder, - com.google.rpc.StatusOrBuilder>(getError(), getParentForChildren(), isClean()); - error_ = null; - } - return errorBuilder_; - } - - @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.vmmigration.v1.MigratingVm) - } - - // @@protoc_insertion_point(class_scope:google.cloud.vmmigration.v1.MigratingVm) - private static final com.google.cloud.vmmigration.v1.MigratingVm DEFAULT_INSTANCE; - - static { - DEFAULT_INSTANCE = new com.google.cloud.vmmigration.v1.MigratingVm(); - } - - public static com.google.cloud.vmmigration.v1.MigratingVm getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public MigratingVm parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new MigratingVm(input, extensionRegistry); - } - }; - - 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.vmmigration.v1.MigratingVm getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } -} diff --git a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/MigratingVmOrBuilder.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/MigratingVmOrBuilder.java deleted file mode 100644 index 4263561..0000000 --- a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/MigratingVmOrBuilder.java +++ /dev/null @@ -1,569 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/vmmigration/v1/vmmigration.proto - -package com.google.cloud.vmmigration.v1; - -public interface MigratingVmOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.MigratingVm) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Details of the target VM in Compute Engine.
-   * 
- * - * - * .google.cloud.vmmigration.v1.ComputeEngineTargetDefaults compute_engine_target_defaults = 26; - * - * - * @return Whether the computeEngineTargetDefaults field is set. - */ - boolean hasComputeEngineTargetDefaults(); - /** - * - * - *
-   * Details of the target VM in Compute Engine.
-   * 
- * - * - * .google.cloud.vmmigration.v1.ComputeEngineTargetDefaults compute_engine_target_defaults = 26; - * - * - * @return The computeEngineTargetDefaults. - */ - com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaults getComputeEngineTargetDefaults(); - /** - * - * - *
-   * Details of the target VM in Compute Engine.
-   * 
- * - * - * .google.cloud.vmmigration.v1.ComputeEngineTargetDefaults compute_engine_target_defaults = 26; - * - */ - com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaultsOrBuilder - getComputeEngineTargetDefaultsOrBuilder(); - - /** - * - * - *
-   * Output only. The identifier of the MigratingVm.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Output only. The identifier of the MigratingVm.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); - - /** - * - * - *
-   * The unique ID of the VM in the source.
-   * The VM's name in vSphere can be changed, so this is not the VM's name but
-   * rather its moRef id. This id is of the form vm-<num>.
-   * 
- * - * string source_vm_id = 2; - * - * @return The sourceVmId. - */ - java.lang.String getSourceVmId(); - /** - * - * - *
-   * The unique ID of the VM in the source.
-   * The VM's name in vSphere can be changed, so this is not the VM's name but
-   * rather its moRef id. This id is of the form vm-<num>.
-   * 
- * - * string source_vm_id = 2; - * - * @return The bytes for sourceVmId. - */ - com.google.protobuf.ByteString getSourceVmIdBytes(); - - /** - * - * - *
-   * The display name attached to the MigratingVm by the user.
-   * 
- * - * string display_name = 18; - * - * @return The displayName. - */ - java.lang.String getDisplayName(); - /** - * - * - *
-   * The display name attached to the MigratingVm by the user.
-   * 
- * - * string display_name = 18; - * - * @return The bytes for displayName. - */ - com.google.protobuf.ByteString getDisplayNameBytes(); - - /** - * - * - *
-   * The description attached to the migrating VM by the user.
-   * 
- * - * string description = 3; - * - * @return The description. - */ - java.lang.String getDescription(); - /** - * - * - *
-   * The description attached to the migrating VM by the user.
-   * 
- * - * string description = 3; - * - * @return The bytes for description. - */ - com.google.protobuf.ByteString getDescriptionBytes(); - - /** - * - * - *
-   * The replication schedule policy.
-   * 
- * - * .google.cloud.vmmigration.v1.SchedulePolicy policy = 8; - * - * @return Whether the policy field is set. - */ - boolean hasPolicy(); - /** - * - * - *
-   * The replication schedule policy.
-   * 
- * - * .google.cloud.vmmigration.v1.SchedulePolicy policy = 8; - * - * @return The policy. - */ - com.google.cloud.vmmigration.v1.SchedulePolicy getPolicy(); - /** - * - * - *
-   * The replication schedule policy.
-   * 
- * - * .google.cloud.vmmigration.v1.SchedulePolicy policy = 8; - */ - com.google.cloud.vmmigration.v1.SchedulePolicyOrBuilder getPolicyOrBuilder(); - - /** - * - * - *
-   * Output only. The time the migrating VM was created (this refers to this resource and not
-   * to the time it was installed in the source).
-   * 
- * - * .google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @return Whether the createTime field is set. - */ - boolean hasCreateTime(); - /** - * - * - *
-   * Output only. The time the migrating VM was created (this refers to this resource and not
-   * to the time it was installed in the source).
-   * 
- * - * .google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @return The createTime. - */ - com.google.protobuf.Timestamp getCreateTime(); - /** - * - * - *
-   * Output only. The time the migrating VM was created (this refers to this resource and not
-   * to the time it was installed in the source).
-   * 
- * - * .google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); - - /** - * - * - *
-   * Output only. The last time the migrating VM resource was updated.
-   * 
- * - * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @return Whether the updateTime field is set. - */ - boolean hasUpdateTime(); - /** - * - * - *
-   * Output only. The last time the migrating VM resource was updated.
-   * 
- * - * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @return The updateTime. - */ - com.google.protobuf.Timestamp getUpdateTime(); - /** - * - * - *
-   * Output only. The last time the migrating VM resource was updated.
-   * 
- * - * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); - - /** - * - * - *
-   * Output only. The most updated snapshot created time in the source that finished
-   * replication.
-   * 
- * - * - * .google.cloud.vmmigration.v1.ReplicationSync last_sync = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @return Whether the lastSync field is set. - */ - boolean hasLastSync(); - /** - * - * - *
-   * Output only. The most updated snapshot created time in the source that finished
-   * replication.
-   * 
- * - * - * .google.cloud.vmmigration.v1.ReplicationSync last_sync = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @return The lastSync. - */ - com.google.cloud.vmmigration.v1.ReplicationSync getLastSync(); - /** - * - * - *
-   * Output only. The most updated snapshot created time in the source that finished
-   * replication.
-   * 
- * - * - * .google.cloud.vmmigration.v1.ReplicationSync last_sync = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - com.google.cloud.vmmigration.v1.ReplicationSyncOrBuilder getLastSyncOrBuilder(); - - /** - * - * - *
-   * Output only. State of the MigratingVm.
-   * 
- * - * - * .google.cloud.vmmigration.v1.MigratingVm.State state = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @return The enum numeric value on the wire for state. - */ - int getStateValue(); - /** - * - * - *
-   * Output only. State of the MigratingVm.
-   * 
- * - * - * .google.cloud.vmmigration.v1.MigratingVm.State state = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @return The state. - */ - com.google.cloud.vmmigration.v1.MigratingVm.State getState(); - - /** - * - * - *
-   * Output only. The last time the migrating VM state was updated.
-   * 
- * - * .google.protobuf.Timestamp state_time = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @return Whether the stateTime field is set. - */ - boolean hasStateTime(); - /** - * - * - *
-   * Output only. The last time the migrating VM state was updated.
-   * 
- * - * .google.protobuf.Timestamp state_time = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @return The stateTime. - */ - com.google.protobuf.Timestamp getStateTime(); - /** - * - * - *
-   * Output only. The last time the migrating VM state was updated.
-   * 
- * - * .google.protobuf.Timestamp state_time = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - com.google.protobuf.TimestampOrBuilder getStateTimeOrBuilder(); - - /** - * - * - *
-   * Output only. The percentage progress of the current running replication cycle.
-   * 
- * - * - * .google.cloud.vmmigration.v1.ReplicationCycle current_sync_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @return Whether the currentSyncInfo field is set. - */ - boolean hasCurrentSyncInfo(); - /** - * - * - *
-   * Output only. The percentage progress of the current running replication cycle.
-   * 
- * - * - * .google.cloud.vmmigration.v1.ReplicationCycle current_sync_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @return The currentSyncInfo. - */ - com.google.cloud.vmmigration.v1.ReplicationCycle getCurrentSyncInfo(); - /** - * - * - *
-   * Output only. The percentage progress of the current running replication cycle.
-   * 
- * - * - * .google.cloud.vmmigration.v1.ReplicationCycle current_sync_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - com.google.cloud.vmmigration.v1.ReplicationCycleOrBuilder getCurrentSyncInfoOrBuilder(); - - /** - * - * - *
-   * Output only. The group this migrating vm is included in, if any. The group is
-   * represented by the full path of the appropriate
-   * [Group][google.cloud.vmmigration.v1.Group] resource.
-   * 
- * - * - * string group = 15 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * - * @return The group. - */ - java.lang.String getGroup(); - /** - * - * - *
-   * Output only. The group this migrating vm is included in, if any. The group is
-   * represented by the full path of the appropriate
-   * [Group][google.cloud.vmmigration.v1.Group] resource.
-   * 
- * - * - * string group = 15 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for group. - */ - com.google.protobuf.ByteString getGroupBytes(); - - /** - * - * - *
-   * The labels of the migrating VM.
-   * 
- * - * map<string, string> labels = 16; - */ - int getLabelsCount(); - /** - * - * - *
-   * The labels of the migrating VM.
-   * 
- * - * map<string, string> labels = 16; - */ - boolean containsLabels(java.lang.String key); - /** Use {@link #getLabelsMap()} instead. */ - @java.lang.Deprecated - java.util.Map getLabels(); - /** - * - * - *
-   * The labels of the migrating VM.
-   * 
- * - * map<string, string> labels = 16; - */ - java.util.Map getLabelsMap(); - /** - * - * - *
-   * The labels of the migrating VM.
-   * 
- * - * map<string, string> labels = 16; - */ - - /* nullable */ - java.lang.String getLabelsOrDefault( - java.lang.String key, - /* nullable */ - java.lang.String defaultValue); - /** - * - * - *
-   * The labels of the migrating VM.
-   * 
- * - * map<string, string> labels = 16; - */ - java.lang.String getLabelsOrThrow(java.lang.String key); - - /** - * - * - *
-   * Output only. Provides details on the state of the Migrating VM in case of an
-   * error in replication.
-   * 
- * - * .google.rpc.Status error = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * @return Whether the error field is set. - */ - boolean hasError(); - /** - * - * - *
-   * Output only. Provides details on the state of the Migrating VM in case of an
-   * error in replication.
-   * 
- * - * .google.rpc.Status error = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * @return The error. - */ - com.google.rpc.Status getError(); - /** - * - * - *
-   * Output only. Provides details on the state of the Migrating VM in case of an
-   * error in replication.
-   * 
- * - * .google.rpc.Status error = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - com.google.rpc.StatusOrBuilder getErrorOrBuilder(); - - public com.google.cloud.vmmigration.v1.MigratingVm.TargetVmDefaultsCase getTargetVmDefaultsCase(); -} diff --git a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/MigrationErrorOrBuilder.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/MigrationErrorOrBuilder.java deleted file mode 100644 index 6ef81ea..0000000 --- a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/MigrationErrorOrBuilder.java +++ /dev/null @@ -1,235 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/vmmigration/v1/vmmigration.proto - -package com.google.cloud.vmmigration.v1; - -public interface MigrationErrorOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.MigrationError) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Output only. The error code.
-   * 
- * - * - * .google.cloud.vmmigration.v1.MigrationError.ErrorCode code = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @return The enum numeric value on the wire for code. - */ - int getCodeValue(); - /** - * - * - *
-   * Output only. The error code.
-   * 
- * - * - * .google.cloud.vmmigration.v1.MigrationError.ErrorCode code = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @return The code. - */ - com.google.cloud.vmmigration.v1.MigrationError.ErrorCode getCode(); - - /** - * - * - *
-   * Output only. The localized error message.
-   * 
- * - * - * .google.rpc.LocalizedMessage error_message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @return Whether the errorMessage field is set. - */ - boolean hasErrorMessage(); - /** - * - * - *
-   * Output only. The localized error message.
-   * 
- * - * - * .google.rpc.LocalizedMessage error_message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @return The errorMessage. - */ - com.google.rpc.LocalizedMessage getErrorMessage(); - /** - * - * - *
-   * Output only. The localized error message.
-   * 
- * - * - * .google.rpc.LocalizedMessage error_message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - com.google.rpc.LocalizedMessageOrBuilder getErrorMessageOrBuilder(); - - /** - * - * - *
-   * Output only. Suggested action for solving the error.
-   * 
- * - * - * .google.rpc.LocalizedMessage action_item = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @return Whether the actionItem field is set. - */ - boolean hasActionItem(); - /** - * - * - *
-   * Output only. Suggested action for solving the error.
-   * 
- * - * - * .google.rpc.LocalizedMessage action_item = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @return The actionItem. - */ - com.google.rpc.LocalizedMessage getActionItem(); - /** - * - * - *
-   * Output only. Suggested action for solving the error.
-   * 
- * - * - * .google.rpc.LocalizedMessage action_item = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - com.google.rpc.LocalizedMessageOrBuilder getActionItemOrBuilder(); - - /** - * - * - *
-   * Output only. URL(s) pointing to additional information on handling the current error.
-   * 
- * - * - * repeated .google.rpc.Help.Link help_links = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - java.util.List getHelpLinksList(); - /** - * - * - *
-   * Output only. URL(s) pointing to additional information on handling the current error.
-   * 
- * - * - * repeated .google.rpc.Help.Link help_links = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - com.google.rpc.Help.Link getHelpLinks(int index); - /** - * - * - *
-   * Output only. URL(s) pointing to additional information on handling the current error.
-   * 
- * - * - * repeated .google.rpc.Help.Link help_links = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - int getHelpLinksCount(); - /** - * - * - *
-   * Output only. URL(s) pointing to additional information on handling the current error.
-   * 
- * - * - * repeated .google.rpc.Help.Link help_links = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - java.util.List getHelpLinksOrBuilderList(); - /** - * - * - *
-   * Output only. URL(s) pointing to additional information on handling the current error.
-   * 
- * - * - * repeated .google.rpc.Help.Link help_links = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - com.google.rpc.Help.LinkOrBuilder getHelpLinksOrBuilder(int index); - - /** - * - * - *
-   * Output only. The time the error occurred.
-   * 
- * - * .google.protobuf.Timestamp error_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @return Whether the errorTime field is set. - */ - boolean hasErrorTime(); - /** - * - * - *
-   * Output only. The time the error occurred.
-   * 
- * - * .google.protobuf.Timestamp error_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @return The errorTime. - */ - com.google.protobuf.Timestamp getErrorTime(); - /** - * - * - *
-   * Output only. The time the error occurred.
-   * 
- * - * .google.protobuf.Timestamp error_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - com.google.protobuf.TimestampOrBuilder getErrorTimeOrBuilder(); -} diff --git a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/PauseMigrationRequestOrBuilder.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/PauseMigrationRequestOrBuilder.java deleted file mode 100644 index 41019be..0000000 --- a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/PauseMigrationRequestOrBuilder.java +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/vmmigration/v1/vmmigration.proto - -package com.google.cloud.vmmigration.v1; - -public interface PauseMigrationRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.PauseMigrationRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The name of the MigratingVm.
-   * 
- * - * - * string migrating_vm = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The migratingVm. - */ - java.lang.String getMigratingVm(); - /** - * - * - *
-   * Required. The name of the MigratingVm.
-   * 
- * - * - * string migrating_vm = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for migratingVm. - */ - com.google.protobuf.ByteString getMigratingVmBytes(); -} diff --git a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/PauseMigrationResponseOrBuilder.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/PauseMigrationResponseOrBuilder.java deleted file mode 100644 index 915b98e..0000000 --- a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/PauseMigrationResponseOrBuilder.java +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/vmmigration/v1/vmmigration.proto - -package com.google.cloud.vmmigration.v1; - -public interface PauseMigrationResponseOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.PauseMigrationResponse) - com.google.protobuf.MessageOrBuilder {} diff --git a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/RemoveGroupMigrationRequestOrBuilder.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/RemoveGroupMigrationRequestOrBuilder.java deleted file mode 100644 index 01a14ff..0000000 --- a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/RemoveGroupMigrationRequestOrBuilder.java +++ /dev/null @@ -1,79 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/vmmigration/v1/vmmigration.proto - -package com.google.cloud.vmmigration.v1; - -public interface RemoveGroupMigrationRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.RemoveGroupMigrationRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The name of the Group.
-   * 
- * - * - * string group = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The group. - */ - java.lang.String getGroup(); - /** - * - * - *
-   * Required. The name of the Group.
-   * 
- * - * - * string group = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for group. - */ - com.google.protobuf.ByteString getGroupBytes(); - - /** - * - * - *
-   * The MigratingVm to remove.
-   * 
- * - * string migrating_vm = 2 [(.google.api.resource_reference) = { ... } - * - * @return The migratingVm. - */ - java.lang.String getMigratingVm(); - /** - * - * - *
-   * The MigratingVm to remove.
-   * 
- * - * string migrating_vm = 2 [(.google.api.resource_reference) = { ... } - * - * @return The bytes for migratingVm. - */ - com.google.protobuf.ByteString getMigratingVmBytes(); -} diff --git a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/RemoveGroupMigrationResponseOrBuilder.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/RemoveGroupMigrationResponseOrBuilder.java deleted file mode 100644 index 6fd757b..0000000 --- a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/RemoveGroupMigrationResponseOrBuilder.java +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/vmmigration/v1/vmmigration.proto - -package com.google.cloud.vmmigration.v1; - -public interface RemoveGroupMigrationResponseOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.RemoveGroupMigrationResponse) - com.google.protobuf.MessageOrBuilder {} diff --git a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ResumeMigrationRequestOrBuilder.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ResumeMigrationRequestOrBuilder.java deleted file mode 100644 index ea7d54c..0000000 --- a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ResumeMigrationRequestOrBuilder.java +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/vmmigration/v1/vmmigration.proto - -package com.google.cloud.vmmigration.v1; - -public interface ResumeMigrationRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.ResumeMigrationRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The name of the MigratingVm.
-   * 
- * - * - * string migrating_vm = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The migratingVm. - */ - java.lang.String getMigratingVm(); - /** - * - * - *
-   * Required. The name of the MigratingVm.
-   * 
- * - * - * string migrating_vm = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for migratingVm. - */ - com.google.protobuf.ByteString getMigratingVmBytes(); -} diff --git a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ResumeMigrationResponseOrBuilder.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ResumeMigrationResponseOrBuilder.java deleted file mode 100644 index 406a012..0000000 --- a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ResumeMigrationResponseOrBuilder.java +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/vmmigration/v1/vmmigration.proto - -package com.google.cloud.vmmigration.v1; - -public interface ResumeMigrationResponseOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.ResumeMigrationResponse) - com.google.protobuf.MessageOrBuilder {} diff --git a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/StartMigrationRequestOrBuilder.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/StartMigrationRequestOrBuilder.java deleted file mode 100644 index 111c61a..0000000 --- a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/StartMigrationRequestOrBuilder.java +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/vmmigration/v1/vmmigration.proto - -package com.google.cloud.vmmigration.v1; - -public interface StartMigrationRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.StartMigrationRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The name of the MigratingVm.
-   * 
- * - * - * string migrating_vm = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The migratingVm. - */ - java.lang.String getMigratingVm(); - /** - * - * - *
-   * Required. The name of the MigratingVm.
-   * 
- * - * - * string migrating_vm = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for migratingVm. - */ - com.google.protobuf.ByteString getMigratingVmBytes(); -} diff --git a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/StartMigrationResponseOrBuilder.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/StartMigrationResponseOrBuilder.java deleted file mode 100644 index 2ba055d..0000000 --- a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/StartMigrationResponseOrBuilder.java +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/vmmigration/v1/vmmigration.proto - -package com.google.cloud.vmmigration.v1; - -public interface StartMigrationResponseOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.StartMigrationResponse) - com.google.protobuf.MessageOrBuilder {} diff --git a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/VmMigrationProto.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/VmMigrationProto.java deleted file mode 100644 index 60952a2..0000000 --- a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/VmMigrationProto.java +++ /dev/null @@ -1,1988 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/vmmigration/v1/vmmigration.proto - -package com.google.cloud.vmmigration.v1; - -public final class VmMigrationProto { - private VmMigrationProto() {} - - 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_vmmigration_v1_ReplicationCycle_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_vmmigration_v1_ReplicationCycle_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_vmmigration_v1_ReplicationSync_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_vmmigration_v1_ReplicationSync_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_vmmigration_v1_MigratingVm_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_vmmigration_v1_MigratingVm_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_vmmigration_v1_MigratingVm_LabelsEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_vmmigration_v1_MigratingVm_LabelsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_vmmigration_v1_CloneJob_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_vmmigration_v1_CloneJob_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_vmmigration_v1_CutoverJob_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_vmmigration_v1_CutoverJob_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_vmmigration_v1_CreateCloneJobRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_vmmigration_v1_CreateCloneJobRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_vmmigration_v1_CancelCloneJobRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_vmmigration_v1_CancelCloneJobRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_vmmigration_v1_CancelCloneJobResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_vmmigration_v1_CancelCloneJobResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_vmmigration_v1_ListCloneJobsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_vmmigration_v1_ListCloneJobsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_vmmigration_v1_ListCloneJobsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_vmmigration_v1_ListCloneJobsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_vmmigration_v1_GetCloneJobRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_vmmigration_v1_GetCloneJobRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_vmmigration_v1_Source_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_vmmigration_v1_Source_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_vmmigration_v1_Source_LabelsEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_vmmigration_v1_Source_LabelsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_vmmigration_v1_VmwareSourceDetails_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_vmmigration_v1_VmwareSourceDetails_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_vmmigration_v1_DatacenterConnector_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_vmmigration_v1_DatacenterConnector_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_vmmigration_v1_ListSourcesRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_vmmigration_v1_ListSourcesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_vmmigration_v1_ListSourcesResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_vmmigration_v1_ListSourcesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_vmmigration_v1_GetSourceRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_vmmigration_v1_GetSourceRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_vmmigration_v1_CreateSourceRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_vmmigration_v1_CreateSourceRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_vmmigration_v1_UpdateSourceRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_vmmigration_v1_UpdateSourceRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_vmmigration_v1_DeleteSourceRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_vmmigration_v1_DeleteSourceRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_vmmigration_v1_FetchInventoryRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_vmmigration_v1_FetchInventoryRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_vmmigration_v1_VmwareVmDetails_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_vmmigration_v1_VmwareVmDetails_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_vmmigration_v1_VmwareVmsDetails_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_vmmigration_v1_VmwareVmsDetails_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_vmmigration_v1_FetchInventoryResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_vmmigration_v1_FetchInventoryResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_vmmigration_v1_UtilizationReport_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_vmmigration_v1_UtilizationReport_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_vmmigration_v1_VmUtilizationInfo_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_vmmigration_v1_VmUtilizationInfo_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_vmmigration_v1_VmUtilizationMetrics_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_vmmigration_v1_VmUtilizationMetrics_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_vmmigration_v1_ListUtilizationReportsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_vmmigration_v1_ListUtilizationReportsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_vmmigration_v1_ListUtilizationReportsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_vmmigration_v1_ListUtilizationReportsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_vmmigration_v1_GetUtilizationReportRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_vmmigration_v1_GetUtilizationReportRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_vmmigration_v1_CreateUtilizationReportRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_vmmigration_v1_CreateUtilizationReportRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_vmmigration_v1_DeleteUtilizationReportRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_vmmigration_v1_DeleteUtilizationReportRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_vmmigration_v1_ListDatacenterConnectorsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_vmmigration_v1_ListDatacenterConnectorsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_vmmigration_v1_GetDatacenterConnectorRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_vmmigration_v1_GetDatacenterConnectorRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_vmmigration_v1_CreateDatacenterConnectorRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_vmmigration_v1_CreateDatacenterConnectorRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_vmmigration_v1_DeleteDatacenterConnectorRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_vmmigration_v1_DeleteDatacenterConnectorRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_vmmigration_v1_ListDatacenterConnectorsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_vmmigration_v1_ListDatacenterConnectorsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_vmmigration_v1_ComputeEngineTargetDefaults_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_vmmigration_v1_ComputeEngineTargetDefaults_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_vmmigration_v1_ComputeEngineTargetDefaults_LabelsEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_vmmigration_v1_ComputeEngineTargetDefaults_LabelsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_vmmigration_v1_ComputeEngineTargetDefaults_MetadataEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_vmmigration_v1_ComputeEngineTargetDefaults_MetadataEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_vmmigration_v1_ComputeEngineTargetDetails_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_vmmigration_v1_ComputeEngineTargetDetails_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_vmmigration_v1_ComputeEngineTargetDetails_LabelsEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_vmmigration_v1_ComputeEngineTargetDetails_LabelsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_vmmigration_v1_ComputeEngineTargetDetails_MetadataEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_vmmigration_v1_ComputeEngineTargetDetails_MetadataEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_vmmigration_v1_NetworkInterface_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_vmmigration_v1_NetworkInterface_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_vmmigration_v1_AppliedLicense_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_vmmigration_v1_AppliedLicense_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_vmmigration_v1_SchedulingNodeAffinity_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_vmmigration_v1_SchedulingNodeAffinity_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_vmmigration_v1_ComputeScheduling_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_vmmigration_v1_ComputeScheduling_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_vmmigration_v1_SchedulePolicy_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_vmmigration_v1_SchedulePolicy_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_vmmigration_v1_CreateMigratingVmRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_vmmigration_v1_CreateMigratingVmRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_vmmigration_v1_ListMigratingVmsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_vmmigration_v1_ListMigratingVmsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_vmmigration_v1_ListMigratingVmsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_vmmigration_v1_ListMigratingVmsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_vmmigration_v1_GetMigratingVmRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_vmmigration_v1_GetMigratingVmRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_vmmigration_v1_UpdateMigratingVmRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_vmmigration_v1_UpdateMigratingVmRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_vmmigration_v1_DeleteMigratingVmRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_vmmigration_v1_DeleteMigratingVmRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_vmmigration_v1_StartMigrationRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_vmmigration_v1_StartMigrationRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_vmmigration_v1_StartMigrationResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_vmmigration_v1_StartMigrationResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_vmmigration_v1_PauseMigrationRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_vmmigration_v1_PauseMigrationRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_vmmigration_v1_PauseMigrationResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_vmmigration_v1_PauseMigrationResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_vmmigration_v1_ResumeMigrationRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_vmmigration_v1_ResumeMigrationRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_vmmigration_v1_ResumeMigrationResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_vmmigration_v1_ResumeMigrationResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_vmmigration_v1_FinalizeMigrationRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_vmmigration_v1_FinalizeMigrationRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_vmmigration_v1_FinalizeMigrationResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_vmmigration_v1_FinalizeMigrationResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_vmmigration_v1_TargetProject_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_vmmigration_v1_TargetProject_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_vmmigration_v1_GetTargetProjectRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_vmmigration_v1_GetTargetProjectRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_vmmigration_v1_ListTargetProjectsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_vmmigration_v1_ListTargetProjectsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_vmmigration_v1_ListTargetProjectsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_vmmigration_v1_ListTargetProjectsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_vmmigration_v1_CreateTargetProjectRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_vmmigration_v1_CreateTargetProjectRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_vmmigration_v1_UpdateTargetProjectRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_vmmigration_v1_UpdateTargetProjectRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_vmmigration_v1_DeleteTargetProjectRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_vmmigration_v1_DeleteTargetProjectRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_vmmigration_v1_Group_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_vmmigration_v1_Group_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_vmmigration_v1_ListGroupsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_vmmigration_v1_ListGroupsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_vmmigration_v1_ListGroupsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_vmmigration_v1_ListGroupsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_vmmigration_v1_GetGroupRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_vmmigration_v1_GetGroupRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_vmmigration_v1_CreateGroupRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_vmmigration_v1_CreateGroupRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_vmmigration_v1_UpdateGroupRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_vmmigration_v1_UpdateGroupRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_vmmigration_v1_DeleteGroupRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_vmmigration_v1_DeleteGroupRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_vmmigration_v1_AddGroupMigrationRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_vmmigration_v1_AddGroupMigrationRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_vmmigration_v1_AddGroupMigrationResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_vmmigration_v1_AddGroupMigrationResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_vmmigration_v1_RemoveGroupMigrationRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_vmmigration_v1_RemoveGroupMigrationRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_vmmigration_v1_RemoveGroupMigrationResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_vmmigration_v1_RemoveGroupMigrationResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_vmmigration_v1_CreateCutoverJobRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_vmmigration_v1_CreateCutoverJobRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_vmmigration_v1_CancelCutoverJobRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_vmmigration_v1_CancelCutoverJobRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_vmmigration_v1_CancelCutoverJobResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_vmmigration_v1_CancelCutoverJobResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_vmmigration_v1_ListCutoverJobsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_vmmigration_v1_ListCutoverJobsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_vmmigration_v1_ListCutoverJobsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_vmmigration_v1_ListCutoverJobsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_vmmigration_v1_GetCutoverJobRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_vmmigration_v1_GetCutoverJobRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_vmmigration_v1_OperationMetadata_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_vmmigration_v1_OperationMetadata_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_vmmigration_v1_MigrationError_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_vmmigration_v1_MigrationError_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n-google/cloud/vmmigration/v1/vmmigratio" - + "n.proto\022\033google.cloud.vmmigration.v1\032\034go" - + "ogle/api/annotations.proto\032\027google/api/c" - + "lient.proto\032\037google/api/field_behavior.p" - + "roto\032\031google/api/resource.proto\032#google/" - + "longrunning/operations.proto\032\036google/pro" - + "tobuf/duration.proto\032 google/protobuf/fi" - + "eld_mask.proto\032\037google/protobuf/timestam" - + "p.proto\032\036google/rpc/error_details.proto\032" - + "\027google/rpc/status.proto\"\\\n\020ReplicationC" - + "ycle\022.\n\nstart_time\030\001 \001(\0132\032.google.protob" - + "uf.Timestamp\022\030\n\020progress_percent\030\005 \001(\005\"E" - + "\n\017ReplicationSync\0222\n\016last_sync_time\030\001 \001(" - + "\0132\032.google.protobuf.Timestamp\"\246\t\n\013Migrat" - + "ingVm\022b\n\036compute_engine_target_defaults\030" - + "\032 \001(\01328.google.cloud.vmmigration.v1.Comp" - + "uteEngineTargetDefaultsH\000\022\021\n\004name\030\001 \001(\tB" - + "\003\340A\003\022\024\n\014source_vm_id\030\002 \001(\t\022\024\n\014display_na" - + "me\030\022 \001(\t\022\023\n\013description\030\003 \001(\t\022;\n\006policy\030" - + "\010 \001(\0132+.google.cloud.vmmigration.v1.Sche" - + "dulePolicy\0224\n\013create_time\030\t \001(\0132\032.google" - + ".protobuf.TimestampB\003\340A\003\0224\n\013update_time\030" - + "\n \001(\0132\032.google.protobuf.TimestampB\003\340A\003\022D" - + "\n\tlast_sync\030\013 \001(\0132,.google.cloud.vmmigra" - + "tion.v1.ReplicationSyncB\003\340A\003\022B\n\005state\030\027 " - + "\001(\0162..google.cloud.vmmigration.v1.Migrat" - + "ingVm.StateB\003\340A\003\0223\n\nstate_time\030\026 \001(\0132\032.g" - + "oogle.protobuf.TimestampB\003\340A\003\022M\n\021current" - + "_sync_info\030\r \001(\0132-.google.cloud.vmmigrat" - + "ion.v1.ReplicationCycleB\003\340A\003\0227\n\005group\030\017 " - + "\001(\tB(\340A\003\372A\"\022 vmmigration.googleapis.com/" - + "Group\022D\n\006labels\030\020 \003(\01324.google.cloud.vmm" - + "igration.v1.MigratingVm.LabelsEntry\022&\n\005e" - + "rror\030\023 \001(\0132\022.google.rpc.StatusB\003\340A\003\032-\n\013L" - + "abelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\002" - + "8\001\"\267\001\n\005State\022\025\n\021STATE_UNSPECIFIED\020\000\022\013\n\007P" - + "ENDING\020\001\022\t\n\005READY\020\002\022\016\n\nFIRST_SYNC\020\003\022\n\n\006A" - + "CTIVE\020\004\022\020\n\014CUTTING_OVER\020\007\022\013\n\007CUTOVER\020\010\022\016" - + "\n\nFINAL_SYNC\020\t\022\n\n\006PAUSED\020\n\022\016\n\nFINALIZING" - + "\020\013\022\r\n\tFINALIZED\020\014\022\t\n\005ERROR\020\r:\201\001\352A~\n&vmmi" - + "gration.googleapis.com/MigratingVm\022Tproj" - + "ects/{project}/locations/{location}/sour" - + "ces/{source}/migratingVms/{migrating_vm}" - + "B\024\n\022target_vm_defaults\"\205\005\n\010CloneJob\022e\n\035c" - + "ompute_engine_target_details\030\024 \001(\01327.goo" - + "gle.cloud.vmmigration.v1.ComputeEngineTa" - + "rgetDetailsB\003\340A\003H\000\0224\n\013create_time\030\001 \001(\0132" - + "\032.google.protobuf.TimestampB\003\340A\003\022\014\n\004name" - + "\030\003 \001(\t\022?\n\005state\030\014 \001(\0162+.google.cloud.vmm" - + "igration.v1.CloneJob.StateB\003\340A\003\0223\n\nstate" - + "_time\030\016 \001(\0132\032.google.protobuf.TimestampB" - + "\003\340A\003\022&\n\005error\030\021 \001(\0132\022.google.rpc.StatusB" - + "\003\340A\003\"\202\001\n\005State\022\025\n\021STATE_UNSPECIFIED\020\000\022\013\n" - + "\007PENDING\020\001\022\n\n\006ACTIVE\020\002\022\n\n\006FAILED\020\003\022\r\n\tSU" - + "CCEEDED\020\004\022\r\n\tCANCELLED\020\005\022\016\n\nCANCELLING\020\006" - + "\022\017\n\013ADAPTING_OS\020\007:\225\001\352A\221\001\n#vmmigration.go" - + "ogleapis.com/CloneJob\022jprojects/{project" - + "}/locations/{location}/sources/{source}/" - + "migratingVms/{migrating_vm}/cloneJobs/{c" - + "lone_job}B\023\n\021target_vm_details\"\317\005\n\nCutov" - + "erJob\022e\n\035compute_engine_target_details\030\016" - + " \001(\01327.google.cloud.vmmigration.v1.Compu" - + "teEngineTargetDetailsB\003\340A\003H\000\0224\n\013create_t" - + "ime\030\001 \001(\0132\032.google.protobuf.TimestampB\003\340" - + "A\003\022\021\n\004name\030\003 \001(\tB\003\340A\003\022A\n\005state\030\005 \001(\0162-.g" - + "oogle.cloud.vmmigration.v1.CutoverJob.St" - + "ateB\003\340A\003\0223\n\nstate_time\030\006 \001(\0132\032.google.pr" - + "otobuf.TimestampB\003\340A\003\022\035\n\020progress_percen" - + "t\030\r \001(\005B\003\340A\003\022&\n\005error\030\t \001(\0132\022.google.rpc" - + ".StatusB\003\340A\003\022\032\n\rstate_message\030\n \001(\tB\003\340A\003" - + "\"\202\001\n\005State\022\025\n\021STATE_UNSPECIFIED\020\000\022\013\n\007PEN" - + "DING\020\001\022\n\n\006FAILED\020\002\022\r\n\tSUCCEEDED\020\003\022\r\n\tCAN" - + "CELLED\020\004\022\016\n\nCANCELLING\020\005\022\n\n\006ACTIVE\020\006\022\017\n\013" - + "ADAPTING_OS\020\007:\233\001\352A\227\001\n%vmmigration.google" - + "apis.com/CutoverJob\022nprojects/{project}/" - + "locations/{location}/sources/{source}/mi" - + "gratingVms/{migrating_vm}/cutoverJobs/{c" - + "utover_job}B\023\n\021target_vm_details\"\302\001\n\025Cre" - + "ateCloneJobRequest\022;\n\006parent\030\001 \001(\tB+\340A\002\372" - + "A%\022#vmmigration.googleapis.com/CloneJob\022" - + "\031\n\014clone_job_id\030\002 \001(\tB\003\340A\002\022=\n\tclone_job\030" - + "\003 \001(\0132%.google.cloud.vmmigration.v1.Clon" - + "eJobB\003\340A\002\022\022\n\nrequest_id\030\004 \001(\t\"R\n\025CancelC" - + "loneJobRequest\0229\n\004name\030\001 \001(\tB+\340A\002\372A%\n#vm" - + "migration.googleapis.com/CloneJob\"\030\n\026Can" - + "celCloneJobResponse\"\260\001\n\024ListCloneJobsReq" - + "uest\022;\n\006parent\030\001 \001(\tB+\340A\002\372A%\022#vmmigratio" - + "n.googleapis.com/CloneJob\022\026\n\tpage_size\030\002" - + " \001(\005B\003\340A\001\022\027\n\npage_token\030\003 \001(\tB\003\340A\002\022\023\n\006fi" - + "lter\030\004 \001(\tB\003\340A\001\022\025\n\010order_by\030\005 \001(\tB\003\340A\001\"\217" - + "\001\n\025ListCloneJobsResponse\022>\n\nclone_jobs\030\001" - + " \003(\0132%.google.cloud.vmmigration.v1.Clone" - + "JobB\003\340A\003\022\034\n\017next_page_token\030\002 \001(\tB\003\340A\003\022\030" - + "\n\013unreachable\030\003 \003(\tB\003\340A\003\"O\n\022GetCloneJobR" - + "equest\0229\n\004name\030\001 \001(\tB+\340A\002\372A%\n#vmmigratio" - + "n.googleapis.com/CloneJob\"\304\003\n\006Source\022B\n\006" - + "vmware\030\n \001(\01320.google.cloud.vmmigration." - + "v1.VmwareSourceDetailsH\000\022\021\n\004name\030\001 \001(\tB\003" - + "\340A\003\0224\n\013create_time\030\002 \001(\0132\032.google.protob" - + "uf.TimestampB\003\340A\003\0224\n\013update_time\030\003 \001(\0132\032" - + ".google.protobuf.TimestampB\003\340A\003\022?\n\006label" - + "s\030\004 \003(\0132/.google.cloud.vmmigration.v1.So" - + "urce.LabelsEntry\022\023\n\013description\030\006 \001(\t\032-\n" - + "\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t" - + ":\0028\001:`\352A]\n!vmmigration.googleapis.com/So" - + "urce\0228projects/{project}/locations/{loca" - + "tion}/sources/{source}B\020\n\016source_details" - + "\"f\n\023VmwareSourceDetails\022\020\n\010username\030\001 \001(" - + "\t\022\025\n\010password\030\002 \001(\tB\003\340A\004\022\022\n\nvcenter_ip\030\003" - + " \001(\t\022\022\n\nthumbprint\030\004 \001(\t\"\211\005\n\023DatacenterC" - + "onnector\0224\n\013create_time\030\001 \001(\0132\032.google.p" - + "rotobuf.TimestampB\003\340A\003\0224\n\013update_time\030\002 " - + "\001(\0132\032.google.protobuf.TimestampB\003\340A\003\022\021\n\004" - + "name\030\003 \001(\tB\003\340A\003\022\034\n\017registration_id\030\014 \001(\t" - + "B\003\340A\005\022\027\n\017service_account\030\005 \001(\t\022\017\n\007versio" - + "n\030\006 \001(\t\022\023\n\006bucket\030\n \001(\tB\003\340A\003\022J\n\005state\030\007 " - + "\001(\01626.google.cloud.vmmigration.v1.Datace" - + "nterConnector.StateB\003\340A\003\0223\n\nstate_time\030\010" - + " \001(\0132\032.google.protobuf.TimestampB\003\340A\003\022&\n" - + "\005error\030\013 \001(\0132\022.google.rpc.StatusB\003\340A\003\"P\n" - + "\005State\022\025\n\021STATE_UNSPECIFIED\020\000\022\013\n\007PENDING" - + "\020\001\022\013\n\007OFFLINE\020\002\022\n\n\006FAILED\020\003\022\n\n\006ACTIVE\020\004:" - + "\232\001\352A\226\001\n.vmmigration.googleapis.com/Datac" - + "enterConnector\022dprojects/{project}/locat" - + "ions/{location}/sources/{source}/datacen" - + "terConnectors/{datacenter_connector}\"\254\001\n" - + "\022ListSourcesRequest\0229\n\006parent\030\001 \001(\tB)\340A\002" - + "\372A#\022!vmmigration.googleapis.com/Source\022\026" - + "\n\tpage_size\030\002 \001(\005B\003\340A\001\022\027\n\npage_token\030\003 \001" - + "(\tB\003\340A\002\022\023\n\006filter\030\004 \001(\tB\003\340A\001\022\025\n\010order_by" - + "\030\005 \001(\tB\003\340A\001\"\210\001\n\023ListSourcesResponse\0229\n\007s" - + "ources\030\001 \003(\0132#.google.cloud.vmmigration." - + "v1.SourceB\003\340A\003\022\034\n\017next_page_token\030\002 \001(\tB" - + "\003\340A\003\022\030\n\013unreachable\030\003 \003(\tB\003\340A\003\"K\n\020GetSou" - + "rceRequest\0227\n\004name\030\001 \001(\tB)\340A\002\372A#\n!vmmigr" - + "ation.googleapis.com/Source\"\266\001\n\023CreateSo" - + "urceRequest\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\022!vmm" - + "igration.googleapis.com/Source\022\026\n\tsource" - + "_id\030\002 \001(\tB\003\340A\002\0228\n\006source\030\003 \001(\0132#.google." - + "cloud.vmmigration.v1.SourceB\003\340A\002\022\022\n\nrequ" - + "est_id\030\004 \001(\t\"\224\001\n\023UpdateSourceRequest\022/\n\013" - + "update_mask\030\001 \001(\0132\032.google.protobuf.Fiel" - + "dMask\0228\n\006source\030\002 \001(\0132#.google.cloud.vmm" - + "igration.v1.SourceB\003\340A\002\022\022\n\nrequest_id\030\003 " - + "\001(\t\"g\n\023DeleteSourceRequest\0227\n\004name\030\001 \001(\t" - + "B)\340A\002\372A#\n!vmmigration.googleapis.com/Sou" - + "rce\022\027\n\nrequest_id\030\002 \001(\tB\003\340A\001\"i\n\025FetchInv" - + "entoryRequest\0229\n\006source\030\001 \001(\tB)\340A\002\372A#\n!v" - + "mmigration.googleapis.com/Source\022\025\n\rforc" - + "e_refresh\030\002 \001(\010\"\230\004\n\017VmwareVmDetails\022\r\n\005v" - + "m_id\030\001 \001(\t\022\025\n\rdatacenter_id\030\002 \001(\t\022\036\n\026dat" - + "acenter_description\030\003 \001(\t\022\014\n\004uuid\030\004 \001(\t\022" - + "\024\n\014display_name\030\005 \001(\t\022L\n\013power_state\030\006 \001" - + "(\01627.google.cloud.vmmigration.v1.VmwareV" - + "mDetails.PowerState\022\021\n\tcpu_count\030\007 \001(\005\022\021" - + "\n\tmemory_mb\030\010 \001(\005\022\022\n\ndisk_count\030\t \001(\005\022\034\n" - + "\024committed_storage_mb\030\014 \001(\003\022\031\n\021guest_des" - + "cription\030\013 \001(\t\022Q\n\013boot_option\030\r \001(\01627.go" - + "ogle.cloud.vmmigration.v1.VmwareVmDetail" - + "s.BootOptionB\003\340A\003\"I\n\nPowerState\022\033\n\027POWER" - + "_STATE_UNSPECIFIED\020\000\022\006\n\002ON\020\001\022\007\n\003OFF\020\002\022\r\n" - + "\tSUSPENDED\020\003\"<\n\nBootOption\022\033\n\027BOOT_OPTIO" - + "N_UNSPECIFIED\020\000\022\007\n\003EFI\020\001\022\010\n\004BIOS\020\002\"Q\n\020Vm" - + "wareVmsDetails\022=\n\007details\030\001 \003(\0132,.google" - + ".cloud.vmmigration.v1.VmwareVmDetails\"\245\001" - + "\n\026FetchInventoryResponse\022H\n\nvmware_vms\030\001" - + " \001(\0132-.google.cloud.vmmigration.v1.Vmwar" - + "eVmsDetailsB\003\340A\003H\000\0224\n\013update_time\030\002 \001(\0132" - + "\032.google.protobuf.TimestampB\003\340A\003B\013\n\tSour" - + "ceVms\"\234\006\n\021UtilizationReport\022\021\n\004name\030\001 \001(" - + "\tB\003\340A\003\022\024\n\014display_name\030\002 \001(\t\022H\n\005state\030\003 " - + "\001(\01624.google.cloud.vmmigration.v1.Utiliz" - + "ationReport.StateB\003\340A\003\0223\n\nstate_time\030\004 \001" - + "(\0132\032.google.protobuf.TimestampB\003\340A\003\022&\n\005e" - + "rror\030\005 \001(\0132\022.google.rpc.StatusB\003\340A\003\0224\n\013c" - + "reate_time\030\006 \001(\0132\032.google.protobuf.Times" - + "tampB\003\340A\003\022L\n\ntime_frame\030\007 \001(\01628.google.c" - + "loud.vmmigration.v1.UtilizationReport.Ti" - + "meFrame\0227\n\016frame_end_time\030\010 \001(\0132\032.google" - + ".protobuf.TimestampB\003\340A\003\022\025\n\010vm_count\030\t \001" - + "(\005B\003\340A\003\022;\n\003vms\030\n \003(\0132..google.cloud.vmmi" - + "gration.v1.VmUtilizationInfo\"G\n\005State\022\025\n" - + "\021STATE_UNSPECIFIED\020\000\022\014\n\010CREATING\020\001\022\r\n\tSU" - + "CCEEDED\020\002\022\n\n\006FAILED\020\003\"F\n\tTimeFrame\022\032\n\026TI" - + "ME_FRAME_UNSPECIFIED\020\000\022\010\n\004WEEK\020\001\022\t\n\005MONT" - + "H\020\002\022\010\n\004YEAR\020\003:\224\001\352A\220\001\n,vmmigration.google" - + "apis.com/UtilizationReport\022`projects/{pr" - + "oject}/locations/{location}/sources/{sou" - + "rce}/utilizationReports/{utilization_rep" - + "ort}\"\302\001\n\021VmUtilizationInfo\022I\n\021vmware_vm_" - + "details\030\001 \001(\0132,.google.cloud.vmmigration" - + ".v1.VmwareVmDetailsH\000\022\r\n\005vm_id\030\003 \001(\t\022F\n\013" - + "utilization\030\002 \001(\01321.google.cloud.vmmigra" - + "tion.v1.VmUtilizationMetricsB\013\n\tVmDetail" - + "s\"\230\002\n\024VmUtilizationMetrics\022\027\n\017cpu_max_pe" - + "rcent\030\t \001(\005\022\033\n\023cpu_average_percent\030\n \001(\005" - + "\022\032\n\022memory_max_percent\030\013 \001(\005\022\036\n\026memory_a" - + "verage_percent\030\014 \001(\005\022\035\n\025disk_io_rate_max" - + "_kbps\030\r \001(\003\022!\n\031disk_io_rate_average_kbps" - + "\030\016 \001(\003\022#\n\033network_throughput_max_kbps\030\017 " - + "\001(\003\022\'\n\037network_throughput_average_kbps\030\020" - + " \001(\003\"\211\002\n\035ListUtilizationReportsRequest\022D" - + "\n\006parent\030\001 \001(\tB4\340A\002\372A.\022,vmmigration.goog" - + "leapis.com/UtilizationReport\022E\n\004view\030\002 \001" - + "(\01622.google.cloud.vmmigration.v1.Utiliza" - + "tionReportViewB\003\340A\001\022\026\n\tpage_size\030\003 \001(\005B\003" - + "\340A\001\022\027\n\npage_token\030\004 \001(\tB\003\340A\002\022\023\n\006filter\030\005" - + " \001(\tB\003\340A\001\022\025\n\010order_by\030\006 \001(\tB\003\340A\001\"\252\001\n\036Lis" - + "tUtilizationReportsResponse\022P\n\023utilizati" - + "on_reports\030\001 \003(\0132..google.cloud.vmmigrat" - + "ion.v1.UtilizationReportB\003\340A\003\022\034\n\017next_pa" - + "ge_token\030\002 \001(\tB\003\340A\003\022\030\n\013unreachable\030\003 \003(\t" - + "B\003\340A\003\"\250\001\n\033GetUtilizationReportRequest\022B\n" - + "\004name\030\001 \001(\tB4\340A\002\372A.\n,vmmigration.googlea" - + "pis.com/UtilizationReport\022E\n\004view\030\002 \001(\0162" - + "2.google.cloud.vmmigration.v1.Utilizatio" - + "nReportViewB\003\340A\001\"\357\001\n\036CreateUtilizationRe" - + "portRequest\022D\n\006parent\030\001 \001(\tB4\340A\002\372A.\022,vmm" - + "igration.googleapis.com/UtilizationRepor" - + "t\022O\n\022utilization_report\030\002 \001(\0132..google.c" - + "loud.vmmigration.v1.UtilizationReportB\003\340" - + "A\002\022\"\n\025utilization_report_id\030\003 \001(\tB\003\340A\002\022\022" - + "\n\nrequest_id\030\004 \001(\t\"}\n\036DeleteUtilizationR" - + "eportRequest\022B\n\004name\030\001 \001(\tB4\340A\002\372A.\n,vmmi" - + "gration.googleapis.com/UtilizationReport" - + "\022\027\n\nrequest_id\030\002 \001(\tB\003\340A\001\"\260\001\n ListDatace" - + "nterConnectorsResponse\022T\n\025datacenter_con" - + "nectors\030\001 \003(\01320.google.cloud.vmmigration" - + ".v1.DatacenterConnectorB\003\340A\003\022\034\n\017next_pag" - + "e_token\030\002 \001(\tB\003\340A\003\022\030\n\013unreachable\030\003 \003(\tB" - + "\003\340A\003\"e\n\035GetDatacenterConnectorRequest\022D\n" - + "\004name\030\001 \001(\tB6\340A\002\372A0\n.vmmigration.googlea" - + "pis.com/DatacenterConnector\"\371\001\n CreateDa" - + "tacenterConnectorRequest\022F\n\006parent\030\001 \001(\t" - + "B6\340A\002\372A0\022.vmmigration.googleapis.com/Dat" - + "acenterConnector\022$\n\027datacenter_connector" - + "_id\030\002 \001(\tB\003\340A\002\022S\n\024datacenter_connector\030\003" - + " \001(\01320.google.cloud.vmmigration.v1.Datac" - + "enterConnectorB\003\340A\002\022\022\n\nrequest_id\030\004 \001(\t\"" - + "|\n DeleteDatacenterConnectorRequest\022D\n\004n" - + "ame\030\001 \001(\tB6\340A\002\372A0\n.vmmigration.googleapi" - + "s.com/DatacenterConnector\022\022\n\nrequest_id\030" - + "\002 \001(\t\"\306\001\n\037ListDatacenterConnectorsReques" - + "t\022F\n\006parent\030\001 \001(\tB6\340A\002\372A0\022.vmmigration.g" - + "oogleapis.com/DatacenterConnector\022\026\n\tpag" - + "e_size\030\002 \001(\005B\003\340A\001\022\027\n\npage_token\030\003 \001(\tB\003\340" - + "A\002\022\023\n\006filter\030\004 \001(\tB\003\340A\001\022\025\n\010order_by\030\005 \001(" - + "\tB\003\340A\001\"\320\007\n\033ComputeEngineTargetDefaults\022\017" - + "\n\007vm_name\030\001 \001(\t\022E\n\016target_project\030\002 \001(\tB" - + "-\372A*\n(vmmigration.googleapis.com/TargetP" - + "roject\022\014\n\004zone\030\003 \001(\t\022\033\n\023machine_type_ser" - + "ies\030\004 \001(\t\022\024\n\014machine_type\030\005 \001(\t\022\024\n\014netwo" - + "rk_tags\030\006 \003(\t\022I\n\022network_interfaces\030\007 \003(" - + "\0132-.google.cloud.vmmigration.v1.NetworkI" - + "nterface\022\027\n\017service_account\030\010 \001(\t\022E\n\tdis" - + "k_type\030\t \001(\01622.google.cloud.vmmigration." - + "v1.ComputeEngineDiskType\022T\n\006labels\030\n \003(\013" - + "2D.google.cloud.vmmigration.v1.ComputeEn" - + "gineTargetDefaults.LabelsEntry\022K\n\014licens" - + "e_type\030\013 \001(\01625.google.cloud.vmmigration." - + "v1.ComputeEngineLicenseType\022I\n\017applied_l" - + "icense\030\014 \001(\0132+.google.cloud.vmmigration." - + "v1.AppliedLicenseB\003\340A\003\022J\n\022compute_schedu" - + "ling\030\r \001(\0132..google.cloud.vmmigration.v1" - + ".ComputeScheduling\022\023\n\013secure_boot\030\016 \001(\010\022" - + "N\n\013boot_option\030\017 \001(\01624.google.cloud.vmmi" - + "gration.v1.ComputeEngineBootOptionB\003\340A\003\022" - + "X\n\010metadata\030\020 \003(\0132F.google.cloud.vmmigra" - + "tion.v1.ComputeEngineTargetDefaults.Meta" - + "dataEntry\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n" - + "\005value\030\002 \001(\t:\0028\001\032/\n\rMetadataEntry\022\013\n\003key" - + "\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\215\007\n\032ComputeEng" - + "ineTargetDetails\022\017\n\007vm_name\030\001 \001(\t\022\017\n\007pro" - + "ject\030\002 \001(\t\022\014\n\004zone\030\003 \001(\t\022\033\n\023machine_type" - + "_series\030\004 \001(\t\022\024\n\014machine_type\030\005 \001(\t\022\024\n\014n" - + "etwork_tags\030\006 \003(\t\022I\n\022network_interfaces\030" - + "\007 \003(\0132-.google.cloud.vmmigration.v1.Netw" - + "orkInterface\022\027\n\017service_account\030\010 \001(\t\022E\n" - + "\tdisk_type\030\t \001(\01622.google.cloud.vmmigrat" - + "ion.v1.ComputeEngineDiskType\022S\n\006labels\030\n" - + " \003(\0132C.google.cloud.vmmigration.v1.Compu" - + "teEngineTargetDetails.LabelsEntry\022K\n\014lic" - + "ense_type\030\013 \001(\01625.google.cloud.vmmigrati" - + "on.v1.ComputeEngineLicenseType\022D\n\017applie" - + "d_license\030\014 \001(\0132+.google.cloud.vmmigrati" - + "on.v1.AppliedLicense\022J\n\022compute_scheduli" - + "ng\030\r \001(\0132..google.cloud.vmmigration.v1.C" - + "omputeScheduling\022\023\n\013secure_boot\030\016 \001(\010\022I\n" - + "\013boot_option\030\017 \001(\01624.google.cloud.vmmigr" - + "ation.v1.ComputeEngineBootOption\022W\n\010meta" - + "data\030\020 \003(\0132E.google.cloud.vmmigration.v1" - + ".ComputeEngineTargetDetails.MetadataEntr" - + "y\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002" - + " \001(\t:\0028\001\032/\n\rMetadataEntry\022\013\n\003key\030\001 \001(\t\022\r" - + "\n\005value\030\002 \001(\t:\0028\001\"a\n\020NetworkInterface\022\017\n" - + "\007network\030\001 \001(\t\022\022\n\nsubnetwork\030\002 \001(\t\022\023\n\013in" - + "ternal_ip\030\003 \001(\t\022\023\n\013external_ip\030\004 \001(\t\"\240\001\n" - + "\016AppliedLicense\022>\n\004type\030\001 \001(\01620.google.c" - + "loud.vmmigration.v1.AppliedLicense.Type\022" - + "\022\n\nos_license\030\002 \001(\t\":\n\004Type\022\024\n\020TYPE_UNSP" - + "ECIFIED\020\000\022\010\n\004NONE\020\001\022\010\n\004PAYG\020\002\022\010\n\004BYOL\020\003\"" - + "\277\001\n\026SchedulingNodeAffinity\022\013\n\003key\030\001 \001(\t\022" - + "N\n\010operator\030\002 \001(\0162<.google.cloud.vmmigra" - + "tion.v1.SchedulingNodeAffinity.Operator\022" - + "\016\n\006values\030\003 \003(\t\"8\n\010Operator\022\030\n\024OPERATOR_" - + "UNSPECIFIED\020\000\022\006\n\002IN\020\001\022\n\n\006NOT_IN\020\002\"\335\003\n\021Co" - + "mputeScheduling\022]\n\023on_host_maintenance\030\001" - + " \001(\0162@.google.cloud.vmmigration.v1.Compu" - + "teScheduling.OnHostMaintenance\022P\n\014restar" - + "t_type\030\005 \001(\0162:.google.cloud.vmmigration." - + "v1.ComputeScheduling.RestartType\022L\n\017node" - + "_affinities\030\003 \003(\01323.google.cloud.vmmigra" - + "tion.v1.SchedulingNodeAffinity\022\025\n\rmin_no" - + "de_cpus\030\004 \001(\005\"T\n\021OnHostMaintenance\022#\n\037ON" - + "_HOST_MAINTENANCE_UNSPECIFIED\020\000\022\r\n\tTERMI" - + "NATE\020\001\022\013\n\007MIGRATE\020\002\"\\\n\013RestartType\022\034\n\030RE" - + "START_TYPE_UNSPECIFIED\020\000\022\025\n\021AUTOMATIC_RE" - + "START\020\001\022\030\n\024NO_AUTOMATIC_RESTART\020\002\"^\n\016Sch" - + "edulePolicy\0220\n\ridle_duration\030\001 \001(\0132\031.goo" - + "gle.protobuf.Duration\022\032\n\022skip_os_adaptat" - + "ion\030\002 \001(\010\"\321\001\n\030CreateMigratingVmRequest\022>" - + "\n\006parent\030\001 \001(\tB.\340A\002\372A(\022&vmmigration.goog" - + "leapis.com/MigratingVm\022\034\n\017migrating_vm_i" - + "d\030\002 \001(\tB\003\340A\002\022C\n\014migrating_vm\030\003 \001(\0132(.goo" - + "gle.cloud.vmmigration.v1.MigratingVmB\003\340A" - + "\002\022\022\n\nrequest_id\030\004 \001(\t\"\266\001\n\027ListMigratingV" - + "msRequest\022>\n\006parent\030\001 \001(\tB.\340A\002\372A(\022&vmmig" - + "ration.googleapis.com/MigratingVm\022\026\n\tpag" - + "e_size\030\002 \001(\005B\003\340A\001\022\027\n\npage_token\030\003 \001(\tB\003\340" - + "A\002\022\023\n\006filter\030\004 \001(\tB\003\340A\001\022\025\n\010order_by\030\005 \001(" - + "\tB\003\340A\001\"\230\001\n\030ListMigratingVmsResponse\022D\n\rm" - + "igrating_vms\030\001 \003(\0132(.google.cloud.vmmigr" - + "ation.v1.MigratingVmB\003\340A\003\022\034\n\017next_page_t" - + "oken\030\002 \001(\tB\003\340A\003\022\030\n\013unreachable\030\003 \003(\tB\003\340A" - + "\003\"U\n\025GetMigratingVmRequest\022<\n\004name\030\001 \001(\t" - + "B.\340A\002\372A(\n&vmmigration.googleapis.com/Mig" - + "ratingVm\"\244\001\n\030UpdateMigratingVmRequest\022/\n" - + "\013update_mask\030\001 \001(\0132\032.google.protobuf.Fie" - + "ldMask\022C\n\014migrating_vm\030\002 \001(\0132(.google.cl" - + "oud.vmmigration.v1.MigratingVmB\003\340A\002\022\022\n\nr" - + "equest_id\030\003 \001(\t\"X\n\030DeleteMigratingVmRequ" - + "est\022<\n\004name\030\001 \001(\tB.\340A\002\372A(\n&vmmigration.g" - + "oogleapis.com/MigratingVm\"]\n\025StartMigrat" - + "ionRequest\022D\n\014migrating_vm\030\001 \001(\tB.\340A\002\372A(" - + "\n&vmmigration.googleapis.com/MigratingVm" - + "\"\030\n\026StartMigrationResponse\"]\n\025PauseMigra" - + "tionRequest\022D\n\014migrating_vm\030\001 \001(\tB.\340A\002\372A" - + "(\n&vmmigration.googleapis.com/MigratingV" - + "m\"\030\n\026PauseMigrationResponse\"^\n\026ResumeMig" - + "rationRequest\022D\n\014migrating_vm\030\001 \001(\tB.\340A\002" - + "\372A(\n&vmmigration.googleapis.com/Migratin" - + "gVm\"\031\n\027ResumeMigrationResponse\"`\n\030Finali" - + "zeMigrationRequest\022D\n\014migrating_vm\030\001 \001(\t" - + "B.\340A\002\372A(\n&vmmigration.googleapis.com/Mig" - + "ratingVm\"\033\n\031FinalizeMigrationResponse\"\247\002" - + "\n\rTargetProject\022\014\n\004name\030\001 \001(\t\022\017\n\007project" - + "\030\002 \001(\t\022\023\n\013description\030\003 \001(\t\0224\n\013create_ti" - + "me\030\004 \001(\0132\032.google.protobuf.TimestampB\003\340A" - + "\003\0224\n\013update_time\030\005 \001(\0132\032.google.protobuf" - + ".TimestampB\003\340A\003:v\352As\n(vmmigration.google" - + "apis.com/TargetProject\022Gprojects/{projec" - + "t}/locations/{location}/targetProjects/{" - + "target_project}\"Y\n\027GetTargetProjectReque" - + "st\022>\n\004name\030\001 \001(\tB0\340A\002\372A*\n(vmmigration.go" - + "ogleapis.com/TargetProject\"\272\001\n\031ListTarge" - + "tProjectsRequest\022@\n\006parent\030\001 \001(\tB0\340A\002\372A*" - + "\022(vmmigration.googleapis.com/TargetProje" - + "ct\022\026\n\tpage_size\030\002 \001(\005B\003\340A\001\022\027\n\npage_token" - + "\030\003 \001(\tB\003\340A\002\022\023\n\006filter\030\004 \001(\tB\003\340A\001\022\025\n\010orde" - + "r_by\030\005 \001(\tB\003\340A\001\"\236\001\n\032ListTargetProjectsRe" - + "sponse\022H\n\017target_projects\030\001 \003(\0132*.google" - + ".cloud.vmmigration.v1.TargetProjectB\003\340A\003" - + "\022\034\n\017next_page_token\030\002 \001(\tB\003\340A\003\022\030\n\013unreac" - + "hable\030\003 \003(\tB\003\340A\003\"\333\001\n\032CreateTargetProject" - + "Request\022@\n\006parent\030\001 \001(\tB0\340A\002\372A*\022(vmmigra" - + "tion.googleapis.com/TargetProject\022\036\n\021tar" - + "get_project_id\030\002 \001(\tB\003\340A\002\022G\n\016target_proj" - + "ect\030\003 \001(\0132*.google.cloud.vmmigration.v1." - + "TargetProjectB\003\340A\002\022\022\n\nrequest_id\030\004 \001(\t\"\252" - + "\001\n\032UpdateTargetProjectRequest\022/\n\013update_" - + "mask\030\001 \001(\0132\032.google.protobuf.FieldMask\022G" - + "\n\016target_project\030\002 \001(\0132*.google.cloud.vm" - + "migration.v1.TargetProjectB\003\340A\002\022\022\n\nreque" - + "st_id\030\003 \001(\t\"u\n\032DeleteTargetProjectReques" - + "t\022>\n\004name\030\001 \001(\tB0\340A\002\372A*\n(vmmigration.goo" - + "gleapis.com/TargetProject\022\027\n\nrequest_id\030" - + "\002 \001(\tB\003\340A\001\"\213\002\n\005Group\022\014\n\004name\030\001 \001(\t\0224\n\013cr" - + "eate_time\030\002 \001(\0132\032.google.protobuf.Timest" - + "ampB\003\340A\003\0224\n\013update_time\030\003 \001(\0132\032.google.p" - + "rotobuf.TimestampB\003\340A\003\022\023\n\013description\030\004 " - + "\001(\t\022\024\n\014display_name\030\005 \001(\t:]\352AZ\n vmmigrat" - + "ion.googleapis.com/Group\0226projects/{proj" - + "ect}/locations/{location}/groups/{group}" - + "\"\252\001\n\021ListGroupsRequest\0228\n\006parent\030\001 \001(\tB(" - + "\340A\002\372A\"\022 vmmigration.googleapis.com/Group" - + "\022\026\n\tpage_size\030\002 \001(\005B\003\340A\001\022\027\n\npage_token\030\003" - + " \001(\tB\003\340A\002\022\023\n\006filter\030\004 \001(\tB\003\340A\001\022\025\n\010order_" - + "by\030\005 \001(\tB\003\340A\001\"\205\001\n\022ListGroupsResponse\0227\n\006" - + "groups\030\001 \003(\0132\".google.cloud.vmmigration." - + "v1.GroupB\003\340A\003\022\034\n\017next_page_token\030\002 \001(\tB\003", - "\340A\003\022\030\n\013unreachable\030\003 \003(\tB\003\340A\003\"I\n\017GetGrou" - + "pRequest\0226\n\004name\030\001 \001(\tB(\340A\002\372A\"\n vmmigrat" - + "ion.googleapis.com/Group\"\261\001\n\022CreateGroup" - + "Request\0228\n\006parent\030\001 \001(\tB(\340A\002\372A\"\022 vmmigra" - + "tion.googleapis.com/Group\022\025\n\010group_id\030\002 " - + "\001(\tB\003\340A\002\0226\n\005group\030\003 \001(\0132\".google.cloud.v" - + "mmigration.v1.GroupB\003\340A\002\022\022\n\nrequest_id\030\004" - + " \001(\t\"\221\001\n\022UpdateGroupRequest\022/\n\013update_ma" - + "sk\030\001 \001(\0132\032.google.protobuf.FieldMask\0226\n\005" - + "group\030\002 \001(\0132\".google.cloud.vmmigration.v" - + "1.GroupB\003\340A\002\022\022\n\nrequest_id\030\003 \001(\t\"e\n\022Dele" - + "teGroupRequest\0226\n\004name\030\001 \001(\tB(\340A\002\372A\"\n vm" - + "migration.googleapis.com/Group\022\027\n\nreques" - + "t_id\030\002 \001(\tB\003\340A\001\"\226\001\n\030AddGroupMigrationReq" - + "uest\0227\n\005group\030\001 \001(\tB(\340A\002\372A\"\n vmmigration" - + ".googleapis.com/Group\022A\n\014migrating_vm\030\002 " - + "\001(\tB+\372A(\n&vmmigration.googleapis.com/Mig" - + "ratingVm\"\033\n\031AddGroupMigrationResponse\"\231\001" - + "\n\033RemoveGroupMigrationRequest\0227\n\005group\030\001" - + " \001(\tB(\340A\002\372A\"\n vmmigration.googleapis.com" - + "/Group\022A\n\014migrating_vm\030\002 \001(\tB+\372A(\n&vmmig" - + "ration.googleapis.com/MigratingVm\"\036\n\034Rem" - + "oveGroupMigrationResponse\"\314\001\n\027CreateCuto" - + "verJobRequest\022=\n\006parent\030\001 \001(\tB-\340A\002\372A\'\022%v" - + "mmigration.googleapis.com/CutoverJob\022\033\n\016" - + "cutover_job_id\030\002 \001(\tB\003\340A\002\022A\n\013cutover_job" - + "\030\003 \001(\0132\'.google.cloud.vmmigration.v1.Cut" - + "overJobB\003\340A\002\022\022\n\nrequest_id\030\004 \001(\t\"V\n\027Canc" - + "elCutoverJobRequest\022;\n\004name\030\001 \001(\tB-\340A\002\372A" - + "\'\n%vmmigration.googleapis.com/CutoverJob" - + "\"\032\n\030CancelCutoverJobResponse\"\264\001\n\026ListCut" - + "overJobsRequest\022=\n\006parent\030\001 \001(\tB-\340A\002\372A\'\022" - + "%vmmigration.googleapis.com/CutoverJob\022\026" - + "\n\tpage_size\030\002 \001(\005B\003\340A\001\022\027\n\npage_token\030\003 \001" - + "(\tB\003\340A\002\022\023\n\006filter\030\004 \001(\tB\003\340A\001\022\025\n\010order_by" - + "\030\005 \001(\tB\003\340A\001\"\225\001\n\027ListCutoverJobsResponse\022" - + "B\n\014cutover_jobs\030\001 \003(\0132\'.google.cloud.vmm" - + "igration.v1.CutoverJobB\003\340A\003\022\034\n\017next_page" - + "_token\030\002 \001(\tB\003\340A\003\022\030\n\013unreachable\030\003 \003(\tB\003" - + "\340A\003\"S\n\024GetCutoverJobRequest\022;\n\004name\030\001 \001(" - + "\tB-\340A\002\372A\'\n%vmmigration.googleapis.com/Cu" - + "toverJob\"\200\002\n\021OperationMetadata\0224\n\013create" - + "_time\030\001 \001(\0132\032.google.protobuf.TimestampB" - + "\003\340A\003\0221\n\010end_time\030\002 \001(\0132\032.google.protobuf" - + ".TimestampB\003\340A\003\022\023\n\006target\030\003 \001(\tB\003\340A\003\022\021\n\004" - + "verb\030\004 \001(\tB\003\340A\003\022\033\n\016status_message\030\005 \001(\tB" - + "\003\340A\003\022#\n\026requested_cancellation\030\006 \001(\010B\003\340A" - + "\003\022\030\n\013api_version\030\007 \001(\tB\003\340A\003\"\242\004\n\016Migratio" - + "nError\022H\n\004code\030\001 \001(\01625.google.cloud.vmmi" - + "gration.v1.MigrationError.ErrorCodeB\003\340A\003" - + "\0228\n\rerror_message\030\002 \001(\0132\034.google.rpc.Loc" - + "alizedMessageB\003\340A\003\0226\n\013action_item\030\003 \001(\0132" - + "\034.google.rpc.LocalizedMessageB\003\340A\003\022.\n\nhe" - + "lp_links\030\004 \003(\0132\025.google.rpc.Help.LinkB\003\340" - + "A\003\0223\n\nerror_time\030\005 \001(\0132\032.google.protobuf" - + ".TimestampB\003\340A\003\"\356\001\n\tErrorCode\022\032\n\026ERROR_C" - + "ODE_UNSPECIFIED\020\000\022\021\n\rUNKNOWN_ERROR\020\001\022\033\n\027" - + "SOURCE_VALIDATION_ERROR\020\002\022\034\n\030SOURCE_REPL" - + "ICATION_ERROR\020\003\022\034\n\030TARGET_REPLICATION_ER" - + "ROR\020\004\022\027\n\023OS_ADAPTATION_ERROR\020\005\022\017\n\013CLONE_" - + "ERROR\020\006\022\021\n\rCUTOVER_ERROR\020\007\022\034\n\030UTILIZATIO" - + "N_REPORT_ERROR\020\010*U\n\025UtilizationReportVie" - + "w\022\'\n#UTILIZATION_REPORT_VIEW_UNSPECIFIED" - + "\020\000\022\t\n\005BASIC\020\001\022\010\n\004FULL\020\002*\261\001\n\025ComputeEngin" - + "eDiskType\022(\n$COMPUTE_ENGINE_DISK_TYPE_UN" - + "SPECIFIED\020\000\022%\n!COMPUTE_ENGINE_DISK_TYPE_" - + "STANDARD\020\001\022 \n\034COMPUTE_ENGINE_DISK_TYPE_S" - + "SD\020\002\022%\n!COMPUTE_ENGINE_DISK_TYPE_BALANCE" - + "D\020\003*\217\001\n\030ComputeEngineLicenseType\022\'\n#COMP" - + "UTE_ENGINE_LICENSE_TYPE_DEFAULT\020\000\022$\n COM" - + "PUTE_ENGINE_LICENSE_TYPE_PAYG\020\001\022$\n COMPU" - + "TE_ENGINE_LICENSE_TYPE_BYOL\020\002*\216\001\n\027Comput" - + "eEngineBootOption\022*\n&COMPUTE_ENGINE_BOOT" - + "_OPTION_UNSPECIFIED\020\000\022\"\n\036COMPUTE_ENGINE_" - + "BOOT_OPTION_EFI\020\001\022#\n\037COMPUTE_ENGINE_BOOT" - + "_OPTION_BIOS\020\0022\255M\n\013VmMigration\022\256\001\n\013ListS" - + "ources\022/.google.cloud.vmmigration.v1.Lis" - + "tSourcesRequest\0320.google.cloud.vmmigrati" - + "on.v1.ListSourcesResponse\"<\202\323\344\223\002-\022+/v1/{" - + "parent=projects/*/locations/*}/sources\332A" - + "\006parent\022\233\001\n\tGetSource\022-.google.cloud.vmm" - + "igration.v1.GetSourceRequest\032#.google.cl" - + "oud.vmmigration.v1.Source\":\202\323\344\223\002-\022+/v1/{" - + "name=projects/*/locations/*/sources/*}\332A" - + "\004name\022\324\001\n\014CreateSource\0220.google.cloud.vm" - + "migration.v1.CreateSourceRequest\032\035.googl" - + "e.longrunning.Operation\"s\202\323\344\223\0025\"+/v1/{pa" - + "rent=projects/*/locations/*}/sources:\006so" - + "urce\332A\027parent,source,source_id\312A\033\n\006Sourc" - + "e\022\021OperationMetadata\022\326\001\n\014UpdateSource\0220." - + "google.cloud.vmmigration.v1.UpdateSource" - + "Request\032\035.google.longrunning.Operation\"u" - + "\202\323\344\223\002<22/v1/{source.name=projects/*/loca" - + "tions/*/sources/*}:\006source\332A\022source,upda" - + "te_mask\312A\033\n\006Source\022\021OperationMetadata\022\310\001" - + "\n\014DeleteSource\0220.google.cloud.vmmigratio" - + "n.v1.DeleteSourceRequest\032\035.google.longru" - + "nning.Operation\"g\202\323\344\223\002-*+/v1/{name=proje" - + "cts/*/locations/*/sources/*}\332A\004name\312A*\n\025" - + "google.protobuf.Empty\022\021OperationMetadata" - + "\022\310\001\n\016FetchInventory\0222.google.cloud.vmmig" - + "ration.v1.FetchInventoryRequest\0323.google" - + ".cloud.vmmigration.v1.FetchInventoryResp" - + "onse\"M\202\323\344\223\002>\022 Date: Tue, 19 Jul 2022 08:51:26 +0000 Subject: [PATCH 2/2] =?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 --- .../vmmigration/v1/VmMigrationClient.java | 122 +- .../vmmigration/v1/VmMigrationSettings.java | 19 +- .../cloud/vmmigration/v1/gapic_metadata.json | 0 .../cloud/vmmigration/v1/package-info.java | 0 .../stub/GrpcVmMigrationCallableFactory.java | 0 .../v1/stub/GrpcVmMigrationStub.java | 1 - .../HttpJsonVmMigrationCallableFactory.java | 0 .../v1/stub/HttpJsonVmMigrationStub.java | 1 - .../vmmigration/v1/stub/VmMigrationStub.java | 0 .../v1/stub/VmMigrationStubSettings.java | 54 +- .../cloud/vmmigration/v1/MockVmMigration.java | 0 .../vmmigration/v1/MockVmMigrationImpl.java | 0 .../v1/VmMigrationClientHttpJsonTest.java | 0 .../vmmigration/v1/VmMigrationClientTest.java | 0 .../cloud/vmmigration/v1/VmMigrationGrpc.java | 5458 +++++++++++++++++ .../cloud/vmmigration/v1/VmMigrationGrpc.java | 4097 ------------- .../v1/AddGroupMigrationRequestOrBuilder.java | 49 - .../AddGroupMigrationResponseOrBuilder.java | 9 - .../v1/CancelCloneJobRequestOrBuilder.java | 29 - .../v1/CancelCloneJobResponseOrBuilder.java | 9 - .../v1/CancelCutoverJobRequestOrBuilder.java | 29 - .../v1/CancelCutoverJobResponseOrBuilder.java | 9 - .../v1/DeleteMigratingVmRequestOrBuilder.java | 29 - .../v1/FetchInventoryRequestOrBuilder.java | 40 - .../v1/FinalizeMigrationRequestOrBuilder.java | 29 - .../FinalizeMigrationResponseOrBuilder.java | 9 - .../v1/GetCloneJobRequestOrBuilder.java | 29 - .../v1/GetCutoverJobRequestOrBuilder.java | 29 - ...etDatacenterConnectorRequestOrBuilder.java | 29 - .../v1/GetGroupRequestOrBuilder.java | 29 - .../v1/GetMigratingVmRequestOrBuilder.java | 48 - .../v1/GetSourceRequestOrBuilder.java | 29 - .../v1/GetTargetProjectRequestOrBuilder.java | 29 - .../GetUtilizationReportRequestOrBuilder.java | 50 - .../v1/PauseMigrationRequestOrBuilder.java | 29 - .../v1/PauseMigrationResponseOrBuilder.java | 9 - .../RemoveGroupMigrationRequestOrBuilder.java | 49 - ...RemoveGroupMigrationResponseOrBuilder.java | 9 - .../v1/ResumeMigrationRequestOrBuilder.java | 29 - .../v1/ResumeMigrationResponseOrBuilder.java | 9 - .../v1/StartMigrationRequestOrBuilder.java | 29 - .../v1/StartMigrationResponseOrBuilder.java | 9 - .../v1/UpgradeApplianceResponseOrBuilder.java | 9 - .../vmmigration/v1/VmMigrationProto.java | 1886 ------ .../v1/AddGroupMigrationRequest.java | 421 +- .../v1/AddGroupMigrationRequestOrBuilder.java | 79 + .../v1/AddGroupMigrationResponse.java | 238 +- .../AddGroupMigrationResponseOrBuilder.java | 24 + .../vmmigration/v1/ApplianceVersion.java | 503 +- .../v1/ApplianceVersionOrBuilder.java | 48 +- .../cloud/vmmigration/v1/AppliedLicense.java | 436 +- .../v1/AppliedLicenseOrBuilder.java | 33 +- .../vmmigration/v1/AvailableUpdates.java | 446 +- .../v1/AvailableUpdatesOrBuilder.java | 34 +- .../vmmigration/v1/CancelCloneJobRequest.java | 342 +- .../v1/CancelCloneJobRequestOrBuilder.java | 54 + .../v1/CancelCloneJobResponse.java | 238 +- .../v1/CancelCloneJobResponseOrBuilder.java | 24 + .../v1/CancelCutoverJobRequest.java | 342 +- .../v1/CancelCutoverJobRequestOrBuilder.java | 54 + .../v1/CancelCutoverJobResponse.java | 238 +- .../v1/CancelCutoverJobResponseOrBuilder.java | 24 + .../google/cloud/vmmigration/v1/CloneJob.java | 1196 ++-- .../cloud/vmmigration/v1/CloneJobName.java | 0 .../vmmigration/v1/CloneJobOrBuilder.java | 123 +- .../v1/ComputeEngineBootOption.java | 77 +- .../vmmigration/v1/ComputeEngineDiskType.java | 84 +- .../v1/ComputeEngineLicenseType.java | 77 +- .../v1/ComputeEngineTargetDefaults.java | 2199 ++++--- .../ComputeEngineTargetDefaultsOrBuilder.java | 251 +- .../v1/ComputeEngineTargetDetails.java | 2123 ++++--- .../ComputeEngineTargetDetailsOrBuilder.java | 231 +- .../vmmigration/v1/ComputeScheduling.java | 784 ++- .../v1/ComputeSchedulingOrBuilder.java | 54 +- .../vmmigration/v1/CreateCloneJobRequest.java | 649 +- .../v1/CreateCloneJobRequestOrBuilder.java | 73 +- .../v1/CreateCutoverJobRequest.java | 646 +- .../v1/CreateCutoverJobRequestOrBuilder.java | 73 +- .../v1/CreateDatacenterConnectorRequest.java | 686 ++- ...teDatacenterConnectorRequestOrBuilder.java | 73 +- .../vmmigration/v1/CreateGroupRequest.java | 624 +- .../v1/CreateGroupRequestOrBuilder.java | 70 +- .../v1/CreateMigratingVmRequest.java | 646 +- .../v1/CreateMigratingVmRequestOrBuilder.java | 73 +- .../vmmigration/v1/CreateSourceRequest.java | 639 +- .../v1/CreateSourceRequestOrBuilder.java | 70 +- .../v1/CreateTargetProjectRequest.java | 646 +- .../CreateTargetProjectRequestOrBuilder.java | 73 +- .../v1/CreateUtilizationReportRequest.java | 674 +- ...eateUtilizationReportRequestOrBuilder.java | 73 +- .../cloud/vmmigration/v1/CutoverJob.java | 1305 ++-- .../cloud/vmmigration/v1/CutoverJobName.java | 0 .../vmmigration/v1/CutoverJobOrBuilder.java | 135 +- .../vmmigration/v1/DatacenterConnector.java | 1819 ++++-- .../v1/DatacenterConnectorName.java | 0 .../v1/DatacenterConnectorOrBuilder.java | 208 +- .../v1/DeleteDatacenterConnectorRequest.java | 445 +- ...teDatacenterConnectorRequestOrBuilder.java | 44 +- .../vmmigration/v1/DeleteGroupRequest.java | 418 +- .../v1/DeleteGroupRequestOrBuilder.java | 44 +- .../v1/DeleteMigratingVmRequest.java | 342 +- .../v1/DeleteMigratingVmRequestOrBuilder.java | 54 + .../vmmigration/v1/DeleteSourceRequest.java | 418 +- .../v1/DeleteSourceRequestOrBuilder.java | 44 +- .../v1/DeleteTargetProjectRequest.java | 421 +- .../DeleteTargetProjectRequestOrBuilder.java | 44 +- .../v1/DeleteUtilizationReportRequest.java | 442 +- ...leteUtilizationReportRequestOrBuilder.java | 44 +- .../vmmigration/v1/FetchInventoryRequest.java | 379 +- .../v1/FetchInventoryRequestOrBuilder.java | 68 + .../v1/FetchInventoryResponse.java | 525 +- .../v1/FetchInventoryResponseOrBuilder.java | 43 +- .../v1/FinalizeMigrationRequest.java | 342 +- .../v1/FinalizeMigrationRequestOrBuilder.java | 54 + .../v1/FinalizeMigrationResponse.java | 238 +- .../FinalizeMigrationResponseOrBuilder.java | 24 + .../vmmigration/v1/GetCloneJobRequest.java | 339 +- .../v1/GetCloneJobRequestOrBuilder.java | 54 + .../vmmigration/v1/GetCutoverJobRequest.java | 339 +- .../v1/GetCutoverJobRequestOrBuilder.java | 54 + .../v1/GetDatacenterConnectorRequest.java | 350 +- ...etDatacenterConnectorRequestOrBuilder.java | 54 + .../cloud/vmmigration/v1/GetGroupRequest.java | 332 +- .../v1/GetGroupRequestOrBuilder.java | 54 + .../vmmigration/v1/GetMigratingVmRequest.java | 434 +- .../v1/GetMigratingVmRequestOrBuilder.java | 83 + .../vmmigration/v1/GetSourceRequest.java | 336 +- .../v1/GetSourceRequestOrBuilder.java | 54 + .../v1/GetTargetProjectRequest.java | 342 +- .../v1/GetTargetProjectRequestOrBuilder.java | 54 + .../v1/GetUtilizationReportRequest.java | 442 +- .../GetUtilizationReportRequestOrBuilder.java | 85 + .../google/cloud/vmmigration/v1/Group.java | 735 ++- .../cloud/vmmigration/v1/GroupName.java | 0 .../cloud/vmmigration/v1/GroupOrBuilder.java | 79 +- .../vmmigration/v1/ListCloneJobsRequest.java | 612 +- .../v1/ListCloneJobsRequestOrBuilder.java | 65 +- .../vmmigration/v1/ListCloneJobsResponse.java | 665 +- .../v1/ListCloneJobsResponseOrBuilder.java | 83 +- .../v1/ListCutoverJobsRequest.java | 615 +- .../v1/ListCutoverJobsRequestOrBuilder.java | 65 +- .../v1/ListCutoverJobsResponse.java | 666 +- .../v1/ListCutoverJobsResponseOrBuilder.java | 83 +- .../v1/ListDatacenterConnectorsRequest.java | 639 +- ...tDatacenterConnectorsRequestOrBuilder.java | 65 +- .../v1/ListDatacenterConnectorsResponse.java | 701 ++- ...DatacenterConnectorsResponseOrBuilder.java | 80 +- .../vmmigration/v1/ListGroupsRequest.java | 612 +- .../v1/ListGroupsRequestOrBuilder.java | 65 +- .../vmmigration/v1/ListGroupsResponse.java | 661 +- .../v1/ListGroupsResponseOrBuilder.java | 84 +- .../v1/ListMigratingVmsRequest.java | 707 ++- .../v1/ListMigratingVmsRequestOrBuilder.java | 79 +- .../v1/ListMigratingVmsResponse.java | 663 +- .../v1/ListMigratingVmsResponseOrBuilder.java | 83 +- .../vmmigration/v1/ListSourcesRequest.java | 612 +- .../v1/ListSourcesRequestOrBuilder.java | 65 +- .../vmmigration/v1/ListSourcesResponse.java | 661 +- .../v1/ListSourcesResponseOrBuilder.java | 83 +- .../v1/ListTargetProjectsRequest.java | 615 +- .../ListTargetProjectsRequestOrBuilder.java | 65 +- .../v1/ListTargetProjectsResponse.java | 643 +- .../ListTargetProjectsResponseOrBuilder.java | 83 +- .../v1/ListUtilizationReportsRequest.java | 721 ++- ...istUtilizationReportsRequestOrBuilder.java | 79 +- .../v1/ListUtilizationReportsResponse.java | 681 +- ...stUtilizationReportsResponseOrBuilder.java | 80 +- .../cloud/vmmigration/v1/LocationName.java | 0 .../cloud/vmmigration/v1/MigratingVm.java | 2698 +++++--- .../cloud/vmmigration/v1/MigratingVmName.java | 0 .../vmmigration/v1/MigratingVmOrBuilder.java | 322 +- .../cloud/vmmigration/v1/MigratingVmView.java | 82 +- .../cloud/vmmigration/v1/MigrationError.java | 1103 ++-- .../v1/MigrationErrorOrBuilder.java | 128 +- .../vmmigration/v1/NetworkInterface.java | 547 +- .../v1/NetworkInterfaceOrBuilder.java | 54 +- .../vmmigration/v1/OperationMetadata.java | 852 ++- .../v1/OperationMetadataOrBuilder.java | 91 +- .../vmmigration/v1/PauseMigrationRequest.java | 342 +- .../v1/PauseMigrationRequestOrBuilder.java | 54 + .../v1/PauseMigrationResponse.java | 238 +- .../v1/PauseMigrationResponseOrBuilder.java | 24 + .../v1/RemoveGroupMigrationRequest.java | 421 +- .../RemoveGroupMigrationRequestOrBuilder.java | 79 + .../v1/RemoveGroupMigrationResponse.java | 245 +- ...RemoveGroupMigrationResponseOrBuilder.java | 24 + .../vmmigration/v1/ReplicationCycle.java | 354 +- .../v1/ReplicationCycleOrBuilder.java | 29 +- .../cloud/vmmigration/v1/ReplicationSync.java | 330 +- .../v1/ReplicationSyncOrBuilder.java | 26 +- .../v1/ResumeMigrationRequest.java | 342 +- .../v1/ResumeMigrationRequestOrBuilder.java | 54 + .../v1/ResumeMigrationResponse.java | 238 +- .../v1/ResumeMigrationResponseOrBuilder.java | 24 + .../cloud/vmmigration/v1/SchedulePolicy.java | 362 +- .../v1/SchedulePolicyOrBuilder.java | 29 +- .../v1/SchedulingNodeAffinity.java | 568 +- .../v1/SchedulingNodeAffinityOrBuilder.java | 51 +- .../google/cloud/vmmigration/v1/Source.java | 1062 ++-- .../cloud/vmmigration/v1/SourceName.java | 0 .../cloud/vmmigration/v1/SourceOrBuilder.java | 109 +- .../vmmigration/v1/StartMigrationRequest.java | 342 +- .../v1/StartMigrationRequestOrBuilder.java | 54 + .../v1/StartMigrationResponse.java | 238 +- .../v1/StartMigrationResponseOrBuilder.java | 24 + .../cloud/vmmigration/v1/TargetProject.java | 739 ++- .../vmmigration/v1/TargetProjectName.java | 0 .../v1/TargetProjectOrBuilder.java | 79 +- .../vmmigration/v1/UpdateGroupRequest.java | 534 +- .../v1/UpdateGroupRequestOrBuilder.java | 52 +- .../v1/UpdateMigratingVmRequest.java | 556 +- .../v1/UpdateMigratingVmRequestOrBuilder.java | 55 +- .../vmmigration/v1/UpdateSourceRequest.java | 549 +- .../v1/UpdateSourceRequestOrBuilder.java | 52 +- .../v1/UpdateTargetProjectRequest.java | 556 +- .../UpdateTargetProjectRequestOrBuilder.java | 55 +- .../v1/UpgradeApplianceRequest.java | 421 +- .../v1/UpgradeApplianceRequestOrBuilder.java | 44 +- .../v1/UpgradeApplianceResponse.java | 238 +- .../v1/UpgradeApplianceResponseOrBuilder.java | 24 + .../cloud/vmmigration/v1/UpgradeStatus.java | 694 ++- .../v1/UpgradeStatusOrBuilder.java | 58 +- .../vmmigration/v1/UtilizationReport.java | 1388 +++-- .../vmmigration/v1/UtilizationReportName.java | 0 .../v1/UtilizationReportOrBuilder.java | 139 +- .../vmmigration/v1/UtilizationReportView.java | 77 +- .../vmmigration/v1/VmMigrationProto.java | 2104 +++++++ .../vmmigration/v1/VmUtilizationInfo.java | 557 +- .../v1/VmUtilizationInfoOrBuilder.java | 43 +- .../vmmigration/v1/VmUtilizationMetrics.java | 522 +- .../v1/VmUtilizationMetricsOrBuilder.java | 42 +- .../vmmigration/v1/VmwareSourceDetails.java | 550 +- .../v1/VmwareSourceDetailsOrBuilder.java | 54 +- .../cloud/vmmigration/v1/VmwareVmDetails.java | 1147 ++-- .../v1/VmwareVmDetailsOrBuilder.java | 104 +- .../vmmigration/v1/VmwareVmsDetails.java | 379 +- .../v1/VmwareVmsDetailsOrBuilder.java | 36 +- .../cloud/vmmigration/v1/vmmigration.proto | 0 .../getsource/SyncGetSource.java | 0 .../AsyncAddGroupMigration.java | 0 .../AsyncAddGroupMigrationLRO.java | 0 .../SyncAddGroupMigration.java | 0 .../SyncAddGroupMigrationGroupname.java | 0 .../SyncAddGroupMigrationString.java | 0 .../cancelclonejob/AsyncCancelCloneJob.java | 0 .../AsyncCancelCloneJobLRO.java | 0 .../cancelclonejob/SyncCancelCloneJob.java | 0 .../SyncCancelCloneJobClonejobname.java | 0 .../SyncCancelCloneJobString.java | 0 .../AsyncCancelCutoverJob.java | 0 .../AsyncCancelCutoverJobLRO.java | 0 .../SyncCancelCutoverJob.java | 0 .../SyncCancelCutoverJobCutoverjobname.java | 0 .../SyncCancelCutoverJobString.java | 0 .../SyncCreateSetCredentialsProvider.java | 0 .../SyncCreateSetCredentialsProvider1.java | 0 .../create/SyncCreateSetEndpoint.java | 0 .../createclonejob/AsyncCreateCloneJob.java | 0 .../AsyncCreateCloneJobLRO.java | 0 .../createclonejob/SyncCreateCloneJob.java | 0 ...CloneJobMigratingvmnameClonejobString.java | 0 ...yncCreateCloneJobStringClonejobString.java | 0 .../AsyncCreateCutoverJob.java | 0 .../AsyncCreateCutoverJobLRO.java | 0 .../SyncCreateCutoverJob.java | 0 ...verJobMigratingvmnameCutoverjobString.java | 0 ...reateCutoverJobStringCutoverjobString.java | 0 .../AsyncCreateDatacenterConnector.java | 0 .../AsyncCreateDatacenterConnectorLRO.java | 0 .../SyncCreateDatacenterConnector.java | 0 ...orSourcenameDatacenterconnectorString.java | 0 ...nectorStringDatacenterconnectorString.java | 0 .../creategroup/AsyncCreateGroup.java | 0 .../creategroup/AsyncCreateGroupLRO.java | 0 .../creategroup/SyncCreateGroup.java | 0 ...yncCreateGroupLocationnameGroupString.java | 0 .../SyncCreateGroupStringGroupString.java | 0 .../AsyncCreateMigratingVm.java | 0 .../AsyncCreateMigratingVmLRO.java | 0 .../SyncCreateMigratingVm.java | 0 ...igratingVmSourcenameMigratingvmString.java | 0 ...ateMigratingVmStringMigratingvmString.java | 0 .../createsource/AsyncCreateSource.java | 0 .../createsource/AsyncCreateSourceLRO.java | 0 .../createsource/SyncCreateSource.java | 0 ...cCreateSourceLocationnameSourceString.java | 0 .../SyncCreateSourceStringSourceString.java | 0 .../AsyncCreateTargetProject.java | 0 .../AsyncCreateTargetProjectLRO.java | 0 .../SyncCreateTargetProject.java | 0 ...rojectLocationnameTargetprojectString.java | 0 ...argetProjectStringTargetprojectString.java | 0 .../AsyncCreateUtilizationReport.java | 0 .../AsyncCreateUtilizationReportLRO.java | 0 .../SyncCreateUtilizationReport.java | 0 ...portSourcenameUtilizationreportString.java | 0 ...onReportStringUtilizationreportString.java | 0 .../AsyncDeleteDatacenterConnector.java | 0 .../AsyncDeleteDatacenterConnectorLRO.java | 0 .../SyncDeleteDatacenterConnector.java | 0 ...enterConnectorDatacenterconnectorname.java | 0 .../SyncDeleteDatacenterConnectorString.java | 0 .../deletegroup/AsyncDeleteGroup.java | 0 .../deletegroup/AsyncDeleteGroupLRO.java | 0 .../deletegroup/SyncDeleteGroup.java | 0 .../deletegroup/SyncDeleteGroupGroupname.java | 0 .../deletegroup/SyncDeleteGroupString.java | 0 .../AsyncDeleteMigratingVm.java | 0 .../AsyncDeleteMigratingVmLRO.java | 0 .../SyncDeleteMigratingVm.java | 0 .../SyncDeleteMigratingVmMigratingvmname.java | 0 .../SyncDeleteMigratingVmString.java | 0 .../deletesource/AsyncDeleteSource.java | 0 .../deletesource/AsyncDeleteSourceLRO.java | 0 .../deletesource/SyncDeleteSource.java | 0 .../SyncDeleteSourceSourcename.java | 0 .../deletesource/SyncDeleteSourceString.java | 0 .../AsyncDeleteTargetProject.java | 0 .../AsyncDeleteTargetProjectLRO.java | 0 .../SyncDeleteTargetProject.java | 0 .../SyncDeleteTargetProjectString.java | 0 ...cDeleteTargetProjectTargetprojectname.java | 0 .../AsyncDeleteUtilizationReport.java | 0 .../AsyncDeleteUtilizationReportLRO.java | 0 .../SyncDeleteUtilizationReport.java | 0 .../SyncDeleteUtilizationReportString.java | 0 ...tilizationReportUtilizationreportname.java | 0 .../fetchinventory/AsyncFetchInventory.java | 0 .../fetchinventory/SyncFetchInventory.java | 0 .../SyncFetchInventorySourcename.java | 0 .../SyncFetchInventoryString.java | 0 .../AsyncFinalizeMigration.java | 0 .../AsyncFinalizeMigrationLRO.java | 0 .../SyncFinalizeMigration.java | 0 .../SyncFinalizeMigrationMigratingvmname.java | 0 .../SyncFinalizeMigrationString.java | 0 .../getclonejob/AsyncGetCloneJob.java | 0 .../getclonejob/SyncGetCloneJob.java | 0 .../SyncGetCloneJobClonejobname.java | 0 .../getclonejob/SyncGetCloneJobString.java | 0 .../getcutoverjob/AsyncGetCutoverJob.java | 0 .../getcutoverjob/SyncGetCutoverJob.java | 0 .../SyncGetCutoverJobCutoverjobname.java | 0 .../SyncGetCutoverJobString.java | 0 .../AsyncGetDatacenterConnector.java | 0 .../SyncGetDatacenterConnector.java | 0 ...enterConnectorDatacenterconnectorname.java | 0 .../SyncGetDatacenterConnectorString.java | 0 .../getgroup/AsyncGetGroup.java | 0 .../getgroup/SyncGetGroup.java | 0 .../getgroup/SyncGetGroupGroupname.java | 0 .../getgroup/SyncGetGroupString.java | 0 .../getmigratingvm/AsyncGetMigratingVm.java | 0 .../getmigratingvm/SyncGetMigratingVm.java | 0 .../SyncGetMigratingVmMigratingvmname.java | 0 .../SyncGetMigratingVmString.java | 0 .../getsource/AsyncGetSource.java | 0 .../getsource/SyncGetSource.java | 0 .../getsource/SyncGetSourceSourcename.java | 0 .../getsource/SyncGetSourceString.java | 0 .../AsyncGetTargetProject.java | 0 .../SyncGetTargetProject.java | 0 .../SyncGetTargetProjectString.java | 0 ...SyncGetTargetProjectTargetprojectname.java | 0 .../AsyncGetUtilizationReport.java | 0 .../SyncGetUtilizationReport.java | 0 .../SyncGetUtilizationReportString.java | 0 ...tilizationReportUtilizationreportname.java | 0 .../listclonejobs/AsyncListCloneJobs.java | 0 .../AsyncListCloneJobsPaged.java | 0 .../listclonejobs/SyncListCloneJobs.java | 0 .../SyncListCloneJobsMigratingvmname.java | 0 .../SyncListCloneJobsString.java | 0 .../listcutoverjobs/AsyncListCutoverJobs.java | 0 .../AsyncListCutoverJobsPaged.java | 0 .../listcutoverjobs/SyncListCutoverJobs.java | 0 .../SyncListCutoverJobsMigratingvmname.java | 0 .../SyncListCutoverJobsString.java | 0 .../AsyncListDatacenterConnectors.java | 0 .../AsyncListDatacenterConnectorsPaged.java | 0 .../SyncListDatacenterConnectors.java | 0 ...yncListDatacenterConnectorsSourcename.java | 0 .../SyncListDatacenterConnectorsString.java | 0 .../listgroups/AsyncListGroups.java | 0 .../listgroups/AsyncListGroupsPaged.java | 0 .../listgroups/SyncListGroups.java | 0 .../SyncListGroupsLocationname.java | 0 .../listgroups/SyncListGroupsString.java | 0 .../AsyncListMigratingVms.java | 0 .../AsyncListMigratingVmsPaged.java | 0 .../SyncListMigratingVms.java | 0 .../SyncListMigratingVmsSourcename.java | 0 .../SyncListMigratingVmsString.java | 0 .../listsources/AsyncListSources.java | 0 .../listsources/AsyncListSourcesPaged.java | 0 .../listsources/SyncListSources.java | 0 .../SyncListSourcesLocationname.java | 0 .../listsources/SyncListSourcesString.java | 0 .../AsyncListTargetProjects.java | 0 .../AsyncListTargetProjectsPaged.java | 0 .../SyncListTargetProjects.java | 0 .../SyncListTargetProjectsLocationname.java | 0 .../SyncListTargetProjectsString.java | 0 .../AsyncListUtilizationReports.java | 0 .../AsyncListUtilizationReportsPaged.java | 0 .../SyncListUtilizationReports.java | 0 .../SyncListUtilizationReportsSourcename.java | 0 .../SyncListUtilizationReportsString.java | 0 .../pausemigration/AsyncPauseMigration.java | 0 .../AsyncPauseMigrationLRO.java | 0 .../pausemigration/SyncPauseMigration.java | 0 .../AsyncRemoveGroupMigration.java | 0 .../AsyncRemoveGroupMigrationLRO.java | 0 .../SyncRemoveGroupMigration.java | 0 .../SyncRemoveGroupMigrationGroupname.java | 0 .../SyncRemoveGroupMigrationString.java | 0 .../resumemigration/AsyncResumeMigration.java | 0 .../AsyncResumeMigrationLRO.java | 0 .../resumemigration/SyncResumeMigration.java | 0 .../startmigration/AsyncStartMigration.java | 0 .../AsyncStartMigrationLRO.java | 0 .../startmigration/SyncStartMigration.java | 0 .../SyncStartMigrationMigratingvmname.java | 0 .../SyncStartMigrationString.java | 0 .../updategroup/AsyncUpdateGroup.java | 0 .../updategroup/AsyncUpdateGroupLRO.java | 0 .../updategroup/SyncUpdateGroup.java | 0 .../SyncUpdateGroupGroupFieldmask.java | 0 .../AsyncUpdateMigratingVm.java | 0 .../AsyncUpdateMigratingVmLRO.java | 0 .../SyncUpdateMigratingVm.java | 0 ...UpdateMigratingVmMigratingvmFieldmask.java | 0 .../updatesource/AsyncUpdateSource.java | 0 .../updatesource/AsyncUpdateSourceLRO.java | 0 .../updatesource/SyncUpdateSource.java | 0 .../SyncUpdateSourceSourceFieldmask.java | 0 .../AsyncUpdateTargetProject.java | 0 .../AsyncUpdateTargetProjectLRO.java | 0 .../SyncUpdateTargetProject.java | 0 ...teTargetProjectTargetprojectFieldmask.java | 0 .../AsyncUpgradeAppliance.java | 0 .../AsyncUpgradeApplianceLRO.java | 0 .../SyncUpgradeAppliance.java | 0 .../getsource/SyncGetSource.java | 0 444 files changed, 47175 insertions(+), 28911 deletions(-) rename {owl-bot-staging/v1/google-cloud-vmmigration => google-cloud-vmmigration}/src/main/java/com/google/cloud/vmmigration/v1/VmMigrationClient.java (98%) rename {owl-bot-staging/v1/google-cloud-vmmigration => google-cloud-vmmigration}/src/main/java/com/google/cloud/vmmigration/v1/VmMigrationSettings.java (98%) rename {owl-bot-staging/v1/google-cloud-vmmigration => google-cloud-vmmigration}/src/main/java/com/google/cloud/vmmigration/v1/gapic_metadata.json (100%) rename {owl-bot-staging/v1/google-cloud-vmmigration => google-cloud-vmmigration}/src/main/java/com/google/cloud/vmmigration/v1/package-info.java (100%) rename {owl-bot-staging/v1/google-cloud-vmmigration => google-cloud-vmmigration}/src/main/java/com/google/cloud/vmmigration/v1/stub/GrpcVmMigrationCallableFactory.java (100%) rename {owl-bot-staging/v1/google-cloud-vmmigration => google-cloud-vmmigration}/src/main/java/com/google/cloud/vmmigration/v1/stub/GrpcVmMigrationStub.java (99%) rename {owl-bot-staging/v1/google-cloud-vmmigration => google-cloud-vmmigration}/src/main/java/com/google/cloud/vmmigration/v1/stub/HttpJsonVmMigrationCallableFactory.java (100%) rename {owl-bot-staging/v1/google-cloud-vmmigration => google-cloud-vmmigration}/src/main/java/com/google/cloud/vmmigration/v1/stub/HttpJsonVmMigrationStub.java (99%) rename {owl-bot-staging/v1/google-cloud-vmmigration => google-cloud-vmmigration}/src/main/java/com/google/cloud/vmmigration/v1/stub/VmMigrationStub.java (100%) rename {owl-bot-staging/v1/google-cloud-vmmigration => google-cloud-vmmigration}/src/main/java/com/google/cloud/vmmigration/v1/stub/VmMigrationStubSettings.java (98%) rename {owl-bot-staging/v1/google-cloud-vmmigration => google-cloud-vmmigration}/src/test/java/com/google/cloud/vmmigration/v1/MockVmMigration.java (100%) rename {owl-bot-staging/v1/google-cloud-vmmigration => google-cloud-vmmigration}/src/test/java/com/google/cloud/vmmigration/v1/MockVmMigrationImpl.java (100%) rename {owl-bot-staging/v1/google-cloud-vmmigration => google-cloud-vmmigration}/src/test/java/com/google/cloud/vmmigration/v1/VmMigrationClientHttpJsonTest.java (100%) rename {owl-bot-staging/v1/google-cloud-vmmigration => google-cloud-vmmigration}/src/test/java/com/google/cloud/vmmigration/v1/VmMigrationClientTest.java (100%) create mode 100644 grpc-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/VmMigrationGrpc.java delete mode 100644 owl-bot-staging/v1/grpc-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/VmMigrationGrpc.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/AddGroupMigrationRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/AddGroupMigrationResponseOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CancelCloneJobRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CancelCloneJobResponseOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CancelCutoverJobRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CancelCutoverJobResponseOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/DeleteMigratingVmRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/FetchInventoryRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/FinalizeMigrationRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/FinalizeMigrationResponseOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetCloneJobRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetCutoverJobRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetDatacenterConnectorRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetGroupRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetMigratingVmRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetSourceRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetTargetProjectRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetUtilizationReportRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/PauseMigrationRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/PauseMigrationResponseOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/RemoveGroupMigrationRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/RemoveGroupMigrationResponseOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ResumeMigrationRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ResumeMigrationResponseOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/StartMigrationRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/StartMigrationResponseOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/UpgradeApplianceResponseOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/VmMigrationProto.java rename {owl-bot-staging/v1/proto-google-cloud-vmmigration-v1 => proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/AddGroupMigrationRequest.java (66%) create mode 100644 proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/AddGroupMigrationRequestOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-vmmigration-v1 => proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/AddGroupMigrationResponse.java (65%) create mode 100644 proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/AddGroupMigrationResponseOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-vmmigration-v1 => proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/ApplianceVersion.java (71%) rename {owl-bot-staging/v1/proto-google-cloud-vmmigration-v1 => proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/ApplianceVersionOrBuilder.java (62%) rename {owl-bot-staging/v1/proto-google-cloud-vmmigration-v1 => proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/AppliedLicense.java (71%) rename {owl-bot-staging/v1/proto-google-cloud-vmmigration-v1 => proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/AppliedLicenseOrBuilder.java (61%) rename {owl-bot-staging/v1/proto-google-cloud-vmmigration-v1 => proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/AvailableUpdates.java (71%) rename {owl-bot-staging/v1/proto-google-cloud-vmmigration-v1 => proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/AvailableUpdatesOrBuilder.java (78%) rename {owl-bot-staging/v1/proto-google-cloud-vmmigration-v1 => proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/CancelCloneJobRequest.java (64%) create mode 100644 proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CancelCloneJobRequestOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-vmmigration-v1 => proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/CancelCloneJobResponse.java (65%) create mode 100644 proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CancelCloneJobResponseOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-vmmigration-v1 => proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/CancelCutoverJobRequest.java (64%) create mode 100644 proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CancelCutoverJobRequestOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-vmmigration-v1 => proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/CancelCutoverJobResponse.java (65%) create mode 100644 proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CancelCutoverJobResponseOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-vmmigration-v1 => proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/CloneJob.java (67%) rename {owl-bot-staging/v1/proto-google-cloud-vmmigration-v1 => proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/CloneJobName.java (100%) rename {owl-bot-staging/v1/proto-google-cloud-vmmigration-v1 => proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/CloneJobOrBuilder.java (68%) rename {owl-bot-staging/v1/proto-google-cloud-vmmigration-v1 => proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/ComputeEngineBootOption.java (69%) rename {owl-bot-staging/v1/proto-google-cloud-vmmigration-v1 => proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/ComputeEngineDiskType.java (71%) rename {owl-bot-staging/v1/proto-google-cloud-vmmigration-v1 => proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/ComputeEngineLicenseType.java (70%) rename {owl-bot-staging/v1/proto-google-cloud-vmmigration-v1 => proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/ComputeEngineTargetDefaults.java (69%) rename {owl-bot-staging/v1/proto-google-cloud-vmmigration-v1 => proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/ComputeEngineTargetDefaultsOrBuilder.java (76%) rename {owl-bot-staging/v1/proto-google-cloud-vmmigration-v1 => proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/ComputeEngineTargetDetails.java (70%) rename {owl-bot-staging/v1/proto-google-cloud-vmmigration-v1 => proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/ComputeEngineTargetDetailsOrBuilder.java (80%) rename {owl-bot-staging/v1/proto-google-cloud-vmmigration-v1 => proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/ComputeScheduling.java (73%) rename {owl-bot-staging/v1/proto-google-cloud-vmmigration-v1 => proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/ComputeSchedulingOrBuilder.java (81%) rename {owl-bot-staging/v1/proto-google-cloud-vmmigration-v1 => proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/CreateCloneJobRequest.java (68%) rename {owl-bot-staging/v1/proto-google-cloud-vmmigration-v1 => proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/CreateCloneJobRequestOrBuilder.java (67%) rename {owl-bot-staging/v1/proto-google-cloud-vmmigration-v1 => proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/CreateCutoverJobRequest.java (69%) rename {owl-bot-staging/v1/proto-google-cloud-vmmigration-v1 => proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/CreateCutoverJobRequestOrBuilder.java (67%) rename {owl-bot-staging/v1/proto-google-cloud-vmmigration-v1 => proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/CreateDatacenterConnectorRequest.java (68%) rename {owl-bot-staging/v1/proto-google-cloud-vmmigration-v1 => proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/CreateDatacenterConnectorRequestOrBuilder.java (69%) rename {owl-bot-staging/v1/proto-google-cloud-vmmigration-v1 => proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/CreateGroupRequest.java (71%) rename {owl-bot-staging/v1/proto-google-cloud-vmmigration-v1 => proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/CreateGroupRequestOrBuilder.java (71%) rename {owl-bot-staging/v1/proto-google-cloud-vmmigration-v1 => proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/CreateMigratingVmRequest.java (69%) rename {owl-bot-staging/v1/proto-google-cloud-vmmigration-v1 => proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/CreateMigratingVmRequestOrBuilder.java (67%) rename {owl-bot-staging/v1/proto-google-cloud-vmmigration-v1 => proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/CreateSourceRequest.java (69%) rename {owl-bot-staging/v1/proto-google-cloud-vmmigration-v1 => proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/CreateSourceRequestOrBuilder.java (71%) rename {owl-bot-staging/v1/proto-google-cloud-vmmigration-v1 => proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/CreateTargetProjectRequest.java (69%) rename {owl-bot-staging/v1/proto-google-cloud-vmmigration-v1 => proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/CreateTargetProjectRequestOrBuilder.java (67%) rename {owl-bot-staging/v1/proto-google-cloud-vmmigration-v1 => proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/CreateUtilizationReportRequest.java (69%) rename {owl-bot-staging/v1/proto-google-cloud-vmmigration-v1 => proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/CreateUtilizationReportRequestOrBuilder.java (70%) rename {owl-bot-staging/v1/proto-google-cloud-vmmigration-v1 => proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/CutoverJob.java (69%) rename {owl-bot-staging/v1/proto-google-cloud-vmmigration-v1 => proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/CutoverJobName.java (100%) rename {owl-bot-staging/v1/proto-google-cloud-vmmigration-v1 => proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/CutoverJobOrBuilder.java (71%) rename {owl-bot-staging/v1/proto-google-cloud-vmmigration-v1 => proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/DatacenterConnector.java (68%) rename {owl-bot-staging/v1/proto-google-cloud-vmmigration-v1 => proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/DatacenterConnectorName.java (100%) rename {owl-bot-staging/v1/proto-google-cloud-vmmigration-v1 => proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/DatacenterConnectorOrBuilder.java (72%) rename {owl-bot-staging/v1/proto-google-cloud-vmmigration-v1 => proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/DeleteDatacenterConnectorRequest.java (69%) rename {owl-bot-staging/v1/proto-google-cloud-vmmigration-v1 => proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/DeleteDatacenterConnectorRequestOrBuilder.java (68%) rename {owl-bot-staging/v1/proto-google-cloud-vmmigration-v1 => proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/DeleteGroupRequest.java (72%) rename {owl-bot-staging/v1/proto-google-cloud-vmmigration-v1 => proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/DeleteGroupRequestOrBuilder.java (69%) rename {owl-bot-staging/v1/proto-google-cloud-vmmigration-v1 => proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/DeleteMigratingVmRequest.java (64%) create mode 100644 proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/DeleteMigratingVmRequestOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-vmmigration-v1 => proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/DeleteSourceRequest.java (72%) rename {owl-bot-staging/v1/proto-google-cloud-vmmigration-v1 => proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/DeleteSourceRequestOrBuilder.java (69%) rename {owl-bot-staging/v1/proto-google-cloud-vmmigration-v1 => proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/DeleteTargetProjectRequest.java (72%) rename {owl-bot-staging/v1/proto-google-cloud-vmmigration-v1 => proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/DeleteTargetProjectRequestOrBuilder.java (69%) rename {owl-bot-staging/v1/proto-google-cloud-vmmigration-v1 => proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/DeleteUtilizationReportRequest.java (70%) rename {owl-bot-staging/v1/proto-google-cloud-vmmigration-v1 => proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/DeleteUtilizationReportRequestOrBuilder.java (69%) rename {owl-bot-staging/v1/proto-google-cloud-vmmigration-v1 => proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/FetchInventoryRequest.java (66%) create mode 100644 proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/FetchInventoryRequestOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-vmmigration-v1 => proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/FetchInventoryResponse.java (68%) rename {owl-bot-staging/v1/proto-google-cloud-vmmigration-v1 => proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/FetchInventoryResponseOrBuilder.java (69%) rename {owl-bot-staging/v1/proto-google-cloud-vmmigration-v1 => proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/FinalizeMigrationRequest.java (64%) create mode 100644 proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/FinalizeMigrationRequestOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-vmmigration-v1 => proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/FinalizeMigrationResponse.java (65%) create mode 100644 proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/FinalizeMigrationResponseOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-vmmigration-v1 => proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/GetCloneJobRequest.java (64%) create mode 100644 proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetCloneJobRequestOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-vmmigration-v1 => proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/GetCutoverJobRequest.java (64%) create mode 100644 proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetCutoverJobRequestOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-vmmigration-v1 => proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/GetDatacenterConnectorRequest.java (63%) create mode 100644 proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetDatacenterConnectorRequestOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-vmmigration-v1 => proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/GetGroupRequest.java (65%) create mode 100644 proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetGroupRequestOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-vmmigration-v1 => proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/GetMigratingVmRequest.java (62%) create mode 100644 proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetMigratingVmRequestOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-vmmigration-v1 => proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/GetSourceRequest.java (64%) create mode 100644 proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetSourceRequestOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-vmmigration-v1 => proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/GetTargetProjectRequest.java (64%) create mode 100644 proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetTargetProjectRequestOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-vmmigration-v1 => proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/GetUtilizationReportRequest.java (62%) create mode 100644 proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetUtilizationReportRequestOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-vmmigration-v1 => proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/Group.java (67%) rename {owl-bot-staging/v1/proto-google-cloud-vmmigration-v1 => proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/GroupName.java (100%) rename {owl-bot-staging/v1/proto-google-cloud-vmmigration-v1 => proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/GroupOrBuilder.java (69%) rename {owl-bot-staging/v1/proto-google-cloud-vmmigration-v1 => proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/ListCloneJobsRequest.java (71%) rename {owl-bot-staging/v1/proto-google-cloud-vmmigration-v1 => proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/ListCloneJobsRequestOrBuilder.java (68%) rename {owl-bot-staging/v1/proto-google-cloud-vmmigration-v1 => proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/ListCloneJobsResponse.java (68%) rename {owl-bot-staging/v1/proto-google-cloud-vmmigration-v1 => proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/ListCloneJobsResponseOrBuilder.java (61%) rename {owl-bot-staging/v1/proto-google-cloud-vmmigration-v1 => proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/ListCutoverJobsRequest.java (71%) rename {owl-bot-staging/v1/proto-google-cloud-vmmigration-v1 => proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/ListCutoverJobsRequestOrBuilder.java (68%) rename {owl-bot-staging/v1/proto-google-cloud-vmmigration-v1 => proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/ListCutoverJobsResponse.java (68%) rename {owl-bot-staging/v1/proto-google-cloud-vmmigration-v1 => proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/ListCutoverJobsResponseOrBuilder.java (61%) rename {owl-bot-staging/v1/proto-google-cloud-vmmigration-v1 => proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/ListDatacenterConnectorsRequest.java (70%) rename {owl-bot-staging/v1/proto-google-cloud-vmmigration-v1 => proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/ListDatacenterConnectorsRequestOrBuilder.java (68%) rename {owl-bot-staging/v1/proto-google-cloud-vmmigration-v1 => proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/ListDatacenterConnectorsResponse.java (66%) rename {owl-bot-staging/v1/proto-google-cloud-vmmigration-v1 => proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/ListDatacenterConnectorsResponseOrBuilder.java (61%) rename {owl-bot-staging/v1/proto-google-cloud-vmmigration-v1 => proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/ListGroupsRequest.java (71%) rename {owl-bot-staging/v1/proto-google-cloud-vmmigration-v1 => proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/ListGroupsRequestOrBuilder.java (68%) rename {owl-bot-staging/v1/proto-google-cloud-vmmigration-v1 => proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/ListGroupsResponse.java (68%) rename {owl-bot-staging/v1/proto-google-cloud-vmmigration-v1 => proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/ListGroupsResponseOrBuilder.java (61%) rename {owl-bot-staging/v1/proto-google-cloud-vmmigration-v1 => proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/ListMigratingVmsRequest.java (69%) rename {owl-bot-staging/v1/proto-google-cloud-vmmigration-v1 => proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/ListMigratingVmsRequestOrBuilder.java (66%) rename {owl-bot-staging/v1/proto-google-cloud-vmmigration-v1 => proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/ListMigratingVmsResponse.java (68%) rename {owl-bot-staging/v1/proto-google-cloud-vmmigration-v1 => proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/ListMigratingVmsResponseOrBuilder.java (61%) rename {owl-bot-staging/v1/proto-google-cloud-vmmigration-v1 => proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/ListSourcesRequest.java (71%) rename {owl-bot-staging/v1/proto-google-cloud-vmmigration-v1 => proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/ListSourcesRequestOrBuilder.java (68%) rename {owl-bot-staging/v1/proto-google-cloud-vmmigration-v1 => proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/ListSourcesResponse.java (68%) rename {owl-bot-staging/v1/proto-google-cloud-vmmigration-v1 => proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/ListSourcesResponseOrBuilder.java (61%) rename {owl-bot-staging/v1/proto-google-cloud-vmmigration-v1 => proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/ListTargetProjectsRequest.java (71%) rename {owl-bot-staging/v1/proto-google-cloud-vmmigration-v1 => proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/ListTargetProjectsRequestOrBuilder.java (68%) rename {owl-bot-staging/v1/proto-google-cloud-vmmigration-v1 => proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/ListTargetProjectsResponse.java (69%) rename {owl-bot-staging/v1/proto-google-cloud-vmmigration-v1 => proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/ListTargetProjectsResponseOrBuilder.java (61%) rename {owl-bot-staging/v1/proto-google-cloud-vmmigration-v1 => proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/ListUtilizationReportsRequest.java (69%) rename {owl-bot-staging/v1/proto-google-cloud-vmmigration-v1 => proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/ListUtilizationReportsRequestOrBuilder.java (66%) rename {owl-bot-staging/v1/proto-google-cloud-vmmigration-v1 => proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/ListUtilizationReportsResponse.java (67%) rename {owl-bot-staging/v1/proto-google-cloud-vmmigration-v1 => proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/ListUtilizationReportsResponseOrBuilder.java (61%) rename {owl-bot-staging/v1/proto-google-cloud-vmmigration-v1 => proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/LocationName.java (100%) rename {owl-bot-staging/v1/proto-google-cloud-vmmigration-v1 => proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/MigratingVm.java (68%) rename {owl-bot-staging/v1/proto-google-cloud-vmmigration-v1 => proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/MigratingVmName.java (100%) rename {owl-bot-staging/v1/proto-google-cloud-vmmigration-v1 => proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/MigratingVmOrBuilder.java (70%) rename {owl-bot-staging/v1/proto-google-cloud-vmmigration-v1 => proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/MigratingVmView.java (68%) rename {owl-bot-staging/v1/proto-google-cloud-vmmigration-v1 => proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/MigrationError.java (65%) rename {owl-bot-staging/v1/proto-google-cloud-vmmigration-v1 => proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/MigrationErrorOrBuilder.java (51%) rename {owl-bot-staging/v1/proto-google-cloud-vmmigration-v1 => proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/NetworkInterface.java (71%) rename {owl-bot-staging/v1/proto-google-cloud-vmmigration-v1 => proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/NetworkInterfaceOrBuilder.java (65%) rename {owl-bot-staging/v1/proto-google-cloud-vmmigration-v1 => proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/OperationMetadata.java (71%) rename {owl-bot-staging/v1/proto-google-cloud-vmmigration-v1 => proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/OperationMetadataOrBuilder.java (75%) rename {owl-bot-staging/v1/proto-google-cloud-vmmigration-v1 => proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/PauseMigrationRequest.java (64%) create mode 100644 proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/PauseMigrationRequestOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-vmmigration-v1 => proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/PauseMigrationResponse.java (65%) create mode 100644 proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/PauseMigrationResponseOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-vmmigration-v1 => proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/RemoveGroupMigrationRequest.java (66%) create mode 100644 proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/RemoveGroupMigrationRequestOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-vmmigration-v1 => proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/RemoveGroupMigrationResponse.java (64%) create mode 100644 proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/RemoveGroupMigrationResponseOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-vmmigration-v1 => proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/ReplicationCycle.java (70%) rename {owl-bot-staging/v1/proto-google-cloud-vmmigration-v1 => proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/ReplicationCycleOrBuilder.java (62%) rename {owl-bot-staging/v1/proto-google-cloud-vmmigration-v1 => proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/ReplicationSync.java (69%) rename {owl-bot-staging/v1/proto-google-cloud-vmmigration-v1 => proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/ReplicationSyncOrBuilder.java (61%) rename {owl-bot-staging/v1/proto-google-cloud-vmmigration-v1 => proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/ResumeMigrationRequest.java (64%) create mode 100644 proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ResumeMigrationRequestOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-vmmigration-v1 => proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/ResumeMigrationResponse.java (65%) create mode 100644 proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ResumeMigrationResponseOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-vmmigration-v1 => proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/SchedulePolicy.java (70%) rename {owl-bot-staging/v1/proto-google-cloud-vmmigration-v1 => proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/SchedulePolicyOrBuilder.java (66%) rename {owl-bot-staging/v1/proto-google-cloud-vmmigration-v1 => proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/SchedulingNodeAffinity.java (71%) rename {owl-bot-staging/v1/proto-google-cloud-vmmigration-v1 => proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/SchedulingNodeAffinityOrBuilder.java (70%) rename {owl-bot-staging/v1/proto-google-cloud-vmmigration-v1 => proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/Source.java (65%) rename {owl-bot-staging/v1/proto-google-cloud-vmmigration-v1 => proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/SourceName.java (100%) rename {owl-bot-staging/v1/proto-google-cloud-vmmigration-v1 => proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/SourceOrBuilder.java (70%) rename {owl-bot-staging/v1/proto-google-cloud-vmmigration-v1 => proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/StartMigrationRequest.java (64%) create mode 100644 proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/StartMigrationRequestOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-vmmigration-v1 => proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/StartMigrationResponse.java (65%) create mode 100644 proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/StartMigrationResponseOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-vmmigration-v1 => proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/TargetProject.java (68%) rename {owl-bot-staging/v1/proto-google-cloud-vmmigration-v1 => proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/TargetProjectName.java (100%) rename {owl-bot-staging/v1/proto-google-cloud-vmmigration-v1 => proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/TargetProjectOrBuilder.java (71%) rename {owl-bot-staging/v1/proto-google-cloud-vmmigration-v1 => proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/UpdateGroupRequest.java (75%) rename {owl-bot-staging/v1/proto-google-cloud-vmmigration-v1 => proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/UpdateGroupRequestOrBuilder.java (81%) rename {owl-bot-staging/v1/proto-google-cloud-vmmigration-v1 => proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/UpdateMigratingVmRequest.java (72%) rename {owl-bot-staging/v1/proto-google-cloud-vmmigration-v1 => proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/UpdateMigratingVmRequestOrBuilder.java (77%) rename {owl-bot-staging/v1/proto-google-cloud-vmmigration-v1 => proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/UpdateSourceRequest.java (73%) rename {owl-bot-staging/v1/proto-google-cloud-vmmigration-v1 => proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/UpdateSourceRequestOrBuilder.java (81%) rename {owl-bot-staging/v1/proto-google-cloud-vmmigration-v1 => proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/UpdateTargetProjectRequest.java (72%) rename {owl-bot-staging/v1/proto-google-cloud-vmmigration-v1 => proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/UpdateTargetProjectRequestOrBuilder.java (77%) rename {owl-bot-staging/v1/proto-google-cloud-vmmigration-v1 => proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/UpgradeApplianceRequest.java (71%) rename {owl-bot-staging/v1/proto-google-cloud-vmmigration-v1 => proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/UpgradeApplianceRequestOrBuilder.java (68%) rename {owl-bot-staging/v1/proto-google-cloud-vmmigration-v1 => proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/UpgradeApplianceResponse.java (65%) create mode 100644 proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/UpgradeApplianceResponseOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-vmmigration-v1 => proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/UpgradeStatus.java (73%) rename {owl-bot-staging/v1/proto-google-cloud-vmmigration-v1 => proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/UpgradeStatusOrBuilder.java (75%) rename {owl-bot-staging/v1/proto-google-cloud-vmmigration-v1 => proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/UtilizationReport.java (72%) rename {owl-bot-staging/v1/proto-google-cloud-vmmigration-v1 => proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/UtilizationReportName.java (100%) rename {owl-bot-staging/v1/proto-google-cloud-vmmigration-v1 => proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/UtilizationReportOrBuilder.java (78%) rename {owl-bot-staging/v1/proto-google-cloud-vmmigration-v1 => proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/UtilizationReportView.java (71%) create mode 100644 proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/VmMigrationProto.java rename {owl-bot-staging/v1/proto-google-cloud-vmmigration-v1 => proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/VmUtilizationInfo.java (71%) rename {owl-bot-staging/v1/proto-google-cloud-vmmigration-v1 => proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/VmUtilizationInfoOrBuilder.java (73%) rename {owl-bot-staging/v1/proto-google-cloud-vmmigration-v1 => proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/VmUtilizationMetrics.java (73%) rename {owl-bot-staging/v1/proto-google-cloud-vmmigration-v1 => proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/VmUtilizationMetricsOrBuilder.java (72%) rename {owl-bot-staging/v1/proto-google-cloud-vmmigration-v1 => proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/VmwareSourceDetails.java (71%) rename {owl-bot-staging/v1/proto-google-cloud-vmmigration-v1 => proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/VmwareSourceDetailsOrBuilder.java (66%) rename {owl-bot-staging/v1/proto-google-cloud-vmmigration-v1 => proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/VmwareVmDetails.java (73%) rename {owl-bot-staging/v1/proto-google-cloud-vmmigration-v1 => proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/VmwareVmDetailsOrBuilder.java (75%) rename {owl-bot-staging/v1/proto-google-cloud-vmmigration-v1 => proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/VmwareVmsDetails.java (72%) rename {owl-bot-staging/v1/proto-google-cloud-vmmigration-v1 => proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/VmwareVmsDetailsOrBuilder.java (65%) rename {owl-bot-staging/v1/proto-google-cloud-vmmigration-v1 => proto-google-cloud-vmmigration-v1}/src/main/proto/google/cloud/vmmigration/v1/vmmigration.proto (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/vmmigration/v1/stub/vmmigrationstubsettings/getsource/SyncGetSource.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/addgroupmigration/AsyncAddGroupMigration.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/addgroupmigration/AsyncAddGroupMigrationLRO.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/addgroupmigration/SyncAddGroupMigration.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/addgroupmigration/SyncAddGroupMigrationGroupname.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/addgroupmigration/SyncAddGroupMigrationString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/cancelclonejob/AsyncCancelCloneJob.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/cancelclonejob/AsyncCancelCloneJobLRO.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/cancelclonejob/SyncCancelCloneJob.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/cancelclonejob/SyncCancelCloneJobClonejobname.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/cancelclonejob/SyncCancelCloneJobString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/cancelcutoverjob/AsyncCancelCutoverJob.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/cancelcutoverjob/AsyncCancelCutoverJobLRO.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/cancelcutoverjob/SyncCancelCutoverJob.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/cancelcutoverjob/SyncCancelCutoverJobCutoverjobname.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/cancelcutoverjob/SyncCancelCutoverJobString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/create/SyncCreateSetCredentialsProvider.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/create/SyncCreateSetCredentialsProvider1.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/create/SyncCreateSetEndpoint.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createclonejob/AsyncCreateCloneJob.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createclonejob/AsyncCreateCloneJobLRO.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createclonejob/SyncCreateCloneJob.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createclonejob/SyncCreateCloneJobMigratingvmnameClonejobString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createclonejob/SyncCreateCloneJobStringClonejobString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createcutoverjob/AsyncCreateCutoverJob.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createcutoverjob/AsyncCreateCutoverJobLRO.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createcutoverjob/SyncCreateCutoverJob.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createcutoverjob/SyncCreateCutoverJobMigratingvmnameCutoverjobString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createcutoverjob/SyncCreateCutoverJobStringCutoverjobString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createdatacenterconnector/AsyncCreateDatacenterConnector.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createdatacenterconnector/AsyncCreateDatacenterConnectorLRO.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createdatacenterconnector/SyncCreateDatacenterConnector.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createdatacenterconnector/SyncCreateDatacenterConnectorSourcenameDatacenterconnectorString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createdatacenterconnector/SyncCreateDatacenterConnectorStringDatacenterconnectorString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/creategroup/AsyncCreateGroup.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/creategroup/AsyncCreateGroupLRO.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/creategroup/SyncCreateGroup.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/creategroup/SyncCreateGroupLocationnameGroupString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/creategroup/SyncCreateGroupStringGroupString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createmigratingvm/AsyncCreateMigratingVm.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createmigratingvm/AsyncCreateMigratingVmLRO.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createmigratingvm/SyncCreateMigratingVm.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createmigratingvm/SyncCreateMigratingVmSourcenameMigratingvmString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createmigratingvm/SyncCreateMigratingVmStringMigratingvmString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createsource/AsyncCreateSource.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createsource/AsyncCreateSourceLRO.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createsource/SyncCreateSource.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createsource/SyncCreateSourceLocationnameSourceString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createsource/SyncCreateSourceStringSourceString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createtargetproject/AsyncCreateTargetProject.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createtargetproject/AsyncCreateTargetProjectLRO.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createtargetproject/SyncCreateTargetProject.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createtargetproject/SyncCreateTargetProjectLocationnameTargetprojectString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createtargetproject/SyncCreateTargetProjectStringTargetprojectString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createutilizationreport/AsyncCreateUtilizationReport.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createutilizationreport/AsyncCreateUtilizationReportLRO.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createutilizationreport/SyncCreateUtilizationReport.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createutilizationreport/SyncCreateUtilizationReportSourcenameUtilizationreportString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createutilizationreport/SyncCreateUtilizationReportStringUtilizationreportString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletedatacenterconnector/AsyncDeleteDatacenterConnector.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletedatacenterconnector/AsyncDeleteDatacenterConnectorLRO.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletedatacenterconnector/SyncDeleteDatacenterConnector.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletedatacenterconnector/SyncDeleteDatacenterConnectorDatacenterconnectorname.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletedatacenterconnector/SyncDeleteDatacenterConnectorString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletegroup/AsyncDeleteGroup.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletegroup/AsyncDeleteGroupLRO.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletegroup/SyncDeleteGroup.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletegroup/SyncDeleteGroupGroupname.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletegroup/SyncDeleteGroupString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletemigratingvm/AsyncDeleteMigratingVm.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletemigratingvm/AsyncDeleteMigratingVmLRO.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletemigratingvm/SyncDeleteMigratingVm.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletemigratingvm/SyncDeleteMigratingVmMigratingvmname.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletemigratingvm/SyncDeleteMigratingVmString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletesource/AsyncDeleteSource.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletesource/AsyncDeleteSourceLRO.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletesource/SyncDeleteSource.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletesource/SyncDeleteSourceSourcename.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletesource/SyncDeleteSourceString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletetargetproject/AsyncDeleteTargetProject.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletetargetproject/AsyncDeleteTargetProjectLRO.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletetargetproject/SyncDeleteTargetProject.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletetargetproject/SyncDeleteTargetProjectString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletetargetproject/SyncDeleteTargetProjectTargetprojectname.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deleteutilizationreport/AsyncDeleteUtilizationReport.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deleteutilizationreport/AsyncDeleteUtilizationReportLRO.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deleteutilizationreport/SyncDeleteUtilizationReport.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deleteutilizationreport/SyncDeleteUtilizationReportString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deleteutilizationreport/SyncDeleteUtilizationReportUtilizationreportname.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/fetchinventory/AsyncFetchInventory.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/fetchinventory/SyncFetchInventory.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/fetchinventory/SyncFetchInventorySourcename.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/fetchinventory/SyncFetchInventoryString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/finalizemigration/AsyncFinalizeMigration.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/finalizemigration/AsyncFinalizeMigrationLRO.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/finalizemigration/SyncFinalizeMigration.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/finalizemigration/SyncFinalizeMigrationMigratingvmname.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/finalizemigration/SyncFinalizeMigrationString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getclonejob/AsyncGetCloneJob.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getclonejob/SyncGetCloneJob.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getclonejob/SyncGetCloneJobClonejobname.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getclonejob/SyncGetCloneJobString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getcutoverjob/AsyncGetCutoverJob.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getcutoverjob/SyncGetCutoverJob.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getcutoverjob/SyncGetCutoverJobCutoverjobname.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getcutoverjob/SyncGetCutoverJobString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getdatacenterconnector/AsyncGetDatacenterConnector.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getdatacenterconnector/SyncGetDatacenterConnector.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getdatacenterconnector/SyncGetDatacenterConnectorDatacenterconnectorname.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getdatacenterconnector/SyncGetDatacenterConnectorString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getgroup/AsyncGetGroup.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getgroup/SyncGetGroup.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getgroup/SyncGetGroupGroupname.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getgroup/SyncGetGroupString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getmigratingvm/AsyncGetMigratingVm.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getmigratingvm/SyncGetMigratingVm.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getmigratingvm/SyncGetMigratingVmMigratingvmname.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getmigratingvm/SyncGetMigratingVmString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getsource/AsyncGetSource.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getsource/SyncGetSource.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getsource/SyncGetSourceSourcename.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getsource/SyncGetSourceString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/gettargetproject/AsyncGetTargetProject.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/gettargetproject/SyncGetTargetProject.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/gettargetproject/SyncGetTargetProjectString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/gettargetproject/SyncGetTargetProjectTargetprojectname.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getutilizationreport/AsyncGetUtilizationReport.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getutilizationreport/SyncGetUtilizationReport.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getutilizationreport/SyncGetUtilizationReportString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getutilizationreport/SyncGetUtilizationReportUtilizationreportname.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listclonejobs/AsyncListCloneJobs.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listclonejobs/AsyncListCloneJobsPaged.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listclonejobs/SyncListCloneJobs.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listclonejobs/SyncListCloneJobsMigratingvmname.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listclonejobs/SyncListCloneJobsString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listcutoverjobs/AsyncListCutoverJobs.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listcutoverjobs/AsyncListCutoverJobsPaged.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listcutoverjobs/SyncListCutoverJobs.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listcutoverjobs/SyncListCutoverJobsMigratingvmname.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listcutoverjobs/SyncListCutoverJobsString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listdatacenterconnectors/AsyncListDatacenterConnectors.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listdatacenterconnectors/AsyncListDatacenterConnectorsPaged.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listdatacenterconnectors/SyncListDatacenterConnectors.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listdatacenterconnectors/SyncListDatacenterConnectorsSourcename.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listdatacenterconnectors/SyncListDatacenterConnectorsString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listgroups/AsyncListGroups.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listgroups/AsyncListGroupsPaged.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listgroups/SyncListGroups.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listgroups/SyncListGroupsLocationname.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listgroups/SyncListGroupsString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listmigratingvms/AsyncListMigratingVms.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listmigratingvms/AsyncListMigratingVmsPaged.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listmigratingvms/SyncListMigratingVms.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listmigratingvms/SyncListMigratingVmsSourcename.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listmigratingvms/SyncListMigratingVmsString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listsources/AsyncListSources.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listsources/AsyncListSourcesPaged.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listsources/SyncListSources.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listsources/SyncListSourcesLocationname.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listsources/SyncListSourcesString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listtargetprojects/AsyncListTargetProjects.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listtargetprojects/AsyncListTargetProjectsPaged.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listtargetprojects/SyncListTargetProjects.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listtargetprojects/SyncListTargetProjectsLocationname.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listtargetprojects/SyncListTargetProjectsString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listutilizationreports/AsyncListUtilizationReports.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listutilizationreports/AsyncListUtilizationReportsPaged.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listutilizationreports/SyncListUtilizationReports.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listutilizationreports/SyncListUtilizationReportsSourcename.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listutilizationreports/SyncListUtilizationReportsString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/pausemigration/AsyncPauseMigration.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/pausemigration/AsyncPauseMigrationLRO.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/pausemigration/SyncPauseMigration.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/removegroupmigration/AsyncRemoveGroupMigration.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/removegroupmigration/AsyncRemoveGroupMigrationLRO.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/removegroupmigration/SyncRemoveGroupMigration.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/removegroupmigration/SyncRemoveGroupMigrationGroupname.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/removegroupmigration/SyncRemoveGroupMigrationString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/resumemigration/AsyncResumeMigration.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/resumemigration/AsyncResumeMigrationLRO.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/resumemigration/SyncResumeMigration.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/startmigration/AsyncStartMigration.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/startmigration/AsyncStartMigrationLRO.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/startmigration/SyncStartMigration.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/startmigration/SyncStartMigrationMigratingvmname.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/startmigration/SyncStartMigrationString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/updategroup/AsyncUpdateGroup.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/updategroup/AsyncUpdateGroupLRO.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/updategroup/SyncUpdateGroup.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/updategroup/SyncUpdateGroupGroupFieldmask.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/updatemigratingvm/AsyncUpdateMigratingVm.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/updatemigratingvm/AsyncUpdateMigratingVmLRO.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/updatemigratingvm/SyncUpdateMigratingVm.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/updatemigratingvm/SyncUpdateMigratingVmMigratingvmFieldmask.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/updatesource/AsyncUpdateSource.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/updatesource/AsyncUpdateSourceLRO.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/updatesource/SyncUpdateSource.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/updatesource/SyncUpdateSourceSourceFieldmask.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/updatetargetproject/AsyncUpdateTargetProject.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/updatetargetproject/AsyncUpdateTargetProjectLRO.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/updatetargetproject/SyncUpdateTargetProject.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/updatetargetproject/SyncUpdateTargetProjectTargetprojectFieldmask.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/upgradeappliance/AsyncUpgradeAppliance.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/upgradeappliance/AsyncUpgradeApplianceLRO.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/upgradeappliance/SyncUpgradeAppliance.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationsettings/getsource/SyncGetSource.java (100%) diff --git a/owl-bot-staging/v1/google-cloud-vmmigration/src/main/java/com/google/cloud/vmmigration/v1/VmMigrationClient.java b/google-cloud-vmmigration/src/main/java/com/google/cloud/vmmigration/v1/VmMigrationClient.java similarity index 98% rename from owl-bot-staging/v1/google-cloud-vmmigration/src/main/java/com/google/cloud/vmmigration/v1/VmMigrationClient.java rename to google-cloud-vmmigration/src/main/java/com/google/cloud/vmmigration/v1/VmMigrationClient.java index f056688..144570d 100644 --- a/owl-bot-staging/v1/google-cloud-vmmigration/src/main/java/com/google/cloud/vmmigration/v1/VmMigrationClient.java +++ b/google-cloud-vmmigration/src/main/java/com/google/cloud/vmmigration/v1/VmMigrationClient.java @@ -62,13 +62,13 @@ * methods: * *
    - *
  1. A "flattened" method. With this type of method, the fields of the request type have been + *
  2. A "flattened" method. With this type of method, the fields of the request type have been * converted into function parameters. It may be the case that not all fields are available as * parameters, and not every API method will have a flattened method entry point. - *
  3. A "request object" method. This type of method only takes one parameter, a request object, + *
  4. A "request object" method. This type of method only takes one parameter, a request object, * which must be constructed before the call. Not every API method will have a request object * method. - *
  5. A "callable" method. This type of method takes no parameters and returns an immutable API + *
  6. A "callable" method. This type of method takes no parameters and returns an immutable API * callable object, which can be used to initiate calls to the service. *
* @@ -6157,7 +6157,10 @@ public boolean awaitTermination(long duration, TimeUnit unit) throws Interrupted public static class ListSourcesPagedResponse extends AbstractPagedListResponse< - ListSourcesRequest, ListSourcesResponse, Source, ListSourcesPage, + ListSourcesRequest, + ListSourcesResponse, + Source, + ListSourcesPage, ListSourcesFixedSizeCollection> { public static ApiFuture createAsync( @@ -6204,7 +6207,10 @@ public ApiFuture createPageAsync( public static class ListSourcesFixedSizeCollection extends AbstractFixedSizeCollection< - ListSourcesRequest, ListSourcesResponse, Source, ListSourcesPage, + ListSourcesRequest, + ListSourcesResponse, + Source, + ListSourcesPage, ListSourcesFixedSizeCollection> { private ListSourcesFixedSizeCollection(List pages, int collectionSize) { @@ -6224,8 +6230,11 @@ protected ListSourcesFixedSizeCollection createCollection( public static class ListUtilizationReportsPagedResponse extends AbstractPagedListResponse< - ListUtilizationReportsRequest, ListUtilizationReportsResponse, UtilizationReport, - ListUtilizationReportsPage, ListUtilizationReportsFixedSizeCollection> { + ListUtilizationReportsRequest, + ListUtilizationReportsResponse, + UtilizationReport, + ListUtilizationReportsPage, + ListUtilizationReportsFixedSizeCollection> { public static ApiFuture createAsync( PageContext< @@ -6247,7 +6256,9 @@ private ListUtilizationReportsPagedResponse(ListUtilizationReportsPage page) { public static class ListUtilizationReportsPage extends AbstractPage< - ListUtilizationReportsRequest, ListUtilizationReportsResponse, UtilizationReport, + ListUtilizationReportsRequest, + ListUtilizationReportsResponse, + UtilizationReport, ListUtilizationReportsPage> { private ListUtilizationReportsPage( @@ -6283,8 +6294,11 @@ public ApiFuture createPageAsync( public static class ListUtilizationReportsFixedSizeCollection extends AbstractFixedSizeCollection< - ListUtilizationReportsRequest, ListUtilizationReportsResponse, UtilizationReport, - ListUtilizationReportsPage, ListUtilizationReportsFixedSizeCollection> { + ListUtilizationReportsRequest, + ListUtilizationReportsResponse, + UtilizationReport, + ListUtilizationReportsPage, + ListUtilizationReportsFixedSizeCollection> { private ListUtilizationReportsFixedSizeCollection( List pages, int collectionSize) { @@ -6304,12 +6318,16 @@ protected ListUtilizationReportsFixedSizeCollection createCollection( public static class ListDatacenterConnectorsPagedResponse extends AbstractPagedListResponse< - ListDatacenterConnectorsRequest, ListDatacenterConnectorsResponse, DatacenterConnector, - ListDatacenterConnectorsPage, ListDatacenterConnectorsFixedSizeCollection> { + ListDatacenterConnectorsRequest, + ListDatacenterConnectorsResponse, + DatacenterConnector, + ListDatacenterConnectorsPage, + ListDatacenterConnectorsFixedSizeCollection> { public static ApiFuture createAsync( PageContext< - ListDatacenterConnectorsRequest, ListDatacenterConnectorsResponse, + ListDatacenterConnectorsRequest, + ListDatacenterConnectorsResponse, DatacenterConnector> context, ApiFuture futureResponse) { @@ -6328,12 +6346,15 @@ private ListDatacenterConnectorsPagedResponse(ListDatacenterConnectorsPage page) public static class ListDatacenterConnectorsPage extends AbstractPage< - ListDatacenterConnectorsRequest, ListDatacenterConnectorsResponse, DatacenterConnector, + ListDatacenterConnectorsRequest, + ListDatacenterConnectorsResponse, + DatacenterConnector, ListDatacenterConnectorsPage> { private ListDatacenterConnectorsPage( PageContext< - ListDatacenterConnectorsRequest, ListDatacenterConnectorsResponse, + ListDatacenterConnectorsRequest, + ListDatacenterConnectorsResponse, DatacenterConnector> context, ListDatacenterConnectorsResponse response) { @@ -6347,7 +6368,8 @@ private static ListDatacenterConnectorsPage createEmptyPage() { @Override protected ListDatacenterConnectorsPage createPage( PageContext< - ListDatacenterConnectorsRequest, ListDatacenterConnectorsResponse, + ListDatacenterConnectorsRequest, + ListDatacenterConnectorsResponse, DatacenterConnector> context, ListDatacenterConnectorsResponse response) { @@ -6357,7 +6379,8 @@ protected ListDatacenterConnectorsPage createPage( @Override public ApiFuture createPageAsync( PageContext< - ListDatacenterConnectorsRequest, ListDatacenterConnectorsResponse, + ListDatacenterConnectorsRequest, + ListDatacenterConnectorsResponse, DatacenterConnector> context, ApiFuture futureResponse) { @@ -6367,8 +6390,11 @@ public ApiFuture createPageAsync( public static class ListDatacenterConnectorsFixedSizeCollection extends AbstractFixedSizeCollection< - ListDatacenterConnectorsRequest, ListDatacenterConnectorsResponse, DatacenterConnector, - ListDatacenterConnectorsPage, ListDatacenterConnectorsFixedSizeCollection> { + ListDatacenterConnectorsRequest, + ListDatacenterConnectorsResponse, + DatacenterConnector, + ListDatacenterConnectorsPage, + ListDatacenterConnectorsFixedSizeCollection> { private ListDatacenterConnectorsFixedSizeCollection( List pages, int collectionSize) { @@ -6388,7 +6414,10 @@ protected ListDatacenterConnectorsFixedSizeCollection createCollection( public static class ListMigratingVmsPagedResponse extends AbstractPagedListResponse< - ListMigratingVmsRequest, ListMigratingVmsResponse, MigratingVm, ListMigratingVmsPage, + ListMigratingVmsRequest, + ListMigratingVmsResponse, + MigratingVm, + ListMigratingVmsPage, ListMigratingVmsFixedSizeCollection> { public static ApiFuture createAsync( @@ -6438,7 +6467,10 @@ public ApiFuture createPageAsync( public static class ListMigratingVmsFixedSizeCollection extends AbstractFixedSizeCollection< - ListMigratingVmsRequest, ListMigratingVmsResponse, MigratingVm, ListMigratingVmsPage, + ListMigratingVmsRequest, + ListMigratingVmsResponse, + MigratingVm, + ListMigratingVmsPage, ListMigratingVmsFixedSizeCollection> { private ListMigratingVmsFixedSizeCollection( @@ -6459,7 +6491,10 @@ protected ListMigratingVmsFixedSizeCollection createCollection( public static class ListCloneJobsPagedResponse extends AbstractPagedListResponse< - ListCloneJobsRequest, ListCloneJobsResponse, CloneJob, ListCloneJobsPage, + ListCloneJobsRequest, + ListCloneJobsResponse, + CloneJob, + ListCloneJobsPage, ListCloneJobsFixedSizeCollection> { public static ApiFuture createAsync( @@ -6509,7 +6544,10 @@ public ApiFuture createPageAsync( public static class ListCloneJobsFixedSizeCollection extends AbstractFixedSizeCollection< - ListCloneJobsRequest, ListCloneJobsResponse, CloneJob, ListCloneJobsPage, + ListCloneJobsRequest, + ListCloneJobsResponse, + CloneJob, + ListCloneJobsPage, ListCloneJobsFixedSizeCollection> { private ListCloneJobsFixedSizeCollection(List pages, int collectionSize) { @@ -6529,7 +6567,10 @@ protected ListCloneJobsFixedSizeCollection createCollection( public static class ListCutoverJobsPagedResponse extends AbstractPagedListResponse< - ListCutoverJobsRequest, ListCutoverJobsResponse, CutoverJob, ListCutoverJobsPage, + ListCutoverJobsRequest, + ListCutoverJobsResponse, + CutoverJob, + ListCutoverJobsPage, ListCutoverJobsFixedSizeCollection> { public static ApiFuture createAsync( @@ -6579,7 +6620,10 @@ public ApiFuture createPageAsync( public static class ListCutoverJobsFixedSizeCollection extends AbstractFixedSizeCollection< - ListCutoverJobsRequest, ListCutoverJobsResponse, CutoverJob, ListCutoverJobsPage, + ListCutoverJobsRequest, + ListCutoverJobsResponse, + CutoverJob, + ListCutoverJobsPage, ListCutoverJobsFixedSizeCollection> { private ListCutoverJobsFixedSizeCollection( @@ -6600,7 +6644,10 @@ protected ListCutoverJobsFixedSizeCollection createCollection( public static class ListGroupsPagedResponse extends AbstractPagedListResponse< - ListGroupsRequest, ListGroupsResponse, Group, ListGroupsPage, + ListGroupsRequest, + ListGroupsResponse, + Group, + ListGroupsPage, ListGroupsFixedSizeCollection> { public static ApiFuture createAsync( @@ -6647,7 +6694,10 @@ public ApiFuture createPageAsync( public static class ListGroupsFixedSizeCollection extends AbstractFixedSizeCollection< - ListGroupsRequest, ListGroupsResponse, Group, ListGroupsPage, + ListGroupsRequest, + ListGroupsResponse, + Group, + ListGroupsPage, ListGroupsFixedSizeCollection> { private ListGroupsFixedSizeCollection(List pages, int collectionSize) { @@ -6667,8 +6717,11 @@ protected ListGroupsFixedSizeCollection createCollection( public static class ListTargetProjectsPagedResponse extends AbstractPagedListResponse< - ListTargetProjectsRequest, ListTargetProjectsResponse, TargetProject, - ListTargetProjectsPage, ListTargetProjectsFixedSizeCollection> { + ListTargetProjectsRequest, + ListTargetProjectsResponse, + TargetProject, + ListTargetProjectsPage, + ListTargetProjectsFixedSizeCollection> { public static ApiFuture createAsync( PageContext context, @@ -6688,7 +6741,9 @@ private ListTargetProjectsPagedResponse(ListTargetProjectsPage page) { public static class ListTargetProjectsPage extends AbstractPage< - ListTargetProjectsRequest, ListTargetProjectsResponse, TargetProject, + ListTargetProjectsRequest, + ListTargetProjectsResponse, + TargetProject, ListTargetProjectsPage> { private ListTargetProjectsPage( @@ -6718,8 +6773,11 @@ public ApiFuture createPageAsync( public static class ListTargetProjectsFixedSizeCollection extends AbstractFixedSizeCollection< - ListTargetProjectsRequest, ListTargetProjectsResponse, TargetProject, - ListTargetProjectsPage, ListTargetProjectsFixedSizeCollection> { + ListTargetProjectsRequest, + ListTargetProjectsResponse, + TargetProject, + ListTargetProjectsPage, + ListTargetProjectsFixedSizeCollection> { private ListTargetProjectsFixedSizeCollection( List pages, int collectionSize) { diff --git a/owl-bot-staging/v1/google-cloud-vmmigration/src/main/java/com/google/cloud/vmmigration/v1/VmMigrationSettings.java b/google-cloud-vmmigration/src/main/java/com/google/cloud/vmmigration/v1/VmMigrationSettings.java similarity index 98% rename from owl-bot-staging/v1/google-cloud-vmmigration/src/main/java/com/google/cloud/vmmigration/v1/VmMigrationSettings.java rename to google-cloud-vmmigration/src/main/java/com/google/cloud/vmmigration/v1/VmMigrationSettings.java index 1f37913..5fd5ede 100644 --- a/owl-bot-staging/v1/google-cloud-vmmigration/src/main/java/com/google/cloud/vmmigration/v1/VmMigrationSettings.java +++ b/google-cloud-vmmigration/src/main/java/com/google/cloud/vmmigration/v1/VmMigrationSettings.java @@ -36,7 +36,6 @@ import com.google.api.gax.rpc.ClientSettings; import com.google.api.gax.rpc.OperationCallSettings; 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.vmmigration.v1.stub.VmMigrationStubSettings; @@ -53,9 +52,9 @@ *

The default instance has everything set to sensible defaults: * *

    - *
  • The default service address (vmmigration.googleapis.com) and default port (443) are used. - *
  • Credentials are acquired automatically through Application Default Credentials. - *
  • Retries are configured for idempotent methods but not for non-idempotent methods. + *
  • The default service address (vmmigration.googleapis.com) and default port (443) are used. + *
  • Credentials are acquired automatically through Application Default Credentials. + *
  • Retries are configured for idempotent methods but not for non-idempotent methods. *
* *

The builder of this class is recursive, so contained classes are themselves builders. When @@ -133,7 +132,8 @@ public UnaryCallSettings fetchInv /** Returns the object with the settings used for calls to listUtilizationReports. */ public PagedCallSettings< - ListUtilizationReportsRequest, ListUtilizationReportsResponse, + ListUtilizationReportsRequest, + ListUtilizationReportsResponse, ListUtilizationReportsPagedResponse> listUtilizationReportsSettings() { return ((VmMigrationStubSettings) getStubSettings()).listUtilizationReportsSettings(); @@ -171,7 +171,8 @@ public UnaryCallSettings fetchInv /** Returns the object with the settings used for calls to listDatacenterConnectors. */ public PagedCallSettings< - ListDatacenterConnectorsRequest, ListDatacenterConnectorsResponse, + ListDatacenterConnectorsRequest, + ListDatacenterConnectorsResponse, ListDatacenterConnectorsPagedResponse> listDatacenterConnectorsSettings() { return ((VmMigrationStubSettings) getStubSettings()).listDatacenterConnectorsSettings(); @@ -658,7 +659,8 @@ public UnaryCallSettings.Builder deleteSourceSet /** Returns the builder for the settings used for calls to listUtilizationReports. */ public PagedCallSettings.Builder< - ListUtilizationReportsRequest, ListUtilizationReportsResponse, + ListUtilizationReportsRequest, + ListUtilizationReportsResponse, ListUtilizationReportsPagedResponse> listUtilizationReportsSettings() { return getStubSettingsBuilder().listUtilizationReportsSettings(); @@ -697,7 +699,8 @@ public UnaryCallSettings.Builder deleteSourceSet /** Returns the builder for the settings used for calls to listDatacenterConnectors. */ public PagedCallSettings.Builder< - ListDatacenterConnectorsRequest, ListDatacenterConnectorsResponse, + ListDatacenterConnectorsRequest, + ListDatacenterConnectorsResponse, ListDatacenterConnectorsPagedResponse> listDatacenterConnectorsSettings() { return getStubSettingsBuilder().listDatacenterConnectorsSettings(); diff --git a/owl-bot-staging/v1/google-cloud-vmmigration/src/main/java/com/google/cloud/vmmigration/v1/gapic_metadata.json b/google-cloud-vmmigration/src/main/java/com/google/cloud/vmmigration/v1/gapic_metadata.json similarity index 100% rename from owl-bot-staging/v1/google-cloud-vmmigration/src/main/java/com/google/cloud/vmmigration/v1/gapic_metadata.json rename to google-cloud-vmmigration/src/main/java/com/google/cloud/vmmigration/v1/gapic_metadata.json diff --git a/owl-bot-staging/v1/google-cloud-vmmigration/src/main/java/com/google/cloud/vmmigration/v1/package-info.java b/google-cloud-vmmigration/src/main/java/com/google/cloud/vmmigration/v1/package-info.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-vmmigration/src/main/java/com/google/cloud/vmmigration/v1/package-info.java rename to google-cloud-vmmigration/src/main/java/com/google/cloud/vmmigration/v1/package-info.java diff --git a/owl-bot-staging/v1/google-cloud-vmmigration/src/main/java/com/google/cloud/vmmigration/v1/stub/GrpcVmMigrationCallableFactory.java b/google-cloud-vmmigration/src/main/java/com/google/cloud/vmmigration/v1/stub/GrpcVmMigrationCallableFactory.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-vmmigration/src/main/java/com/google/cloud/vmmigration/v1/stub/GrpcVmMigrationCallableFactory.java rename to google-cloud-vmmigration/src/main/java/com/google/cloud/vmmigration/v1/stub/GrpcVmMigrationCallableFactory.java diff --git a/owl-bot-staging/v1/google-cloud-vmmigration/src/main/java/com/google/cloud/vmmigration/v1/stub/GrpcVmMigrationStub.java b/google-cloud-vmmigration/src/main/java/com/google/cloud/vmmigration/v1/stub/GrpcVmMigrationStub.java similarity index 99% rename from owl-bot-staging/v1/google-cloud-vmmigration/src/main/java/com/google/cloud/vmmigration/v1/stub/GrpcVmMigrationStub.java rename to google-cloud-vmmigration/src/main/java/com/google/cloud/vmmigration/v1/stub/GrpcVmMigrationStub.java index 962ce6c..e07e54b 100644 --- a/owl-bot-staging/v1/google-cloud-vmmigration/src/main/java/com/google/cloud/vmmigration/v1/stub/GrpcVmMigrationStub.java +++ b/google-cloud-vmmigration/src/main/java/com/google/cloud/vmmigration/v1/stub/GrpcVmMigrationStub.java @@ -110,7 +110,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/v1/google-cloud-vmmigration/src/main/java/com/google/cloud/vmmigration/v1/stub/HttpJsonVmMigrationCallableFactory.java b/google-cloud-vmmigration/src/main/java/com/google/cloud/vmmigration/v1/stub/HttpJsonVmMigrationCallableFactory.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-vmmigration/src/main/java/com/google/cloud/vmmigration/v1/stub/HttpJsonVmMigrationCallableFactory.java rename to google-cloud-vmmigration/src/main/java/com/google/cloud/vmmigration/v1/stub/HttpJsonVmMigrationCallableFactory.java diff --git a/owl-bot-staging/v1/google-cloud-vmmigration/src/main/java/com/google/cloud/vmmigration/v1/stub/HttpJsonVmMigrationStub.java b/google-cloud-vmmigration/src/main/java/com/google/cloud/vmmigration/v1/stub/HttpJsonVmMigrationStub.java similarity index 99% rename from owl-bot-staging/v1/google-cloud-vmmigration/src/main/java/com/google/cloud/vmmigration/v1/stub/HttpJsonVmMigrationStub.java rename to google-cloud-vmmigration/src/main/java/com/google/cloud/vmmigration/v1/stub/HttpJsonVmMigrationStub.java index 6ab21c7..68c4825 100644 --- a/owl-bot-staging/v1/google-cloud-vmmigration/src/main/java/com/google/cloud/vmmigration/v1/stub/HttpJsonVmMigrationStub.java +++ b/google-cloud-vmmigration/src/main/java/com/google/cloud/vmmigration/v1/stub/HttpJsonVmMigrationStub.java @@ -37,7 +37,6 @@ import com.google.api.gax.httpjson.ProtoMessageResponseParser; import com.google.api.gax.httpjson.ProtoRestSerializer; import com.google.api.gax.httpjson.longrunning.stub.HttpJsonOperationsStub; -import com.google.api.gax.longrunning.OperationSnapshot; import com.google.api.gax.rpc.ClientContext; import com.google.api.gax.rpc.OperationCallable; import com.google.api.gax.rpc.UnaryCallable; diff --git a/owl-bot-staging/v1/google-cloud-vmmigration/src/main/java/com/google/cloud/vmmigration/v1/stub/VmMigrationStub.java b/google-cloud-vmmigration/src/main/java/com/google/cloud/vmmigration/v1/stub/VmMigrationStub.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-vmmigration/src/main/java/com/google/cloud/vmmigration/v1/stub/VmMigrationStub.java rename to google-cloud-vmmigration/src/main/java/com/google/cloud/vmmigration/v1/stub/VmMigrationStub.java diff --git a/owl-bot-staging/v1/google-cloud-vmmigration/src/main/java/com/google/cloud/vmmigration/v1/stub/VmMigrationStubSettings.java b/google-cloud-vmmigration/src/main/java/com/google/cloud/vmmigration/v1/stub/VmMigrationStubSettings.java similarity index 98% rename from owl-bot-staging/v1/google-cloud-vmmigration/src/main/java/com/google/cloud/vmmigration/v1/stub/VmMigrationStubSettings.java rename to google-cloud-vmmigration/src/main/java/com/google/cloud/vmmigration/v1/stub/VmMigrationStubSettings.java index 88d6958..775e054 100644 --- a/owl-bot-staging/v1/google-cloud-vmmigration/src/main/java/com/google/cloud/vmmigration/v1/stub/VmMigrationStubSettings.java +++ b/google-cloud-vmmigration/src/main/java/com/google/cloud/vmmigration/v1/stub/VmMigrationStubSettings.java @@ -143,9 +143,9 @@ *

The default instance has everything set to sensible defaults: * *

    - *
  • The default service address (vmmigration.googleapis.com) and default port (443) are used. - *
  • Credentials are acquired automatically through Application Default Credentials. - *
  • Retries are configured for idempotent methods but not for non-idempotent methods. + *
  • The default service address (vmmigration.googleapis.com) and default port (443) are used. + *
  • Credentials are acquired automatically through Application Default Credentials. + *
  • Retries are configured for idempotent methods but not for non-idempotent methods. *
* *

The builder of this class is recursive, so contained classes are themselves builders. When @@ -191,7 +191,8 @@ public class VmMigrationStubSettings extends StubSettings fetchInventorySettings; private final PagedCallSettings< - ListUtilizationReportsRequest, ListUtilizationReportsResponse, + ListUtilizationReportsRequest, + ListUtilizationReportsResponse, ListUtilizationReportsPagedResponse> listUtilizationReportsSettings; private final UnaryCallSettings @@ -206,7 +207,8 @@ public class VmMigrationStubSettings extends StubSettings deleteUtilizationReportOperationSettings; private final PagedCallSettings< - ListDatacenterConnectorsRequest, ListDatacenterConnectorsResponse, + ListDatacenterConnectorsRequest, + ListDatacenterConnectorsResponse, ListDatacenterConnectorsPagedResponse> listDatacenterConnectorsSettings; private final UnaryCallSettings @@ -396,7 +398,8 @@ public Iterable extractResources( ListDatacenterConnectorsRequest, ListDatacenterConnectorsResponse, DatacenterConnector> LIST_DATACENTER_CONNECTORS_PAGE_STR_DESC = new PagedListDescriptor< - ListDatacenterConnectorsRequest, ListDatacenterConnectorsResponse, + ListDatacenterConnectorsRequest, + ListDatacenterConnectorsResponse, DatacenterConnector>() { @Override public String emptyToken() { @@ -647,11 +650,13 @@ public ApiFuture getFuturePagedResponse( }; private static final PagedListResponseFactory< - ListUtilizationReportsRequest, ListUtilizationReportsResponse, + ListUtilizationReportsRequest, + ListUtilizationReportsResponse, ListUtilizationReportsPagedResponse> LIST_UTILIZATION_REPORTS_PAGE_STR_FACT = new PagedListResponseFactory< - ListUtilizationReportsRequest, ListUtilizationReportsResponse, + ListUtilizationReportsRequest, + ListUtilizationReportsResponse, ListUtilizationReportsPagedResponse>() { @Override public ApiFuture getFuturePagedResponse( @@ -661,7 +666,8 @@ public ApiFuture getFuturePagedResponse( ApiCallContext context, ApiFuture futureResponse) { PageContext< - ListUtilizationReportsRequest, ListUtilizationReportsResponse, + ListUtilizationReportsRequest, + ListUtilizationReportsResponse, UtilizationReport> pageContext = PageContext.create( @@ -671,11 +677,13 @@ public ApiFuture getFuturePagedResponse( }; private static final PagedListResponseFactory< - ListDatacenterConnectorsRequest, ListDatacenterConnectorsResponse, + ListDatacenterConnectorsRequest, + ListDatacenterConnectorsResponse, ListDatacenterConnectorsPagedResponse> LIST_DATACENTER_CONNECTORS_PAGE_STR_FACT = new PagedListResponseFactory< - ListDatacenterConnectorsRequest, ListDatacenterConnectorsResponse, + ListDatacenterConnectorsRequest, + ListDatacenterConnectorsResponse, ListDatacenterConnectorsPagedResponse>() { @Override public ApiFuture getFuturePagedResponse( @@ -685,7 +693,8 @@ public ApiFuture getFuturePagedResponse( ApiCallContext context, ApiFuture futureResponse) { PageContext< - ListDatacenterConnectorsRequest, ListDatacenterConnectorsResponse, + ListDatacenterConnectorsRequest, + ListDatacenterConnectorsResponse, DatacenterConnector> pageContext = PageContext.create( @@ -768,7 +777,8 @@ public ApiFuture getFuturePagedResponse( ListTargetProjectsRequest, ListTargetProjectsResponse, ListTargetProjectsPagedResponse> LIST_TARGET_PROJECTS_PAGE_STR_FACT = new PagedListResponseFactory< - ListTargetProjectsRequest, ListTargetProjectsResponse, + ListTargetProjectsRequest, + ListTargetProjectsResponse, ListTargetProjectsPagedResponse>() { @Override public ApiFuture getFuturePagedResponse( @@ -835,7 +845,8 @@ public UnaryCallSettings fetchInv /** Returns the object with the settings used for calls to listUtilizationReports. */ public PagedCallSettings< - ListUtilizationReportsRequest, ListUtilizationReportsResponse, + ListUtilizationReportsRequest, + ListUtilizationReportsResponse, ListUtilizationReportsPagedResponse> listUtilizationReportsSettings() { return listUtilizationReportsSettings; @@ -873,7 +884,8 @@ public UnaryCallSettings fetchInv /** Returns the object with the settings used for calls to listDatacenterConnectors. */ public PagedCallSettings< - ListDatacenterConnectorsRequest, ListDatacenterConnectorsResponse, + ListDatacenterConnectorsRequest, + ListDatacenterConnectorsResponse, ListDatacenterConnectorsPagedResponse> listDatacenterConnectorsSettings() { return listDatacenterConnectorsSettings; @@ -1402,7 +1414,8 @@ public static class Builder extends StubSettings.Builder fetchInventorySettings; private final PagedCallSettings.Builder< - ListUtilizationReportsRequest, ListUtilizationReportsResponse, + ListUtilizationReportsRequest, + ListUtilizationReportsResponse, ListUtilizationReportsPagedResponse> listUtilizationReportsSettings; private final UnaryCallSettings.Builder @@ -1418,7 +1431,8 @@ public static class Builder extends StubSettings.Builder deleteUtilizationReportOperationSettings; private final PagedCallSettings.Builder< - ListDatacenterConnectorsRequest, ListDatacenterConnectorsResponse, + ListDatacenterConnectorsRequest, + ListDatacenterConnectorsResponse, ListDatacenterConnectorsPagedResponse> listDatacenterConnectorsSettings; private final UnaryCallSettings.Builder @@ -2829,7 +2843,8 @@ public UnaryCallSettings.Builder deleteSourceSet /** Returns the builder for the settings used for calls to listUtilizationReports. */ public PagedCallSettings.Builder< - ListUtilizationReportsRequest, ListUtilizationReportsResponse, + ListUtilizationReportsRequest, + ListUtilizationReportsResponse, ListUtilizationReportsPagedResponse> listUtilizationReportsSettings() { return listUtilizationReportsSettings; @@ -2872,7 +2887,8 @@ public UnaryCallSettings.Builder deleteSourceSet /** Returns the builder for the settings used for calls to listDatacenterConnectors. */ public PagedCallSettings.Builder< - ListDatacenterConnectorsRequest, ListDatacenterConnectorsResponse, + ListDatacenterConnectorsRequest, + ListDatacenterConnectorsResponse, ListDatacenterConnectorsPagedResponse> listDatacenterConnectorsSettings() { return listDatacenterConnectorsSettings; diff --git a/owl-bot-staging/v1/google-cloud-vmmigration/src/test/java/com/google/cloud/vmmigration/v1/MockVmMigration.java b/google-cloud-vmmigration/src/test/java/com/google/cloud/vmmigration/v1/MockVmMigration.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-vmmigration/src/test/java/com/google/cloud/vmmigration/v1/MockVmMigration.java rename to google-cloud-vmmigration/src/test/java/com/google/cloud/vmmigration/v1/MockVmMigration.java diff --git a/owl-bot-staging/v1/google-cloud-vmmigration/src/test/java/com/google/cloud/vmmigration/v1/MockVmMigrationImpl.java b/google-cloud-vmmigration/src/test/java/com/google/cloud/vmmigration/v1/MockVmMigrationImpl.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-vmmigration/src/test/java/com/google/cloud/vmmigration/v1/MockVmMigrationImpl.java rename to google-cloud-vmmigration/src/test/java/com/google/cloud/vmmigration/v1/MockVmMigrationImpl.java diff --git a/owl-bot-staging/v1/google-cloud-vmmigration/src/test/java/com/google/cloud/vmmigration/v1/VmMigrationClientHttpJsonTest.java b/google-cloud-vmmigration/src/test/java/com/google/cloud/vmmigration/v1/VmMigrationClientHttpJsonTest.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-vmmigration/src/test/java/com/google/cloud/vmmigration/v1/VmMigrationClientHttpJsonTest.java rename to google-cloud-vmmigration/src/test/java/com/google/cloud/vmmigration/v1/VmMigrationClientHttpJsonTest.java diff --git a/owl-bot-staging/v1/google-cloud-vmmigration/src/test/java/com/google/cloud/vmmigration/v1/VmMigrationClientTest.java b/google-cloud-vmmigration/src/test/java/com/google/cloud/vmmigration/v1/VmMigrationClientTest.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-vmmigration/src/test/java/com/google/cloud/vmmigration/v1/VmMigrationClientTest.java rename to google-cloud-vmmigration/src/test/java/com/google/cloud/vmmigration/v1/VmMigrationClientTest.java diff --git a/grpc-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/VmMigrationGrpc.java b/grpc-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/VmMigrationGrpc.java new file mode 100644 index 0000000..d891578 --- /dev/null +++ b/grpc-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/VmMigrationGrpc.java @@ -0,0 +1,5458 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.vmmigration.v1; + +import static io.grpc.MethodDescriptor.generateFullMethodName; + +/** + * + * + *

+ * VM Migration Service
+ * 
+ */ +@javax.annotation.Generated( + value = "by gRPC proto compiler", + comments = "Source: google/cloud/vmmigration/v1/vmmigration.proto") +@io.grpc.stub.annotations.GrpcGenerated +public final class VmMigrationGrpc { + + private VmMigrationGrpc() {} + + public static final String SERVICE_NAME = "google.cloud.vmmigration.v1.VmMigration"; + + // Static method descriptors that strictly reflect the proto. + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.vmmigration.v1.ListSourcesRequest, + com.google.cloud.vmmigration.v1.ListSourcesResponse> + getListSourcesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListSources", + requestType = com.google.cloud.vmmigration.v1.ListSourcesRequest.class, + responseType = com.google.cloud.vmmigration.v1.ListSourcesResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.vmmigration.v1.ListSourcesRequest, + com.google.cloud.vmmigration.v1.ListSourcesResponse> + getListSourcesMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.vmmigration.v1.ListSourcesRequest, + com.google.cloud.vmmigration.v1.ListSourcesResponse> + getListSourcesMethod; + if ((getListSourcesMethod = VmMigrationGrpc.getListSourcesMethod) == null) { + synchronized (VmMigrationGrpc.class) { + if ((getListSourcesMethod = VmMigrationGrpc.getListSourcesMethod) == null) { + VmMigrationGrpc.getListSourcesMethod = + getListSourcesMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListSources")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.vmmigration.v1.ListSourcesRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.vmmigration.v1.ListSourcesResponse + .getDefaultInstance())) + .setSchemaDescriptor(new VmMigrationMethodDescriptorSupplier("ListSources")) + .build(); + } + } + } + return getListSourcesMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.vmmigration.v1.GetSourceRequest, com.google.cloud.vmmigration.v1.Source> + getGetSourceMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetSource", + requestType = com.google.cloud.vmmigration.v1.GetSourceRequest.class, + responseType = com.google.cloud.vmmigration.v1.Source.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.vmmigration.v1.GetSourceRequest, com.google.cloud.vmmigration.v1.Source> + getGetSourceMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.vmmigration.v1.GetSourceRequest, + com.google.cloud.vmmigration.v1.Source> + getGetSourceMethod; + if ((getGetSourceMethod = VmMigrationGrpc.getGetSourceMethod) == null) { + synchronized (VmMigrationGrpc.class) { + if ((getGetSourceMethod = VmMigrationGrpc.getGetSourceMethod) == null) { + VmMigrationGrpc.getGetSourceMethod = + getGetSourceMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetSource")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.vmmigration.v1.GetSourceRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.vmmigration.v1.Source.getDefaultInstance())) + .setSchemaDescriptor(new VmMigrationMethodDescriptorSupplier("GetSource")) + .build(); + } + } + } + return getGetSourceMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.vmmigration.v1.CreateSourceRequest, com.google.longrunning.Operation> + getCreateSourceMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateSource", + requestType = com.google.cloud.vmmigration.v1.CreateSourceRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.vmmigration.v1.CreateSourceRequest, com.google.longrunning.Operation> + getCreateSourceMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.vmmigration.v1.CreateSourceRequest, com.google.longrunning.Operation> + getCreateSourceMethod; + if ((getCreateSourceMethod = VmMigrationGrpc.getCreateSourceMethod) == null) { + synchronized (VmMigrationGrpc.class) { + if ((getCreateSourceMethod = VmMigrationGrpc.getCreateSourceMethod) == null) { + VmMigrationGrpc.getCreateSourceMethod = + getCreateSourceMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateSource")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.vmmigration.v1.CreateSourceRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new VmMigrationMethodDescriptorSupplier("CreateSource")) + .build(); + } + } + } + return getCreateSourceMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.vmmigration.v1.UpdateSourceRequest, com.google.longrunning.Operation> + getUpdateSourceMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateSource", + requestType = com.google.cloud.vmmigration.v1.UpdateSourceRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.vmmigration.v1.UpdateSourceRequest, com.google.longrunning.Operation> + getUpdateSourceMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.vmmigration.v1.UpdateSourceRequest, com.google.longrunning.Operation> + getUpdateSourceMethod; + if ((getUpdateSourceMethod = VmMigrationGrpc.getUpdateSourceMethod) == null) { + synchronized (VmMigrationGrpc.class) { + if ((getUpdateSourceMethod = VmMigrationGrpc.getUpdateSourceMethod) == null) { + VmMigrationGrpc.getUpdateSourceMethod = + getUpdateSourceMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateSource")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.vmmigration.v1.UpdateSourceRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new VmMigrationMethodDescriptorSupplier("UpdateSource")) + .build(); + } + } + } + return getUpdateSourceMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.vmmigration.v1.DeleteSourceRequest, com.google.longrunning.Operation> + getDeleteSourceMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteSource", + requestType = com.google.cloud.vmmigration.v1.DeleteSourceRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.vmmigration.v1.DeleteSourceRequest, com.google.longrunning.Operation> + getDeleteSourceMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.vmmigration.v1.DeleteSourceRequest, com.google.longrunning.Operation> + getDeleteSourceMethod; + if ((getDeleteSourceMethod = VmMigrationGrpc.getDeleteSourceMethod) == null) { + synchronized (VmMigrationGrpc.class) { + if ((getDeleteSourceMethod = VmMigrationGrpc.getDeleteSourceMethod) == null) { + VmMigrationGrpc.getDeleteSourceMethod = + getDeleteSourceMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteSource")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.vmmigration.v1.DeleteSourceRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new VmMigrationMethodDescriptorSupplier("DeleteSource")) + .build(); + } + } + } + return getDeleteSourceMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.vmmigration.v1.FetchInventoryRequest, + com.google.cloud.vmmigration.v1.FetchInventoryResponse> + getFetchInventoryMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "FetchInventory", + requestType = com.google.cloud.vmmigration.v1.FetchInventoryRequest.class, + responseType = com.google.cloud.vmmigration.v1.FetchInventoryResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.vmmigration.v1.FetchInventoryRequest, + com.google.cloud.vmmigration.v1.FetchInventoryResponse> + getFetchInventoryMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.vmmigration.v1.FetchInventoryRequest, + com.google.cloud.vmmigration.v1.FetchInventoryResponse> + getFetchInventoryMethod; + if ((getFetchInventoryMethod = VmMigrationGrpc.getFetchInventoryMethod) == null) { + synchronized (VmMigrationGrpc.class) { + if ((getFetchInventoryMethod = VmMigrationGrpc.getFetchInventoryMethod) == null) { + VmMigrationGrpc.getFetchInventoryMethod = + getFetchInventoryMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "FetchInventory")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.vmmigration.v1.FetchInventoryRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.vmmigration.v1.FetchInventoryResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new VmMigrationMethodDescriptorSupplier("FetchInventory")) + .build(); + } + } + } + return getFetchInventoryMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.vmmigration.v1.ListUtilizationReportsRequest, + com.google.cloud.vmmigration.v1.ListUtilizationReportsResponse> + getListUtilizationReportsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListUtilizationReports", + requestType = com.google.cloud.vmmigration.v1.ListUtilizationReportsRequest.class, + responseType = com.google.cloud.vmmigration.v1.ListUtilizationReportsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.vmmigration.v1.ListUtilizationReportsRequest, + com.google.cloud.vmmigration.v1.ListUtilizationReportsResponse> + getListUtilizationReportsMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.vmmigration.v1.ListUtilizationReportsRequest, + com.google.cloud.vmmigration.v1.ListUtilizationReportsResponse> + getListUtilizationReportsMethod; + if ((getListUtilizationReportsMethod = VmMigrationGrpc.getListUtilizationReportsMethod) + == null) { + synchronized (VmMigrationGrpc.class) { + if ((getListUtilizationReportsMethod = VmMigrationGrpc.getListUtilizationReportsMethod) + == null) { + VmMigrationGrpc.getListUtilizationReportsMethod = + getListUtilizationReportsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "ListUtilizationReports")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.vmmigration.v1.ListUtilizationReportsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.vmmigration.v1.ListUtilizationReportsResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new VmMigrationMethodDescriptorSupplier("ListUtilizationReports")) + .build(); + } + } + } + return getListUtilizationReportsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.vmmigration.v1.GetUtilizationReportRequest, + com.google.cloud.vmmigration.v1.UtilizationReport> + getGetUtilizationReportMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetUtilizationReport", + requestType = com.google.cloud.vmmigration.v1.GetUtilizationReportRequest.class, + responseType = com.google.cloud.vmmigration.v1.UtilizationReport.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.vmmigration.v1.GetUtilizationReportRequest, + com.google.cloud.vmmigration.v1.UtilizationReport> + getGetUtilizationReportMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.vmmigration.v1.GetUtilizationReportRequest, + com.google.cloud.vmmigration.v1.UtilizationReport> + getGetUtilizationReportMethod; + if ((getGetUtilizationReportMethod = VmMigrationGrpc.getGetUtilizationReportMethod) == null) { + synchronized (VmMigrationGrpc.class) { + if ((getGetUtilizationReportMethod = VmMigrationGrpc.getGetUtilizationReportMethod) + == null) { + VmMigrationGrpc.getGetUtilizationReportMethod = + getGetUtilizationReportMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "GetUtilizationReport")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.vmmigration.v1.GetUtilizationReportRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.vmmigration.v1.UtilizationReport + .getDefaultInstance())) + .setSchemaDescriptor( + new VmMigrationMethodDescriptorSupplier("GetUtilizationReport")) + .build(); + } + } + } + return getGetUtilizationReportMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.vmmigration.v1.CreateUtilizationReportRequest, + com.google.longrunning.Operation> + getCreateUtilizationReportMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateUtilizationReport", + requestType = com.google.cloud.vmmigration.v1.CreateUtilizationReportRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.vmmigration.v1.CreateUtilizationReportRequest, + com.google.longrunning.Operation> + getCreateUtilizationReportMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.vmmigration.v1.CreateUtilizationReportRequest, + com.google.longrunning.Operation> + getCreateUtilizationReportMethod; + if ((getCreateUtilizationReportMethod = VmMigrationGrpc.getCreateUtilizationReportMethod) + == null) { + synchronized (VmMigrationGrpc.class) { + if ((getCreateUtilizationReportMethod = VmMigrationGrpc.getCreateUtilizationReportMethod) + == null) { + VmMigrationGrpc.getCreateUtilizationReportMethod = + getCreateUtilizationReportMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "CreateUtilizationReport")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.vmmigration.v1.CreateUtilizationReportRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new VmMigrationMethodDescriptorSupplier("CreateUtilizationReport")) + .build(); + } + } + } + return getCreateUtilizationReportMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.vmmigration.v1.DeleteUtilizationReportRequest, + com.google.longrunning.Operation> + getDeleteUtilizationReportMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteUtilizationReport", + requestType = com.google.cloud.vmmigration.v1.DeleteUtilizationReportRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.vmmigration.v1.DeleteUtilizationReportRequest, + com.google.longrunning.Operation> + getDeleteUtilizationReportMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.vmmigration.v1.DeleteUtilizationReportRequest, + com.google.longrunning.Operation> + getDeleteUtilizationReportMethod; + if ((getDeleteUtilizationReportMethod = VmMigrationGrpc.getDeleteUtilizationReportMethod) + == null) { + synchronized (VmMigrationGrpc.class) { + if ((getDeleteUtilizationReportMethod = VmMigrationGrpc.getDeleteUtilizationReportMethod) + == null) { + VmMigrationGrpc.getDeleteUtilizationReportMethod = + getDeleteUtilizationReportMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "DeleteUtilizationReport")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.vmmigration.v1.DeleteUtilizationReportRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new VmMigrationMethodDescriptorSupplier("DeleteUtilizationReport")) + .build(); + } + } + } + return getDeleteUtilizationReportMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.vmmigration.v1.ListDatacenterConnectorsRequest, + com.google.cloud.vmmigration.v1.ListDatacenterConnectorsResponse> + getListDatacenterConnectorsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListDatacenterConnectors", + requestType = com.google.cloud.vmmigration.v1.ListDatacenterConnectorsRequest.class, + responseType = com.google.cloud.vmmigration.v1.ListDatacenterConnectorsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.vmmigration.v1.ListDatacenterConnectorsRequest, + com.google.cloud.vmmigration.v1.ListDatacenterConnectorsResponse> + getListDatacenterConnectorsMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.vmmigration.v1.ListDatacenterConnectorsRequest, + com.google.cloud.vmmigration.v1.ListDatacenterConnectorsResponse> + getListDatacenterConnectorsMethod; + if ((getListDatacenterConnectorsMethod = VmMigrationGrpc.getListDatacenterConnectorsMethod) + == null) { + synchronized (VmMigrationGrpc.class) { + if ((getListDatacenterConnectorsMethod = VmMigrationGrpc.getListDatacenterConnectorsMethod) + == null) { + VmMigrationGrpc.getListDatacenterConnectorsMethod = + getListDatacenterConnectorsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "ListDatacenterConnectors")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.vmmigration.v1.ListDatacenterConnectorsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.vmmigration.v1.ListDatacenterConnectorsResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new VmMigrationMethodDescriptorSupplier("ListDatacenterConnectors")) + .build(); + } + } + } + return getListDatacenterConnectorsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.vmmigration.v1.GetDatacenterConnectorRequest, + com.google.cloud.vmmigration.v1.DatacenterConnector> + getGetDatacenterConnectorMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetDatacenterConnector", + requestType = com.google.cloud.vmmigration.v1.GetDatacenterConnectorRequest.class, + responseType = com.google.cloud.vmmigration.v1.DatacenterConnector.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.vmmigration.v1.GetDatacenterConnectorRequest, + com.google.cloud.vmmigration.v1.DatacenterConnector> + getGetDatacenterConnectorMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.vmmigration.v1.GetDatacenterConnectorRequest, + com.google.cloud.vmmigration.v1.DatacenterConnector> + getGetDatacenterConnectorMethod; + if ((getGetDatacenterConnectorMethod = VmMigrationGrpc.getGetDatacenterConnectorMethod) + == null) { + synchronized (VmMigrationGrpc.class) { + if ((getGetDatacenterConnectorMethod = VmMigrationGrpc.getGetDatacenterConnectorMethod) + == null) { + VmMigrationGrpc.getGetDatacenterConnectorMethod = + getGetDatacenterConnectorMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "GetDatacenterConnector")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.vmmigration.v1.GetDatacenterConnectorRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.vmmigration.v1.DatacenterConnector + .getDefaultInstance())) + .setSchemaDescriptor( + new VmMigrationMethodDescriptorSupplier("GetDatacenterConnector")) + .build(); + } + } + } + return getGetDatacenterConnectorMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.vmmigration.v1.CreateDatacenterConnectorRequest, + com.google.longrunning.Operation> + getCreateDatacenterConnectorMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateDatacenterConnector", + requestType = com.google.cloud.vmmigration.v1.CreateDatacenterConnectorRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.vmmigration.v1.CreateDatacenterConnectorRequest, + com.google.longrunning.Operation> + getCreateDatacenterConnectorMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.vmmigration.v1.CreateDatacenterConnectorRequest, + com.google.longrunning.Operation> + getCreateDatacenterConnectorMethod; + if ((getCreateDatacenterConnectorMethod = VmMigrationGrpc.getCreateDatacenterConnectorMethod) + == null) { + synchronized (VmMigrationGrpc.class) { + if ((getCreateDatacenterConnectorMethod = + VmMigrationGrpc.getCreateDatacenterConnectorMethod) + == null) { + VmMigrationGrpc.getCreateDatacenterConnectorMethod = + getCreateDatacenterConnectorMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "CreateDatacenterConnector")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.vmmigration.v1.CreateDatacenterConnectorRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new VmMigrationMethodDescriptorSupplier("CreateDatacenterConnector")) + .build(); + } + } + } + return getCreateDatacenterConnectorMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.vmmigration.v1.DeleteDatacenterConnectorRequest, + com.google.longrunning.Operation> + getDeleteDatacenterConnectorMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteDatacenterConnector", + requestType = com.google.cloud.vmmigration.v1.DeleteDatacenterConnectorRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.vmmigration.v1.DeleteDatacenterConnectorRequest, + com.google.longrunning.Operation> + getDeleteDatacenterConnectorMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.vmmigration.v1.DeleteDatacenterConnectorRequest, + com.google.longrunning.Operation> + getDeleteDatacenterConnectorMethod; + if ((getDeleteDatacenterConnectorMethod = VmMigrationGrpc.getDeleteDatacenterConnectorMethod) + == null) { + synchronized (VmMigrationGrpc.class) { + if ((getDeleteDatacenterConnectorMethod = + VmMigrationGrpc.getDeleteDatacenterConnectorMethod) + == null) { + VmMigrationGrpc.getDeleteDatacenterConnectorMethod = + getDeleteDatacenterConnectorMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "DeleteDatacenterConnector")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.vmmigration.v1.DeleteDatacenterConnectorRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new VmMigrationMethodDescriptorSupplier("DeleteDatacenterConnector")) + .build(); + } + } + } + return getDeleteDatacenterConnectorMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.vmmigration.v1.UpgradeApplianceRequest, com.google.longrunning.Operation> + getUpgradeApplianceMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpgradeAppliance", + requestType = com.google.cloud.vmmigration.v1.UpgradeApplianceRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.vmmigration.v1.UpgradeApplianceRequest, com.google.longrunning.Operation> + getUpgradeApplianceMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.vmmigration.v1.UpgradeApplianceRequest, + com.google.longrunning.Operation> + getUpgradeApplianceMethod; + if ((getUpgradeApplianceMethod = VmMigrationGrpc.getUpgradeApplianceMethod) == null) { + synchronized (VmMigrationGrpc.class) { + if ((getUpgradeApplianceMethod = VmMigrationGrpc.getUpgradeApplianceMethod) == null) { + VmMigrationGrpc.getUpgradeApplianceMethod = + getUpgradeApplianceMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpgradeAppliance")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.vmmigration.v1.UpgradeApplianceRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new VmMigrationMethodDescriptorSupplier("UpgradeAppliance")) + .build(); + } + } + } + return getUpgradeApplianceMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.vmmigration.v1.CreateMigratingVmRequest, + com.google.longrunning.Operation> + getCreateMigratingVmMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateMigratingVm", + requestType = com.google.cloud.vmmigration.v1.CreateMigratingVmRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.vmmigration.v1.CreateMigratingVmRequest, + com.google.longrunning.Operation> + getCreateMigratingVmMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.vmmigration.v1.CreateMigratingVmRequest, + com.google.longrunning.Operation> + getCreateMigratingVmMethod; + if ((getCreateMigratingVmMethod = VmMigrationGrpc.getCreateMigratingVmMethod) == null) { + synchronized (VmMigrationGrpc.class) { + if ((getCreateMigratingVmMethod = VmMigrationGrpc.getCreateMigratingVmMethod) == null) { + VmMigrationGrpc.getCreateMigratingVmMethod = + getCreateMigratingVmMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateMigratingVm")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.vmmigration.v1.CreateMigratingVmRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new VmMigrationMethodDescriptorSupplier("CreateMigratingVm")) + .build(); + } + } + } + return getCreateMigratingVmMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.vmmigration.v1.ListMigratingVmsRequest, + com.google.cloud.vmmigration.v1.ListMigratingVmsResponse> + getListMigratingVmsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListMigratingVms", + requestType = com.google.cloud.vmmigration.v1.ListMigratingVmsRequest.class, + responseType = com.google.cloud.vmmigration.v1.ListMigratingVmsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.vmmigration.v1.ListMigratingVmsRequest, + com.google.cloud.vmmigration.v1.ListMigratingVmsResponse> + getListMigratingVmsMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.vmmigration.v1.ListMigratingVmsRequest, + com.google.cloud.vmmigration.v1.ListMigratingVmsResponse> + getListMigratingVmsMethod; + if ((getListMigratingVmsMethod = VmMigrationGrpc.getListMigratingVmsMethod) == null) { + synchronized (VmMigrationGrpc.class) { + if ((getListMigratingVmsMethod = VmMigrationGrpc.getListMigratingVmsMethod) == null) { + VmMigrationGrpc.getListMigratingVmsMethod = + getListMigratingVmsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListMigratingVms")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.vmmigration.v1.ListMigratingVmsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.vmmigration.v1.ListMigratingVmsResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new VmMigrationMethodDescriptorSupplier("ListMigratingVms")) + .build(); + } + } + } + return getListMigratingVmsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.vmmigration.v1.GetMigratingVmRequest, + com.google.cloud.vmmigration.v1.MigratingVm> + getGetMigratingVmMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetMigratingVm", + requestType = com.google.cloud.vmmigration.v1.GetMigratingVmRequest.class, + responseType = com.google.cloud.vmmigration.v1.MigratingVm.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.vmmigration.v1.GetMigratingVmRequest, + com.google.cloud.vmmigration.v1.MigratingVm> + getGetMigratingVmMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.vmmigration.v1.GetMigratingVmRequest, + com.google.cloud.vmmigration.v1.MigratingVm> + getGetMigratingVmMethod; + if ((getGetMigratingVmMethod = VmMigrationGrpc.getGetMigratingVmMethod) == null) { + synchronized (VmMigrationGrpc.class) { + if ((getGetMigratingVmMethod = VmMigrationGrpc.getGetMigratingVmMethod) == null) { + VmMigrationGrpc.getGetMigratingVmMethod = + getGetMigratingVmMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetMigratingVm")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.vmmigration.v1.GetMigratingVmRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.vmmigration.v1.MigratingVm.getDefaultInstance())) + .setSchemaDescriptor( + new VmMigrationMethodDescriptorSupplier("GetMigratingVm")) + .build(); + } + } + } + return getGetMigratingVmMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.vmmigration.v1.UpdateMigratingVmRequest, + com.google.longrunning.Operation> + getUpdateMigratingVmMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateMigratingVm", + requestType = com.google.cloud.vmmigration.v1.UpdateMigratingVmRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.vmmigration.v1.UpdateMigratingVmRequest, + com.google.longrunning.Operation> + getUpdateMigratingVmMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.vmmigration.v1.UpdateMigratingVmRequest, + com.google.longrunning.Operation> + getUpdateMigratingVmMethod; + if ((getUpdateMigratingVmMethod = VmMigrationGrpc.getUpdateMigratingVmMethod) == null) { + synchronized (VmMigrationGrpc.class) { + if ((getUpdateMigratingVmMethod = VmMigrationGrpc.getUpdateMigratingVmMethod) == null) { + VmMigrationGrpc.getUpdateMigratingVmMethod = + getUpdateMigratingVmMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateMigratingVm")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.vmmigration.v1.UpdateMigratingVmRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new VmMigrationMethodDescriptorSupplier("UpdateMigratingVm")) + .build(); + } + } + } + return getUpdateMigratingVmMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.vmmigration.v1.DeleteMigratingVmRequest, + com.google.longrunning.Operation> + getDeleteMigratingVmMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteMigratingVm", + requestType = com.google.cloud.vmmigration.v1.DeleteMigratingVmRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.vmmigration.v1.DeleteMigratingVmRequest, + com.google.longrunning.Operation> + getDeleteMigratingVmMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.vmmigration.v1.DeleteMigratingVmRequest, + com.google.longrunning.Operation> + getDeleteMigratingVmMethod; + if ((getDeleteMigratingVmMethod = VmMigrationGrpc.getDeleteMigratingVmMethod) == null) { + synchronized (VmMigrationGrpc.class) { + if ((getDeleteMigratingVmMethod = VmMigrationGrpc.getDeleteMigratingVmMethod) == null) { + VmMigrationGrpc.getDeleteMigratingVmMethod = + getDeleteMigratingVmMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteMigratingVm")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.vmmigration.v1.DeleteMigratingVmRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new VmMigrationMethodDescriptorSupplier("DeleteMigratingVm")) + .build(); + } + } + } + return getDeleteMigratingVmMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.vmmigration.v1.StartMigrationRequest, com.google.longrunning.Operation> + getStartMigrationMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "StartMigration", + requestType = com.google.cloud.vmmigration.v1.StartMigrationRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.vmmigration.v1.StartMigrationRequest, com.google.longrunning.Operation> + getStartMigrationMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.vmmigration.v1.StartMigrationRequest, com.google.longrunning.Operation> + getStartMigrationMethod; + if ((getStartMigrationMethod = VmMigrationGrpc.getStartMigrationMethod) == null) { + synchronized (VmMigrationGrpc.class) { + if ((getStartMigrationMethod = VmMigrationGrpc.getStartMigrationMethod) == null) { + VmMigrationGrpc.getStartMigrationMethod = + getStartMigrationMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "StartMigration")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.vmmigration.v1.StartMigrationRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new VmMigrationMethodDescriptorSupplier("StartMigration")) + .build(); + } + } + } + return getStartMigrationMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.vmmigration.v1.ResumeMigrationRequest, com.google.longrunning.Operation> + getResumeMigrationMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ResumeMigration", + requestType = com.google.cloud.vmmigration.v1.ResumeMigrationRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.vmmigration.v1.ResumeMigrationRequest, com.google.longrunning.Operation> + getResumeMigrationMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.vmmigration.v1.ResumeMigrationRequest, + com.google.longrunning.Operation> + getResumeMigrationMethod; + if ((getResumeMigrationMethod = VmMigrationGrpc.getResumeMigrationMethod) == null) { + synchronized (VmMigrationGrpc.class) { + if ((getResumeMigrationMethod = VmMigrationGrpc.getResumeMigrationMethod) == null) { + VmMigrationGrpc.getResumeMigrationMethod = + getResumeMigrationMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ResumeMigration")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.vmmigration.v1.ResumeMigrationRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new VmMigrationMethodDescriptorSupplier("ResumeMigration")) + .build(); + } + } + } + return getResumeMigrationMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.vmmigration.v1.PauseMigrationRequest, com.google.longrunning.Operation> + getPauseMigrationMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "PauseMigration", + requestType = com.google.cloud.vmmigration.v1.PauseMigrationRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.vmmigration.v1.PauseMigrationRequest, com.google.longrunning.Operation> + getPauseMigrationMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.vmmigration.v1.PauseMigrationRequest, com.google.longrunning.Operation> + getPauseMigrationMethod; + if ((getPauseMigrationMethod = VmMigrationGrpc.getPauseMigrationMethod) == null) { + synchronized (VmMigrationGrpc.class) { + if ((getPauseMigrationMethod = VmMigrationGrpc.getPauseMigrationMethod) == null) { + VmMigrationGrpc.getPauseMigrationMethod = + getPauseMigrationMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "PauseMigration")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.vmmigration.v1.PauseMigrationRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new VmMigrationMethodDescriptorSupplier("PauseMigration")) + .build(); + } + } + } + return getPauseMigrationMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.vmmigration.v1.FinalizeMigrationRequest, + com.google.longrunning.Operation> + getFinalizeMigrationMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "FinalizeMigration", + requestType = com.google.cloud.vmmigration.v1.FinalizeMigrationRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.vmmigration.v1.FinalizeMigrationRequest, + com.google.longrunning.Operation> + getFinalizeMigrationMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.vmmigration.v1.FinalizeMigrationRequest, + com.google.longrunning.Operation> + getFinalizeMigrationMethod; + if ((getFinalizeMigrationMethod = VmMigrationGrpc.getFinalizeMigrationMethod) == null) { + synchronized (VmMigrationGrpc.class) { + if ((getFinalizeMigrationMethod = VmMigrationGrpc.getFinalizeMigrationMethod) == null) { + VmMigrationGrpc.getFinalizeMigrationMethod = + getFinalizeMigrationMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "FinalizeMigration")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.vmmigration.v1.FinalizeMigrationRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new VmMigrationMethodDescriptorSupplier("FinalizeMigration")) + .build(); + } + } + } + return getFinalizeMigrationMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.vmmigration.v1.CreateCloneJobRequest, com.google.longrunning.Operation> + getCreateCloneJobMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateCloneJob", + requestType = com.google.cloud.vmmigration.v1.CreateCloneJobRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.vmmigration.v1.CreateCloneJobRequest, com.google.longrunning.Operation> + getCreateCloneJobMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.vmmigration.v1.CreateCloneJobRequest, com.google.longrunning.Operation> + getCreateCloneJobMethod; + if ((getCreateCloneJobMethod = VmMigrationGrpc.getCreateCloneJobMethod) == null) { + synchronized (VmMigrationGrpc.class) { + if ((getCreateCloneJobMethod = VmMigrationGrpc.getCreateCloneJobMethod) == null) { + VmMigrationGrpc.getCreateCloneJobMethod = + getCreateCloneJobMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateCloneJob")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.vmmigration.v1.CreateCloneJobRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new VmMigrationMethodDescriptorSupplier("CreateCloneJob")) + .build(); + } + } + } + return getCreateCloneJobMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.vmmigration.v1.CancelCloneJobRequest, com.google.longrunning.Operation> + getCancelCloneJobMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CancelCloneJob", + requestType = com.google.cloud.vmmigration.v1.CancelCloneJobRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.vmmigration.v1.CancelCloneJobRequest, com.google.longrunning.Operation> + getCancelCloneJobMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.vmmigration.v1.CancelCloneJobRequest, com.google.longrunning.Operation> + getCancelCloneJobMethod; + if ((getCancelCloneJobMethod = VmMigrationGrpc.getCancelCloneJobMethod) == null) { + synchronized (VmMigrationGrpc.class) { + if ((getCancelCloneJobMethod = VmMigrationGrpc.getCancelCloneJobMethod) == null) { + VmMigrationGrpc.getCancelCloneJobMethod = + getCancelCloneJobMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CancelCloneJob")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.vmmigration.v1.CancelCloneJobRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new VmMigrationMethodDescriptorSupplier("CancelCloneJob")) + .build(); + } + } + } + return getCancelCloneJobMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.vmmigration.v1.ListCloneJobsRequest, + com.google.cloud.vmmigration.v1.ListCloneJobsResponse> + getListCloneJobsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListCloneJobs", + requestType = com.google.cloud.vmmigration.v1.ListCloneJobsRequest.class, + responseType = com.google.cloud.vmmigration.v1.ListCloneJobsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.vmmigration.v1.ListCloneJobsRequest, + com.google.cloud.vmmigration.v1.ListCloneJobsResponse> + getListCloneJobsMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.vmmigration.v1.ListCloneJobsRequest, + com.google.cloud.vmmigration.v1.ListCloneJobsResponse> + getListCloneJobsMethod; + if ((getListCloneJobsMethod = VmMigrationGrpc.getListCloneJobsMethod) == null) { + synchronized (VmMigrationGrpc.class) { + if ((getListCloneJobsMethod = VmMigrationGrpc.getListCloneJobsMethod) == null) { + VmMigrationGrpc.getListCloneJobsMethod = + getListCloneJobsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListCloneJobs")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.vmmigration.v1.ListCloneJobsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.vmmigration.v1.ListCloneJobsResponse + .getDefaultInstance())) + .setSchemaDescriptor(new VmMigrationMethodDescriptorSupplier("ListCloneJobs")) + .build(); + } + } + } + return getListCloneJobsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.vmmigration.v1.GetCloneJobRequest, + com.google.cloud.vmmigration.v1.CloneJob> + getGetCloneJobMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetCloneJob", + requestType = com.google.cloud.vmmigration.v1.GetCloneJobRequest.class, + responseType = com.google.cloud.vmmigration.v1.CloneJob.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.vmmigration.v1.GetCloneJobRequest, + com.google.cloud.vmmigration.v1.CloneJob> + getGetCloneJobMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.vmmigration.v1.GetCloneJobRequest, + com.google.cloud.vmmigration.v1.CloneJob> + getGetCloneJobMethod; + if ((getGetCloneJobMethod = VmMigrationGrpc.getGetCloneJobMethod) == null) { + synchronized (VmMigrationGrpc.class) { + if ((getGetCloneJobMethod = VmMigrationGrpc.getGetCloneJobMethod) == null) { + VmMigrationGrpc.getGetCloneJobMethod = + getGetCloneJobMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetCloneJob")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.vmmigration.v1.GetCloneJobRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.vmmigration.v1.CloneJob.getDefaultInstance())) + .setSchemaDescriptor(new VmMigrationMethodDescriptorSupplier("GetCloneJob")) + .build(); + } + } + } + return getGetCloneJobMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.vmmigration.v1.CreateCutoverJobRequest, com.google.longrunning.Operation> + getCreateCutoverJobMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateCutoverJob", + requestType = com.google.cloud.vmmigration.v1.CreateCutoverJobRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.vmmigration.v1.CreateCutoverJobRequest, com.google.longrunning.Operation> + getCreateCutoverJobMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.vmmigration.v1.CreateCutoverJobRequest, + com.google.longrunning.Operation> + getCreateCutoverJobMethod; + if ((getCreateCutoverJobMethod = VmMigrationGrpc.getCreateCutoverJobMethod) == null) { + synchronized (VmMigrationGrpc.class) { + if ((getCreateCutoverJobMethod = VmMigrationGrpc.getCreateCutoverJobMethod) == null) { + VmMigrationGrpc.getCreateCutoverJobMethod = + getCreateCutoverJobMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateCutoverJob")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.vmmigration.v1.CreateCutoverJobRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new VmMigrationMethodDescriptorSupplier("CreateCutoverJob")) + .build(); + } + } + } + return getCreateCutoverJobMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.vmmigration.v1.CancelCutoverJobRequest, com.google.longrunning.Operation> + getCancelCutoverJobMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CancelCutoverJob", + requestType = com.google.cloud.vmmigration.v1.CancelCutoverJobRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.vmmigration.v1.CancelCutoverJobRequest, com.google.longrunning.Operation> + getCancelCutoverJobMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.vmmigration.v1.CancelCutoverJobRequest, + com.google.longrunning.Operation> + getCancelCutoverJobMethod; + if ((getCancelCutoverJobMethod = VmMigrationGrpc.getCancelCutoverJobMethod) == null) { + synchronized (VmMigrationGrpc.class) { + if ((getCancelCutoverJobMethod = VmMigrationGrpc.getCancelCutoverJobMethod) == null) { + VmMigrationGrpc.getCancelCutoverJobMethod = + getCancelCutoverJobMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CancelCutoverJob")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.vmmigration.v1.CancelCutoverJobRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new VmMigrationMethodDescriptorSupplier("CancelCutoverJob")) + .build(); + } + } + } + return getCancelCutoverJobMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.vmmigration.v1.ListCutoverJobsRequest, + com.google.cloud.vmmigration.v1.ListCutoverJobsResponse> + getListCutoverJobsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListCutoverJobs", + requestType = com.google.cloud.vmmigration.v1.ListCutoverJobsRequest.class, + responseType = com.google.cloud.vmmigration.v1.ListCutoverJobsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.vmmigration.v1.ListCutoverJobsRequest, + com.google.cloud.vmmigration.v1.ListCutoverJobsResponse> + getListCutoverJobsMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.vmmigration.v1.ListCutoverJobsRequest, + com.google.cloud.vmmigration.v1.ListCutoverJobsResponse> + getListCutoverJobsMethod; + if ((getListCutoverJobsMethod = VmMigrationGrpc.getListCutoverJobsMethod) == null) { + synchronized (VmMigrationGrpc.class) { + if ((getListCutoverJobsMethod = VmMigrationGrpc.getListCutoverJobsMethod) == null) { + VmMigrationGrpc.getListCutoverJobsMethod = + getListCutoverJobsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListCutoverJobs")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.vmmigration.v1.ListCutoverJobsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.vmmigration.v1.ListCutoverJobsResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new VmMigrationMethodDescriptorSupplier("ListCutoverJobs")) + .build(); + } + } + } + return getListCutoverJobsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.vmmigration.v1.GetCutoverJobRequest, + com.google.cloud.vmmigration.v1.CutoverJob> + getGetCutoverJobMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetCutoverJob", + requestType = com.google.cloud.vmmigration.v1.GetCutoverJobRequest.class, + responseType = com.google.cloud.vmmigration.v1.CutoverJob.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.vmmigration.v1.GetCutoverJobRequest, + com.google.cloud.vmmigration.v1.CutoverJob> + getGetCutoverJobMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.vmmigration.v1.GetCutoverJobRequest, + com.google.cloud.vmmigration.v1.CutoverJob> + getGetCutoverJobMethod; + if ((getGetCutoverJobMethod = VmMigrationGrpc.getGetCutoverJobMethod) == null) { + synchronized (VmMigrationGrpc.class) { + if ((getGetCutoverJobMethod = VmMigrationGrpc.getGetCutoverJobMethod) == null) { + VmMigrationGrpc.getGetCutoverJobMethod = + getGetCutoverJobMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetCutoverJob")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.vmmigration.v1.GetCutoverJobRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.vmmigration.v1.CutoverJob.getDefaultInstance())) + .setSchemaDescriptor(new VmMigrationMethodDescriptorSupplier("GetCutoverJob")) + .build(); + } + } + } + return getGetCutoverJobMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.vmmigration.v1.ListGroupsRequest, + com.google.cloud.vmmigration.v1.ListGroupsResponse> + getListGroupsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListGroups", + requestType = com.google.cloud.vmmigration.v1.ListGroupsRequest.class, + responseType = com.google.cloud.vmmigration.v1.ListGroupsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.vmmigration.v1.ListGroupsRequest, + com.google.cloud.vmmigration.v1.ListGroupsResponse> + getListGroupsMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.vmmigration.v1.ListGroupsRequest, + com.google.cloud.vmmigration.v1.ListGroupsResponse> + getListGroupsMethod; + if ((getListGroupsMethod = VmMigrationGrpc.getListGroupsMethod) == null) { + synchronized (VmMigrationGrpc.class) { + if ((getListGroupsMethod = VmMigrationGrpc.getListGroupsMethod) == null) { + VmMigrationGrpc.getListGroupsMethod = + getListGroupsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListGroups")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.vmmigration.v1.ListGroupsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.vmmigration.v1.ListGroupsResponse + .getDefaultInstance())) + .setSchemaDescriptor(new VmMigrationMethodDescriptorSupplier("ListGroups")) + .build(); + } + } + } + return getListGroupsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.vmmigration.v1.GetGroupRequest, com.google.cloud.vmmigration.v1.Group> + getGetGroupMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetGroup", + requestType = com.google.cloud.vmmigration.v1.GetGroupRequest.class, + responseType = com.google.cloud.vmmigration.v1.Group.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.vmmigration.v1.GetGroupRequest, com.google.cloud.vmmigration.v1.Group> + getGetGroupMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.vmmigration.v1.GetGroupRequest, com.google.cloud.vmmigration.v1.Group> + getGetGroupMethod; + if ((getGetGroupMethod = VmMigrationGrpc.getGetGroupMethod) == null) { + synchronized (VmMigrationGrpc.class) { + if ((getGetGroupMethod = VmMigrationGrpc.getGetGroupMethod) == null) { + VmMigrationGrpc.getGetGroupMethod = + getGetGroupMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetGroup")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.vmmigration.v1.GetGroupRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.vmmigration.v1.Group.getDefaultInstance())) + .setSchemaDescriptor(new VmMigrationMethodDescriptorSupplier("GetGroup")) + .build(); + } + } + } + return getGetGroupMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.vmmigration.v1.CreateGroupRequest, com.google.longrunning.Operation> + getCreateGroupMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateGroup", + requestType = com.google.cloud.vmmigration.v1.CreateGroupRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.vmmigration.v1.CreateGroupRequest, com.google.longrunning.Operation> + getCreateGroupMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.vmmigration.v1.CreateGroupRequest, com.google.longrunning.Operation> + getCreateGroupMethod; + if ((getCreateGroupMethod = VmMigrationGrpc.getCreateGroupMethod) == null) { + synchronized (VmMigrationGrpc.class) { + if ((getCreateGroupMethod = VmMigrationGrpc.getCreateGroupMethod) == null) { + VmMigrationGrpc.getCreateGroupMethod = + getCreateGroupMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateGroup")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.vmmigration.v1.CreateGroupRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new VmMigrationMethodDescriptorSupplier("CreateGroup")) + .build(); + } + } + } + return getCreateGroupMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.vmmigration.v1.UpdateGroupRequest, com.google.longrunning.Operation> + getUpdateGroupMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateGroup", + requestType = com.google.cloud.vmmigration.v1.UpdateGroupRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.vmmigration.v1.UpdateGroupRequest, com.google.longrunning.Operation> + getUpdateGroupMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.vmmigration.v1.UpdateGroupRequest, com.google.longrunning.Operation> + getUpdateGroupMethod; + if ((getUpdateGroupMethod = VmMigrationGrpc.getUpdateGroupMethod) == null) { + synchronized (VmMigrationGrpc.class) { + if ((getUpdateGroupMethod = VmMigrationGrpc.getUpdateGroupMethod) == null) { + VmMigrationGrpc.getUpdateGroupMethod = + getUpdateGroupMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateGroup")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.vmmigration.v1.UpdateGroupRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new VmMigrationMethodDescriptorSupplier("UpdateGroup")) + .build(); + } + } + } + return getUpdateGroupMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.vmmigration.v1.DeleteGroupRequest, com.google.longrunning.Operation> + getDeleteGroupMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteGroup", + requestType = com.google.cloud.vmmigration.v1.DeleteGroupRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.vmmigration.v1.DeleteGroupRequest, com.google.longrunning.Operation> + getDeleteGroupMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.vmmigration.v1.DeleteGroupRequest, com.google.longrunning.Operation> + getDeleteGroupMethod; + if ((getDeleteGroupMethod = VmMigrationGrpc.getDeleteGroupMethod) == null) { + synchronized (VmMigrationGrpc.class) { + if ((getDeleteGroupMethod = VmMigrationGrpc.getDeleteGroupMethod) == null) { + VmMigrationGrpc.getDeleteGroupMethod = + getDeleteGroupMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteGroup")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.vmmigration.v1.DeleteGroupRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new VmMigrationMethodDescriptorSupplier("DeleteGroup")) + .build(); + } + } + } + return getDeleteGroupMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.vmmigration.v1.AddGroupMigrationRequest, + com.google.longrunning.Operation> + getAddGroupMigrationMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "AddGroupMigration", + requestType = com.google.cloud.vmmigration.v1.AddGroupMigrationRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.vmmigration.v1.AddGroupMigrationRequest, + com.google.longrunning.Operation> + getAddGroupMigrationMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.vmmigration.v1.AddGroupMigrationRequest, + com.google.longrunning.Operation> + getAddGroupMigrationMethod; + if ((getAddGroupMigrationMethod = VmMigrationGrpc.getAddGroupMigrationMethod) == null) { + synchronized (VmMigrationGrpc.class) { + if ((getAddGroupMigrationMethod = VmMigrationGrpc.getAddGroupMigrationMethod) == null) { + VmMigrationGrpc.getAddGroupMigrationMethod = + getAddGroupMigrationMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "AddGroupMigration")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.vmmigration.v1.AddGroupMigrationRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new VmMigrationMethodDescriptorSupplier("AddGroupMigration")) + .build(); + } + } + } + return getAddGroupMigrationMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.vmmigration.v1.RemoveGroupMigrationRequest, + com.google.longrunning.Operation> + getRemoveGroupMigrationMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "RemoveGroupMigration", + requestType = com.google.cloud.vmmigration.v1.RemoveGroupMigrationRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.vmmigration.v1.RemoveGroupMigrationRequest, + com.google.longrunning.Operation> + getRemoveGroupMigrationMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.vmmigration.v1.RemoveGroupMigrationRequest, + com.google.longrunning.Operation> + getRemoveGroupMigrationMethod; + if ((getRemoveGroupMigrationMethod = VmMigrationGrpc.getRemoveGroupMigrationMethod) == null) { + synchronized (VmMigrationGrpc.class) { + if ((getRemoveGroupMigrationMethod = VmMigrationGrpc.getRemoveGroupMigrationMethod) + == null) { + VmMigrationGrpc.getRemoveGroupMigrationMethod = + getRemoveGroupMigrationMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "RemoveGroupMigration")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.vmmigration.v1.RemoveGroupMigrationRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new VmMigrationMethodDescriptorSupplier("RemoveGroupMigration")) + .build(); + } + } + } + return getRemoveGroupMigrationMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.vmmigration.v1.ListTargetProjectsRequest, + com.google.cloud.vmmigration.v1.ListTargetProjectsResponse> + getListTargetProjectsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListTargetProjects", + requestType = com.google.cloud.vmmigration.v1.ListTargetProjectsRequest.class, + responseType = com.google.cloud.vmmigration.v1.ListTargetProjectsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.vmmigration.v1.ListTargetProjectsRequest, + com.google.cloud.vmmigration.v1.ListTargetProjectsResponse> + getListTargetProjectsMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.vmmigration.v1.ListTargetProjectsRequest, + com.google.cloud.vmmigration.v1.ListTargetProjectsResponse> + getListTargetProjectsMethod; + if ((getListTargetProjectsMethod = VmMigrationGrpc.getListTargetProjectsMethod) == null) { + synchronized (VmMigrationGrpc.class) { + if ((getListTargetProjectsMethod = VmMigrationGrpc.getListTargetProjectsMethod) == null) { + VmMigrationGrpc.getListTargetProjectsMethod = + getListTargetProjectsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListTargetProjects")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.vmmigration.v1.ListTargetProjectsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.vmmigration.v1.ListTargetProjectsResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new VmMigrationMethodDescriptorSupplier("ListTargetProjects")) + .build(); + } + } + } + return getListTargetProjectsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.vmmigration.v1.GetTargetProjectRequest, + com.google.cloud.vmmigration.v1.TargetProject> + getGetTargetProjectMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetTargetProject", + requestType = com.google.cloud.vmmigration.v1.GetTargetProjectRequest.class, + responseType = com.google.cloud.vmmigration.v1.TargetProject.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.vmmigration.v1.GetTargetProjectRequest, + com.google.cloud.vmmigration.v1.TargetProject> + getGetTargetProjectMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.vmmigration.v1.GetTargetProjectRequest, + com.google.cloud.vmmigration.v1.TargetProject> + getGetTargetProjectMethod; + if ((getGetTargetProjectMethod = VmMigrationGrpc.getGetTargetProjectMethod) == null) { + synchronized (VmMigrationGrpc.class) { + if ((getGetTargetProjectMethod = VmMigrationGrpc.getGetTargetProjectMethod) == null) { + VmMigrationGrpc.getGetTargetProjectMethod = + getGetTargetProjectMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetTargetProject")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.vmmigration.v1.GetTargetProjectRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.vmmigration.v1.TargetProject.getDefaultInstance())) + .setSchemaDescriptor( + new VmMigrationMethodDescriptorSupplier("GetTargetProject")) + .build(); + } + } + } + return getGetTargetProjectMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.vmmigration.v1.CreateTargetProjectRequest, + com.google.longrunning.Operation> + getCreateTargetProjectMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateTargetProject", + requestType = com.google.cloud.vmmigration.v1.CreateTargetProjectRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.vmmigration.v1.CreateTargetProjectRequest, + com.google.longrunning.Operation> + getCreateTargetProjectMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.vmmigration.v1.CreateTargetProjectRequest, + com.google.longrunning.Operation> + getCreateTargetProjectMethod; + if ((getCreateTargetProjectMethod = VmMigrationGrpc.getCreateTargetProjectMethod) == null) { + synchronized (VmMigrationGrpc.class) { + if ((getCreateTargetProjectMethod = VmMigrationGrpc.getCreateTargetProjectMethod) == null) { + VmMigrationGrpc.getCreateTargetProjectMethod = + getCreateTargetProjectMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "CreateTargetProject")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.vmmigration.v1.CreateTargetProjectRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new VmMigrationMethodDescriptorSupplier("CreateTargetProject")) + .build(); + } + } + } + return getCreateTargetProjectMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.vmmigration.v1.UpdateTargetProjectRequest, + com.google.longrunning.Operation> + getUpdateTargetProjectMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateTargetProject", + requestType = com.google.cloud.vmmigration.v1.UpdateTargetProjectRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.vmmigration.v1.UpdateTargetProjectRequest, + com.google.longrunning.Operation> + getUpdateTargetProjectMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.vmmigration.v1.UpdateTargetProjectRequest, + com.google.longrunning.Operation> + getUpdateTargetProjectMethod; + if ((getUpdateTargetProjectMethod = VmMigrationGrpc.getUpdateTargetProjectMethod) == null) { + synchronized (VmMigrationGrpc.class) { + if ((getUpdateTargetProjectMethod = VmMigrationGrpc.getUpdateTargetProjectMethod) == null) { + VmMigrationGrpc.getUpdateTargetProjectMethod = + getUpdateTargetProjectMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "UpdateTargetProject")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.vmmigration.v1.UpdateTargetProjectRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new VmMigrationMethodDescriptorSupplier("UpdateTargetProject")) + .build(); + } + } + } + return getUpdateTargetProjectMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.vmmigration.v1.DeleteTargetProjectRequest, + com.google.longrunning.Operation> + getDeleteTargetProjectMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteTargetProject", + requestType = com.google.cloud.vmmigration.v1.DeleteTargetProjectRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.vmmigration.v1.DeleteTargetProjectRequest, + com.google.longrunning.Operation> + getDeleteTargetProjectMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.vmmigration.v1.DeleteTargetProjectRequest, + com.google.longrunning.Operation> + getDeleteTargetProjectMethod; + if ((getDeleteTargetProjectMethod = VmMigrationGrpc.getDeleteTargetProjectMethod) == null) { + synchronized (VmMigrationGrpc.class) { + if ((getDeleteTargetProjectMethod = VmMigrationGrpc.getDeleteTargetProjectMethod) == null) { + VmMigrationGrpc.getDeleteTargetProjectMethod = + getDeleteTargetProjectMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "DeleteTargetProject")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.vmmigration.v1.DeleteTargetProjectRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new VmMigrationMethodDescriptorSupplier("DeleteTargetProject")) + .build(); + } + } + } + return getDeleteTargetProjectMethod; + } + + /** Creates a new async stub that supports all call types for the service */ + public static VmMigrationStub newStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public VmMigrationStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new VmMigrationStub(channel, callOptions); + } + }; + return VmMigrationStub.newStub(factory, channel); + } + + /** + * Creates a new blocking-style stub that supports unary and streaming output calls on the service + */ + public static VmMigrationBlockingStub newBlockingStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public VmMigrationBlockingStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new VmMigrationBlockingStub(channel, callOptions); + } + }; + return VmMigrationBlockingStub.newStub(factory, channel); + } + + /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ + public static VmMigrationFutureStub newFutureStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public VmMigrationFutureStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new VmMigrationFutureStub(channel, callOptions); + } + }; + return VmMigrationFutureStub.newStub(factory, channel); + } + + /** + * + * + *
+   * VM Migration Service
+   * 
+ */ + public abstract static class VmMigrationImplBase implements io.grpc.BindableService { + + /** + * + * + *
+     * Lists Sources in a given project and location.
+     * 
+ */ + public void listSources( + com.google.cloud.vmmigration.v1.ListSourcesRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListSourcesMethod(), responseObserver); + } + + /** + * + * + *
+     * Gets details of a single Source.
+     * 
+ */ + public void getSource( + com.google.cloud.vmmigration.v1.GetSourceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetSourceMethod(), responseObserver); + } + + /** + * + * + *
+     * Creates a new Source in a given project and location.
+     * 
+ */ + public void createSource( + com.google.cloud.vmmigration.v1.CreateSourceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateSourceMethod(), responseObserver); + } + + /** + * + * + *
+     * Updates the parameters of a single Source.
+     * 
+ */ + public void updateSource( + com.google.cloud.vmmigration.v1.UpdateSourceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateSourceMethod(), responseObserver); + } + + /** + * + * + *
+     * Deletes a single Source.
+     * 
+ */ + public void deleteSource( + com.google.cloud.vmmigration.v1.DeleteSourceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteSourceMethod(), responseObserver); + } + + /** + * + * + *
+     * List remote source's inventory of VMs.
+     * The remote source is the onprem vCenter (remote in the sense it's not in
+     * Compute Engine). The inventory describes the list of existing VMs in that
+     * source. Note that this operation lists the VMs on the remote source, as
+     * opposed to listing the MigratingVms resources in the vmmigration service.
+     * 
+ */ + public void fetchInventory( + com.google.cloud.vmmigration.v1.FetchInventoryRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getFetchInventoryMethod(), responseObserver); + } + + /** + * + * + *
+     * Lists Utilization Reports of the given Source.
+     * 
+ */ + public void listUtilizationReports( + com.google.cloud.vmmigration.v1.ListUtilizationReportsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListUtilizationReportsMethod(), responseObserver); + } + + /** + * + * + *
+     * Gets a single Utilization Report.
+     * 
+ */ + public void getUtilizationReport( + com.google.cloud.vmmigration.v1.GetUtilizationReportRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetUtilizationReportMethod(), responseObserver); + } + + /** + * + * + *
+     * Creates a new UtilizationReport.
+     * 
+ */ + public void createUtilizationReport( + com.google.cloud.vmmigration.v1.CreateUtilizationReportRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateUtilizationReportMethod(), responseObserver); + } + + /** + * + * + *
+     * Deletes a single Utilization Report.
+     * 
+ */ + public void deleteUtilizationReport( + com.google.cloud.vmmigration.v1.DeleteUtilizationReportRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteUtilizationReportMethod(), responseObserver); + } + + /** + * + * + *
+     * Lists DatacenterConnectors in a given Source.
+     * 
+ */ + public void listDatacenterConnectors( + com.google.cloud.vmmigration.v1.ListDatacenterConnectorsRequest request, + io.grpc.stub.StreamObserver< + com.google.cloud.vmmigration.v1.ListDatacenterConnectorsResponse> + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListDatacenterConnectorsMethod(), responseObserver); + } + + /** + * + * + *
+     * Gets details of a single DatacenterConnector.
+     * 
+ */ + public void getDatacenterConnector( + com.google.cloud.vmmigration.v1.GetDatacenterConnectorRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetDatacenterConnectorMethod(), responseObserver); + } + + /** + * + * + *
+     * Creates a new DatacenterConnector in a given Source.
+     * 
+ */ + public void createDatacenterConnector( + com.google.cloud.vmmigration.v1.CreateDatacenterConnectorRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateDatacenterConnectorMethod(), responseObserver); + } + + /** + * + * + *
+     * Deletes a single DatacenterConnector.
+     * 
+ */ + public void deleteDatacenterConnector( + com.google.cloud.vmmigration.v1.DeleteDatacenterConnectorRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteDatacenterConnectorMethod(), responseObserver); + } + + /** + * + * + *
+     * Upgrades the appliance relate to this DatacenterConnector to the in-place
+     * updateable version.
+     * 
+ */ + public void upgradeAppliance( + com.google.cloud.vmmigration.v1.UpgradeApplianceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpgradeApplianceMethod(), responseObserver); + } + + /** + * + * + *
+     * Creates a new MigratingVm in a given Source.
+     * 
+ */ + public void createMigratingVm( + com.google.cloud.vmmigration.v1.CreateMigratingVmRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateMigratingVmMethod(), responseObserver); + } + + /** + * + * + *
+     * Lists MigratingVms in a given Source.
+     * 
+ */ + public void listMigratingVms( + com.google.cloud.vmmigration.v1.ListMigratingVmsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListMigratingVmsMethod(), responseObserver); + } + + /** + * + * + *
+     * Gets details of a single MigratingVm.
+     * 
+ */ + public void getMigratingVm( + com.google.cloud.vmmigration.v1.GetMigratingVmRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetMigratingVmMethod(), responseObserver); + } + + /** + * + * + *
+     * Updates the parameters of a single MigratingVm.
+     * 
+ */ + public void updateMigratingVm( + com.google.cloud.vmmigration.v1.UpdateMigratingVmRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateMigratingVmMethod(), responseObserver); + } + + /** + * + * + *
+     * Deletes a single MigratingVm.
+     * 
+ */ + public void deleteMigratingVm( + com.google.cloud.vmmigration.v1.DeleteMigratingVmRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteMigratingVmMethod(), responseObserver); + } + + /** + * + * + *
+     * Starts migration for a VM. Starts the process of uploading
+     * data and creating snapshots, in replication cycles scheduled by the policy.
+     * 
+ */ + public void startMigration( + com.google.cloud.vmmigration.v1.StartMigrationRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getStartMigrationMethod(), responseObserver); + } + + /** + * + * + *
+     * Resumes a migration for a VM. When called on a paused migration, will start
+     * the process of uploading data and creating snapshots; when called on a
+     * completed cut-over migration, will update the migration to active state and
+     * start the process of uploading data and creating snapshots.
+     * 
+ */ + public void resumeMigration( + com.google.cloud.vmmigration.v1.ResumeMigrationRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getResumeMigrationMethod(), responseObserver); + } + + /** + * + * + *
+     * Pauses a migration for a VM. If cycle tasks are running they will be
+     * cancelled, preserving source task data. Further replication cycles will not
+     * be triggered while the VM is paused.
+     * 
+ */ + public void pauseMigration( + com.google.cloud.vmmigration.v1.PauseMigrationRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getPauseMigrationMethod(), responseObserver); + } + + /** + * + * + *
+     * Marks a migration as completed, deleting migration resources that are no
+     * longer being used. Only applicable after cutover is done.
+     * 
+ */ + public void finalizeMigration( + com.google.cloud.vmmigration.v1.FinalizeMigrationRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getFinalizeMigrationMethod(), responseObserver); + } + + /** + * + * + *
+     * Initiates a Clone of a specific migrating VM.
+     * 
+ */ + public void createCloneJob( + com.google.cloud.vmmigration.v1.CreateCloneJobRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateCloneJobMethod(), responseObserver); + } + + /** + * + * + *
+     * Initiates the cancellation of a running clone job.
+     * 
+ */ + public void cancelCloneJob( + com.google.cloud.vmmigration.v1.CancelCloneJobRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCancelCloneJobMethod(), responseObserver); + } + + /** + * + * + *
+     * Lists CloneJobs of a given migrating VM.
+     * 
+ */ + public void listCloneJobs( + com.google.cloud.vmmigration.v1.ListCloneJobsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListCloneJobsMethod(), responseObserver); + } + + /** + * + * + *
+     * Gets details of a single CloneJob.
+     * 
+ */ + public void getCloneJob( + com.google.cloud.vmmigration.v1.GetCloneJobRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetCloneJobMethod(), responseObserver); + } + + /** + * + * + *
+     * Initiates a Cutover of a specific migrating VM.
+     * The returned LRO is completed when the cutover job resource is created
+     * and the job is initiated.
+     * 
+ */ + public void createCutoverJob( + com.google.cloud.vmmigration.v1.CreateCutoverJobRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateCutoverJobMethod(), responseObserver); + } + + /** + * + * + *
+     * Initiates the cancellation of a running cutover job.
+     * 
+ */ + public void cancelCutoverJob( + com.google.cloud.vmmigration.v1.CancelCutoverJobRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCancelCutoverJobMethod(), responseObserver); + } + + /** + * + * + *
+     * Lists CutoverJobs of a given migrating VM.
+     * 
+ */ + public void listCutoverJobs( + com.google.cloud.vmmigration.v1.ListCutoverJobsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListCutoverJobsMethod(), responseObserver); + } + + /** + * + * + *
+     * Gets details of a single CutoverJob.
+     * 
+ */ + public void getCutoverJob( + com.google.cloud.vmmigration.v1.GetCutoverJobRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetCutoverJobMethod(), responseObserver); + } + + /** + * + * + *
+     * Lists Groups in a given project and location.
+     * 
+ */ + public void listGroups( + com.google.cloud.vmmigration.v1.ListGroupsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListGroupsMethod(), responseObserver); + } + + /** + * + * + *
+     * Gets details of a single Group.
+     * 
+ */ + public void getGroup( + com.google.cloud.vmmigration.v1.GetGroupRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetGroupMethod(), responseObserver); + } + + /** + * + * + *
+     * Creates a new Group in a given project and location.
+     * 
+ */ + public void createGroup( + com.google.cloud.vmmigration.v1.CreateGroupRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateGroupMethod(), responseObserver); + } + + /** + * + * + *
+     * Updates the parameters of a single Group.
+     * 
+ */ + public void updateGroup( + com.google.cloud.vmmigration.v1.UpdateGroupRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateGroupMethod(), responseObserver); + } + + /** + * + * + *
+     * Deletes a single Group.
+     * 
+ */ + public void deleteGroup( + com.google.cloud.vmmigration.v1.DeleteGroupRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteGroupMethod(), responseObserver); + } + + /** + * + * + *
+     * Adds a MigratingVm to a Group.
+     * 
+ */ + public void addGroupMigration( + com.google.cloud.vmmigration.v1.AddGroupMigrationRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getAddGroupMigrationMethod(), responseObserver); + } + + /** + * + * + *
+     * Removes a MigratingVm from a Group.
+     * 
+ */ + public void removeGroupMigration( + com.google.cloud.vmmigration.v1.RemoveGroupMigrationRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getRemoveGroupMigrationMethod(), responseObserver); + } + + /** + * + * + *
+     * Lists TargetProjects in a given project.
+     * NOTE: TargetProject is a global resource; hence the only supported value
+     * for location is `global`.
+     * 
+ */ + public void listTargetProjects( + com.google.cloud.vmmigration.v1.ListTargetProjectsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListTargetProjectsMethod(), responseObserver); + } + + /** + * + * + *
+     * Gets details of a single TargetProject.
+     * NOTE: TargetProject is a global resource; hence the only supported value
+     * for location is `global`.
+     * 
+ */ + public void getTargetProject( + com.google.cloud.vmmigration.v1.GetTargetProjectRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetTargetProjectMethod(), responseObserver); + } + + /** + * + * + *
+     * Creates a new TargetProject in a given project.
+     * NOTE: TargetProject is a global resource; hence the only supported value
+     * for location is `global`.
+     * 
+ */ + public void createTargetProject( + com.google.cloud.vmmigration.v1.CreateTargetProjectRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateTargetProjectMethod(), responseObserver); + } + + /** + * + * + *
+     * Updates the parameters of a single TargetProject.
+     * NOTE: TargetProject is a global resource; hence the only supported value
+     * for location is `global`.
+     * 
+ */ + public void updateTargetProject( + com.google.cloud.vmmigration.v1.UpdateTargetProjectRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateTargetProjectMethod(), responseObserver); + } + + /** + * + * + *
+     * Deletes a single TargetProject.
+     * NOTE: TargetProject is a global resource; hence the only supported value
+     * for location is `global`.
+     * 
+ */ + public void deleteTargetProject( + com.google.cloud.vmmigration.v1.DeleteTargetProjectRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteTargetProjectMethod(), responseObserver); + } + + @java.lang.Override + public final io.grpc.ServerServiceDefinition bindService() { + return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) + .addMethod( + getListSourcesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.vmmigration.v1.ListSourcesRequest, + com.google.cloud.vmmigration.v1.ListSourcesResponse>( + this, METHODID_LIST_SOURCES))) + .addMethod( + getGetSourceMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.vmmigration.v1.GetSourceRequest, + com.google.cloud.vmmigration.v1.Source>(this, METHODID_GET_SOURCE))) + .addMethod( + getCreateSourceMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.vmmigration.v1.CreateSourceRequest, + com.google.longrunning.Operation>(this, METHODID_CREATE_SOURCE))) + .addMethod( + getUpdateSourceMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.vmmigration.v1.UpdateSourceRequest, + com.google.longrunning.Operation>(this, METHODID_UPDATE_SOURCE))) + .addMethod( + getDeleteSourceMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.vmmigration.v1.DeleteSourceRequest, + com.google.longrunning.Operation>(this, METHODID_DELETE_SOURCE))) + .addMethod( + getFetchInventoryMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.vmmigration.v1.FetchInventoryRequest, + com.google.cloud.vmmigration.v1.FetchInventoryResponse>( + this, METHODID_FETCH_INVENTORY))) + .addMethod( + getListUtilizationReportsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.vmmigration.v1.ListUtilizationReportsRequest, + com.google.cloud.vmmigration.v1.ListUtilizationReportsResponse>( + this, METHODID_LIST_UTILIZATION_REPORTS))) + .addMethod( + getGetUtilizationReportMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.vmmigration.v1.GetUtilizationReportRequest, + com.google.cloud.vmmigration.v1.UtilizationReport>( + this, METHODID_GET_UTILIZATION_REPORT))) + .addMethod( + getCreateUtilizationReportMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.vmmigration.v1.CreateUtilizationReportRequest, + com.google.longrunning.Operation>(this, METHODID_CREATE_UTILIZATION_REPORT))) + .addMethod( + getDeleteUtilizationReportMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.vmmigration.v1.DeleteUtilizationReportRequest, + com.google.longrunning.Operation>(this, METHODID_DELETE_UTILIZATION_REPORT))) + .addMethod( + getListDatacenterConnectorsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.vmmigration.v1.ListDatacenterConnectorsRequest, + com.google.cloud.vmmigration.v1.ListDatacenterConnectorsResponse>( + this, METHODID_LIST_DATACENTER_CONNECTORS))) + .addMethod( + getGetDatacenterConnectorMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.vmmigration.v1.GetDatacenterConnectorRequest, + com.google.cloud.vmmigration.v1.DatacenterConnector>( + this, METHODID_GET_DATACENTER_CONNECTOR))) + .addMethod( + getCreateDatacenterConnectorMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.vmmigration.v1.CreateDatacenterConnectorRequest, + com.google.longrunning.Operation>( + this, METHODID_CREATE_DATACENTER_CONNECTOR))) + .addMethod( + getDeleteDatacenterConnectorMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.vmmigration.v1.DeleteDatacenterConnectorRequest, + com.google.longrunning.Operation>( + this, METHODID_DELETE_DATACENTER_CONNECTOR))) + .addMethod( + getUpgradeApplianceMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.vmmigration.v1.UpgradeApplianceRequest, + com.google.longrunning.Operation>(this, METHODID_UPGRADE_APPLIANCE))) + .addMethod( + getCreateMigratingVmMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.vmmigration.v1.CreateMigratingVmRequest, + com.google.longrunning.Operation>(this, METHODID_CREATE_MIGRATING_VM))) + .addMethod( + getListMigratingVmsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.vmmigration.v1.ListMigratingVmsRequest, + com.google.cloud.vmmigration.v1.ListMigratingVmsResponse>( + this, METHODID_LIST_MIGRATING_VMS))) + .addMethod( + getGetMigratingVmMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.vmmigration.v1.GetMigratingVmRequest, + com.google.cloud.vmmigration.v1.MigratingVm>( + this, METHODID_GET_MIGRATING_VM))) + .addMethod( + getUpdateMigratingVmMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.vmmigration.v1.UpdateMigratingVmRequest, + com.google.longrunning.Operation>(this, METHODID_UPDATE_MIGRATING_VM))) + .addMethod( + getDeleteMigratingVmMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.vmmigration.v1.DeleteMigratingVmRequest, + com.google.longrunning.Operation>(this, METHODID_DELETE_MIGRATING_VM))) + .addMethod( + getStartMigrationMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.vmmigration.v1.StartMigrationRequest, + com.google.longrunning.Operation>(this, METHODID_START_MIGRATION))) + .addMethod( + getResumeMigrationMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.vmmigration.v1.ResumeMigrationRequest, + com.google.longrunning.Operation>(this, METHODID_RESUME_MIGRATION))) + .addMethod( + getPauseMigrationMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.vmmigration.v1.PauseMigrationRequest, + com.google.longrunning.Operation>(this, METHODID_PAUSE_MIGRATION))) + .addMethod( + getFinalizeMigrationMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.vmmigration.v1.FinalizeMigrationRequest, + com.google.longrunning.Operation>(this, METHODID_FINALIZE_MIGRATION))) + .addMethod( + getCreateCloneJobMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.vmmigration.v1.CreateCloneJobRequest, + com.google.longrunning.Operation>(this, METHODID_CREATE_CLONE_JOB))) + .addMethod( + getCancelCloneJobMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.vmmigration.v1.CancelCloneJobRequest, + com.google.longrunning.Operation>(this, METHODID_CANCEL_CLONE_JOB))) + .addMethod( + getListCloneJobsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.vmmigration.v1.ListCloneJobsRequest, + com.google.cloud.vmmigration.v1.ListCloneJobsResponse>( + this, METHODID_LIST_CLONE_JOBS))) + .addMethod( + getGetCloneJobMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.vmmigration.v1.GetCloneJobRequest, + com.google.cloud.vmmigration.v1.CloneJob>(this, METHODID_GET_CLONE_JOB))) + .addMethod( + getCreateCutoverJobMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.vmmigration.v1.CreateCutoverJobRequest, + com.google.longrunning.Operation>(this, METHODID_CREATE_CUTOVER_JOB))) + .addMethod( + getCancelCutoverJobMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.vmmigration.v1.CancelCutoverJobRequest, + com.google.longrunning.Operation>(this, METHODID_CANCEL_CUTOVER_JOB))) + .addMethod( + getListCutoverJobsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.vmmigration.v1.ListCutoverJobsRequest, + com.google.cloud.vmmigration.v1.ListCutoverJobsResponse>( + this, METHODID_LIST_CUTOVER_JOBS))) + .addMethod( + getGetCutoverJobMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.vmmigration.v1.GetCutoverJobRequest, + com.google.cloud.vmmigration.v1.CutoverJob>(this, METHODID_GET_CUTOVER_JOB))) + .addMethod( + getListGroupsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.vmmigration.v1.ListGroupsRequest, + com.google.cloud.vmmigration.v1.ListGroupsResponse>( + this, METHODID_LIST_GROUPS))) + .addMethod( + getGetGroupMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.vmmigration.v1.GetGroupRequest, + com.google.cloud.vmmigration.v1.Group>(this, METHODID_GET_GROUP))) + .addMethod( + getCreateGroupMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.vmmigration.v1.CreateGroupRequest, + com.google.longrunning.Operation>(this, METHODID_CREATE_GROUP))) + .addMethod( + getUpdateGroupMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.vmmigration.v1.UpdateGroupRequest, + com.google.longrunning.Operation>(this, METHODID_UPDATE_GROUP))) + .addMethod( + getDeleteGroupMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.vmmigration.v1.DeleteGroupRequest, + com.google.longrunning.Operation>(this, METHODID_DELETE_GROUP))) + .addMethod( + getAddGroupMigrationMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.vmmigration.v1.AddGroupMigrationRequest, + com.google.longrunning.Operation>(this, METHODID_ADD_GROUP_MIGRATION))) + .addMethod( + getRemoveGroupMigrationMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.vmmigration.v1.RemoveGroupMigrationRequest, + com.google.longrunning.Operation>(this, METHODID_REMOVE_GROUP_MIGRATION))) + .addMethod( + getListTargetProjectsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.vmmigration.v1.ListTargetProjectsRequest, + com.google.cloud.vmmigration.v1.ListTargetProjectsResponse>( + this, METHODID_LIST_TARGET_PROJECTS))) + .addMethod( + getGetTargetProjectMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.vmmigration.v1.GetTargetProjectRequest, + com.google.cloud.vmmigration.v1.TargetProject>( + this, METHODID_GET_TARGET_PROJECT))) + .addMethod( + getCreateTargetProjectMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.vmmigration.v1.CreateTargetProjectRequest, + com.google.longrunning.Operation>(this, METHODID_CREATE_TARGET_PROJECT))) + .addMethod( + getUpdateTargetProjectMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.vmmigration.v1.UpdateTargetProjectRequest, + com.google.longrunning.Operation>(this, METHODID_UPDATE_TARGET_PROJECT))) + .addMethod( + getDeleteTargetProjectMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.vmmigration.v1.DeleteTargetProjectRequest, + com.google.longrunning.Operation>(this, METHODID_DELETE_TARGET_PROJECT))) + .build(); + } + } + + /** + * + * + *
+   * VM Migration Service
+   * 
+ */ + public static final class VmMigrationStub + extends io.grpc.stub.AbstractAsyncStub { + private VmMigrationStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected VmMigrationStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new VmMigrationStub(channel, callOptions); + } + + /** + * + * + *
+     * Lists Sources in a given project and location.
+     * 
+ */ + public void listSources( + com.google.cloud.vmmigration.v1.ListSourcesRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListSourcesMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Gets details of a single Source.
+     * 
+ */ + public void getSource( + com.google.cloud.vmmigration.v1.GetSourceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetSourceMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * Creates a new Source in a given project and location.
+     * 
+ */ + public void createSource( + com.google.cloud.vmmigration.v1.CreateSourceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateSourceMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Updates the parameters of a single Source.
+     * 
+ */ + public void updateSource( + com.google.cloud.vmmigration.v1.UpdateSourceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateSourceMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Deletes a single Source.
+     * 
+ */ + public void deleteSource( + com.google.cloud.vmmigration.v1.DeleteSourceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteSourceMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * List remote source's inventory of VMs.
+     * The remote source is the onprem vCenter (remote in the sense it's not in
+     * Compute Engine). The inventory describes the list of existing VMs in that
+     * source. Note that this operation lists the VMs on the remote source, as
+     * opposed to listing the MigratingVms resources in the vmmigration service.
+     * 
+ */ + public void fetchInventory( + com.google.cloud.vmmigration.v1.FetchInventoryRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getFetchInventoryMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Lists Utilization Reports of the given Source.
+     * 
+ */ + public void listUtilizationReports( + com.google.cloud.vmmigration.v1.ListUtilizationReportsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListUtilizationReportsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Gets a single Utilization Report.
+     * 
+ */ + public void getUtilizationReport( + com.google.cloud.vmmigration.v1.GetUtilizationReportRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetUtilizationReportMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Creates a new UtilizationReport.
+     * 
+ */ + public void createUtilizationReport( + com.google.cloud.vmmigration.v1.CreateUtilizationReportRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateUtilizationReportMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Deletes a single Utilization Report.
+     * 
+ */ + public void deleteUtilizationReport( + com.google.cloud.vmmigration.v1.DeleteUtilizationReportRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteUtilizationReportMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Lists DatacenterConnectors in a given Source.
+     * 
+ */ + public void listDatacenterConnectors( + com.google.cloud.vmmigration.v1.ListDatacenterConnectorsRequest request, + io.grpc.stub.StreamObserver< + com.google.cloud.vmmigration.v1.ListDatacenterConnectorsResponse> + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListDatacenterConnectorsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Gets details of a single DatacenterConnector.
+     * 
+ */ + public void getDatacenterConnector( + com.google.cloud.vmmigration.v1.GetDatacenterConnectorRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetDatacenterConnectorMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Creates a new DatacenterConnector in a given Source.
+     * 
+ */ + public void createDatacenterConnector( + com.google.cloud.vmmigration.v1.CreateDatacenterConnectorRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateDatacenterConnectorMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Deletes a single DatacenterConnector.
+     * 
+ */ + public void deleteDatacenterConnector( + com.google.cloud.vmmigration.v1.DeleteDatacenterConnectorRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteDatacenterConnectorMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Upgrades the appliance relate to this DatacenterConnector to the in-place
+     * updateable version.
+     * 
+ */ + public void upgradeAppliance( + com.google.cloud.vmmigration.v1.UpgradeApplianceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpgradeApplianceMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Creates a new MigratingVm in a given Source.
+     * 
+ */ + public void createMigratingVm( + com.google.cloud.vmmigration.v1.CreateMigratingVmRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateMigratingVmMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Lists MigratingVms in a given Source.
+     * 
+ */ + public void listMigratingVms( + com.google.cloud.vmmigration.v1.ListMigratingVmsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListMigratingVmsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Gets details of a single MigratingVm.
+     * 
+ */ + public void getMigratingVm( + com.google.cloud.vmmigration.v1.GetMigratingVmRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetMigratingVmMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Updates the parameters of a single MigratingVm.
+     * 
+ */ + public void updateMigratingVm( + com.google.cloud.vmmigration.v1.UpdateMigratingVmRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateMigratingVmMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Deletes a single MigratingVm.
+     * 
+ */ + public void deleteMigratingVm( + com.google.cloud.vmmigration.v1.DeleteMigratingVmRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteMigratingVmMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Starts migration for a VM. Starts the process of uploading
+     * data and creating snapshots, in replication cycles scheduled by the policy.
+     * 
+ */ + public void startMigration( + com.google.cloud.vmmigration.v1.StartMigrationRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getStartMigrationMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Resumes a migration for a VM. When called on a paused migration, will start
+     * the process of uploading data and creating snapshots; when called on a
+     * completed cut-over migration, will update the migration to active state and
+     * start the process of uploading data and creating snapshots.
+     * 
+ */ + public void resumeMigration( + com.google.cloud.vmmigration.v1.ResumeMigrationRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getResumeMigrationMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Pauses a migration for a VM. If cycle tasks are running they will be
+     * cancelled, preserving source task data. Further replication cycles will not
+     * be triggered while the VM is paused.
+     * 
+ */ + public void pauseMigration( + com.google.cloud.vmmigration.v1.PauseMigrationRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getPauseMigrationMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Marks a migration as completed, deleting migration resources that are no
+     * longer being used. Only applicable after cutover is done.
+     * 
+ */ + public void finalizeMigration( + com.google.cloud.vmmigration.v1.FinalizeMigrationRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getFinalizeMigrationMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Initiates a Clone of a specific migrating VM.
+     * 
+ */ + public void createCloneJob( + com.google.cloud.vmmigration.v1.CreateCloneJobRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateCloneJobMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Initiates the cancellation of a running clone job.
+     * 
+ */ + public void cancelCloneJob( + com.google.cloud.vmmigration.v1.CancelCloneJobRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCancelCloneJobMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Lists CloneJobs of a given migrating VM.
+     * 
+ */ + public void listCloneJobs( + com.google.cloud.vmmigration.v1.ListCloneJobsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListCloneJobsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Gets details of a single CloneJob.
+     * 
+ */ + public void getCloneJob( + com.google.cloud.vmmigration.v1.GetCloneJobRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetCloneJobMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Initiates a Cutover of a specific migrating VM.
+     * The returned LRO is completed when the cutover job resource is created
+     * and the job is initiated.
+     * 
+ */ + public void createCutoverJob( + com.google.cloud.vmmigration.v1.CreateCutoverJobRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateCutoverJobMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Initiates the cancellation of a running cutover job.
+     * 
+ */ + public void cancelCutoverJob( + com.google.cloud.vmmigration.v1.CancelCutoverJobRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCancelCutoverJobMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Lists CutoverJobs of a given migrating VM.
+     * 
+ */ + public void listCutoverJobs( + com.google.cloud.vmmigration.v1.ListCutoverJobsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListCutoverJobsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Gets details of a single CutoverJob.
+     * 
+ */ + public void getCutoverJob( + com.google.cloud.vmmigration.v1.GetCutoverJobRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetCutoverJobMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Lists Groups in a given project and location.
+     * 
+ */ + public void listGroups( + com.google.cloud.vmmigration.v1.ListGroupsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListGroupsMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * Gets details of a single Group.
+     * 
+ */ + public void getGroup( + com.google.cloud.vmmigration.v1.GetGroupRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetGroupMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * Creates a new Group in a given project and location.
+     * 
+ */ + public void createGroup( + com.google.cloud.vmmigration.v1.CreateGroupRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateGroupMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Updates the parameters of a single Group.
+     * 
+ */ + public void updateGroup( + com.google.cloud.vmmigration.v1.UpdateGroupRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateGroupMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Deletes a single Group.
+     * 
+ */ + public void deleteGroup( + com.google.cloud.vmmigration.v1.DeleteGroupRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteGroupMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Adds a MigratingVm to a Group.
+     * 
+ */ + public void addGroupMigration( + com.google.cloud.vmmigration.v1.AddGroupMigrationRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getAddGroupMigrationMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Removes a MigratingVm from a Group.
+     * 
+ */ + public void removeGroupMigration( + com.google.cloud.vmmigration.v1.RemoveGroupMigrationRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getRemoveGroupMigrationMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Lists TargetProjects in a given project.
+     * NOTE: TargetProject is a global resource; hence the only supported value
+     * for location is `global`.
+     * 
+ */ + public void listTargetProjects( + com.google.cloud.vmmigration.v1.ListTargetProjectsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListTargetProjectsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Gets details of a single TargetProject.
+     * NOTE: TargetProject is a global resource; hence the only supported value
+     * for location is `global`.
+     * 
+ */ + public void getTargetProject( + com.google.cloud.vmmigration.v1.GetTargetProjectRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetTargetProjectMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Creates a new TargetProject in a given project.
+     * NOTE: TargetProject is a global resource; hence the only supported value
+     * for location is `global`.
+     * 
+ */ + public void createTargetProject( + com.google.cloud.vmmigration.v1.CreateTargetProjectRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateTargetProjectMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Updates the parameters of a single TargetProject.
+     * NOTE: TargetProject is a global resource; hence the only supported value
+     * for location is `global`.
+     * 
+ */ + public void updateTargetProject( + com.google.cloud.vmmigration.v1.UpdateTargetProjectRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateTargetProjectMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Deletes a single TargetProject.
+     * NOTE: TargetProject is a global resource; hence the only supported value
+     * for location is `global`.
+     * 
+ */ + public void deleteTargetProject( + com.google.cloud.vmmigration.v1.DeleteTargetProjectRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteTargetProjectMethod(), getCallOptions()), + request, + responseObserver); + } + } + + /** + * + * + *
+   * VM Migration Service
+   * 
+ */ + public static final class VmMigrationBlockingStub + extends io.grpc.stub.AbstractBlockingStub { + private VmMigrationBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected VmMigrationBlockingStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new VmMigrationBlockingStub(channel, callOptions); + } + + /** + * + * + *
+     * Lists Sources in a given project and location.
+     * 
+ */ + public com.google.cloud.vmmigration.v1.ListSourcesResponse listSources( + com.google.cloud.vmmigration.v1.ListSourcesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListSourcesMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Gets details of a single Source.
+     * 
+ */ + public com.google.cloud.vmmigration.v1.Source getSource( + com.google.cloud.vmmigration.v1.GetSourceRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetSourceMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Creates a new Source in a given project and location.
+     * 
+ */ + public com.google.longrunning.Operation createSource( + com.google.cloud.vmmigration.v1.CreateSourceRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateSourceMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Updates the parameters of a single Source.
+     * 
+ */ + public com.google.longrunning.Operation updateSource( + com.google.cloud.vmmigration.v1.UpdateSourceRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateSourceMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Deletes a single Source.
+     * 
+ */ + public com.google.longrunning.Operation deleteSource( + com.google.cloud.vmmigration.v1.DeleteSourceRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteSourceMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * List remote source's inventory of VMs.
+     * The remote source is the onprem vCenter (remote in the sense it's not in
+     * Compute Engine). The inventory describes the list of existing VMs in that
+     * source. Note that this operation lists the VMs on the remote source, as
+     * opposed to listing the MigratingVms resources in the vmmigration service.
+     * 
+ */ + public com.google.cloud.vmmigration.v1.FetchInventoryResponse fetchInventory( + com.google.cloud.vmmigration.v1.FetchInventoryRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getFetchInventoryMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists Utilization Reports of the given Source.
+     * 
+ */ + public com.google.cloud.vmmigration.v1.ListUtilizationReportsResponse listUtilizationReports( + com.google.cloud.vmmigration.v1.ListUtilizationReportsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListUtilizationReportsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Gets a single Utilization Report.
+     * 
+ */ + public com.google.cloud.vmmigration.v1.UtilizationReport getUtilizationReport( + com.google.cloud.vmmigration.v1.GetUtilizationReportRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetUtilizationReportMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Creates a new UtilizationReport.
+     * 
+ */ + public com.google.longrunning.Operation createUtilizationReport( + com.google.cloud.vmmigration.v1.CreateUtilizationReportRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateUtilizationReportMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Deletes a single Utilization Report.
+     * 
+ */ + public com.google.longrunning.Operation deleteUtilizationReport( + com.google.cloud.vmmigration.v1.DeleteUtilizationReportRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteUtilizationReportMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists DatacenterConnectors in a given Source.
+     * 
+ */ + public com.google.cloud.vmmigration.v1.ListDatacenterConnectorsResponse + listDatacenterConnectors( + com.google.cloud.vmmigration.v1.ListDatacenterConnectorsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListDatacenterConnectorsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Gets details of a single DatacenterConnector.
+     * 
+ */ + public com.google.cloud.vmmigration.v1.DatacenterConnector getDatacenterConnector( + com.google.cloud.vmmigration.v1.GetDatacenterConnectorRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetDatacenterConnectorMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Creates a new DatacenterConnector in a given Source.
+     * 
+ */ + public com.google.longrunning.Operation createDatacenterConnector( + com.google.cloud.vmmigration.v1.CreateDatacenterConnectorRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateDatacenterConnectorMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Deletes a single DatacenterConnector.
+     * 
+ */ + public com.google.longrunning.Operation deleteDatacenterConnector( + com.google.cloud.vmmigration.v1.DeleteDatacenterConnectorRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteDatacenterConnectorMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Upgrades the appliance relate to this DatacenterConnector to the in-place
+     * updateable version.
+     * 
+ */ + public com.google.longrunning.Operation upgradeAppliance( + com.google.cloud.vmmigration.v1.UpgradeApplianceRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpgradeApplianceMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Creates a new MigratingVm in a given Source.
+     * 
+ */ + public com.google.longrunning.Operation createMigratingVm( + com.google.cloud.vmmigration.v1.CreateMigratingVmRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateMigratingVmMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists MigratingVms in a given Source.
+     * 
+ */ + public com.google.cloud.vmmigration.v1.ListMigratingVmsResponse listMigratingVms( + com.google.cloud.vmmigration.v1.ListMigratingVmsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListMigratingVmsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Gets details of a single MigratingVm.
+     * 
+ */ + public com.google.cloud.vmmigration.v1.MigratingVm getMigratingVm( + com.google.cloud.vmmigration.v1.GetMigratingVmRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetMigratingVmMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Updates the parameters of a single MigratingVm.
+     * 
+ */ + public com.google.longrunning.Operation updateMigratingVm( + com.google.cloud.vmmigration.v1.UpdateMigratingVmRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateMigratingVmMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Deletes a single MigratingVm.
+     * 
+ */ + public com.google.longrunning.Operation deleteMigratingVm( + com.google.cloud.vmmigration.v1.DeleteMigratingVmRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteMigratingVmMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Starts migration for a VM. Starts the process of uploading
+     * data and creating snapshots, in replication cycles scheduled by the policy.
+     * 
+ */ + public com.google.longrunning.Operation startMigration( + com.google.cloud.vmmigration.v1.StartMigrationRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getStartMigrationMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Resumes a migration for a VM. When called on a paused migration, will start
+     * the process of uploading data and creating snapshots; when called on a
+     * completed cut-over migration, will update the migration to active state and
+     * start the process of uploading data and creating snapshots.
+     * 
+ */ + public com.google.longrunning.Operation resumeMigration( + com.google.cloud.vmmigration.v1.ResumeMigrationRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getResumeMigrationMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Pauses a migration for a VM. If cycle tasks are running they will be
+     * cancelled, preserving source task data. Further replication cycles will not
+     * be triggered while the VM is paused.
+     * 
+ */ + public com.google.longrunning.Operation pauseMigration( + com.google.cloud.vmmigration.v1.PauseMigrationRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getPauseMigrationMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Marks a migration as completed, deleting migration resources that are no
+     * longer being used. Only applicable after cutover is done.
+     * 
+ */ + public com.google.longrunning.Operation finalizeMigration( + com.google.cloud.vmmigration.v1.FinalizeMigrationRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getFinalizeMigrationMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Initiates a Clone of a specific migrating VM.
+     * 
+ */ + public com.google.longrunning.Operation createCloneJob( + com.google.cloud.vmmigration.v1.CreateCloneJobRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateCloneJobMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Initiates the cancellation of a running clone job.
+     * 
+ */ + public com.google.longrunning.Operation cancelCloneJob( + com.google.cloud.vmmigration.v1.CancelCloneJobRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCancelCloneJobMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists CloneJobs of a given migrating VM.
+     * 
+ */ + public com.google.cloud.vmmigration.v1.ListCloneJobsResponse listCloneJobs( + com.google.cloud.vmmigration.v1.ListCloneJobsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListCloneJobsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Gets details of a single CloneJob.
+     * 
+ */ + public com.google.cloud.vmmigration.v1.CloneJob getCloneJob( + com.google.cloud.vmmigration.v1.GetCloneJobRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetCloneJobMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Initiates a Cutover of a specific migrating VM.
+     * The returned LRO is completed when the cutover job resource is created
+     * and the job is initiated.
+     * 
+ */ + public com.google.longrunning.Operation createCutoverJob( + com.google.cloud.vmmigration.v1.CreateCutoverJobRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateCutoverJobMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Initiates the cancellation of a running cutover job.
+     * 
+ */ + public com.google.longrunning.Operation cancelCutoverJob( + com.google.cloud.vmmigration.v1.CancelCutoverJobRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCancelCutoverJobMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists CutoverJobs of a given migrating VM.
+     * 
+ */ + public com.google.cloud.vmmigration.v1.ListCutoverJobsResponse listCutoverJobs( + com.google.cloud.vmmigration.v1.ListCutoverJobsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListCutoverJobsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Gets details of a single CutoverJob.
+     * 
+ */ + public com.google.cloud.vmmigration.v1.CutoverJob getCutoverJob( + com.google.cloud.vmmigration.v1.GetCutoverJobRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetCutoverJobMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists Groups in a given project and location.
+     * 
+ */ + public com.google.cloud.vmmigration.v1.ListGroupsResponse listGroups( + com.google.cloud.vmmigration.v1.ListGroupsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListGroupsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Gets details of a single Group.
+     * 
+ */ + public com.google.cloud.vmmigration.v1.Group getGroup( + com.google.cloud.vmmigration.v1.GetGroupRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetGroupMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Creates a new Group in a given project and location.
+     * 
+ */ + public com.google.longrunning.Operation createGroup( + com.google.cloud.vmmigration.v1.CreateGroupRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateGroupMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Updates the parameters of a single Group.
+     * 
+ */ + public com.google.longrunning.Operation updateGroup( + com.google.cloud.vmmigration.v1.UpdateGroupRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateGroupMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Deletes a single Group.
+     * 
+ */ + public com.google.longrunning.Operation deleteGroup( + com.google.cloud.vmmigration.v1.DeleteGroupRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteGroupMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Adds a MigratingVm to a Group.
+     * 
+ */ + public com.google.longrunning.Operation addGroupMigration( + com.google.cloud.vmmigration.v1.AddGroupMigrationRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getAddGroupMigrationMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Removes a MigratingVm from a Group.
+     * 
+ */ + public com.google.longrunning.Operation removeGroupMigration( + com.google.cloud.vmmigration.v1.RemoveGroupMigrationRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getRemoveGroupMigrationMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists TargetProjects in a given project.
+     * NOTE: TargetProject is a global resource; hence the only supported value
+     * for location is `global`.
+     * 
+ */ + public com.google.cloud.vmmigration.v1.ListTargetProjectsResponse listTargetProjects( + com.google.cloud.vmmigration.v1.ListTargetProjectsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListTargetProjectsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Gets details of a single TargetProject.
+     * NOTE: TargetProject is a global resource; hence the only supported value
+     * for location is `global`.
+     * 
+ */ + public com.google.cloud.vmmigration.v1.TargetProject getTargetProject( + com.google.cloud.vmmigration.v1.GetTargetProjectRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetTargetProjectMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Creates a new TargetProject in a given project.
+     * NOTE: TargetProject is a global resource; hence the only supported value
+     * for location is `global`.
+     * 
+ */ + public com.google.longrunning.Operation createTargetProject( + com.google.cloud.vmmigration.v1.CreateTargetProjectRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateTargetProjectMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Updates the parameters of a single TargetProject.
+     * NOTE: TargetProject is a global resource; hence the only supported value
+     * for location is `global`.
+     * 
+ */ + public com.google.longrunning.Operation updateTargetProject( + com.google.cloud.vmmigration.v1.UpdateTargetProjectRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateTargetProjectMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Deletes a single TargetProject.
+     * NOTE: TargetProject is a global resource; hence the only supported value
+     * for location is `global`.
+     * 
+ */ + public com.google.longrunning.Operation deleteTargetProject( + com.google.cloud.vmmigration.v1.DeleteTargetProjectRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteTargetProjectMethod(), getCallOptions(), request); + } + } + + /** + * + * + *
+   * VM Migration Service
+   * 
+ */ + public static final class VmMigrationFutureStub + extends io.grpc.stub.AbstractFutureStub { + private VmMigrationFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected VmMigrationFutureStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new VmMigrationFutureStub(channel, callOptions); + } + + /** + * + * + *
+     * Lists Sources in a given project and location.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.vmmigration.v1.ListSourcesResponse> + listSources(com.google.cloud.vmmigration.v1.ListSourcesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListSourcesMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Gets details of a single Source.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.vmmigration.v1.Source> + getSource(com.google.cloud.vmmigration.v1.GetSourceRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetSourceMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Creates a new Source in a given project and location.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + createSource(com.google.cloud.vmmigration.v1.CreateSourceRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateSourceMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Updates the parameters of a single Source.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + updateSource(com.google.cloud.vmmigration.v1.UpdateSourceRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateSourceMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Deletes a single Source.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + deleteSource(com.google.cloud.vmmigration.v1.DeleteSourceRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteSourceMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * List remote source's inventory of VMs.
+     * The remote source is the onprem vCenter (remote in the sense it's not in
+     * Compute Engine). The inventory describes the list of existing VMs in that
+     * source. Note that this operation lists the VMs on the remote source, as
+     * opposed to listing the MigratingVms resources in the vmmigration service.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.vmmigration.v1.FetchInventoryResponse> + fetchInventory(com.google.cloud.vmmigration.v1.FetchInventoryRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getFetchInventoryMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lists Utilization Reports of the given Source.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.vmmigration.v1.ListUtilizationReportsResponse> + listUtilizationReports( + com.google.cloud.vmmigration.v1.ListUtilizationReportsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListUtilizationReportsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Gets a single Utilization Report.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.vmmigration.v1.UtilizationReport> + getUtilizationReport(com.google.cloud.vmmigration.v1.GetUtilizationReportRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetUtilizationReportMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Creates a new UtilizationReport.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + createUtilizationReport( + com.google.cloud.vmmigration.v1.CreateUtilizationReportRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateUtilizationReportMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Deletes a single Utilization Report.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + deleteUtilizationReport( + com.google.cloud.vmmigration.v1.DeleteUtilizationReportRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteUtilizationReportMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lists DatacenterConnectors in a given Source.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.vmmigration.v1.ListDatacenterConnectorsResponse> + listDatacenterConnectors( + com.google.cloud.vmmigration.v1.ListDatacenterConnectorsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListDatacenterConnectorsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Gets details of a single DatacenterConnector.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.vmmigration.v1.DatacenterConnector> + getDatacenterConnector( + com.google.cloud.vmmigration.v1.GetDatacenterConnectorRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetDatacenterConnectorMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Creates a new DatacenterConnector in a given Source.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + createDatacenterConnector( + com.google.cloud.vmmigration.v1.CreateDatacenterConnectorRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateDatacenterConnectorMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Deletes a single DatacenterConnector.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + deleteDatacenterConnector( + com.google.cloud.vmmigration.v1.DeleteDatacenterConnectorRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteDatacenterConnectorMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Upgrades the appliance relate to this DatacenterConnector to the in-place
+     * updateable version.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + upgradeAppliance(com.google.cloud.vmmigration.v1.UpgradeApplianceRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpgradeApplianceMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Creates a new MigratingVm in a given Source.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + createMigratingVm(com.google.cloud.vmmigration.v1.CreateMigratingVmRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateMigratingVmMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lists MigratingVms in a given Source.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.vmmigration.v1.ListMigratingVmsResponse> + listMigratingVms(com.google.cloud.vmmigration.v1.ListMigratingVmsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListMigratingVmsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Gets details of a single MigratingVm.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.vmmigration.v1.MigratingVm> + getMigratingVm(com.google.cloud.vmmigration.v1.GetMigratingVmRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetMigratingVmMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Updates the parameters of a single MigratingVm.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + updateMigratingVm(com.google.cloud.vmmigration.v1.UpdateMigratingVmRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateMigratingVmMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Deletes a single MigratingVm.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + deleteMigratingVm(com.google.cloud.vmmigration.v1.DeleteMigratingVmRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteMigratingVmMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Starts migration for a VM. Starts the process of uploading
+     * data and creating snapshots, in replication cycles scheduled by the policy.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + startMigration(com.google.cloud.vmmigration.v1.StartMigrationRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getStartMigrationMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Resumes a migration for a VM. When called on a paused migration, will start
+     * the process of uploading data and creating snapshots; when called on a
+     * completed cut-over migration, will update the migration to active state and
+     * start the process of uploading data and creating snapshots.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + resumeMigration(com.google.cloud.vmmigration.v1.ResumeMigrationRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getResumeMigrationMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Pauses a migration for a VM. If cycle tasks are running they will be
+     * cancelled, preserving source task data. Further replication cycles will not
+     * be triggered while the VM is paused.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + pauseMigration(com.google.cloud.vmmigration.v1.PauseMigrationRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getPauseMigrationMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Marks a migration as completed, deleting migration resources that are no
+     * longer being used. Only applicable after cutover is done.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + finalizeMigration(com.google.cloud.vmmigration.v1.FinalizeMigrationRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getFinalizeMigrationMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Initiates a Clone of a specific migrating VM.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + createCloneJob(com.google.cloud.vmmigration.v1.CreateCloneJobRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateCloneJobMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Initiates the cancellation of a running clone job.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + cancelCloneJob(com.google.cloud.vmmigration.v1.CancelCloneJobRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCancelCloneJobMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lists CloneJobs of a given migrating VM.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.vmmigration.v1.ListCloneJobsResponse> + listCloneJobs(com.google.cloud.vmmigration.v1.ListCloneJobsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListCloneJobsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Gets details of a single CloneJob.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.vmmigration.v1.CloneJob> + getCloneJob(com.google.cloud.vmmigration.v1.GetCloneJobRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetCloneJobMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Initiates a Cutover of a specific migrating VM.
+     * The returned LRO is completed when the cutover job resource is created
+     * and the job is initiated.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + createCutoverJob(com.google.cloud.vmmigration.v1.CreateCutoverJobRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateCutoverJobMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Initiates the cancellation of a running cutover job.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + cancelCutoverJob(com.google.cloud.vmmigration.v1.CancelCutoverJobRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCancelCutoverJobMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lists CutoverJobs of a given migrating VM.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.vmmigration.v1.ListCutoverJobsResponse> + listCutoverJobs(com.google.cloud.vmmigration.v1.ListCutoverJobsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListCutoverJobsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Gets details of a single CutoverJob.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.vmmigration.v1.CutoverJob> + getCutoverJob(com.google.cloud.vmmigration.v1.GetCutoverJobRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetCutoverJobMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lists Groups in a given project and location.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.vmmigration.v1.ListGroupsResponse> + listGroups(com.google.cloud.vmmigration.v1.ListGroupsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListGroupsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Gets details of a single Group.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + getGroup(com.google.cloud.vmmigration.v1.GetGroupRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetGroupMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Creates a new Group in a given project and location.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + createGroup(com.google.cloud.vmmigration.v1.CreateGroupRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateGroupMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Updates the parameters of a single Group.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + updateGroup(com.google.cloud.vmmigration.v1.UpdateGroupRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateGroupMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Deletes a single Group.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + deleteGroup(com.google.cloud.vmmigration.v1.DeleteGroupRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteGroupMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Adds a MigratingVm to a Group.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + addGroupMigration(com.google.cloud.vmmigration.v1.AddGroupMigrationRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getAddGroupMigrationMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Removes a MigratingVm from a Group.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + removeGroupMigration(com.google.cloud.vmmigration.v1.RemoveGroupMigrationRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getRemoveGroupMigrationMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lists TargetProjects in a given project.
+     * NOTE: TargetProject is a global resource; hence the only supported value
+     * for location is `global`.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.vmmigration.v1.ListTargetProjectsResponse> + listTargetProjects(com.google.cloud.vmmigration.v1.ListTargetProjectsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListTargetProjectsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Gets details of a single TargetProject.
+     * NOTE: TargetProject is a global resource; hence the only supported value
+     * for location is `global`.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.vmmigration.v1.TargetProject> + getTargetProject(com.google.cloud.vmmigration.v1.GetTargetProjectRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetTargetProjectMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Creates a new TargetProject in a given project.
+     * NOTE: TargetProject is a global resource; hence the only supported value
+     * for location is `global`.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + createTargetProject(com.google.cloud.vmmigration.v1.CreateTargetProjectRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateTargetProjectMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Updates the parameters of a single TargetProject.
+     * NOTE: TargetProject is a global resource; hence the only supported value
+     * for location is `global`.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + updateTargetProject(com.google.cloud.vmmigration.v1.UpdateTargetProjectRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateTargetProjectMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Deletes a single TargetProject.
+     * NOTE: TargetProject is a global resource; hence the only supported value
+     * for location is `global`.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + deleteTargetProject(com.google.cloud.vmmigration.v1.DeleteTargetProjectRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteTargetProjectMethod(), getCallOptions()), request); + } + } + + private static final int METHODID_LIST_SOURCES = 0; + private static final int METHODID_GET_SOURCE = 1; + private static final int METHODID_CREATE_SOURCE = 2; + private static final int METHODID_UPDATE_SOURCE = 3; + private static final int METHODID_DELETE_SOURCE = 4; + private static final int METHODID_FETCH_INVENTORY = 5; + private static final int METHODID_LIST_UTILIZATION_REPORTS = 6; + private static final int METHODID_GET_UTILIZATION_REPORT = 7; + private static final int METHODID_CREATE_UTILIZATION_REPORT = 8; + private static final int METHODID_DELETE_UTILIZATION_REPORT = 9; + private static final int METHODID_LIST_DATACENTER_CONNECTORS = 10; + private static final int METHODID_GET_DATACENTER_CONNECTOR = 11; + private static final int METHODID_CREATE_DATACENTER_CONNECTOR = 12; + private static final int METHODID_DELETE_DATACENTER_CONNECTOR = 13; + private static final int METHODID_UPGRADE_APPLIANCE = 14; + private static final int METHODID_CREATE_MIGRATING_VM = 15; + private static final int METHODID_LIST_MIGRATING_VMS = 16; + private static final int METHODID_GET_MIGRATING_VM = 17; + private static final int METHODID_UPDATE_MIGRATING_VM = 18; + private static final int METHODID_DELETE_MIGRATING_VM = 19; + private static final int METHODID_START_MIGRATION = 20; + private static final int METHODID_RESUME_MIGRATION = 21; + private static final int METHODID_PAUSE_MIGRATION = 22; + private static final int METHODID_FINALIZE_MIGRATION = 23; + private static final int METHODID_CREATE_CLONE_JOB = 24; + private static final int METHODID_CANCEL_CLONE_JOB = 25; + private static final int METHODID_LIST_CLONE_JOBS = 26; + private static final int METHODID_GET_CLONE_JOB = 27; + private static final int METHODID_CREATE_CUTOVER_JOB = 28; + private static final int METHODID_CANCEL_CUTOVER_JOB = 29; + private static final int METHODID_LIST_CUTOVER_JOBS = 30; + private static final int METHODID_GET_CUTOVER_JOB = 31; + private static final int METHODID_LIST_GROUPS = 32; + private static final int METHODID_GET_GROUP = 33; + private static final int METHODID_CREATE_GROUP = 34; + private static final int METHODID_UPDATE_GROUP = 35; + private static final int METHODID_DELETE_GROUP = 36; + private static final int METHODID_ADD_GROUP_MIGRATION = 37; + private static final int METHODID_REMOVE_GROUP_MIGRATION = 38; + private static final int METHODID_LIST_TARGET_PROJECTS = 39; + private static final int METHODID_GET_TARGET_PROJECT = 40; + private static final int METHODID_CREATE_TARGET_PROJECT = 41; + private static final int METHODID_UPDATE_TARGET_PROJECT = 42; + private static final int METHODID_DELETE_TARGET_PROJECT = 43; + + 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 VmMigrationImplBase serviceImpl; + private final int methodId; + + MethodHandlers(VmMigrationImplBase 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_LIST_SOURCES: + serviceImpl.listSources( + (com.google.cloud.vmmigration.v1.ListSourcesRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_GET_SOURCE: + serviceImpl.getSource( + (com.google.cloud.vmmigration.v1.GetSourceRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_CREATE_SOURCE: + serviceImpl.createSource( + (com.google.cloud.vmmigration.v1.CreateSourceRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_SOURCE: + serviceImpl.updateSource( + (com.google.cloud.vmmigration.v1.UpdateSourceRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_SOURCE: + serviceImpl.deleteSource( + (com.google.cloud.vmmigration.v1.DeleteSourceRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_FETCH_INVENTORY: + serviceImpl.fetchInventory( + (com.google.cloud.vmmigration.v1.FetchInventoryRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_LIST_UTILIZATION_REPORTS: + serviceImpl.listUtilizationReports( + (com.google.cloud.vmmigration.v1.ListUtilizationReportsRequest) request, + (io.grpc.stub.StreamObserver< + com.google.cloud.vmmigration.v1.ListUtilizationReportsResponse>) + responseObserver); + break; + case METHODID_GET_UTILIZATION_REPORT: + serviceImpl.getUtilizationReport( + (com.google.cloud.vmmigration.v1.GetUtilizationReportRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_CREATE_UTILIZATION_REPORT: + serviceImpl.createUtilizationReport( + (com.google.cloud.vmmigration.v1.CreateUtilizationReportRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_UTILIZATION_REPORT: + serviceImpl.deleteUtilizationReport( + (com.google.cloud.vmmigration.v1.DeleteUtilizationReportRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_DATACENTER_CONNECTORS: + serviceImpl.listDatacenterConnectors( + (com.google.cloud.vmmigration.v1.ListDatacenterConnectorsRequest) request, + (io.grpc.stub.StreamObserver< + com.google.cloud.vmmigration.v1.ListDatacenterConnectorsResponse>) + responseObserver); + break; + case METHODID_GET_DATACENTER_CONNECTOR: + serviceImpl.getDatacenterConnector( + (com.google.cloud.vmmigration.v1.GetDatacenterConnectorRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_CREATE_DATACENTER_CONNECTOR: + serviceImpl.createDatacenterConnector( + (com.google.cloud.vmmigration.v1.CreateDatacenterConnectorRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_DATACENTER_CONNECTOR: + serviceImpl.deleteDatacenterConnector( + (com.google.cloud.vmmigration.v1.DeleteDatacenterConnectorRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPGRADE_APPLIANCE: + serviceImpl.upgradeAppliance( + (com.google.cloud.vmmigration.v1.UpgradeApplianceRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CREATE_MIGRATING_VM: + serviceImpl.createMigratingVm( + (com.google.cloud.vmmigration.v1.CreateMigratingVmRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_MIGRATING_VMS: + serviceImpl.listMigratingVms( + (com.google.cloud.vmmigration.v1.ListMigratingVmsRequest) request, + (io.grpc.stub.StreamObserver< + com.google.cloud.vmmigration.v1.ListMigratingVmsResponse>) + responseObserver); + break; + case METHODID_GET_MIGRATING_VM: + serviceImpl.getMigratingVm( + (com.google.cloud.vmmigration.v1.GetMigratingVmRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_UPDATE_MIGRATING_VM: + serviceImpl.updateMigratingVm( + (com.google.cloud.vmmigration.v1.UpdateMigratingVmRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_MIGRATING_VM: + serviceImpl.deleteMigratingVm( + (com.google.cloud.vmmigration.v1.DeleteMigratingVmRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_START_MIGRATION: + serviceImpl.startMigration( + (com.google.cloud.vmmigration.v1.StartMigrationRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_RESUME_MIGRATION: + serviceImpl.resumeMigration( + (com.google.cloud.vmmigration.v1.ResumeMigrationRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_PAUSE_MIGRATION: + serviceImpl.pauseMigration( + (com.google.cloud.vmmigration.v1.PauseMigrationRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_FINALIZE_MIGRATION: + serviceImpl.finalizeMigration( + (com.google.cloud.vmmigration.v1.FinalizeMigrationRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CREATE_CLONE_JOB: + serviceImpl.createCloneJob( + (com.google.cloud.vmmigration.v1.CreateCloneJobRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CANCEL_CLONE_JOB: + serviceImpl.cancelCloneJob( + (com.google.cloud.vmmigration.v1.CancelCloneJobRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_CLONE_JOBS: + serviceImpl.listCloneJobs( + (com.google.cloud.vmmigration.v1.ListCloneJobsRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_GET_CLONE_JOB: + serviceImpl.getCloneJob( + (com.google.cloud.vmmigration.v1.GetCloneJobRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_CREATE_CUTOVER_JOB: + serviceImpl.createCutoverJob( + (com.google.cloud.vmmigration.v1.CreateCutoverJobRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CANCEL_CUTOVER_JOB: + serviceImpl.cancelCutoverJob( + (com.google.cloud.vmmigration.v1.CancelCutoverJobRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_CUTOVER_JOBS: + serviceImpl.listCutoverJobs( + (com.google.cloud.vmmigration.v1.ListCutoverJobsRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_GET_CUTOVER_JOB: + serviceImpl.getCutoverJob( + (com.google.cloud.vmmigration.v1.GetCutoverJobRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_LIST_GROUPS: + serviceImpl.listGroups( + (com.google.cloud.vmmigration.v1.ListGroupsRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_GET_GROUP: + serviceImpl.getGroup( + (com.google.cloud.vmmigration.v1.GetGroupRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_CREATE_GROUP: + serviceImpl.createGroup( + (com.google.cloud.vmmigration.v1.CreateGroupRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_GROUP: + serviceImpl.updateGroup( + (com.google.cloud.vmmigration.v1.UpdateGroupRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_GROUP: + serviceImpl.deleteGroup( + (com.google.cloud.vmmigration.v1.DeleteGroupRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_ADD_GROUP_MIGRATION: + serviceImpl.addGroupMigration( + (com.google.cloud.vmmigration.v1.AddGroupMigrationRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_REMOVE_GROUP_MIGRATION: + serviceImpl.removeGroupMigration( + (com.google.cloud.vmmigration.v1.RemoveGroupMigrationRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_TARGET_PROJECTS: + serviceImpl.listTargetProjects( + (com.google.cloud.vmmigration.v1.ListTargetProjectsRequest) request, + (io.grpc.stub.StreamObserver< + com.google.cloud.vmmigration.v1.ListTargetProjectsResponse>) + responseObserver); + break; + case METHODID_GET_TARGET_PROJECT: + serviceImpl.getTargetProject( + (com.google.cloud.vmmigration.v1.GetTargetProjectRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_CREATE_TARGET_PROJECT: + serviceImpl.createTargetProject( + (com.google.cloud.vmmigration.v1.CreateTargetProjectRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_TARGET_PROJECT: + serviceImpl.updateTargetProject( + (com.google.cloud.vmmigration.v1.UpdateTargetProjectRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_TARGET_PROJECT: + serviceImpl.deleteTargetProject( + (com.google.cloud.vmmigration.v1.DeleteTargetProjectRequest) 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(); + } + } + } + + private abstract static class VmMigrationBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, + io.grpc.protobuf.ProtoServiceDescriptorSupplier { + VmMigrationBaseDescriptorSupplier() {} + + @java.lang.Override + public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto.getDescriptor(); + } + + @java.lang.Override + public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { + return getFileDescriptor().findServiceByName("VmMigration"); + } + } + + private static final class VmMigrationFileDescriptorSupplier + extends VmMigrationBaseDescriptorSupplier { + VmMigrationFileDescriptorSupplier() {} + } + + private static final class VmMigrationMethodDescriptorSupplier + extends VmMigrationBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { + private final String methodName; + + VmMigrationMethodDescriptorSupplier(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 (VmMigrationGrpc.class) { + result = serviceDescriptor; + if (result == null) { + serviceDescriptor = + result = + io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new VmMigrationFileDescriptorSupplier()) + .addMethod(getListSourcesMethod()) + .addMethod(getGetSourceMethod()) + .addMethod(getCreateSourceMethod()) + .addMethod(getUpdateSourceMethod()) + .addMethod(getDeleteSourceMethod()) + .addMethod(getFetchInventoryMethod()) + .addMethod(getListUtilizationReportsMethod()) + .addMethod(getGetUtilizationReportMethod()) + .addMethod(getCreateUtilizationReportMethod()) + .addMethod(getDeleteUtilizationReportMethod()) + .addMethod(getListDatacenterConnectorsMethod()) + .addMethod(getGetDatacenterConnectorMethod()) + .addMethod(getCreateDatacenterConnectorMethod()) + .addMethod(getDeleteDatacenterConnectorMethod()) + .addMethod(getUpgradeApplianceMethod()) + .addMethod(getCreateMigratingVmMethod()) + .addMethod(getListMigratingVmsMethod()) + .addMethod(getGetMigratingVmMethod()) + .addMethod(getUpdateMigratingVmMethod()) + .addMethod(getDeleteMigratingVmMethod()) + .addMethod(getStartMigrationMethod()) + .addMethod(getResumeMigrationMethod()) + .addMethod(getPauseMigrationMethod()) + .addMethod(getFinalizeMigrationMethod()) + .addMethod(getCreateCloneJobMethod()) + .addMethod(getCancelCloneJobMethod()) + .addMethod(getListCloneJobsMethod()) + .addMethod(getGetCloneJobMethod()) + .addMethod(getCreateCutoverJobMethod()) + .addMethod(getCancelCutoverJobMethod()) + .addMethod(getListCutoverJobsMethod()) + .addMethod(getGetCutoverJobMethod()) + .addMethod(getListGroupsMethod()) + .addMethod(getGetGroupMethod()) + .addMethod(getCreateGroupMethod()) + .addMethod(getUpdateGroupMethod()) + .addMethod(getDeleteGroupMethod()) + .addMethod(getAddGroupMigrationMethod()) + .addMethod(getRemoveGroupMigrationMethod()) + .addMethod(getListTargetProjectsMethod()) + .addMethod(getGetTargetProjectMethod()) + .addMethod(getCreateTargetProjectMethod()) + .addMethod(getUpdateTargetProjectMethod()) + .addMethod(getDeleteTargetProjectMethod()) + .build(); + } + } + } + return result; + } +} diff --git a/owl-bot-staging/v1/grpc-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/VmMigrationGrpc.java b/owl-bot-staging/v1/grpc-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/VmMigrationGrpc.java deleted file mode 100644 index a134393..0000000 --- a/owl-bot-staging/v1/grpc-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/VmMigrationGrpc.java +++ /dev/null @@ -1,4097 +0,0 @@ -package com.google.cloud.vmmigration.v1; - -import static io.grpc.MethodDescriptor.generateFullMethodName; - -/** - *
- * VM Migration Service
- * 
- */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/cloud/vmmigration/v1/vmmigration.proto") -@io.grpc.stub.annotations.GrpcGenerated -public final class VmMigrationGrpc { - - private VmMigrationGrpc() {} - - public static final String SERVICE_NAME = "google.cloud.vmmigration.v1.VmMigration"; - - // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor getListSourcesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListSources", - requestType = com.google.cloud.vmmigration.v1.ListSourcesRequest.class, - responseType = com.google.cloud.vmmigration.v1.ListSourcesResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListSourcesMethod() { - io.grpc.MethodDescriptor getListSourcesMethod; - if ((getListSourcesMethod = VmMigrationGrpc.getListSourcesMethod) == null) { - synchronized (VmMigrationGrpc.class) { - if ((getListSourcesMethod = VmMigrationGrpc.getListSourcesMethod) == null) { - VmMigrationGrpc.getListSourcesMethod = getListSourcesMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListSources")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.vmmigration.v1.ListSourcesRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.vmmigration.v1.ListSourcesResponse.getDefaultInstance())) - .setSchemaDescriptor(new VmMigrationMethodDescriptorSupplier("ListSources")) - .build(); - } - } - } - return getListSourcesMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetSourceMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetSource", - requestType = com.google.cloud.vmmigration.v1.GetSourceRequest.class, - responseType = com.google.cloud.vmmigration.v1.Source.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetSourceMethod() { - io.grpc.MethodDescriptor getGetSourceMethod; - if ((getGetSourceMethod = VmMigrationGrpc.getGetSourceMethod) == null) { - synchronized (VmMigrationGrpc.class) { - if ((getGetSourceMethod = VmMigrationGrpc.getGetSourceMethod) == null) { - VmMigrationGrpc.getGetSourceMethod = getGetSourceMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetSource")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.vmmigration.v1.GetSourceRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.vmmigration.v1.Source.getDefaultInstance())) - .setSchemaDescriptor(new VmMigrationMethodDescriptorSupplier("GetSource")) - .build(); - } - } - } - return getGetSourceMethod; - } - - private static volatile io.grpc.MethodDescriptor getCreateSourceMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateSource", - requestType = com.google.cloud.vmmigration.v1.CreateSourceRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCreateSourceMethod() { - io.grpc.MethodDescriptor getCreateSourceMethod; - if ((getCreateSourceMethod = VmMigrationGrpc.getCreateSourceMethod) == null) { - synchronized (VmMigrationGrpc.class) { - if ((getCreateSourceMethod = VmMigrationGrpc.getCreateSourceMethod) == null) { - VmMigrationGrpc.getCreateSourceMethod = getCreateSourceMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateSource")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.vmmigration.v1.CreateSourceRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new VmMigrationMethodDescriptorSupplier("CreateSource")) - .build(); - } - } - } - return getCreateSourceMethod; - } - - private static volatile io.grpc.MethodDescriptor getUpdateSourceMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateSource", - requestType = com.google.cloud.vmmigration.v1.UpdateSourceRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getUpdateSourceMethod() { - io.grpc.MethodDescriptor getUpdateSourceMethod; - if ((getUpdateSourceMethod = VmMigrationGrpc.getUpdateSourceMethod) == null) { - synchronized (VmMigrationGrpc.class) { - if ((getUpdateSourceMethod = VmMigrationGrpc.getUpdateSourceMethod) == null) { - VmMigrationGrpc.getUpdateSourceMethod = getUpdateSourceMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateSource")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.vmmigration.v1.UpdateSourceRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new VmMigrationMethodDescriptorSupplier("UpdateSource")) - .build(); - } - } - } - return getUpdateSourceMethod; - } - - private static volatile io.grpc.MethodDescriptor getDeleteSourceMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteSource", - requestType = com.google.cloud.vmmigration.v1.DeleteSourceRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getDeleteSourceMethod() { - io.grpc.MethodDescriptor getDeleteSourceMethod; - if ((getDeleteSourceMethod = VmMigrationGrpc.getDeleteSourceMethod) == null) { - synchronized (VmMigrationGrpc.class) { - if ((getDeleteSourceMethod = VmMigrationGrpc.getDeleteSourceMethod) == null) { - VmMigrationGrpc.getDeleteSourceMethod = getDeleteSourceMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteSource")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.vmmigration.v1.DeleteSourceRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new VmMigrationMethodDescriptorSupplier("DeleteSource")) - .build(); - } - } - } - return getDeleteSourceMethod; - } - - private static volatile io.grpc.MethodDescriptor getFetchInventoryMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "FetchInventory", - requestType = com.google.cloud.vmmigration.v1.FetchInventoryRequest.class, - responseType = com.google.cloud.vmmigration.v1.FetchInventoryResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getFetchInventoryMethod() { - io.grpc.MethodDescriptor getFetchInventoryMethod; - if ((getFetchInventoryMethod = VmMigrationGrpc.getFetchInventoryMethod) == null) { - synchronized (VmMigrationGrpc.class) { - if ((getFetchInventoryMethod = VmMigrationGrpc.getFetchInventoryMethod) == null) { - VmMigrationGrpc.getFetchInventoryMethod = getFetchInventoryMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "FetchInventory")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.vmmigration.v1.FetchInventoryRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.vmmigration.v1.FetchInventoryResponse.getDefaultInstance())) - .setSchemaDescriptor(new VmMigrationMethodDescriptorSupplier("FetchInventory")) - .build(); - } - } - } - return getFetchInventoryMethod; - } - - private static volatile io.grpc.MethodDescriptor getListUtilizationReportsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListUtilizationReports", - requestType = com.google.cloud.vmmigration.v1.ListUtilizationReportsRequest.class, - responseType = com.google.cloud.vmmigration.v1.ListUtilizationReportsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListUtilizationReportsMethod() { - io.grpc.MethodDescriptor getListUtilizationReportsMethod; - if ((getListUtilizationReportsMethod = VmMigrationGrpc.getListUtilizationReportsMethod) == null) { - synchronized (VmMigrationGrpc.class) { - if ((getListUtilizationReportsMethod = VmMigrationGrpc.getListUtilizationReportsMethod) == null) { - VmMigrationGrpc.getListUtilizationReportsMethod = getListUtilizationReportsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListUtilizationReports")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.vmmigration.v1.ListUtilizationReportsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.vmmigration.v1.ListUtilizationReportsResponse.getDefaultInstance())) - .setSchemaDescriptor(new VmMigrationMethodDescriptorSupplier("ListUtilizationReports")) - .build(); - } - } - } - return getListUtilizationReportsMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetUtilizationReportMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetUtilizationReport", - requestType = com.google.cloud.vmmigration.v1.GetUtilizationReportRequest.class, - responseType = com.google.cloud.vmmigration.v1.UtilizationReport.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetUtilizationReportMethod() { - io.grpc.MethodDescriptor getGetUtilizationReportMethod; - if ((getGetUtilizationReportMethod = VmMigrationGrpc.getGetUtilizationReportMethod) == null) { - synchronized (VmMigrationGrpc.class) { - if ((getGetUtilizationReportMethod = VmMigrationGrpc.getGetUtilizationReportMethod) == null) { - VmMigrationGrpc.getGetUtilizationReportMethod = getGetUtilizationReportMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetUtilizationReport")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.vmmigration.v1.GetUtilizationReportRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.vmmigration.v1.UtilizationReport.getDefaultInstance())) - .setSchemaDescriptor(new VmMigrationMethodDescriptorSupplier("GetUtilizationReport")) - .build(); - } - } - } - return getGetUtilizationReportMethod; - } - - private static volatile io.grpc.MethodDescriptor getCreateUtilizationReportMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateUtilizationReport", - requestType = com.google.cloud.vmmigration.v1.CreateUtilizationReportRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCreateUtilizationReportMethod() { - io.grpc.MethodDescriptor getCreateUtilizationReportMethod; - if ((getCreateUtilizationReportMethod = VmMigrationGrpc.getCreateUtilizationReportMethod) == null) { - synchronized (VmMigrationGrpc.class) { - if ((getCreateUtilizationReportMethod = VmMigrationGrpc.getCreateUtilizationReportMethod) == null) { - VmMigrationGrpc.getCreateUtilizationReportMethod = getCreateUtilizationReportMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateUtilizationReport")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.vmmigration.v1.CreateUtilizationReportRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new VmMigrationMethodDescriptorSupplier("CreateUtilizationReport")) - .build(); - } - } - } - return getCreateUtilizationReportMethod; - } - - private static volatile io.grpc.MethodDescriptor getDeleteUtilizationReportMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteUtilizationReport", - requestType = com.google.cloud.vmmigration.v1.DeleteUtilizationReportRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getDeleteUtilizationReportMethod() { - io.grpc.MethodDescriptor getDeleteUtilizationReportMethod; - if ((getDeleteUtilizationReportMethod = VmMigrationGrpc.getDeleteUtilizationReportMethod) == null) { - synchronized (VmMigrationGrpc.class) { - if ((getDeleteUtilizationReportMethod = VmMigrationGrpc.getDeleteUtilizationReportMethod) == null) { - VmMigrationGrpc.getDeleteUtilizationReportMethod = getDeleteUtilizationReportMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteUtilizationReport")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.vmmigration.v1.DeleteUtilizationReportRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new VmMigrationMethodDescriptorSupplier("DeleteUtilizationReport")) - .build(); - } - } - } - return getDeleteUtilizationReportMethod; - } - - private static volatile io.grpc.MethodDescriptor getListDatacenterConnectorsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListDatacenterConnectors", - requestType = com.google.cloud.vmmigration.v1.ListDatacenterConnectorsRequest.class, - responseType = com.google.cloud.vmmigration.v1.ListDatacenterConnectorsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListDatacenterConnectorsMethod() { - io.grpc.MethodDescriptor getListDatacenterConnectorsMethod; - if ((getListDatacenterConnectorsMethod = VmMigrationGrpc.getListDatacenterConnectorsMethod) == null) { - synchronized (VmMigrationGrpc.class) { - if ((getListDatacenterConnectorsMethod = VmMigrationGrpc.getListDatacenterConnectorsMethod) == null) { - VmMigrationGrpc.getListDatacenterConnectorsMethod = getListDatacenterConnectorsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListDatacenterConnectors")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.vmmigration.v1.ListDatacenterConnectorsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.vmmigration.v1.ListDatacenterConnectorsResponse.getDefaultInstance())) - .setSchemaDescriptor(new VmMigrationMethodDescriptorSupplier("ListDatacenterConnectors")) - .build(); - } - } - } - return getListDatacenterConnectorsMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetDatacenterConnectorMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetDatacenterConnector", - requestType = com.google.cloud.vmmigration.v1.GetDatacenterConnectorRequest.class, - responseType = com.google.cloud.vmmigration.v1.DatacenterConnector.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetDatacenterConnectorMethod() { - io.grpc.MethodDescriptor getGetDatacenterConnectorMethod; - if ((getGetDatacenterConnectorMethod = VmMigrationGrpc.getGetDatacenterConnectorMethod) == null) { - synchronized (VmMigrationGrpc.class) { - if ((getGetDatacenterConnectorMethod = VmMigrationGrpc.getGetDatacenterConnectorMethod) == null) { - VmMigrationGrpc.getGetDatacenterConnectorMethod = getGetDatacenterConnectorMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetDatacenterConnector")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.vmmigration.v1.GetDatacenterConnectorRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.vmmigration.v1.DatacenterConnector.getDefaultInstance())) - .setSchemaDescriptor(new VmMigrationMethodDescriptorSupplier("GetDatacenterConnector")) - .build(); - } - } - } - return getGetDatacenterConnectorMethod; - } - - private static volatile io.grpc.MethodDescriptor getCreateDatacenterConnectorMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateDatacenterConnector", - requestType = com.google.cloud.vmmigration.v1.CreateDatacenterConnectorRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCreateDatacenterConnectorMethod() { - io.grpc.MethodDescriptor getCreateDatacenterConnectorMethod; - if ((getCreateDatacenterConnectorMethod = VmMigrationGrpc.getCreateDatacenterConnectorMethod) == null) { - synchronized (VmMigrationGrpc.class) { - if ((getCreateDatacenterConnectorMethod = VmMigrationGrpc.getCreateDatacenterConnectorMethod) == null) { - VmMigrationGrpc.getCreateDatacenterConnectorMethod = getCreateDatacenterConnectorMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateDatacenterConnector")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.vmmigration.v1.CreateDatacenterConnectorRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new VmMigrationMethodDescriptorSupplier("CreateDatacenterConnector")) - .build(); - } - } - } - return getCreateDatacenterConnectorMethod; - } - - private static volatile io.grpc.MethodDescriptor getDeleteDatacenterConnectorMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteDatacenterConnector", - requestType = com.google.cloud.vmmigration.v1.DeleteDatacenterConnectorRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getDeleteDatacenterConnectorMethod() { - io.grpc.MethodDescriptor getDeleteDatacenterConnectorMethod; - if ((getDeleteDatacenterConnectorMethod = VmMigrationGrpc.getDeleteDatacenterConnectorMethod) == null) { - synchronized (VmMigrationGrpc.class) { - if ((getDeleteDatacenterConnectorMethod = VmMigrationGrpc.getDeleteDatacenterConnectorMethod) == null) { - VmMigrationGrpc.getDeleteDatacenterConnectorMethod = getDeleteDatacenterConnectorMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteDatacenterConnector")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.vmmigration.v1.DeleteDatacenterConnectorRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new VmMigrationMethodDescriptorSupplier("DeleteDatacenterConnector")) - .build(); - } - } - } - return getDeleteDatacenterConnectorMethod; - } - - private static volatile io.grpc.MethodDescriptor getUpgradeApplianceMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpgradeAppliance", - requestType = com.google.cloud.vmmigration.v1.UpgradeApplianceRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getUpgradeApplianceMethod() { - io.grpc.MethodDescriptor getUpgradeApplianceMethod; - if ((getUpgradeApplianceMethod = VmMigrationGrpc.getUpgradeApplianceMethod) == null) { - synchronized (VmMigrationGrpc.class) { - if ((getUpgradeApplianceMethod = VmMigrationGrpc.getUpgradeApplianceMethod) == null) { - VmMigrationGrpc.getUpgradeApplianceMethod = getUpgradeApplianceMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpgradeAppliance")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.vmmigration.v1.UpgradeApplianceRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new VmMigrationMethodDescriptorSupplier("UpgradeAppliance")) - .build(); - } - } - } - return getUpgradeApplianceMethod; - } - - private static volatile io.grpc.MethodDescriptor getCreateMigratingVmMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateMigratingVm", - requestType = com.google.cloud.vmmigration.v1.CreateMigratingVmRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCreateMigratingVmMethod() { - io.grpc.MethodDescriptor getCreateMigratingVmMethod; - if ((getCreateMigratingVmMethod = VmMigrationGrpc.getCreateMigratingVmMethod) == null) { - synchronized (VmMigrationGrpc.class) { - if ((getCreateMigratingVmMethod = VmMigrationGrpc.getCreateMigratingVmMethod) == null) { - VmMigrationGrpc.getCreateMigratingVmMethod = getCreateMigratingVmMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateMigratingVm")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.vmmigration.v1.CreateMigratingVmRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new VmMigrationMethodDescriptorSupplier("CreateMigratingVm")) - .build(); - } - } - } - return getCreateMigratingVmMethod; - } - - private static volatile io.grpc.MethodDescriptor getListMigratingVmsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListMigratingVms", - requestType = com.google.cloud.vmmigration.v1.ListMigratingVmsRequest.class, - responseType = com.google.cloud.vmmigration.v1.ListMigratingVmsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListMigratingVmsMethod() { - io.grpc.MethodDescriptor getListMigratingVmsMethod; - if ((getListMigratingVmsMethod = VmMigrationGrpc.getListMigratingVmsMethod) == null) { - synchronized (VmMigrationGrpc.class) { - if ((getListMigratingVmsMethod = VmMigrationGrpc.getListMigratingVmsMethod) == null) { - VmMigrationGrpc.getListMigratingVmsMethod = getListMigratingVmsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListMigratingVms")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.vmmigration.v1.ListMigratingVmsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.vmmigration.v1.ListMigratingVmsResponse.getDefaultInstance())) - .setSchemaDescriptor(new VmMigrationMethodDescriptorSupplier("ListMigratingVms")) - .build(); - } - } - } - return getListMigratingVmsMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetMigratingVmMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetMigratingVm", - requestType = com.google.cloud.vmmigration.v1.GetMigratingVmRequest.class, - responseType = com.google.cloud.vmmigration.v1.MigratingVm.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetMigratingVmMethod() { - io.grpc.MethodDescriptor getGetMigratingVmMethod; - if ((getGetMigratingVmMethod = VmMigrationGrpc.getGetMigratingVmMethod) == null) { - synchronized (VmMigrationGrpc.class) { - if ((getGetMigratingVmMethod = VmMigrationGrpc.getGetMigratingVmMethod) == null) { - VmMigrationGrpc.getGetMigratingVmMethod = getGetMigratingVmMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetMigratingVm")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.vmmigration.v1.GetMigratingVmRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.vmmigration.v1.MigratingVm.getDefaultInstance())) - .setSchemaDescriptor(new VmMigrationMethodDescriptorSupplier("GetMigratingVm")) - .build(); - } - } - } - return getGetMigratingVmMethod; - } - - private static volatile io.grpc.MethodDescriptor getUpdateMigratingVmMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateMigratingVm", - requestType = com.google.cloud.vmmigration.v1.UpdateMigratingVmRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getUpdateMigratingVmMethod() { - io.grpc.MethodDescriptor getUpdateMigratingVmMethod; - if ((getUpdateMigratingVmMethod = VmMigrationGrpc.getUpdateMigratingVmMethod) == null) { - synchronized (VmMigrationGrpc.class) { - if ((getUpdateMigratingVmMethod = VmMigrationGrpc.getUpdateMigratingVmMethod) == null) { - VmMigrationGrpc.getUpdateMigratingVmMethod = getUpdateMigratingVmMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateMigratingVm")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.vmmigration.v1.UpdateMigratingVmRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new VmMigrationMethodDescriptorSupplier("UpdateMigratingVm")) - .build(); - } - } - } - return getUpdateMigratingVmMethod; - } - - private static volatile io.grpc.MethodDescriptor getDeleteMigratingVmMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteMigratingVm", - requestType = com.google.cloud.vmmigration.v1.DeleteMigratingVmRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getDeleteMigratingVmMethod() { - io.grpc.MethodDescriptor getDeleteMigratingVmMethod; - if ((getDeleteMigratingVmMethod = VmMigrationGrpc.getDeleteMigratingVmMethod) == null) { - synchronized (VmMigrationGrpc.class) { - if ((getDeleteMigratingVmMethod = VmMigrationGrpc.getDeleteMigratingVmMethod) == null) { - VmMigrationGrpc.getDeleteMigratingVmMethod = getDeleteMigratingVmMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteMigratingVm")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.vmmigration.v1.DeleteMigratingVmRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new VmMigrationMethodDescriptorSupplier("DeleteMigratingVm")) - .build(); - } - } - } - return getDeleteMigratingVmMethod; - } - - private static volatile io.grpc.MethodDescriptor getStartMigrationMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "StartMigration", - requestType = com.google.cloud.vmmigration.v1.StartMigrationRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getStartMigrationMethod() { - io.grpc.MethodDescriptor getStartMigrationMethod; - if ((getStartMigrationMethod = VmMigrationGrpc.getStartMigrationMethod) == null) { - synchronized (VmMigrationGrpc.class) { - if ((getStartMigrationMethod = VmMigrationGrpc.getStartMigrationMethod) == null) { - VmMigrationGrpc.getStartMigrationMethod = getStartMigrationMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "StartMigration")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.vmmigration.v1.StartMigrationRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new VmMigrationMethodDescriptorSupplier("StartMigration")) - .build(); - } - } - } - return getStartMigrationMethod; - } - - private static volatile io.grpc.MethodDescriptor getResumeMigrationMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ResumeMigration", - requestType = com.google.cloud.vmmigration.v1.ResumeMigrationRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getResumeMigrationMethod() { - io.grpc.MethodDescriptor getResumeMigrationMethod; - if ((getResumeMigrationMethod = VmMigrationGrpc.getResumeMigrationMethod) == null) { - synchronized (VmMigrationGrpc.class) { - if ((getResumeMigrationMethod = VmMigrationGrpc.getResumeMigrationMethod) == null) { - VmMigrationGrpc.getResumeMigrationMethod = getResumeMigrationMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ResumeMigration")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.vmmigration.v1.ResumeMigrationRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new VmMigrationMethodDescriptorSupplier("ResumeMigration")) - .build(); - } - } - } - return getResumeMigrationMethod; - } - - private static volatile io.grpc.MethodDescriptor getPauseMigrationMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "PauseMigration", - requestType = com.google.cloud.vmmigration.v1.PauseMigrationRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getPauseMigrationMethod() { - io.grpc.MethodDescriptor getPauseMigrationMethod; - if ((getPauseMigrationMethod = VmMigrationGrpc.getPauseMigrationMethod) == null) { - synchronized (VmMigrationGrpc.class) { - if ((getPauseMigrationMethod = VmMigrationGrpc.getPauseMigrationMethod) == null) { - VmMigrationGrpc.getPauseMigrationMethod = getPauseMigrationMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "PauseMigration")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.vmmigration.v1.PauseMigrationRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new VmMigrationMethodDescriptorSupplier("PauseMigration")) - .build(); - } - } - } - return getPauseMigrationMethod; - } - - private static volatile io.grpc.MethodDescriptor getFinalizeMigrationMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "FinalizeMigration", - requestType = com.google.cloud.vmmigration.v1.FinalizeMigrationRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getFinalizeMigrationMethod() { - io.grpc.MethodDescriptor getFinalizeMigrationMethod; - if ((getFinalizeMigrationMethod = VmMigrationGrpc.getFinalizeMigrationMethod) == null) { - synchronized (VmMigrationGrpc.class) { - if ((getFinalizeMigrationMethod = VmMigrationGrpc.getFinalizeMigrationMethod) == null) { - VmMigrationGrpc.getFinalizeMigrationMethod = getFinalizeMigrationMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "FinalizeMigration")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.vmmigration.v1.FinalizeMigrationRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new VmMigrationMethodDescriptorSupplier("FinalizeMigration")) - .build(); - } - } - } - return getFinalizeMigrationMethod; - } - - private static volatile io.grpc.MethodDescriptor getCreateCloneJobMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateCloneJob", - requestType = com.google.cloud.vmmigration.v1.CreateCloneJobRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCreateCloneJobMethod() { - io.grpc.MethodDescriptor getCreateCloneJobMethod; - if ((getCreateCloneJobMethod = VmMigrationGrpc.getCreateCloneJobMethod) == null) { - synchronized (VmMigrationGrpc.class) { - if ((getCreateCloneJobMethod = VmMigrationGrpc.getCreateCloneJobMethod) == null) { - VmMigrationGrpc.getCreateCloneJobMethod = getCreateCloneJobMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateCloneJob")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.vmmigration.v1.CreateCloneJobRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new VmMigrationMethodDescriptorSupplier("CreateCloneJob")) - .build(); - } - } - } - return getCreateCloneJobMethod; - } - - private static volatile io.grpc.MethodDescriptor getCancelCloneJobMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CancelCloneJob", - requestType = com.google.cloud.vmmigration.v1.CancelCloneJobRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCancelCloneJobMethod() { - io.grpc.MethodDescriptor getCancelCloneJobMethod; - if ((getCancelCloneJobMethod = VmMigrationGrpc.getCancelCloneJobMethod) == null) { - synchronized (VmMigrationGrpc.class) { - if ((getCancelCloneJobMethod = VmMigrationGrpc.getCancelCloneJobMethod) == null) { - VmMigrationGrpc.getCancelCloneJobMethod = getCancelCloneJobMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CancelCloneJob")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.vmmigration.v1.CancelCloneJobRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new VmMigrationMethodDescriptorSupplier("CancelCloneJob")) - .build(); - } - } - } - return getCancelCloneJobMethod; - } - - private static volatile io.grpc.MethodDescriptor getListCloneJobsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListCloneJobs", - requestType = com.google.cloud.vmmigration.v1.ListCloneJobsRequest.class, - responseType = com.google.cloud.vmmigration.v1.ListCloneJobsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListCloneJobsMethod() { - io.grpc.MethodDescriptor getListCloneJobsMethod; - if ((getListCloneJobsMethod = VmMigrationGrpc.getListCloneJobsMethod) == null) { - synchronized (VmMigrationGrpc.class) { - if ((getListCloneJobsMethod = VmMigrationGrpc.getListCloneJobsMethod) == null) { - VmMigrationGrpc.getListCloneJobsMethod = getListCloneJobsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListCloneJobs")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.vmmigration.v1.ListCloneJobsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.vmmigration.v1.ListCloneJobsResponse.getDefaultInstance())) - .setSchemaDescriptor(new VmMigrationMethodDescriptorSupplier("ListCloneJobs")) - .build(); - } - } - } - return getListCloneJobsMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetCloneJobMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetCloneJob", - requestType = com.google.cloud.vmmigration.v1.GetCloneJobRequest.class, - responseType = com.google.cloud.vmmigration.v1.CloneJob.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetCloneJobMethod() { - io.grpc.MethodDescriptor getGetCloneJobMethod; - if ((getGetCloneJobMethod = VmMigrationGrpc.getGetCloneJobMethod) == null) { - synchronized (VmMigrationGrpc.class) { - if ((getGetCloneJobMethod = VmMigrationGrpc.getGetCloneJobMethod) == null) { - VmMigrationGrpc.getGetCloneJobMethod = getGetCloneJobMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetCloneJob")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.vmmigration.v1.GetCloneJobRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.vmmigration.v1.CloneJob.getDefaultInstance())) - .setSchemaDescriptor(new VmMigrationMethodDescriptorSupplier("GetCloneJob")) - .build(); - } - } - } - return getGetCloneJobMethod; - } - - private static volatile io.grpc.MethodDescriptor getCreateCutoverJobMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateCutoverJob", - requestType = com.google.cloud.vmmigration.v1.CreateCutoverJobRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCreateCutoverJobMethod() { - io.grpc.MethodDescriptor getCreateCutoverJobMethod; - if ((getCreateCutoverJobMethod = VmMigrationGrpc.getCreateCutoverJobMethod) == null) { - synchronized (VmMigrationGrpc.class) { - if ((getCreateCutoverJobMethod = VmMigrationGrpc.getCreateCutoverJobMethod) == null) { - VmMigrationGrpc.getCreateCutoverJobMethod = getCreateCutoverJobMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateCutoverJob")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.vmmigration.v1.CreateCutoverJobRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new VmMigrationMethodDescriptorSupplier("CreateCutoverJob")) - .build(); - } - } - } - return getCreateCutoverJobMethod; - } - - private static volatile io.grpc.MethodDescriptor getCancelCutoverJobMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CancelCutoverJob", - requestType = com.google.cloud.vmmigration.v1.CancelCutoverJobRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCancelCutoverJobMethod() { - io.grpc.MethodDescriptor getCancelCutoverJobMethod; - if ((getCancelCutoverJobMethod = VmMigrationGrpc.getCancelCutoverJobMethod) == null) { - synchronized (VmMigrationGrpc.class) { - if ((getCancelCutoverJobMethod = VmMigrationGrpc.getCancelCutoverJobMethod) == null) { - VmMigrationGrpc.getCancelCutoverJobMethod = getCancelCutoverJobMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CancelCutoverJob")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.vmmigration.v1.CancelCutoverJobRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new VmMigrationMethodDescriptorSupplier("CancelCutoverJob")) - .build(); - } - } - } - return getCancelCutoverJobMethod; - } - - private static volatile io.grpc.MethodDescriptor getListCutoverJobsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListCutoverJobs", - requestType = com.google.cloud.vmmigration.v1.ListCutoverJobsRequest.class, - responseType = com.google.cloud.vmmigration.v1.ListCutoverJobsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListCutoverJobsMethod() { - io.grpc.MethodDescriptor getListCutoverJobsMethod; - if ((getListCutoverJobsMethod = VmMigrationGrpc.getListCutoverJobsMethod) == null) { - synchronized (VmMigrationGrpc.class) { - if ((getListCutoverJobsMethod = VmMigrationGrpc.getListCutoverJobsMethod) == null) { - VmMigrationGrpc.getListCutoverJobsMethod = getListCutoverJobsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListCutoverJobs")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.vmmigration.v1.ListCutoverJobsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.vmmigration.v1.ListCutoverJobsResponse.getDefaultInstance())) - .setSchemaDescriptor(new VmMigrationMethodDescriptorSupplier("ListCutoverJobs")) - .build(); - } - } - } - return getListCutoverJobsMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetCutoverJobMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetCutoverJob", - requestType = com.google.cloud.vmmigration.v1.GetCutoverJobRequest.class, - responseType = com.google.cloud.vmmigration.v1.CutoverJob.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetCutoverJobMethod() { - io.grpc.MethodDescriptor getGetCutoverJobMethod; - if ((getGetCutoverJobMethod = VmMigrationGrpc.getGetCutoverJobMethod) == null) { - synchronized (VmMigrationGrpc.class) { - if ((getGetCutoverJobMethod = VmMigrationGrpc.getGetCutoverJobMethod) == null) { - VmMigrationGrpc.getGetCutoverJobMethod = getGetCutoverJobMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetCutoverJob")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.vmmigration.v1.GetCutoverJobRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.vmmigration.v1.CutoverJob.getDefaultInstance())) - .setSchemaDescriptor(new VmMigrationMethodDescriptorSupplier("GetCutoverJob")) - .build(); - } - } - } - return getGetCutoverJobMethod; - } - - private static volatile io.grpc.MethodDescriptor getListGroupsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListGroups", - requestType = com.google.cloud.vmmigration.v1.ListGroupsRequest.class, - responseType = com.google.cloud.vmmigration.v1.ListGroupsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListGroupsMethod() { - io.grpc.MethodDescriptor getListGroupsMethod; - if ((getListGroupsMethod = VmMigrationGrpc.getListGroupsMethod) == null) { - synchronized (VmMigrationGrpc.class) { - if ((getListGroupsMethod = VmMigrationGrpc.getListGroupsMethod) == null) { - VmMigrationGrpc.getListGroupsMethod = getListGroupsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListGroups")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.vmmigration.v1.ListGroupsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.vmmigration.v1.ListGroupsResponse.getDefaultInstance())) - .setSchemaDescriptor(new VmMigrationMethodDescriptorSupplier("ListGroups")) - .build(); - } - } - } - return getListGroupsMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetGroupMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetGroup", - requestType = com.google.cloud.vmmigration.v1.GetGroupRequest.class, - responseType = com.google.cloud.vmmigration.v1.Group.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetGroupMethod() { - io.grpc.MethodDescriptor getGetGroupMethod; - if ((getGetGroupMethod = VmMigrationGrpc.getGetGroupMethod) == null) { - synchronized (VmMigrationGrpc.class) { - if ((getGetGroupMethod = VmMigrationGrpc.getGetGroupMethod) == null) { - VmMigrationGrpc.getGetGroupMethod = getGetGroupMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetGroup")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.vmmigration.v1.GetGroupRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.vmmigration.v1.Group.getDefaultInstance())) - .setSchemaDescriptor(new VmMigrationMethodDescriptorSupplier("GetGroup")) - .build(); - } - } - } - return getGetGroupMethod; - } - - private static volatile io.grpc.MethodDescriptor getCreateGroupMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateGroup", - requestType = com.google.cloud.vmmigration.v1.CreateGroupRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCreateGroupMethod() { - io.grpc.MethodDescriptor getCreateGroupMethod; - if ((getCreateGroupMethod = VmMigrationGrpc.getCreateGroupMethod) == null) { - synchronized (VmMigrationGrpc.class) { - if ((getCreateGroupMethod = VmMigrationGrpc.getCreateGroupMethod) == null) { - VmMigrationGrpc.getCreateGroupMethod = getCreateGroupMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateGroup")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.vmmigration.v1.CreateGroupRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new VmMigrationMethodDescriptorSupplier("CreateGroup")) - .build(); - } - } - } - return getCreateGroupMethod; - } - - private static volatile io.grpc.MethodDescriptor getUpdateGroupMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateGroup", - requestType = com.google.cloud.vmmigration.v1.UpdateGroupRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getUpdateGroupMethod() { - io.grpc.MethodDescriptor getUpdateGroupMethod; - if ((getUpdateGroupMethod = VmMigrationGrpc.getUpdateGroupMethod) == null) { - synchronized (VmMigrationGrpc.class) { - if ((getUpdateGroupMethod = VmMigrationGrpc.getUpdateGroupMethod) == null) { - VmMigrationGrpc.getUpdateGroupMethod = getUpdateGroupMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateGroup")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.vmmigration.v1.UpdateGroupRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new VmMigrationMethodDescriptorSupplier("UpdateGroup")) - .build(); - } - } - } - return getUpdateGroupMethod; - } - - private static volatile io.grpc.MethodDescriptor getDeleteGroupMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteGroup", - requestType = com.google.cloud.vmmigration.v1.DeleteGroupRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getDeleteGroupMethod() { - io.grpc.MethodDescriptor getDeleteGroupMethod; - if ((getDeleteGroupMethod = VmMigrationGrpc.getDeleteGroupMethod) == null) { - synchronized (VmMigrationGrpc.class) { - if ((getDeleteGroupMethod = VmMigrationGrpc.getDeleteGroupMethod) == null) { - VmMigrationGrpc.getDeleteGroupMethod = getDeleteGroupMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteGroup")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.vmmigration.v1.DeleteGroupRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new VmMigrationMethodDescriptorSupplier("DeleteGroup")) - .build(); - } - } - } - return getDeleteGroupMethod; - } - - private static volatile io.grpc.MethodDescriptor getAddGroupMigrationMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "AddGroupMigration", - requestType = com.google.cloud.vmmigration.v1.AddGroupMigrationRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getAddGroupMigrationMethod() { - io.grpc.MethodDescriptor getAddGroupMigrationMethod; - if ((getAddGroupMigrationMethod = VmMigrationGrpc.getAddGroupMigrationMethod) == null) { - synchronized (VmMigrationGrpc.class) { - if ((getAddGroupMigrationMethod = VmMigrationGrpc.getAddGroupMigrationMethod) == null) { - VmMigrationGrpc.getAddGroupMigrationMethod = getAddGroupMigrationMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "AddGroupMigration")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.vmmigration.v1.AddGroupMigrationRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new VmMigrationMethodDescriptorSupplier("AddGroupMigration")) - .build(); - } - } - } - return getAddGroupMigrationMethod; - } - - private static volatile io.grpc.MethodDescriptor getRemoveGroupMigrationMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "RemoveGroupMigration", - requestType = com.google.cloud.vmmigration.v1.RemoveGroupMigrationRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getRemoveGroupMigrationMethod() { - io.grpc.MethodDescriptor getRemoveGroupMigrationMethod; - if ((getRemoveGroupMigrationMethod = VmMigrationGrpc.getRemoveGroupMigrationMethod) == null) { - synchronized (VmMigrationGrpc.class) { - if ((getRemoveGroupMigrationMethod = VmMigrationGrpc.getRemoveGroupMigrationMethod) == null) { - VmMigrationGrpc.getRemoveGroupMigrationMethod = getRemoveGroupMigrationMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RemoveGroupMigration")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.vmmigration.v1.RemoveGroupMigrationRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new VmMigrationMethodDescriptorSupplier("RemoveGroupMigration")) - .build(); - } - } - } - return getRemoveGroupMigrationMethod; - } - - private static volatile io.grpc.MethodDescriptor getListTargetProjectsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListTargetProjects", - requestType = com.google.cloud.vmmigration.v1.ListTargetProjectsRequest.class, - responseType = com.google.cloud.vmmigration.v1.ListTargetProjectsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListTargetProjectsMethod() { - io.grpc.MethodDescriptor getListTargetProjectsMethod; - if ((getListTargetProjectsMethod = VmMigrationGrpc.getListTargetProjectsMethod) == null) { - synchronized (VmMigrationGrpc.class) { - if ((getListTargetProjectsMethod = VmMigrationGrpc.getListTargetProjectsMethod) == null) { - VmMigrationGrpc.getListTargetProjectsMethod = getListTargetProjectsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListTargetProjects")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.vmmigration.v1.ListTargetProjectsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.vmmigration.v1.ListTargetProjectsResponse.getDefaultInstance())) - .setSchemaDescriptor(new VmMigrationMethodDescriptorSupplier("ListTargetProjects")) - .build(); - } - } - } - return getListTargetProjectsMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetTargetProjectMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetTargetProject", - requestType = com.google.cloud.vmmigration.v1.GetTargetProjectRequest.class, - responseType = com.google.cloud.vmmigration.v1.TargetProject.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetTargetProjectMethod() { - io.grpc.MethodDescriptor getGetTargetProjectMethod; - if ((getGetTargetProjectMethod = VmMigrationGrpc.getGetTargetProjectMethod) == null) { - synchronized (VmMigrationGrpc.class) { - if ((getGetTargetProjectMethod = VmMigrationGrpc.getGetTargetProjectMethod) == null) { - VmMigrationGrpc.getGetTargetProjectMethod = getGetTargetProjectMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetTargetProject")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.vmmigration.v1.GetTargetProjectRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.vmmigration.v1.TargetProject.getDefaultInstance())) - .setSchemaDescriptor(new VmMigrationMethodDescriptorSupplier("GetTargetProject")) - .build(); - } - } - } - return getGetTargetProjectMethod; - } - - private static volatile io.grpc.MethodDescriptor getCreateTargetProjectMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateTargetProject", - requestType = com.google.cloud.vmmigration.v1.CreateTargetProjectRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCreateTargetProjectMethod() { - io.grpc.MethodDescriptor getCreateTargetProjectMethod; - if ((getCreateTargetProjectMethod = VmMigrationGrpc.getCreateTargetProjectMethod) == null) { - synchronized (VmMigrationGrpc.class) { - if ((getCreateTargetProjectMethod = VmMigrationGrpc.getCreateTargetProjectMethod) == null) { - VmMigrationGrpc.getCreateTargetProjectMethod = getCreateTargetProjectMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateTargetProject")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.vmmigration.v1.CreateTargetProjectRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new VmMigrationMethodDescriptorSupplier("CreateTargetProject")) - .build(); - } - } - } - return getCreateTargetProjectMethod; - } - - private static volatile io.grpc.MethodDescriptor getUpdateTargetProjectMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateTargetProject", - requestType = com.google.cloud.vmmigration.v1.UpdateTargetProjectRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getUpdateTargetProjectMethod() { - io.grpc.MethodDescriptor getUpdateTargetProjectMethod; - if ((getUpdateTargetProjectMethod = VmMigrationGrpc.getUpdateTargetProjectMethod) == null) { - synchronized (VmMigrationGrpc.class) { - if ((getUpdateTargetProjectMethod = VmMigrationGrpc.getUpdateTargetProjectMethod) == null) { - VmMigrationGrpc.getUpdateTargetProjectMethod = getUpdateTargetProjectMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateTargetProject")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.vmmigration.v1.UpdateTargetProjectRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new VmMigrationMethodDescriptorSupplier("UpdateTargetProject")) - .build(); - } - } - } - return getUpdateTargetProjectMethod; - } - - private static volatile io.grpc.MethodDescriptor getDeleteTargetProjectMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteTargetProject", - requestType = com.google.cloud.vmmigration.v1.DeleteTargetProjectRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getDeleteTargetProjectMethod() { - io.grpc.MethodDescriptor getDeleteTargetProjectMethod; - if ((getDeleteTargetProjectMethod = VmMigrationGrpc.getDeleteTargetProjectMethod) == null) { - synchronized (VmMigrationGrpc.class) { - if ((getDeleteTargetProjectMethod = VmMigrationGrpc.getDeleteTargetProjectMethod) == null) { - VmMigrationGrpc.getDeleteTargetProjectMethod = getDeleteTargetProjectMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteTargetProject")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.vmmigration.v1.DeleteTargetProjectRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new VmMigrationMethodDescriptorSupplier("DeleteTargetProject")) - .build(); - } - } - } - return getDeleteTargetProjectMethod; - } - - /** - * Creates a new async stub that supports all call types for the service - */ - public static VmMigrationStub newStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public VmMigrationStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new VmMigrationStub(channel, callOptions); - } - }; - return VmMigrationStub.newStub(factory, channel); - } - - /** - * Creates a new blocking-style stub that supports unary and streaming output calls on the service - */ - public static VmMigrationBlockingStub newBlockingStub( - io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public VmMigrationBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new VmMigrationBlockingStub(channel, callOptions); - } - }; - return VmMigrationBlockingStub.newStub(factory, channel); - } - - /** - * Creates a new ListenableFuture-style stub that supports unary calls on the service - */ - public static VmMigrationFutureStub newFutureStub( - io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public VmMigrationFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new VmMigrationFutureStub(channel, callOptions); - } - }; - return VmMigrationFutureStub.newStub(factory, channel); - } - - /** - *
-   * VM Migration Service
-   * 
- */ - public static abstract class VmMigrationImplBase implements io.grpc.BindableService { - - /** - *
-     * Lists Sources in a given project and location.
-     * 
- */ - public void listSources(com.google.cloud.vmmigration.v1.ListSourcesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListSourcesMethod(), responseObserver); - } - - /** - *
-     * Gets details of a single Source.
-     * 
- */ - public void getSource(com.google.cloud.vmmigration.v1.GetSourceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetSourceMethod(), responseObserver); - } - - /** - *
-     * Creates a new Source in a given project and location.
-     * 
- */ - public void createSource(com.google.cloud.vmmigration.v1.CreateSourceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateSourceMethod(), responseObserver); - } - - /** - *
-     * Updates the parameters of a single Source.
-     * 
- */ - public void updateSource(com.google.cloud.vmmigration.v1.UpdateSourceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateSourceMethod(), responseObserver); - } - - /** - *
-     * Deletes a single Source.
-     * 
- */ - public void deleteSource(com.google.cloud.vmmigration.v1.DeleteSourceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteSourceMethod(), responseObserver); - } - - /** - *
-     * List remote source's inventory of VMs.
-     * The remote source is the onprem vCenter (remote in the sense it's not in
-     * Compute Engine). The inventory describes the list of existing VMs in that
-     * source. Note that this operation lists the VMs on the remote source, as
-     * opposed to listing the MigratingVms resources in the vmmigration service.
-     * 
- */ - public void fetchInventory(com.google.cloud.vmmigration.v1.FetchInventoryRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getFetchInventoryMethod(), responseObserver); - } - - /** - *
-     * Lists Utilization Reports of the given Source.
-     * 
- */ - public void listUtilizationReports(com.google.cloud.vmmigration.v1.ListUtilizationReportsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListUtilizationReportsMethod(), responseObserver); - } - - /** - *
-     * Gets a single Utilization Report.
-     * 
- */ - public void getUtilizationReport(com.google.cloud.vmmigration.v1.GetUtilizationReportRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetUtilizationReportMethod(), responseObserver); - } - - /** - *
-     * Creates a new UtilizationReport.
-     * 
- */ - public void createUtilizationReport(com.google.cloud.vmmigration.v1.CreateUtilizationReportRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateUtilizationReportMethod(), responseObserver); - } - - /** - *
-     * Deletes a single Utilization Report.
-     * 
- */ - public void deleteUtilizationReport(com.google.cloud.vmmigration.v1.DeleteUtilizationReportRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteUtilizationReportMethod(), responseObserver); - } - - /** - *
-     * Lists DatacenterConnectors in a given Source.
-     * 
- */ - public void listDatacenterConnectors(com.google.cloud.vmmigration.v1.ListDatacenterConnectorsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListDatacenterConnectorsMethod(), responseObserver); - } - - /** - *
-     * Gets details of a single DatacenterConnector.
-     * 
- */ - public void getDatacenterConnector(com.google.cloud.vmmigration.v1.GetDatacenterConnectorRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetDatacenterConnectorMethod(), responseObserver); - } - - /** - *
-     * Creates a new DatacenterConnector in a given Source.
-     * 
- */ - public void createDatacenterConnector(com.google.cloud.vmmigration.v1.CreateDatacenterConnectorRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateDatacenterConnectorMethod(), responseObserver); - } - - /** - *
-     * Deletes a single DatacenterConnector.
-     * 
- */ - public void deleteDatacenterConnector(com.google.cloud.vmmigration.v1.DeleteDatacenterConnectorRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteDatacenterConnectorMethod(), responseObserver); - } - - /** - *
-     * Upgrades the appliance relate to this DatacenterConnector to the in-place
-     * updateable version.
-     * 
- */ - public void upgradeAppliance(com.google.cloud.vmmigration.v1.UpgradeApplianceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpgradeApplianceMethod(), responseObserver); - } - - /** - *
-     * Creates a new MigratingVm in a given Source.
-     * 
- */ - public void createMigratingVm(com.google.cloud.vmmigration.v1.CreateMigratingVmRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateMigratingVmMethod(), responseObserver); - } - - /** - *
-     * Lists MigratingVms in a given Source.
-     * 
- */ - public void listMigratingVms(com.google.cloud.vmmigration.v1.ListMigratingVmsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListMigratingVmsMethod(), responseObserver); - } - - /** - *
-     * Gets details of a single MigratingVm.
-     * 
- */ - public void getMigratingVm(com.google.cloud.vmmigration.v1.GetMigratingVmRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetMigratingVmMethod(), responseObserver); - } - - /** - *
-     * Updates the parameters of a single MigratingVm.
-     * 
- */ - public void updateMigratingVm(com.google.cloud.vmmigration.v1.UpdateMigratingVmRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateMigratingVmMethod(), responseObserver); - } - - /** - *
-     * Deletes a single MigratingVm.
-     * 
- */ - public void deleteMigratingVm(com.google.cloud.vmmigration.v1.DeleteMigratingVmRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteMigratingVmMethod(), responseObserver); - } - - /** - *
-     * Starts migration for a VM. Starts the process of uploading
-     * data and creating snapshots, in replication cycles scheduled by the policy.
-     * 
- */ - public void startMigration(com.google.cloud.vmmigration.v1.StartMigrationRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getStartMigrationMethod(), responseObserver); - } - - /** - *
-     * Resumes a migration for a VM. When called on a paused migration, will start
-     * the process of uploading data and creating snapshots; when called on a
-     * completed cut-over migration, will update the migration to active state and
-     * start the process of uploading data and creating snapshots.
-     * 
- */ - public void resumeMigration(com.google.cloud.vmmigration.v1.ResumeMigrationRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getResumeMigrationMethod(), responseObserver); - } - - /** - *
-     * Pauses a migration for a VM. If cycle tasks are running they will be
-     * cancelled, preserving source task data. Further replication cycles will not
-     * be triggered while the VM is paused.
-     * 
- */ - public void pauseMigration(com.google.cloud.vmmigration.v1.PauseMigrationRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getPauseMigrationMethod(), responseObserver); - } - - /** - *
-     * Marks a migration as completed, deleting migration resources that are no
-     * longer being used. Only applicable after cutover is done.
-     * 
- */ - public void finalizeMigration(com.google.cloud.vmmigration.v1.FinalizeMigrationRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getFinalizeMigrationMethod(), responseObserver); - } - - /** - *
-     * Initiates a Clone of a specific migrating VM.
-     * 
- */ - public void createCloneJob(com.google.cloud.vmmigration.v1.CreateCloneJobRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateCloneJobMethod(), responseObserver); - } - - /** - *
-     * Initiates the cancellation of a running clone job.
-     * 
- */ - public void cancelCloneJob(com.google.cloud.vmmigration.v1.CancelCloneJobRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCancelCloneJobMethod(), responseObserver); - } - - /** - *
-     * Lists CloneJobs of a given migrating VM.
-     * 
- */ - public void listCloneJobs(com.google.cloud.vmmigration.v1.ListCloneJobsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListCloneJobsMethod(), responseObserver); - } - - /** - *
-     * Gets details of a single CloneJob.
-     * 
- */ - public void getCloneJob(com.google.cloud.vmmigration.v1.GetCloneJobRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetCloneJobMethod(), responseObserver); - } - - /** - *
-     * Initiates a Cutover of a specific migrating VM.
-     * The returned LRO is completed when the cutover job resource is created
-     * and the job is initiated.
-     * 
- */ - public void createCutoverJob(com.google.cloud.vmmigration.v1.CreateCutoverJobRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateCutoverJobMethod(), responseObserver); - } - - /** - *
-     * Initiates the cancellation of a running cutover job.
-     * 
- */ - public void cancelCutoverJob(com.google.cloud.vmmigration.v1.CancelCutoverJobRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCancelCutoverJobMethod(), responseObserver); - } - - /** - *
-     * Lists CutoverJobs of a given migrating VM.
-     * 
- */ - public void listCutoverJobs(com.google.cloud.vmmigration.v1.ListCutoverJobsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListCutoverJobsMethod(), responseObserver); - } - - /** - *
-     * Gets details of a single CutoverJob.
-     * 
- */ - public void getCutoverJob(com.google.cloud.vmmigration.v1.GetCutoverJobRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetCutoverJobMethod(), responseObserver); - } - - /** - *
-     * Lists Groups in a given project and location.
-     * 
- */ - public void listGroups(com.google.cloud.vmmigration.v1.ListGroupsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListGroupsMethod(), responseObserver); - } - - /** - *
-     * Gets details of a single Group.
-     * 
- */ - public void getGroup(com.google.cloud.vmmigration.v1.GetGroupRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetGroupMethod(), responseObserver); - } - - /** - *
-     * Creates a new Group in a given project and location.
-     * 
- */ - public void createGroup(com.google.cloud.vmmigration.v1.CreateGroupRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateGroupMethod(), responseObserver); - } - - /** - *
-     * Updates the parameters of a single Group.
-     * 
- */ - public void updateGroup(com.google.cloud.vmmigration.v1.UpdateGroupRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateGroupMethod(), responseObserver); - } - - /** - *
-     * Deletes a single Group.
-     * 
- */ - public void deleteGroup(com.google.cloud.vmmigration.v1.DeleteGroupRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteGroupMethod(), responseObserver); - } - - /** - *
-     * Adds a MigratingVm to a Group.
-     * 
- */ - public void addGroupMigration(com.google.cloud.vmmigration.v1.AddGroupMigrationRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getAddGroupMigrationMethod(), responseObserver); - } - - /** - *
-     * Removes a MigratingVm from a Group.
-     * 
- */ - public void removeGroupMigration(com.google.cloud.vmmigration.v1.RemoveGroupMigrationRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRemoveGroupMigrationMethod(), responseObserver); - } - - /** - *
-     * Lists TargetProjects in a given project.
-     * NOTE: TargetProject is a global resource; hence the only supported value
-     * for location is `global`.
-     * 
- */ - public void listTargetProjects(com.google.cloud.vmmigration.v1.ListTargetProjectsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListTargetProjectsMethod(), responseObserver); - } - - /** - *
-     * Gets details of a single TargetProject.
-     * NOTE: TargetProject is a global resource; hence the only supported value
-     * for location is `global`.
-     * 
- */ - public void getTargetProject(com.google.cloud.vmmigration.v1.GetTargetProjectRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetTargetProjectMethod(), responseObserver); - } - - /** - *
-     * Creates a new TargetProject in a given project.
-     * NOTE: TargetProject is a global resource; hence the only supported value
-     * for location is `global`.
-     * 
- */ - public void createTargetProject(com.google.cloud.vmmigration.v1.CreateTargetProjectRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateTargetProjectMethod(), responseObserver); - } - - /** - *
-     * Updates the parameters of a single TargetProject.
-     * NOTE: TargetProject is a global resource; hence the only supported value
-     * for location is `global`.
-     * 
- */ - public void updateTargetProject(com.google.cloud.vmmigration.v1.UpdateTargetProjectRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateTargetProjectMethod(), responseObserver); - } - - /** - *
-     * Deletes a single TargetProject.
-     * NOTE: TargetProject is a global resource; hence the only supported value
-     * for location is `global`.
-     * 
- */ - public void deleteTargetProject(com.google.cloud.vmmigration.v1.DeleteTargetProjectRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteTargetProjectMethod(), responseObserver); - } - - @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { - return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) - .addMethod( - getListSourcesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.vmmigration.v1.ListSourcesRequest, - com.google.cloud.vmmigration.v1.ListSourcesResponse>( - this, METHODID_LIST_SOURCES))) - .addMethod( - getGetSourceMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.vmmigration.v1.GetSourceRequest, - com.google.cloud.vmmigration.v1.Source>( - this, METHODID_GET_SOURCE))) - .addMethod( - getCreateSourceMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.vmmigration.v1.CreateSourceRequest, - com.google.longrunning.Operation>( - this, METHODID_CREATE_SOURCE))) - .addMethod( - getUpdateSourceMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.vmmigration.v1.UpdateSourceRequest, - com.google.longrunning.Operation>( - this, METHODID_UPDATE_SOURCE))) - .addMethod( - getDeleteSourceMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.vmmigration.v1.DeleteSourceRequest, - com.google.longrunning.Operation>( - this, METHODID_DELETE_SOURCE))) - .addMethod( - getFetchInventoryMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.vmmigration.v1.FetchInventoryRequest, - com.google.cloud.vmmigration.v1.FetchInventoryResponse>( - this, METHODID_FETCH_INVENTORY))) - .addMethod( - getListUtilizationReportsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.vmmigration.v1.ListUtilizationReportsRequest, - com.google.cloud.vmmigration.v1.ListUtilizationReportsResponse>( - this, METHODID_LIST_UTILIZATION_REPORTS))) - .addMethod( - getGetUtilizationReportMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.vmmigration.v1.GetUtilizationReportRequest, - com.google.cloud.vmmigration.v1.UtilizationReport>( - this, METHODID_GET_UTILIZATION_REPORT))) - .addMethod( - getCreateUtilizationReportMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.vmmigration.v1.CreateUtilizationReportRequest, - com.google.longrunning.Operation>( - this, METHODID_CREATE_UTILIZATION_REPORT))) - .addMethod( - getDeleteUtilizationReportMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.vmmigration.v1.DeleteUtilizationReportRequest, - com.google.longrunning.Operation>( - this, METHODID_DELETE_UTILIZATION_REPORT))) - .addMethod( - getListDatacenterConnectorsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.vmmigration.v1.ListDatacenterConnectorsRequest, - com.google.cloud.vmmigration.v1.ListDatacenterConnectorsResponse>( - this, METHODID_LIST_DATACENTER_CONNECTORS))) - .addMethod( - getGetDatacenterConnectorMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.vmmigration.v1.GetDatacenterConnectorRequest, - com.google.cloud.vmmigration.v1.DatacenterConnector>( - this, METHODID_GET_DATACENTER_CONNECTOR))) - .addMethod( - getCreateDatacenterConnectorMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.vmmigration.v1.CreateDatacenterConnectorRequest, - com.google.longrunning.Operation>( - this, METHODID_CREATE_DATACENTER_CONNECTOR))) - .addMethod( - getDeleteDatacenterConnectorMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.vmmigration.v1.DeleteDatacenterConnectorRequest, - com.google.longrunning.Operation>( - this, METHODID_DELETE_DATACENTER_CONNECTOR))) - .addMethod( - getUpgradeApplianceMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.vmmigration.v1.UpgradeApplianceRequest, - com.google.longrunning.Operation>( - this, METHODID_UPGRADE_APPLIANCE))) - .addMethod( - getCreateMigratingVmMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.vmmigration.v1.CreateMigratingVmRequest, - com.google.longrunning.Operation>( - this, METHODID_CREATE_MIGRATING_VM))) - .addMethod( - getListMigratingVmsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.vmmigration.v1.ListMigratingVmsRequest, - com.google.cloud.vmmigration.v1.ListMigratingVmsResponse>( - this, METHODID_LIST_MIGRATING_VMS))) - .addMethod( - getGetMigratingVmMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.vmmigration.v1.GetMigratingVmRequest, - com.google.cloud.vmmigration.v1.MigratingVm>( - this, METHODID_GET_MIGRATING_VM))) - .addMethod( - getUpdateMigratingVmMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.vmmigration.v1.UpdateMigratingVmRequest, - com.google.longrunning.Operation>( - this, METHODID_UPDATE_MIGRATING_VM))) - .addMethod( - getDeleteMigratingVmMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.vmmigration.v1.DeleteMigratingVmRequest, - com.google.longrunning.Operation>( - this, METHODID_DELETE_MIGRATING_VM))) - .addMethod( - getStartMigrationMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.vmmigration.v1.StartMigrationRequest, - com.google.longrunning.Operation>( - this, METHODID_START_MIGRATION))) - .addMethod( - getResumeMigrationMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.vmmigration.v1.ResumeMigrationRequest, - com.google.longrunning.Operation>( - this, METHODID_RESUME_MIGRATION))) - .addMethod( - getPauseMigrationMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.vmmigration.v1.PauseMigrationRequest, - com.google.longrunning.Operation>( - this, METHODID_PAUSE_MIGRATION))) - .addMethod( - getFinalizeMigrationMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.vmmigration.v1.FinalizeMigrationRequest, - com.google.longrunning.Operation>( - this, METHODID_FINALIZE_MIGRATION))) - .addMethod( - getCreateCloneJobMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.vmmigration.v1.CreateCloneJobRequest, - com.google.longrunning.Operation>( - this, METHODID_CREATE_CLONE_JOB))) - .addMethod( - getCancelCloneJobMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.vmmigration.v1.CancelCloneJobRequest, - com.google.longrunning.Operation>( - this, METHODID_CANCEL_CLONE_JOB))) - .addMethod( - getListCloneJobsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.vmmigration.v1.ListCloneJobsRequest, - com.google.cloud.vmmigration.v1.ListCloneJobsResponse>( - this, METHODID_LIST_CLONE_JOBS))) - .addMethod( - getGetCloneJobMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.vmmigration.v1.GetCloneJobRequest, - com.google.cloud.vmmigration.v1.CloneJob>( - this, METHODID_GET_CLONE_JOB))) - .addMethod( - getCreateCutoverJobMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.vmmigration.v1.CreateCutoverJobRequest, - com.google.longrunning.Operation>( - this, METHODID_CREATE_CUTOVER_JOB))) - .addMethod( - getCancelCutoverJobMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.vmmigration.v1.CancelCutoverJobRequest, - com.google.longrunning.Operation>( - this, METHODID_CANCEL_CUTOVER_JOB))) - .addMethod( - getListCutoverJobsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.vmmigration.v1.ListCutoverJobsRequest, - com.google.cloud.vmmigration.v1.ListCutoverJobsResponse>( - this, METHODID_LIST_CUTOVER_JOBS))) - .addMethod( - getGetCutoverJobMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.vmmigration.v1.GetCutoverJobRequest, - com.google.cloud.vmmigration.v1.CutoverJob>( - this, METHODID_GET_CUTOVER_JOB))) - .addMethod( - getListGroupsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.vmmigration.v1.ListGroupsRequest, - com.google.cloud.vmmigration.v1.ListGroupsResponse>( - this, METHODID_LIST_GROUPS))) - .addMethod( - getGetGroupMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.vmmigration.v1.GetGroupRequest, - com.google.cloud.vmmigration.v1.Group>( - this, METHODID_GET_GROUP))) - .addMethod( - getCreateGroupMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.vmmigration.v1.CreateGroupRequest, - com.google.longrunning.Operation>( - this, METHODID_CREATE_GROUP))) - .addMethod( - getUpdateGroupMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.vmmigration.v1.UpdateGroupRequest, - com.google.longrunning.Operation>( - this, METHODID_UPDATE_GROUP))) - .addMethod( - getDeleteGroupMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.vmmigration.v1.DeleteGroupRequest, - com.google.longrunning.Operation>( - this, METHODID_DELETE_GROUP))) - .addMethod( - getAddGroupMigrationMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.vmmigration.v1.AddGroupMigrationRequest, - com.google.longrunning.Operation>( - this, METHODID_ADD_GROUP_MIGRATION))) - .addMethod( - getRemoveGroupMigrationMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.vmmigration.v1.RemoveGroupMigrationRequest, - com.google.longrunning.Operation>( - this, METHODID_REMOVE_GROUP_MIGRATION))) - .addMethod( - getListTargetProjectsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.vmmigration.v1.ListTargetProjectsRequest, - com.google.cloud.vmmigration.v1.ListTargetProjectsResponse>( - this, METHODID_LIST_TARGET_PROJECTS))) - .addMethod( - getGetTargetProjectMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.vmmigration.v1.GetTargetProjectRequest, - com.google.cloud.vmmigration.v1.TargetProject>( - this, METHODID_GET_TARGET_PROJECT))) - .addMethod( - getCreateTargetProjectMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.vmmigration.v1.CreateTargetProjectRequest, - com.google.longrunning.Operation>( - this, METHODID_CREATE_TARGET_PROJECT))) - .addMethod( - getUpdateTargetProjectMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.vmmigration.v1.UpdateTargetProjectRequest, - com.google.longrunning.Operation>( - this, METHODID_UPDATE_TARGET_PROJECT))) - .addMethod( - getDeleteTargetProjectMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.vmmigration.v1.DeleteTargetProjectRequest, - com.google.longrunning.Operation>( - this, METHODID_DELETE_TARGET_PROJECT))) - .build(); - } - } - - /** - *
-   * VM Migration Service
-   * 
- */ - public static final class VmMigrationStub extends io.grpc.stub.AbstractAsyncStub { - private VmMigrationStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected VmMigrationStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new VmMigrationStub(channel, callOptions); - } - - /** - *
-     * Lists Sources in a given project and location.
-     * 
- */ - public void listSources(com.google.cloud.vmmigration.v1.ListSourcesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListSourcesMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Gets details of a single Source.
-     * 
- */ - public void getSource(com.google.cloud.vmmigration.v1.GetSourceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetSourceMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Creates a new Source in a given project and location.
-     * 
- */ - public void createSource(com.google.cloud.vmmigration.v1.CreateSourceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateSourceMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Updates the parameters of a single Source.
-     * 
- */ - public void updateSource(com.google.cloud.vmmigration.v1.UpdateSourceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateSourceMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Deletes a single Source.
-     * 
- */ - public void deleteSource(com.google.cloud.vmmigration.v1.DeleteSourceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteSourceMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * List remote source's inventory of VMs.
-     * The remote source is the onprem vCenter (remote in the sense it's not in
-     * Compute Engine). The inventory describes the list of existing VMs in that
-     * source. Note that this operation lists the VMs on the remote source, as
-     * opposed to listing the MigratingVms resources in the vmmigration service.
-     * 
- */ - public void fetchInventory(com.google.cloud.vmmigration.v1.FetchInventoryRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getFetchInventoryMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lists Utilization Reports of the given Source.
-     * 
- */ - public void listUtilizationReports(com.google.cloud.vmmigration.v1.ListUtilizationReportsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListUtilizationReportsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Gets a single Utilization Report.
-     * 
- */ - public void getUtilizationReport(com.google.cloud.vmmigration.v1.GetUtilizationReportRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetUtilizationReportMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Creates a new UtilizationReport.
-     * 
- */ - public void createUtilizationReport(com.google.cloud.vmmigration.v1.CreateUtilizationReportRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateUtilizationReportMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Deletes a single Utilization Report.
-     * 
- */ - public void deleteUtilizationReport(com.google.cloud.vmmigration.v1.DeleteUtilizationReportRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteUtilizationReportMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lists DatacenterConnectors in a given Source.
-     * 
- */ - public void listDatacenterConnectors(com.google.cloud.vmmigration.v1.ListDatacenterConnectorsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListDatacenterConnectorsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Gets details of a single DatacenterConnector.
-     * 
- */ - public void getDatacenterConnector(com.google.cloud.vmmigration.v1.GetDatacenterConnectorRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetDatacenterConnectorMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Creates a new DatacenterConnector in a given Source.
-     * 
- */ - public void createDatacenterConnector(com.google.cloud.vmmigration.v1.CreateDatacenterConnectorRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateDatacenterConnectorMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Deletes a single DatacenterConnector.
-     * 
- */ - public void deleteDatacenterConnector(com.google.cloud.vmmigration.v1.DeleteDatacenterConnectorRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteDatacenterConnectorMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Upgrades the appliance relate to this DatacenterConnector to the in-place
-     * updateable version.
-     * 
- */ - public void upgradeAppliance(com.google.cloud.vmmigration.v1.UpgradeApplianceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpgradeApplianceMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Creates a new MigratingVm in a given Source.
-     * 
- */ - public void createMigratingVm(com.google.cloud.vmmigration.v1.CreateMigratingVmRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateMigratingVmMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lists MigratingVms in a given Source.
-     * 
- */ - public void listMigratingVms(com.google.cloud.vmmigration.v1.ListMigratingVmsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListMigratingVmsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Gets details of a single MigratingVm.
-     * 
- */ - public void getMigratingVm(com.google.cloud.vmmigration.v1.GetMigratingVmRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetMigratingVmMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Updates the parameters of a single MigratingVm.
-     * 
- */ - public void updateMigratingVm(com.google.cloud.vmmigration.v1.UpdateMigratingVmRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateMigratingVmMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Deletes a single MigratingVm.
-     * 
- */ - public void deleteMigratingVm(com.google.cloud.vmmigration.v1.DeleteMigratingVmRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteMigratingVmMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Starts migration for a VM. Starts the process of uploading
-     * data and creating snapshots, in replication cycles scheduled by the policy.
-     * 
- */ - public void startMigration(com.google.cloud.vmmigration.v1.StartMigrationRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getStartMigrationMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Resumes a migration for a VM. When called on a paused migration, will start
-     * the process of uploading data and creating snapshots; when called on a
-     * completed cut-over migration, will update the migration to active state and
-     * start the process of uploading data and creating snapshots.
-     * 
- */ - public void resumeMigration(com.google.cloud.vmmigration.v1.ResumeMigrationRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getResumeMigrationMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Pauses a migration for a VM. If cycle tasks are running they will be
-     * cancelled, preserving source task data. Further replication cycles will not
-     * be triggered while the VM is paused.
-     * 
- */ - public void pauseMigration(com.google.cloud.vmmigration.v1.PauseMigrationRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getPauseMigrationMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Marks a migration as completed, deleting migration resources that are no
-     * longer being used. Only applicable after cutover is done.
-     * 
- */ - public void finalizeMigration(com.google.cloud.vmmigration.v1.FinalizeMigrationRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getFinalizeMigrationMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Initiates a Clone of a specific migrating VM.
-     * 
- */ - public void createCloneJob(com.google.cloud.vmmigration.v1.CreateCloneJobRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateCloneJobMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Initiates the cancellation of a running clone job.
-     * 
- */ - public void cancelCloneJob(com.google.cloud.vmmigration.v1.CancelCloneJobRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCancelCloneJobMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lists CloneJobs of a given migrating VM.
-     * 
- */ - public void listCloneJobs(com.google.cloud.vmmigration.v1.ListCloneJobsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListCloneJobsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Gets details of a single CloneJob.
-     * 
- */ - public void getCloneJob(com.google.cloud.vmmigration.v1.GetCloneJobRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetCloneJobMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Initiates a Cutover of a specific migrating VM.
-     * The returned LRO is completed when the cutover job resource is created
-     * and the job is initiated.
-     * 
- */ - public void createCutoverJob(com.google.cloud.vmmigration.v1.CreateCutoverJobRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateCutoverJobMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Initiates the cancellation of a running cutover job.
-     * 
- */ - public void cancelCutoverJob(com.google.cloud.vmmigration.v1.CancelCutoverJobRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCancelCutoverJobMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lists CutoverJobs of a given migrating VM.
-     * 
- */ - public void listCutoverJobs(com.google.cloud.vmmigration.v1.ListCutoverJobsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListCutoverJobsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Gets details of a single CutoverJob.
-     * 
- */ - public void getCutoverJob(com.google.cloud.vmmigration.v1.GetCutoverJobRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetCutoverJobMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lists Groups in a given project and location.
-     * 
- */ - public void listGroups(com.google.cloud.vmmigration.v1.ListGroupsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListGroupsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Gets details of a single Group.
-     * 
- */ - public void getGroup(com.google.cloud.vmmigration.v1.GetGroupRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetGroupMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Creates a new Group in a given project and location.
-     * 
- */ - public void createGroup(com.google.cloud.vmmigration.v1.CreateGroupRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateGroupMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Updates the parameters of a single Group.
-     * 
- */ - public void updateGroup(com.google.cloud.vmmigration.v1.UpdateGroupRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateGroupMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Deletes a single Group.
-     * 
- */ - public void deleteGroup(com.google.cloud.vmmigration.v1.DeleteGroupRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteGroupMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Adds a MigratingVm to a Group.
-     * 
- */ - public void addGroupMigration(com.google.cloud.vmmigration.v1.AddGroupMigrationRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getAddGroupMigrationMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Removes a MigratingVm from a Group.
-     * 
- */ - public void removeGroupMigration(com.google.cloud.vmmigration.v1.RemoveGroupMigrationRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getRemoveGroupMigrationMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lists TargetProjects in a given project.
-     * NOTE: TargetProject is a global resource; hence the only supported value
-     * for location is `global`.
-     * 
- */ - public void listTargetProjects(com.google.cloud.vmmigration.v1.ListTargetProjectsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListTargetProjectsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Gets details of a single TargetProject.
-     * NOTE: TargetProject is a global resource; hence the only supported value
-     * for location is `global`.
-     * 
- */ - public void getTargetProject(com.google.cloud.vmmigration.v1.GetTargetProjectRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetTargetProjectMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Creates a new TargetProject in a given project.
-     * NOTE: TargetProject is a global resource; hence the only supported value
-     * for location is `global`.
-     * 
- */ - public void createTargetProject(com.google.cloud.vmmigration.v1.CreateTargetProjectRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateTargetProjectMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Updates the parameters of a single TargetProject.
-     * NOTE: TargetProject is a global resource; hence the only supported value
-     * for location is `global`.
-     * 
- */ - public void updateTargetProject(com.google.cloud.vmmigration.v1.UpdateTargetProjectRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateTargetProjectMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Deletes a single TargetProject.
-     * NOTE: TargetProject is a global resource; hence the only supported value
-     * for location is `global`.
-     * 
- */ - public void deleteTargetProject(com.google.cloud.vmmigration.v1.DeleteTargetProjectRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteTargetProjectMethod(), getCallOptions()), request, responseObserver); - } - } - - /** - *
-   * VM Migration Service
-   * 
- */ - public static final class VmMigrationBlockingStub extends io.grpc.stub.AbstractBlockingStub { - private VmMigrationBlockingStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected VmMigrationBlockingStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new VmMigrationBlockingStub(channel, callOptions); - } - - /** - *
-     * Lists Sources in a given project and location.
-     * 
- */ - public com.google.cloud.vmmigration.v1.ListSourcesResponse listSources(com.google.cloud.vmmigration.v1.ListSourcesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListSourcesMethod(), getCallOptions(), request); - } - - /** - *
-     * Gets details of a single Source.
-     * 
- */ - public com.google.cloud.vmmigration.v1.Source getSource(com.google.cloud.vmmigration.v1.GetSourceRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetSourceMethod(), getCallOptions(), request); - } - - /** - *
-     * Creates a new Source in a given project and location.
-     * 
- */ - public com.google.longrunning.Operation createSource(com.google.cloud.vmmigration.v1.CreateSourceRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateSourceMethod(), getCallOptions(), request); - } - - /** - *
-     * Updates the parameters of a single Source.
-     * 
- */ - public com.google.longrunning.Operation updateSource(com.google.cloud.vmmigration.v1.UpdateSourceRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateSourceMethod(), getCallOptions(), request); - } - - /** - *
-     * Deletes a single Source.
-     * 
- */ - public com.google.longrunning.Operation deleteSource(com.google.cloud.vmmigration.v1.DeleteSourceRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteSourceMethod(), getCallOptions(), request); - } - - /** - *
-     * List remote source's inventory of VMs.
-     * The remote source is the onprem vCenter (remote in the sense it's not in
-     * Compute Engine). The inventory describes the list of existing VMs in that
-     * source. Note that this operation lists the VMs on the remote source, as
-     * opposed to listing the MigratingVms resources in the vmmigration service.
-     * 
- */ - public com.google.cloud.vmmigration.v1.FetchInventoryResponse fetchInventory(com.google.cloud.vmmigration.v1.FetchInventoryRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getFetchInventoryMethod(), getCallOptions(), request); - } - - /** - *
-     * Lists Utilization Reports of the given Source.
-     * 
- */ - public com.google.cloud.vmmigration.v1.ListUtilizationReportsResponse listUtilizationReports(com.google.cloud.vmmigration.v1.ListUtilizationReportsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListUtilizationReportsMethod(), getCallOptions(), request); - } - - /** - *
-     * Gets a single Utilization Report.
-     * 
- */ - public com.google.cloud.vmmigration.v1.UtilizationReport getUtilizationReport(com.google.cloud.vmmigration.v1.GetUtilizationReportRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetUtilizationReportMethod(), getCallOptions(), request); - } - - /** - *
-     * Creates a new UtilizationReport.
-     * 
- */ - public com.google.longrunning.Operation createUtilizationReport(com.google.cloud.vmmigration.v1.CreateUtilizationReportRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateUtilizationReportMethod(), getCallOptions(), request); - } - - /** - *
-     * Deletes a single Utilization Report.
-     * 
- */ - public com.google.longrunning.Operation deleteUtilizationReport(com.google.cloud.vmmigration.v1.DeleteUtilizationReportRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteUtilizationReportMethod(), getCallOptions(), request); - } - - /** - *
-     * Lists DatacenterConnectors in a given Source.
-     * 
- */ - public com.google.cloud.vmmigration.v1.ListDatacenterConnectorsResponse listDatacenterConnectors(com.google.cloud.vmmigration.v1.ListDatacenterConnectorsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListDatacenterConnectorsMethod(), getCallOptions(), request); - } - - /** - *
-     * Gets details of a single DatacenterConnector.
-     * 
- */ - public com.google.cloud.vmmigration.v1.DatacenterConnector getDatacenterConnector(com.google.cloud.vmmigration.v1.GetDatacenterConnectorRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetDatacenterConnectorMethod(), getCallOptions(), request); - } - - /** - *
-     * Creates a new DatacenterConnector in a given Source.
-     * 
- */ - public com.google.longrunning.Operation createDatacenterConnector(com.google.cloud.vmmigration.v1.CreateDatacenterConnectorRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateDatacenterConnectorMethod(), getCallOptions(), request); - } - - /** - *
-     * Deletes a single DatacenterConnector.
-     * 
- */ - public com.google.longrunning.Operation deleteDatacenterConnector(com.google.cloud.vmmigration.v1.DeleteDatacenterConnectorRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteDatacenterConnectorMethod(), getCallOptions(), request); - } - - /** - *
-     * Upgrades the appliance relate to this DatacenterConnector to the in-place
-     * updateable version.
-     * 
- */ - public com.google.longrunning.Operation upgradeAppliance(com.google.cloud.vmmigration.v1.UpgradeApplianceRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpgradeApplianceMethod(), getCallOptions(), request); - } - - /** - *
-     * Creates a new MigratingVm in a given Source.
-     * 
- */ - public com.google.longrunning.Operation createMigratingVm(com.google.cloud.vmmigration.v1.CreateMigratingVmRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateMigratingVmMethod(), getCallOptions(), request); - } - - /** - *
-     * Lists MigratingVms in a given Source.
-     * 
- */ - public com.google.cloud.vmmigration.v1.ListMigratingVmsResponse listMigratingVms(com.google.cloud.vmmigration.v1.ListMigratingVmsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListMigratingVmsMethod(), getCallOptions(), request); - } - - /** - *
-     * Gets details of a single MigratingVm.
-     * 
- */ - public com.google.cloud.vmmigration.v1.MigratingVm getMigratingVm(com.google.cloud.vmmigration.v1.GetMigratingVmRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetMigratingVmMethod(), getCallOptions(), request); - } - - /** - *
-     * Updates the parameters of a single MigratingVm.
-     * 
- */ - public com.google.longrunning.Operation updateMigratingVm(com.google.cloud.vmmigration.v1.UpdateMigratingVmRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateMigratingVmMethod(), getCallOptions(), request); - } - - /** - *
-     * Deletes a single MigratingVm.
-     * 
- */ - public com.google.longrunning.Operation deleteMigratingVm(com.google.cloud.vmmigration.v1.DeleteMigratingVmRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteMigratingVmMethod(), getCallOptions(), request); - } - - /** - *
-     * Starts migration for a VM. Starts the process of uploading
-     * data and creating snapshots, in replication cycles scheduled by the policy.
-     * 
- */ - public com.google.longrunning.Operation startMigration(com.google.cloud.vmmigration.v1.StartMigrationRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getStartMigrationMethod(), getCallOptions(), request); - } - - /** - *
-     * Resumes a migration for a VM. When called on a paused migration, will start
-     * the process of uploading data and creating snapshots; when called on a
-     * completed cut-over migration, will update the migration to active state and
-     * start the process of uploading data and creating snapshots.
-     * 
- */ - public com.google.longrunning.Operation resumeMigration(com.google.cloud.vmmigration.v1.ResumeMigrationRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getResumeMigrationMethod(), getCallOptions(), request); - } - - /** - *
-     * Pauses a migration for a VM. If cycle tasks are running they will be
-     * cancelled, preserving source task data. Further replication cycles will not
-     * be triggered while the VM is paused.
-     * 
- */ - public com.google.longrunning.Operation pauseMigration(com.google.cloud.vmmigration.v1.PauseMigrationRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getPauseMigrationMethod(), getCallOptions(), request); - } - - /** - *
-     * Marks a migration as completed, deleting migration resources that are no
-     * longer being used. Only applicable after cutover is done.
-     * 
- */ - public com.google.longrunning.Operation finalizeMigration(com.google.cloud.vmmigration.v1.FinalizeMigrationRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getFinalizeMigrationMethod(), getCallOptions(), request); - } - - /** - *
-     * Initiates a Clone of a specific migrating VM.
-     * 
- */ - public com.google.longrunning.Operation createCloneJob(com.google.cloud.vmmigration.v1.CreateCloneJobRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateCloneJobMethod(), getCallOptions(), request); - } - - /** - *
-     * Initiates the cancellation of a running clone job.
-     * 
- */ - public com.google.longrunning.Operation cancelCloneJob(com.google.cloud.vmmigration.v1.CancelCloneJobRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCancelCloneJobMethod(), getCallOptions(), request); - } - - /** - *
-     * Lists CloneJobs of a given migrating VM.
-     * 
- */ - public com.google.cloud.vmmigration.v1.ListCloneJobsResponse listCloneJobs(com.google.cloud.vmmigration.v1.ListCloneJobsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListCloneJobsMethod(), getCallOptions(), request); - } - - /** - *
-     * Gets details of a single CloneJob.
-     * 
- */ - public com.google.cloud.vmmigration.v1.CloneJob getCloneJob(com.google.cloud.vmmigration.v1.GetCloneJobRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetCloneJobMethod(), getCallOptions(), request); - } - - /** - *
-     * Initiates a Cutover of a specific migrating VM.
-     * The returned LRO is completed when the cutover job resource is created
-     * and the job is initiated.
-     * 
- */ - public com.google.longrunning.Operation createCutoverJob(com.google.cloud.vmmigration.v1.CreateCutoverJobRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateCutoverJobMethod(), getCallOptions(), request); - } - - /** - *
-     * Initiates the cancellation of a running cutover job.
-     * 
- */ - public com.google.longrunning.Operation cancelCutoverJob(com.google.cloud.vmmigration.v1.CancelCutoverJobRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCancelCutoverJobMethod(), getCallOptions(), request); - } - - /** - *
-     * Lists CutoverJobs of a given migrating VM.
-     * 
- */ - public com.google.cloud.vmmigration.v1.ListCutoverJobsResponse listCutoverJobs(com.google.cloud.vmmigration.v1.ListCutoverJobsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListCutoverJobsMethod(), getCallOptions(), request); - } - - /** - *
-     * Gets details of a single CutoverJob.
-     * 
- */ - public com.google.cloud.vmmigration.v1.CutoverJob getCutoverJob(com.google.cloud.vmmigration.v1.GetCutoverJobRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetCutoverJobMethod(), getCallOptions(), request); - } - - /** - *
-     * Lists Groups in a given project and location.
-     * 
- */ - public com.google.cloud.vmmigration.v1.ListGroupsResponse listGroups(com.google.cloud.vmmigration.v1.ListGroupsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListGroupsMethod(), getCallOptions(), request); - } - - /** - *
-     * Gets details of a single Group.
-     * 
- */ - public com.google.cloud.vmmigration.v1.Group getGroup(com.google.cloud.vmmigration.v1.GetGroupRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetGroupMethod(), getCallOptions(), request); - } - - /** - *
-     * Creates a new Group in a given project and location.
-     * 
- */ - public com.google.longrunning.Operation createGroup(com.google.cloud.vmmigration.v1.CreateGroupRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateGroupMethod(), getCallOptions(), request); - } - - /** - *
-     * Updates the parameters of a single Group.
-     * 
- */ - public com.google.longrunning.Operation updateGroup(com.google.cloud.vmmigration.v1.UpdateGroupRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateGroupMethod(), getCallOptions(), request); - } - - /** - *
-     * Deletes a single Group.
-     * 
- */ - public com.google.longrunning.Operation deleteGroup(com.google.cloud.vmmigration.v1.DeleteGroupRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteGroupMethod(), getCallOptions(), request); - } - - /** - *
-     * Adds a MigratingVm to a Group.
-     * 
- */ - public com.google.longrunning.Operation addGroupMigration(com.google.cloud.vmmigration.v1.AddGroupMigrationRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getAddGroupMigrationMethod(), getCallOptions(), request); - } - - /** - *
-     * Removes a MigratingVm from a Group.
-     * 
- */ - public com.google.longrunning.Operation removeGroupMigration(com.google.cloud.vmmigration.v1.RemoveGroupMigrationRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getRemoveGroupMigrationMethod(), getCallOptions(), request); - } - - /** - *
-     * Lists TargetProjects in a given project.
-     * NOTE: TargetProject is a global resource; hence the only supported value
-     * for location is `global`.
-     * 
- */ - public com.google.cloud.vmmigration.v1.ListTargetProjectsResponse listTargetProjects(com.google.cloud.vmmigration.v1.ListTargetProjectsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListTargetProjectsMethod(), getCallOptions(), request); - } - - /** - *
-     * Gets details of a single TargetProject.
-     * NOTE: TargetProject is a global resource; hence the only supported value
-     * for location is `global`.
-     * 
- */ - public com.google.cloud.vmmigration.v1.TargetProject getTargetProject(com.google.cloud.vmmigration.v1.GetTargetProjectRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetTargetProjectMethod(), getCallOptions(), request); - } - - /** - *
-     * Creates a new TargetProject in a given project.
-     * NOTE: TargetProject is a global resource; hence the only supported value
-     * for location is `global`.
-     * 
- */ - public com.google.longrunning.Operation createTargetProject(com.google.cloud.vmmigration.v1.CreateTargetProjectRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateTargetProjectMethod(), getCallOptions(), request); - } - - /** - *
-     * Updates the parameters of a single TargetProject.
-     * NOTE: TargetProject is a global resource; hence the only supported value
-     * for location is `global`.
-     * 
- */ - public com.google.longrunning.Operation updateTargetProject(com.google.cloud.vmmigration.v1.UpdateTargetProjectRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateTargetProjectMethod(), getCallOptions(), request); - } - - /** - *
-     * Deletes a single TargetProject.
-     * NOTE: TargetProject is a global resource; hence the only supported value
-     * for location is `global`.
-     * 
- */ - public com.google.longrunning.Operation deleteTargetProject(com.google.cloud.vmmigration.v1.DeleteTargetProjectRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteTargetProjectMethod(), getCallOptions(), request); - } - } - - /** - *
-   * VM Migration Service
-   * 
- */ - public static final class VmMigrationFutureStub extends io.grpc.stub.AbstractFutureStub { - private VmMigrationFutureStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected VmMigrationFutureStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new VmMigrationFutureStub(channel, callOptions); - } - - /** - *
-     * Lists Sources in a given project and location.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listSources( - com.google.cloud.vmmigration.v1.ListSourcesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListSourcesMethod(), getCallOptions()), request); - } - - /** - *
-     * Gets details of a single Source.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getSource( - com.google.cloud.vmmigration.v1.GetSourceRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetSourceMethod(), getCallOptions()), request); - } - - /** - *
-     * Creates a new Source in a given project and location.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture createSource( - com.google.cloud.vmmigration.v1.CreateSourceRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateSourceMethod(), getCallOptions()), request); - } - - /** - *
-     * Updates the parameters of a single Source.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture updateSource( - com.google.cloud.vmmigration.v1.UpdateSourceRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateSourceMethod(), getCallOptions()), request); - } - - /** - *
-     * Deletes a single Source.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deleteSource( - com.google.cloud.vmmigration.v1.DeleteSourceRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteSourceMethod(), getCallOptions()), request); - } - - /** - *
-     * List remote source's inventory of VMs.
-     * The remote source is the onprem vCenter (remote in the sense it's not in
-     * Compute Engine). The inventory describes the list of existing VMs in that
-     * source. Note that this operation lists the VMs on the remote source, as
-     * opposed to listing the MigratingVms resources in the vmmigration service.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture fetchInventory( - com.google.cloud.vmmigration.v1.FetchInventoryRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getFetchInventoryMethod(), getCallOptions()), request); - } - - /** - *
-     * Lists Utilization Reports of the given Source.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listUtilizationReports( - com.google.cloud.vmmigration.v1.ListUtilizationReportsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListUtilizationReportsMethod(), getCallOptions()), request); - } - - /** - *
-     * Gets a single Utilization Report.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getUtilizationReport( - com.google.cloud.vmmigration.v1.GetUtilizationReportRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetUtilizationReportMethod(), getCallOptions()), request); - } - - /** - *
-     * Creates a new UtilizationReport.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture createUtilizationReport( - com.google.cloud.vmmigration.v1.CreateUtilizationReportRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateUtilizationReportMethod(), getCallOptions()), request); - } - - /** - *
-     * Deletes a single Utilization Report.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deleteUtilizationReport( - com.google.cloud.vmmigration.v1.DeleteUtilizationReportRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteUtilizationReportMethod(), getCallOptions()), request); - } - - /** - *
-     * Lists DatacenterConnectors in a given Source.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listDatacenterConnectors( - com.google.cloud.vmmigration.v1.ListDatacenterConnectorsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListDatacenterConnectorsMethod(), getCallOptions()), request); - } - - /** - *
-     * Gets details of a single DatacenterConnector.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getDatacenterConnector( - com.google.cloud.vmmigration.v1.GetDatacenterConnectorRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetDatacenterConnectorMethod(), getCallOptions()), request); - } - - /** - *
-     * Creates a new DatacenterConnector in a given Source.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture createDatacenterConnector( - com.google.cloud.vmmigration.v1.CreateDatacenterConnectorRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateDatacenterConnectorMethod(), getCallOptions()), request); - } - - /** - *
-     * Deletes a single DatacenterConnector.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deleteDatacenterConnector( - com.google.cloud.vmmigration.v1.DeleteDatacenterConnectorRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteDatacenterConnectorMethod(), getCallOptions()), request); - } - - /** - *
-     * Upgrades the appliance relate to this DatacenterConnector to the in-place
-     * updateable version.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture upgradeAppliance( - com.google.cloud.vmmigration.v1.UpgradeApplianceRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpgradeApplianceMethod(), getCallOptions()), request); - } - - /** - *
-     * Creates a new MigratingVm in a given Source.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture createMigratingVm( - com.google.cloud.vmmigration.v1.CreateMigratingVmRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateMigratingVmMethod(), getCallOptions()), request); - } - - /** - *
-     * Lists MigratingVms in a given Source.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listMigratingVms( - com.google.cloud.vmmigration.v1.ListMigratingVmsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListMigratingVmsMethod(), getCallOptions()), request); - } - - /** - *
-     * Gets details of a single MigratingVm.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getMigratingVm( - com.google.cloud.vmmigration.v1.GetMigratingVmRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetMigratingVmMethod(), getCallOptions()), request); - } - - /** - *
-     * Updates the parameters of a single MigratingVm.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture updateMigratingVm( - com.google.cloud.vmmigration.v1.UpdateMigratingVmRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateMigratingVmMethod(), getCallOptions()), request); - } - - /** - *
-     * Deletes a single MigratingVm.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deleteMigratingVm( - com.google.cloud.vmmigration.v1.DeleteMigratingVmRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteMigratingVmMethod(), getCallOptions()), request); - } - - /** - *
-     * Starts migration for a VM. Starts the process of uploading
-     * data and creating snapshots, in replication cycles scheduled by the policy.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture startMigration( - com.google.cloud.vmmigration.v1.StartMigrationRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getStartMigrationMethod(), getCallOptions()), request); - } - - /** - *
-     * Resumes a migration for a VM. When called on a paused migration, will start
-     * the process of uploading data and creating snapshots; when called on a
-     * completed cut-over migration, will update the migration to active state and
-     * start the process of uploading data and creating snapshots.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture resumeMigration( - com.google.cloud.vmmigration.v1.ResumeMigrationRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getResumeMigrationMethod(), getCallOptions()), request); - } - - /** - *
-     * Pauses a migration for a VM. If cycle tasks are running they will be
-     * cancelled, preserving source task data. Further replication cycles will not
-     * be triggered while the VM is paused.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture pauseMigration( - com.google.cloud.vmmigration.v1.PauseMigrationRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getPauseMigrationMethod(), getCallOptions()), request); - } - - /** - *
-     * Marks a migration as completed, deleting migration resources that are no
-     * longer being used. Only applicable after cutover is done.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture finalizeMigration( - com.google.cloud.vmmigration.v1.FinalizeMigrationRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getFinalizeMigrationMethod(), getCallOptions()), request); - } - - /** - *
-     * Initiates a Clone of a specific migrating VM.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture createCloneJob( - com.google.cloud.vmmigration.v1.CreateCloneJobRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateCloneJobMethod(), getCallOptions()), request); - } - - /** - *
-     * Initiates the cancellation of a running clone job.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture cancelCloneJob( - com.google.cloud.vmmigration.v1.CancelCloneJobRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCancelCloneJobMethod(), getCallOptions()), request); - } - - /** - *
-     * Lists CloneJobs of a given migrating VM.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listCloneJobs( - com.google.cloud.vmmigration.v1.ListCloneJobsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListCloneJobsMethod(), getCallOptions()), request); - } - - /** - *
-     * Gets details of a single CloneJob.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getCloneJob( - com.google.cloud.vmmigration.v1.GetCloneJobRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetCloneJobMethod(), getCallOptions()), request); - } - - /** - *
-     * Initiates a Cutover of a specific migrating VM.
-     * The returned LRO is completed when the cutover job resource is created
-     * and the job is initiated.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture createCutoverJob( - com.google.cloud.vmmigration.v1.CreateCutoverJobRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateCutoverJobMethod(), getCallOptions()), request); - } - - /** - *
-     * Initiates the cancellation of a running cutover job.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture cancelCutoverJob( - com.google.cloud.vmmigration.v1.CancelCutoverJobRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCancelCutoverJobMethod(), getCallOptions()), request); - } - - /** - *
-     * Lists CutoverJobs of a given migrating VM.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listCutoverJobs( - com.google.cloud.vmmigration.v1.ListCutoverJobsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListCutoverJobsMethod(), getCallOptions()), request); - } - - /** - *
-     * Gets details of a single CutoverJob.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getCutoverJob( - com.google.cloud.vmmigration.v1.GetCutoverJobRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetCutoverJobMethod(), getCallOptions()), request); - } - - /** - *
-     * Lists Groups in a given project and location.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listGroups( - com.google.cloud.vmmigration.v1.ListGroupsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListGroupsMethod(), getCallOptions()), request); - } - - /** - *
-     * Gets details of a single Group.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getGroup( - com.google.cloud.vmmigration.v1.GetGroupRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetGroupMethod(), getCallOptions()), request); - } - - /** - *
-     * Creates a new Group in a given project and location.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture createGroup( - com.google.cloud.vmmigration.v1.CreateGroupRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateGroupMethod(), getCallOptions()), request); - } - - /** - *
-     * Updates the parameters of a single Group.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture updateGroup( - com.google.cloud.vmmigration.v1.UpdateGroupRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateGroupMethod(), getCallOptions()), request); - } - - /** - *
-     * Deletes a single Group.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deleteGroup( - com.google.cloud.vmmigration.v1.DeleteGroupRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteGroupMethod(), getCallOptions()), request); - } - - /** - *
-     * Adds a MigratingVm to a Group.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture addGroupMigration( - com.google.cloud.vmmigration.v1.AddGroupMigrationRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getAddGroupMigrationMethod(), getCallOptions()), request); - } - - /** - *
-     * Removes a MigratingVm from a Group.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture removeGroupMigration( - com.google.cloud.vmmigration.v1.RemoveGroupMigrationRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getRemoveGroupMigrationMethod(), getCallOptions()), request); - } - - /** - *
-     * Lists TargetProjects in a given project.
-     * NOTE: TargetProject is a global resource; hence the only supported value
-     * for location is `global`.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listTargetProjects( - com.google.cloud.vmmigration.v1.ListTargetProjectsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListTargetProjectsMethod(), getCallOptions()), request); - } - - /** - *
-     * Gets details of a single TargetProject.
-     * NOTE: TargetProject is a global resource; hence the only supported value
-     * for location is `global`.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getTargetProject( - com.google.cloud.vmmigration.v1.GetTargetProjectRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetTargetProjectMethod(), getCallOptions()), request); - } - - /** - *
-     * Creates a new TargetProject in a given project.
-     * NOTE: TargetProject is a global resource; hence the only supported value
-     * for location is `global`.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture createTargetProject( - com.google.cloud.vmmigration.v1.CreateTargetProjectRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateTargetProjectMethod(), getCallOptions()), request); - } - - /** - *
-     * Updates the parameters of a single TargetProject.
-     * NOTE: TargetProject is a global resource; hence the only supported value
-     * for location is `global`.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture updateTargetProject( - com.google.cloud.vmmigration.v1.UpdateTargetProjectRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateTargetProjectMethod(), getCallOptions()), request); - } - - /** - *
-     * Deletes a single TargetProject.
-     * NOTE: TargetProject is a global resource; hence the only supported value
-     * for location is `global`.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deleteTargetProject( - com.google.cloud.vmmigration.v1.DeleteTargetProjectRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteTargetProjectMethod(), getCallOptions()), request); - } - } - - private static final int METHODID_LIST_SOURCES = 0; - private static final int METHODID_GET_SOURCE = 1; - private static final int METHODID_CREATE_SOURCE = 2; - private static final int METHODID_UPDATE_SOURCE = 3; - private static final int METHODID_DELETE_SOURCE = 4; - private static final int METHODID_FETCH_INVENTORY = 5; - private static final int METHODID_LIST_UTILIZATION_REPORTS = 6; - private static final int METHODID_GET_UTILIZATION_REPORT = 7; - private static final int METHODID_CREATE_UTILIZATION_REPORT = 8; - private static final int METHODID_DELETE_UTILIZATION_REPORT = 9; - private static final int METHODID_LIST_DATACENTER_CONNECTORS = 10; - private static final int METHODID_GET_DATACENTER_CONNECTOR = 11; - private static final int METHODID_CREATE_DATACENTER_CONNECTOR = 12; - private static final int METHODID_DELETE_DATACENTER_CONNECTOR = 13; - private static final int METHODID_UPGRADE_APPLIANCE = 14; - private static final int METHODID_CREATE_MIGRATING_VM = 15; - private static final int METHODID_LIST_MIGRATING_VMS = 16; - private static final int METHODID_GET_MIGRATING_VM = 17; - private static final int METHODID_UPDATE_MIGRATING_VM = 18; - private static final int METHODID_DELETE_MIGRATING_VM = 19; - private static final int METHODID_START_MIGRATION = 20; - private static final int METHODID_RESUME_MIGRATION = 21; - private static final int METHODID_PAUSE_MIGRATION = 22; - private static final int METHODID_FINALIZE_MIGRATION = 23; - private static final int METHODID_CREATE_CLONE_JOB = 24; - private static final int METHODID_CANCEL_CLONE_JOB = 25; - private static final int METHODID_LIST_CLONE_JOBS = 26; - private static final int METHODID_GET_CLONE_JOB = 27; - private static final int METHODID_CREATE_CUTOVER_JOB = 28; - private static final int METHODID_CANCEL_CUTOVER_JOB = 29; - private static final int METHODID_LIST_CUTOVER_JOBS = 30; - private static final int METHODID_GET_CUTOVER_JOB = 31; - private static final int METHODID_LIST_GROUPS = 32; - private static final int METHODID_GET_GROUP = 33; - private static final int METHODID_CREATE_GROUP = 34; - private static final int METHODID_UPDATE_GROUP = 35; - private static final int METHODID_DELETE_GROUP = 36; - private static final int METHODID_ADD_GROUP_MIGRATION = 37; - private static final int METHODID_REMOVE_GROUP_MIGRATION = 38; - private static final int METHODID_LIST_TARGET_PROJECTS = 39; - private static final int METHODID_GET_TARGET_PROJECT = 40; - private static final int METHODID_CREATE_TARGET_PROJECT = 41; - private static final int METHODID_UPDATE_TARGET_PROJECT = 42; - private static final int METHODID_DELETE_TARGET_PROJECT = 43; - - 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 VmMigrationImplBase serviceImpl; - private final int methodId; - - MethodHandlers(VmMigrationImplBase 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_LIST_SOURCES: - serviceImpl.listSources((com.google.cloud.vmmigration.v1.ListSourcesRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_SOURCE: - serviceImpl.getSource((com.google.cloud.vmmigration.v1.GetSourceRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_SOURCE: - serviceImpl.createSource((com.google.cloud.vmmigration.v1.CreateSourceRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_SOURCE: - serviceImpl.updateSource((com.google.cloud.vmmigration.v1.UpdateSourceRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_SOURCE: - serviceImpl.deleteSource((com.google.cloud.vmmigration.v1.DeleteSourceRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_FETCH_INVENTORY: - serviceImpl.fetchInventory((com.google.cloud.vmmigration.v1.FetchInventoryRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_UTILIZATION_REPORTS: - serviceImpl.listUtilizationReports((com.google.cloud.vmmigration.v1.ListUtilizationReportsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_UTILIZATION_REPORT: - serviceImpl.getUtilizationReport((com.google.cloud.vmmigration.v1.GetUtilizationReportRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_UTILIZATION_REPORT: - serviceImpl.createUtilizationReport((com.google.cloud.vmmigration.v1.CreateUtilizationReportRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_UTILIZATION_REPORT: - serviceImpl.deleteUtilizationReport((com.google.cloud.vmmigration.v1.DeleteUtilizationReportRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_DATACENTER_CONNECTORS: - serviceImpl.listDatacenterConnectors((com.google.cloud.vmmigration.v1.ListDatacenterConnectorsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_DATACENTER_CONNECTOR: - serviceImpl.getDatacenterConnector((com.google.cloud.vmmigration.v1.GetDatacenterConnectorRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_DATACENTER_CONNECTOR: - serviceImpl.createDatacenterConnector((com.google.cloud.vmmigration.v1.CreateDatacenterConnectorRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_DATACENTER_CONNECTOR: - serviceImpl.deleteDatacenterConnector((com.google.cloud.vmmigration.v1.DeleteDatacenterConnectorRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPGRADE_APPLIANCE: - serviceImpl.upgradeAppliance((com.google.cloud.vmmigration.v1.UpgradeApplianceRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_MIGRATING_VM: - serviceImpl.createMigratingVm((com.google.cloud.vmmigration.v1.CreateMigratingVmRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_MIGRATING_VMS: - serviceImpl.listMigratingVms((com.google.cloud.vmmigration.v1.ListMigratingVmsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_MIGRATING_VM: - serviceImpl.getMigratingVm((com.google.cloud.vmmigration.v1.GetMigratingVmRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_MIGRATING_VM: - serviceImpl.updateMigratingVm((com.google.cloud.vmmigration.v1.UpdateMigratingVmRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_MIGRATING_VM: - serviceImpl.deleteMigratingVm((com.google.cloud.vmmigration.v1.DeleteMigratingVmRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_START_MIGRATION: - serviceImpl.startMigration((com.google.cloud.vmmigration.v1.StartMigrationRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_RESUME_MIGRATION: - serviceImpl.resumeMigration((com.google.cloud.vmmigration.v1.ResumeMigrationRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_PAUSE_MIGRATION: - serviceImpl.pauseMigration((com.google.cloud.vmmigration.v1.PauseMigrationRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_FINALIZE_MIGRATION: - serviceImpl.finalizeMigration((com.google.cloud.vmmigration.v1.FinalizeMigrationRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_CLONE_JOB: - serviceImpl.createCloneJob((com.google.cloud.vmmigration.v1.CreateCloneJobRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CANCEL_CLONE_JOB: - serviceImpl.cancelCloneJob((com.google.cloud.vmmigration.v1.CancelCloneJobRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_CLONE_JOBS: - serviceImpl.listCloneJobs((com.google.cloud.vmmigration.v1.ListCloneJobsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_CLONE_JOB: - serviceImpl.getCloneJob((com.google.cloud.vmmigration.v1.GetCloneJobRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_CUTOVER_JOB: - serviceImpl.createCutoverJob((com.google.cloud.vmmigration.v1.CreateCutoverJobRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CANCEL_CUTOVER_JOB: - serviceImpl.cancelCutoverJob((com.google.cloud.vmmigration.v1.CancelCutoverJobRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_CUTOVER_JOBS: - serviceImpl.listCutoverJobs((com.google.cloud.vmmigration.v1.ListCutoverJobsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_CUTOVER_JOB: - serviceImpl.getCutoverJob((com.google.cloud.vmmigration.v1.GetCutoverJobRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_GROUPS: - serviceImpl.listGroups((com.google.cloud.vmmigration.v1.ListGroupsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_GROUP: - serviceImpl.getGroup((com.google.cloud.vmmigration.v1.GetGroupRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_GROUP: - serviceImpl.createGroup((com.google.cloud.vmmigration.v1.CreateGroupRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_GROUP: - serviceImpl.updateGroup((com.google.cloud.vmmigration.v1.UpdateGroupRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_GROUP: - serviceImpl.deleteGroup((com.google.cloud.vmmigration.v1.DeleteGroupRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_ADD_GROUP_MIGRATION: - serviceImpl.addGroupMigration((com.google.cloud.vmmigration.v1.AddGroupMigrationRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_REMOVE_GROUP_MIGRATION: - serviceImpl.removeGroupMigration((com.google.cloud.vmmigration.v1.RemoveGroupMigrationRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_TARGET_PROJECTS: - serviceImpl.listTargetProjects((com.google.cloud.vmmigration.v1.ListTargetProjectsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_TARGET_PROJECT: - serviceImpl.getTargetProject((com.google.cloud.vmmigration.v1.GetTargetProjectRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_TARGET_PROJECT: - serviceImpl.createTargetProject((com.google.cloud.vmmigration.v1.CreateTargetProjectRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_TARGET_PROJECT: - serviceImpl.updateTargetProject((com.google.cloud.vmmigration.v1.UpdateTargetProjectRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_TARGET_PROJECT: - serviceImpl.deleteTargetProject((com.google.cloud.vmmigration.v1.DeleteTargetProjectRequest) 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(); - } - } - } - - private static abstract class VmMigrationBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { - VmMigrationBaseDescriptorSupplier() {} - - @java.lang.Override - public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.getDescriptor(); - } - - @java.lang.Override - public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { - return getFileDescriptor().findServiceByName("VmMigration"); - } - } - - private static final class VmMigrationFileDescriptorSupplier - extends VmMigrationBaseDescriptorSupplier { - VmMigrationFileDescriptorSupplier() {} - } - - private static final class VmMigrationMethodDescriptorSupplier - extends VmMigrationBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { - private final String methodName; - - VmMigrationMethodDescriptorSupplier(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 (VmMigrationGrpc.class) { - result = serviceDescriptor; - if (result == null) { - serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new VmMigrationFileDescriptorSupplier()) - .addMethod(getListSourcesMethod()) - .addMethod(getGetSourceMethod()) - .addMethod(getCreateSourceMethod()) - .addMethod(getUpdateSourceMethod()) - .addMethod(getDeleteSourceMethod()) - .addMethod(getFetchInventoryMethod()) - .addMethod(getListUtilizationReportsMethod()) - .addMethod(getGetUtilizationReportMethod()) - .addMethod(getCreateUtilizationReportMethod()) - .addMethod(getDeleteUtilizationReportMethod()) - .addMethod(getListDatacenterConnectorsMethod()) - .addMethod(getGetDatacenterConnectorMethod()) - .addMethod(getCreateDatacenterConnectorMethod()) - .addMethod(getDeleteDatacenterConnectorMethod()) - .addMethod(getUpgradeApplianceMethod()) - .addMethod(getCreateMigratingVmMethod()) - .addMethod(getListMigratingVmsMethod()) - .addMethod(getGetMigratingVmMethod()) - .addMethod(getUpdateMigratingVmMethod()) - .addMethod(getDeleteMigratingVmMethod()) - .addMethod(getStartMigrationMethod()) - .addMethod(getResumeMigrationMethod()) - .addMethod(getPauseMigrationMethod()) - .addMethod(getFinalizeMigrationMethod()) - .addMethod(getCreateCloneJobMethod()) - .addMethod(getCancelCloneJobMethod()) - .addMethod(getListCloneJobsMethod()) - .addMethod(getGetCloneJobMethod()) - .addMethod(getCreateCutoverJobMethod()) - .addMethod(getCancelCutoverJobMethod()) - .addMethod(getListCutoverJobsMethod()) - .addMethod(getGetCutoverJobMethod()) - .addMethod(getListGroupsMethod()) - .addMethod(getGetGroupMethod()) - .addMethod(getCreateGroupMethod()) - .addMethod(getUpdateGroupMethod()) - .addMethod(getDeleteGroupMethod()) - .addMethod(getAddGroupMigrationMethod()) - .addMethod(getRemoveGroupMigrationMethod()) - .addMethod(getListTargetProjectsMethod()) - .addMethod(getGetTargetProjectMethod()) - .addMethod(getCreateTargetProjectMethod()) - .addMethod(getUpdateTargetProjectMethod()) - .addMethod(getDeleteTargetProjectMethod()) - .build(); - } - } - } - return result; - } -} diff --git a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/AddGroupMigrationRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/AddGroupMigrationRequestOrBuilder.java deleted file mode 100644 index 7799e13..0000000 --- a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/AddGroupMigrationRequestOrBuilder.java +++ /dev/null @@ -1,49 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/vmmigration/v1/vmmigration.proto - -package com.google.cloud.vmmigration.v1; - -public interface AddGroupMigrationRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.AddGroupMigrationRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The full path name of the Group to add to.
-   * 
- * - * string group = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The group. - */ - java.lang.String getGroup(); - /** - *
-   * Required. The full path name of the Group to add to.
-   * 
- * - * string group = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for group. - */ - com.google.protobuf.ByteString - getGroupBytes(); - - /** - *
-   * The full path name of the MigratingVm to add.
-   * 
- * - * string migrating_vm = 2 [(.google.api.resource_reference) = { ... } - * @return The migratingVm. - */ - java.lang.String getMigratingVm(); - /** - *
-   * The full path name of the MigratingVm to add.
-   * 
- * - * string migrating_vm = 2 [(.google.api.resource_reference) = { ... } - * @return The bytes for migratingVm. - */ - com.google.protobuf.ByteString - getMigratingVmBytes(); -} diff --git a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/AddGroupMigrationResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/AddGroupMigrationResponseOrBuilder.java deleted file mode 100644 index 7b4025a..0000000 --- a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/AddGroupMigrationResponseOrBuilder.java +++ /dev/null @@ -1,9 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/vmmigration/v1/vmmigration.proto - -package com.google.cloud.vmmigration.v1; - -public interface AddGroupMigrationResponseOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.AddGroupMigrationResponse) - com.google.protobuf.MessageOrBuilder { -} diff --git a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CancelCloneJobRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CancelCloneJobRequestOrBuilder.java deleted file mode 100644 index cfc200d..0000000 --- a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CancelCloneJobRequestOrBuilder.java +++ /dev/null @@ -1,29 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/vmmigration/v1/vmmigration.proto - -package com.google.cloud.vmmigration.v1; - -public interface CancelCloneJobRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.CancelCloneJobRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The clone job id
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The clone job 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/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CancelCloneJobResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CancelCloneJobResponseOrBuilder.java deleted file mode 100644 index 480bd7b..0000000 --- a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CancelCloneJobResponseOrBuilder.java +++ /dev/null @@ -1,9 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/vmmigration/v1/vmmigration.proto - -package com.google.cloud.vmmigration.v1; - -public interface CancelCloneJobResponseOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.CancelCloneJobResponse) - com.google.protobuf.MessageOrBuilder { -} diff --git a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CancelCutoverJobRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CancelCutoverJobRequestOrBuilder.java deleted file mode 100644 index eb0b31c..0000000 --- a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CancelCutoverJobRequestOrBuilder.java +++ /dev/null @@ -1,29 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/vmmigration/v1/vmmigration.proto - -package com.google.cloud.vmmigration.v1; - -public interface CancelCutoverJobRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.CancelCutoverJobRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The cutover job id
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The cutover job 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/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CancelCutoverJobResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CancelCutoverJobResponseOrBuilder.java deleted file mode 100644 index 07168f1..0000000 --- a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CancelCutoverJobResponseOrBuilder.java +++ /dev/null @@ -1,9 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/vmmigration/v1/vmmigration.proto - -package com.google.cloud.vmmigration.v1; - -public interface CancelCutoverJobResponseOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.CancelCutoverJobResponse) - com.google.protobuf.MessageOrBuilder { -} diff --git a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/DeleteMigratingVmRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/DeleteMigratingVmRequestOrBuilder.java deleted file mode 100644 index 20e16f6..0000000 --- a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/DeleteMigratingVmRequestOrBuilder.java +++ /dev/null @@ -1,29 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/vmmigration/v1/vmmigration.proto - -package com.google.cloud.vmmigration.v1; - -public interface DeleteMigratingVmRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.DeleteMigratingVmRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The name of the MigratingVm.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The name of the MigratingVm.
-   * 
- * - * 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/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/FetchInventoryRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/FetchInventoryRequestOrBuilder.java deleted file mode 100644 index ef176e9..0000000 --- a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/FetchInventoryRequestOrBuilder.java +++ /dev/null @@ -1,40 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/vmmigration/v1/vmmigration.proto - -package com.google.cloud.vmmigration.v1; - -public interface FetchInventoryRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.FetchInventoryRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The name of the Source.
-   * 
- * - * string source = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The source. - */ - java.lang.String getSource(); - /** - *
-   * Required. The name of the Source.
-   * 
- * - * string source = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for source. - */ - com.google.protobuf.ByteString - getSourceBytes(); - - /** - *
-   * If this flag is set to true, the source will be queried instead of using
-   * cached results. Using this flag will make the call slower.
-   * 
- * - * bool force_refresh = 2; - * @return The forceRefresh. - */ - boolean getForceRefresh(); -} diff --git a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/FinalizeMigrationRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/FinalizeMigrationRequestOrBuilder.java deleted file mode 100644 index 6227a92..0000000 --- a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/FinalizeMigrationRequestOrBuilder.java +++ /dev/null @@ -1,29 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/vmmigration/v1/vmmigration.proto - -package com.google.cloud.vmmigration.v1; - -public interface FinalizeMigrationRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.FinalizeMigrationRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The name of the MigratingVm.
-   * 
- * - * string migrating_vm = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The migratingVm. - */ - java.lang.String getMigratingVm(); - /** - *
-   * Required. The name of the MigratingVm.
-   * 
- * - * string migrating_vm = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for migratingVm. - */ - com.google.protobuf.ByteString - getMigratingVmBytes(); -} diff --git a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/FinalizeMigrationResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/FinalizeMigrationResponseOrBuilder.java deleted file mode 100644 index 5b24286..0000000 --- a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/FinalizeMigrationResponseOrBuilder.java +++ /dev/null @@ -1,9 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/vmmigration/v1/vmmigration.proto - -package com.google.cloud.vmmigration.v1; - -public interface FinalizeMigrationResponseOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.FinalizeMigrationResponse) - com.google.protobuf.MessageOrBuilder { -} diff --git a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetCloneJobRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetCloneJobRequestOrBuilder.java deleted file mode 100644 index 40529be..0000000 --- a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetCloneJobRequestOrBuilder.java +++ /dev/null @@ -1,29 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/vmmigration/v1/vmmigration.proto - -package com.google.cloud.vmmigration.v1; - -public interface GetCloneJobRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.GetCloneJobRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The name of the CloneJob.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The name of the CloneJob.
-   * 
- * - * 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/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetCutoverJobRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetCutoverJobRequestOrBuilder.java deleted file mode 100644 index b5122e4..0000000 --- a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetCutoverJobRequestOrBuilder.java +++ /dev/null @@ -1,29 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/vmmigration/v1/vmmigration.proto - -package com.google.cloud.vmmigration.v1; - -public interface GetCutoverJobRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.GetCutoverJobRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The name of the CutoverJob.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The name of the CutoverJob.
-   * 
- * - * 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/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetDatacenterConnectorRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetDatacenterConnectorRequestOrBuilder.java deleted file mode 100644 index 2db7558..0000000 --- a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetDatacenterConnectorRequestOrBuilder.java +++ /dev/null @@ -1,29 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/vmmigration/v1/vmmigration.proto - -package com.google.cloud.vmmigration.v1; - -public interface GetDatacenterConnectorRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.GetDatacenterConnectorRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The name of the DatacenterConnector.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The name of the DatacenterConnector.
-   * 
- * - * 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/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetGroupRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetGroupRequestOrBuilder.java deleted file mode 100644 index c3f0d1f..0000000 --- a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetGroupRequestOrBuilder.java +++ /dev/null @@ -1,29 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/vmmigration/v1/vmmigration.proto - -package com.google.cloud.vmmigration.v1; - -public interface GetGroupRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.GetGroupRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The group name.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The group name.
-   * 
- * - * 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/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetMigratingVmRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetMigratingVmRequestOrBuilder.java deleted file mode 100644 index 3ba80a7..0000000 --- a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetMigratingVmRequestOrBuilder.java +++ /dev/null @@ -1,48 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/vmmigration/v1/vmmigration.proto - -package com.google.cloud.vmmigration.v1; - -public interface GetMigratingVmRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.GetMigratingVmRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The name of the MigratingVm.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The name of the MigratingVm.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); - - /** - *
-   * Optional. The level of details of the migrating VM.
-   * 
- * - * .google.cloud.vmmigration.v1.MigratingVmView view = 2 [(.google.api.field_behavior) = OPTIONAL]; - * @return The enum numeric value on the wire for view. - */ - int getViewValue(); - /** - *
-   * Optional. The level of details of the migrating VM.
-   * 
- * - * .google.cloud.vmmigration.v1.MigratingVmView view = 2 [(.google.api.field_behavior) = OPTIONAL]; - * @return The view. - */ - com.google.cloud.vmmigration.v1.MigratingVmView getView(); -} diff --git a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetSourceRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetSourceRequestOrBuilder.java deleted file mode 100644 index d89d0b5..0000000 --- a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetSourceRequestOrBuilder.java +++ /dev/null @@ -1,29 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/vmmigration/v1/vmmigration.proto - -package com.google.cloud.vmmigration.v1; - -public interface GetSourceRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.GetSourceRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The Source name.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The Source name.
-   * 
- * - * 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/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetTargetProjectRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetTargetProjectRequestOrBuilder.java deleted file mode 100644 index 506a5fb..0000000 --- a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetTargetProjectRequestOrBuilder.java +++ /dev/null @@ -1,29 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/vmmigration/v1/vmmigration.proto - -package com.google.cloud.vmmigration.v1; - -public interface GetTargetProjectRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.GetTargetProjectRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The TargetProject name.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The TargetProject name.
-   * 
- * - * 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/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetUtilizationReportRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetUtilizationReportRequestOrBuilder.java deleted file mode 100644 index 68d0ba0..0000000 --- a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetUtilizationReportRequestOrBuilder.java +++ /dev/null @@ -1,50 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/vmmigration/v1/vmmigration.proto - -package com.google.cloud.vmmigration.v1; - -public interface GetUtilizationReportRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.GetUtilizationReportRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The Utilization Report name.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The Utilization Report name.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); - - /** - *
-   * Optional. The level of details of the report.
-   * Defaults to FULL
-   * 
- * - * .google.cloud.vmmigration.v1.UtilizationReportView view = 2 [(.google.api.field_behavior) = OPTIONAL]; - * @return The enum numeric value on the wire for view. - */ - int getViewValue(); - /** - *
-   * Optional. The level of details of the report.
-   * Defaults to FULL
-   * 
- * - * .google.cloud.vmmigration.v1.UtilizationReportView view = 2 [(.google.api.field_behavior) = OPTIONAL]; - * @return The view. - */ - com.google.cloud.vmmigration.v1.UtilizationReportView getView(); -} diff --git a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/PauseMigrationRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/PauseMigrationRequestOrBuilder.java deleted file mode 100644 index 8cfc9f4..0000000 --- a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/PauseMigrationRequestOrBuilder.java +++ /dev/null @@ -1,29 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/vmmigration/v1/vmmigration.proto - -package com.google.cloud.vmmigration.v1; - -public interface PauseMigrationRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.PauseMigrationRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The name of the MigratingVm.
-   * 
- * - * string migrating_vm = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The migratingVm. - */ - java.lang.String getMigratingVm(); - /** - *
-   * Required. The name of the MigratingVm.
-   * 
- * - * string migrating_vm = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for migratingVm. - */ - com.google.protobuf.ByteString - getMigratingVmBytes(); -} diff --git a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/PauseMigrationResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/PauseMigrationResponseOrBuilder.java deleted file mode 100644 index b38f46e..0000000 --- a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/PauseMigrationResponseOrBuilder.java +++ /dev/null @@ -1,9 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/vmmigration/v1/vmmigration.proto - -package com.google.cloud.vmmigration.v1; - -public interface PauseMigrationResponseOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.PauseMigrationResponse) - com.google.protobuf.MessageOrBuilder { -} diff --git a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/RemoveGroupMigrationRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/RemoveGroupMigrationRequestOrBuilder.java deleted file mode 100644 index 07cb716..0000000 --- a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/RemoveGroupMigrationRequestOrBuilder.java +++ /dev/null @@ -1,49 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/vmmigration/v1/vmmigration.proto - -package com.google.cloud.vmmigration.v1; - -public interface RemoveGroupMigrationRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.RemoveGroupMigrationRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The name of the Group.
-   * 
- * - * string group = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The group. - */ - java.lang.String getGroup(); - /** - *
-   * Required. The name of the Group.
-   * 
- * - * string group = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for group. - */ - com.google.protobuf.ByteString - getGroupBytes(); - - /** - *
-   * The MigratingVm to remove.
-   * 
- * - * string migrating_vm = 2 [(.google.api.resource_reference) = { ... } - * @return The migratingVm. - */ - java.lang.String getMigratingVm(); - /** - *
-   * The MigratingVm to remove.
-   * 
- * - * string migrating_vm = 2 [(.google.api.resource_reference) = { ... } - * @return The bytes for migratingVm. - */ - com.google.protobuf.ByteString - getMigratingVmBytes(); -} diff --git a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/RemoveGroupMigrationResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/RemoveGroupMigrationResponseOrBuilder.java deleted file mode 100644 index 8d37b14..0000000 --- a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/RemoveGroupMigrationResponseOrBuilder.java +++ /dev/null @@ -1,9 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/vmmigration/v1/vmmigration.proto - -package com.google.cloud.vmmigration.v1; - -public interface RemoveGroupMigrationResponseOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.RemoveGroupMigrationResponse) - com.google.protobuf.MessageOrBuilder { -} diff --git a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ResumeMigrationRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ResumeMigrationRequestOrBuilder.java deleted file mode 100644 index 05fd7af..0000000 --- a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ResumeMigrationRequestOrBuilder.java +++ /dev/null @@ -1,29 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/vmmigration/v1/vmmigration.proto - -package com.google.cloud.vmmigration.v1; - -public interface ResumeMigrationRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.ResumeMigrationRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The name of the MigratingVm.
-   * 
- * - * string migrating_vm = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The migratingVm. - */ - java.lang.String getMigratingVm(); - /** - *
-   * Required. The name of the MigratingVm.
-   * 
- * - * string migrating_vm = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for migratingVm. - */ - com.google.protobuf.ByteString - getMigratingVmBytes(); -} diff --git a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ResumeMigrationResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ResumeMigrationResponseOrBuilder.java deleted file mode 100644 index 889fa99..0000000 --- a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ResumeMigrationResponseOrBuilder.java +++ /dev/null @@ -1,9 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/vmmigration/v1/vmmigration.proto - -package com.google.cloud.vmmigration.v1; - -public interface ResumeMigrationResponseOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.ResumeMigrationResponse) - com.google.protobuf.MessageOrBuilder { -} diff --git a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/StartMigrationRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/StartMigrationRequestOrBuilder.java deleted file mode 100644 index 115a860..0000000 --- a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/StartMigrationRequestOrBuilder.java +++ /dev/null @@ -1,29 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/vmmigration/v1/vmmigration.proto - -package com.google.cloud.vmmigration.v1; - -public interface StartMigrationRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.StartMigrationRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The name of the MigratingVm.
-   * 
- * - * string migrating_vm = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The migratingVm. - */ - java.lang.String getMigratingVm(); - /** - *
-   * Required. The name of the MigratingVm.
-   * 
- * - * string migrating_vm = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for migratingVm. - */ - com.google.protobuf.ByteString - getMigratingVmBytes(); -} diff --git a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/StartMigrationResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/StartMigrationResponseOrBuilder.java deleted file mode 100644 index 7998470..0000000 --- a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/StartMigrationResponseOrBuilder.java +++ /dev/null @@ -1,9 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/vmmigration/v1/vmmigration.proto - -package com.google.cloud.vmmigration.v1; - -public interface StartMigrationResponseOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.StartMigrationResponse) - com.google.protobuf.MessageOrBuilder { -} diff --git a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/UpgradeApplianceResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/UpgradeApplianceResponseOrBuilder.java deleted file mode 100644 index 0ed0a81..0000000 --- a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/UpgradeApplianceResponseOrBuilder.java +++ /dev/null @@ -1,9 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/vmmigration/v1/vmmigration.proto - -package com.google.cloud.vmmigration.v1; - -public interface UpgradeApplianceResponseOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.UpgradeApplianceResponse) - com.google.protobuf.MessageOrBuilder { -} diff --git a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/VmMigrationProto.java b/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/VmMigrationProto.java deleted file mode 100644 index 833b9c4..0000000 --- a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/VmMigrationProto.java +++ /dev/null @@ -1,1886 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/vmmigration/v1/vmmigration.proto - -package com.google.cloud.vmmigration.v1; - -public final class VmMigrationProto { - private VmMigrationProto() {} - 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_vmmigration_v1_ReplicationCycle_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_vmmigration_v1_ReplicationCycle_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_vmmigration_v1_ReplicationSync_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_vmmigration_v1_ReplicationSync_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_vmmigration_v1_MigratingVm_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_vmmigration_v1_MigratingVm_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_vmmigration_v1_MigratingVm_LabelsEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_vmmigration_v1_MigratingVm_LabelsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_vmmigration_v1_CloneJob_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_vmmigration_v1_CloneJob_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_vmmigration_v1_CutoverJob_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_vmmigration_v1_CutoverJob_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_vmmigration_v1_CreateCloneJobRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_vmmigration_v1_CreateCloneJobRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_vmmigration_v1_CancelCloneJobRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_vmmigration_v1_CancelCloneJobRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_vmmigration_v1_CancelCloneJobResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_vmmigration_v1_CancelCloneJobResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_vmmigration_v1_ListCloneJobsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_vmmigration_v1_ListCloneJobsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_vmmigration_v1_ListCloneJobsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_vmmigration_v1_ListCloneJobsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_vmmigration_v1_GetCloneJobRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_vmmigration_v1_GetCloneJobRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_vmmigration_v1_Source_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_vmmigration_v1_Source_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_vmmigration_v1_Source_LabelsEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_vmmigration_v1_Source_LabelsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_vmmigration_v1_VmwareSourceDetails_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_vmmigration_v1_VmwareSourceDetails_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_vmmigration_v1_DatacenterConnector_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_vmmigration_v1_DatacenterConnector_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_vmmigration_v1_UpgradeStatus_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_vmmigration_v1_UpgradeStatus_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_vmmigration_v1_AvailableUpdates_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_vmmigration_v1_AvailableUpdates_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_vmmigration_v1_ApplianceVersion_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_vmmigration_v1_ApplianceVersion_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_vmmigration_v1_ListSourcesRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_vmmigration_v1_ListSourcesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_vmmigration_v1_ListSourcesResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_vmmigration_v1_ListSourcesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_vmmigration_v1_GetSourceRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_vmmigration_v1_GetSourceRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_vmmigration_v1_CreateSourceRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_vmmigration_v1_CreateSourceRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_vmmigration_v1_UpdateSourceRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_vmmigration_v1_UpdateSourceRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_vmmigration_v1_DeleteSourceRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_vmmigration_v1_DeleteSourceRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_vmmigration_v1_FetchInventoryRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_vmmigration_v1_FetchInventoryRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_vmmigration_v1_VmwareVmDetails_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_vmmigration_v1_VmwareVmDetails_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_vmmigration_v1_VmwareVmsDetails_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_vmmigration_v1_VmwareVmsDetails_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_vmmigration_v1_FetchInventoryResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_vmmigration_v1_FetchInventoryResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_vmmigration_v1_UtilizationReport_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_vmmigration_v1_UtilizationReport_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_vmmigration_v1_VmUtilizationInfo_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_vmmigration_v1_VmUtilizationInfo_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_vmmigration_v1_VmUtilizationMetrics_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_vmmigration_v1_VmUtilizationMetrics_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_vmmigration_v1_ListUtilizationReportsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_vmmigration_v1_ListUtilizationReportsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_vmmigration_v1_ListUtilizationReportsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_vmmigration_v1_ListUtilizationReportsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_vmmigration_v1_GetUtilizationReportRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_vmmigration_v1_GetUtilizationReportRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_vmmigration_v1_CreateUtilizationReportRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_vmmigration_v1_CreateUtilizationReportRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_vmmigration_v1_DeleteUtilizationReportRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_vmmigration_v1_DeleteUtilizationReportRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_vmmigration_v1_ListDatacenterConnectorsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_vmmigration_v1_ListDatacenterConnectorsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_vmmigration_v1_GetDatacenterConnectorRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_vmmigration_v1_GetDatacenterConnectorRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_vmmigration_v1_CreateDatacenterConnectorRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_vmmigration_v1_CreateDatacenterConnectorRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_vmmigration_v1_DeleteDatacenterConnectorRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_vmmigration_v1_DeleteDatacenterConnectorRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_vmmigration_v1_UpgradeApplianceRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_vmmigration_v1_UpgradeApplianceRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_vmmigration_v1_UpgradeApplianceResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_vmmigration_v1_UpgradeApplianceResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_vmmigration_v1_ListDatacenterConnectorsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_vmmigration_v1_ListDatacenterConnectorsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_vmmigration_v1_ComputeEngineTargetDefaults_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_vmmigration_v1_ComputeEngineTargetDefaults_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_vmmigration_v1_ComputeEngineTargetDefaults_LabelsEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_vmmigration_v1_ComputeEngineTargetDefaults_LabelsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_vmmigration_v1_ComputeEngineTargetDefaults_MetadataEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_vmmigration_v1_ComputeEngineTargetDefaults_MetadataEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_vmmigration_v1_ComputeEngineTargetDetails_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_vmmigration_v1_ComputeEngineTargetDetails_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_vmmigration_v1_ComputeEngineTargetDetails_LabelsEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_vmmigration_v1_ComputeEngineTargetDetails_LabelsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_vmmigration_v1_ComputeEngineTargetDetails_MetadataEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_vmmigration_v1_ComputeEngineTargetDetails_MetadataEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_vmmigration_v1_NetworkInterface_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_vmmigration_v1_NetworkInterface_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_vmmigration_v1_AppliedLicense_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_vmmigration_v1_AppliedLicense_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_vmmigration_v1_SchedulingNodeAffinity_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_vmmigration_v1_SchedulingNodeAffinity_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_vmmigration_v1_ComputeScheduling_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_vmmigration_v1_ComputeScheduling_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_vmmigration_v1_SchedulePolicy_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_vmmigration_v1_SchedulePolicy_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_vmmigration_v1_CreateMigratingVmRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_vmmigration_v1_CreateMigratingVmRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_vmmigration_v1_ListMigratingVmsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_vmmigration_v1_ListMigratingVmsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_vmmigration_v1_ListMigratingVmsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_vmmigration_v1_ListMigratingVmsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_vmmigration_v1_GetMigratingVmRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_vmmigration_v1_GetMigratingVmRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_vmmigration_v1_UpdateMigratingVmRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_vmmigration_v1_UpdateMigratingVmRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_vmmigration_v1_DeleteMigratingVmRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_vmmigration_v1_DeleteMigratingVmRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_vmmigration_v1_StartMigrationRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_vmmigration_v1_StartMigrationRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_vmmigration_v1_StartMigrationResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_vmmigration_v1_StartMigrationResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_vmmigration_v1_PauseMigrationRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_vmmigration_v1_PauseMigrationRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_vmmigration_v1_PauseMigrationResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_vmmigration_v1_PauseMigrationResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_vmmigration_v1_ResumeMigrationRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_vmmigration_v1_ResumeMigrationRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_vmmigration_v1_ResumeMigrationResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_vmmigration_v1_ResumeMigrationResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_vmmigration_v1_FinalizeMigrationRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_vmmigration_v1_FinalizeMigrationRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_vmmigration_v1_FinalizeMigrationResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_vmmigration_v1_FinalizeMigrationResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_vmmigration_v1_TargetProject_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_vmmigration_v1_TargetProject_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_vmmigration_v1_GetTargetProjectRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_vmmigration_v1_GetTargetProjectRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_vmmigration_v1_ListTargetProjectsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_vmmigration_v1_ListTargetProjectsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_vmmigration_v1_ListTargetProjectsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_vmmigration_v1_ListTargetProjectsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_vmmigration_v1_CreateTargetProjectRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_vmmigration_v1_CreateTargetProjectRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_vmmigration_v1_UpdateTargetProjectRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_vmmigration_v1_UpdateTargetProjectRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_vmmigration_v1_DeleteTargetProjectRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_vmmigration_v1_DeleteTargetProjectRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_vmmigration_v1_Group_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_vmmigration_v1_Group_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_vmmigration_v1_ListGroupsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_vmmigration_v1_ListGroupsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_vmmigration_v1_ListGroupsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_vmmigration_v1_ListGroupsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_vmmigration_v1_GetGroupRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_vmmigration_v1_GetGroupRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_vmmigration_v1_CreateGroupRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_vmmigration_v1_CreateGroupRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_vmmigration_v1_UpdateGroupRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_vmmigration_v1_UpdateGroupRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_vmmigration_v1_DeleteGroupRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_vmmigration_v1_DeleteGroupRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_vmmigration_v1_AddGroupMigrationRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_vmmigration_v1_AddGroupMigrationRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_vmmigration_v1_AddGroupMigrationResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_vmmigration_v1_AddGroupMigrationResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_vmmigration_v1_RemoveGroupMigrationRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_vmmigration_v1_RemoveGroupMigrationRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_vmmigration_v1_RemoveGroupMigrationResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_vmmigration_v1_RemoveGroupMigrationResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_vmmigration_v1_CreateCutoverJobRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_vmmigration_v1_CreateCutoverJobRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_vmmigration_v1_CancelCutoverJobRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_vmmigration_v1_CancelCutoverJobRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_vmmigration_v1_CancelCutoverJobResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_vmmigration_v1_CancelCutoverJobResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_vmmigration_v1_ListCutoverJobsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_vmmigration_v1_ListCutoverJobsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_vmmigration_v1_ListCutoverJobsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_vmmigration_v1_ListCutoverJobsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_vmmigration_v1_GetCutoverJobRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_vmmigration_v1_GetCutoverJobRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_vmmigration_v1_OperationMetadata_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_vmmigration_v1_OperationMetadata_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_vmmigration_v1_MigrationError_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_vmmigration_v1_MigrationError_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n-google/cloud/vmmigration/v1/vmmigratio" + - "n.proto\022\033google.cloud.vmmigration.v1\032\034go" + - "ogle/api/annotations.proto\032\027google/api/c" + - "lient.proto\032\037google/api/field_behavior.p" + - "roto\032\031google/api/resource.proto\032#google/" + - "longrunning/operations.proto\032\036google/pro" + - "tobuf/duration.proto\032 google/protobuf/fi" + - "eld_mask.proto\032\037google/protobuf/timestam" + - "p.proto\032\036google/rpc/error_details.proto\032" + - "\027google/rpc/status.proto\"\\\n\020ReplicationC" + - "ycle\022.\n\nstart_time\030\001 \001(\0132\032.google.protob" + - "uf.Timestamp\022\030\n\020progress_percent\030\005 \001(\005\"E" + - "\n\017ReplicationSync\0222\n\016last_sync_time\030\001 \001(" + - "\0132\032.google.protobuf.Timestamp\"\270\n\n\013Migrat" + - "ingVm\022b\n\036compute_engine_target_defaults\030" + - "\032 \001(\01328.google.cloud.vmmigration.v1.Comp" + - "uteEngineTargetDefaultsH\000\022\021\n\004name\030\001 \001(\tB" + - "\003\340A\003\022\024\n\014source_vm_id\030\002 \001(\t\022\024\n\014display_na" + - "me\030\022 \001(\t\022\023\n\013description\030\003 \001(\t\022;\n\006policy\030" + - "\010 \001(\0132+.google.cloud.vmmigration.v1.Sche" + - "dulePolicy\0224\n\013create_time\030\t \001(\0132\032.google" + - ".protobuf.TimestampB\003\340A\003\0224\n\013update_time\030" + - "\n \001(\0132\032.google.protobuf.TimestampB\003\340A\003\022D" + - "\n\tlast_sync\030\013 \001(\0132,.google.cloud.vmmigra" + - "tion.v1.ReplicationSyncB\003\340A\003\022B\n\005state\030\027 " + - "\001(\0162..google.cloud.vmmigration.v1.Migrat" + - "ingVm.StateB\003\340A\003\0223\n\nstate_time\030\026 \001(\0132\032.g" + - "oogle.protobuf.TimestampB\003\340A\003\022M\n\021current" + - "_sync_info\030\r \001(\0132-.google.cloud.vmmigrat" + - "ion.v1.ReplicationCycleB\003\340A\003\0227\n\005group\030\017 " + - "\001(\tB(\340A\003\372A\"\022 vmmigration.googleapis.com/" + - "Group\022D\n\006labels\030\020 \003(\01324.google.cloud.vmm" + - "igration.v1.MigratingVm.LabelsEntry\022E\n\021r" + - "ecent_clone_jobs\030\021 \003(\0132%.google.cloud.vm" + - "migration.v1.CloneJobB\003\340A\003\022&\n\005error\030\023 \001(" + - "\0132\022.google.rpc.StatusB\003\340A\003\022I\n\023recent_cut" + - "over_jobs\030\024 \003(\0132\'.google.cloud.vmmigrati" + - "on.v1.CutoverJobB\003\340A\003\032-\n\013LabelsEntry\022\013\n\003" + - "key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\267\001\n\005State\022\025" + - "\n\021STATE_UNSPECIFIED\020\000\022\013\n\007PENDING\020\001\022\t\n\005RE" + - "ADY\020\002\022\016\n\nFIRST_SYNC\020\003\022\n\n\006ACTIVE\020\004\022\020\n\014CUT" + - "TING_OVER\020\007\022\013\n\007CUTOVER\020\010\022\016\n\nFINAL_SYNC\020\t" + - "\022\n\n\006PAUSED\020\n\022\016\n\nFINALIZING\020\013\022\r\n\tFINALIZE" + - "D\020\014\022\t\n\005ERROR\020\r:\201\001\352A~\n&vmmigration.google" + - "apis.com/MigratingVm\022Tprojects/{project}" + - "/locations/{location}/sources/{source}/m" + - "igratingVms/{migrating_vm}B\024\n\022target_vm_" + - "defaults\"\275\005\n\010CloneJob\022e\n\035compute_engine_" + - "target_details\030\024 \001(\01327.google.cloud.vmmi" + - "gration.v1.ComputeEngineTargetDetailsB\003\340" + - "A\003H\000\0224\n\013create_time\030\001 \001(\0132\032.google.proto" + - "buf.TimestampB\003\340A\003\0221\n\010end_time\030\026 \001(\0132\032.g" + - "oogle.protobuf.TimestampB\003\340A\003\022\021\n\004name\030\003 " + - "\001(\tB\003\340A\003\022?\n\005state\030\014 \001(\0162+.google.cloud.v" + - "mmigration.v1.CloneJob.StateB\003\340A\003\0223\n\nsta" + - "te_time\030\016 \001(\0132\032.google.protobuf.Timestam" + - "pB\003\340A\003\022&\n\005error\030\021 \001(\0132\022.google.rpc.Statu" + - "sB\003\340A\003\"\202\001\n\005State\022\025\n\021STATE_UNSPECIFIED\020\000\022" + - "\013\n\007PENDING\020\001\022\n\n\006ACTIVE\020\002\022\n\n\006FAILED\020\003\022\r\n\t" + - "SUCCEEDED\020\004\022\r\n\tCANCELLED\020\005\022\016\n\nCANCELLING" + - "\020\006\022\017\n\013ADAPTING_OS\020\007:\225\001\352A\221\001\n#vmmigration." + - "googleapis.com/CloneJob\022jprojects/{proje" + - "ct}/locations/{location}/sources/{source" + - "}/migratingVms/{migrating_vm}/cloneJobs/" + - "{clone_job}B\023\n\021target_vm_details\"\202\006\n\nCut" + - "overJob\022e\n\035compute_engine_target_details" + - "\030\016 \001(\01327.google.cloud.vmmigration.v1.Com" + - "puteEngineTargetDetailsB\003\340A\003H\000\0224\n\013create" + - "_time\030\001 \001(\0132\032.google.protobuf.TimestampB" + - "\003\340A\003\0221\n\010end_time\030\020 \001(\0132\032.google.protobuf" + - ".TimestampB\003\340A\003\022\021\n\004name\030\003 \001(\tB\003\340A\003\022A\n\005st" + - "ate\030\005 \001(\0162-.google.cloud.vmmigration.v1." + - "CutoverJob.StateB\003\340A\003\0223\n\nstate_time\030\006 \001(" + - "\0132\032.google.protobuf.TimestampB\003\340A\003\022\035\n\020pr" + - "ogress_percent\030\r \001(\005B\003\340A\003\022&\n\005error\030\t \001(\013" + - "2\022.google.rpc.StatusB\003\340A\003\022\032\n\rstate_messa" + - "ge\030\n \001(\tB\003\340A\003\"\202\001\n\005State\022\025\n\021STATE_UNSPECI" + - "FIED\020\000\022\013\n\007PENDING\020\001\022\n\n\006FAILED\020\002\022\r\n\tSUCCE" + - "EDED\020\003\022\r\n\tCANCELLED\020\004\022\016\n\nCANCELLING\020\005\022\n\n" + - "\006ACTIVE\020\006\022\017\n\013ADAPTING_OS\020\007:\233\001\352A\227\001\n%vmmig" + - "ration.googleapis.com/CutoverJob\022nprojec" + - "ts/{project}/locations/{location}/source" + - "s/{source}/migratingVms/{migrating_vm}/c" + - "utoverJobs/{cutover_job}B\023\n\021target_vm_de" + - "tails\"\302\001\n\025CreateCloneJobRequest\022;\n\006paren" + - "t\030\001 \001(\tB+\340A\002\372A%\022#vmmigration.googleapis." + - "com/CloneJob\022\031\n\014clone_job_id\030\002 \001(\tB\003\340A\002\022" + - "=\n\tclone_job\030\003 \001(\0132%.google.cloud.vmmigr" + - "ation.v1.CloneJobB\003\340A\002\022\022\n\nrequest_id\030\004 \001" + - "(\t\"R\n\025CancelCloneJobRequest\0229\n\004name\030\001 \001(" + - "\tB+\340A\002\372A%\n#vmmigration.googleapis.com/Cl" + - "oneJob\"\030\n\026CancelCloneJobResponse\"\260\001\n\024Lis" + - "tCloneJobsRequest\022;\n\006parent\030\001 \001(\tB+\340A\002\372A" + - "%\022#vmmigration.googleapis.com/CloneJob\022\026" + - "\n\tpage_size\030\002 \001(\005B\003\340A\001\022\027\n\npage_token\030\003 \001" + - "(\tB\003\340A\002\022\023\n\006filter\030\004 \001(\tB\003\340A\001\022\025\n\010order_by" + - "\030\005 \001(\tB\003\340A\001\"\217\001\n\025ListCloneJobsResponse\022>\n" + - "\nclone_jobs\030\001 \003(\0132%.google.cloud.vmmigra" + - "tion.v1.CloneJobB\003\340A\003\022\034\n\017next_page_token" + - "\030\002 \001(\tB\003\340A\003\022\030\n\013unreachable\030\003 \003(\tB\003\340A\003\"O\n" + - "\022GetCloneJobRequest\0229\n\004name\030\001 \001(\tB+\340A\002\372A" + - "%\n#vmmigration.googleapis.com/CloneJob\"\304" + - "\003\n\006Source\022B\n\006vmware\030\n \001(\01320.google.cloud" + - ".vmmigration.v1.VmwareSourceDetailsH\000\022\021\n" + - "\004name\030\001 \001(\tB\003\340A\003\0224\n\013create_time\030\002 \001(\0132\032." + - "google.protobuf.TimestampB\003\340A\003\0224\n\013update" + - "_time\030\003 \001(\0132\032.google.protobuf.TimestampB" + - "\003\340A\003\022?\n\006labels\030\004 \003(\0132/.google.cloud.vmmi" + - "gration.v1.Source.LabelsEntry\022\023\n\013descrip" + - "tion\030\006 \001(\t\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r" + - "\n\005value\030\002 \001(\t:\0028\001:`\352A]\n!vmmigration.goog" + - "leapis.com/Source\0228projects/{project}/lo" + - "cations/{location}/sources/{source}B\020\n\016s" + - "ource_details\"f\n\023VmwareSourceDetails\022\020\n\010" + - "username\030\001 \001(\t\022\025\n\010password\030\002 \001(\tB\003\340A\004\022\022\n" + - "\nvcenter_ip\030\003 \001(\t\022\022\n\nthumbprint\030\004 \001(\t\"\372\006" + - "\n\023DatacenterConnector\0224\n\013create_time\030\001 \001" + - "(\0132\032.google.protobuf.TimestampB\003\340A\003\0224\n\013u" + - "pdate_time\030\002 \001(\0132\032.google.protobuf.Times" + - "tampB\003\340A\003\022\021\n\004name\030\003 \001(\tB\003\340A\003\022\034\n\017registra" + - "tion_id\030\014 \001(\tB\003\340A\005\022\027\n\017service_account\030\005 " + - "\001(\t\022\017\n\007version\030\006 \001(\t\022\023\n\006bucket\030\n \001(\tB\003\340A" + - "\003\022J\n\005state\030\007 \001(\01626.google.cloud.vmmigrat" + - "ion.v1.DatacenterConnector.StateB\003\340A\003\0223\n" + - "\nstate_time\030\010 \001(\0132\032.google.protobuf.Time" + - "stampB\003\340A\003\022&\n\005error\030\013 \001(\0132\022.google.rpc.S" + - "tatusB\003\340A\003\022-\n appliance_infrastructure_v" + - "ersion\030\r \001(\tB\003\340A\003\022\'\n\032appliance_software_" + - "version\030\016 \001(\tB\003\340A\003\022N\n\022available_versions" + - "\030\017 \001(\0132-.google.cloud.vmmigration.v1.Ava" + - "ilableUpdatesB\003\340A\003\022G\n\016upgrade_status\030\020 \001" + - "(\0132*.google.cloud.vmmigration.v1.Upgrade" + - "StatusB\003\340A\003\"P\n\005State\022\025\n\021STATE_UNSPECIFIE" + - "D\020\000\022\013\n\007PENDING\020\001\022\013\n\007OFFLINE\020\002\022\n\n\006FAILED\020" + - "\003\022\n\n\006ACTIVE\020\004:\232\001\352A\226\001\n.vmmigration.google" + - "apis.com/DatacenterConnector\022dprojects/{" + - "project}/locations/{location}/sources/{s" + - "ource}/datacenterConnectors/{datacenter_" + - "connector}\"\226\002\n\rUpgradeStatus\022\017\n\007version\030" + - "\001 \001(\t\022?\n\005state\030\002 \001(\01620.google.cloud.vmmi" + - "gration.v1.UpgradeStatus.State\022!\n\005error\030" + - "\003 \001(\0132\022.google.rpc.Status\022.\n\nstart_time\030" + - "\004 \001(\0132\032.google.protobuf.Timestamp\022\030\n\020pre" + - "vious_version\030\005 \001(\t\"F\n\005State\022\025\n\021STATE_UN" + - "SPECIFIED\020\000\022\013\n\007RUNNING\020\001\022\n\n\006FAILED\020\002\022\r\n\t" + - "SUCCEEDED\020\003\"\253\001\n\020AvailableUpdates\022O\n\030new_" + - "deployable_appliance\030\001 \001(\0132-.google.clou" + - "d.vmmigration.v1.ApplianceVersion\022F\n\017in_" + - "place_update\030\002 \001(\0132-.google.cloud.vmmigr" + - "ation.v1.ApplianceVersion\"]\n\020ApplianceVe" + - "rsion\022\017\n\007version\030\001 \001(\t\022\013\n\003uri\030\002 \001(\t\022\020\n\010c" + - "ritical\030\003 \001(\010\022\031\n\021release_notes_uri\030\004 \001(\t" + - "\"\254\001\n\022ListSourcesRequest\0229\n\006parent\030\001 \001(\tB" + - ")\340A\002\372A#\022!vmmigration.googleapis.com/Sour" + - "ce\022\026\n\tpage_size\030\002 \001(\005B\003\340A\001\022\027\n\npage_token" + - "\030\003 \001(\tB\003\340A\002\022\023\n\006filter\030\004 \001(\tB\003\340A\001\022\025\n\010orde" + - "r_by\030\005 \001(\tB\003\340A\001\"\210\001\n\023ListSourcesResponse\022" + - "9\n\007sources\030\001 \003(\0132#.google.cloud.vmmigrat" + - "ion.v1.SourceB\003\340A\003\022\034\n\017next_page_token\030\002 " + - "\001(\tB\003\340A\003\022\030\n\013unreachable\030\003 \003(\tB\003\340A\003\"K\n\020Ge" + - "tSourceRequest\0227\n\004name\030\001 \001(\tB)\340A\002\372A#\n!vm" + - "migration.googleapis.com/Source\"\266\001\n\023Crea" + - "teSourceRequest\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\022" + - "!vmmigration.googleapis.com/Source\022\026\n\tso" + - "urce_id\030\002 \001(\tB\003\340A\002\0228\n\006source\030\003 \001(\0132#.goo" + - "gle.cloud.vmmigration.v1.SourceB\003\340A\002\022\022\n\n" + - "request_id\030\004 \001(\t\"\224\001\n\023UpdateSourceRequest" + - "\022/\n\013update_mask\030\001 \001(\0132\032.google.protobuf." + - "FieldMask\0228\n\006source\030\002 \001(\0132#.google.cloud" + - ".vmmigration.v1.SourceB\003\340A\002\022\022\n\nrequest_i" + - "d\030\003 \001(\t\"g\n\023DeleteSourceRequest\0227\n\004name\030\001" + - " \001(\tB)\340A\002\372A#\n!vmmigration.googleapis.com" + - "/Source\022\027\n\nrequest_id\030\002 \001(\tB\003\340A\001\"i\n\025Fetc" + - "hInventoryRequest\0229\n\006source\030\001 \001(\tB)\340A\002\372A" + - "#\n!vmmigration.googleapis.com/Source\022\025\n\r" + - "force_refresh\030\002 \001(\010\"\230\004\n\017VmwareVmDetails\022" + - "\r\n\005vm_id\030\001 \001(\t\022\025\n\rdatacenter_id\030\002 \001(\t\022\036\n" + - "\026datacenter_description\030\003 \001(\t\022\014\n\004uuid\030\004 " + - "\001(\t\022\024\n\014display_name\030\005 \001(\t\022L\n\013power_state" + - "\030\006 \001(\01627.google.cloud.vmmigration.v1.Vmw" + - "areVmDetails.PowerState\022\021\n\tcpu_count\030\007 \001" + - "(\005\022\021\n\tmemory_mb\030\010 \001(\005\022\022\n\ndisk_count\030\t \001(" + - "\005\022\034\n\024committed_storage_mb\030\014 \001(\003\022\031\n\021guest" + - "_description\030\013 \001(\t\022Q\n\013boot_option\030\r \001(\0162" + - "7.google.cloud.vmmigration.v1.VmwareVmDe" + - "tails.BootOptionB\003\340A\003\"I\n\nPowerState\022\033\n\027P" + - "OWER_STATE_UNSPECIFIED\020\000\022\006\n\002ON\020\001\022\007\n\003OFF\020" + - "\002\022\r\n\tSUSPENDED\020\003\"<\n\nBootOption\022\033\n\027BOOT_O" + - "PTION_UNSPECIFIED\020\000\022\007\n\003EFI\020\001\022\010\n\004BIOS\020\002\"Q" + - "\n\020VmwareVmsDetails\022=\n\007details\030\001 \003(\0132,.go" + - "ogle.cloud.vmmigration.v1.VmwareVmDetail" + - "s\"\240\001\n\026FetchInventoryResponse\022C\n\nvmware_v" + - "ms\030\001 \001(\0132-.google.cloud.vmmigration.v1.V" + - "mwareVmsDetailsH\000\0224\n\013update_time\030\002 \001(\0132\032" + - ".google.protobuf.TimestampB\003\340A\003B\013\n\tSourc" + - "eVms\"\234\006\n\021UtilizationReport\022\021\n\004name\030\001 \001(\t" + - "B\003\340A\003\022\024\n\014display_name\030\002 \001(\t\022H\n\005state\030\003 \001" + - "(\01624.google.cloud.vmmigration.v1.Utiliza" + - "tionReport.StateB\003\340A\003\0223\n\nstate_time\030\004 \001(" + - "\0132\032.google.protobuf.TimestampB\003\340A\003\022&\n\005er" + - "ror\030\005 \001(\0132\022.google.rpc.StatusB\003\340A\003\0224\n\013cr" + - "eate_time\030\006 \001(\0132\032.google.protobuf.Timest" + - "ampB\003\340A\003\022L\n\ntime_frame\030\007 \001(\01628.google.cl" + - "oud.vmmigration.v1.UtilizationReport.Tim" + - "eFrame\0227\n\016frame_end_time\030\010 \001(\0132\032.google." + - "protobuf.TimestampB\003\340A\003\022\025\n\010vm_count\030\t \001(" + - "\005B\003\340A\003\022;\n\003vms\030\n \003(\0132..google.cloud.vmmig" + - "ration.v1.VmUtilizationInfo\"G\n\005State\022\025\n\021" + - "STATE_UNSPECIFIED\020\000\022\014\n\010CREATING\020\001\022\r\n\tSUC" + - "CEEDED\020\002\022\n\n\006FAILED\020\003\"F\n\tTimeFrame\022\032\n\026TIM" + - "E_FRAME_UNSPECIFIED\020\000\022\010\n\004WEEK\020\001\022\t\n\005MONTH" + - "\020\002\022\010\n\004YEAR\020\003:\224\001\352A\220\001\n,vmmigration.googlea" + - "pis.com/UtilizationReport\022`projects/{pro" + - "ject}/locations/{location}/sources/{sour" + - "ce}/utilizationReports/{utilization_repo" + - "rt}\"\302\001\n\021VmUtilizationInfo\022I\n\021vmware_vm_d" + - "etails\030\001 \001(\0132,.google.cloud.vmmigration." + - "v1.VmwareVmDetailsH\000\022\r\n\005vm_id\030\003 \001(\t\022F\n\013u" + - "tilization\030\002 \001(\01321.google.cloud.vmmigrat" + - "ion.v1.VmUtilizationMetricsB\013\n\tVmDetails" + - "\"\230\002\n\024VmUtilizationMetrics\022\027\n\017cpu_max_per" + - "cent\030\t \001(\005\022\033\n\023cpu_average_percent\030\n \001(\005\022" + - "\032\n\022memory_max_percent\030\013 \001(\005\022\036\n\026memory_av" + - "erage_percent\030\014 \001(\005\022\035\n\025disk_io_rate_max_" + - "kbps\030\r \001(\003\022!\n\031disk_io_rate_average_kbps\030" + - "\016 \001(\003\022#\n\033network_throughput_max_kbps\030\017 \001" + - "(\003\022\'\n\037network_throughput_average_kbps\030\020 " + - "\001(\003\"\211\002\n\035ListUtilizationReportsRequest\022D\n" + - "\006parent\030\001 \001(\tB4\340A\002\372A.\022,vmmigration.googl" + - "eapis.com/UtilizationReport\022E\n\004view\030\002 \001(" + - "\01622.google.cloud.vmmigration.v1.Utilizat" + - "ionReportViewB\003\340A\001\022\026\n\tpage_size\030\003 \001(\005B\003\340" + - "A\001\022\027\n\npage_token\030\004 \001(\tB\003\340A\002\022\023\n\006filter\030\005 " + - "\001(\tB\003\340A\001\022\025\n\010order_by\030\006 \001(\tB\003\340A\001\"\252\001\n\036List" + - "UtilizationReportsResponse\022P\n\023utilizatio" + - "n_reports\030\001 \003(\0132..google.cloud.vmmigrati" + - "on.v1.UtilizationReportB\003\340A\003\022\034\n\017next_pag" + - "e_token\030\002 \001(\tB\003\340A\003\022\030\n\013unreachable\030\003 \003(\tB" + - "\003\340A\003\"\250\001\n\033GetUtilizationReportRequest\022B\n\004" + - "name\030\001 \001(\tB4\340A\002\372A.\n,vmmigration.googleap" + - "is.com/UtilizationReport\022E\n\004view\030\002 \001(\01622" + - ".google.cloud.vmmigration.v1.Utilization" + - "ReportViewB\003\340A\001\"\357\001\n\036CreateUtilizationRep" + - "ortRequest\022D\n\006parent\030\001 \001(\tB4\340A\002\372A.\022,vmmi" + - "gration.googleapis.com/UtilizationReport" + - "\022O\n\022utilization_report\030\002 \001(\0132..google.cl" + - "oud.vmmigration.v1.UtilizationReportB\003\340A" + - "\002\022\"\n\025utilization_report_id\030\003 \001(\tB\003\340A\002\022\022\n" + - "\nrequest_id\030\004 \001(\t\"}\n\036DeleteUtilizationRe" + - "portRequest\022B\n\004name\030\001 \001(\tB4\340A\002\372A.\n,vmmig" + - "ration.googleapis.com/UtilizationReport\022" + - "\027\n\nrequest_id\030\002 \001(\tB\003\340A\001\"\260\001\n ListDatacen" + - "terConnectorsResponse\022T\n\025datacenter_conn" + - "ectors\030\001 \003(\01320.google.cloud.vmmigration." + - "v1.DatacenterConnectorB\003\340A\003\022\034\n\017next_page" + - "_token\030\002 \001(\tB\003\340A\003\022\030\n\013unreachable\030\003 \003(\tB\003" + - "\340A\003\"e\n\035GetDatacenterConnectorRequest\022D\n\004" + - "name\030\001 \001(\tB6\340A\002\372A0\n.vmmigration.googleap" + - "is.com/DatacenterConnector\"\371\001\n CreateDat" + - "acenterConnectorRequest\022F\n\006parent\030\001 \001(\tB" + - "6\340A\002\372A0\022.vmmigration.googleapis.com/Data" + - "centerConnector\022$\n\027datacenter_connector_" + - "id\030\002 \001(\tB\003\340A\002\022S\n\024datacenter_connector\030\003 " + - "\001(\01320.google.cloud.vmmigration.v1.Datace" + - "nterConnectorB\003\340A\002\022\022\n\nrequest_id\030\004 \001(\t\"|" + - "\n DeleteDatacenterConnectorRequest\022D\n\004na" + - "me\030\001 \001(\tB6\340A\002\372A0\n.vmmigration.googleapis" + - ".com/DatacenterConnector\022\022\n\nrequest_id\030\002" + - " \001(\t\"\203\001\n\027UpgradeApplianceRequest\022T\n\024data" + - "center_connector\030\001 \001(\tB6\340A\002\372A0\n.vmmigrat" + - "ion.googleapis.com/DatacenterConnector\022\022" + - "\n\nrequest_id\030\002 \001(\t\"\032\n\030UpgradeApplianceRe" + - "sponse\"\306\001\n\037ListDatacenterConnectorsReque" + - "st\022F\n\006parent\030\001 \001(\tB6\340A\002\372A0\022.vmmigration." + - "googleapis.com/DatacenterConnector\022\026\n\tpa" + - "ge_size\030\002 \001(\005B\003\340A\001\022\027\n\npage_token\030\003 \001(\tB\003" + - "\340A\002\022\023\n\006filter\030\004 \001(\tB\003\340A\001\022\025\n\010order_by\030\005 \001" + - "(\tB\003\340A\001\"\377\007\n\033ComputeEngineTargetDefaults\022" + - "\017\n\007vm_name\030\001 \001(\t\022E\n\016target_project\030\002 \001(\t" + - "B-\372A*\n(vmmigration.googleapis.com/Target" + - "Project\022\014\n\004zone\030\003 \001(\t\022\033\n\023machine_type_se" + - "ries\030\004 \001(\t\022\024\n\014machine_type\030\005 \001(\t\022\024\n\014netw" + - "ork_tags\030\006 \003(\t\022I\n\022network_interfaces\030\007 \003" + - "(\0132-.google.cloud.vmmigration.v1.Network" + - "Interface\022\027\n\017service_account\030\010 \001(\t\022E\n\tdi" + - "sk_type\030\t \001(\01622.google.cloud.vmmigration" + - ".v1.ComputeEngineDiskType\022T\n\006labels\030\n \003(" + - "\0132D.google.cloud.vmmigration.v1.ComputeE" + - "ngineTargetDefaults.LabelsEntry\022K\n\014licen" + - "se_type\030\013 \001(\01625.google.cloud.vmmigration" + - ".v1.ComputeEngineLicenseType\022I\n\017applied_" + - "license\030\014 \001(\0132+.google.cloud.vmmigration" + - ".v1.AppliedLicenseB\003\340A\003\022J\n\022compute_sched" + - "uling\030\r \001(\0132..google.cloud.vmmigration.v" + - "1.ComputeScheduling\022\023\n\013secure_boot\030\016 \001(\010" + - "\022N\n\013boot_option\030\017 \001(\01624.google.cloud.vmm" + - "igration.v1.ComputeEngineBootOptionB\003\340A\003" + - "\022X\n\010metadata\030\020 \003(\0132F.google.cloud.vmmigr" + - "ation.v1.ComputeEngineTargetDefaults.Met" + - "adataEntry\022\033\n\023additional_licenses\030\021 \003(\t\022" + - "\020\n\010hostname\030\022 \001(\t\032-\n\013LabelsEntry\022\013\n\003key\030" + - "\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\032/\n\rMetadataEntr" + - "y\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\274\007\n\032Co" + - "mputeEngineTargetDetails\022\017\n\007vm_name\030\001 \001(" + - "\t\022\017\n\007project\030\002 \001(\t\022\014\n\004zone\030\003 \001(\t\022\033\n\023mach" + - "ine_type_series\030\004 \001(\t\022\024\n\014machine_type\030\005 " + - "\001(\t\022\024\n\014network_tags\030\006 \003(\t\022I\n\022network_int" + - "erfaces\030\007 \003(\0132-.google.cloud.vmmigration" + - ".v1.NetworkInterface\022\027\n\017service_account\030" + - "\010 \001(\t\022E\n\tdisk_type\030\t \001(\01622.google.cloud." + - "vmmigration.v1.ComputeEngineDiskType\022S\n\006" + - "labels\030\n \003(\0132C.google.cloud.vmmigration." + - "v1.ComputeEngineTargetDetails.LabelsEntr" + - "y\022K\n\014license_type\030\013 \001(\01625.google.cloud.v" + - "mmigration.v1.ComputeEngineLicenseType\022D" + - "\n\017applied_license\030\014 \001(\0132+.google.cloud.v" + - "mmigration.v1.AppliedLicense\022J\n\022compute_" + - "scheduling\030\r \001(\0132..google.cloud.vmmigrat" + - "ion.v1.ComputeScheduling\022\023\n\013secure_boot\030" + - "\016 \001(\010\022I\n\013boot_option\030\017 \001(\01624.google.clou" + - "d.vmmigration.v1.ComputeEngineBootOption" + - "\022W\n\010metadata\030\020 \003(\0132E.google.cloud.vmmigr" + - "ation.v1.ComputeEngineTargetDetails.Meta" + - "dataEntry\022\033\n\023additional_licenses\030\021 \003(\t\022\020" + - "\n\010hostname\030\022 \001(\t\032-\n\013LabelsEntry\022\013\n\003key\030\001" + - " \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\032/\n\rMetadataEntry" + - "\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"a\n\020Netw" + - "orkInterface\022\017\n\007network\030\001 \001(\t\022\022\n\nsubnetw" + - "ork\030\002 \001(\t\022\023\n\013internal_ip\030\003 \001(\t\022\023\n\013extern" + - "al_ip\030\004 \001(\t\"\240\001\n\016AppliedLicense\022>\n\004type\030\001" + - " \001(\01620.google.cloud.vmmigration.v1.Appli" + - "edLicense.Type\022\022\n\nos_license\030\002 \001(\t\":\n\004Ty" + - "pe\022\024\n\020TYPE_UNSPECIFIED\020\000\022\010\n\004NONE\020\001\022\010\n\004PA" + - "YG\020\002\022\010\n\004BYOL\020\003\"\277\001\n\026SchedulingNodeAffinit" + - "y\022\013\n\003key\030\001 \001(\t\022N\n\010operator\030\002 \001(\0162<.googl" + - "e.cloud.vmmigration.v1.SchedulingNodeAff" + - "inity.Operator\022\016\n\006values\030\003 \003(\t\"8\n\010Operat" + - "or\022\030\n\024OPERATOR_UNSPECIFIED\020\000\022\006\n\002IN\020\001\022\n\n\006" + - "NOT_IN\020\002\"\335\003\n\021ComputeScheduling\022]\n\023on_hos" + - "t_maintenance\030\001 \001(\0162@.google.cloud.vmmig" + - "ration.v1.ComputeScheduling.OnHostMainte" + - "nance\022P\n\014restart_type\030\005 \001(\0162:.google.clo" + - "ud.vmmigration.v1.ComputeScheduling.Rest" + - "artType\022L\n\017node_affinities\030\003 \003(\01323.googl" + - "e.cloud.vmmigration.v1.SchedulingNodeAff" + - "inity\022\025\n\rmin_node_cpus\030\004 \001(\005\"T\n\021OnHostMa" + - "intenance\022#\n\037ON_HOST_MAINTENANCE_UNSPECI" + - "FIED\020\000\022\r\n\tTERMINATE\020\001\022\013\n\007MIGRATE\020\002\"\\\n\013Re" + - "startType\022\034\n\030RESTART_TYPE_UNSPECIFIED\020\000\022" + - "\025\n\021AUTOMATIC_RESTART\020\001\022\030\n\024NO_AUTOMATIC_R" + - "ESTART\020\002\"^\n\016SchedulePolicy\0220\n\ridle_durat" + - "ion\030\001 \001(\0132\031.google.protobuf.Duration\022\032\n\022" + - "skip_os_adaptation\030\002 \001(\010\"\321\001\n\030CreateMigra" + - "tingVmRequest\022>\n\006parent\030\001 \001(\tB.\340A\002\372A(\022&v" + - "mmigration.googleapis.com/MigratingVm\022\034\n" + - "\017migrating_vm_id\030\002 \001(\tB\003\340A\002\022C\n\014migrating" + - "_vm\030\003 \001(\0132(.google.cloud.vmmigration.v1." + - "MigratingVmB\003\340A\002\022\022\n\nrequest_id\030\004 \001(\t\"\367\001\n" + - "\027ListMigratingVmsRequest\022>\n\006parent\030\001 \001(\t" + - "B.\340A\002\372A(\022&vmmigration.googleapis.com/Mig" + - "ratingVm\022\026\n\tpage_size\030\002 \001(\005B\003\340A\001\022\027\n\npage" + - "_token\030\003 \001(\tB\003\340A\002\022\023\n\006filter\030\004 \001(\tB\003\340A\001\022\025" + - "\n\010order_by\030\005 \001(\tB\003\340A\001\022?\n\004view\030\006 \001(\0162,.go" + - "ogle.cloud.vmmigration.v1.MigratingVmVie" + - "wB\003\340A\001\"\230\001\n\030ListMigratingVmsResponse\022D\n\rm" + - "igrating_vms\030\001 \003(\0132(.google.cloud.vmmigr" + - "ation.v1.MigratingVmB\003\340A\003\022\034\n\017next_page_t" + - "oken\030\002 \001(\tB\003\340A\003\022\030\n\013unreachable\030\003 \003(\tB\003\340A" + - "\003\"\226\001\n\025GetMigratingVmRequest\022<\n\004name\030\001 \001(" + - "\tB.\340A\002\372A(\n&vmmigration.googleapis.com/Mi" + - "gratingVm\022?\n\004view\030\002 \001(\0162,.google.cloud.v" + - "mmigration.v1.MigratingVmViewB\003\340A\001\"\244\001\n\030U" + - "pdateMigratingVmRequest\022/\n\013update_mask\030\001" + - " \001(\0132\032.google.protobuf.FieldMask\022C\n\014migr" + - "ating_vm\030\002 \001(\0132(.google.cloud.vmmigratio" + - "n.v1.MigratingVmB\003\340A\002\022\022\n\nrequest_id\030\003 \001(" + - "\t\"X\n\030DeleteMigratingVmRequest\022<\n\004name\030\001 " + - "\001(\tB.\340A\002\372A(\n&vmmigration.googleapis.com/" + - "MigratingVm\"]\n\025StartMigrationRequest\022D\n\014" + - "migrating_vm\030\001 \001(\tB.\340A\002\372A(\n&vmmigration." + - "googleapis.com/MigratingVm\"\030\n\026StartMigra" + - "tionResponse\"]\n\025PauseMigrationRequest\022D\n" + - "\014migrating_vm\030\001 \001(\tB.\340A\002\372A(\n&vmmigration" + - ".googleapis.com/MigratingVm\"\030\n\026PauseMigr" + - "ationResponse\"^\n\026ResumeMigrationRequest\022" + - "D\n\014migrating_vm\030\001 \001(\tB.\340A\002\372A(\n&vmmigrati" + - "on.googleapis.com/MigratingVm\"\031\n\027ResumeM" + - "igrationResponse\"`\n\030FinalizeMigrationReq" + - "uest\022D\n\014migrating_vm\030\001 \001(\tB.\340A\002\372A(\n&vmmi" + - "gration.googleapis.com/MigratingVm\"\033\n\031Fi" + - "nalizeMigrationResponse\"\254\002\n\rTargetProjec" + - "t\022\021\n\004name\030\001 \001(\tB\003\340A\003\022\017\n\007project\030\002 \001(\t\022\023\n" + - "\013description\030\003 \001(\t\0224\n\013create_time\030\004 \001(\0132" + - "\032.google.protobuf.TimestampB\003\340A\003\0224\n\013upda" + - "te_time\030\005 \001(\0132\032.google.protobuf.Timestam" + - "pB\003\340A\003:v\352As\n(vmmigration.googleapis.com/" + - "TargetProject\022Gprojects/{project}/locati" + - "ons/{location}/targetProjects/{target_pr" + - "oject}\"Y\n\027GetTargetProjectRequest\022>\n\004nam" + - "e\030\001 \001(\tB0\340A\002\372A*\n(vmmigration.googleapis.", - "com/TargetProject\"\272\001\n\031ListTargetProjects" + - "Request\022@\n\006parent\030\001 \001(\tB0\340A\002\372A*\022(vmmigra" + - "tion.googleapis.com/TargetProject\022\026\n\tpag" + - "e_size\030\002 \001(\005B\003\340A\001\022\027\n\npage_token\030\003 \001(\tB\003\340" + - "A\002\022\023\n\006filter\030\004 \001(\tB\003\340A\001\022\025\n\010order_by\030\005 \001(" + - "\tB\003\340A\001\"\236\001\n\032ListTargetProjectsResponse\022H\n" + - "\017target_projects\030\001 \003(\0132*.google.cloud.vm" + - "migration.v1.TargetProjectB\003\340A\003\022\034\n\017next_" + - "page_token\030\002 \001(\tB\003\340A\003\022\030\n\013unreachable\030\003 \003" + - "(\tB\003\340A\003\"\333\001\n\032CreateTargetProjectRequest\022@" + - "\n\006parent\030\001 \001(\tB0\340A\002\372A*\022(vmmigration.goog" + - "leapis.com/TargetProject\022\036\n\021target_proje" + - "ct_id\030\002 \001(\tB\003\340A\002\022G\n\016target_project\030\003 \001(\013" + - "2*.google.cloud.vmmigration.v1.TargetPro" + - "jectB\003\340A\002\022\022\n\nrequest_id\030\004 \001(\t\"\252\001\n\032Update" + - "TargetProjectRequest\022/\n\013update_mask\030\001 \001(" + - "\0132\032.google.protobuf.FieldMask\022G\n\016target_" + - "project\030\002 \001(\0132*.google.cloud.vmmigration" + - ".v1.TargetProjectB\003\340A\002\022\022\n\nrequest_id\030\003 \001" + - "(\t\"u\n\032DeleteTargetProjectRequest\022>\n\004name" + - "\030\001 \001(\tB0\340A\002\372A*\n(vmmigration.googleapis.c" + - "om/TargetProject\022\027\n\nrequest_id\030\002 \001(\tB\003\340A" + - "\001\"\220\002\n\005Group\022\021\n\004name\030\001 \001(\tB\003\340A\003\0224\n\013create" + - "_time\030\002 \001(\0132\032.google.protobuf.TimestampB" + - "\003\340A\003\0224\n\013update_time\030\003 \001(\0132\032.google.proto" + - "buf.TimestampB\003\340A\003\022\023\n\013description\030\004 \001(\t\022" + - "\024\n\014display_name\030\005 \001(\t:]\352AZ\n vmmigration." + - "googleapis.com/Group\0226projects/{project}" + - "/locations/{location}/groups/{group}\"\252\001\n" + - "\021ListGroupsRequest\0228\n\006parent\030\001 \001(\tB(\340A\002\372" + - "A\"\022 vmmigration.googleapis.com/Group\022\026\n\t" + - "page_size\030\002 \001(\005B\003\340A\001\022\027\n\npage_token\030\003 \001(\t" + - "B\003\340A\002\022\023\n\006filter\030\004 \001(\tB\003\340A\001\022\025\n\010order_by\030\005" + - " \001(\tB\003\340A\001\"\205\001\n\022ListGroupsResponse\0227\n\006grou" + - "ps\030\001 \003(\0132\".google.cloud.vmmigration.v1.G" + - "roupB\003\340A\003\022\034\n\017next_page_token\030\002 \001(\tB\003\340A\003\022" + - "\030\n\013unreachable\030\003 \003(\tB\003\340A\003\"I\n\017GetGroupReq" + - "uest\0226\n\004name\030\001 \001(\tB(\340A\002\372A\"\n vmmigration." + - "googleapis.com/Group\"\261\001\n\022CreateGroupRequ" + - "est\0228\n\006parent\030\001 \001(\tB(\340A\002\372A\"\022 vmmigration" + - ".googleapis.com/Group\022\025\n\010group_id\030\002 \001(\tB" + - "\003\340A\002\0226\n\005group\030\003 \001(\0132\".google.cloud.vmmig" + - "ration.v1.GroupB\003\340A\002\022\022\n\nrequest_id\030\004 \001(\t" + - "\"\221\001\n\022UpdateGroupRequest\022/\n\013update_mask\030\001" + - " \001(\0132\032.google.protobuf.FieldMask\0226\n\005grou" + - "p\030\002 \001(\0132\".google.cloud.vmmigration.v1.Gr" + - "oupB\003\340A\002\022\022\n\nrequest_id\030\003 \001(\t\"e\n\022DeleteGr" + - "oupRequest\0226\n\004name\030\001 \001(\tB(\340A\002\372A\"\n vmmigr" + - "ation.googleapis.com/Group\022\027\n\nrequest_id" + - "\030\002 \001(\tB\003\340A\001\"\226\001\n\030AddGroupMigrationRequest" + - "\0227\n\005group\030\001 \001(\tB(\340A\002\372A\"\n vmmigration.goo" + - "gleapis.com/Group\022A\n\014migrating_vm\030\002 \001(\tB" + - "+\372A(\n&vmmigration.googleapis.com/Migrati" + - "ngVm\"\033\n\031AddGroupMigrationResponse\"\231\001\n\033Re" + - "moveGroupMigrationRequest\0227\n\005group\030\001 \001(\t" + - "B(\340A\002\372A\"\n vmmigration.googleapis.com/Gro" + - "up\022A\n\014migrating_vm\030\002 \001(\tB+\372A(\n&vmmigrati" + - "on.googleapis.com/MigratingVm\"\036\n\034RemoveG" + - "roupMigrationResponse\"\314\001\n\027CreateCutoverJ" + - "obRequest\022=\n\006parent\030\001 \001(\tB-\340A\002\372A\'\022%vmmig" + - "ration.googleapis.com/CutoverJob\022\033\n\016cuto" + - "ver_job_id\030\002 \001(\tB\003\340A\002\022A\n\013cutover_job\030\003 \001" + - "(\0132\'.google.cloud.vmmigration.v1.Cutover" + - "JobB\003\340A\002\022\022\n\nrequest_id\030\004 \001(\t\"V\n\027CancelCu" + - "toverJobRequest\022;\n\004name\030\001 \001(\tB-\340A\002\372A\'\n%v" + - "mmigration.googleapis.com/CutoverJob\"\032\n\030" + - "CancelCutoverJobResponse\"\264\001\n\026ListCutover" + - "JobsRequest\022=\n\006parent\030\001 \001(\tB-\340A\002\372A\'\022%vmm" + - "igration.googleapis.com/CutoverJob\022\026\n\tpa" + - "ge_size\030\002 \001(\005B\003\340A\001\022\027\n\npage_token\030\003 \001(\tB\003" + - "\340A\002\022\023\n\006filter\030\004 \001(\tB\003\340A\001\022\025\n\010order_by\030\005 \001" + - "(\tB\003\340A\001\"\225\001\n\027ListCutoverJobsResponse\022B\n\014c" + - "utover_jobs\030\001 \003(\0132\'.google.cloud.vmmigra" + - "tion.v1.CutoverJobB\003\340A\003\022\034\n\017next_page_tok" + - "en\030\002 \001(\tB\003\340A\003\022\030\n\013unreachable\030\003 \003(\tB\003\340A\003\"" + - "S\n\024GetCutoverJobRequest\022;\n\004name\030\001 \001(\tB-\340" + - "A\002\372A\'\n%vmmigration.googleapis.com/Cutove" + - "rJob\"\200\002\n\021OperationMetadata\0224\n\013create_tim" + - "e\030\001 \001(\0132\032.google.protobuf.TimestampB\003\340A\003" + - "\0221\n\010end_time\030\002 \001(\0132\032.google.protobuf.Tim" + - "estampB\003\340A\003\022\023\n\006target\030\003 \001(\tB\003\340A\003\022\021\n\004verb" + - "\030\004 \001(\tB\003\340A\003\022\033\n\016status_message\030\005 \001(\tB\003\340A\003" + - "\022#\n\026requested_cancellation\030\006 \001(\010B\003\340A\003\022\030\n" + - "\013api_version\030\007 \001(\tB\003\340A\003\"\277\004\n\016MigrationErr" + - "or\022H\n\004code\030\001 \001(\01625.google.cloud.vmmigrat" + - "ion.v1.MigrationError.ErrorCodeB\003\340A\003\0228\n\r" + - "error_message\030\002 \001(\0132\034.google.rpc.Localiz" + - "edMessageB\003\340A\003\0226\n\013action_item\030\003 \001(\0132\034.go" + - "ogle.rpc.LocalizedMessageB\003\340A\003\022.\n\nhelp_l" + - "inks\030\004 \003(\0132\025.google.rpc.Help.LinkB\003\340A\003\0223" + - "\n\nerror_time\030\005 \001(\0132\032.google.protobuf.Tim" + - "estampB\003\340A\003\"\213\002\n\tErrorCode\022\032\n\026ERROR_CODE_" + - "UNSPECIFIED\020\000\022\021\n\rUNKNOWN_ERROR\020\001\022\033\n\027SOUR" + - "CE_VALIDATION_ERROR\020\002\022\034\n\030SOURCE_REPLICAT" + - "ION_ERROR\020\003\022\034\n\030TARGET_REPLICATION_ERROR\020" + - "\004\022\027\n\023OS_ADAPTATION_ERROR\020\005\022\017\n\013CLONE_ERRO" + - "R\020\006\022\021\n\rCUTOVER_ERROR\020\007\022\034\n\030UTILIZATION_RE" + - "PORT_ERROR\020\010\022\033\n\027APPLIANCE_UPGRADE_ERROR\020" + - "\t*U\n\025UtilizationReportView\022\'\n#UTILIZATIO" + - "N_REPORT_VIEW_UNSPECIFIED\020\000\022\t\n\005BASIC\020\001\022\010" + - "\n\004FULL\020\002*m\n\017MigratingVmView\022!\n\035MIGRATING" + - "_VM_VIEW_UNSPECIFIED\020\000\022\033\n\027MIGRATING_VM_V" + - "IEW_BASIC\020\001\022\032\n\026MIGRATING_VM_VIEW_FULL\020\002*" + - "\261\001\n\025ComputeEngineDiskType\022(\n$COMPUTE_ENG" + - "INE_DISK_TYPE_UNSPECIFIED\020\000\022%\n!COMPUTE_E" + - "NGINE_DISK_TYPE_STANDARD\020\001\022 \n\034COMPUTE_EN" + - "GINE_DISK_TYPE_SSD\020\002\022%\n!COMPUTE_ENGINE_D" + - "ISK_TYPE_BALANCED\020\003*\217\001\n\030ComputeEngineLic" + - "enseType\022\'\n#COMPUTE_ENGINE_LICENSE_TYPE_" + - "DEFAULT\020\000\022$\n COMPUTE_ENGINE_LICENSE_TYPE" + - "_PAYG\020\001\022$\n COMPUTE_ENGINE_LICENSE_TYPE_B" + - "YOL\020\002*\216\001\n\027ComputeEngineBootOption\022*\n&COM" + - "PUTE_ENGINE_BOOT_OPTION_UNSPECIFIED\020\000\022\"\n" + - "\036COMPUTE_ENGINE_BOOT_OPTION_EFI\020\001\022#\n\037COM" + - "PUTE_ENGINE_BOOT_OPTION_BIOS\020\0022\270O\n\013VmMig" + - "ration\022\256\001\n\013ListSources\022/.google.cloud.vm" + - "migration.v1.ListSourcesRequest\0320.google" + - ".cloud.vmmigration.v1.ListSourcesRespons" + - "e\"<\202\323\344\223\002-\022+/v1/{parent=projects/*/locati" + - "ons/*}/sources\332A\006parent\022\233\001\n\tGetSource\022-." + - "google.cloud.vmmigration.v1.GetSourceReq" + - "uest\032#.google.cloud.vmmigration.v1.Sourc" + - "e\":\202\323\344\223\002-\022+/v1/{name=projects/*/location" + - "s/*/sources/*}\332A\004name\022\324\001\n\014CreateSource\0220" + - ".google.cloud.vmmigration.v1.CreateSourc" + - "eRequest\032\035.google.longrunning.Operation\"" + - "s\202\323\344\223\0025\"+/v1/{parent=projects/*/location" + - "s/*}/sources:\006source\332A\027parent,source,sou" + - "rce_id\312A\033\n\006Source\022\021OperationMetadata\022\326\001\n" + - "\014UpdateSource\0220.google.cloud.vmmigration" + - ".v1.UpdateSourceRequest\032\035.google.longrun" + - "ning.Operation\"u\202\323\344\223\002<22/v1/{source.name" + - "=projects/*/locations/*/sources/*}:\006sour" + - "ce\332A\022source,update_mask\312A\033\n\006Source\022\021Oper" + - "ationMetadata\022\310\001\n\014DeleteSource\0220.google." + - "cloud.vmmigration.v1.DeleteSourceRequest" + - "\032\035.google.longrunning.Operation\"g\202\323\344\223\002-*" + - "+/v1/{name=projects/*/locations/*/source" + - "s/*}\332A\004name\312A*\n\025google.protobuf.Empty\022\021O" + - "perationMetadata\022\310\001\n\016FetchInventory\0222.go" + - "ogle.cloud.vmmigration.v1.FetchInventory" + - "Request\0323.google.cloud.vmmigration.v1.Fe" + - "tchInventoryResponse\"M\202\323\344\223\002>\022 * Request message for 'AddGroupMigration' request. *
* * Protobuf type {@code google.cloud.vmmigration.v1.AddGroupMigrationRequest} */ -public final class AddGroupMigrationRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class AddGroupMigrationRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.vmmigration.v1.AddGroupMigrationRequest) AddGroupMigrationRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use AddGroupMigrationRequest.newBuilder() to construct. private AddGroupMigrationRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private AddGroupMigrationRequest() { group_ = ""; migratingVm_ = ""; @@ -26,16 +44,15 @@ private AddGroupMigrationRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new AddGroupMigrationRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private AddGroupMigrationRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,25 +71,27 @@ private AddGroupMigrationRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - group_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + group_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - migratingVm_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + migratingVm_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -80,34 +99,41 @@ private AddGroupMigrationRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_AddGroupMigrationRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_AddGroupMigrationRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_AddGroupMigrationRequest_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_AddGroupMigrationRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.AddGroupMigrationRequest.class, com.google.cloud.vmmigration.v1.AddGroupMigrationRequest.Builder.class); + com.google.cloud.vmmigration.v1.AddGroupMigrationRequest.class, + com.google.cloud.vmmigration.v1.AddGroupMigrationRequest.Builder.class); } public static final int GROUP_FIELD_NUMBER = 1; private volatile java.lang.Object group_; /** + * + * *
    * Required. The full path name of the Group to add to.
    * 
* - * string group = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string group = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The group. */ @java.lang.Override @@ -116,29 +142,31 @@ public java.lang.String getGroup() { 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(); group_ = s; return s; } } /** + * + * *
    * Required. The full path name of the Group to add to.
    * 
* - * string group = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string group = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for group. */ @java.lang.Override - public com.google.protobuf.ByteString - getGroupBytes() { + public com.google.protobuf.ByteString getGroupBytes() { java.lang.Object ref = group_; 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); group_ = b; return b; } else { @@ -149,11 +177,14 @@ public java.lang.String getGroup() { public static final int MIGRATING_VM_FIELD_NUMBER = 2; private volatile java.lang.Object migratingVm_; /** + * + * *
    * The full path name of the MigratingVm to add.
    * 
* * string migrating_vm = 2 [(.google.api.resource_reference) = { ... } + * * @return The migratingVm. */ @java.lang.Override @@ -162,29 +193,29 @@ public java.lang.String getMigratingVm() { 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(); migratingVm_ = s; return s; } } /** + * + * *
    * The full path name of the MigratingVm to add.
    * 
* * string migrating_vm = 2 [(.google.api.resource_reference) = { ... } + * * @return The bytes for migratingVm. */ @java.lang.Override - public com.google.protobuf.ByteString - getMigratingVmBytes() { + public com.google.protobuf.ByteString getMigratingVmBytes() { java.lang.Object ref = migratingVm_; 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); migratingVm_ = b; return b; } else { @@ -193,6 +224,7 @@ public java.lang.String getMigratingVm() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -204,8 +236,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(group_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, group_); } @@ -235,17 +266,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.vmmigration.v1.AddGroupMigrationRequest)) { return super.equals(obj); } - com.google.cloud.vmmigration.v1.AddGroupMigrationRequest other = (com.google.cloud.vmmigration.v1.AddGroupMigrationRequest) obj; + com.google.cloud.vmmigration.v1.AddGroupMigrationRequest other = + (com.google.cloud.vmmigration.v1.AddGroupMigrationRequest) obj; - if (!getGroup() - .equals(other.getGroup())) return false; - if (!getMigratingVm() - .equals(other.getMigratingVm())) return false; + if (!getGroup().equals(other.getGroup())) return false; + if (!getMigratingVm().equals(other.getMigratingVm())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -267,117 +297,127 @@ public int hashCode() { } public static com.google.cloud.vmmigration.v1.AddGroupMigrationRequest 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.vmmigration.v1.AddGroupMigrationRequest 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.vmmigration.v1.AddGroupMigrationRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.vmmigration.v1.AddGroupMigrationRequest 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.vmmigration.v1.AddGroupMigrationRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.vmmigration.v1.AddGroupMigrationRequest 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.vmmigration.v1.AddGroupMigrationRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.vmmigration.v1.AddGroupMigrationRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.vmmigration.v1.AddGroupMigrationRequest 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.vmmigration.v1.AddGroupMigrationRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.vmmigration.v1.AddGroupMigrationRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.vmmigration.v1.AddGroupMigrationRequest 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.vmmigration.v1.AddGroupMigrationRequest 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.vmmigration.v1.AddGroupMigrationRequest 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.vmmigration.v1.AddGroupMigrationRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.vmmigration.v1.AddGroupMigrationRequest 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 message for 'AddGroupMigration' request.
    * 
* * Protobuf type {@code google.cloud.vmmigration.v1.AddGroupMigrationRequest} */ - 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.vmmigration.v1.AddGroupMigrationRequest) com.google.cloud.vmmigration.v1.AddGroupMigrationRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_AddGroupMigrationRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_AddGroupMigrationRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_AddGroupMigrationRequest_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_AddGroupMigrationRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.AddGroupMigrationRequest.class, com.google.cloud.vmmigration.v1.AddGroupMigrationRequest.Builder.class); + com.google.cloud.vmmigration.v1.AddGroupMigrationRequest.class, + com.google.cloud.vmmigration.v1.AddGroupMigrationRequest.Builder.class); } // Construct using com.google.cloud.vmmigration.v1.AddGroupMigrationRequest.newBuilder() @@ -385,16 +425,15 @@ 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) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -406,9 +445,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_AddGroupMigrationRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_AddGroupMigrationRequest_descriptor; } @java.lang.Override @@ -427,7 +466,8 @@ public com.google.cloud.vmmigration.v1.AddGroupMigrationRequest build() { @java.lang.Override public com.google.cloud.vmmigration.v1.AddGroupMigrationRequest buildPartial() { - com.google.cloud.vmmigration.v1.AddGroupMigrationRequest result = new com.google.cloud.vmmigration.v1.AddGroupMigrationRequest(this); + com.google.cloud.vmmigration.v1.AddGroupMigrationRequest result = + new com.google.cloud.vmmigration.v1.AddGroupMigrationRequest(this); result.group_ = group_; result.migratingVm_ = migratingVm_; onBuilt(); @@ -438,38 +478,39 @@ public com.google.cloud.vmmigration.v1.AddGroupMigrationRequest buildPartial() { 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.vmmigration.v1.AddGroupMigrationRequest) { - return mergeFrom((com.google.cloud.vmmigration.v1.AddGroupMigrationRequest)other); + return mergeFrom((com.google.cloud.vmmigration.v1.AddGroupMigrationRequest) other); } else { super.mergeFrom(other); return this; @@ -477,7 +518,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.vmmigration.v1.AddGroupMigrationRequest other) { - if (other == com.google.cloud.vmmigration.v1.AddGroupMigrationRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.vmmigration.v1.AddGroupMigrationRequest.getDefaultInstance()) + return this; if (!other.getGroup().isEmpty()) { group_ = other.group_; onChanged(); @@ -505,7 +547,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.vmmigration.v1.AddGroupMigrationRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.vmmigration.v1.AddGroupMigrationRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -517,18 +560,22 @@ public Builder mergeFrom( private java.lang.Object group_ = ""; /** + * + * *
      * Required. The full path name of the Group to add to.
      * 
* - * string group = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string group = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The group. */ public java.lang.String getGroup() { java.lang.Object ref = group_; 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(); group_ = s; return s; @@ -537,20 +584,23 @@ public java.lang.String getGroup() { } } /** + * + * *
      * Required. The full path name of the Group to add to.
      * 
* - * string group = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string group = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for group. */ - public com.google.protobuf.ByteString - getGroupBytes() { + public com.google.protobuf.ByteString getGroupBytes() { java.lang.Object ref = group_; 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); group_ = b; return b; } else { @@ -558,54 +608,67 @@ public java.lang.String getGroup() { } } /** + * + * *
      * Required. The full path name of the Group to add to.
      * 
* - * string group = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string group = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The group to set. * @return This builder for chaining. */ - public Builder setGroup( - java.lang.String value) { + public Builder setGroup(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + group_ = value; onChanged(); return this; } /** + * + * *
      * Required. The full path name of the Group to add to.
      * 
* - * string group = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string group = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearGroup() { - + group_ = getDefaultInstance().getGroup(); onChanged(); return this; } /** + * + * *
      * Required. The full path name of the Group to add to.
      * 
* - * string group = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string group = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for group to set. * @return This builder for chaining. */ - public Builder setGroupBytes( - com.google.protobuf.ByteString value) { + public Builder setGroupBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + group_ = value; onChanged(); return this; @@ -613,18 +676,20 @@ public Builder setGroupBytes( private java.lang.Object migratingVm_ = ""; /** + * + * *
      * The full path name of the MigratingVm to add.
      * 
* * string migrating_vm = 2 [(.google.api.resource_reference) = { ... } + * * @return The migratingVm. */ public java.lang.String getMigratingVm() { java.lang.Object ref = migratingVm_; 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(); migratingVm_ = s; return s; @@ -633,20 +698,21 @@ public java.lang.String getMigratingVm() { } } /** + * + * *
      * The full path name of the MigratingVm to add.
      * 
* * string migrating_vm = 2 [(.google.api.resource_reference) = { ... } + * * @return The bytes for migratingVm. */ - public com.google.protobuf.ByteString - getMigratingVmBytes() { + public com.google.protobuf.ByteString getMigratingVmBytes() { java.lang.Object ref = migratingVm_; 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); migratingVm_ = b; return b; } else { @@ -654,61 +720,68 @@ public java.lang.String getMigratingVm() { } } /** + * + * *
      * The full path name of the MigratingVm to add.
      * 
* * string migrating_vm = 2 [(.google.api.resource_reference) = { ... } + * * @param value The migratingVm to set. * @return This builder for chaining. */ - public Builder setMigratingVm( - java.lang.String value) { + public Builder setMigratingVm(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + migratingVm_ = value; onChanged(); return this; } /** + * + * *
      * The full path name of the MigratingVm to add.
      * 
* * string migrating_vm = 2 [(.google.api.resource_reference) = { ... } + * * @return This builder for chaining. */ public Builder clearMigratingVm() { - + migratingVm_ = getDefaultInstance().getMigratingVm(); onChanged(); return this; } /** + * + * *
      * The full path name of the MigratingVm to add.
      * 
* * string migrating_vm = 2 [(.google.api.resource_reference) = { ... } + * * @param value The bytes for migratingVm to set. * @return This builder for chaining. */ - public Builder setMigratingVmBytes( - com.google.protobuf.ByteString value) { + public Builder setMigratingVmBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + migratingVm_ = 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); } @@ -718,12 +791,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.vmmigration.v1.AddGroupMigrationRequest) } // @@protoc_insertion_point(class_scope:google.cloud.vmmigration.v1.AddGroupMigrationRequest) private static final com.google.cloud.vmmigration.v1.AddGroupMigrationRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.vmmigration.v1.AddGroupMigrationRequest(); } @@ -732,16 +805,16 @@ public static com.google.cloud.vmmigration.v1.AddGroupMigrationRequest getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AddGroupMigrationRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AddGroupMigrationRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AddGroupMigrationRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AddGroupMigrationRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -756,6 +829,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.vmmigration.v1.AddGroupMigrationRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/AddGroupMigrationRequestOrBuilder.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/AddGroupMigrationRequestOrBuilder.java new file mode 100644 index 0000000..c09bcae --- /dev/null +++ b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/AddGroupMigrationRequestOrBuilder.java @@ -0,0 +1,79 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/vmmigration/v1/vmmigration.proto + +package com.google.cloud.vmmigration.v1; + +public interface AddGroupMigrationRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.AddGroupMigrationRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The full path name of the Group to add to.
+   * 
+ * + * + * string group = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The group. + */ + java.lang.String getGroup(); + /** + * + * + *
+   * Required. The full path name of the Group to add to.
+   * 
+ * + * + * string group = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for group. + */ + com.google.protobuf.ByteString getGroupBytes(); + + /** + * + * + *
+   * The full path name of the MigratingVm to add.
+   * 
+ * + * string migrating_vm = 2 [(.google.api.resource_reference) = { ... } + * + * @return The migratingVm. + */ + java.lang.String getMigratingVm(); + /** + * + * + *
+   * The full path name of the MigratingVm to add.
+   * 
+ * + * string migrating_vm = 2 [(.google.api.resource_reference) = { ... } + * + * @return The bytes for migratingVm. + */ + com.google.protobuf.ByteString getMigratingVmBytes(); +} diff --git a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/AddGroupMigrationResponse.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/AddGroupMigrationResponse.java similarity index 65% rename from owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/AddGroupMigrationResponse.java rename to proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/AddGroupMigrationResponse.java index 9473c6e..7f3496a 100644 --- a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/AddGroupMigrationResponse.java +++ b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/AddGroupMigrationResponse.java @@ -1,39 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; /** + * + * *
  * Response message for 'AddGroupMigration' request.
  * 
* * Protobuf type {@code google.cloud.vmmigration.v1.AddGroupMigrationResponse} */ -public final class AddGroupMigrationResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class AddGroupMigrationResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.vmmigration.v1.AddGroupMigrationResponse) AddGroupMigrationResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use AddGroupMigrationResponse.newBuilder() to construct. private AddGroupMigrationResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private AddGroupMigrationResponse() { - } + + private AddGroupMigrationResponse() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new AddGroupMigrationResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private AddGroupMigrationResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,13 +68,13 @@ private AddGroupMigrationResponse( case 0: done = true; break; - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -66,27 +82,30 @@ private AddGroupMigrationResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_AddGroupMigrationResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_AddGroupMigrationResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_AddGroupMigrationResponse_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_AddGroupMigrationResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.AddGroupMigrationResponse.class, com.google.cloud.vmmigration.v1.AddGroupMigrationResponse.Builder.class); + com.google.cloud.vmmigration.v1.AddGroupMigrationResponse.class, + com.google.cloud.vmmigration.v1.AddGroupMigrationResponse.Builder.class); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -98,8 +117,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 { unknownFields.writeTo(output); } @@ -117,12 +135,13 @@ 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.vmmigration.v1.AddGroupMigrationResponse)) { return super.equals(obj); } - com.google.cloud.vmmigration.v1.AddGroupMigrationResponse other = (com.google.cloud.vmmigration.v1.AddGroupMigrationResponse) obj; + com.google.cloud.vmmigration.v1.AddGroupMigrationResponse other = + (com.google.cloud.vmmigration.v1.AddGroupMigrationResponse) obj; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -141,117 +160,127 @@ public int hashCode() { } public static com.google.cloud.vmmigration.v1.AddGroupMigrationResponse 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.vmmigration.v1.AddGroupMigrationResponse 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.vmmigration.v1.AddGroupMigrationResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.vmmigration.v1.AddGroupMigrationResponse 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.vmmigration.v1.AddGroupMigrationResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.vmmigration.v1.AddGroupMigrationResponse 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.vmmigration.v1.AddGroupMigrationResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.vmmigration.v1.AddGroupMigrationResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.vmmigration.v1.AddGroupMigrationResponse 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.vmmigration.v1.AddGroupMigrationResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.vmmigration.v1.AddGroupMigrationResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.vmmigration.v1.AddGroupMigrationResponse 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.vmmigration.v1.AddGroupMigrationResponse 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.vmmigration.v1.AddGroupMigrationResponse 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.vmmigration.v1.AddGroupMigrationResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.vmmigration.v1.AddGroupMigrationResponse 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; } /** + * + * *
    * Response message for 'AddGroupMigration' request.
    * 
* * Protobuf type {@code google.cloud.vmmigration.v1.AddGroupMigrationResponse} */ - 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.vmmigration.v1.AddGroupMigrationResponse) com.google.cloud.vmmigration.v1.AddGroupMigrationResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_AddGroupMigrationResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_AddGroupMigrationResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_AddGroupMigrationResponse_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_AddGroupMigrationResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.AddGroupMigrationResponse.class, com.google.cloud.vmmigration.v1.AddGroupMigrationResponse.Builder.class); + com.google.cloud.vmmigration.v1.AddGroupMigrationResponse.class, + com.google.cloud.vmmigration.v1.AddGroupMigrationResponse.Builder.class); } // Construct using com.google.cloud.vmmigration.v1.AddGroupMigrationResponse.newBuilder() @@ -259,16 +288,15 @@ 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) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -276,9 +304,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_AddGroupMigrationResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_AddGroupMigrationResponse_descriptor; } @java.lang.Override @@ -297,7 +325,8 @@ public com.google.cloud.vmmigration.v1.AddGroupMigrationResponse build() { @java.lang.Override public com.google.cloud.vmmigration.v1.AddGroupMigrationResponse buildPartial() { - com.google.cloud.vmmigration.v1.AddGroupMigrationResponse result = new com.google.cloud.vmmigration.v1.AddGroupMigrationResponse(this); + com.google.cloud.vmmigration.v1.AddGroupMigrationResponse result = + new com.google.cloud.vmmigration.v1.AddGroupMigrationResponse(this); onBuilt(); return result; } @@ -306,38 +335,39 @@ public com.google.cloud.vmmigration.v1.AddGroupMigrationResponse buildPartial() 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.vmmigration.v1.AddGroupMigrationResponse) { - return mergeFrom((com.google.cloud.vmmigration.v1.AddGroupMigrationResponse)other); + return mergeFrom((com.google.cloud.vmmigration.v1.AddGroupMigrationResponse) other); } else { super.mergeFrom(other); return this; @@ -345,7 +375,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.vmmigration.v1.AddGroupMigrationResponse other) { - if (other == com.google.cloud.vmmigration.v1.AddGroupMigrationResponse.getDefaultInstance()) return this; + if (other == com.google.cloud.vmmigration.v1.AddGroupMigrationResponse.getDefaultInstance()) + return this; this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -365,7 +396,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.vmmigration.v1.AddGroupMigrationResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.vmmigration.v1.AddGroupMigrationResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -374,9 +406,9 @@ public Builder mergeFrom( } 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); } @@ -386,12 +418,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.vmmigration.v1.AddGroupMigrationResponse) } // @@protoc_insertion_point(class_scope:google.cloud.vmmigration.v1.AddGroupMigrationResponse) private static final com.google.cloud.vmmigration.v1.AddGroupMigrationResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.vmmigration.v1.AddGroupMigrationResponse(); } @@ -400,16 +432,16 @@ public static com.google.cloud.vmmigration.v1.AddGroupMigrationResponse getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AddGroupMigrationResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AddGroupMigrationResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AddGroupMigrationResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AddGroupMigrationResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -424,6 +456,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.vmmigration.v1.AddGroupMigrationResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/AddGroupMigrationResponseOrBuilder.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/AddGroupMigrationResponseOrBuilder.java new file mode 100644 index 0000000..a69f7b2 --- /dev/null +++ b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/AddGroupMigrationResponseOrBuilder.java @@ -0,0 +1,24 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/vmmigration/v1/vmmigration.proto + +package com.google.cloud.vmmigration.v1; + +public interface AddGroupMigrationResponseOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.AddGroupMigrationResponse) + com.google.protobuf.MessageOrBuilder {} diff --git a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ApplianceVersion.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ApplianceVersion.java similarity index 71% rename from owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ApplianceVersion.java rename to proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ApplianceVersion.java index ca3e460..a1f6fe5 100644 --- a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ApplianceVersion.java +++ b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ApplianceVersion.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; /** + * + * *
  * Describes an appliance version.
  * 
* * Protobuf type {@code google.cloud.vmmigration.v1.ApplianceVersion} */ -public final class ApplianceVersion extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ApplianceVersion extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.vmmigration.v1.ApplianceVersion) ApplianceVersionOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ApplianceVersion.newBuilder() to construct. private ApplianceVersion(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ApplianceVersion() { version_ = ""; uri_ = ""; @@ -27,16 +45,15 @@ private ApplianceVersion() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ApplianceVersion(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ApplianceVersion( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,36 +72,39 @@ private ApplianceVersion( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - version_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - - uri_ = s; - break; - } - case 24: { + version_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - critical_ = input.readBool(); - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); + uri_ = s; + break; + } + case 24: + { + critical_ = input.readBool(); + break; + } + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); - releaseNotesUri_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + releaseNotesUri_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -92,34 +112,39 @@ private ApplianceVersion( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ApplianceVersion_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_ApplianceVersion_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ApplianceVersion_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_ApplianceVersion_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.ApplianceVersion.class, com.google.cloud.vmmigration.v1.ApplianceVersion.Builder.class); + com.google.cloud.vmmigration.v1.ApplianceVersion.class, + com.google.cloud.vmmigration.v1.ApplianceVersion.Builder.class); } public static final int VERSION_FIELD_NUMBER = 1; private volatile java.lang.Object version_; /** + * + * *
    * The appliance version.
    * 
* * string version = 1; + * * @return The version. */ @java.lang.Override @@ -128,29 +153,29 @@ public java.lang.String getVersion() { 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(); version_ = s; return s; } } /** + * + * *
    * The appliance version.
    * 
* * string version = 1; + * * @return The bytes for version. */ @java.lang.Override - public com.google.protobuf.ByteString - getVersionBytes() { + public com.google.protobuf.ByteString getVersionBytes() { java.lang.Object ref = version_; 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); version_ = b; return b; } else { @@ -161,11 +186,14 @@ public java.lang.String getVersion() { public static final int URI_FIELD_NUMBER = 2; private volatile java.lang.Object uri_; /** + * + * *
    * A link for downloading the version.
    * 
* * string uri = 2; + * * @return The uri. */ @java.lang.Override @@ -174,29 +202,29 @@ public java.lang.String getUri() { 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(); uri_ = s; return s; } } /** + * + * *
    * A link for downloading the version.
    * 
* * string uri = 2; + * * @return The bytes for uri. */ @java.lang.Override - public com.google.protobuf.ByteString - getUriBytes() { + public com.google.protobuf.ByteString getUriBytes() { java.lang.Object ref = uri_; 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); uri_ = b; return b; } else { @@ -207,11 +235,14 @@ public java.lang.String getUri() { public static final int CRITICAL_FIELD_NUMBER = 3; private boolean critical_; /** + * + * *
    * Determine whether it's critical to upgrade the appliance to this version.
    * 
* * bool critical = 3; + * * @return The critical. */ @java.lang.Override @@ -222,11 +253,14 @@ public boolean getCritical() { public static final int RELEASE_NOTES_URI_FIELD_NUMBER = 4; private volatile java.lang.Object releaseNotesUri_; /** + * + * *
    * Link to a page that contains the version release notes.
    * 
* * string release_notes_uri = 4; + * * @return The releaseNotesUri. */ @java.lang.Override @@ -235,29 +269,29 @@ public java.lang.String getReleaseNotesUri() { 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(); releaseNotesUri_ = s; return s; } } /** + * + * *
    * Link to a page that contains the version release notes.
    * 
* * string release_notes_uri = 4; + * * @return The bytes for releaseNotesUri. */ @java.lang.Override - public com.google.protobuf.ByteString - getReleaseNotesUriBytes() { + public com.google.protobuf.ByteString getReleaseNotesUriBytes() { java.lang.Object ref = releaseNotesUri_; 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); releaseNotesUri_ = b; return b; } else { @@ -266,6 +300,7 @@ public java.lang.String getReleaseNotesUri() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -277,8 +312,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(version_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, version_); } @@ -307,8 +341,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, uri_); } if (critical_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(3, critical_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, critical_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(releaseNotesUri_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, releaseNotesUri_); @@ -321,21 +354,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.vmmigration.v1.ApplianceVersion)) { return super.equals(obj); } - com.google.cloud.vmmigration.v1.ApplianceVersion other = (com.google.cloud.vmmigration.v1.ApplianceVersion) obj; + com.google.cloud.vmmigration.v1.ApplianceVersion other = + (com.google.cloud.vmmigration.v1.ApplianceVersion) obj; - if (!getVersion() - .equals(other.getVersion())) return false; - if (!getUri() - .equals(other.getUri())) return false; - if (getCritical() - != other.getCritical()) return false; - if (!getReleaseNotesUri() - .equals(other.getReleaseNotesUri())) return false; + if (!getVersion().equals(other.getVersion())) return false; + if (!getUri().equals(other.getUri())) return false; + if (getCritical() != other.getCritical()) return false; + if (!getReleaseNotesUri().equals(other.getReleaseNotesUri())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -352,8 +382,7 @@ public int hashCode() { hash = (37 * hash) + URI_FIELD_NUMBER; hash = (53 * hash) + getUri().hashCode(); hash = (37 * hash) + CRITICAL_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getCritical()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getCritical()); hash = (37 * hash) + RELEASE_NOTES_URI_FIELD_NUMBER; hash = (53 * hash) + getReleaseNotesUri().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); @@ -361,118 +390,127 @@ public int hashCode() { return hash; } - public static com.google.cloud.vmmigration.v1.ApplianceVersion parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.vmmigration.v1.ApplianceVersion parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.vmmigration.v1.ApplianceVersion 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.vmmigration.v1.ApplianceVersion parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.vmmigration.v1.ApplianceVersion 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.vmmigration.v1.ApplianceVersion parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.vmmigration.v1.ApplianceVersion 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.vmmigration.v1.ApplianceVersion parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.vmmigration.v1.ApplianceVersion parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.vmmigration.v1.ApplianceVersion 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.vmmigration.v1.ApplianceVersion parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.vmmigration.v1.ApplianceVersion parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.vmmigration.v1.ApplianceVersion 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.vmmigration.v1.ApplianceVersion 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.vmmigration.v1.ApplianceVersion 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.vmmigration.v1.ApplianceVersion 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; } /** + * + * *
    * Describes an appliance version.
    * 
* * Protobuf type {@code google.cloud.vmmigration.v1.ApplianceVersion} */ - 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.vmmigration.v1.ApplianceVersion) com.google.cloud.vmmigration.v1.ApplianceVersionOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ApplianceVersion_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_ApplianceVersion_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ApplianceVersion_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_ApplianceVersion_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.ApplianceVersion.class, com.google.cloud.vmmigration.v1.ApplianceVersion.Builder.class); + com.google.cloud.vmmigration.v1.ApplianceVersion.class, + com.google.cloud.vmmigration.v1.ApplianceVersion.Builder.class); } // Construct using com.google.cloud.vmmigration.v1.ApplianceVersion.newBuilder() @@ -480,16 +518,15 @@ 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) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -505,9 +542,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ApplianceVersion_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_ApplianceVersion_descriptor; } @java.lang.Override @@ -526,7 +563,8 @@ public com.google.cloud.vmmigration.v1.ApplianceVersion build() { @java.lang.Override public com.google.cloud.vmmigration.v1.ApplianceVersion buildPartial() { - com.google.cloud.vmmigration.v1.ApplianceVersion result = new com.google.cloud.vmmigration.v1.ApplianceVersion(this); + com.google.cloud.vmmigration.v1.ApplianceVersion result = + new com.google.cloud.vmmigration.v1.ApplianceVersion(this); result.version_ = version_; result.uri_ = uri_; result.critical_ = critical_; @@ -539,38 +577,39 @@ public com.google.cloud.vmmigration.v1.ApplianceVersion buildPartial() { 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.vmmigration.v1.ApplianceVersion) { - return mergeFrom((com.google.cloud.vmmigration.v1.ApplianceVersion)other); + return mergeFrom((com.google.cloud.vmmigration.v1.ApplianceVersion) other); } else { super.mergeFrom(other); return this; @@ -578,7 +617,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.vmmigration.v1.ApplianceVersion other) { - if (other == com.google.cloud.vmmigration.v1.ApplianceVersion.getDefaultInstance()) return this; + if (other == com.google.cloud.vmmigration.v1.ApplianceVersion.getDefaultInstance()) + return this; if (!other.getVersion().isEmpty()) { version_ = other.version_; onChanged(); @@ -625,18 +665,20 @@ public Builder mergeFrom( private java.lang.Object version_ = ""; /** + * + * *
      * The appliance version.
      * 
* * string version = 1; + * * @return The version. */ public java.lang.String getVersion() { java.lang.Object ref = version_; 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(); version_ = s; return s; @@ -645,20 +687,21 @@ public java.lang.String getVersion() { } } /** + * + * *
      * The appliance version.
      * 
* * string version = 1; + * * @return The bytes for version. */ - public com.google.protobuf.ByteString - getVersionBytes() { + public com.google.protobuf.ByteString getVersionBytes() { java.lang.Object ref = version_; 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); version_ = b; return b; } else { @@ -666,54 +709,61 @@ public java.lang.String getVersion() { } } /** + * + * *
      * The appliance version.
      * 
* * string version = 1; + * * @param value The version to set. * @return This builder for chaining. */ - public Builder setVersion( - java.lang.String value) { + public Builder setVersion(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + version_ = value; onChanged(); return this; } /** + * + * *
      * The appliance version.
      * 
* * string version = 1; + * * @return This builder for chaining. */ public Builder clearVersion() { - + version_ = getDefaultInstance().getVersion(); onChanged(); return this; } /** + * + * *
      * The appliance version.
      * 
* * string version = 1; + * * @param value The bytes for version to set. * @return This builder for chaining. */ - public Builder setVersionBytes( - com.google.protobuf.ByteString value) { + public Builder setVersionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + version_ = value; onChanged(); return this; @@ -721,18 +771,20 @@ public Builder setVersionBytes( private java.lang.Object uri_ = ""; /** + * + * *
      * A link for downloading the version.
      * 
* * string uri = 2; + * * @return The uri. */ public java.lang.String getUri() { java.lang.Object ref = uri_; 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(); uri_ = s; return s; @@ -741,20 +793,21 @@ public java.lang.String getUri() { } } /** + * + * *
      * A link for downloading the version.
      * 
* * string uri = 2; + * * @return The bytes for uri. */ - public com.google.protobuf.ByteString - getUriBytes() { + public com.google.protobuf.ByteString getUriBytes() { java.lang.Object ref = uri_; 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); uri_ = b; return b; } else { @@ -762,66 +815,76 @@ public java.lang.String getUri() { } } /** + * + * *
      * A link for downloading the version.
      * 
* * string uri = 2; + * * @param value The uri to set. * @return This builder for chaining. */ - public Builder setUri( - java.lang.String value) { + public Builder setUri(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + uri_ = value; onChanged(); return this; } /** + * + * *
      * A link for downloading the version.
      * 
* * string uri = 2; + * * @return This builder for chaining. */ public Builder clearUri() { - + uri_ = getDefaultInstance().getUri(); onChanged(); return this; } /** + * + * *
      * A link for downloading the version.
      * 
* * string uri = 2; + * * @param value The bytes for uri to set. * @return This builder for chaining. */ - public Builder setUriBytes( - com.google.protobuf.ByteString value) { + public Builder setUriBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + uri_ = value; onChanged(); return this; } - private boolean critical_ ; + private boolean critical_; /** + * + * *
      * Determine whether it's critical to upgrade the appliance to this version.
      * 
* * bool critical = 3; + * * @return The critical. */ @java.lang.Override @@ -829,30 +892,36 @@ public boolean getCritical() { return critical_; } /** + * + * *
      * Determine whether it's critical to upgrade the appliance to this version.
      * 
* * bool critical = 3; + * * @param value The critical to set. * @return This builder for chaining. */ public Builder setCritical(boolean value) { - + critical_ = value; onChanged(); return this; } /** + * + * *
      * Determine whether it's critical to upgrade the appliance to this version.
      * 
* * bool critical = 3; + * * @return This builder for chaining. */ public Builder clearCritical() { - + critical_ = false; onChanged(); return this; @@ -860,18 +929,20 @@ public Builder clearCritical() { private java.lang.Object releaseNotesUri_ = ""; /** + * + * *
      * Link to a page that contains the version release notes.
      * 
* * string release_notes_uri = 4; + * * @return The releaseNotesUri. */ public java.lang.String getReleaseNotesUri() { java.lang.Object ref = releaseNotesUri_; 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(); releaseNotesUri_ = s; return s; @@ -880,20 +951,21 @@ public java.lang.String getReleaseNotesUri() { } } /** + * + * *
      * Link to a page that contains the version release notes.
      * 
* * string release_notes_uri = 4; + * * @return The bytes for releaseNotesUri. */ - public com.google.protobuf.ByteString - getReleaseNotesUriBytes() { + public com.google.protobuf.ByteString getReleaseNotesUriBytes() { java.lang.Object ref = releaseNotesUri_; 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); releaseNotesUri_ = b; return b; } else { @@ -901,61 +973,68 @@ public java.lang.String getReleaseNotesUri() { } } /** + * + * *
      * Link to a page that contains the version release notes.
      * 
* * string release_notes_uri = 4; + * * @param value The releaseNotesUri to set. * @return This builder for chaining. */ - public Builder setReleaseNotesUri( - java.lang.String value) { + public Builder setReleaseNotesUri(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + releaseNotesUri_ = value; onChanged(); return this; } /** + * + * *
      * Link to a page that contains the version release notes.
      * 
* * string release_notes_uri = 4; + * * @return This builder for chaining. */ public Builder clearReleaseNotesUri() { - + releaseNotesUri_ = getDefaultInstance().getReleaseNotesUri(); onChanged(); return this; } /** + * + * *
      * Link to a page that contains the version release notes.
      * 
* * string release_notes_uri = 4; + * * @param value The bytes for releaseNotesUri to set. * @return This builder for chaining. */ - public Builder setReleaseNotesUriBytes( - com.google.protobuf.ByteString value) { + public Builder setReleaseNotesUriBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + releaseNotesUri_ = 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); } @@ -965,12 +1044,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.vmmigration.v1.ApplianceVersion) } // @@protoc_insertion_point(class_scope:google.cloud.vmmigration.v1.ApplianceVersion) private static final com.google.cloud.vmmigration.v1.ApplianceVersion DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.vmmigration.v1.ApplianceVersion(); } @@ -979,16 +1058,16 @@ public static com.google.cloud.vmmigration.v1.ApplianceVersion getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ApplianceVersion parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ApplianceVersion(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ApplianceVersion parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ApplianceVersion(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1003,6 +1082,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.vmmigration.v1.ApplianceVersion getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ApplianceVersionOrBuilder.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ApplianceVersionOrBuilder.java similarity index 62% rename from owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ApplianceVersionOrBuilder.java rename to proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ApplianceVersionOrBuilder.java index 47ca2ed..56df310 100644 --- a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ApplianceVersionOrBuilder.java +++ b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ApplianceVersionOrBuilder.java @@ -1,79 +1,113 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; -public interface ApplianceVersionOrBuilder extends +public interface ApplianceVersionOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.ApplianceVersion) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The appliance version.
    * 
* * string version = 1; + * * @return The version. */ java.lang.String getVersion(); /** + * + * *
    * The appliance version.
    * 
* * string version = 1; + * * @return The bytes for version. */ - com.google.protobuf.ByteString - getVersionBytes(); + com.google.protobuf.ByteString getVersionBytes(); /** + * + * *
    * A link for downloading the version.
    * 
* * string uri = 2; + * * @return The uri. */ java.lang.String getUri(); /** + * + * *
    * A link for downloading the version.
    * 
* * string uri = 2; + * * @return The bytes for uri. */ - com.google.protobuf.ByteString - getUriBytes(); + com.google.protobuf.ByteString getUriBytes(); /** + * + * *
    * Determine whether it's critical to upgrade the appliance to this version.
    * 
* * bool critical = 3; + * * @return The critical. */ boolean getCritical(); /** + * + * *
    * Link to a page that contains the version release notes.
    * 
* * string release_notes_uri = 4; + * * @return The releaseNotesUri. */ java.lang.String getReleaseNotesUri(); /** + * + * *
    * Link to a page that contains the version release notes.
    * 
* * string release_notes_uri = 4; + * * @return The bytes for releaseNotesUri. */ - com.google.protobuf.ByteString - getReleaseNotesUriBytes(); + com.google.protobuf.ByteString getReleaseNotesUriBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/AppliedLicense.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/AppliedLicense.java similarity index 71% rename from owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/AppliedLicense.java rename to proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/AppliedLicense.java index a844009..1b55bd8 100644 --- a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/AppliedLicense.java +++ b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/AppliedLicense.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; /** + * + * *
  * AppliedLicense holds the license data returned by adaptation module report.
  * 
* * Protobuf type {@code google.cloud.vmmigration.v1.AppliedLicense} */ -public final class AppliedLicense extends - com.google.protobuf.GeneratedMessageV3 implements +public final class AppliedLicense extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.vmmigration.v1.AppliedLicense) AppliedLicenseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use AppliedLicense.newBuilder() to construct. private AppliedLicense(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private AppliedLicense() { type_ = 0; osLicense_ = ""; @@ -26,16 +44,15 @@ private AppliedLicense() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new AppliedLicense(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private AppliedLicense( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,25 +71,27 @@ private AppliedLicense( case 0: done = true; break; - case 8: { - int rawValue = input.readEnum(); + case 8: + { + int rawValue = input.readEnum(); - type_ = rawValue; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + type_ = rawValue; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - osLicense_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + osLicense_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -80,36 +99,41 @@ private AppliedLicense( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_AppliedLicense_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_AppliedLicense_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_AppliedLicense_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_AppliedLicense_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.AppliedLicense.class, com.google.cloud.vmmigration.v1.AppliedLicense.Builder.class); + com.google.cloud.vmmigration.v1.AppliedLicense.class, + com.google.cloud.vmmigration.v1.AppliedLicense.Builder.class); } /** + * + * *
    * License types used in OS adaptation.
    * 
* * Protobuf enum {@code google.cloud.vmmigration.v1.AppliedLicense.Type} */ - public enum Type - implements com.google.protobuf.ProtocolMessageEnum { + public enum Type implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Unspecified license for the OS.
      * 
@@ -118,6 +142,8 @@ public enum Type */ TYPE_UNSPECIFIED(0), /** + * + * *
      * No license available for the OS.
      * 
@@ -126,6 +152,8 @@ public enum Type */ NONE(1), /** + * + * *
      * The license type is Pay As You Go license type.
      * 
@@ -134,6 +162,8 @@ public enum Type */ PAYG(2), /** + * + * *
      * The license type is is Bring Your Own License type.
      * 
@@ -145,6 +175,8 @@ public enum Type ; /** + * + * *
      * Unspecified license for the OS.
      * 
@@ -153,6 +185,8 @@ public enum Type */ public static final int TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * No license available for the OS.
      * 
@@ -161,6 +195,8 @@ public enum Type */ public static final int NONE_VALUE = 1; /** + * + * *
      * The license type is Pay As You Go license type.
      * 
@@ -169,6 +205,8 @@ public enum Type */ public static final int PAYG_VALUE = 2; /** + * + * *
      * The license type is is Bring Your Own License type.
      * 
@@ -177,7 +215,6 @@ public enum Type */ public static final int BYOL_VALUE = 3; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -202,50 +239,51 @@ public static Type valueOf(int value) { */ public static Type forNumber(int value) { switch (value) { - case 0: return TYPE_UNSPECIFIED; - case 1: return NONE; - case 2: return PAYG; - case 3: return BYOL; - default: return null; + case 0: + return TYPE_UNSPECIFIED; + case 1: + return NONE; + case 2: + return PAYG; + case 3: + return BYOL; + 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< - 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() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.cloud.vmmigration.v1.AppliedLicense.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; @@ -265,38 +303,52 @@ private Type(int value) { public static final int TYPE_FIELD_NUMBER = 1; private int type_; /** + * + * *
    * The license type that was used in OS adaptation.
    * 
* * .google.cloud.vmmigration.v1.AppliedLicense.Type type = 1; + * * @return The enum numeric value on the wire for type. */ - @java.lang.Override public int getTypeValue() { + @java.lang.Override + public int getTypeValue() { return type_; } /** + * + * *
    * The license type that was used in OS adaptation.
    * 
* * .google.cloud.vmmigration.v1.AppliedLicense.Type type = 1; + * * @return The type. */ - @java.lang.Override public com.google.cloud.vmmigration.v1.AppliedLicense.Type getType() { + @java.lang.Override + public com.google.cloud.vmmigration.v1.AppliedLicense.Type getType() { @SuppressWarnings("deprecation") - com.google.cloud.vmmigration.v1.AppliedLicense.Type result = com.google.cloud.vmmigration.v1.AppliedLicense.Type.valueOf(type_); - return result == null ? com.google.cloud.vmmigration.v1.AppliedLicense.Type.UNRECOGNIZED : result; + com.google.cloud.vmmigration.v1.AppliedLicense.Type result = + com.google.cloud.vmmigration.v1.AppliedLicense.Type.valueOf(type_); + return result == null + ? com.google.cloud.vmmigration.v1.AppliedLicense.Type.UNRECOGNIZED + : result; } public static final int OS_LICENSE_FIELD_NUMBER = 2; private volatile java.lang.Object osLicense_; /** + * + * *
    * The OS license returned from the adaptation module's report.
    * 
* * string os_license = 2; + * * @return The osLicense. */ @java.lang.Override @@ -305,29 +357,29 @@ public java.lang.String getOsLicense() { 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(); osLicense_ = s; return s; } } /** + * + * *
    * The OS license returned from the adaptation module's report.
    * 
* * string os_license = 2; + * * @return The bytes for osLicense. */ @java.lang.Override - public com.google.protobuf.ByteString - getOsLicenseBytes() { + public com.google.protobuf.ByteString getOsLicenseBytes() { java.lang.Object ref = osLicense_; 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); osLicense_ = b; return b; } else { @@ -336,6 +388,7 @@ public java.lang.String getOsLicense() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -347,8 +400,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 (type_ != com.google.cloud.vmmigration.v1.AppliedLicense.Type.TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(1, type_); } @@ -365,8 +417,7 @@ public int getSerializedSize() { size = 0; if (type_ != com.google.cloud.vmmigration.v1.AppliedLicense.Type.TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, type_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, type_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(osLicense_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, osLicense_); @@ -379,16 +430,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.vmmigration.v1.AppliedLicense)) { return super.equals(obj); } - com.google.cloud.vmmigration.v1.AppliedLicense other = (com.google.cloud.vmmigration.v1.AppliedLicense) obj; + com.google.cloud.vmmigration.v1.AppliedLicense other = + (com.google.cloud.vmmigration.v1.AppliedLicense) obj; if (type_ != other.type_) return false; - if (!getOsLicense() - .equals(other.getOsLicense())) return false; + if (!getOsLicense().equals(other.getOsLicense())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -409,118 +460,127 @@ public int hashCode() { return hash; } - public static com.google.cloud.vmmigration.v1.AppliedLicense parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.vmmigration.v1.AppliedLicense parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.vmmigration.v1.AppliedLicense 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.vmmigration.v1.AppliedLicense parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.vmmigration.v1.AppliedLicense 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.vmmigration.v1.AppliedLicense parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.vmmigration.v1.AppliedLicense 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.vmmigration.v1.AppliedLicense parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.vmmigration.v1.AppliedLicense 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.vmmigration.v1.AppliedLicense parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.vmmigration.v1.AppliedLicense parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.vmmigration.v1.AppliedLicense 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.vmmigration.v1.AppliedLicense 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.vmmigration.v1.AppliedLicense 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.vmmigration.v1.AppliedLicense 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; } /** + * + * *
    * AppliedLicense holds the license data returned by adaptation module report.
    * 
* * Protobuf type {@code google.cloud.vmmigration.v1.AppliedLicense} */ - 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.vmmigration.v1.AppliedLicense) com.google.cloud.vmmigration.v1.AppliedLicenseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_AppliedLicense_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_AppliedLicense_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_AppliedLicense_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_AppliedLicense_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.AppliedLicense.class, com.google.cloud.vmmigration.v1.AppliedLicense.Builder.class); + com.google.cloud.vmmigration.v1.AppliedLicense.class, + com.google.cloud.vmmigration.v1.AppliedLicense.Builder.class); } // Construct using com.google.cloud.vmmigration.v1.AppliedLicense.newBuilder() @@ -528,16 +588,15 @@ 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) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -549,9 +608,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_AppliedLicense_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_AppliedLicense_descriptor; } @java.lang.Override @@ -570,7 +629,8 @@ public com.google.cloud.vmmigration.v1.AppliedLicense build() { @java.lang.Override public com.google.cloud.vmmigration.v1.AppliedLicense buildPartial() { - com.google.cloud.vmmigration.v1.AppliedLicense result = new com.google.cloud.vmmigration.v1.AppliedLicense(this); + com.google.cloud.vmmigration.v1.AppliedLicense result = + new com.google.cloud.vmmigration.v1.AppliedLicense(this); result.type_ = type_; result.osLicense_ = osLicense_; onBuilt(); @@ -581,38 +641,39 @@ public com.google.cloud.vmmigration.v1.AppliedLicense buildPartial() { 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.vmmigration.v1.AppliedLicense) { - return mergeFrom((com.google.cloud.vmmigration.v1.AppliedLicense)other); + return mergeFrom((com.google.cloud.vmmigration.v1.AppliedLicense) other); } else { super.mergeFrom(other); return this; @@ -659,51 +720,67 @@ public Builder mergeFrom( private int type_ = 0; /** + * + * *
      * The license type that was used in OS adaptation.
      * 
* * .google.cloud.vmmigration.v1.AppliedLicense.Type type = 1; + * * @return The enum numeric value on the wire for type. */ - @java.lang.Override public int getTypeValue() { + @java.lang.Override + public int getTypeValue() { return type_; } /** + * + * *
      * The license type that was used in OS adaptation.
      * 
* * .google.cloud.vmmigration.v1.AppliedLicense.Type type = 1; + * * @param value The enum numeric value on the wire for type to set. * @return This builder for chaining. */ public Builder setTypeValue(int value) { - + type_ = value; onChanged(); return this; } /** + * + * *
      * The license type that was used in OS adaptation.
      * 
* * .google.cloud.vmmigration.v1.AppliedLicense.Type type = 1; + * * @return The type. */ @java.lang.Override public com.google.cloud.vmmigration.v1.AppliedLicense.Type getType() { @SuppressWarnings("deprecation") - com.google.cloud.vmmigration.v1.AppliedLicense.Type result = com.google.cloud.vmmigration.v1.AppliedLicense.Type.valueOf(type_); - return result == null ? com.google.cloud.vmmigration.v1.AppliedLicense.Type.UNRECOGNIZED : result; + com.google.cloud.vmmigration.v1.AppliedLicense.Type result = + com.google.cloud.vmmigration.v1.AppliedLicense.Type.valueOf(type_); + return result == null + ? com.google.cloud.vmmigration.v1.AppliedLicense.Type.UNRECOGNIZED + : result; } /** + * + * *
      * The license type that was used in OS adaptation.
      * 
* * .google.cloud.vmmigration.v1.AppliedLicense.Type type = 1; + * * @param value The type to set. * @return This builder for chaining. */ @@ -711,21 +788,24 @@ public Builder setType(com.google.cloud.vmmigration.v1.AppliedLicense.Type value if (value == null) { throw new NullPointerException(); } - + type_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The license type that was used in OS adaptation.
      * 
* * .google.cloud.vmmigration.v1.AppliedLicense.Type type = 1; + * * @return This builder for chaining. */ public Builder clearType() { - + type_ = 0; onChanged(); return this; @@ -733,18 +813,20 @@ public Builder clearType() { private java.lang.Object osLicense_ = ""; /** + * + * *
      * The OS license returned from the adaptation module's report.
      * 
* * string os_license = 2; + * * @return The osLicense. */ public java.lang.String getOsLicense() { java.lang.Object ref = osLicense_; 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(); osLicense_ = s; return s; @@ -753,20 +835,21 @@ public java.lang.String getOsLicense() { } } /** + * + * *
      * The OS license returned from the adaptation module's report.
      * 
* * string os_license = 2; + * * @return The bytes for osLicense. */ - public com.google.protobuf.ByteString - getOsLicenseBytes() { + public com.google.protobuf.ByteString getOsLicenseBytes() { java.lang.Object ref = osLicense_; 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); osLicense_ = b; return b; } else { @@ -774,61 +857,68 @@ public java.lang.String getOsLicense() { } } /** + * + * *
      * The OS license returned from the adaptation module's report.
      * 
* * string os_license = 2; + * * @param value The osLicense to set. * @return This builder for chaining. */ - public Builder setOsLicense( - java.lang.String value) { + public Builder setOsLicense(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + osLicense_ = value; onChanged(); return this; } /** + * + * *
      * The OS license returned from the adaptation module's report.
      * 
* * string os_license = 2; + * * @return This builder for chaining. */ public Builder clearOsLicense() { - + osLicense_ = getDefaultInstance().getOsLicense(); onChanged(); return this; } /** + * + * *
      * The OS license returned from the adaptation module's report.
      * 
* * string os_license = 2; + * * @param value The bytes for osLicense to set. * @return This builder for chaining. */ - public Builder setOsLicenseBytes( - com.google.protobuf.ByteString value) { + public Builder setOsLicenseBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + osLicense_ = 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); } @@ -838,12 +928,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.vmmigration.v1.AppliedLicense) } // @@protoc_insertion_point(class_scope:google.cloud.vmmigration.v1.AppliedLicense) private static final com.google.cloud.vmmigration.v1.AppliedLicense DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.vmmigration.v1.AppliedLicense(); } @@ -852,16 +942,16 @@ public static com.google.cloud.vmmigration.v1.AppliedLicense getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AppliedLicense parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AppliedLicense(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AppliedLicense parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AppliedLicense(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -876,6 +966,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.vmmigration.v1.AppliedLicense getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/AppliedLicenseOrBuilder.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/AppliedLicenseOrBuilder.java similarity index 61% rename from owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/AppliedLicenseOrBuilder.java rename to proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/AppliedLicenseOrBuilder.java index f01b55a..526b9cb 100644 --- a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/AppliedLicenseOrBuilder.java +++ b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/AppliedLicenseOrBuilder.java @@ -1,48 +1,75 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; -public interface AppliedLicenseOrBuilder extends +public interface AppliedLicenseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.AppliedLicense) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The license type that was used in OS adaptation.
    * 
* * .google.cloud.vmmigration.v1.AppliedLicense.Type type = 1; + * * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** + * + * *
    * The license type that was used in OS adaptation.
    * 
* * .google.cloud.vmmigration.v1.AppliedLicense.Type type = 1; + * * @return The type. */ com.google.cloud.vmmigration.v1.AppliedLicense.Type getType(); /** + * + * *
    * The OS license returned from the adaptation module's report.
    * 
* * string os_license = 2; + * * @return The osLicense. */ java.lang.String getOsLicense(); /** + * + * *
    * The OS license returned from the adaptation module's report.
    * 
* * string os_license = 2; + * * @return The bytes for osLicense. */ - com.google.protobuf.ByteString - getOsLicenseBytes(); + com.google.protobuf.ByteString getOsLicenseBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/AvailableUpdates.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/AvailableUpdates.java similarity index 71% rename from owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/AvailableUpdates.java rename to proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/AvailableUpdates.java index 150f2e4..315f007 100644 --- a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/AvailableUpdates.java +++ b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/AvailableUpdates.java @@ -1,39 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; /** + * + * *
  * Holds informatiom about the available versions for upgrade.
  * 
* * Protobuf type {@code google.cloud.vmmigration.v1.AvailableUpdates} */ -public final class AvailableUpdates extends - com.google.protobuf.GeneratedMessageV3 implements +public final class AvailableUpdates extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.vmmigration.v1.AvailableUpdates) AvailableUpdatesOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use AvailableUpdates.newBuilder() to construct. private AvailableUpdates(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private AvailableUpdates() { - } + + private AvailableUpdates() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new AvailableUpdates(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private AvailableUpdates( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,39 +68,45 @@ private AvailableUpdates( case 0: done = true; break; - case 10: { - com.google.cloud.vmmigration.v1.ApplianceVersion.Builder subBuilder = null; - if (newDeployableAppliance_ != null) { - subBuilder = newDeployableAppliance_.toBuilder(); - } - newDeployableAppliance_ = input.readMessage(com.google.cloud.vmmigration.v1.ApplianceVersion.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(newDeployableAppliance_); - newDeployableAppliance_ = subBuilder.buildPartial(); - } + case 10: + { + com.google.cloud.vmmigration.v1.ApplianceVersion.Builder subBuilder = null; + if (newDeployableAppliance_ != null) { + subBuilder = newDeployableAppliance_.toBuilder(); + } + newDeployableAppliance_ = + input.readMessage( + com.google.cloud.vmmigration.v1.ApplianceVersion.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(newDeployableAppliance_); + newDeployableAppliance_ = subBuilder.buildPartial(); + } - break; - } - case 18: { - com.google.cloud.vmmigration.v1.ApplianceVersion.Builder subBuilder = null; - if (inPlaceUpdate_ != null) { - subBuilder = inPlaceUpdate_.toBuilder(); - } - inPlaceUpdate_ = input.readMessage(com.google.cloud.vmmigration.v1.ApplianceVersion.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(inPlaceUpdate_); - inPlaceUpdate_ = subBuilder.buildPartial(); + break; } + case 18: + { + com.google.cloud.vmmigration.v1.ApplianceVersion.Builder subBuilder = null; + if (inPlaceUpdate_ != null) { + subBuilder = inPlaceUpdate_.toBuilder(); + } + inPlaceUpdate_ = + input.readMessage( + com.google.cloud.vmmigration.v1.ApplianceVersion.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(inPlaceUpdate_); + inPlaceUpdate_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -92,29 +114,33 @@ private AvailableUpdates( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_AvailableUpdates_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_AvailableUpdates_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_AvailableUpdates_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_AvailableUpdates_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.AvailableUpdates.class, com.google.cloud.vmmigration.v1.AvailableUpdates.Builder.class); + com.google.cloud.vmmigration.v1.AvailableUpdates.class, + com.google.cloud.vmmigration.v1.AvailableUpdates.Builder.class); } public static final int NEW_DEPLOYABLE_APPLIANCE_FIELD_NUMBER = 1; private com.google.cloud.vmmigration.v1.ApplianceVersion newDeployableAppliance_; /** + * + * *
    * The newest deployable version of the appliance.
    * The current appliance can't be updated into this version, and the owner
@@ -122,6 +148,7 @@ private AvailableUpdates(
    * 
* * .google.cloud.vmmigration.v1.ApplianceVersion new_deployable_appliance = 1; + * * @return Whether the newDeployableAppliance field is set. */ @java.lang.Override @@ -129,6 +156,8 @@ public boolean hasNewDeployableAppliance() { return newDeployableAppliance_ != null; } /** + * + * *
    * The newest deployable version of the appliance.
    * The current appliance can't be updated into this version, and the owner
@@ -136,13 +165,18 @@ public boolean hasNewDeployableAppliance() {
    * 
* * .google.cloud.vmmigration.v1.ApplianceVersion new_deployable_appliance = 1; + * * @return The newDeployableAppliance. */ @java.lang.Override public com.google.cloud.vmmigration.v1.ApplianceVersion getNewDeployableAppliance() { - return newDeployableAppliance_ == null ? com.google.cloud.vmmigration.v1.ApplianceVersion.getDefaultInstance() : newDeployableAppliance_; + return newDeployableAppliance_ == null + ? com.google.cloud.vmmigration.v1.ApplianceVersion.getDefaultInstance() + : newDeployableAppliance_; } /** + * + * *
    * The newest deployable version of the appliance.
    * The current appliance can't be updated into this version, and the owner
@@ -152,13 +186,16 @@ public com.google.cloud.vmmigration.v1.ApplianceVersion getNewDeployableApplianc
    * .google.cloud.vmmigration.v1.ApplianceVersion new_deployable_appliance = 1;
    */
   @java.lang.Override
-  public com.google.cloud.vmmigration.v1.ApplianceVersionOrBuilder getNewDeployableApplianceOrBuilder() {
+  public com.google.cloud.vmmigration.v1.ApplianceVersionOrBuilder
+      getNewDeployableApplianceOrBuilder() {
     return getNewDeployableAppliance();
   }
 
   public static final int IN_PLACE_UPDATE_FIELD_NUMBER = 2;
   private com.google.cloud.vmmigration.v1.ApplianceVersion inPlaceUpdate_;
   /**
+   *
+   *
    * 
    * The latest version for in place update.
    * The current appliance can be updated to this version using the API or m4c
@@ -166,6 +203,7 @@ public com.google.cloud.vmmigration.v1.ApplianceVersionOrBuilder getNewDeployabl
    * 
* * .google.cloud.vmmigration.v1.ApplianceVersion in_place_update = 2; + * * @return Whether the inPlaceUpdate field is set. */ @java.lang.Override @@ -173,6 +211,8 @@ public boolean hasInPlaceUpdate() { return inPlaceUpdate_ != null; } /** + * + * *
    * The latest version for in place update.
    * The current appliance can be updated to this version using the API or m4c
@@ -180,13 +220,18 @@ public boolean hasInPlaceUpdate() {
    * 
* * .google.cloud.vmmigration.v1.ApplianceVersion in_place_update = 2; + * * @return The inPlaceUpdate. */ @java.lang.Override public com.google.cloud.vmmigration.v1.ApplianceVersion getInPlaceUpdate() { - return inPlaceUpdate_ == null ? com.google.cloud.vmmigration.v1.ApplianceVersion.getDefaultInstance() : inPlaceUpdate_; + return inPlaceUpdate_ == null + ? com.google.cloud.vmmigration.v1.ApplianceVersion.getDefaultInstance() + : inPlaceUpdate_; } /** + * + * *
    * The latest version for in place update.
    * The current appliance can be updated to this version using the API or m4c
@@ -201,6 +246,7 @@ public com.google.cloud.vmmigration.v1.ApplianceVersionOrBuilder getInPlaceUpdat
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -212,8 +258,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 (newDeployableAppliance_ != null) {
       output.writeMessage(1, getNewDeployableAppliance());
     }
@@ -230,12 +275,11 @@ public int getSerializedSize() {
 
     size = 0;
     if (newDeployableAppliance_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, getNewDeployableAppliance());
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(1, getNewDeployableAppliance());
     }
     if (inPlaceUpdate_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, getInPlaceUpdate());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getInPlaceUpdate());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -245,22 +289,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.vmmigration.v1.AvailableUpdates)) {
       return super.equals(obj);
     }
-    com.google.cloud.vmmigration.v1.AvailableUpdates other = (com.google.cloud.vmmigration.v1.AvailableUpdates) obj;
+    com.google.cloud.vmmigration.v1.AvailableUpdates other =
+        (com.google.cloud.vmmigration.v1.AvailableUpdates) obj;
 
     if (hasNewDeployableAppliance() != other.hasNewDeployableAppliance()) return false;
     if (hasNewDeployableAppliance()) {
-      if (!getNewDeployableAppliance()
-          .equals(other.getNewDeployableAppliance())) return false;
+      if (!getNewDeployableAppliance().equals(other.getNewDeployableAppliance())) return false;
     }
     if (hasInPlaceUpdate() != other.hasInPlaceUpdate()) return false;
     if (hasInPlaceUpdate()) {
-      if (!getInPlaceUpdate()
-          .equals(other.getInPlaceUpdate())) return false;
+      if (!getInPlaceUpdate().equals(other.getInPlaceUpdate())) return false;
     }
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -286,118 +329,127 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.vmmigration.v1.AvailableUpdates parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.cloud.vmmigration.v1.AvailableUpdates parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.vmmigration.v1.AvailableUpdates 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.vmmigration.v1.AvailableUpdates parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.vmmigration.v1.AvailableUpdates 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.vmmigration.v1.AvailableUpdates parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.vmmigration.v1.AvailableUpdates 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.vmmigration.v1.AvailableUpdates parseFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+
+  public static com.google.cloud.vmmigration.v1.AvailableUpdates parseFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.vmmigration.v1.AvailableUpdates 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.vmmigration.v1.AvailableUpdates parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.cloud.vmmigration.v1.AvailableUpdates parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.vmmigration.v1.AvailableUpdates 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.vmmigration.v1.AvailableUpdates 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.vmmigration.v1.AvailableUpdates 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.vmmigration.v1.AvailableUpdates 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;
   }
   /**
+   *
+   *
    * 
    * Holds informatiom about the available versions for upgrade.
    * 
* * Protobuf type {@code google.cloud.vmmigration.v1.AvailableUpdates} */ - 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.vmmigration.v1.AvailableUpdates) com.google.cloud.vmmigration.v1.AvailableUpdatesOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_AvailableUpdates_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_AvailableUpdates_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_AvailableUpdates_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_AvailableUpdates_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.AvailableUpdates.class, com.google.cloud.vmmigration.v1.AvailableUpdates.Builder.class); + com.google.cloud.vmmigration.v1.AvailableUpdates.class, + com.google.cloud.vmmigration.v1.AvailableUpdates.Builder.class); } // Construct using com.google.cloud.vmmigration.v1.AvailableUpdates.newBuilder() @@ -405,16 +457,15 @@ 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) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -434,9 +485,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_AvailableUpdates_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_AvailableUpdates_descriptor; } @java.lang.Override @@ -455,7 +506,8 @@ public com.google.cloud.vmmigration.v1.AvailableUpdates build() { @java.lang.Override public com.google.cloud.vmmigration.v1.AvailableUpdates buildPartial() { - com.google.cloud.vmmigration.v1.AvailableUpdates result = new com.google.cloud.vmmigration.v1.AvailableUpdates(this); + com.google.cloud.vmmigration.v1.AvailableUpdates result = + new com.google.cloud.vmmigration.v1.AvailableUpdates(this); if (newDeployableApplianceBuilder_ == null) { result.newDeployableAppliance_ = newDeployableAppliance_; } else { @@ -474,38 +526,39 @@ public com.google.cloud.vmmigration.v1.AvailableUpdates buildPartial() { 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.vmmigration.v1.AvailableUpdates) { - return mergeFrom((com.google.cloud.vmmigration.v1.AvailableUpdates)other); + return mergeFrom((com.google.cloud.vmmigration.v1.AvailableUpdates) other); } else { super.mergeFrom(other); return this; @@ -513,7 +566,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.vmmigration.v1.AvailableUpdates other) { - if (other == com.google.cloud.vmmigration.v1.AvailableUpdates.getDefaultInstance()) return this; + if (other == com.google.cloud.vmmigration.v1.AvailableUpdates.getDefaultInstance()) + return this; if (other.hasNewDeployableAppliance()) { mergeNewDeployableAppliance(other.getNewDeployableAppliance()); } @@ -551,8 +605,13 @@ public Builder mergeFrom( private com.google.cloud.vmmigration.v1.ApplianceVersion newDeployableAppliance_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.vmmigration.v1.ApplianceVersion, com.google.cloud.vmmigration.v1.ApplianceVersion.Builder, com.google.cloud.vmmigration.v1.ApplianceVersionOrBuilder> newDeployableApplianceBuilder_; + com.google.cloud.vmmigration.v1.ApplianceVersion, + com.google.cloud.vmmigration.v1.ApplianceVersion.Builder, + com.google.cloud.vmmigration.v1.ApplianceVersionOrBuilder> + newDeployableApplianceBuilder_; /** + * + * *
      * The newest deployable version of the appliance.
      * The current appliance can't be updated into this version, and the owner
@@ -560,12 +619,15 @@ public Builder mergeFrom(
      * 
* * .google.cloud.vmmigration.v1.ApplianceVersion new_deployable_appliance = 1; + * * @return Whether the newDeployableAppliance field is set. */ public boolean hasNewDeployableAppliance() { return newDeployableApplianceBuilder_ != null || newDeployableAppliance_ != null; } /** + * + * *
      * The newest deployable version of the appliance.
      * The current appliance can't be updated into this version, and the owner
@@ -573,16 +635,21 @@ public boolean hasNewDeployableAppliance() {
      * 
* * .google.cloud.vmmigration.v1.ApplianceVersion new_deployable_appliance = 1; + * * @return The newDeployableAppliance. */ public com.google.cloud.vmmigration.v1.ApplianceVersion getNewDeployableAppliance() { if (newDeployableApplianceBuilder_ == null) { - return newDeployableAppliance_ == null ? com.google.cloud.vmmigration.v1.ApplianceVersion.getDefaultInstance() : newDeployableAppliance_; + return newDeployableAppliance_ == null + ? com.google.cloud.vmmigration.v1.ApplianceVersion.getDefaultInstance() + : newDeployableAppliance_; } else { return newDeployableApplianceBuilder_.getMessage(); } } /** + * + * *
      * The newest deployable version of the appliance.
      * The current appliance can't be updated into this version, and the owner
@@ -591,7 +658,8 @@ public com.google.cloud.vmmigration.v1.ApplianceVersion getNewDeployableApplianc
      *
      * .google.cloud.vmmigration.v1.ApplianceVersion new_deployable_appliance = 1;
      */
-    public Builder setNewDeployableAppliance(com.google.cloud.vmmigration.v1.ApplianceVersion value) {
+    public Builder setNewDeployableAppliance(
+        com.google.cloud.vmmigration.v1.ApplianceVersion value) {
       if (newDeployableApplianceBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -605,6 +673,8 @@ public Builder setNewDeployableAppliance(com.google.cloud.vmmigration.v1.Applian
       return this;
     }
     /**
+     *
+     *
      * 
      * The newest deployable version of the appliance.
      * The current appliance can't be updated into this version, and the owner
@@ -625,6 +695,8 @@ public Builder setNewDeployableAppliance(
       return this;
     }
     /**
+     *
+     *
      * 
      * The newest deployable version of the appliance.
      * The current appliance can't be updated into this version, and the owner
@@ -633,11 +705,14 @@ public Builder setNewDeployableAppliance(
      *
      * .google.cloud.vmmigration.v1.ApplianceVersion new_deployable_appliance = 1;
      */
-    public Builder mergeNewDeployableAppliance(com.google.cloud.vmmigration.v1.ApplianceVersion value) {
+    public Builder mergeNewDeployableAppliance(
+        com.google.cloud.vmmigration.v1.ApplianceVersion value) {
       if (newDeployableApplianceBuilder_ == null) {
         if (newDeployableAppliance_ != null) {
           newDeployableAppliance_ =
-            com.google.cloud.vmmigration.v1.ApplianceVersion.newBuilder(newDeployableAppliance_).mergeFrom(value).buildPartial();
+              com.google.cloud.vmmigration.v1.ApplianceVersion.newBuilder(newDeployableAppliance_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           newDeployableAppliance_ = value;
         }
@@ -649,6 +724,8 @@ public Builder mergeNewDeployableAppliance(com.google.cloud.vmmigration.v1.Appli
       return this;
     }
     /**
+     *
+     *
      * 
      * The newest deployable version of the appliance.
      * The current appliance can't be updated into this version, and the owner
@@ -669,6 +746,8 @@ public Builder clearNewDeployableAppliance() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The newest deployable version of the appliance.
      * The current appliance can't be updated into this version, and the owner
@@ -677,12 +756,15 @@ public Builder clearNewDeployableAppliance() {
      *
      * .google.cloud.vmmigration.v1.ApplianceVersion new_deployable_appliance = 1;
      */
-    public com.google.cloud.vmmigration.v1.ApplianceVersion.Builder getNewDeployableApplianceBuilder() {
-      
+    public com.google.cloud.vmmigration.v1.ApplianceVersion.Builder
+        getNewDeployableApplianceBuilder() {
+
       onChanged();
       return getNewDeployableApplianceFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The newest deployable version of the appliance.
      * The current appliance can't be updated into this version, and the owner
@@ -691,15 +773,19 @@ public com.google.cloud.vmmigration.v1.ApplianceVersion.Builder getNewDeployable
      *
      * .google.cloud.vmmigration.v1.ApplianceVersion new_deployable_appliance = 1;
      */
-    public com.google.cloud.vmmigration.v1.ApplianceVersionOrBuilder getNewDeployableApplianceOrBuilder() {
+    public com.google.cloud.vmmigration.v1.ApplianceVersionOrBuilder
+        getNewDeployableApplianceOrBuilder() {
       if (newDeployableApplianceBuilder_ != null) {
         return newDeployableApplianceBuilder_.getMessageOrBuilder();
       } else {
-        return newDeployableAppliance_ == null ?
-            com.google.cloud.vmmigration.v1.ApplianceVersion.getDefaultInstance() : newDeployableAppliance_;
+        return newDeployableAppliance_ == null
+            ? com.google.cloud.vmmigration.v1.ApplianceVersion.getDefaultInstance()
+            : newDeployableAppliance_;
       }
     }
     /**
+     *
+     *
      * 
      * The newest deployable version of the appliance.
      * The current appliance can't be updated into this version, and the owner
@@ -709,14 +795,17 @@ public com.google.cloud.vmmigration.v1.ApplianceVersionOrBuilder getNewDeployabl
      * .google.cloud.vmmigration.v1.ApplianceVersion new_deployable_appliance = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.vmmigration.v1.ApplianceVersion, com.google.cloud.vmmigration.v1.ApplianceVersion.Builder, com.google.cloud.vmmigration.v1.ApplianceVersionOrBuilder> 
+            com.google.cloud.vmmigration.v1.ApplianceVersion,
+            com.google.cloud.vmmigration.v1.ApplianceVersion.Builder,
+            com.google.cloud.vmmigration.v1.ApplianceVersionOrBuilder>
         getNewDeployableApplianceFieldBuilder() {
       if (newDeployableApplianceBuilder_ == null) {
-        newDeployableApplianceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.vmmigration.v1.ApplianceVersion, com.google.cloud.vmmigration.v1.ApplianceVersion.Builder, com.google.cloud.vmmigration.v1.ApplianceVersionOrBuilder>(
-                getNewDeployableAppliance(),
-                getParentForChildren(),
-                isClean());
+        newDeployableApplianceBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.vmmigration.v1.ApplianceVersion,
+                com.google.cloud.vmmigration.v1.ApplianceVersion.Builder,
+                com.google.cloud.vmmigration.v1.ApplianceVersionOrBuilder>(
+                getNewDeployableAppliance(), getParentForChildren(), isClean());
         newDeployableAppliance_ = null;
       }
       return newDeployableApplianceBuilder_;
@@ -724,8 +813,13 @@ public com.google.cloud.vmmigration.v1.ApplianceVersionOrBuilder getNewDeployabl
 
     private com.google.cloud.vmmigration.v1.ApplianceVersion inPlaceUpdate_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.vmmigration.v1.ApplianceVersion, com.google.cloud.vmmigration.v1.ApplianceVersion.Builder, com.google.cloud.vmmigration.v1.ApplianceVersionOrBuilder> inPlaceUpdateBuilder_;
+            com.google.cloud.vmmigration.v1.ApplianceVersion,
+            com.google.cloud.vmmigration.v1.ApplianceVersion.Builder,
+            com.google.cloud.vmmigration.v1.ApplianceVersionOrBuilder>
+        inPlaceUpdateBuilder_;
     /**
+     *
+     *
      * 
      * The latest version for in place update.
      * The current appliance can be updated to this version using the API or m4c
@@ -733,12 +827,15 @@ public com.google.cloud.vmmigration.v1.ApplianceVersionOrBuilder getNewDeployabl
      * 
* * .google.cloud.vmmigration.v1.ApplianceVersion in_place_update = 2; + * * @return Whether the inPlaceUpdate field is set. */ public boolean hasInPlaceUpdate() { return inPlaceUpdateBuilder_ != null || inPlaceUpdate_ != null; } /** + * + * *
      * The latest version for in place update.
      * The current appliance can be updated to this version using the API or m4c
@@ -746,16 +843,21 @@ public boolean hasInPlaceUpdate() {
      * 
* * .google.cloud.vmmigration.v1.ApplianceVersion in_place_update = 2; + * * @return The inPlaceUpdate. */ public com.google.cloud.vmmigration.v1.ApplianceVersion getInPlaceUpdate() { if (inPlaceUpdateBuilder_ == null) { - return inPlaceUpdate_ == null ? com.google.cloud.vmmigration.v1.ApplianceVersion.getDefaultInstance() : inPlaceUpdate_; + return inPlaceUpdate_ == null + ? com.google.cloud.vmmigration.v1.ApplianceVersion.getDefaultInstance() + : inPlaceUpdate_; } else { return inPlaceUpdateBuilder_.getMessage(); } } /** + * + * *
      * The latest version for in place update.
      * The current appliance can be updated to this version using the API or m4c
@@ -778,6 +880,8 @@ public Builder setInPlaceUpdate(com.google.cloud.vmmigration.v1.ApplianceVersion
       return this;
     }
     /**
+     *
+     *
      * 
      * The latest version for in place update.
      * The current appliance can be updated to this version using the API or m4c
@@ -798,6 +902,8 @@ public Builder setInPlaceUpdate(
       return this;
     }
     /**
+     *
+     *
      * 
      * The latest version for in place update.
      * The current appliance can be updated to this version using the API or m4c
@@ -810,7 +916,9 @@ public Builder mergeInPlaceUpdate(com.google.cloud.vmmigration.v1.ApplianceVersi
       if (inPlaceUpdateBuilder_ == null) {
         if (inPlaceUpdate_ != null) {
           inPlaceUpdate_ =
-            com.google.cloud.vmmigration.v1.ApplianceVersion.newBuilder(inPlaceUpdate_).mergeFrom(value).buildPartial();
+              com.google.cloud.vmmigration.v1.ApplianceVersion.newBuilder(inPlaceUpdate_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           inPlaceUpdate_ = value;
         }
@@ -822,6 +930,8 @@ public Builder mergeInPlaceUpdate(com.google.cloud.vmmigration.v1.ApplianceVersi
       return this;
     }
     /**
+     *
+     *
      * 
      * The latest version for in place update.
      * The current appliance can be updated to this version using the API or m4c
@@ -842,6 +952,8 @@ public Builder clearInPlaceUpdate() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The latest version for in place update.
      * The current appliance can be updated to this version using the API or m4c
@@ -851,11 +963,13 @@ public Builder clearInPlaceUpdate() {
      * .google.cloud.vmmigration.v1.ApplianceVersion in_place_update = 2;
      */
     public com.google.cloud.vmmigration.v1.ApplianceVersion.Builder getInPlaceUpdateBuilder() {
-      
+
       onChanged();
       return getInPlaceUpdateFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The latest version for in place update.
      * The current appliance can be updated to this version using the API or m4c
@@ -868,11 +982,14 @@ public com.google.cloud.vmmigration.v1.ApplianceVersionOrBuilder getInPlaceUpdat
       if (inPlaceUpdateBuilder_ != null) {
         return inPlaceUpdateBuilder_.getMessageOrBuilder();
       } else {
-        return inPlaceUpdate_ == null ?
-            com.google.cloud.vmmigration.v1.ApplianceVersion.getDefaultInstance() : inPlaceUpdate_;
+        return inPlaceUpdate_ == null
+            ? com.google.cloud.vmmigration.v1.ApplianceVersion.getDefaultInstance()
+            : inPlaceUpdate_;
       }
     }
     /**
+     *
+     *
      * 
      * The latest version for in place update.
      * The current appliance can be updated to this version using the API or m4c
@@ -882,21 +999,24 @@ public com.google.cloud.vmmigration.v1.ApplianceVersionOrBuilder getInPlaceUpdat
      * .google.cloud.vmmigration.v1.ApplianceVersion in_place_update = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.vmmigration.v1.ApplianceVersion, com.google.cloud.vmmigration.v1.ApplianceVersion.Builder, com.google.cloud.vmmigration.v1.ApplianceVersionOrBuilder> 
+            com.google.cloud.vmmigration.v1.ApplianceVersion,
+            com.google.cloud.vmmigration.v1.ApplianceVersion.Builder,
+            com.google.cloud.vmmigration.v1.ApplianceVersionOrBuilder>
         getInPlaceUpdateFieldBuilder() {
       if (inPlaceUpdateBuilder_ == null) {
-        inPlaceUpdateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.vmmigration.v1.ApplianceVersion, com.google.cloud.vmmigration.v1.ApplianceVersion.Builder, com.google.cloud.vmmigration.v1.ApplianceVersionOrBuilder>(
-                getInPlaceUpdate(),
-                getParentForChildren(),
-                isClean());
+        inPlaceUpdateBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.vmmigration.v1.ApplianceVersion,
+                com.google.cloud.vmmigration.v1.ApplianceVersion.Builder,
+                com.google.cloud.vmmigration.v1.ApplianceVersionOrBuilder>(
+                getInPlaceUpdate(), getParentForChildren(), isClean());
         inPlaceUpdate_ = null;
       }
       return inPlaceUpdateBuilder_;
     }
+
     @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);
     }
 
@@ -906,12 +1026,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.vmmigration.v1.AvailableUpdates)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.vmmigration.v1.AvailableUpdates)
   private static final com.google.cloud.vmmigration.v1.AvailableUpdates DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.vmmigration.v1.AvailableUpdates();
   }
@@ -920,16 +1040,16 @@ public static com.google.cloud.vmmigration.v1.AvailableUpdates getDefaultInstanc
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public AvailableUpdates parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      return new AvailableUpdates(input, extensionRegistry);
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public AvailableUpdates parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          return new AvailableUpdates(input, extensionRegistry);
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -944,6 +1064,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.vmmigration.v1.AvailableUpdates getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/AvailableUpdatesOrBuilder.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/AvailableUpdatesOrBuilder.java
similarity index 78%
rename from owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/AvailableUpdatesOrBuilder.java
rename to proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/AvailableUpdatesOrBuilder.java
index dc8c5ec..1dc284a 100644
--- a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/AvailableUpdatesOrBuilder.java
+++ b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/AvailableUpdatesOrBuilder.java
@@ -1,13 +1,31 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/vmmigration/v1/vmmigration.proto
 
 package com.google.cloud.vmmigration.v1;
 
-public interface AvailableUpdatesOrBuilder extends
+public interface AvailableUpdatesOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.AvailableUpdates)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * The newest deployable version of the appliance.
    * The current appliance can't be updated into this version, and the owner
@@ -15,10 +33,13 @@ public interface AvailableUpdatesOrBuilder extends
    * 
* * .google.cloud.vmmigration.v1.ApplianceVersion new_deployable_appliance = 1; + * * @return Whether the newDeployableAppliance field is set. */ boolean hasNewDeployableAppliance(); /** + * + * *
    * The newest deployable version of the appliance.
    * The current appliance can't be updated into this version, and the owner
@@ -26,10 +47,13 @@ public interface AvailableUpdatesOrBuilder extends
    * 
* * .google.cloud.vmmigration.v1.ApplianceVersion new_deployable_appliance = 1; + * * @return The newDeployableAppliance. */ com.google.cloud.vmmigration.v1.ApplianceVersion getNewDeployableAppliance(); /** + * + * *
    * The newest deployable version of the appliance.
    * The current appliance can't be updated into this version, and the owner
@@ -41,6 +65,8 @@ public interface AvailableUpdatesOrBuilder extends
   com.google.cloud.vmmigration.v1.ApplianceVersionOrBuilder getNewDeployableApplianceOrBuilder();
 
   /**
+   *
+   *
    * 
    * The latest version for in place update.
    * The current appliance can be updated to this version using the API or m4c
@@ -48,10 +74,13 @@ public interface AvailableUpdatesOrBuilder extends
    * 
* * .google.cloud.vmmigration.v1.ApplianceVersion in_place_update = 2; + * * @return Whether the inPlaceUpdate field is set. */ boolean hasInPlaceUpdate(); /** + * + * *
    * The latest version for in place update.
    * The current appliance can be updated to this version using the API or m4c
@@ -59,10 +88,13 @@ public interface AvailableUpdatesOrBuilder extends
    * 
* * .google.cloud.vmmigration.v1.ApplianceVersion in_place_update = 2; + * * @return The inPlaceUpdate. */ com.google.cloud.vmmigration.v1.ApplianceVersion getInPlaceUpdate(); /** + * + * *
    * The latest version for in place update.
    * The current appliance can be updated to this version using the API or m4c
diff --git a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CancelCloneJobRequest.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CancelCloneJobRequest.java
similarity index 64%
rename from owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CancelCloneJobRequest.java
rename to proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CancelCloneJobRequest.java
index 36331c3..7d98767 100644
--- a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CancelCloneJobRequest.java
+++ b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CancelCloneJobRequest.java
@@ -1,40 +1,57 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/vmmigration/v1/vmmigration.proto
 
 package com.google.cloud.vmmigration.v1;
 
 /**
+ *
+ *
  * 
  * Request message for 'CancelCloneJob' request.
  * 
* * Protobuf type {@code google.cloud.vmmigration.v1.CancelCloneJobRequest} */ -public final class CancelCloneJobRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CancelCloneJobRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.vmmigration.v1.CancelCloneJobRequest) CancelCloneJobRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CancelCloneJobRequest.newBuilder() to construct. private CancelCloneJobRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CancelCloneJobRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CancelCloneJobRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private CancelCloneJobRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private CancelCloneJobRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,34 +91,41 @@ private CancelCloneJobRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_CancelCloneJobRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_CancelCloneJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_CancelCloneJobRequest_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_CancelCloneJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.CancelCloneJobRequest.class, com.google.cloud.vmmigration.v1.CancelCloneJobRequest.Builder.class); + com.google.cloud.vmmigration.v1.CancelCloneJobRequest.class, + com.google.cloud.vmmigration.v1.CancelCloneJobRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The clone job 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 @@ -109,29 +134,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 clone job 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 { @@ -140,6 +167,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,8 +179,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_); } @@ -176,15 +203,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.vmmigration.v1.CancelCloneJobRequest)) { return super.equals(obj); } - com.google.cloud.vmmigration.v1.CancelCloneJobRequest other = (com.google.cloud.vmmigration.v1.CancelCloneJobRequest) obj; + com.google.cloud.vmmigration.v1.CancelCloneJobRequest other = + (com.google.cloud.vmmigration.v1.CancelCloneJobRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -204,117 +231,127 @@ public int hashCode() { } public static com.google.cloud.vmmigration.v1.CancelCloneJobRequest 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.vmmigration.v1.CancelCloneJobRequest 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.vmmigration.v1.CancelCloneJobRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.vmmigration.v1.CancelCloneJobRequest 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.vmmigration.v1.CancelCloneJobRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.vmmigration.v1.CancelCloneJobRequest 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.vmmigration.v1.CancelCloneJobRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.vmmigration.v1.CancelCloneJobRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.vmmigration.v1.CancelCloneJobRequest 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.vmmigration.v1.CancelCloneJobRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.vmmigration.v1.CancelCloneJobRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.vmmigration.v1.CancelCloneJobRequest 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.vmmigration.v1.CancelCloneJobRequest 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.vmmigration.v1.CancelCloneJobRequest 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.vmmigration.v1.CancelCloneJobRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.vmmigration.v1.CancelCloneJobRequest 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 message for 'CancelCloneJob' request.
    * 
* * Protobuf type {@code google.cloud.vmmigration.v1.CancelCloneJobRequest} */ - 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.vmmigration.v1.CancelCloneJobRequest) com.google.cloud.vmmigration.v1.CancelCloneJobRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_CancelCloneJobRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_CancelCloneJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_CancelCloneJobRequest_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_CancelCloneJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.CancelCloneJobRequest.class, com.google.cloud.vmmigration.v1.CancelCloneJobRequest.Builder.class); + com.google.cloud.vmmigration.v1.CancelCloneJobRequest.class, + com.google.cloud.vmmigration.v1.CancelCloneJobRequest.Builder.class); } // Construct using com.google.cloud.vmmigration.v1.CancelCloneJobRequest.newBuilder() @@ -322,16 +359,15 @@ 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) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -341,9 +377,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_CancelCloneJobRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_CancelCloneJobRequest_descriptor; } @java.lang.Override @@ -362,7 +398,8 @@ public com.google.cloud.vmmigration.v1.CancelCloneJobRequest build() { @java.lang.Override public com.google.cloud.vmmigration.v1.CancelCloneJobRequest buildPartial() { - com.google.cloud.vmmigration.v1.CancelCloneJobRequest result = new com.google.cloud.vmmigration.v1.CancelCloneJobRequest(this); + com.google.cloud.vmmigration.v1.CancelCloneJobRequest result = + new com.google.cloud.vmmigration.v1.CancelCloneJobRequest(this); result.name_ = name_; onBuilt(); return result; @@ -372,38 +409,39 @@ public com.google.cloud.vmmigration.v1.CancelCloneJobRequest buildPartial() { 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.vmmigration.v1.CancelCloneJobRequest) { - return mergeFrom((com.google.cloud.vmmigration.v1.CancelCloneJobRequest)other); + return mergeFrom((com.google.cloud.vmmigration.v1.CancelCloneJobRequest) other); } else { super.mergeFrom(other); return this; @@ -411,7 +449,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.vmmigration.v1.CancelCloneJobRequest other) { - if (other == com.google.cloud.vmmigration.v1.CancelCloneJobRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.vmmigration.v1.CancelCloneJobRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -435,7 +474,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.vmmigration.v1.CancelCloneJobRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.vmmigration.v1.CancelCloneJobRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -447,18 +487,22 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The clone job 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; @@ -467,20 +511,23 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The clone job 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 { @@ -488,61 +535,74 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The clone job 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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The clone job 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() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The clone job 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) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = 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); } @@ -552,12 +612,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.vmmigration.v1.CancelCloneJobRequest) } // @@protoc_insertion_point(class_scope:google.cloud.vmmigration.v1.CancelCloneJobRequest) private static final com.google.cloud.vmmigration.v1.CancelCloneJobRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.vmmigration.v1.CancelCloneJobRequest(); } @@ -566,16 +626,16 @@ public static com.google.cloud.vmmigration.v1.CancelCloneJobRequest getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CancelCloneJobRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CancelCloneJobRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CancelCloneJobRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CancelCloneJobRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -590,6 +650,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.vmmigration.v1.CancelCloneJobRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CancelCloneJobRequestOrBuilder.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CancelCloneJobRequestOrBuilder.java new file mode 100644 index 0000000..6f75453 --- /dev/null +++ b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CancelCloneJobRequestOrBuilder.java @@ -0,0 +1,54 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/vmmigration/v1/vmmigration.proto + +package com.google.cloud.vmmigration.v1; + +public interface CancelCloneJobRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.CancelCloneJobRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The clone job id
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The clone job 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/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CancelCloneJobResponse.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CancelCloneJobResponse.java similarity index 65% rename from owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CancelCloneJobResponse.java rename to proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CancelCloneJobResponse.java index 2fad11e..a92aeb4 100644 --- a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CancelCloneJobResponse.java +++ b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CancelCloneJobResponse.java @@ -1,39 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; /** + * + * *
  * Response message for 'CancelCloneJob' request.
  * 
* * Protobuf type {@code google.cloud.vmmigration.v1.CancelCloneJobResponse} */ -public final class CancelCloneJobResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CancelCloneJobResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.vmmigration.v1.CancelCloneJobResponse) CancelCloneJobResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CancelCloneJobResponse.newBuilder() to construct. private CancelCloneJobResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CancelCloneJobResponse() { - } + + private CancelCloneJobResponse() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CancelCloneJobResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private CancelCloneJobResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,13 +68,13 @@ private CancelCloneJobResponse( case 0: done = true; break; - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -66,27 +82,30 @@ private CancelCloneJobResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_CancelCloneJobResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_CancelCloneJobResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_CancelCloneJobResponse_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_CancelCloneJobResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.CancelCloneJobResponse.class, com.google.cloud.vmmigration.v1.CancelCloneJobResponse.Builder.class); + com.google.cloud.vmmigration.v1.CancelCloneJobResponse.class, + com.google.cloud.vmmigration.v1.CancelCloneJobResponse.Builder.class); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -98,8 +117,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 { unknownFields.writeTo(output); } @@ -117,12 +135,13 @@ 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.vmmigration.v1.CancelCloneJobResponse)) { return super.equals(obj); } - com.google.cloud.vmmigration.v1.CancelCloneJobResponse other = (com.google.cloud.vmmigration.v1.CancelCloneJobResponse) obj; + com.google.cloud.vmmigration.v1.CancelCloneJobResponse other = + (com.google.cloud.vmmigration.v1.CancelCloneJobResponse) obj; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -141,117 +160,127 @@ public int hashCode() { } public static com.google.cloud.vmmigration.v1.CancelCloneJobResponse 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.vmmigration.v1.CancelCloneJobResponse 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.vmmigration.v1.CancelCloneJobResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.vmmigration.v1.CancelCloneJobResponse 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.vmmigration.v1.CancelCloneJobResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.vmmigration.v1.CancelCloneJobResponse 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.vmmigration.v1.CancelCloneJobResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.vmmigration.v1.CancelCloneJobResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.vmmigration.v1.CancelCloneJobResponse 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.vmmigration.v1.CancelCloneJobResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.vmmigration.v1.CancelCloneJobResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.vmmigration.v1.CancelCloneJobResponse 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.vmmigration.v1.CancelCloneJobResponse 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.vmmigration.v1.CancelCloneJobResponse 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.vmmigration.v1.CancelCloneJobResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.vmmigration.v1.CancelCloneJobResponse 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; } /** + * + * *
    * Response message for 'CancelCloneJob' request.
    * 
* * Protobuf type {@code google.cloud.vmmigration.v1.CancelCloneJobResponse} */ - 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.vmmigration.v1.CancelCloneJobResponse) com.google.cloud.vmmigration.v1.CancelCloneJobResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_CancelCloneJobResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_CancelCloneJobResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_CancelCloneJobResponse_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_CancelCloneJobResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.CancelCloneJobResponse.class, com.google.cloud.vmmigration.v1.CancelCloneJobResponse.Builder.class); + com.google.cloud.vmmigration.v1.CancelCloneJobResponse.class, + com.google.cloud.vmmigration.v1.CancelCloneJobResponse.Builder.class); } // Construct using com.google.cloud.vmmigration.v1.CancelCloneJobResponse.newBuilder() @@ -259,16 +288,15 @@ 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) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -276,9 +304,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_CancelCloneJobResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_CancelCloneJobResponse_descriptor; } @java.lang.Override @@ -297,7 +325,8 @@ public com.google.cloud.vmmigration.v1.CancelCloneJobResponse build() { @java.lang.Override public com.google.cloud.vmmigration.v1.CancelCloneJobResponse buildPartial() { - com.google.cloud.vmmigration.v1.CancelCloneJobResponse result = new com.google.cloud.vmmigration.v1.CancelCloneJobResponse(this); + com.google.cloud.vmmigration.v1.CancelCloneJobResponse result = + new com.google.cloud.vmmigration.v1.CancelCloneJobResponse(this); onBuilt(); return result; } @@ -306,38 +335,39 @@ public com.google.cloud.vmmigration.v1.CancelCloneJobResponse buildPartial() { 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.vmmigration.v1.CancelCloneJobResponse) { - return mergeFrom((com.google.cloud.vmmigration.v1.CancelCloneJobResponse)other); + return mergeFrom((com.google.cloud.vmmigration.v1.CancelCloneJobResponse) other); } else { super.mergeFrom(other); return this; @@ -345,7 +375,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.vmmigration.v1.CancelCloneJobResponse other) { - if (other == com.google.cloud.vmmigration.v1.CancelCloneJobResponse.getDefaultInstance()) return this; + if (other == com.google.cloud.vmmigration.v1.CancelCloneJobResponse.getDefaultInstance()) + return this; this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -365,7 +396,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.vmmigration.v1.CancelCloneJobResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.vmmigration.v1.CancelCloneJobResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -374,9 +406,9 @@ public Builder mergeFrom( } 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); } @@ -386,12 +418,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.vmmigration.v1.CancelCloneJobResponse) } // @@protoc_insertion_point(class_scope:google.cloud.vmmigration.v1.CancelCloneJobResponse) private static final com.google.cloud.vmmigration.v1.CancelCloneJobResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.vmmigration.v1.CancelCloneJobResponse(); } @@ -400,16 +432,16 @@ public static com.google.cloud.vmmigration.v1.CancelCloneJobResponse getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CancelCloneJobResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CancelCloneJobResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CancelCloneJobResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CancelCloneJobResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -424,6 +456,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.vmmigration.v1.CancelCloneJobResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CancelCloneJobResponseOrBuilder.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CancelCloneJobResponseOrBuilder.java new file mode 100644 index 0000000..2d29c71 --- /dev/null +++ b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CancelCloneJobResponseOrBuilder.java @@ -0,0 +1,24 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/vmmigration/v1/vmmigration.proto + +package com.google.cloud.vmmigration.v1; + +public interface CancelCloneJobResponseOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.CancelCloneJobResponse) + com.google.protobuf.MessageOrBuilder {} diff --git a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CancelCutoverJobRequest.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CancelCutoverJobRequest.java similarity index 64% rename from owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CancelCutoverJobRequest.java rename to proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CancelCutoverJobRequest.java index db47a66..151a1cd 100644 --- a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CancelCutoverJobRequest.java +++ b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CancelCutoverJobRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; /** + * + * *
  * Request message for 'CancelCutoverJob' request.
  * 
* * Protobuf type {@code google.cloud.vmmigration.v1.CancelCutoverJobRequest} */ -public final class CancelCutoverJobRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CancelCutoverJobRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.vmmigration.v1.CancelCutoverJobRequest) CancelCutoverJobRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CancelCutoverJobRequest.newBuilder() to construct. private CancelCutoverJobRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CancelCutoverJobRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CancelCutoverJobRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private CancelCutoverJobRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private CancelCutoverJobRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,34 +91,41 @@ private CancelCutoverJobRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_CancelCutoverJobRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_CancelCutoverJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_CancelCutoverJobRequest_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_CancelCutoverJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.CancelCutoverJobRequest.class, com.google.cloud.vmmigration.v1.CancelCutoverJobRequest.Builder.class); + com.google.cloud.vmmigration.v1.CancelCutoverJobRequest.class, + com.google.cloud.vmmigration.v1.CancelCutoverJobRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The cutover job 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 @@ -109,29 +134,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 cutover job 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 { @@ -140,6 +167,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,8 +179,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_); } @@ -176,15 +203,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.vmmigration.v1.CancelCutoverJobRequest)) { return super.equals(obj); } - com.google.cloud.vmmigration.v1.CancelCutoverJobRequest other = (com.google.cloud.vmmigration.v1.CancelCutoverJobRequest) obj; + com.google.cloud.vmmigration.v1.CancelCutoverJobRequest other = + (com.google.cloud.vmmigration.v1.CancelCutoverJobRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -204,117 +231,127 @@ public int hashCode() { } public static com.google.cloud.vmmigration.v1.CancelCutoverJobRequest 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.vmmigration.v1.CancelCutoverJobRequest 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.vmmigration.v1.CancelCutoverJobRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.vmmigration.v1.CancelCutoverJobRequest 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.vmmigration.v1.CancelCutoverJobRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.vmmigration.v1.CancelCutoverJobRequest 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.vmmigration.v1.CancelCutoverJobRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.vmmigration.v1.CancelCutoverJobRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.vmmigration.v1.CancelCutoverJobRequest 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.vmmigration.v1.CancelCutoverJobRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.vmmigration.v1.CancelCutoverJobRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.vmmigration.v1.CancelCutoverJobRequest 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.vmmigration.v1.CancelCutoverJobRequest 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.vmmigration.v1.CancelCutoverJobRequest 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.vmmigration.v1.CancelCutoverJobRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.vmmigration.v1.CancelCutoverJobRequest 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 message for 'CancelCutoverJob' request.
    * 
* * Protobuf type {@code google.cloud.vmmigration.v1.CancelCutoverJobRequest} */ - 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.vmmigration.v1.CancelCutoverJobRequest) com.google.cloud.vmmigration.v1.CancelCutoverJobRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_CancelCutoverJobRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_CancelCutoverJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_CancelCutoverJobRequest_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_CancelCutoverJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.CancelCutoverJobRequest.class, com.google.cloud.vmmigration.v1.CancelCutoverJobRequest.Builder.class); + com.google.cloud.vmmigration.v1.CancelCutoverJobRequest.class, + com.google.cloud.vmmigration.v1.CancelCutoverJobRequest.Builder.class); } // Construct using com.google.cloud.vmmigration.v1.CancelCutoverJobRequest.newBuilder() @@ -322,16 +359,15 @@ 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) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -341,9 +377,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_CancelCutoverJobRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_CancelCutoverJobRequest_descriptor; } @java.lang.Override @@ -362,7 +398,8 @@ public com.google.cloud.vmmigration.v1.CancelCutoverJobRequest build() { @java.lang.Override public com.google.cloud.vmmigration.v1.CancelCutoverJobRequest buildPartial() { - com.google.cloud.vmmigration.v1.CancelCutoverJobRequest result = new com.google.cloud.vmmigration.v1.CancelCutoverJobRequest(this); + com.google.cloud.vmmigration.v1.CancelCutoverJobRequest result = + new com.google.cloud.vmmigration.v1.CancelCutoverJobRequest(this); result.name_ = name_; onBuilt(); return result; @@ -372,38 +409,39 @@ public com.google.cloud.vmmigration.v1.CancelCutoverJobRequest buildPartial() { 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.vmmigration.v1.CancelCutoverJobRequest) { - return mergeFrom((com.google.cloud.vmmigration.v1.CancelCutoverJobRequest)other); + return mergeFrom((com.google.cloud.vmmigration.v1.CancelCutoverJobRequest) other); } else { super.mergeFrom(other); return this; @@ -411,7 +449,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.vmmigration.v1.CancelCutoverJobRequest other) { - if (other == com.google.cloud.vmmigration.v1.CancelCutoverJobRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.vmmigration.v1.CancelCutoverJobRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -435,7 +474,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.vmmigration.v1.CancelCutoverJobRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.vmmigration.v1.CancelCutoverJobRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -447,18 +487,22 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The cutover job 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; @@ -467,20 +511,23 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The cutover job 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 { @@ -488,61 +535,74 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The cutover job 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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The cutover job 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() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The cutover job 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) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = 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); } @@ -552,12 +612,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.vmmigration.v1.CancelCutoverJobRequest) } // @@protoc_insertion_point(class_scope:google.cloud.vmmigration.v1.CancelCutoverJobRequest) private static final com.google.cloud.vmmigration.v1.CancelCutoverJobRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.vmmigration.v1.CancelCutoverJobRequest(); } @@ -566,16 +626,16 @@ public static com.google.cloud.vmmigration.v1.CancelCutoverJobRequest getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CancelCutoverJobRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CancelCutoverJobRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CancelCutoverJobRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CancelCutoverJobRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -590,6 +650,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.vmmigration.v1.CancelCutoverJobRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CancelCutoverJobRequestOrBuilder.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CancelCutoverJobRequestOrBuilder.java new file mode 100644 index 0000000..a58590e --- /dev/null +++ b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CancelCutoverJobRequestOrBuilder.java @@ -0,0 +1,54 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/vmmigration/v1/vmmigration.proto + +package com.google.cloud.vmmigration.v1; + +public interface CancelCutoverJobRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.CancelCutoverJobRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The cutover job id
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The cutover job 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/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CancelCutoverJobResponse.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CancelCutoverJobResponse.java similarity index 65% rename from owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CancelCutoverJobResponse.java rename to proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CancelCutoverJobResponse.java index d822ca3..b0b9915 100644 --- a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CancelCutoverJobResponse.java +++ b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CancelCutoverJobResponse.java @@ -1,39 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; /** + * + * *
  * Response message for 'CancelCutoverJob' request.
  * 
* * Protobuf type {@code google.cloud.vmmigration.v1.CancelCutoverJobResponse} */ -public final class CancelCutoverJobResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CancelCutoverJobResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.vmmigration.v1.CancelCutoverJobResponse) CancelCutoverJobResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CancelCutoverJobResponse.newBuilder() to construct. private CancelCutoverJobResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CancelCutoverJobResponse() { - } + + private CancelCutoverJobResponse() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CancelCutoverJobResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private CancelCutoverJobResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,13 +68,13 @@ private CancelCutoverJobResponse( case 0: done = true; break; - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -66,27 +82,30 @@ private CancelCutoverJobResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_CancelCutoverJobResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_CancelCutoverJobResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_CancelCutoverJobResponse_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_CancelCutoverJobResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.CancelCutoverJobResponse.class, com.google.cloud.vmmigration.v1.CancelCutoverJobResponse.Builder.class); + com.google.cloud.vmmigration.v1.CancelCutoverJobResponse.class, + com.google.cloud.vmmigration.v1.CancelCutoverJobResponse.Builder.class); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -98,8 +117,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 { unknownFields.writeTo(output); } @@ -117,12 +135,13 @@ 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.vmmigration.v1.CancelCutoverJobResponse)) { return super.equals(obj); } - com.google.cloud.vmmigration.v1.CancelCutoverJobResponse other = (com.google.cloud.vmmigration.v1.CancelCutoverJobResponse) obj; + com.google.cloud.vmmigration.v1.CancelCutoverJobResponse other = + (com.google.cloud.vmmigration.v1.CancelCutoverJobResponse) obj; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -141,117 +160,127 @@ public int hashCode() { } public static com.google.cloud.vmmigration.v1.CancelCutoverJobResponse 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.vmmigration.v1.CancelCutoverJobResponse 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.vmmigration.v1.CancelCutoverJobResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.vmmigration.v1.CancelCutoverJobResponse 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.vmmigration.v1.CancelCutoverJobResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.vmmigration.v1.CancelCutoverJobResponse 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.vmmigration.v1.CancelCutoverJobResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.vmmigration.v1.CancelCutoverJobResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.vmmigration.v1.CancelCutoverJobResponse 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.vmmigration.v1.CancelCutoverJobResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.vmmigration.v1.CancelCutoverJobResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.vmmigration.v1.CancelCutoverJobResponse 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.vmmigration.v1.CancelCutoverJobResponse 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.vmmigration.v1.CancelCutoverJobResponse 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.vmmigration.v1.CancelCutoverJobResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.vmmigration.v1.CancelCutoverJobResponse 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; } /** + * + * *
    * Response message for 'CancelCutoverJob' request.
    * 
* * Protobuf type {@code google.cloud.vmmigration.v1.CancelCutoverJobResponse} */ - 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.vmmigration.v1.CancelCutoverJobResponse) com.google.cloud.vmmigration.v1.CancelCutoverJobResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_CancelCutoverJobResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_CancelCutoverJobResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_CancelCutoverJobResponse_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_CancelCutoverJobResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.CancelCutoverJobResponse.class, com.google.cloud.vmmigration.v1.CancelCutoverJobResponse.Builder.class); + com.google.cloud.vmmigration.v1.CancelCutoverJobResponse.class, + com.google.cloud.vmmigration.v1.CancelCutoverJobResponse.Builder.class); } // Construct using com.google.cloud.vmmigration.v1.CancelCutoverJobResponse.newBuilder() @@ -259,16 +288,15 @@ 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) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -276,9 +304,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_CancelCutoverJobResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_CancelCutoverJobResponse_descriptor; } @java.lang.Override @@ -297,7 +325,8 @@ public com.google.cloud.vmmigration.v1.CancelCutoverJobResponse build() { @java.lang.Override public com.google.cloud.vmmigration.v1.CancelCutoverJobResponse buildPartial() { - com.google.cloud.vmmigration.v1.CancelCutoverJobResponse result = new com.google.cloud.vmmigration.v1.CancelCutoverJobResponse(this); + com.google.cloud.vmmigration.v1.CancelCutoverJobResponse result = + new com.google.cloud.vmmigration.v1.CancelCutoverJobResponse(this); onBuilt(); return result; } @@ -306,38 +335,39 @@ public com.google.cloud.vmmigration.v1.CancelCutoverJobResponse buildPartial() { 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.vmmigration.v1.CancelCutoverJobResponse) { - return mergeFrom((com.google.cloud.vmmigration.v1.CancelCutoverJobResponse)other); + return mergeFrom((com.google.cloud.vmmigration.v1.CancelCutoverJobResponse) other); } else { super.mergeFrom(other); return this; @@ -345,7 +375,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.vmmigration.v1.CancelCutoverJobResponse other) { - if (other == com.google.cloud.vmmigration.v1.CancelCutoverJobResponse.getDefaultInstance()) return this; + if (other == com.google.cloud.vmmigration.v1.CancelCutoverJobResponse.getDefaultInstance()) + return this; this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -365,7 +396,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.vmmigration.v1.CancelCutoverJobResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.vmmigration.v1.CancelCutoverJobResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -374,9 +406,9 @@ public Builder mergeFrom( } 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); } @@ -386,12 +418,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.vmmigration.v1.CancelCutoverJobResponse) } // @@protoc_insertion_point(class_scope:google.cloud.vmmigration.v1.CancelCutoverJobResponse) private static final com.google.cloud.vmmigration.v1.CancelCutoverJobResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.vmmigration.v1.CancelCutoverJobResponse(); } @@ -400,16 +432,16 @@ public static com.google.cloud.vmmigration.v1.CancelCutoverJobResponse getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CancelCutoverJobResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CancelCutoverJobResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CancelCutoverJobResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CancelCutoverJobResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -424,6 +456,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.vmmigration.v1.CancelCutoverJobResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CancelCutoverJobResponseOrBuilder.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CancelCutoverJobResponseOrBuilder.java new file mode 100644 index 0000000..926a037 --- /dev/null +++ b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CancelCutoverJobResponseOrBuilder.java @@ -0,0 +1,24 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/vmmigration/v1/vmmigration.proto + +package com.google.cloud.vmmigration.v1; + +public interface CancelCutoverJobResponseOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.CancelCutoverJobResponse) + com.google.protobuf.MessageOrBuilder {} diff --git a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CloneJob.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CloneJob.java similarity index 67% rename from owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CloneJob.java rename to proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CloneJob.java index eaf2b26..56eb23a 100644 --- a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CloneJob.java +++ b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CloneJob.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; /** + * + * *
  * CloneJob describes the process of creating a clone of a
  * [MigratingVM][google.cloud.vmmigration.v1.MigratingVm] to the
@@ -19,15 +36,16 @@
  *
  * Protobuf type {@code google.cloud.vmmigration.v1.CloneJob}
  */
-public final class CloneJob extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class CloneJob extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.vmmigration.v1.CloneJob)
     CloneJobOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use CloneJob.newBuilder() to construct.
   private CloneJob(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private CloneJob() {
     name_ = "";
     state_ = 0;
@@ -35,16 +53,15 @@ private CloneJob() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new CloneJob();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private CloneJob(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -63,91 +80,106 @@ private CloneJob(
           case 0:
             done = true;
             break;
-          case 10: {
-            com.google.protobuf.Timestamp.Builder subBuilder = null;
-            if (createTime_ != null) {
-              subBuilder = createTime_.toBuilder();
-            }
-            createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(createTime_);
-              createTime_ = subBuilder.buildPartial();
+          case 10:
+            {
+              com.google.protobuf.Timestamp.Builder subBuilder = null;
+              if (createTime_ != null) {
+                subBuilder = createTime_.toBuilder();
+              }
+              createTime_ =
+                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(createTime_);
+                createTime_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
+          case 26:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            break;
-          }
-          case 26: {
-            java.lang.String s = input.readStringRequireUtf8();
-
-            name_ = s;
-            break;
-          }
-          case 96: {
-            int rawValue = input.readEnum();
-
-            state_ = rawValue;
-            break;
-          }
-          case 114: {
-            com.google.protobuf.Timestamp.Builder subBuilder = null;
-            if (stateTime_ != null) {
-              subBuilder = stateTime_.toBuilder();
-            }
-            stateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(stateTime_);
-              stateTime_ = subBuilder.buildPartial();
+              name_ = s;
+              break;
             }
+          case 96:
+            {
+              int rawValue = input.readEnum();
 
-            break;
-          }
-          case 138: {
-            com.google.rpc.Status.Builder subBuilder = null;
-            if (error_ != null) {
-              subBuilder = error_.toBuilder();
+              state_ = rawValue;
+              break;
             }
-            error_ = input.readMessage(com.google.rpc.Status.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(error_);
-              error_ = subBuilder.buildPartial();
-            }
-
-            break;
-          }
-          case 162: {
-            com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails.Builder subBuilder = null;
-            if (targetVmDetailsCase_ == 20) {
-              subBuilder = ((com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails) targetVmDetails_).toBuilder();
+          case 114:
+            {
+              com.google.protobuf.Timestamp.Builder subBuilder = null;
+              if (stateTime_ != null) {
+                subBuilder = stateTime_.toBuilder();
+              }
+              stateTime_ =
+                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(stateTime_);
+                stateTime_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-            targetVmDetails_ =
-                input.readMessage(com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom((com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails) targetVmDetails_);
-              targetVmDetails_ = subBuilder.buildPartial();
+          case 138:
+            {
+              com.google.rpc.Status.Builder subBuilder = null;
+              if (error_ != null) {
+                subBuilder = error_.toBuilder();
+              }
+              error_ = input.readMessage(com.google.rpc.Status.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(error_);
+                error_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-            targetVmDetailsCase_ = 20;
-            break;
-          }
-          case 178: {
-            com.google.protobuf.Timestamp.Builder subBuilder = null;
-            if (endTime_ != null) {
-              subBuilder = endTime_.toBuilder();
+          case 162:
+            {
+              com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails.Builder subBuilder = null;
+              if (targetVmDetailsCase_ == 20) {
+                subBuilder =
+                    ((com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails) targetVmDetails_)
+                        .toBuilder();
+              }
+              targetVmDetails_ =
+                  input.readMessage(
+                      com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails.parser(),
+                      extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(
+                    (com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails) targetVmDetails_);
+                targetVmDetails_ = subBuilder.buildPartial();
+              }
+              targetVmDetailsCase_ = 20;
+              break;
             }
-            endTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(endTime_);
-              endTime_ = subBuilder.buildPartial();
+          case 178:
+            {
+              com.google.protobuf.Timestamp.Builder subBuilder = null;
+              if (endTime_ != null) {
+                subBuilder = endTime_.toBuilder();
+              }
+              endTime_ =
+                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(endTime_);
+                endTime_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -155,36 +187,41 @@ private CloneJob(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_CloneJob_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.vmmigration.v1.VmMigrationProto
+        .internal_static_google_cloud_vmmigration_v1_CloneJob_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_CloneJob_fieldAccessorTable
+    return com.google.cloud.vmmigration.v1.VmMigrationProto
+        .internal_static_google_cloud_vmmigration_v1_CloneJob_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.vmmigration.v1.CloneJob.class, com.google.cloud.vmmigration.v1.CloneJob.Builder.class);
+            com.google.cloud.vmmigration.v1.CloneJob.class,
+            com.google.cloud.vmmigration.v1.CloneJob.Builder.class);
   }
 
   /**
+   *
+   *
    * 
    * Possible states of the clone job.
    * 
* * Protobuf enum {@code google.cloud.vmmigration.v1.CloneJob.State} */ - public enum State - implements com.google.protobuf.ProtocolMessageEnum { + public enum State implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * The state is unknown. This is used for API compatibility only and is not
      * used by the system.
@@ -194,6 +231,8 @@ public enum State
      */
     STATE_UNSPECIFIED(0),
     /**
+     *
+     *
      * 
      * The clone job has not yet started.
      * 
@@ -202,6 +241,8 @@ public enum State */ PENDING(1), /** + * + * *
      * The clone job is active and running.
      * 
@@ -210,6 +251,8 @@ public enum State */ ACTIVE(2), /** + * + * *
      * The clone job finished with errors.
      * 
@@ -218,6 +261,8 @@ public enum State */ FAILED(3), /** + * + * *
      * The clone job finished successfully.
      * 
@@ -226,6 +271,8 @@ public enum State */ SUCCEEDED(4), /** + * + * *
      * The clone job was cancelled.
      * 
@@ -234,6 +281,8 @@ public enum State */ CANCELLED(5), /** + * + * *
      * The clone job is being cancelled.
      * 
@@ -242,6 +291,8 @@ public enum State */ CANCELLING(6), /** + * + * *
      * OS adaptation is running as part of the clone job to generate license.
      * 
@@ -253,6 +304,8 @@ public enum State ; /** + * + * *
      * The state is unknown. This is used for API compatibility only and is not
      * used by the system.
@@ -262,6 +315,8 @@ public enum State
      */
     public static final int STATE_UNSPECIFIED_VALUE = 0;
     /**
+     *
+     *
      * 
      * The clone job has not yet started.
      * 
@@ -270,6 +325,8 @@ public enum State */ public static final int PENDING_VALUE = 1; /** + * + * *
      * The clone job is active and running.
      * 
@@ -278,6 +335,8 @@ public enum State */ public static final int ACTIVE_VALUE = 2; /** + * + * *
      * The clone job finished with errors.
      * 
@@ -286,6 +345,8 @@ public enum State */ public static final int FAILED_VALUE = 3; /** + * + * *
      * The clone job finished successfully.
      * 
@@ -294,6 +355,8 @@ public enum State */ public static final int SUCCEEDED_VALUE = 4; /** + * + * *
      * The clone job was cancelled.
      * 
@@ -302,6 +365,8 @@ public enum State */ public static final int CANCELLED_VALUE = 5; /** + * + * *
      * The clone job is being cancelled.
      * 
@@ -310,6 +375,8 @@ public enum State */ public static final int CANCELLING_VALUE = 6; /** + * + * *
      * OS adaptation is running as part of the clone job to generate license.
      * 
@@ -318,7 +385,6 @@ public enum State */ public static final int ADAPTING_OS_VALUE = 7; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -343,54 +409,59 @@ public static State valueOf(int value) { */ public static State forNumber(int value) { switch (value) { - case 0: return STATE_UNSPECIFIED; - case 1: return PENDING; - case 2: return ACTIVE; - case 3: return FAILED; - case 4: return SUCCEEDED; - case 5: return CANCELLED; - case 6: return CANCELLING; - case 7: return ADAPTING_OS; - default: return null; - } - } - - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + case 0: + return STATE_UNSPECIFIED; + case 1: + return PENDING; + case 2: + return ACTIVE; + case 3: + return FAILED; + case 4: + return SUCCEEDED; + case 5: + return CANCELLED; + case 6: + return CANCELLING; + case 7: + return ADAPTING_OS; + default: + return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - State> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public State findValueByNumber(int number) { - return State.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 State findValueByNumber(int number) { + return State.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() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.cloud.vmmigration.v1.CloneJob.getDescriptor().getEnumTypes().get(0); } private static final State[] VALUES = values(); - public static State valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static State 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; @@ -409,12 +480,15 @@ private State(int value) { private int targetVmDetailsCase_ = 0; private java.lang.Object targetVmDetails_; + public enum TargetVmDetailsCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { COMPUTE_ENGINE_TARGET_DETAILS(20), TARGETVMDETAILS_NOT_SET(0); private final int value; + private TargetVmDetailsCase(int value) { this.value = value; } @@ -430,29 +504,36 @@ public static TargetVmDetailsCase valueOf(int value) { public static TargetVmDetailsCase forNumber(int value) { switch (value) { - case 20: return COMPUTE_ENGINE_TARGET_DETAILS; - case 0: return TARGETVMDETAILS_NOT_SET; - default: return null; + case 20: + return COMPUTE_ENGINE_TARGET_DETAILS; + case 0: + return TARGETVMDETAILS_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public TargetVmDetailsCase - getTargetVmDetailsCase() { - return TargetVmDetailsCase.forNumber( - targetVmDetailsCase_); + public TargetVmDetailsCase getTargetVmDetailsCase() { + return TargetVmDetailsCase.forNumber(targetVmDetailsCase_); } public static final int COMPUTE_ENGINE_TARGET_DETAILS_FIELD_NUMBER = 20; /** + * + * *
    * Output only. Details of the target VM in Compute Engine.
    * 
* - * .google.cloud.vmmigration.v1.ComputeEngineTargetDetails compute_engine_target_details = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.vmmigration.v1.ComputeEngineTargetDetails compute_engine_target_details = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the computeEngineTargetDetails field is set. */ @java.lang.Override @@ -460,31 +541,42 @@ public boolean hasComputeEngineTargetDetails() { return targetVmDetailsCase_ == 20; } /** + * + * *
    * Output only. Details of the target VM in Compute Engine.
    * 
* - * .google.cloud.vmmigration.v1.ComputeEngineTargetDetails compute_engine_target_details = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.vmmigration.v1.ComputeEngineTargetDetails compute_engine_target_details = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The computeEngineTargetDetails. */ @java.lang.Override - public com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails getComputeEngineTargetDetails() { + public com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails + getComputeEngineTargetDetails() { if (targetVmDetailsCase_ == 20) { - return (com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails) targetVmDetails_; + return (com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails) targetVmDetails_; } return com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails.getDefaultInstance(); } /** + * + * *
    * Output only. Details of the target VM in Compute Engine.
    * 
* - * .google.cloud.vmmigration.v1.ComputeEngineTargetDetails compute_engine_target_details = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.vmmigration.v1.ComputeEngineTargetDetails compute_engine_target_details = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public com.google.cloud.vmmigration.v1.ComputeEngineTargetDetailsOrBuilder getComputeEngineTargetDetailsOrBuilder() { + public com.google.cloud.vmmigration.v1.ComputeEngineTargetDetailsOrBuilder + getComputeEngineTargetDetailsOrBuilder() { if (targetVmDetailsCase_ == 20) { - return (com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails) targetVmDetails_; + return (com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails) targetVmDetails_; } return com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails.getDefaultInstance(); } @@ -492,12 +584,16 @@ public com.google.cloud.vmmigration.v1.ComputeEngineTargetDetailsOrBuilder getCo public static final int CREATE_TIME_FIELD_NUMBER = 1; private com.google.protobuf.Timestamp createTime_; /** + * + * *
    * Output only. The time the clone job was created (as an API call, not when
    * it was actually created in the target).
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ @java.lang.Override @@ -505,12 +601,16 @@ public boolean hasCreateTime() { return createTime_ != null; } /** + * + * *
    * Output only. The time the clone job was created (as an API call, not when
    * it was actually created in the target).
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ @java.lang.Override @@ -518,12 +618,15 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
    * Output only. The time the clone job was created (as an API call, not when
    * it was actually created in the target).
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -533,11 +636,15 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int END_TIME_FIELD_NUMBER = 22; private com.google.protobuf.Timestamp endTime_; /** + * + * *
    * Output only. The time the clone job was ended.
    * 
* - * .google.protobuf.Timestamp end_time = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the endTime field is set. */ @java.lang.Override @@ -545,11 +652,15 @@ public boolean hasEndTime() { return endTime_ != null; } /** + * + * *
    * Output only. The time the clone job was ended.
    * 
* - * .google.protobuf.Timestamp end_time = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The endTime. */ @java.lang.Override @@ -557,11 +668,14 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** + * + * *
    * Output only. The time the clone job was ended.
    * 
* - * .google.protobuf.Timestamp end_time = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { @@ -571,11 +685,14 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { public static final int NAME_FIELD_NUMBER = 3; private volatile java.lang.Object name_; /** + * + * *
    * Output only. The name of the clone.
    * 
* * string name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ @java.lang.Override @@ -584,29 +701,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. The name of the clone.
    * 
* * string name = 3 [(.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 { @@ -617,38 +734,55 @@ public java.lang.String getName() { public static final int STATE_FIELD_NUMBER = 12; private int state_; /** + * + * *
    * Output only. State of the clone job.
    * 
* - * .google.cloud.vmmigration.v1.CloneJob.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.vmmigration.v1.CloneJob.State state = 12 [(.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 clone job.
    * 
* - * .google.cloud.vmmigration.v1.CloneJob.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.vmmigration.v1.CloneJob.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ - @java.lang.Override public com.google.cloud.vmmigration.v1.CloneJob.State getState() { + @java.lang.Override + public com.google.cloud.vmmigration.v1.CloneJob.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.vmmigration.v1.CloneJob.State result = com.google.cloud.vmmigration.v1.CloneJob.State.valueOf(state_); + com.google.cloud.vmmigration.v1.CloneJob.State result = + com.google.cloud.vmmigration.v1.CloneJob.State.valueOf(state_); return result == null ? com.google.cloud.vmmigration.v1.CloneJob.State.UNRECOGNIZED : result; } public static final int STATE_TIME_FIELD_NUMBER = 14; private com.google.protobuf.Timestamp stateTime_; /** + * + * *
    * Output only. The time the state was last updated.
    * 
* - * .google.protobuf.Timestamp state_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp state_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the stateTime field is set. */ @java.lang.Override @@ -656,11 +790,15 @@ public boolean hasStateTime() { return stateTime_ != null; } /** + * + * *
    * Output only. The time the state was last updated.
    * 
* - * .google.protobuf.Timestamp state_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp state_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The stateTime. */ @java.lang.Override @@ -668,11 +806,14 @@ public com.google.protobuf.Timestamp getStateTime() { return stateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : stateTime_; } /** + * + * *
    * Output only. The time the state was last updated.
    * 
* - * .google.protobuf.Timestamp state_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp state_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getStateTimeOrBuilder() { @@ -682,12 +823,15 @@ public com.google.protobuf.TimestampOrBuilder getStateTimeOrBuilder() { public static final int ERROR_FIELD_NUMBER = 17; private com.google.rpc.Status error_; /** + * + * *
    * Output only. Provides details for the errors that led to the Clone Job's
    * state.
    * 
* * .google.rpc.Status error = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return Whether the error field is set. */ @java.lang.Override @@ -695,12 +839,15 @@ public boolean hasError() { return error_ != null; } /** + * + * *
    * Output only. Provides details for the errors that led to the Clone Job's
    * state.
    * 
* * .google.rpc.Status error = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The error. */ @java.lang.Override @@ -708,6 +855,8 @@ public com.google.rpc.Status getError() { return error_ == null ? com.google.rpc.Status.getDefaultInstance() : error_; } /** + * + * *
    * Output only. Provides details for the errors that led to the Clone Job's
    * state.
@@ -721,6 +870,7 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -732,8 +882,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 (createTime_ != null) {
       output.writeMessage(1, getCreateTime());
     }
@@ -750,7 +899,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output)
       output.writeMessage(17, getError());
     }
     if (targetVmDetailsCase_ == 20) {
-      output.writeMessage(20, (com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails) targetVmDetails_);
+      output.writeMessage(
+          20, (com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails) targetVmDetails_);
     }
     if (endTime_ != null) {
       output.writeMessage(22, getEndTime());
@@ -765,31 +915,27 @@ public int getSerializedSize() {
 
     size = 0;
     if (createTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, getCreateTime());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getCreateTime());
     }
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, name_);
     }
     if (state_ != com.google.cloud.vmmigration.v1.CloneJob.State.STATE_UNSPECIFIED.getNumber()) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeEnumSize(12, state_);
+      size += com.google.protobuf.CodedOutputStream.computeEnumSize(12, state_);
     }
     if (stateTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(14, getStateTime());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(14, getStateTime());
     }
     if (error_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(17, getError());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(17, getError());
     }
     if (targetVmDetailsCase_ == 20) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(20, (com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails) targetVmDetails_);
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              20, (com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails) targetVmDetails_);
     }
     if (endTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(22, getEndTime());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(22, getEndTime());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -799,7 +945,7 @@ 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.vmmigration.v1.CloneJob)) {
       return super.equals(obj);
@@ -808,32 +954,27 @@ public boolean equals(final java.lang.Object obj) {
 
     if (hasCreateTime() != other.hasCreateTime()) return false;
     if (hasCreateTime()) {
-      if (!getCreateTime()
-          .equals(other.getCreateTime())) return false;
+      if (!getCreateTime().equals(other.getCreateTime())) 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 (!getName()
-        .equals(other.getName())) return false;
+    if (!getName().equals(other.getName())) return false;
     if (state_ != other.state_) return false;
     if (hasStateTime() != other.hasStateTime()) return false;
     if (hasStateTime()) {
-      if (!getStateTime()
-          .equals(other.getStateTime())) return false;
+      if (!getStateTime().equals(other.getStateTime())) return false;
     }
     if (hasError() != other.hasError()) return false;
     if (hasError()) {
-      if (!getError()
-          .equals(other.getError())) return false;
+      if (!getError().equals(other.getError())) return false;
     }
     if (!getTargetVmDetailsCase().equals(other.getTargetVmDetailsCase())) return false;
     switch (targetVmDetailsCase_) {
       case 20:
-        if (!getComputeEngineTargetDetails()
-            .equals(other.getComputeEngineTargetDetails())) return false;
+        if (!getComputeEngineTargetDetails().equals(other.getComputeEngineTargetDetails()))
+          return false;
         break;
       case 0:
       default:
@@ -882,97 +1023,104 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.vmmigration.v1.CloneJob parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.cloud.vmmigration.v1.CloneJob parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.vmmigration.v1.CloneJob 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.vmmigration.v1.CloneJob parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.vmmigration.v1.CloneJob 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.vmmigration.v1.CloneJob parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.vmmigration.v1.CloneJob 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.vmmigration.v1.CloneJob parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.vmmigration.v1.CloneJob 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.vmmigration.v1.CloneJob parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.cloud.vmmigration.v1.CloneJob parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.vmmigration.v1.CloneJob 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.vmmigration.v1.CloneJob 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.vmmigration.v1.CloneJob 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.vmmigration.v1.CloneJob 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;
   }
   /**
+   *
+   *
    * 
    * CloneJob describes the process of creating a clone of a
    * [MigratingVM][google.cloud.vmmigration.v1.MigratingVm] to the
@@ -988,21 +1136,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.vmmigration.v1.CloneJob}
    */
-  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.vmmigration.v1.CloneJob)
       com.google.cloud.vmmigration.v1.CloneJobOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_CloneJob_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.vmmigration.v1.VmMigrationProto
+          .internal_static_google_cloud_vmmigration_v1_CloneJob_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_CloneJob_fieldAccessorTable
+      return com.google.cloud.vmmigration.v1.VmMigrationProto
+          .internal_static_google_cloud_vmmigration_v1_CloneJob_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.vmmigration.v1.CloneJob.class, com.google.cloud.vmmigration.v1.CloneJob.Builder.class);
+              com.google.cloud.vmmigration.v1.CloneJob.class,
+              com.google.cloud.vmmigration.v1.CloneJob.Builder.class);
     }
 
     // Construct using com.google.cloud.vmmigration.v1.CloneJob.newBuilder()
@@ -1010,16 +1160,15 @@ 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) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1057,9 +1206,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_CloneJob_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.vmmigration.v1.VmMigrationProto
+          .internal_static_google_cloud_vmmigration_v1_CloneJob_descriptor;
     }
 
     @java.lang.Override
@@ -1078,7 +1227,8 @@ public com.google.cloud.vmmigration.v1.CloneJob build() {
 
     @java.lang.Override
     public com.google.cloud.vmmigration.v1.CloneJob buildPartial() {
-      com.google.cloud.vmmigration.v1.CloneJob result = new com.google.cloud.vmmigration.v1.CloneJob(this);
+      com.google.cloud.vmmigration.v1.CloneJob result =
+          new com.google.cloud.vmmigration.v1.CloneJob(this);
       if (targetVmDetailsCase_ == 20) {
         if (computeEngineTargetDetailsBuilder_ == null) {
           result.targetVmDetails_ = targetVmDetails_;
@@ -1117,38 +1267,39 @@ public com.google.cloud.vmmigration.v1.CloneJob buildPartial() {
     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.vmmigration.v1.CloneJob) {
-        return mergeFrom((com.google.cloud.vmmigration.v1.CloneJob)other);
+        return mergeFrom((com.google.cloud.vmmigration.v1.CloneJob) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1177,13 +1328,15 @@ public Builder mergeFrom(com.google.cloud.vmmigration.v1.CloneJob other) {
         mergeError(other.getError());
       }
       switch (other.getTargetVmDetailsCase()) {
-        case COMPUTE_ENGINE_TARGET_DETAILS: {
-          mergeComputeEngineTargetDetails(other.getComputeEngineTargetDetails());
-          break;
-        }
-        case TARGETVMDETAILS_NOT_SET: {
-          break;
-        }
+        case COMPUTE_ENGINE_TARGET_DETAILS:
+          {
+            mergeComputeEngineTargetDetails(other.getComputeEngineTargetDetails());
+            break;
+          }
+        case TARGETVMDETAILS_NOT_SET:
+          {
+            break;
+          }
       }
       this.mergeUnknownFields(other.unknownFields);
       onChanged();
@@ -1213,12 +1366,12 @@ public Builder mergeFrom(
       }
       return this;
     }
+
     private int targetVmDetailsCase_ = 0;
     private java.lang.Object targetVmDetails_;
-    public TargetVmDetailsCase
-        getTargetVmDetailsCase() {
-      return TargetVmDetailsCase.forNumber(
-          targetVmDetailsCase_);
+
+    public TargetVmDetailsCase getTargetVmDetailsCase() {
+      return TargetVmDetailsCase.forNumber(targetVmDetailsCase_);
     }
 
     public Builder clearTargetVmDetails() {
@@ -1228,15 +1381,22 @@ public Builder clearTargetVmDetails() {
       return this;
     }
 
-
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails, com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails.Builder, com.google.cloud.vmmigration.v1.ComputeEngineTargetDetailsOrBuilder> computeEngineTargetDetailsBuilder_;
+            com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails,
+            com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails.Builder,
+            com.google.cloud.vmmigration.v1.ComputeEngineTargetDetailsOrBuilder>
+        computeEngineTargetDetailsBuilder_;
     /**
+     *
+     *
      * 
      * Output only. Details of the target VM in Compute Engine.
      * 
* - * .google.cloud.vmmigration.v1.ComputeEngineTargetDetails compute_engine_target_details = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.vmmigration.v1.ComputeEngineTargetDetails compute_engine_target_details = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the computeEngineTargetDetails field is set. */ @java.lang.Override @@ -1244,15 +1404,21 @@ public boolean hasComputeEngineTargetDetails() { return targetVmDetailsCase_ == 20; } /** + * + * *
      * Output only. Details of the target VM in Compute Engine.
      * 
* - * .google.cloud.vmmigration.v1.ComputeEngineTargetDetails compute_engine_target_details = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.vmmigration.v1.ComputeEngineTargetDetails compute_engine_target_details = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The computeEngineTargetDetails. */ @java.lang.Override - public com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails getComputeEngineTargetDetails() { + public com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails + getComputeEngineTargetDetails() { if (computeEngineTargetDetailsBuilder_ == null) { if (targetVmDetailsCase_ == 20) { return (com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails) targetVmDetails_; @@ -1266,13 +1432,18 @@ public com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails getComputeEngi } } /** + * + * *
      * Output only. Details of the target VM in Compute Engine.
      * 
* - * .google.cloud.vmmigration.v1.ComputeEngineTargetDetails compute_engine_target_details = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.vmmigration.v1.ComputeEngineTargetDetails compute_engine_target_details = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setComputeEngineTargetDetails(com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails value) { + public Builder setComputeEngineTargetDetails( + com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails value) { if (computeEngineTargetDetailsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1286,11 +1457,15 @@ public Builder setComputeEngineTargetDetails(com.google.cloud.vmmigration.v1.Com return this; } /** + * + * *
      * Output only. Details of the target VM in Compute Engine.
      * 
* - * .google.cloud.vmmigration.v1.ComputeEngineTargetDetails compute_engine_target_details = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.vmmigration.v1.ComputeEngineTargetDetails compute_engine_target_details = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setComputeEngineTargetDetails( com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails.Builder builderForValue) { @@ -1304,18 +1479,28 @@ public Builder setComputeEngineTargetDetails( return this; } /** + * + * *
      * Output only. Details of the target VM in Compute Engine.
      * 
* - * .google.cloud.vmmigration.v1.ComputeEngineTargetDetails compute_engine_target_details = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.vmmigration.v1.ComputeEngineTargetDetails compute_engine_target_details = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder mergeComputeEngineTargetDetails(com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails value) { + public Builder mergeComputeEngineTargetDetails( + com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails value) { if (computeEngineTargetDetailsBuilder_ == null) { - if (targetVmDetailsCase_ == 20 && - targetVmDetails_ != com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails.getDefaultInstance()) { - targetVmDetails_ = com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails.newBuilder((com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails) targetVmDetails_) - .mergeFrom(value).buildPartial(); + if (targetVmDetailsCase_ == 20 + && targetVmDetails_ + != com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails + .getDefaultInstance()) { + targetVmDetails_ = + com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails.newBuilder( + (com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails) targetVmDetails_) + .mergeFrom(value) + .buildPartial(); } else { targetVmDetails_ = value; } @@ -1331,11 +1516,15 @@ public Builder mergeComputeEngineTargetDetails(com.google.cloud.vmmigration.v1.C return this; } /** + * + * *
      * Output only. Details of the target VM in Compute Engine.
      * 
* - * .google.cloud.vmmigration.v1.ComputeEngineTargetDetails compute_engine_target_details = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.vmmigration.v1.ComputeEngineTargetDetails compute_engine_target_details = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearComputeEngineTargetDetails() { if (computeEngineTargetDetailsBuilder_ == null) { @@ -1354,24 +1543,34 @@ public Builder clearComputeEngineTargetDetails() { return this; } /** + * + * *
      * Output only. Details of the target VM in Compute Engine.
      * 
* - * .google.cloud.vmmigration.v1.ComputeEngineTargetDetails compute_engine_target_details = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.vmmigration.v1.ComputeEngineTargetDetails compute_engine_target_details = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails.Builder getComputeEngineTargetDetailsBuilder() { + public com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails.Builder + getComputeEngineTargetDetailsBuilder() { return getComputeEngineTargetDetailsFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Details of the target VM in Compute Engine.
      * 
* - * .google.cloud.vmmigration.v1.ComputeEngineTargetDetails compute_engine_target_details = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.vmmigration.v1.ComputeEngineTargetDetails compute_engine_target_details = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public com.google.cloud.vmmigration.v1.ComputeEngineTargetDetailsOrBuilder getComputeEngineTargetDetailsOrBuilder() { + public com.google.cloud.vmmigration.v1.ComputeEngineTargetDetailsOrBuilder + getComputeEngineTargetDetailsOrBuilder() { if ((targetVmDetailsCase_ == 20) && (computeEngineTargetDetailsBuilder_ != null)) { return computeEngineTargetDetailsBuilder_.getMessageOrBuilder(); } else { @@ -1382,69 +1581,99 @@ public com.google.cloud.vmmigration.v1.ComputeEngineTargetDetailsOrBuilder getCo } } /** + * + * *
      * Output only. Details of the target VM in Compute Engine.
      * 
* - * .google.cloud.vmmigration.v1.ComputeEngineTargetDetails compute_engine_target_details = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.vmmigration.v1.ComputeEngineTargetDetails compute_engine_target_details = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails, com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails.Builder, com.google.cloud.vmmigration.v1.ComputeEngineTargetDetailsOrBuilder> + com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails, + com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails.Builder, + com.google.cloud.vmmigration.v1.ComputeEngineTargetDetailsOrBuilder> getComputeEngineTargetDetailsFieldBuilder() { if (computeEngineTargetDetailsBuilder_ == null) { if (!(targetVmDetailsCase_ == 20)) { - targetVmDetails_ = com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails.getDefaultInstance(); + targetVmDetails_ = + com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails.getDefaultInstance(); } - computeEngineTargetDetailsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails, com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails.Builder, com.google.cloud.vmmigration.v1.ComputeEngineTargetDetailsOrBuilder>( + computeEngineTargetDetailsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails, + com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails.Builder, + com.google.cloud.vmmigration.v1.ComputeEngineTargetDetailsOrBuilder>( (com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails) targetVmDetails_, getParentForChildren(), isClean()); targetVmDetails_ = null; } targetVmDetailsCase_ = 20; - onChanged();; + onChanged(); + ; return computeEngineTargetDetailsBuilder_; } private com.google.protobuf.Timestamp createTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + createTimeBuilder_; /** + * + * *
      * Output only. The time the clone job was created (as an API call, not when
      * it was actually created in the target).
      * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** + * + * *
      * Output only. The time the clone job was created (as an API call, not when
      * it was actually created in the target).
      * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. The time the clone job was created (as an API call, not when
      * it was actually created in the target).
      * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -1460,15 +1689,18 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time the clone job was created (as an API call, not when
      * it was actually created in the target).
      * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setCreateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); onChanged(); @@ -1479,18 +1711,22 @@ public Builder setCreateTime( return this; } /** + * + * *
      * Output only. The time the clone job was created (as an API call, not when
      * it was actually created in the target).
      * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { if (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -1502,12 +1738,16 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time the clone job was created (as an API call, not when
      * it was actually created in the target).
      * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearCreateTime() { if (createTimeBuilder_ == null) { @@ -1521,51 +1761,67 @@ public Builder clearCreateTime() { return this; } /** + * + * *
      * Output only. The time the clone job was created (as an API call, not when
      * it was actually created in the target).
      * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The time the clone job was created (as an API call, not when
      * it was actually created in the target).
      * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } } /** + * + * *
      * Output only. The time the clone job was created (as an API call, not when
      * it was actually created in the target).
      * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 1 [(.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> getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { - createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getCreateTime(), - getParentForChildren(), - isClean()); + createTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), getParentForChildren(), isClean()); createTime_ = null; } return createTimeBuilder_; @@ -1573,24 +1829,35 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { 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. The time the clone job was ended.
      * 
* - * .google.protobuf.Timestamp end_time = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the endTime field is set. */ public boolean hasEndTime() { return endTimeBuilder_ != null || endTime_ != null; } /** + * + * *
      * Output only. The time the clone job was ended.
      * 
* - * .google.protobuf.Timestamp end_time = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { @@ -1601,11 +1868,14 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** + * + * *
      * Output only. The time the clone job was ended.
      * 
* - * .google.protobuf.Timestamp end_time = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { @@ -1621,14 +1891,16 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time the clone job was ended.
      * 
* - * .google.protobuf.Timestamp end_time = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 22 [(.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(); onChanged(); @@ -1639,17 +1911,20 @@ public Builder setEndTime( return this; } /** + * + * *
      * Output only. The time the clone job was ended.
      * 
* - * .google.protobuf.Timestamp end_time = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { if (endTime_ != null) { endTime_ = - com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); } else { endTime_ = value; } @@ -1661,11 +1936,14 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time the clone job was ended.
      * 
* - * .google.protobuf.Timestamp end_time = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearEndTime() { if (endTimeBuilder_ == null) { @@ -1679,48 +1957,59 @@ public Builder clearEndTime() { return this; } /** + * + * *
      * Output only. The time the clone job was ended.
      * 
* - * .google.protobuf.Timestamp end_time = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { - + onChanged(); return getEndTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The time the clone job was ended.
      * 
* - * .google.protobuf.Timestamp end_time = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 22 [(.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. The time the clone job was ended.
      * 
* - * .google.protobuf.Timestamp end_time = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 22 [(.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_; @@ -1728,18 +2017,20 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { private java.lang.Object name_ = ""; /** + * + * *
      * Output only. The name of the clone.
      * 
* * string name = 3 [(.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; @@ -1748,20 +2039,21 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. The name of the clone.
      * 
* * string name = 3 [(.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 { @@ -1769,54 +2061,61 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. The name of the clone.
      * 
* * string name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Output only. The name of the clone.
      * 
* * string name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Output only. The name of the clone.
      * 
* * string name = 3 [(.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) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -1824,51 +2123,73 @@ public Builder setNameBytes( private int state_ = 0; /** + * + * *
      * Output only. State of the clone job.
      * 
* - * .google.cloud.vmmigration.v1.CloneJob.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.vmmigration.v1.CloneJob.State state = 12 [(.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 clone job.
      * 
* - * .google.cloud.vmmigration.v1.CloneJob.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.vmmigration.v1.CloneJob.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ public Builder setStateValue(int value) { - + state_ = value; onChanged(); return this; } /** + * + * *
      * Output only. State of the clone job.
      * 
* - * .google.cloud.vmmigration.v1.CloneJob.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.vmmigration.v1.CloneJob.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ @java.lang.Override public com.google.cloud.vmmigration.v1.CloneJob.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.vmmigration.v1.CloneJob.State result = com.google.cloud.vmmigration.v1.CloneJob.State.valueOf(state_); + com.google.cloud.vmmigration.v1.CloneJob.State result = + com.google.cloud.vmmigration.v1.CloneJob.State.valueOf(state_); return result == null ? com.google.cloud.vmmigration.v1.CloneJob.State.UNRECOGNIZED : result; } /** + * + * *
      * Output only. State of the clone job.
      * 
* - * .google.cloud.vmmigration.v1.CloneJob.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.vmmigration.v1.CloneJob.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The state to set. * @return This builder for chaining. */ @@ -1876,21 +2197,26 @@ public Builder setState(com.google.cloud.vmmigration.v1.CloneJob.State value) { if (value == null) { throw new NullPointerException(); } - + state_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Output only. State of the clone job.
      * 
* - * .google.cloud.vmmigration.v1.CloneJob.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.vmmigration.v1.CloneJob.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearState() { - + state_ = 0; onChanged(); return this; @@ -1898,24 +2224,37 @@ public Builder clearState() { private com.google.protobuf.Timestamp stateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> stateTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + stateTimeBuilder_; /** + * + * *
      * Output only. The time the state was last updated.
      * 
* - * .google.protobuf.Timestamp state_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp state_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the stateTime field is set. */ public boolean hasStateTime() { return stateTimeBuilder_ != null || stateTime_ != null; } /** + * + * *
      * Output only. The time the state was last updated.
      * 
* - * .google.protobuf.Timestamp state_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp state_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The stateTime. */ public com.google.protobuf.Timestamp getStateTime() { @@ -1926,11 +2265,15 @@ public com.google.protobuf.Timestamp getStateTime() { } } /** + * + * *
      * Output only. The time the state was last updated.
      * 
* - * .google.protobuf.Timestamp state_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp state_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setStateTime(com.google.protobuf.Timestamp value) { if (stateTimeBuilder_ == null) { @@ -1946,14 +2289,17 @@ public Builder setStateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time the state was last updated.
      * 
* - * .google.protobuf.Timestamp state_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp state_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setStateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setStateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (stateTimeBuilder_ == null) { stateTime_ = builderForValue.build(); onChanged(); @@ -1964,17 +2310,21 @@ public Builder setStateTime( return this; } /** + * + * *
      * Output only. The time the state was last updated.
      * 
* - * .google.protobuf.Timestamp state_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp state_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeStateTime(com.google.protobuf.Timestamp value) { if (stateTimeBuilder_ == null) { if (stateTime_ != null) { stateTime_ = - com.google.protobuf.Timestamp.newBuilder(stateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(stateTime_).mergeFrom(value).buildPartial(); } else { stateTime_ = value; } @@ -1986,11 +2336,15 @@ public Builder mergeStateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time the state was last updated.
      * 
* - * .google.protobuf.Timestamp state_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp state_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearStateTime() { if (stateTimeBuilder_ == null) { @@ -2004,48 +2358,62 @@ public Builder clearStateTime() { return this; } /** + * + * *
      * Output only. The time the state was last updated.
      * 
* - * .google.protobuf.Timestamp state_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp state_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getStateTimeBuilder() { - + onChanged(); return getStateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The time the state was last updated.
      * 
* - * .google.protobuf.Timestamp state_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp state_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getStateTimeOrBuilder() { if (stateTimeBuilder_ != null) { return stateTimeBuilder_.getMessageOrBuilder(); } else { - return stateTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : stateTime_; + return stateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : stateTime_; } } /** + * + * *
      * Output only. The time the state was last updated.
      * 
* - * .google.protobuf.Timestamp state_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp state_time = 14 [(.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> getStateTimeFieldBuilder() { if (stateTimeBuilder_ == null) { - stateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getStateTime(), - getParentForChildren(), - isClean()); + stateTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getStateTime(), getParentForChildren(), isClean()); stateTime_ = null; } return stateTimeBuilder_; @@ -2053,26 +2421,33 @@ public com.google.protobuf.TimestampOrBuilder getStateTimeOrBuilder() { private com.google.rpc.Status error_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> errorBuilder_; + com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> + errorBuilder_; /** + * + * *
      * Output only. Provides details for the errors that led to the Clone Job's
      * state.
      * 
* * .google.rpc.Status error = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return Whether the error field is set. */ public boolean hasError() { return errorBuilder_ != null || error_ != null; } /** + * + * *
      * Output only. Provides details for the errors that led to the Clone Job's
      * state.
      * 
* * .google.rpc.Status error = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The error. */ public com.google.rpc.Status getError() { @@ -2083,6 +2458,8 @@ public com.google.rpc.Status getError() { } } /** + * + * *
      * Output only. Provides details for the errors that led to the Clone Job's
      * state.
@@ -2104,6 +2481,8 @@ public Builder setError(com.google.rpc.Status value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. Provides details for the errors that led to the Clone Job's
      * state.
@@ -2111,8 +2490,7 @@ public Builder setError(com.google.rpc.Status value) {
      *
      * .google.rpc.Status error = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
      */
-    public Builder setError(
-        com.google.rpc.Status.Builder builderForValue) {
+    public Builder setError(com.google.rpc.Status.Builder builderForValue) {
       if (errorBuilder_ == null) {
         error_ = builderForValue.build();
         onChanged();
@@ -2123,6 +2501,8 @@ public Builder setError(
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. Provides details for the errors that led to the Clone Job's
      * state.
@@ -2133,8 +2513,7 @@ public Builder setError(
     public Builder mergeError(com.google.rpc.Status value) {
       if (errorBuilder_ == null) {
         if (error_ != null) {
-          error_ =
-            com.google.rpc.Status.newBuilder(error_).mergeFrom(value).buildPartial();
+          error_ = com.google.rpc.Status.newBuilder(error_).mergeFrom(value).buildPartial();
         } else {
           error_ = value;
         }
@@ -2146,6 +2525,8 @@ public Builder mergeError(com.google.rpc.Status value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. Provides details for the errors that led to the Clone Job's
      * state.
@@ -2165,6 +2546,8 @@ public Builder clearError() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. Provides details for the errors that led to the Clone Job's
      * state.
@@ -2173,11 +2556,13 @@ public Builder clearError() {
      * .google.rpc.Status error = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
      */
     public com.google.rpc.Status.Builder getErrorBuilder() {
-      
+
       onChanged();
       return getErrorFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Output only. Provides details for the errors that led to the Clone Job's
      * state.
@@ -2189,11 +2574,12 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() {
       if (errorBuilder_ != null) {
         return errorBuilder_.getMessageOrBuilder();
       } else {
-        return error_ == null ?
-            com.google.rpc.Status.getDefaultInstance() : error_;
+        return error_ == null ? com.google.rpc.Status.getDefaultInstance() : error_;
       }
     }
     /**
+     *
+     *
      * 
      * Output only. Provides details for the errors that led to the Clone Job's
      * state.
@@ -2202,21 +2588,21 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() {
      * .google.rpc.Status error = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
      */
     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>
         getErrorFieldBuilder() {
       if (errorBuilder_ == null) {
-        errorBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder>(
-                getError(),
-                getParentForChildren(),
-                isClean());
+        errorBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.rpc.Status,
+                com.google.rpc.Status.Builder,
+                com.google.rpc.StatusOrBuilder>(getError(), getParentForChildren(), isClean());
         error_ = null;
       }
       return errorBuilder_;
     }
+
     @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);
     }
 
@@ -2226,12 +2612,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.vmmigration.v1.CloneJob)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.vmmigration.v1.CloneJob)
   private static final com.google.cloud.vmmigration.v1.CloneJob DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.vmmigration.v1.CloneJob();
   }
@@ -2240,16 +2626,16 @@ public static com.google.cloud.vmmigration.v1.CloneJob getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public CloneJob parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      return new CloneJob(input, extensionRegistry);
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public CloneJob parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          return new CloneJob(input, extensionRegistry);
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -2264,6 +2650,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.vmmigration.v1.CloneJob getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CloneJobName.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CloneJobName.java
similarity index 100%
rename from owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CloneJobName.java
rename to proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CloneJobName.java
diff --git a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CloneJobOrBuilder.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CloneJobOrBuilder.java
similarity index 68%
rename from owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CloneJobOrBuilder.java
rename to proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CloneJobOrBuilder.java
index d941503..1690bf0 100644
--- a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CloneJobOrBuilder.java
+++ b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CloneJobOrBuilder.java
@@ -1,183 +1,270 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/vmmigration/v1/vmmigration.proto
 
 package com.google.cloud.vmmigration.v1;
 
-public interface CloneJobOrBuilder extends
+public interface CloneJobOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.CloneJob)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Output only. Details of the target VM in Compute Engine.
    * 
* - * .google.cloud.vmmigration.v1.ComputeEngineTargetDetails compute_engine_target_details = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.vmmigration.v1.ComputeEngineTargetDetails compute_engine_target_details = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the computeEngineTargetDetails field is set. */ boolean hasComputeEngineTargetDetails(); /** + * + * *
    * Output only. Details of the target VM in Compute Engine.
    * 
* - * .google.cloud.vmmigration.v1.ComputeEngineTargetDetails compute_engine_target_details = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.vmmigration.v1.ComputeEngineTargetDetails compute_engine_target_details = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The computeEngineTargetDetails. */ com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails getComputeEngineTargetDetails(); /** + * + * *
    * Output only. Details of the target VM in Compute Engine.
    * 
* - * .google.cloud.vmmigration.v1.ComputeEngineTargetDetails compute_engine_target_details = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.vmmigration.v1.ComputeEngineTargetDetails compute_engine_target_details = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - com.google.cloud.vmmigration.v1.ComputeEngineTargetDetailsOrBuilder getComputeEngineTargetDetailsOrBuilder(); + com.google.cloud.vmmigration.v1.ComputeEngineTargetDetailsOrBuilder + getComputeEngineTargetDetailsOrBuilder(); /** + * + * *
    * Output only. The time the clone job was created (as an API call, not when
    * it was actually created in the target).
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** + * + * *
    * Output only. The time the clone job was created (as an API call, not when
    * it was actually created in the target).
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** + * + * *
    * Output only. The time the clone job was created (as an API call, not when
    * it was actually created in the target).
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** + * + * *
    * Output only. The time the clone job was ended.
    * 
* - * .google.protobuf.Timestamp end_time = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the endTime field is set. */ boolean hasEndTime(); /** + * + * *
    * Output only. The time the clone job was ended.
    * 
* - * .google.protobuf.Timestamp end_time = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The endTime. */ com.google.protobuf.Timestamp getEndTime(); /** + * + * *
    * Output only. The time the clone job was ended.
    * 
* - * .google.protobuf.Timestamp end_time = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder(); /** + * + * *
    * Output only. The name of the clone.
    * 
* * string name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Output only. The name of the clone.
    * 
* * string name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Output only. State of the clone job.
    * 
* - * .google.cloud.vmmigration.v1.CloneJob.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.vmmigration.v1.CloneJob.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** + * + * *
    * Output only. State of the clone job.
    * 
* - * .google.cloud.vmmigration.v1.CloneJob.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.vmmigration.v1.CloneJob.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ com.google.cloud.vmmigration.v1.CloneJob.State getState(); /** + * + * *
    * Output only. The time the state was last updated.
    * 
* - * .google.protobuf.Timestamp state_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp state_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the stateTime field is set. */ boolean hasStateTime(); /** + * + * *
    * Output only. The time the state was last updated.
    * 
* - * .google.protobuf.Timestamp state_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp state_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The stateTime. */ com.google.protobuf.Timestamp getStateTime(); /** + * + * *
    * Output only. The time the state was last updated.
    * 
* - * .google.protobuf.Timestamp state_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp state_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getStateTimeOrBuilder(); /** + * + * *
    * Output only. Provides details for the errors that led to the Clone Job's
    * state.
    * 
* * .google.rpc.Status error = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return Whether the error field is set. */ boolean hasError(); /** + * + * *
    * Output only. Provides details for the errors that led to the Clone Job's
    * state.
    * 
* * .google.rpc.Status error = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The error. */ com.google.rpc.Status getError(); /** + * + * *
    * Output only. Provides details for the errors that led to the Clone Job's
    * state.
diff --git a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ComputeEngineBootOption.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ComputeEngineBootOption.java
similarity index 69%
rename from owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ComputeEngineBootOption.java
rename to proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ComputeEngineBootOption.java
index d661301..cd5fe0e 100644
--- a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ComputeEngineBootOption.java
+++ b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ComputeEngineBootOption.java
@@ -1,18 +1,36 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/vmmigration/v1/vmmigration.proto
 
 package com.google.cloud.vmmigration.v1;
 
 /**
+ *
+ *
  * 
  * Possible values for vm boot option.
  * 
* * Protobuf enum {@code google.cloud.vmmigration.v1.ComputeEngineBootOption} */ -public enum ComputeEngineBootOption - implements com.google.protobuf.ProtocolMessageEnum { +public enum ComputeEngineBootOption implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
    * The boot option is unknown.
    * 
@@ -21,6 +39,8 @@ public enum ComputeEngineBootOption */ COMPUTE_ENGINE_BOOT_OPTION_UNSPECIFIED(0), /** + * + * *
    * The boot option is EFI.
    * 
@@ -29,6 +49,8 @@ public enum ComputeEngineBootOption */ COMPUTE_ENGINE_BOOT_OPTION_EFI(1), /** + * + * *
    * The boot option is BIOS.
    * 
@@ -40,6 +62,8 @@ public enum ComputeEngineBootOption ; /** + * + * *
    * The boot option is unknown.
    * 
@@ -48,6 +72,8 @@ public enum ComputeEngineBootOption */ public static final int COMPUTE_ENGINE_BOOT_OPTION_UNSPECIFIED_VALUE = 0; /** + * + * *
    * The boot option is EFI.
    * 
@@ -56,6 +82,8 @@ public enum ComputeEngineBootOption */ public static final int COMPUTE_ENGINE_BOOT_OPTION_EFI_VALUE = 1; /** + * + * *
    * The boot option is BIOS.
    * 
@@ -64,7 +92,6 @@ public enum ComputeEngineBootOption */ public static final int COMPUTE_ENGINE_BOOT_OPTION_BIOS_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -89,10 +116,14 @@ public static ComputeEngineBootOption valueOf(int value) { */ public static ComputeEngineBootOption forNumber(int value) { switch (value) { - case 0: return COMPUTE_ENGINE_BOOT_OPTION_UNSPECIFIED; - case 1: return COMPUTE_ENGINE_BOOT_OPTION_EFI; - case 2: return COMPUTE_ENGINE_BOOT_OPTION_BIOS; - default: return null; + case 0: + return COMPUTE_ENGINE_BOOT_OPTION_UNSPECIFIED; + case 1: + return COMPUTE_ENGINE_BOOT_OPTION_EFI; + case 2: + return COMPUTE_ENGINE_BOOT_OPTION_BIOS; + default: + return null; } } @@ -100,28 +131,28 @@ public static ComputeEngineBootOption forNumber(int value) { internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - ComputeEngineBootOption> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public ComputeEngineBootOption findValueByNumber(int number) { - return ComputeEngineBootOption.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 ComputeEngineBootOption findValueByNumber(int number) { + return ComputeEngineBootOption.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() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.cloud.vmmigration.v1.VmMigrationProto.getDescriptor().getEnumTypes().get(4); } @@ -130,8 +161,7 @@ public ComputeEngineBootOption findValueByNumber(int number) { public static ComputeEngineBootOption 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; @@ -147,4 +177,3 @@ private ComputeEngineBootOption(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.vmmigration.v1.ComputeEngineBootOption) } - diff --git a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ComputeEngineDiskType.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ComputeEngineDiskType.java similarity index 71% rename from owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ComputeEngineDiskType.java rename to proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ComputeEngineDiskType.java index 823aa97..b0ab51d 100644 --- a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ComputeEngineDiskType.java +++ b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ComputeEngineDiskType.java @@ -1,18 +1,36 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; /** + * + * *
  * Types of disks supported for Compute Engine VM.
  * 
* * Protobuf enum {@code google.cloud.vmmigration.v1.ComputeEngineDiskType} */ -public enum ComputeEngineDiskType - implements com.google.protobuf.ProtocolMessageEnum { +public enum ComputeEngineDiskType implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
    * An unspecified disk type. Will be used as STANDARD.
    * 
@@ -21,6 +39,8 @@ public enum ComputeEngineDiskType */ COMPUTE_ENGINE_DISK_TYPE_UNSPECIFIED(0), /** + * + * *
    * A Standard disk type.
    * 
@@ -29,6 +49,8 @@ public enum ComputeEngineDiskType */ COMPUTE_ENGINE_DISK_TYPE_STANDARD(1), /** + * + * *
    * SSD hard disk type.
    * 
@@ -37,6 +59,8 @@ public enum ComputeEngineDiskType */ COMPUTE_ENGINE_DISK_TYPE_SSD(2), /** + * + * *
    * An alternative to SSD persistent disks that balance performance and
    * cost.
@@ -49,6 +73,8 @@ public enum ComputeEngineDiskType
   ;
 
   /**
+   *
+   *
    * 
    * An unspecified disk type. Will be used as STANDARD.
    * 
@@ -57,6 +83,8 @@ public enum ComputeEngineDiskType */ public static final int COMPUTE_ENGINE_DISK_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
    * A Standard disk type.
    * 
@@ -65,6 +93,8 @@ public enum ComputeEngineDiskType */ public static final int COMPUTE_ENGINE_DISK_TYPE_STANDARD_VALUE = 1; /** + * + * *
    * SSD hard disk type.
    * 
@@ -73,6 +103,8 @@ public enum ComputeEngineDiskType */ public static final int COMPUTE_ENGINE_DISK_TYPE_SSD_VALUE = 2; /** + * + * *
    * An alternative to SSD persistent disks that balance performance and
    * cost.
@@ -82,7 +114,6 @@ public enum ComputeEngineDiskType
    */
   public static final int COMPUTE_ENGINE_DISK_TYPE_BALANCED_VALUE = 3;
 
-
   public final int getNumber() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalArgumentException(
@@ -107,11 +138,16 @@ public static ComputeEngineDiskType valueOf(int value) {
    */
   public static ComputeEngineDiskType forNumber(int value) {
     switch (value) {
-      case 0: return COMPUTE_ENGINE_DISK_TYPE_UNSPECIFIED;
-      case 1: return COMPUTE_ENGINE_DISK_TYPE_STANDARD;
-      case 2: return COMPUTE_ENGINE_DISK_TYPE_SSD;
-      case 3: return COMPUTE_ENGINE_DISK_TYPE_BALANCED;
-      default: return null;
+      case 0:
+        return COMPUTE_ENGINE_DISK_TYPE_UNSPECIFIED;
+      case 1:
+        return COMPUTE_ENGINE_DISK_TYPE_STANDARD;
+      case 2:
+        return COMPUTE_ENGINE_DISK_TYPE_SSD;
+      case 3:
+        return COMPUTE_ENGINE_DISK_TYPE_BALANCED;
+      default:
+        return null;
     }
   }
 
@@ -119,28 +155,28 @@ public static ComputeEngineDiskType forNumber(int value) {
       internalGetValueMap() {
     return internalValueMap;
   }
-  private static final com.google.protobuf.Internal.EnumLiteMap<
-      ComputeEngineDiskType> internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public ComputeEngineDiskType findValueByNumber(int number) {
-            return ComputeEngineDiskType.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 ComputeEngineDiskType findValueByNumber(int number) {
+              return ComputeEngineDiskType.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() {
+
+  public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
     return com.google.cloud.vmmigration.v1.VmMigrationProto.getDescriptor().getEnumTypes().get(2);
   }
 
@@ -149,8 +185,7 @@ public ComputeEngineDiskType findValueByNumber(int number) {
   public static ComputeEngineDiskType 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;
@@ -166,4 +201,3 @@ private ComputeEngineDiskType(int value) {
 
   // @@protoc_insertion_point(enum_scope:google.cloud.vmmigration.v1.ComputeEngineDiskType)
 }
-
diff --git a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ComputeEngineLicenseType.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ComputeEngineLicenseType.java
similarity index 70%
rename from owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ComputeEngineLicenseType.java
rename to proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ComputeEngineLicenseType.java
index 57074ce..e32dc8c 100644
--- a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ComputeEngineLicenseType.java
+++ b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ComputeEngineLicenseType.java
@@ -1,18 +1,36 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/vmmigration/v1/vmmigration.proto
 
 package com.google.cloud.vmmigration.v1;
 
 /**
+ *
+ *
  * 
  * Types of licenses used in OS adaptation.
  * 
* * Protobuf enum {@code google.cloud.vmmigration.v1.ComputeEngineLicenseType} */ -public enum ComputeEngineLicenseType - implements com.google.protobuf.ProtocolMessageEnum { +public enum ComputeEngineLicenseType implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
    * The license type is the default for the OS.
    * 
@@ -21,6 +39,8 @@ public enum ComputeEngineLicenseType */ COMPUTE_ENGINE_LICENSE_TYPE_DEFAULT(0), /** + * + * *
    * The license type is Pay As You Go license type.
    * 
@@ -29,6 +49,8 @@ public enum ComputeEngineLicenseType */ COMPUTE_ENGINE_LICENSE_TYPE_PAYG(1), /** + * + * *
    * The license type is Bring Your Own License type.
    * 
@@ -40,6 +62,8 @@ public enum ComputeEngineLicenseType ; /** + * + * *
    * The license type is the default for the OS.
    * 
@@ -48,6 +72,8 @@ public enum ComputeEngineLicenseType */ public static final int COMPUTE_ENGINE_LICENSE_TYPE_DEFAULT_VALUE = 0; /** + * + * *
    * The license type is Pay As You Go license type.
    * 
@@ -56,6 +82,8 @@ public enum ComputeEngineLicenseType */ public static final int COMPUTE_ENGINE_LICENSE_TYPE_PAYG_VALUE = 1; /** + * + * *
    * The license type is Bring Your Own License type.
    * 
@@ -64,7 +92,6 @@ public enum ComputeEngineLicenseType */ public static final int COMPUTE_ENGINE_LICENSE_TYPE_BYOL_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -89,10 +116,14 @@ public static ComputeEngineLicenseType valueOf(int value) { */ public static ComputeEngineLicenseType forNumber(int value) { switch (value) { - case 0: return COMPUTE_ENGINE_LICENSE_TYPE_DEFAULT; - case 1: return COMPUTE_ENGINE_LICENSE_TYPE_PAYG; - case 2: return COMPUTE_ENGINE_LICENSE_TYPE_BYOL; - default: return null; + case 0: + return COMPUTE_ENGINE_LICENSE_TYPE_DEFAULT; + case 1: + return COMPUTE_ENGINE_LICENSE_TYPE_PAYG; + case 2: + return COMPUTE_ENGINE_LICENSE_TYPE_BYOL; + default: + return null; } } @@ -100,28 +131,28 @@ public static ComputeEngineLicenseType forNumber(int value) { internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - ComputeEngineLicenseType> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public ComputeEngineLicenseType findValueByNumber(int number) { - return ComputeEngineLicenseType.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 ComputeEngineLicenseType findValueByNumber(int number) { + return ComputeEngineLicenseType.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() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.cloud.vmmigration.v1.VmMigrationProto.getDescriptor().getEnumTypes().get(3); } @@ -130,8 +161,7 @@ public ComputeEngineLicenseType findValueByNumber(int number) { public static ComputeEngineLicenseType 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; @@ -147,4 +177,3 @@ private ComputeEngineLicenseType(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.vmmigration.v1.ComputeEngineLicenseType) } - diff --git a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ComputeEngineTargetDefaults.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ComputeEngineTargetDefaults.java similarity index 69% rename from owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ComputeEngineTargetDefaults.java rename to proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ComputeEngineTargetDefaults.java index 92e365a..cea0c10 100644 --- a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ComputeEngineTargetDefaults.java +++ b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ComputeEngineTargetDefaults.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; /** + * + * *
  * ComputeEngineTargetDefaults is a collection of details for creating a VM in a
  * target Compute Engine project.
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.cloud.vmmigration.v1.ComputeEngineTargetDefaults}
  */
-public final class ComputeEngineTargetDefaults extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class ComputeEngineTargetDefaults extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.vmmigration.v1.ComputeEngineTargetDefaults)
     ComputeEngineTargetDefaultsOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use ComputeEngineTargetDefaults.newBuilder() to construct.
   private ComputeEngineTargetDefaults(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private ComputeEngineTargetDefaults() {
     vmName_ = "";
     targetProject_ = "";
@@ -38,16 +56,15 @@ private ComputeEngineTargetDefaults() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ComputeEngineTargetDefaults();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private ComputeEngineTargetDefaults(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -67,157 +84,182 @@ private ComputeEngineTargetDefaults(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            vmName_ = s;
-            break;
-          }
-          case 18: {
-            java.lang.String s = input.readStringRequireUtf8();
+              vmName_ = s;
+              break;
+            }
+          case 18:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            targetProject_ = s;
-            break;
-          }
-          case 26: {
-            java.lang.String s = input.readStringRequireUtf8();
+              targetProject_ = s;
+              break;
+            }
+          case 26:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            zone_ = s;
-            break;
-          }
-          case 34: {
-            java.lang.String s = input.readStringRequireUtf8();
+              zone_ = s;
+              break;
+            }
+          case 34:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            machineTypeSeries_ = s;
-            break;
-          }
-          case 42: {
-            java.lang.String s = input.readStringRequireUtf8();
+              machineTypeSeries_ = s;
+              break;
+            }
+          case 42:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            machineType_ = s;
-            break;
-          }
-          case 50: {
-            java.lang.String s = input.readStringRequireUtf8();
-            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-              networkTags_ = new com.google.protobuf.LazyStringArrayList();
-              mutable_bitField0_ |= 0x00000001;
+              machineType_ = s;
+              break;
             }
-            networkTags_.add(s);
-            break;
-          }
-          case 58: {
-            if (!((mutable_bitField0_ & 0x00000002) != 0)) {
-              networkInterfaces_ = new java.util.ArrayList();
-              mutable_bitField0_ |= 0x00000002;
+          case 50:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
+              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                networkTags_ = new com.google.protobuf.LazyStringArrayList();
+                mutable_bitField0_ |= 0x00000001;
+              }
+              networkTags_.add(s);
+              break;
             }
-            networkInterfaces_.add(
-                input.readMessage(com.google.cloud.vmmigration.v1.NetworkInterface.parser(), extensionRegistry));
-            break;
-          }
-          case 66: {
-            java.lang.String s = input.readStringRequireUtf8();
-
-            serviceAccount_ = s;
-            break;
-          }
-          case 72: {
-            int rawValue = input.readEnum();
+          case 58:
+            {
+              if (!((mutable_bitField0_ & 0x00000002) != 0)) {
+                networkInterfaces_ =
+                    new java.util.ArrayList();
+                mutable_bitField0_ |= 0x00000002;
+              }
+              networkInterfaces_.add(
+                  input.readMessage(
+                      com.google.cloud.vmmigration.v1.NetworkInterface.parser(),
+                      extensionRegistry));
+              break;
+            }
+          case 66:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            diskType_ = rawValue;
-            break;
-          }
-          case 82: {
-            if (!((mutable_bitField0_ & 0x00000004) != 0)) {
-              labels_ = com.google.protobuf.MapField.newMapField(
-                  LabelsDefaultEntryHolder.defaultEntry);
-              mutable_bitField0_ |= 0x00000004;
+              serviceAccount_ = s;
+              break;
             }
-            com.google.protobuf.MapEntry
-            labels__ = input.readMessage(
-                LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-            labels_.getMutableMap().put(
-                labels__.getKey(), labels__.getValue());
-            break;
-          }
-          case 88: {
-            int rawValue = input.readEnum();
+          case 72:
+            {
+              int rawValue = input.readEnum();
 
-            licenseType_ = rawValue;
-            break;
-          }
-          case 98: {
-            com.google.cloud.vmmigration.v1.AppliedLicense.Builder subBuilder = null;
-            if (appliedLicense_ != null) {
-              subBuilder = appliedLicense_.toBuilder();
+              diskType_ = rawValue;
+              break;
             }
-            appliedLicense_ = input.readMessage(com.google.cloud.vmmigration.v1.AppliedLicense.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(appliedLicense_);
-              appliedLicense_ = subBuilder.buildPartial();
+          case 82:
+            {
+              if (!((mutable_bitField0_ & 0x00000004) != 0)) {
+                labels_ =
+                    com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry);
+                mutable_bitField0_ |= 0x00000004;
+              }
+              com.google.protobuf.MapEntry labels__ =
+                  input.readMessage(
+                      LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+              labels_.getMutableMap().put(labels__.getKey(), labels__.getValue());
+              break;
             }
+          case 88:
+            {
+              int rawValue = input.readEnum();
 
-            break;
-          }
-          case 106: {
-            com.google.cloud.vmmigration.v1.ComputeScheduling.Builder subBuilder = null;
-            if (computeScheduling_ != null) {
-              subBuilder = computeScheduling_.toBuilder();
+              licenseType_ = rawValue;
+              break;
             }
-            computeScheduling_ = input.readMessage(com.google.cloud.vmmigration.v1.ComputeScheduling.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(computeScheduling_);
-              computeScheduling_ = subBuilder.buildPartial();
+          case 98:
+            {
+              com.google.cloud.vmmigration.v1.AppliedLicense.Builder subBuilder = null;
+              if (appliedLicense_ != null) {
+                subBuilder = appliedLicense_.toBuilder();
+              }
+              appliedLicense_ =
+                  input.readMessage(
+                      com.google.cloud.vmmigration.v1.AppliedLicense.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(appliedLicense_);
+                appliedLicense_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
+          case 106:
+            {
+              com.google.cloud.vmmigration.v1.ComputeScheduling.Builder subBuilder = null;
+              if (computeScheduling_ != null) {
+                subBuilder = computeScheduling_.toBuilder();
+              }
+              computeScheduling_ =
+                  input.readMessage(
+                      com.google.cloud.vmmigration.v1.ComputeScheduling.parser(),
+                      extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(computeScheduling_);
+                computeScheduling_ = subBuilder.buildPartial();
+              }
+
+              break;
+            }
+          case 112:
+            {
+              secureBoot_ = input.readBool();
+              break;
+            }
+          case 120:
+            {
+              int rawValue = input.readEnum();
 
-            break;
-          }
-          case 112: {
-
-            secureBoot_ = input.readBool();
-            break;
-          }
-          case 120: {
-            int rawValue = input.readEnum();
-
-            bootOption_ = rawValue;
-            break;
-          }
-          case 130: {
-            if (!((mutable_bitField0_ & 0x00000008) != 0)) {
-              metadata_ = com.google.protobuf.MapField.newMapField(
-                  MetadataDefaultEntryHolder.defaultEntry);
-              mutable_bitField0_ |= 0x00000008;
+              bootOption_ = rawValue;
+              break;
             }
-            com.google.protobuf.MapEntry
-            metadata__ = input.readMessage(
-                MetadataDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-            metadata_.getMutableMap().put(
-                metadata__.getKey(), metadata__.getValue());
-            break;
-          }
-          case 138: {
-            java.lang.String s = input.readStringRequireUtf8();
-            if (!((mutable_bitField0_ & 0x00000010) != 0)) {
-              additionalLicenses_ = new com.google.protobuf.LazyStringArrayList();
-              mutable_bitField0_ |= 0x00000010;
+          case 130:
+            {
+              if (!((mutable_bitField0_ & 0x00000008) != 0)) {
+                metadata_ =
+                    com.google.protobuf.MapField.newMapField(
+                        MetadataDefaultEntryHolder.defaultEntry);
+                mutable_bitField0_ |= 0x00000008;
+              }
+              com.google.protobuf.MapEntry metadata__ =
+                  input.readMessage(
+                      MetadataDefaultEntryHolder.defaultEntry.getParserForType(),
+                      extensionRegistry);
+              metadata_.getMutableMap().put(metadata__.getKey(), metadata__.getValue());
+              break;
             }
-            additionalLicenses_.add(s);
-            break;
-          }
-          case 146: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 138:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
+              if (!((mutable_bitField0_ & 0x00000010) != 0)) {
+                additionalLicenses_ = new com.google.protobuf.LazyStringArrayList();
+                mutable_bitField0_ |= 0x00000010;
+              }
+              additionalLicenses_.add(s);
+              break;
+            }
+          case 146:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            hostname_ = s;
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              hostname_ = s;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -225,8 +267,7 @@ private ComputeEngineTargetDefaults(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       if (((mutable_bitField0_ & 0x00000001) != 0)) {
         networkTags_ = networkTags_.getUnmodifiableView();
@@ -241,41 +282,46 @@ private ComputeEngineTargetDefaults(
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ComputeEngineTargetDefaults_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.vmmigration.v1.VmMigrationProto
+        .internal_static_google_cloud_vmmigration_v1_ComputeEngineTargetDefaults_descriptor;
   }
 
   @SuppressWarnings({"rawtypes"})
   @java.lang.Override
-  protected com.google.protobuf.MapField internalGetMapField(
-      int number) {
+  protected com.google.protobuf.MapField internalGetMapField(int number) {
     switch (number) {
       case 10:
         return internalGetLabels();
       case 16:
         return internalGetMetadata();
       default:
-        throw new RuntimeException(
-            "Invalid map field number: " + number);
+        throw new RuntimeException("Invalid map field number: " + number);
     }
   }
+
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ComputeEngineTargetDefaults_fieldAccessorTable
+    return com.google.cloud.vmmigration.v1.VmMigrationProto
+        .internal_static_google_cloud_vmmigration_v1_ComputeEngineTargetDefaults_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaults.class, com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaults.Builder.class);
+            com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaults.class,
+            com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaults.Builder.class);
   }
 
   public static final int VM_NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object vmName_;
   /**
+   *
+   *
    * 
    * The name of the VM to create.
    * 
* * string vm_name = 1; + * * @return The vmName. */ @java.lang.Override @@ -284,29 +330,29 @@ public java.lang.String getVmName() { 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(); vmName_ = s; return s; } } /** + * + * *
    * The name of the VM to create.
    * 
* * string vm_name = 1; + * * @return The bytes for vmName. */ @java.lang.Override - public com.google.protobuf.ByteString - getVmNameBytes() { + public com.google.protobuf.ByteString getVmNameBytes() { java.lang.Object ref = vmName_; 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); vmName_ = b; return b; } else { @@ -317,12 +363,15 @@ public java.lang.String getVmName() { public static final int TARGET_PROJECT_FIELD_NUMBER = 2; private volatile java.lang.Object targetProject_; /** + * + * *
    * The full path of the resource of type TargetProject which represents the
    * Compute Engine project in which to create this VM.
    * 
* * string target_project = 2 [(.google.api.resource_reference) = { ... } + * * @return The targetProject. */ @java.lang.Override @@ -331,30 +380,30 @@ public java.lang.String getTargetProject() { 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(); targetProject_ = s; return s; } } /** + * + * *
    * The full path of the resource of type TargetProject which represents the
    * Compute Engine project in which to create this VM.
    * 
* * string target_project = 2 [(.google.api.resource_reference) = { ... } + * * @return The bytes for targetProject. */ @java.lang.Override - public com.google.protobuf.ByteString - getTargetProjectBytes() { + public com.google.protobuf.ByteString getTargetProjectBytes() { java.lang.Object ref = targetProject_; 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); targetProject_ = b; return b; } else { @@ -365,11 +414,14 @@ public java.lang.String getTargetProject() { public static final int ZONE_FIELD_NUMBER = 3; private volatile java.lang.Object zone_; /** + * + * *
    * The zone in which to create the VM.
    * 
* * string zone = 3; + * * @return The zone. */ @java.lang.Override @@ -378,29 +430,29 @@ public java.lang.String getZone() { 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(); zone_ = s; return s; } } /** + * + * *
    * The zone in which to create the VM.
    * 
* * string zone = 3; + * * @return The bytes for zone. */ @java.lang.Override - public com.google.protobuf.ByteString - getZoneBytes() { + public com.google.protobuf.ByteString getZoneBytes() { java.lang.Object ref = zone_; 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); zone_ = b; return b; } else { @@ -411,11 +463,14 @@ public java.lang.String getZone() { public static final int MACHINE_TYPE_SERIES_FIELD_NUMBER = 4; private volatile java.lang.Object machineTypeSeries_; /** + * + * *
    * The machine type series to create the VM with.
    * 
* * string machine_type_series = 4; + * * @return The machineTypeSeries. */ @java.lang.Override @@ -424,29 +479,29 @@ public java.lang.String getMachineTypeSeries() { 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(); machineTypeSeries_ = s; return s; } } /** + * + * *
    * The machine type series to create the VM with.
    * 
* * string machine_type_series = 4; + * * @return The bytes for machineTypeSeries. */ @java.lang.Override - public com.google.protobuf.ByteString - getMachineTypeSeriesBytes() { + public com.google.protobuf.ByteString getMachineTypeSeriesBytes() { java.lang.Object ref = machineTypeSeries_; 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); machineTypeSeries_ = b; return b; } else { @@ -457,11 +512,14 @@ public java.lang.String getMachineTypeSeries() { public static final int MACHINE_TYPE_FIELD_NUMBER = 5; private volatile java.lang.Object machineType_; /** + * + * *
    * The machine type to create the VM with.
    * 
* * string machine_type = 5; + * * @return The machineType. */ @java.lang.Override @@ -470,29 +528,29 @@ public java.lang.String getMachineType() { 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(); machineType_ = s; return s; } } /** + * + * *
    * The machine type to create the VM with.
    * 
* * string machine_type = 5; + * * @return The bytes for machineType. */ @java.lang.Override - public com.google.protobuf.ByteString - getMachineTypeBytes() { + public com.google.protobuf.ByteString getMachineTypeBytes() { java.lang.Object ref = machineType_; 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); machineType_ = b; return b; } else { @@ -503,34 +561,42 @@ public java.lang.String getMachineType() { public static final int NETWORK_TAGS_FIELD_NUMBER = 6; private com.google.protobuf.LazyStringList networkTags_; /** + * + * *
    * A map of network tags to associate with the VM.
    * 
* * repeated string network_tags = 6; + * * @return A list containing the networkTags. */ - public com.google.protobuf.ProtocolStringList - getNetworkTagsList() { + public com.google.protobuf.ProtocolStringList getNetworkTagsList() { return networkTags_; } /** + * + * *
    * A map of network tags to associate with the VM.
    * 
* * repeated string network_tags = 6; + * * @return The count of networkTags. */ public int getNetworkTagsCount() { return networkTags_.size(); } /** + * + * *
    * A map of network tags to associate with the VM.
    * 
* * repeated string network_tags = 6; + * * @param index The index of the element to return. * @return The networkTags at the given index. */ @@ -538,22 +604,26 @@ public java.lang.String getNetworkTags(int index) { return networkTags_.get(index); } /** + * + * *
    * A map of network tags to associate with the VM.
    * 
* * repeated string network_tags = 6; + * * @param index The index of the value to return. * @return The bytes of the networkTags at the given index. */ - public com.google.protobuf.ByteString - getNetworkTagsBytes(int index) { + public com.google.protobuf.ByteString getNetworkTagsBytes(int index) { return networkTags_.getByteString(index); } public static final int NETWORK_INTERFACES_FIELD_NUMBER = 7; private java.util.List networkInterfaces_; /** + * + * *
    * List of NICs connected to this VM.
    * 
@@ -561,10 +631,13 @@ public java.lang.String getNetworkTags(int index) { * repeated .google.cloud.vmmigration.v1.NetworkInterface network_interfaces = 7; */ @java.lang.Override - public java.util.List getNetworkInterfacesList() { + public java.util.List + getNetworkInterfacesList() { return networkInterfaces_; } /** + * + * *
    * List of NICs connected to this VM.
    * 
@@ -572,11 +645,13 @@ public java.util.List getNetwo * repeated .google.cloud.vmmigration.v1.NetworkInterface network_interfaces = 7; */ @java.lang.Override - public java.util.List + public java.util.List getNetworkInterfacesOrBuilderList() { return networkInterfaces_; } /** + * + * *
    * List of NICs connected to this VM.
    * 
@@ -588,6 +663,8 @@ public int getNetworkInterfacesCount() { return networkInterfaces_.size(); } /** + * + * *
    * List of NICs connected to this VM.
    * 
@@ -599,6 +676,8 @@ public com.google.cloud.vmmigration.v1.NetworkInterface getNetworkInterfaces(int return networkInterfaces_.get(index); } /** + * + * *
    * List of NICs connected to this VM.
    * 
@@ -614,11 +693,14 @@ public com.google.cloud.vmmigration.v1.NetworkInterfaceOrBuilder getNetworkInter public static final int SERVICE_ACCOUNT_FIELD_NUMBER = 8; private volatile java.lang.Object serviceAccount_; /** + * + * *
    * The service account to associate the VM with.
    * 
* * string service_account = 8; + * * @return The serviceAccount. */ @java.lang.Override @@ -627,29 +709,29 @@ public java.lang.String getServiceAccount() { 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(); serviceAccount_ = s; return s; } } /** + * + * *
    * The service account to associate the VM with.
    * 
* * string service_account = 8; + * * @return The bytes for serviceAccount. */ @java.lang.Override - public com.google.protobuf.ByteString - getServiceAccountBytes() { + public com.google.protobuf.ByteString getServiceAccountBytes() { java.lang.Object ref = serviceAccount_; 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); serviceAccount_ = b; return b; } else { @@ -660,49 +742,59 @@ public java.lang.String getServiceAccount() { public static final int DISK_TYPE_FIELD_NUMBER = 9; private int diskType_; /** + * + * *
    * The disk type to use in the VM.
    * 
* * .google.cloud.vmmigration.v1.ComputeEngineDiskType disk_type = 9; + * * @return The enum numeric value on the wire for diskType. */ - @java.lang.Override public int getDiskTypeValue() { + @java.lang.Override + public int getDiskTypeValue() { return diskType_; } /** + * + * *
    * The disk type to use in the VM.
    * 
* * .google.cloud.vmmigration.v1.ComputeEngineDiskType disk_type = 9; + * * @return The diskType. */ - @java.lang.Override public com.google.cloud.vmmigration.v1.ComputeEngineDiskType getDiskType() { + @java.lang.Override + public com.google.cloud.vmmigration.v1.ComputeEngineDiskType getDiskType() { @SuppressWarnings("deprecation") - com.google.cloud.vmmigration.v1.ComputeEngineDiskType result = com.google.cloud.vmmigration.v1.ComputeEngineDiskType.valueOf(diskType_); - return result == null ? com.google.cloud.vmmigration.v1.ComputeEngineDiskType.UNRECOGNIZED : result; + com.google.cloud.vmmigration.v1.ComputeEngineDiskType result = + com.google.cloud.vmmigration.v1.ComputeEngineDiskType.valueOf(diskType_); + return result == null + ? com.google.cloud.vmmigration.v1.ComputeEngineDiskType.UNRECOGNIZED + : result; } public static final int LABELS_FIELD_NUMBER = 10; + private static final class LabelsDefaultEntryHolder { - static final com.google.protobuf.MapEntry< - java.lang.String, java.lang.String> defaultEntry = - com.google.protobuf.MapEntry - .newDefaultInstance( - com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ComputeEngineTargetDefaults_LabelsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); - } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> labels_; - private com.google.protobuf.MapField - internalGetLabels() { + static final com.google.protobuf.MapEntry defaultEntry = + com.google.protobuf.MapEntry.newDefaultInstance( + com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_ComputeEngineTargetDefaults_LabelsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); + } + + private com.google.protobuf.MapField labels_; + + private com.google.protobuf.MapField internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField( - LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); } return labels_; } @@ -711,28 +803,30 @@ public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** + * + * *
    * A map of labels to associate with the VM.
    * 
* * map<string, string> labels = 10; */ - @java.lang.Override - public boolean containsLabels( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsLabels(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetLabels().getMap().containsKey(key); } - /** - * Use {@link #getLabelsMap()} instead. - */ + /** Use {@link #getLabelsMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getLabels() { return getLabelsMap(); } /** + * + * *
    * A map of labels to associate with the VM.
    * 
@@ -740,11 +834,12 @@ public java.util.Map getLabels() { * map<string, string> labels = 10; */ @java.lang.Override - public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** + * + * *
    * A map of labels to associate with the VM.
    * 
@@ -752,16 +847,16 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 10; */ @java.lang.Override - - public java.lang.String getLabelsOrDefault( - java.lang.String key, - java.lang.String defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetLabels().getMap(); + public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.String defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
    * A map of labels to associate with the VM.
    * 
@@ -769,12 +864,11 @@ public java.lang.String getLabelsOrDefault( * map<string, string> labels = 10; */ @java.lang.Override - - public java.lang.String getLabelsOrThrow( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetLabels().getMap(); + public java.lang.String getLabelsOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -784,38 +878,54 @@ public java.lang.String getLabelsOrThrow( public static final int LICENSE_TYPE_FIELD_NUMBER = 11; private int licenseType_; /** + * + * *
    * The license type to use in OS adaptation.
    * 
* * .google.cloud.vmmigration.v1.ComputeEngineLicenseType license_type = 11; + * * @return The enum numeric value on the wire for licenseType. */ - @java.lang.Override public int getLicenseTypeValue() { + @java.lang.Override + public int getLicenseTypeValue() { return licenseType_; } /** + * + * *
    * The license type to use in OS adaptation.
    * 
* * .google.cloud.vmmigration.v1.ComputeEngineLicenseType license_type = 11; + * * @return The licenseType. */ - @java.lang.Override public com.google.cloud.vmmigration.v1.ComputeEngineLicenseType getLicenseType() { + @java.lang.Override + public com.google.cloud.vmmigration.v1.ComputeEngineLicenseType getLicenseType() { @SuppressWarnings("deprecation") - com.google.cloud.vmmigration.v1.ComputeEngineLicenseType result = com.google.cloud.vmmigration.v1.ComputeEngineLicenseType.valueOf(licenseType_); - return result == null ? com.google.cloud.vmmigration.v1.ComputeEngineLicenseType.UNRECOGNIZED : result; + com.google.cloud.vmmigration.v1.ComputeEngineLicenseType result = + com.google.cloud.vmmigration.v1.ComputeEngineLicenseType.valueOf(licenseType_); + return result == null + ? com.google.cloud.vmmigration.v1.ComputeEngineLicenseType.UNRECOGNIZED + : result; } public static final int APPLIED_LICENSE_FIELD_NUMBER = 12; private com.google.cloud.vmmigration.v1.AppliedLicense appliedLicense_; /** + * + * *
    * Output only. The OS license returned from the adaptation module report.
    * 
* - * .google.cloud.vmmigration.v1.AppliedLicense applied_license = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.vmmigration.v1.AppliedLicense applied_license = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the appliedLicense field is set. */ @java.lang.Override @@ -823,23 +933,34 @@ public boolean hasAppliedLicense() { return appliedLicense_ != null; } /** + * + * *
    * Output only. The OS license returned from the adaptation module report.
    * 
* - * .google.cloud.vmmigration.v1.AppliedLicense applied_license = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.vmmigration.v1.AppliedLicense applied_license = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The appliedLicense. */ @java.lang.Override public com.google.cloud.vmmigration.v1.AppliedLicense getAppliedLicense() { - return appliedLicense_ == null ? com.google.cloud.vmmigration.v1.AppliedLicense.getDefaultInstance() : appliedLicense_; + return appliedLicense_ == null + ? com.google.cloud.vmmigration.v1.AppliedLicense.getDefaultInstance() + : appliedLicense_; } /** + * + * *
    * Output only. The OS license returned from the adaptation module report.
    * 
* - * .google.cloud.vmmigration.v1.AppliedLicense applied_license = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.vmmigration.v1.AppliedLicense applied_license = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.vmmigration.v1.AppliedLicenseOrBuilder getAppliedLicenseOrBuilder() { @@ -849,11 +970,14 @@ public com.google.cloud.vmmigration.v1.AppliedLicenseOrBuilder getAppliedLicense public static final int COMPUTE_SCHEDULING_FIELD_NUMBER = 13; private com.google.cloud.vmmigration.v1.ComputeScheduling computeScheduling_; /** + * + * *
    * Compute instance scheduling information (if empty default is used).
    * 
* * .google.cloud.vmmigration.v1.ComputeScheduling compute_scheduling = 13; + * * @return Whether the computeScheduling field is set. */ @java.lang.Override @@ -861,18 +985,25 @@ public boolean hasComputeScheduling() { return computeScheduling_ != null; } /** + * + * *
    * Compute instance scheduling information (if empty default is used).
    * 
* * .google.cloud.vmmigration.v1.ComputeScheduling compute_scheduling = 13; + * * @return The computeScheduling. */ @java.lang.Override public com.google.cloud.vmmigration.v1.ComputeScheduling getComputeScheduling() { - return computeScheduling_ == null ? com.google.cloud.vmmigration.v1.ComputeScheduling.getDefaultInstance() : computeScheduling_; + return computeScheduling_ == null + ? com.google.cloud.vmmigration.v1.ComputeScheduling.getDefaultInstance() + : computeScheduling_; } /** + * + * *
    * Compute instance scheduling information (if empty default is used).
    * 
@@ -880,19 +1011,23 @@ public com.google.cloud.vmmigration.v1.ComputeScheduling getComputeScheduling() * .google.cloud.vmmigration.v1.ComputeScheduling compute_scheduling = 13; */ @java.lang.Override - public com.google.cloud.vmmigration.v1.ComputeSchedulingOrBuilder getComputeSchedulingOrBuilder() { + public com.google.cloud.vmmigration.v1.ComputeSchedulingOrBuilder + getComputeSchedulingOrBuilder() { return getComputeScheduling(); } public static final int SECURE_BOOT_FIELD_NUMBER = 14; private boolean secureBoot_; /** + * + * *
    * Defines whether the instance has Secure Boot enabled.
    * This can be set to true only if the vm boot option is EFI.
    * 
* * bool secure_boot = 14; + * * @return The secureBoot. */ @java.lang.Override @@ -903,49 +1038,63 @@ public boolean getSecureBoot() { public static final int BOOT_OPTION_FIELD_NUMBER = 15; private int bootOption_; /** + * + * *
    * Output only. The VM Boot Option, as set in the source vm.
    * 
* - * .google.cloud.vmmigration.v1.ComputeEngineBootOption boot_option = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.vmmigration.v1.ComputeEngineBootOption boot_option = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for bootOption. */ - @java.lang.Override public int getBootOptionValue() { + @java.lang.Override + public int getBootOptionValue() { return bootOption_; } /** + * + * *
    * Output only. The VM Boot Option, as set in the source vm.
    * 
* - * .google.cloud.vmmigration.v1.ComputeEngineBootOption boot_option = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.vmmigration.v1.ComputeEngineBootOption boot_option = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The bootOption. */ - @java.lang.Override public com.google.cloud.vmmigration.v1.ComputeEngineBootOption getBootOption() { + @java.lang.Override + public com.google.cloud.vmmigration.v1.ComputeEngineBootOption getBootOption() { @SuppressWarnings("deprecation") - com.google.cloud.vmmigration.v1.ComputeEngineBootOption result = com.google.cloud.vmmigration.v1.ComputeEngineBootOption.valueOf(bootOption_); - return result == null ? com.google.cloud.vmmigration.v1.ComputeEngineBootOption.UNRECOGNIZED : result; + com.google.cloud.vmmigration.v1.ComputeEngineBootOption result = + com.google.cloud.vmmigration.v1.ComputeEngineBootOption.valueOf(bootOption_); + return result == null + ? com.google.cloud.vmmigration.v1.ComputeEngineBootOption.UNRECOGNIZED + : result; } public static final int METADATA_FIELD_NUMBER = 16; + private static final class MetadataDefaultEntryHolder { - static final com.google.protobuf.MapEntry< - java.lang.String, java.lang.String> defaultEntry = - com.google.protobuf.MapEntry - .newDefaultInstance( - com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ComputeEngineTargetDefaults_MetadataEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); - } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> metadata_; - private com.google.protobuf.MapField - internalGetMetadata() { + static final com.google.protobuf.MapEntry defaultEntry = + com.google.protobuf.MapEntry.newDefaultInstance( + com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_ComputeEngineTargetDefaults_MetadataEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); + } + + private com.google.protobuf.MapField metadata_; + + private com.google.protobuf.MapField internalGetMetadata() { if (metadata_ == null) { - return com.google.protobuf.MapField.emptyMapField( - MetadataDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(MetadataDefaultEntryHolder.defaultEntry); } return metadata_; } @@ -954,28 +1103,30 @@ public int getMetadataCount() { return internalGetMetadata().getMap().size(); } /** + * + * *
    * The metadata key/value pairs to assign to the VM.
    * 
* * map<string, string> metadata = 16; */ - @java.lang.Override - public boolean containsMetadata( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsMetadata(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetMetadata().getMap().containsKey(key); } - /** - * Use {@link #getMetadataMap()} instead. - */ + /** Use {@link #getMetadataMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getMetadata() { return getMetadataMap(); } /** + * + * *
    * The metadata key/value pairs to assign to the VM.
    * 
@@ -983,11 +1134,12 @@ public java.util.Map getMetadata() { * map<string, string> metadata = 16; */ @java.lang.Override - public java.util.Map getMetadataMap() { return internalGetMetadata().getMap(); } /** + * + * *
    * The metadata key/value pairs to assign to the VM.
    * 
@@ -995,16 +1147,17 @@ public java.util.Map getMetadataMap() { * map<string, string> metadata = 16; */ @java.lang.Override - public java.lang.String getMetadataOrDefault( - java.lang.String key, - java.lang.String defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetMetadata().getMap(); + java.lang.String key, java.lang.String defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetMetadata().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
    * The metadata key/value pairs to assign to the VM.
    * 
@@ -1012,12 +1165,11 @@ public java.lang.String getMetadataOrDefault( * map<string, string> metadata = 16; */ @java.lang.Override - - public java.lang.String getMetadataOrThrow( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetMetadata().getMap(); + public java.lang.String getMetadataOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetMetadata().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -1027,34 +1179,42 @@ public java.lang.String getMetadataOrThrow( public static final int ADDITIONAL_LICENSES_FIELD_NUMBER = 17; private com.google.protobuf.LazyStringList additionalLicenses_; /** + * + * *
    * Additional licenses to assign to the VM.
    * 
* * repeated string additional_licenses = 17; + * * @return A list containing the additionalLicenses. */ - public com.google.protobuf.ProtocolStringList - getAdditionalLicensesList() { + public com.google.protobuf.ProtocolStringList getAdditionalLicensesList() { return additionalLicenses_; } /** + * + * *
    * Additional licenses to assign to the VM.
    * 
* * repeated string additional_licenses = 17; + * * @return The count of additionalLicenses. */ public int getAdditionalLicensesCount() { return additionalLicenses_.size(); } /** + * + * *
    * Additional licenses to assign to the VM.
    * 
* * repeated string additional_licenses = 17; + * * @param index The index of the element to return. * @return The additionalLicenses at the given index. */ @@ -1062,27 +1222,32 @@ public java.lang.String getAdditionalLicenses(int index) { return additionalLicenses_.get(index); } /** + * + * *
    * Additional licenses to assign to the VM.
    * 
* * repeated string additional_licenses = 17; + * * @param index The index of the value to return. * @return The bytes of the additionalLicenses at the given index. */ - public com.google.protobuf.ByteString - getAdditionalLicensesBytes(int index) { + public com.google.protobuf.ByteString getAdditionalLicensesBytes(int index) { return additionalLicenses_.getByteString(index); } public static final int HOSTNAME_FIELD_NUMBER = 18; private volatile java.lang.Object hostname_; /** + * + * *
    * The hostname to assign to the VM.
    * 
* * string hostname = 18; + * * @return The hostname. */ @java.lang.Override @@ -1091,29 +1256,29 @@ public java.lang.String getHostname() { 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(); hostname_ = s; return s; } } /** + * + * *
    * The hostname to assign to the VM.
    * 
* * string hostname = 18; + * * @return The bytes for hostname. */ @java.lang.Override - public com.google.protobuf.ByteString - getHostnameBytes() { + public com.google.protobuf.ByteString getHostnameBytes() { java.lang.Object ref = hostname_; 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); hostname_ = b; return b; } else { @@ -1122,6 +1287,7 @@ public java.lang.String getHostname() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1133,8 +1299,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(vmName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, vmName_); } @@ -1159,16 +1324,18 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(serviceAccount_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 8, serviceAccount_); } - if (diskType_ != com.google.cloud.vmmigration.v1.ComputeEngineDiskType.COMPUTE_ENGINE_DISK_TYPE_UNSPECIFIED.getNumber()) { + if (diskType_ + != com.google.cloud.vmmigration.v1.ComputeEngineDiskType + .COMPUTE_ENGINE_DISK_TYPE_UNSPECIFIED + .getNumber()) { output.writeEnum(9, diskType_); } - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetLabels(), - LabelsDefaultEntryHolder.defaultEntry, - 10); - if (licenseType_ != com.google.cloud.vmmigration.v1.ComputeEngineLicenseType.COMPUTE_ENGINE_LICENSE_TYPE_DEFAULT.getNumber()) { + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 10); + if (licenseType_ + != com.google.cloud.vmmigration.v1.ComputeEngineLicenseType + .COMPUTE_ENGINE_LICENSE_TYPE_DEFAULT + .getNumber()) { output.writeEnum(11, licenseType_); } if (appliedLicense_ != null) { @@ -1180,15 +1347,14 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (secureBoot_ != false) { output.writeBool(14, secureBoot_); } - if (bootOption_ != com.google.cloud.vmmigration.v1.ComputeEngineBootOption.COMPUTE_ENGINE_BOOT_OPTION_UNSPECIFIED.getNumber()) { + if (bootOption_ + != com.google.cloud.vmmigration.v1.ComputeEngineBootOption + .COMPUTE_ENGINE_BOOT_OPTION_UNSPECIFIED + .getNumber()) { output.writeEnum(15, bootOption_); } - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetMetadata(), - MetadataDefaultEntryHolder.defaultEntry, - 16); + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetMetadata(), MetadataDefaultEntryHolder.defaultEntry, 16); for (int i = 0; i < additionalLicenses_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 17, additionalLicenses_.getRaw(i)); } @@ -1228,55 +1394,58 @@ public int getSerializedSize() { size += 1 * getNetworkTagsList().size(); } for (int i = 0; i < networkInterfaces_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(7, networkInterfaces_.get(i)); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(7, networkInterfaces_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(serviceAccount_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, serviceAccount_); } - if (diskType_ != com.google.cloud.vmmigration.v1.ComputeEngineDiskType.COMPUTE_ENGINE_DISK_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(9, diskType_); - } - for (java.util.Map.Entry entry - : internalGetLabels().getMap().entrySet()) { - com.google.protobuf.MapEntry - labels__ = LabelsDefaultEntryHolder.defaultEntry.newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(10, labels__); - } - if (licenseType_ != com.google.cloud.vmmigration.v1.ComputeEngineLicenseType.COMPUTE_ENGINE_LICENSE_TYPE_DEFAULT.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(11, licenseType_); + if (diskType_ + != com.google.cloud.vmmigration.v1.ComputeEngineDiskType + .COMPUTE_ENGINE_DISK_TYPE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(9, diskType_); + } + for (java.util.Map.Entry entry : + internalGetLabels().getMap().entrySet()) { + com.google.protobuf.MapEntry labels__ = + LabelsDefaultEntryHolder.defaultEntry + .newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(10, labels__); + } + if (licenseType_ + != com.google.cloud.vmmigration.v1.ComputeEngineLicenseType + .COMPUTE_ENGINE_LICENSE_TYPE_DEFAULT + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(11, licenseType_); } if (appliedLicense_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(12, getAppliedLicense()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(12, getAppliedLicense()); } if (computeScheduling_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(13, getComputeScheduling()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(13, getComputeScheduling()); } if (secureBoot_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(14, secureBoot_); - } - if (bootOption_ != com.google.cloud.vmmigration.v1.ComputeEngineBootOption.COMPUTE_ENGINE_BOOT_OPTION_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(15, bootOption_); - } - for (java.util.Map.Entry entry - : internalGetMetadata().getMap().entrySet()) { - com.google.protobuf.MapEntry - metadata__ = MetadataDefaultEntryHolder.defaultEntry.newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(16, metadata__); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(14, secureBoot_); + } + if (bootOption_ + != com.google.cloud.vmmigration.v1.ComputeEngineBootOption + .COMPUTE_ENGINE_BOOT_OPTION_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(15, bootOption_); + } + for (java.util.Map.Entry entry : + internalGetMetadata().getMap().entrySet()) { + com.google.protobuf.MapEntry metadata__ = + MetadataDefaultEntryHolder.defaultEntry + .newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(16, metadata__); } { int dataSize = 0; @@ -1297,52 +1466,38 @@ 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.vmmigration.v1.ComputeEngineTargetDefaults)) { return super.equals(obj); } - com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaults other = (com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaults) obj; - - if (!getVmName() - .equals(other.getVmName())) return false; - if (!getTargetProject() - .equals(other.getTargetProject())) return false; - if (!getZone() - .equals(other.getZone())) return false; - if (!getMachineTypeSeries() - .equals(other.getMachineTypeSeries())) return false; - if (!getMachineType() - .equals(other.getMachineType())) return false; - if (!getNetworkTagsList() - .equals(other.getNetworkTagsList())) return false; - if (!getNetworkInterfacesList() - .equals(other.getNetworkInterfacesList())) return false; - if (!getServiceAccount() - .equals(other.getServiceAccount())) return false; + com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaults other = + (com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaults) obj; + + if (!getVmName().equals(other.getVmName())) return false; + if (!getTargetProject().equals(other.getTargetProject())) return false; + if (!getZone().equals(other.getZone())) return false; + if (!getMachineTypeSeries().equals(other.getMachineTypeSeries())) return false; + if (!getMachineType().equals(other.getMachineType())) return false; + if (!getNetworkTagsList().equals(other.getNetworkTagsList())) return false; + if (!getNetworkInterfacesList().equals(other.getNetworkInterfacesList())) return false; + if (!getServiceAccount().equals(other.getServiceAccount())) return false; if (diskType_ != other.diskType_) return false; - if (!internalGetLabels().equals( - other.internalGetLabels())) return false; + if (!internalGetLabels().equals(other.internalGetLabels())) return false; if (licenseType_ != other.licenseType_) return false; if (hasAppliedLicense() != other.hasAppliedLicense()) return false; if (hasAppliedLicense()) { - if (!getAppliedLicense() - .equals(other.getAppliedLicense())) return false; + if (!getAppliedLicense().equals(other.getAppliedLicense())) return false; } if (hasComputeScheduling() != other.hasComputeScheduling()) return false; if (hasComputeScheduling()) { - if (!getComputeScheduling() - .equals(other.getComputeScheduling())) return false; + if (!getComputeScheduling().equals(other.getComputeScheduling())) return false; } - if (getSecureBoot() - != other.getSecureBoot()) return false; + if (getSecureBoot() != other.getSecureBoot()) return false; if (bootOption_ != other.bootOption_) return false; - if (!internalGetMetadata().equals( - other.internalGetMetadata())) return false; - if (!getAdditionalLicensesList() - .equals(other.getAdditionalLicensesList())) return false; - if (!getHostname() - .equals(other.getHostname())) return false; + if (!internalGetMetadata().equals(other.internalGetMetadata())) return false; + if (!getAdditionalLicensesList().equals(other.getAdditionalLicensesList())) return false; + if (!getHostname().equals(other.getHostname())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -1391,8 +1546,7 @@ public int hashCode() { hash = (53 * hash) + getComputeScheduling().hashCode(); } hash = (37 * hash) + SECURE_BOOT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getSecureBoot()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getSecureBoot()); hash = (37 * hash) + BOOT_OPTION_FIELD_NUMBER; hash = (53 * hash) + bootOption_; if (!internalGetMetadata().getMap().isEmpty()) { @@ -1411,96 +1565,104 @@ public int hashCode() { } public static com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaults 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.vmmigration.v1.ComputeEngineTargetDefaults 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.vmmigration.v1.ComputeEngineTargetDefaults parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaults 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.vmmigration.v1.ComputeEngineTargetDefaults parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaults 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.vmmigration.v1.ComputeEngineTargetDefaults parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaults parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaults 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.vmmigration.v1.ComputeEngineTargetDefaults parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaults parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaults 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.vmmigration.v1.ComputeEngineTargetDefaults 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.vmmigration.v1.ComputeEngineTargetDefaults 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.vmmigration.v1.ComputeEngineTargetDefaults prototype) { + + public static Builder newBuilder( + com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaults 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; } /** + * + * *
    * ComputeEngineTargetDefaults is a collection of details for creating a VM in a
    * target Compute Engine project.
@@ -1508,47 +1670,47 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.vmmigration.v1.ComputeEngineTargetDefaults}
    */
-  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.vmmigration.v1.ComputeEngineTargetDefaults)
       com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaultsOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ComputeEngineTargetDefaults_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.vmmigration.v1.VmMigrationProto
+          .internal_static_google_cloud_vmmigration_v1_ComputeEngineTargetDefaults_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMapField(
-        int number) {
+    protected com.google.protobuf.MapField internalGetMapField(int number) {
       switch (number) {
         case 10:
           return internalGetLabels();
         case 16:
           return internalGetMetadata();
         default:
-          throw new RuntimeException(
-              "Invalid map field number: " + number);
+          throw new RuntimeException("Invalid map field number: " + number);
       }
     }
+
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMutableMapField(
-        int number) {
+    protected com.google.protobuf.MapField internalGetMutableMapField(int number) {
       switch (number) {
         case 10:
           return internalGetMutableLabels();
         case 16:
           return internalGetMutableMetadata();
         default:
-          throw new RuntimeException(
-              "Invalid map field number: " + number);
+          throw new RuntimeException("Invalid map field number: " + number);
       }
     }
+
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ComputeEngineTargetDefaults_fieldAccessorTable
+      return com.google.cloud.vmmigration.v1.VmMigrationProto
+          .internal_static_google_cloud_vmmigration_v1_ComputeEngineTargetDefaults_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaults.class, com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaults.Builder.class);
+              com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaults.class,
+              com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaults.Builder.class);
     }
 
     // Construct using com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaults.newBuilder()
@@ -1556,17 +1718,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) {
         getNetworkInterfacesFieldBuilder();
       }
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1620,9 +1782,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ComputeEngineTargetDefaults_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.vmmigration.v1.VmMigrationProto
+          .internal_static_google_cloud_vmmigration_v1_ComputeEngineTargetDefaults_descriptor;
     }
 
     @java.lang.Override
@@ -1641,7 +1803,8 @@ public com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaults build() {
 
     @java.lang.Override
     public com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaults buildPartial() {
-      com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaults result = new com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaults(this);
+      com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaults result =
+          new com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaults(this);
       int from_bitField0_ = bitField0_;
       result.vmName_ = vmName_;
       result.targetProject_ = targetProject_;
@@ -1695,38 +1858,39 @@ public com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaults buildPartial(
     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.vmmigration.v1.ComputeEngineTargetDefaults) {
-        return mergeFrom((com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaults)other);
+        return mergeFrom((com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaults) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1734,7 +1898,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaults other) {
-      if (other == com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaults.getDefaultInstance()) return this;
+      if (other == com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaults.getDefaultInstance())
+        return this;
       if (!other.getVmName().isEmpty()) {
         vmName_ = other.vmName_;
         onChanged();
@@ -1783,9 +1948,10 @@ public Builder mergeFrom(com.google.cloud.vmmigration.v1.ComputeEngineTargetDefa
             networkInterfacesBuilder_ = null;
             networkInterfaces_ = other.networkInterfaces_;
             bitField0_ = (bitField0_ & ~0x00000002);
-            networkInterfacesBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getNetworkInterfacesFieldBuilder() : null;
+            networkInterfacesBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getNetworkInterfacesFieldBuilder()
+                    : null;
           } else {
             networkInterfacesBuilder_.addAllMessages(other.networkInterfaces_);
           }
@@ -1798,8 +1964,7 @@ public Builder mergeFrom(com.google.cloud.vmmigration.v1.ComputeEngineTargetDefa
       if (other.diskType_ != 0) {
         setDiskTypeValue(other.getDiskTypeValue());
       }
-      internalGetMutableLabels().mergeFrom(
-          other.internalGetLabels());
+      internalGetMutableLabels().mergeFrom(other.internalGetLabels());
       if (other.licenseType_ != 0) {
         setLicenseTypeValue(other.getLicenseTypeValue());
       }
@@ -1815,8 +1980,7 @@ public Builder mergeFrom(com.google.cloud.vmmigration.v1.ComputeEngineTargetDefa
       if (other.bootOption_ != 0) {
         setBootOptionValue(other.getBootOptionValue());
       }
-      internalGetMutableMetadata().mergeFrom(
-          other.internalGetMetadata());
+      internalGetMutableMetadata().mergeFrom(other.internalGetMetadata());
       if (!other.additionalLicenses_.isEmpty()) {
         if (additionalLicenses_.isEmpty()) {
           additionalLicenses_ = other.additionalLicenses_;
@@ -1850,7 +2014,8 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaults) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaults) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -1859,22 +2024,25 @@ public Builder mergeFrom(
       }
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object vmName_ = "";
     /**
+     *
+     *
      * 
      * The name of the VM to create.
      * 
* * string vm_name = 1; + * * @return The vmName. */ public java.lang.String getVmName() { java.lang.Object ref = vmName_; 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(); vmName_ = s; return s; @@ -1883,20 +2051,21 @@ public java.lang.String getVmName() { } } /** + * + * *
      * The name of the VM to create.
      * 
* * string vm_name = 1; + * * @return The bytes for vmName. */ - public com.google.protobuf.ByteString - getVmNameBytes() { + public com.google.protobuf.ByteString getVmNameBytes() { java.lang.Object ref = vmName_; 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); vmName_ = b; return b; } else { @@ -1904,54 +2073,61 @@ public java.lang.String getVmName() { } } /** + * + * *
      * The name of the VM to create.
      * 
* * string vm_name = 1; + * * @param value The vmName to set. * @return This builder for chaining. */ - public Builder setVmName( - java.lang.String value) { + public Builder setVmName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + vmName_ = value; onChanged(); return this; } /** + * + * *
      * The name of the VM to create.
      * 
* * string vm_name = 1; + * * @return This builder for chaining. */ public Builder clearVmName() { - + vmName_ = getDefaultInstance().getVmName(); onChanged(); return this; } /** + * + * *
      * The name of the VM to create.
      * 
* * string vm_name = 1; + * * @param value The bytes for vmName to set. * @return This builder for chaining. */ - public Builder setVmNameBytes( - com.google.protobuf.ByteString value) { + public Builder setVmNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + vmName_ = value; onChanged(); return this; @@ -1959,19 +2135,21 @@ public Builder setVmNameBytes( private java.lang.Object targetProject_ = ""; /** + * + * *
      * The full path of the resource of type TargetProject which represents the
      * Compute Engine project in which to create this VM.
      * 
* * string target_project = 2 [(.google.api.resource_reference) = { ... } + * * @return The targetProject. */ public java.lang.String getTargetProject() { java.lang.Object ref = targetProject_; 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(); targetProject_ = s; return s; @@ -1980,21 +2158,22 @@ public java.lang.String getTargetProject() { } } /** + * + * *
      * The full path of the resource of type TargetProject which represents the
      * Compute Engine project in which to create this VM.
      * 
* * string target_project = 2 [(.google.api.resource_reference) = { ... } + * * @return The bytes for targetProject. */ - public com.google.protobuf.ByteString - getTargetProjectBytes() { + public com.google.protobuf.ByteString getTargetProjectBytes() { java.lang.Object ref = targetProject_; 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); targetProject_ = b; return b; } else { @@ -2002,57 +2181,64 @@ public java.lang.String getTargetProject() { } } /** + * + * *
      * The full path of the resource of type TargetProject which represents the
      * Compute Engine project in which to create this VM.
      * 
* * string target_project = 2 [(.google.api.resource_reference) = { ... } + * * @param value The targetProject to set. * @return This builder for chaining. */ - public Builder setTargetProject( - java.lang.String value) { + public Builder setTargetProject(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + targetProject_ = value; onChanged(); return this; } /** + * + * *
      * The full path of the resource of type TargetProject which represents the
      * Compute Engine project in which to create this VM.
      * 
* * string target_project = 2 [(.google.api.resource_reference) = { ... } + * * @return This builder for chaining. */ public Builder clearTargetProject() { - + targetProject_ = getDefaultInstance().getTargetProject(); onChanged(); return this; } /** + * + * *
      * The full path of the resource of type TargetProject which represents the
      * Compute Engine project in which to create this VM.
      * 
* * string target_project = 2 [(.google.api.resource_reference) = { ... } + * * @param value The bytes for targetProject to set. * @return This builder for chaining. */ - public Builder setTargetProjectBytes( - com.google.protobuf.ByteString value) { + public Builder setTargetProjectBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + targetProject_ = value; onChanged(); return this; @@ -2060,18 +2246,20 @@ public Builder setTargetProjectBytes( private java.lang.Object zone_ = ""; /** + * + * *
      * The zone in which to create the VM.
      * 
* * string zone = 3; + * * @return The zone. */ public java.lang.String getZone() { java.lang.Object ref = zone_; 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(); zone_ = s; return s; @@ -2080,20 +2268,21 @@ public java.lang.String getZone() { } } /** + * + * *
      * The zone in which to create the VM.
      * 
* * string zone = 3; + * * @return The bytes for zone. */ - public com.google.protobuf.ByteString - getZoneBytes() { + public com.google.protobuf.ByteString getZoneBytes() { java.lang.Object ref = zone_; 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); zone_ = b; return b; } else { @@ -2101,54 +2290,61 @@ public java.lang.String getZone() { } } /** + * + * *
      * The zone in which to create the VM.
      * 
* * string zone = 3; + * * @param value The zone to set. * @return This builder for chaining. */ - public Builder setZone( - java.lang.String value) { + public Builder setZone(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + zone_ = value; onChanged(); return this; } /** + * + * *
      * The zone in which to create the VM.
      * 
* * string zone = 3; + * * @return This builder for chaining. */ public Builder clearZone() { - + zone_ = getDefaultInstance().getZone(); onChanged(); return this; } /** + * + * *
      * The zone in which to create the VM.
      * 
* * string zone = 3; + * * @param value The bytes for zone to set. * @return This builder for chaining. */ - public Builder setZoneBytes( - com.google.protobuf.ByteString value) { + public Builder setZoneBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + zone_ = value; onChanged(); return this; @@ -2156,18 +2352,20 @@ public Builder setZoneBytes( private java.lang.Object machineTypeSeries_ = ""; /** + * + * *
      * The machine type series to create the VM with.
      * 
* * string machine_type_series = 4; + * * @return The machineTypeSeries. */ public java.lang.String getMachineTypeSeries() { java.lang.Object ref = machineTypeSeries_; 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(); machineTypeSeries_ = s; return s; @@ -2176,20 +2374,21 @@ public java.lang.String getMachineTypeSeries() { } } /** + * + * *
      * The machine type series to create the VM with.
      * 
* * string machine_type_series = 4; + * * @return The bytes for machineTypeSeries. */ - public com.google.protobuf.ByteString - getMachineTypeSeriesBytes() { + public com.google.protobuf.ByteString getMachineTypeSeriesBytes() { java.lang.Object ref = machineTypeSeries_; 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); machineTypeSeries_ = b; return b; } else { @@ -2197,54 +2396,61 @@ public java.lang.String getMachineTypeSeries() { } } /** + * + * *
      * The machine type series to create the VM with.
      * 
* * string machine_type_series = 4; + * * @param value The machineTypeSeries to set. * @return This builder for chaining. */ - public Builder setMachineTypeSeries( - java.lang.String value) { + public Builder setMachineTypeSeries(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + machineTypeSeries_ = value; onChanged(); return this; } /** + * + * *
      * The machine type series to create the VM with.
      * 
* * string machine_type_series = 4; + * * @return This builder for chaining. */ public Builder clearMachineTypeSeries() { - + machineTypeSeries_ = getDefaultInstance().getMachineTypeSeries(); onChanged(); return this; } /** + * + * *
      * The machine type series to create the VM with.
      * 
* * string machine_type_series = 4; + * * @param value The bytes for machineTypeSeries to set. * @return This builder for chaining. */ - public Builder setMachineTypeSeriesBytes( - com.google.protobuf.ByteString value) { + public Builder setMachineTypeSeriesBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + machineTypeSeries_ = value; onChanged(); return this; @@ -2252,18 +2458,20 @@ public Builder setMachineTypeSeriesBytes( private java.lang.Object machineType_ = ""; /** + * + * *
      * The machine type to create the VM with.
      * 
* * string machine_type = 5; + * * @return The machineType. */ public java.lang.String getMachineType() { java.lang.Object ref = machineType_; 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(); machineType_ = s; return s; @@ -2272,20 +2480,21 @@ public java.lang.String getMachineType() { } } /** + * + * *
      * The machine type to create the VM with.
      * 
* * string machine_type = 5; + * * @return The bytes for machineType. */ - public com.google.protobuf.ByteString - getMachineTypeBytes() { + public com.google.protobuf.ByteString getMachineTypeBytes() { java.lang.Object ref = machineType_; 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); machineType_ = b; return b; } else { @@ -2293,95 +2502,112 @@ public java.lang.String getMachineType() { } } /** + * + * *
      * The machine type to create the VM with.
      * 
* * string machine_type = 5; + * * @param value The machineType to set. * @return This builder for chaining. */ - public Builder setMachineType( - java.lang.String value) { + public Builder setMachineType(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + machineType_ = value; onChanged(); return this; } /** + * + * *
      * The machine type to create the VM with.
      * 
* * string machine_type = 5; + * * @return This builder for chaining. */ public Builder clearMachineType() { - + machineType_ = getDefaultInstance().getMachineType(); onChanged(); return this; } /** + * + * *
      * The machine type to create the VM with.
      * 
* * string machine_type = 5; + * * @param value The bytes for machineType to set. * @return This builder for chaining. */ - public Builder setMachineTypeBytes( - com.google.protobuf.ByteString value) { + public Builder setMachineTypeBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + machineType_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList networkTags_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList networkTags_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureNetworkTagsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { networkTags_ = new com.google.protobuf.LazyStringArrayList(networkTags_); bitField0_ |= 0x00000001; - } + } } /** + * + * *
      * A map of network tags to associate with the VM.
      * 
* * repeated string network_tags = 6; + * * @return A list containing the networkTags. */ - public com.google.protobuf.ProtocolStringList - getNetworkTagsList() { + public com.google.protobuf.ProtocolStringList getNetworkTagsList() { return networkTags_.getUnmodifiableView(); } /** + * + * *
      * A map of network tags to associate with the VM.
      * 
* * repeated string network_tags = 6; + * * @return The count of networkTags. */ public int getNetworkTagsCount() { return networkTags_.size(); } /** + * + * *
      * A map of network tags to associate with the VM.
      * 
* * repeated string network_tags = 6; + * * @param index The index of the element to return. * @return The networkTags at the given index. */ @@ -2389,80 +2615,90 @@ public java.lang.String getNetworkTags(int index) { return networkTags_.get(index); } /** + * + * *
      * A map of network tags to associate with the VM.
      * 
* * repeated string network_tags = 6; + * * @param index The index of the value to return. * @return The bytes of the networkTags at the given index. */ - public com.google.protobuf.ByteString - getNetworkTagsBytes(int index) { + public com.google.protobuf.ByteString getNetworkTagsBytes(int index) { return networkTags_.getByteString(index); } /** + * + * *
      * A map of network tags to associate with the VM.
      * 
* * repeated string network_tags = 6; + * * @param index The index to set the value at. * @param value The networkTags to set. * @return This builder for chaining. */ - public Builder setNetworkTags( - int index, java.lang.String value) { + public Builder setNetworkTags(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureNetworkTagsIsMutable(); + throw new NullPointerException(); + } + ensureNetworkTagsIsMutable(); networkTags_.set(index, value); onChanged(); return this; } /** + * + * *
      * A map of network tags to associate with the VM.
      * 
* * repeated string network_tags = 6; + * * @param value The networkTags to add. * @return This builder for chaining. */ - public Builder addNetworkTags( - java.lang.String value) { + public Builder addNetworkTags(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureNetworkTagsIsMutable(); + throw new NullPointerException(); + } + ensureNetworkTagsIsMutable(); networkTags_.add(value); onChanged(); return this; } /** + * + * *
      * A map of network tags to associate with the VM.
      * 
* * repeated string network_tags = 6; + * * @param values The networkTags to add. * @return This builder for chaining. */ - public Builder addAllNetworkTags( - java.lang.Iterable values) { + public Builder addAllNetworkTags(java.lang.Iterable values) { ensureNetworkTagsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, networkTags_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, networkTags_); onChanged(); return this; } /** + * + * *
      * A map of network tags to associate with the VM.
      * 
* * repeated string network_tags = 6; + * * @return This builder for chaining. */ public Builder clearNetworkTags() { @@ -2472,20 +2708,22 @@ public Builder clearNetworkTags() { return this; } /** + * + * *
      * A map of network tags to associate with the VM.
      * 
* * repeated string network_tags = 6; + * * @param value The bytes of the networkTags to add. * @return This builder for chaining. */ - public Builder addNetworkTagsBytes( - com.google.protobuf.ByteString value) { + public Builder addNetworkTagsBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureNetworkTagsIsMutable(); networkTags_.add(value); onChanged(); @@ -2493,25 +2731,34 @@ public Builder addNetworkTagsBytes( } private java.util.List networkInterfaces_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureNetworkInterfacesIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - networkInterfaces_ = new java.util.ArrayList(networkInterfaces_); + networkInterfaces_ = + new java.util.ArrayList( + networkInterfaces_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.vmmigration.v1.NetworkInterface, com.google.cloud.vmmigration.v1.NetworkInterface.Builder, com.google.cloud.vmmigration.v1.NetworkInterfaceOrBuilder> networkInterfacesBuilder_; + com.google.cloud.vmmigration.v1.NetworkInterface, + com.google.cloud.vmmigration.v1.NetworkInterface.Builder, + com.google.cloud.vmmigration.v1.NetworkInterfaceOrBuilder> + networkInterfacesBuilder_; /** + * + * *
      * List of NICs connected to this VM.
      * 
* * repeated .google.cloud.vmmigration.v1.NetworkInterface network_interfaces = 7; */ - public java.util.List getNetworkInterfacesList() { + public java.util.List + getNetworkInterfacesList() { if (networkInterfacesBuilder_ == null) { return java.util.Collections.unmodifiableList(networkInterfaces_); } else { @@ -2519,6 +2766,8 @@ public java.util.List getNetwo } } /** + * + * *
      * List of NICs connected to this VM.
      * 
@@ -2533,6 +2782,8 @@ public int getNetworkInterfacesCount() { } } /** + * + * *
      * List of NICs connected to this VM.
      * 
@@ -2547,6 +2798,8 @@ public com.google.cloud.vmmigration.v1.NetworkInterface getNetworkInterfaces(int } } /** + * + * *
      * List of NICs connected to this VM.
      * 
@@ -2568,6 +2821,8 @@ public Builder setNetworkInterfaces( return this; } /** + * + * *
      * List of NICs connected to this VM.
      * 
@@ -2586,6 +2841,8 @@ public Builder setNetworkInterfaces( return this; } /** + * + * *
      * List of NICs connected to this VM.
      * 
@@ -2606,6 +2863,8 @@ public Builder addNetworkInterfaces(com.google.cloud.vmmigration.v1.NetworkInter return this; } /** + * + * *
      * List of NICs connected to this VM.
      * 
@@ -2627,6 +2886,8 @@ public Builder addNetworkInterfaces( return this; } /** + * + * *
      * List of NICs connected to this VM.
      * 
@@ -2645,6 +2906,8 @@ public Builder addNetworkInterfaces( return this; } /** + * + * *
      * List of NICs connected to this VM.
      * 
@@ -2663,6 +2926,8 @@ public Builder addNetworkInterfaces( return this; } /** + * + * *
      * List of NICs connected to this VM.
      * 
@@ -2673,8 +2938,7 @@ public Builder addAllNetworkInterfaces( java.lang.Iterable values) { if (networkInterfacesBuilder_ == null) { ensureNetworkInterfacesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, networkInterfaces_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, networkInterfaces_); onChanged(); } else { networkInterfacesBuilder_.addAllMessages(values); @@ -2682,6 +2946,8 @@ public Builder addAllNetworkInterfaces( return this; } /** + * + * *
      * List of NICs connected to this VM.
      * 
@@ -2699,6 +2965,8 @@ public Builder clearNetworkInterfaces() { return this; } /** + * + * *
      * List of NICs connected to this VM.
      * 
@@ -2716,6 +2984,8 @@ public Builder removeNetworkInterfaces(int index) { return this; } /** + * + * *
      * List of NICs connected to this VM.
      * 
@@ -2727,6 +2997,8 @@ public com.google.cloud.vmmigration.v1.NetworkInterface.Builder getNetworkInterf return getNetworkInterfacesFieldBuilder().getBuilder(index); } /** + * + * *
      * List of NICs connected to this VM.
      * 
@@ -2736,19 +3008,22 @@ public com.google.cloud.vmmigration.v1.NetworkInterface.Builder getNetworkInterf public com.google.cloud.vmmigration.v1.NetworkInterfaceOrBuilder getNetworkInterfacesOrBuilder( int index) { if (networkInterfacesBuilder_ == null) { - return networkInterfaces_.get(index); } else { + return networkInterfaces_.get(index); + } else { return networkInterfacesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * List of NICs connected to this VM.
      * 
* * repeated .google.cloud.vmmigration.v1.NetworkInterface network_interfaces = 7; */ - public java.util.List - getNetworkInterfacesOrBuilderList() { + public java.util.List + getNetworkInterfacesOrBuilderList() { if (networkInterfacesBuilder_ != null) { return networkInterfacesBuilder_.getMessageOrBuilderList(); } else { @@ -2756,6 +3031,8 @@ public com.google.cloud.vmmigration.v1.NetworkInterfaceOrBuilder getNetworkInter } } /** + * + * *
      * List of NICs connected to this VM.
      * 
@@ -2763,10 +3040,12 @@ public com.google.cloud.vmmigration.v1.NetworkInterfaceOrBuilder getNetworkInter * repeated .google.cloud.vmmigration.v1.NetworkInterface network_interfaces = 7; */ public com.google.cloud.vmmigration.v1.NetworkInterface.Builder addNetworkInterfacesBuilder() { - return getNetworkInterfacesFieldBuilder().addBuilder( - com.google.cloud.vmmigration.v1.NetworkInterface.getDefaultInstance()); + return getNetworkInterfacesFieldBuilder() + .addBuilder(com.google.cloud.vmmigration.v1.NetworkInterface.getDefaultInstance()); } /** + * + * *
      * List of NICs connected to this VM.
      * 
@@ -2775,26 +3054,34 @@ public com.google.cloud.vmmigration.v1.NetworkInterface.Builder addNetworkInterf */ public com.google.cloud.vmmigration.v1.NetworkInterface.Builder addNetworkInterfacesBuilder( int index) { - return getNetworkInterfacesFieldBuilder().addBuilder( - index, com.google.cloud.vmmigration.v1.NetworkInterface.getDefaultInstance()); + return getNetworkInterfacesFieldBuilder() + .addBuilder(index, com.google.cloud.vmmigration.v1.NetworkInterface.getDefaultInstance()); } /** + * + * *
      * List of NICs connected to this VM.
      * 
* * repeated .google.cloud.vmmigration.v1.NetworkInterface network_interfaces = 7; */ - public java.util.List - getNetworkInterfacesBuilderList() { + public java.util.List + getNetworkInterfacesBuilderList() { return getNetworkInterfacesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.vmmigration.v1.NetworkInterface, com.google.cloud.vmmigration.v1.NetworkInterface.Builder, com.google.cloud.vmmigration.v1.NetworkInterfaceOrBuilder> + com.google.cloud.vmmigration.v1.NetworkInterface, + com.google.cloud.vmmigration.v1.NetworkInterface.Builder, + com.google.cloud.vmmigration.v1.NetworkInterfaceOrBuilder> getNetworkInterfacesFieldBuilder() { if (networkInterfacesBuilder_ == null) { - networkInterfacesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.vmmigration.v1.NetworkInterface, com.google.cloud.vmmigration.v1.NetworkInterface.Builder, com.google.cloud.vmmigration.v1.NetworkInterfaceOrBuilder>( + networkInterfacesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.vmmigration.v1.NetworkInterface, + com.google.cloud.vmmigration.v1.NetworkInterface.Builder, + com.google.cloud.vmmigration.v1.NetworkInterfaceOrBuilder>( networkInterfaces_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), @@ -2806,18 +3093,20 @@ public com.google.cloud.vmmigration.v1.NetworkInterface.Builder addNetworkInterf private java.lang.Object serviceAccount_ = ""; /** + * + * *
      * The service account to associate the VM with.
      * 
* * string service_account = 8; + * * @return The serviceAccount. */ public java.lang.String getServiceAccount() { java.lang.Object ref = serviceAccount_; 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(); serviceAccount_ = s; return s; @@ -2826,20 +3115,21 @@ public java.lang.String getServiceAccount() { } } /** + * + * *
      * The service account to associate the VM with.
      * 
* * string service_account = 8; + * * @return The bytes for serviceAccount. */ - public com.google.protobuf.ByteString - getServiceAccountBytes() { + public com.google.protobuf.ByteString getServiceAccountBytes() { java.lang.Object ref = serviceAccount_; 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); serviceAccount_ = b; return b; } else { @@ -2847,54 +3137,61 @@ public java.lang.String getServiceAccount() { } } /** + * + * *
      * The service account to associate the VM with.
      * 
* * string service_account = 8; + * * @param value The serviceAccount to set. * @return This builder for chaining. */ - public Builder setServiceAccount( - java.lang.String value) { + public Builder setServiceAccount(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + serviceAccount_ = value; onChanged(); return this; } /** + * + * *
      * The service account to associate the VM with.
      * 
* * string service_account = 8; + * * @return This builder for chaining. */ public Builder clearServiceAccount() { - + serviceAccount_ = getDefaultInstance().getServiceAccount(); onChanged(); return this; } /** + * + * *
      * The service account to associate the VM with.
      * 
* * string service_account = 8; + * * @param value The bytes for serviceAccount to set. * @return This builder for chaining. */ - public Builder setServiceAccountBytes( - com.google.protobuf.ByteString value) { + public Builder setServiceAccountBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + serviceAccount_ = value; onChanged(); return this; @@ -2902,51 +3199,67 @@ public Builder setServiceAccountBytes( private int diskType_ = 0; /** + * + * *
      * The disk type to use in the VM.
      * 
* * .google.cloud.vmmigration.v1.ComputeEngineDiskType disk_type = 9; + * * @return The enum numeric value on the wire for diskType. */ - @java.lang.Override public int getDiskTypeValue() { + @java.lang.Override + public int getDiskTypeValue() { return diskType_; } /** + * + * *
      * The disk type to use in the VM.
      * 
* * .google.cloud.vmmigration.v1.ComputeEngineDiskType disk_type = 9; + * * @param value The enum numeric value on the wire for diskType to set. * @return This builder for chaining. */ public Builder setDiskTypeValue(int value) { - + diskType_ = value; onChanged(); return this; } /** + * + * *
      * The disk type to use in the VM.
      * 
* * .google.cloud.vmmigration.v1.ComputeEngineDiskType disk_type = 9; + * * @return The diskType. */ @java.lang.Override public com.google.cloud.vmmigration.v1.ComputeEngineDiskType getDiskType() { @SuppressWarnings("deprecation") - com.google.cloud.vmmigration.v1.ComputeEngineDiskType result = com.google.cloud.vmmigration.v1.ComputeEngineDiskType.valueOf(diskType_); - return result == null ? com.google.cloud.vmmigration.v1.ComputeEngineDiskType.UNRECOGNIZED : result; + com.google.cloud.vmmigration.v1.ComputeEngineDiskType result = + com.google.cloud.vmmigration.v1.ComputeEngineDiskType.valueOf(diskType_); + return result == null + ? com.google.cloud.vmmigration.v1.ComputeEngineDiskType.UNRECOGNIZED + : result; } /** + * + * *
      * The disk type to use in the VM.
      * 
* * .google.cloud.vmmigration.v1.ComputeEngineDiskType disk_type = 9; + * * @param value The diskType to set. * @return This builder for chaining. */ @@ -2954,42 +3267,44 @@ public Builder setDiskType(com.google.cloud.vmmigration.v1.ComputeEngineDiskType if (value == null) { throw new NullPointerException(); } - + diskType_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The disk type to use in the VM.
      * 
* * .google.cloud.vmmigration.v1.ComputeEngineDiskType disk_type = 9; + * * @return This builder for chaining. */ public Builder clearDiskType() { - + diskType_ = 0; onChanged(); return this; } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> labels_; - private com.google.protobuf.MapField - internalGetLabels() { + private com.google.protobuf.MapField labels_; + + private com.google.protobuf.MapField internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField( - LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); } return labels_; } + private com.google.protobuf.MapField - internalGetMutableLabels() { - onChanged();; + internalGetMutableLabels() { + onChanged(); + ; if (labels_ == null) { - labels_ = com.google.protobuf.MapField.newMapField( - LabelsDefaultEntryHolder.defaultEntry); + labels_ = com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); } if (!labels_.isMutable()) { labels_ = labels_.copy(); @@ -3001,28 +3316,30 @@ public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** + * + * *
      * A map of labels to associate with the VM.
      * 
* * map<string, string> labels = 10; */ - @java.lang.Override - public boolean containsLabels( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsLabels(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetLabels().getMap().containsKey(key); } - /** - * Use {@link #getLabelsMap()} instead. - */ + /** Use {@link #getLabelsMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getLabels() { return getLabelsMap(); } /** + * + * *
      * A map of labels to associate with the VM.
      * 
@@ -3030,11 +3347,12 @@ public java.util.Map getLabels() { * map<string, string> labels = 10; */ @java.lang.Override - public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** + * + * *
      * A map of labels to associate with the VM.
      * 
@@ -3042,16 +3360,17 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 10; */ @java.lang.Override - public java.lang.String getLabelsOrDefault( - java.lang.String key, - java.lang.String defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetLabels().getMap(); + java.lang.String key, java.lang.String defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
      * A map of labels to associate with the VM.
      * 
@@ -3059,12 +3378,11 @@ public java.lang.String getLabelsOrDefault( * map<string, string> labels = 10; */ @java.lang.Override - - public java.lang.String getLabelsOrThrow( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetLabels().getMap(); + public java.lang.String getLabelsOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -3072,114 +3390,127 @@ public java.lang.String getLabelsOrThrow( } public Builder clearLabels() { - internalGetMutableLabels().getMutableMap() - .clear(); + internalGetMutableLabels().getMutableMap().clear(); return this; } /** + * + * *
      * A map of labels to associate with the VM.
      * 
* * map<string, string> labels = 10; */ - - public Builder removeLabels( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - internalGetMutableLabels().getMutableMap() - .remove(key); + public Builder removeLabels(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + internalGetMutableLabels().getMutableMap().remove(key); return this; } - /** - * Use alternate mutation accessors instead. - */ + /** Use alternate mutation accessors instead. */ @java.lang.Deprecated - public java.util.Map - getMutableLabels() { + public java.util.Map getMutableLabels() { return internalGetMutableLabels().getMutableMap(); } /** + * + * *
      * A map of labels to associate with the VM.
      * 
* * map<string, string> labels = 10; */ - public Builder putLabels( - java.lang.String key, - java.lang.String value) { - if (key == null) { throw new NullPointerException("map key"); } + public Builder putLabels(java.lang.String key, java.lang.String value) { + if (key == null) { + throw new NullPointerException("map key"); + } if (value == null) { - throw new NullPointerException("map value"); -} + throw new NullPointerException("map value"); + } - internalGetMutableLabels().getMutableMap() - .put(key, value); + internalGetMutableLabels().getMutableMap().put(key, value); return this; } /** + * + * *
      * A map of labels to associate with the VM.
      * 
* * map<string, string> labels = 10; */ - - public Builder putAllLabels( - java.util.Map values) { - internalGetMutableLabels().getMutableMap() - .putAll(values); + public Builder putAllLabels(java.util.Map values) { + internalGetMutableLabels().getMutableMap().putAll(values); return this; } private int licenseType_ = 0; /** + * + * *
      * The license type to use in OS adaptation.
      * 
* * .google.cloud.vmmigration.v1.ComputeEngineLicenseType license_type = 11; + * * @return The enum numeric value on the wire for licenseType. */ - @java.lang.Override public int getLicenseTypeValue() { + @java.lang.Override + public int getLicenseTypeValue() { return licenseType_; } /** + * + * *
      * The license type to use in OS adaptation.
      * 
* * .google.cloud.vmmigration.v1.ComputeEngineLicenseType license_type = 11; + * * @param value The enum numeric value on the wire for licenseType to set. * @return This builder for chaining. */ public Builder setLicenseTypeValue(int value) { - + licenseType_ = value; onChanged(); return this; } /** + * + * *
      * The license type to use in OS adaptation.
      * 
* * .google.cloud.vmmigration.v1.ComputeEngineLicenseType license_type = 11; + * * @return The licenseType. */ @java.lang.Override public com.google.cloud.vmmigration.v1.ComputeEngineLicenseType getLicenseType() { @SuppressWarnings("deprecation") - com.google.cloud.vmmigration.v1.ComputeEngineLicenseType result = com.google.cloud.vmmigration.v1.ComputeEngineLicenseType.valueOf(licenseType_); - return result == null ? com.google.cloud.vmmigration.v1.ComputeEngineLicenseType.UNRECOGNIZED : result; + com.google.cloud.vmmigration.v1.ComputeEngineLicenseType result = + com.google.cloud.vmmigration.v1.ComputeEngineLicenseType.valueOf(licenseType_); + return result == null + ? com.google.cloud.vmmigration.v1.ComputeEngineLicenseType.UNRECOGNIZED + : result; } /** + * + * *
      * The license type to use in OS adaptation.
      * 
* * .google.cloud.vmmigration.v1.ComputeEngineLicenseType license_type = 11; + * * @param value The licenseType to set. * @return This builder for chaining. */ @@ -3187,21 +3518,24 @@ public Builder setLicenseType(com.google.cloud.vmmigration.v1.ComputeEngineLicen if (value == null) { throw new NullPointerException(); } - + licenseType_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The license type to use in OS adaptation.
      * 
* * .google.cloud.vmmigration.v1.ComputeEngineLicenseType license_type = 11; + * * @return This builder for chaining. */ public Builder clearLicenseType() { - + licenseType_ = 0; onChanged(); return this; @@ -3209,39 +3543,58 @@ public Builder clearLicenseType() { private com.google.cloud.vmmigration.v1.AppliedLicense appliedLicense_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.vmmigration.v1.AppliedLicense, com.google.cloud.vmmigration.v1.AppliedLicense.Builder, com.google.cloud.vmmigration.v1.AppliedLicenseOrBuilder> appliedLicenseBuilder_; + com.google.cloud.vmmigration.v1.AppliedLicense, + com.google.cloud.vmmigration.v1.AppliedLicense.Builder, + com.google.cloud.vmmigration.v1.AppliedLicenseOrBuilder> + appliedLicenseBuilder_; /** + * + * *
      * Output only. The OS license returned from the adaptation module report.
      * 
* - * .google.cloud.vmmigration.v1.AppliedLicense applied_license = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.vmmigration.v1.AppliedLicense applied_license = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the appliedLicense field is set. */ public boolean hasAppliedLicense() { return appliedLicenseBuilder_ != null || appliedLicense_ != null; } /** + * + * *
      * Output only. The OS license returned from the adaptation module report.
      * 
* - * .google.cloud.vmmigration.v1.AppliedLicense applied_license = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.vmmigration.v1.AppliedLicense applied_license = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The appliedLicense. */ public com.google.cloud.vmmigration.v1.AppliedLicense getAppliedLicense() { if (appliedLicenseBuilder_ == null) { - return appliedLicense_ == null ? com.google.cloud.vmmigration.v1.AppliedLicense.getDefaultInstance() : appliedLicense_; + return appliedLicense_ == null + ? com.google.cloud.vmmigration.v1.AppliedLicense.getDefaultInstance() + : appliedLicense_; } else { return appliedLicenseBuilder_.getMessage(); } } /** + * + * *
      * Output only. The OS license returned from the adaptation module report.
      * 
* - * .google.cloud.vmmigration.v1.AppliedLicense applied_license = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.vmmigration.v1.AppliedLicense applied_license = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setAppliedLicense(com.google.cloud.vmmigration.v1.AppliedLicense value) { if (appliedLicenseBuilder_ == null) { @@ -3257,11 +3610,15 @@ public Builder setAppliedLicense(com.google.cloud.vmmigration.v1.AppliedLicense return this; } /** + * + * *
      * Output only. The OS license returned from the adaptation module report.
      * 
* - * .google.cloud.vmmigration.v1.AppliedLicense applied_license = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.vmmigration.v1.AppliedLicense applied_license = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setAppliedLicense( com.google.cloud.vmmigration.v1.AppliedLicense.Builder builderForValue) { @@ -3275,17 +3632,23 @@ public Builder setAppliedLicense( return this; } /** + * + * *
      * Output only. The OS license returned from the adaptation module report.
      * 
* - * .google.cloud.vmmigration.v1.AppliedLicense applied_license = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.vmmigration.v1.AppliedLicense applied_license = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeAppliedLicense(com.google.cloud.vmmigration.v1.AppliedLicense value) { if (appliedLicenseBuilder_ == null) { if (appliedLicense_ != null) { appliedLicense_ = - com.google.cloud.vmmigration.v1.AppliedLicense.newBuilder(appliedLicense_).mergeFrom(value).buildPartial(); + com.google.cloud.vmmigration.v1.AppliedLicense.newBuilder(appliedLicense_) + .mergeFrom(value) + .buildPartial(); } else { appliedLicense_ = value; } @@ -3297,11 +3660,15 @@ public Builder mergeAppliedLicense(com.google.cloud.vmmigration.v1.AppliedLicens return this; } /** + * + * *
      * Output only. The OS license returned from the adaptation module report.
      * 
* - * .google.cloud.vmmigration.v1.AppliedLicense applied_license = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.vmmigration.v1.AppliedLicense applied_license = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearAppliedLicense() { if (appliedLicenseBuilder_ == null) { @@ -3315,48 +3682,64 @@ public Builder clearAppliedLicense() { return this; } /** + * + * *
      * Output only. The OS license returned from the adaptation module report.
      * 
* - * .google.cloud.vmmigration.v1.AppliedLicense applied_license = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.vmmigration.v1.AppliedLicense applied_license = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.vmmigration.v1.AppliedLicense.Builder getAppliedLicenseBuilder() { - + onChanged(); return getAppliedLicenseFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The OS license returned from the adaptation module report.
      * 
* - * .google.cloud.vmmigration.v1.AppliedLicense applied_license = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.vmmigration.v1.AppliedLicense applied_license = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.vmmigration.v1.AppliedLicenseOrBuilder getAppliedLicenseOrBuilder() { if (appliedLicenseBuilder_ != null) { return appliedLicenseBuilder_.getMessageOrBuilder(); } else { - return appliedLicense_ == null ? - com.google.cloud.vmmigration.v1.AppliedLicense.getDefaultInstance() : appliedLicense_; + return appliedLicense_ == null + ? com.google.cloud.vmmigration.v1.AppliedLicense.getDefaultInstance() + : appliedLicense_; } } /** + * + * *
      * Output only. The OS license returned from the adaptation module report.
      * 
* - * .google.cloud.vmmigration.v1.AppliedLicense applied_license = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.vmmigration.v1.AppliedLicense applied_license = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.vmmigration.v1.AppliedLicense, com.google.cloud.vmmigration.v1.AppliedLicense.Builder, com.google.cloud.vmmigration.v1.AppliedLicenseOrBuilder> + com.google.cloud.vmmigration.v1.AppliedLicense, + com.google.cloud.vmmigration.v1.AppliedLicense.Builder, + com.google.cloud.vmmigration.v1.AppliedLicenseOrBuilder> getAppliedLicenseFieldBuilder() { if (appliedLicenseBuilder_ == null) { - appliedLicenseBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.vmmigration.v1.AppliedLicense, com.google.cloud.vmmigration.v1.AppliedLicense.Builder, com.google.cloud.vmmigration.v1.AppliedLicenseOrBuilder>( - getAppliedLicense(), - getParentForChildren(), - isClean()); + appliedLicenseBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.vmmigration.v1.AppliedLicense, + com.google.cloud.vmmigration.v1.AppliedLicense.Builder, + com.google.cloud.vmmigration.v1.AppliedLicenseOrBuilder>( + getAppliedLicense(), getParentForChildren(), isClean()); appliedLicense_ = null; } return appliedLicenseBuilder_; @@ -3364,34 +3747,47 @@ public com.google.cloud.vmmigration.v1.AppliedLicenseOrBuilder getAppliedLicense private com.google.cloud.vmmigration.v1.ComputeScheduling computeScheduling_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.vmmigration.v1.ComputeScheduling, com.google.cloud.vmmigration.v1.ComputeScheduling.Builder, com.google.cloud.vmmigration.v1.ComputeSchedulingOrBuilder> computeSchedulingBuilder_; + com.google.cloud.vmmigration.v1.ComputeScheduling, + com.google.cloud.vmmigration.v1.ComputeScheduling.Builder, + com.google.cloud.vmmigration.v1.ComputeSchedulingOrBuilder> + computeSchedulingBuilder_; /** + * + * *
      * Compute instance scheduling information (if empty default is used).
      * 
* * .google.cloud.vmmigration.v1.ComputeScheduling compute_scheduling = 13; + * * @return Whether the computeScheduling field is set. */ public boolean hasComputeScheduling() { return computeSchedulingBuilder_ != null || computeScheduling_ != null; } /** + * + * *
      * Compute instance scheduling information (if empty default is used).
      * 
* * .google.cloud.vmmigration.v1.ComputeScheduling compute_scheduling = 13; + * * @return The computeScheduling. */ public com.google.cloud.vmmigration.v1.ComputeScheduling getComputeScheduling() { if (computeSchedulingBuilder_ == null) { - return computeScheduling_ == null ? com.google.cloud.vmmigration.v1.ComputeScheduling.getDefaultInstance() : computeScheduling_; + return computeScheduling_ == null + ? com.google.cloud.vmmigration.v1.ComputeScheduling.getDefaultInstance() + : computeScheduling_; } else { return computeSchedulingBuilder_.getMessage(); } } /** + * + * *
      * Compute instance scheduling information (if empty default is used).
      * 
@@ -3412,6 +3808,8 @@ public Builder setComputeScheduling(com.google.cloud.vmmigration.v1.ComputeSched return this; } /** + * + * *
      * Compute instance scheduling information (if empty default is used).
      * 
@@ -3430,6 +3828,8 @@ public Builder setComputeScheduling( return this; } /** + * + * *
      * Compute instance scheduling information (if empty default is used).
      * 
@@ -3440,7 +3840,9 @@ public Builder mergeComputeScheduling(com.google.cloud.vmmigration.v1.ComputeSch if (computeSchedulingBuilder_ == null) { if (computeScheduling_ != null) { computeScheduling_ = - com.google.cloud.vmmigration.v1.ComputeScheduling.newBuilder(computeScheduling_).mergeFrom(value).buildPartial(); + com.google.cloud.vmmigration.v1.ComputeScheduling.newBuilder(computeScheduling_) + .mergeFrom(value) + .buildPartial(); } else { computeScheduling_ = value; } @@ -3452,6 +3854,8 @@ public Builder mergeComputeScheduling(com.google.cloud.vmmigration.v1.ComputeSch return this; } /** + * + * *
      * Compute instance scheduling information (if empty default is used).
      * 
@@ -3470,6 +3874,8 @@ public Builder clearComputeScheduling() { return this; } /** + * + * *
      * Compute instance scheduling information (if empty default is used).
      * 
@@ -3477,26 +3883,32 @@ public Builder clearComputeScheduling() { * .google.cloud.vmmigration.v1.ComputeScheduling compute_scheduling = 13; */ public com.google.cloud.vmmigration.v1.ComputeScheduling.Builder getComputeSchedulingBuilder() { - + onChanged(); return getComputeSchedulingFieldBuilder().getBuilder(); } /** + * + * *
      * Compute instance scheduling information (if empty default is used).
      * 
* * .google.cloud.vmmigration.v1.ComputeScheduling compute_scheduling = 13; */ - public com.google.cloud.vmmigration.v1.ComputeSchedulingOrBuilder getComputeSchedulingOrBuilder() { + public com.google.cloud.vmmigration.v1.ComputeSchedulingOrBuilder + getComputeSchedulingOrBuilder() { if (computeSchedulingBuilder_ != null) { return computeSchedulingBuilder_.getMessageOrBuilder(); } else { - return computeScheduling_ == null ? - com.google.cloud.vmmigration.v1.ComputeScheduling.getDefaultInstance() : computeScheduling_; + return computeScheduling_ == null + ? com.google.cloud.vmmigration.v1.ComputeScheduling.getDefaultInstance() + : computeScheduling_; } } /** + * + * *
      * Compute instance scheduling information (if empty default is used).
      * 
@@ -3504,27 +3916,33 @@ public com.google.cloud.vmmigration.v1.ComputeSchedulingOrBuilder getComputeSche * .google.cloud.vmmigration.v1.ComputeScheduling compute_scheduling = 13; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.vmmigration.v1.ComputeScheduling, com.google.cloud.vmmigration.v1.ComputeScheduling.Builder, com.google.cloud.vmmigration.v1.ComputeSchedulingOrBuilder> + com.google.cloud.vmmigration.v1.ComputeScheduling, + com.google.cloud.vmmigration.v1.ComputeScheduling.Builder, + com.google.cloud.vmmigration.v1.ComputeSchedulingOrBuilder> getComputeSchedulingFieldBuilder() { if (computeSchedulingBuilder_ == null) { - computeSchedulingBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.vmmigration.v1.ComputeScheduling, com.google.cloud.vmmigration.v1.ComputeScheduling.Builder, com.google.cloud.vmmigration.v1.ComputeSchedulingOrBuilder>( - getComputeScheduling(), - getParentForChildren(), - isClean()); + computeSchedulingBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.vmmigration.v1.ComputeScheduling, + com.google.cloud.vmmigration.v1.ComputeScheduling.Builder, + com.google.cloud.vmmigration.v1.ComputeSchedulingOrBuilder>( + getComputeScheduling(), getParentForChildren(), isClean()); computeScheduling_ = null; } return computeSchedulingBuilder_; } - private boolean secureBoot_ ; + private boolean secureBoot_; /** + * + * *
      * Defines whether the instance has Secure Boot enabled.
      * This can be set to true only if the vm boot option is EFI.
      * 
* * bool secure_boot = 14; + * * @return The secureBoot. */ @java.lang.Override @@ -3532,32 +3950,38 @@ public boolean getSecureBoot() { return secureBoot_; } /** + * + * *
      * Defines whether the instance has Secure Boot enabled.
      * This can be set to true only if the vm boot option is EFI.
      * 
* * bool secure_boot = 14; + * * @param value The secureBoot to set. * @return This builder for chaining. */ public Builder setSecureBoot(boolean value) { - + secureBoot_ = value; onChanged(); return this; } /** + * + * *
      * Defines whether the instance has Secure Boot enabled.
      * This can be set to true only if the vm boot option is EFI.
      * 
* * bool secure_boot = 14; + * * @return This builder for chaining. */ public Builder clearSecureBoot() { - + secureBoot_ = false; onChanged(); return this; @@ -3565,51 +3989,75 @@ public Builder clearSecureBoot() { private int bootOption_ = 0; /** + * + * *
      * Output only. The VM Boot Option, as set in the source vm.
      * 
* - * .google.cloud.vmmigration.v1.ComputeEngineBootOption boot_option = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.vmmigration.v1.ComputeEngineBootOption boot_option = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for bootOption. */ - @java.lang.Override public int getBootOptionValue() { + @java.lang.Override + public int getBootOptionValue() { return bootOption_; } /** + * + * *
      * Output only. The VM Boot Option, as set in the source vm.
      * 
* - * .google.cloud.vmmigration.v1.ComputeEngineBootOption boot_option = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.vmmigration.v1.ComputeEngineBootOption boot_option = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The enum numeric value on the wire for bootOption to set. * @return This builder for chaining. */ public Builder setBootOptionValue(int value) { - + bootOption_ = value; onChanged(); return this; } /** + * + * *
      * Output only. The VM Boot Option, as set in the source vm.
      * 
* - * .google.cloud.vmmigration.v1.ComputeEngineBootOption boot_option = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.vmmigration.v1.ComputeEngineBootOption boot_option = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The bootOption. */ @java.lang.Override public com.google.cloud.vmmigration.v1.ComputeEngineBootOption getBootOption() { @SuppressWarnings("deprecation") - com.google.cloud.vmmigration.v1.ComputeEngineBootOption result = com.google.cloud.vmmigration.v1.ComputeEngineBootOption.valueOf(bootOption_); - return result == null ? com.google.cloud.vmmigration.v1.ComputeEngineBootOption.UNRECOGNIZED : result; + com.google.cloud.vmmigration.v1.ComputeEngineBootOption result = + com.google.cloud.vmmigration.v1.ComputeEngineBootOption.valueOf(bootOption_); + return result == null + ? com.google.cloud.vmmigration.v1.ComputeEngineBootOption.UNRECOGNIZED + : result; } /** + * + * *
      * Output only. The VM Boot Option, as set in the source vm.
      * 
* - * .google.cloud.vmmigration.v1.ComputeEngineBootOption boot_option = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.vmmigration.v1.ComputeEngineBootOption boot_option = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The bootOption to set. * @return This builder for chaining. */ @@ -3617,42 +4065,47 @@ public Builder setBootOption(com.google.cloud.vmmigration.v1.ComputeEngineBootOp if (value == null) { throw new NullPointerException(); } - + bootOption_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Output only. The VM Boot Option, as set in the source vm.
      * 
* - * .google.cloud.vmmigration.v1.ComputeEngineBootOption boot_option = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.vmmigration.v1.ComputeEngineBootOption boot_option = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearBootOption() { - + bootOption_ = 0; onChanged(); return this; } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> metadata_; - private com.google.protobuf.MapField - internalGetMetadata() { + private com.google.protobuf.MapField metadata_; + + private com.google.protobuf.MapField internalGetMetadata() { if (metadata_ == null) { - return com.google.protobuf.MapField.emptyMapField( - MetadataDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(MetadataDefaultEntryHolder.defaultEntry); } return metadata_; } + private com.google.protobuf.MapField - internalGetMutableMetadata() { - onChanged();; + internalGetMutableMetadata() { + onChanged(); + ; if (metadata_ == null) { - metadata_ = com.google.protobuf.MapField.newMapField( - MetadataDefaultEntryHolder.defaultEntry); + metadata_ = + com.google.protobuf.MapField.newMapField(MetadataDefaultEntryHolder.defaultEntry); } if (!metadata_.isMutable()) { metadata_ = metadata_.copy(); @@ -3664,28 +4117,30 @@ public int getMetadataCount() { return internalGetMetadata().getMap().size(); } /** + * + * *
      * The metadata key/value pairs to assign to the VM.
      * 
* * map<string, string> metadata = 16; */ - @java.lang.Override - public boolean containsMetadata( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsMetadata(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetMetadata().getMap().containsKey(key); } - /** - * Use {@link #getMetadataMap()} instead. - */ + /** Use {@link #getMetadataMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getMetadata() { return getMetadataMap(); } /** + * + * *
      * The metadata key/value pairs to assign to the VM.
      * 
@@ -3693,11 +4148,12 @@ public java.util.Map getMetadata() { * map<string, string> metadata = 16; */ @java.lang.Override - public java.util.Map getMetadataMap() { return internalGetMetadata().getMap(); } /** + * + * *
      * The metadata key/value pairs to assign to the VM.
      * 
@@ -3705,16 +4161,17 @@ public java.util.Map getMetadataMap() { * map<string, string> metadata = 16; */ @java.lang.Override - public java.lang.String getMetadataOrDefault( - java.lang.String key, - java.lang.String defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetMetadata().getMap(); + java.lang.String key, java.lang.String defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetMetadata().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
      * The metadata key/value pairs to assign to the VM.
      * 
@@ -3722,12 +4179,11 @@ public java.lang.String getMetadataOrDefault( * map<string, string> metadata = 16; */ @java.lang.Override - - public java.lang.String getMetadataOrThrow( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetMetadata().getMap(); + public java.lang.String getMetadataOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetMetadata().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -3735,103 +4191,110 @@ public java.lang.String getMetadataOrThrow( } public Builder clearMetadata() { - internalGetMutableMetadata().getMutableMap() - .clear(); + internalGetMutableMetadata().getMutableMap().clear(); return this; } /** + * + * *
      * The metadata key/value pairs to assign to the VM.
      * 
* * map<string, string> metadata = 16; */ - - public Builder removeMetadata( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - internalGetMutableMetadata().getMutableMap() - .remove(key); + public Builder removeMetadata(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + internalGetMutableMetadata().getMutableMap().remove(key); return this; } - /** - * Use alternate mutation accessors instead. - */ + /** Use alternate mutation accessors instead. */ @java.lang.Deprecated - public java.util.Map - getMutableMetadata() { + public java.util.Map getMutableMetadata() { return internalGetMutableMetadata().getMutableMap(); } /** + * + * *
      * The metadata key/value pairs to assign to the VM.
      * 
* * map<string, string> metadata = 16; */ - public Builder putMetadata( - java.lang.String key, - java.lang.String value) { - if (key == null) { throw new NullPointerException("map key"); } + public Builder putMetadata(java.lang.String key, java.lang.String value) { + if (key == null) { + throw new NullPointerException("map key"); + } if (value == null) { - throw new NullPointerException("map value"); -} + throw new NullPointerException("map value"); + } - internalGetMutableMetadata().getMutableMap() - .put(key, value); + internalGetMutableMetadata().getMutableMap().put(key, value); return this; } /** + * + * *
      * The metadata key/value pairs to assign to the VM.
      * 
* * map<string, string> metadata = 16; */ - - public Builder putAllMetadata( - java.util.Map values) { - internalGetMutableMetadata().getMutableMap() - .putAll(values); + public Builder putAllMetadata(java.util.Map values) { + internalGetMutableMetadata().getMutableMap().putAll(values); return this; } - private com.google.protobuf.LazyStringList additionalLicenses_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList additionalLicenses_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureAdditionalLicensesIsMutable() { if (!((bitField0_ & 0x00000010) != 0)) { additionalLicenses_ = new com.google.protobuf.LazyStringArrayList(additionalLicenses_); bitField0_ |= 0x00000010; - } + } } /** + * + * *
      * Additional licenses to assign to the VM.
      * 
* * repeated string additional_licenses = 17; + * * @return A list containing the additionalLicenses. */ - public com.google.protobuf.ProtocolStringList - getAdditionalLicensesList() { + public com.google.protobuf.ProtocolStringList getAdditionalLicensesList() { return additionalLicenses_.getUnmodifiableView(); } /** + * + * *
      * Additional licenses to assign to the VM.
      * 
* * repeated string additional_licenses = 17; + * * @return The count of additionalLicenses. */ public int getAdditionalLicensesCount() { return additionalLicenses_.size(); } /** + * + * *
      * Additional licenses to assign to the VM.
      * 
* * repeated string additional_licenses = 17; + * * @param index The index of the element to return. * @return The additionalLicenses at the given index. */ @@ -3839,80 +4302,90 @@ public java.lang.String getAdditionalLicenses(int index) { return additionalLicenses_.get(index); } /** + * + * *
      * Additional licenses to assign to the VM.
      * 
* * repeated string additional_licenses = 17; + * * @param index The index of the value to return. * @return The bytes of the additionalLicenses at the given index. */ - public com.google.protobuf.ByteString - getAdditionalLicensesBytes(int index) { + public com.google.protobuf.ByteString getAdditionalLicensesBytes(int index) { return additionalLicenses_.getByteString(index); } /** + * + * *
      * Additional licenses to assign to the VM.
      * 
* * repeated string additional_licenses = 17; + * * @param index The index to set the value at. * @param value The additionalLicenses to set. * @return This builder for chaining. */ - public Builder setAdditionalLicenses( - int index, java.lang.String value) { + public Builder setAdditionalLicenses(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureAdditionalLicensesIsMutable(); + throw new NullPointerException(); + } + ensureAdditionalLicensesIsMutable(); additionalLicenses_.set(index, value); onChanged(); return this; } /** + * + * *
      * Additional licenses to assign to the VM.
      * 
* * repeated string additional_licenses = 17; + * * @param value The additionalLicenses to add. * @return This builder for chaining. */ - public Builder addAdditionalLicenses( - java.lang.String value) { + public Builder addAdditionalLicenses(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureAdditionalLicensesIsMutable(); + throw new NullPointerException(); + } + ensureAdditionalLicensesIsMutable(); additionalLicenses_.add(value); onChanged(); return this; } /** + * + * *
      * Additional licenses to assign to the VM.
      * 
* * repeated string additional_licenses = 17; + * * @param values The additionalLicenses to add. * @return This builder for chaining. */ - public Builder addAllAdditionalLicenses( - java.lang.Iterable values) { + public Builder addAllAdditionalLicenses(java.lang.Iterable values) { ensureAdditionalLicensesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, additionalLicenses_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, additionalLicenses_); onChanged(); return this; } /** + * + * *
      * Additional licenses to assign to the VM.
      * 
* * repeated string additional_licenses = 17; + * * @return This builder for chaining. */ public Builder clearAdditionalLicenses() { @@ -3922,20 +4395,22 @@ public Builder clearAdditionalLicenses() { return this; } /** + * + * *
      * Additional licenses to assign to the VM.
      * 
* * repeated string additional_licenses = 17; + * * @param value The bytes of the additionalLicenses to add. * @return This builder for chaining. */ - public Builder addAdditionalLicensesBytes( - com.google.protobuf.ByteString value) { + public Builder addAdditionalLicensesBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureAdditionalLicensesIsMutable(); additionalLicenses_.add(value); onChanged(); @@ -3944,18 +4419,20 @@ public Builder addAdditionalLicensesBytes( private java.lang.Object hostname_ = ""; /** + * + * *
      * The hostname to assign to the VM.
      * 
* * string hostname = 18; + * * @return The hostname. */ public java.lang.String getHostname() { java.lang.Object ref = hostname_; 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(); hostname_ = s; return s; @@ -3964,20 +4441,21 @@ public java.lang.String getHostname() { } } /** + * + * *
      * The hostname to assign to the VM.
      * 
* * string hostname = 18; + * * @return The bytes for hostname. */ - public com.google.protobuf.ByteString - getHostnameBytes() { + public com.google.protobuf.ByteString getHostnameBytes() { java.lang.Object ref = hostname_; 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); hostname_ = b; return b; } else { @@ -3985,61 +4463,68 @@ public java.lang.String getHostname() { } } /** + * + * *
      * The hostname to assign to the VM.
      * 
* * string hostname = 18; + * * @param value The hostname to set. * @return This builder for chaining. */ - public Builder setHostname( - java.lang.String value) { + public Builder setHostname(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + hostname_ = value; onChanged(); return this; } /** + * + * *
      * The hostname to assign to the VM.
      * 
* * string hostname = 18; + * * @return This builder for chaining. */ public Builder clearHostname() { - + hostname_ = getDefaultInstance().getHostname(); onChanged(); return this; } /** + * + * *
      * The hostname to assign to the VM.
      * 
* * string hostname = 18; + * * @param value The bytes for hostname to set. * @return This builder for chaining. */ - public Builder setHostnameBytes( - com.google.protobuf.ByteString value) { + public Builder setHostnameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + hostname_ = 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); } @@ -4049,12 +4534,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.vmmigration.v1.ComputeEngineTargetDefaults) } // @@protoc_insertion_point(class_scope:google.cloud.vmmigration.v1.ComputeEngineTargetDefaults) private static final com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaults DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaults(); } @@ -4063,16 +4548,16 @@ public static com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaults getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ComputeEngineTargetDefaults parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ComputeEngineTargetDefaults(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ComputeEngineTargetDefaults parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ComputeEngineTargetDefaults(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4087,6 +4572,4 @@ public com.google.protobuf.Parser getParserForType( public com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaults getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ComputeEngineTargetDefaultsOrBuilder.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ComputeEngineTargetDefaultsOrBuilder.java similarity index 76% rename from owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ComputeEngineTargetDefaultsOrBuilder.java rename to proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ComputeEngineTargetDefaultsOrBuilder.java index cadc4f6..543f120 100644 --- a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ComputeEngineTargetDefaultsOrBuilder.java +++ b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ComputeEngineTargetDefaultsOrBuilder.java @@ -1,165 +1,219 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; -public interface ComputeEngineTargetDefaultsOrBuilder extends +public interface ComputeEngineTargetDefaultsOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.ComputeEngineTargetDefaults) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The name of the VM to create.
    * 
* * string vm_name = 1; + * * @return The vmName. */ java.lang.String getVmName(); /** + * + * *
    * The name of the VM to create.
    * 
* * string vm_name = 1; + * * @return The bytes for vmName. */ - com.google.protobuf.ByteString - getVmNameBytes(); + com.google.protobuf.ByteString getVmNameBytes(); /** + * + * *
    * The full path of the resource of type TargetProject which represents the
    * Compute Engine project in which to create this VM.
    * 
* * string target_project = 2 [(.google.api.resource_reference) = { ... } + * * @return The targetProject. */ java.lang.String getTargetProject(); /** + * + * *
    * The full path of the resource of type TargetProject which represents the
    * Compute Engine project in which to create this VM.
    * 
* * string target_project = 2 [(.google.api.resource_reference) = { ... } + * * @return The bytes for targetProject. */ - com.google.protobuf.ByteString - getTargetProjectBytes(); + com.google.protobuf.ByteString getTargetProjectBytes(); /** + * + * *
    * The zone in which to create the VM.
    * 
* * string zone = 3; + * * @return The zone. */ java.lang.String getZone(); /** + * + * *
    * The zone in which to create the VM.
    * 
* * string zone = 3; + * * @return The bytes for zone. */ - com.google.protobuf.ByteString - getZoneBytes(); + com.google.protobuf.ByteString getZoneBytes(); /** + * + * *
    * The machine type series to create the VM with.
    * 
* * string machine_type_series = 4; + * * @return The machineTypeSeries. */ java.lang.String getMachineTypeSeries(); /** + * + * *
    * The machine type series to create the VM with.
    * 
* * string machine_type_series = 4; + * * @return The bytes for machineTypeSeries. */ - com.google.protobuf.ByteString - getMachineTypeSeriesBytes(); + com.google.protobuf.ByteString getMachineTypeSeriesBytes(); /** + * + * *
    * The machine type to create the VM with.
    * 
* * string machine_type = 5; + * * @return The machineType. */ java.lang.String getMachineType(); /** + * + * *
    * The machine type to create the VM with.
    * 
* * string machine_type = 5; + * * @return The bytes for machineType. */ - com.google.protobuf.ByteString - getMachineTypeBytes(); + com.google.protobuf.ByteString getMachineTypeBytes(); /** + * + * *
    * A map of network tags to associate with the VM.
    * 
* * repeated string network_tags = 6; + * * @return A list containing the networkTags. */ - java.util.List - getNetworkTagsList(); + java.util.List getNetworkTagsList(); /** + * + * *
    * A map of network tags to associate with the VM.
    * 
* * repeated string network_tags = 6; + * * @return The count of networkTags. */ int getNetworkTagsCount(); /** + * + * *
    * A map of network tags to associate with the VM.
    * 
* * repeated string network_tags = 6; + * * @param index The index of the element to return. * @return The networkTags at the given index. */ java.lang.String getNetworkTags(int index); /** + * + * *
    * A map of network tags to associate with the VM.
    * 
* * repeated string network_tags = 6; + * * @param index The index of the value to return. * @return The bytes of the networkTags at the given index. */ - com.google.protobuf.ByteString - getNetworkTagsBytes(int index); + com.google.protobuf.ByteString getNetworkTagsBytes(int index); /** + * + * *
    * List of NICs connected to this VM.
    * 
* * repeated .google.cloud.vmmigration.v1.NetworkInterface network_interfaces = 7; */ - java.util.List - getNetworkInterfacesList(); + java.util.List getNetworkInterfacesList(); /** + * + * *
    * List of NICs connected to this VM.
    * 
@@ -168,6 +222,8 @@ public interface ComputeEngineTargetDefaultsOrBuilder extends */ com.google.cloud.vmmigration.v1.NetworkInterface getNetworkInterfaces(int index); /** + * + * *
    * List of NICs connected to this VM.
    * 
@@ -176,15 +232,19 @@ public interface ComputeEngineTargetDefaultsOrBuilder extends */ int getNetworkInterfacesCount(); /** + * + * *
    * List of NICs connected to this VM.
    * 
* * repeated .google.cloud.vmmigration.v1.NetworkInterface network_interfaces = 7; */ - java.util.List + java.util.List getNetworkInterfacesOrBuilderList(); /** + * + * *
    * List of NICs connected to this VM.
    * 
@@ -195,45 +255,58 @@ com.google.cloud.vmmigration.v1.NetworkInterfaceOrBuilder getNetworkInterfacesOr int index); /** + * + * *
    * The service account to associate the VM with.
    * 
* * string service_account = 8; + * * @return The serviceAccount. */ java.lang.String getServiceAccount(); /** + * + * *
    * The service account to associate the VM with.
    * 
* * string service_account = 8; + * * @return The bytes for serviceAccount. */ - com.google.protobuf.ByteString - getServiceAccountBytes(); + com.google.protobuf.ByteString getServiceAccountBytes(); /** + * + * *
    * The disk type to use in the VM.
    * 
* * .google.cloud.vmmigration.v1.ComputeEngineDiskType disk_type = 9; + * * @return The enum numeric value on the wire for diskType. */ int getDiskTypeValue(); /** + * + * *
    * The disk type to use in the VM.
    * 
* * .google.cloud.vmmigration.v1.ComputeEngineDiskType disk_type = 9; + * * @return The diskType. */ com.google.cloud.vmmigration.v1.ComputeEngineDiskType getDiskType(); /** + * + * *
    * A map of labels to associate with the VM.
    * 
@@ -242,30 +315,31 @@ com.google.cloud.vmmigration.v1.NetworkInterfaceOrBuilder getNetworkInterfacesOr */ int getLabelsCount(); /** + * + * *
    * A map of labels to associate with the VM.
    * 
* * map<string, string> labels = 10; */ - boolean containsLabels( - java.lang.String key); - /** - * Use {@link #getLabelsMap()} instead. - */ + boolean containsLabels(java.lang.String key); + /** Use {@link #getLabelsMap()} instead. */ @java.lang.Deprecated - java.util.Map - getLabels(); + java.util.Map getLabels(); /** + * + * *
    * A map of labels to associate with the VM.
    * 
* * map<string, string> labels = 10; */ - java.util.Map - getLabelsMap(); + java.util.Map getLabelsMap(); /** + * + * *
    * A map of labels to associate with the VM.
    * 
@@ -274,86 +348,114 @@ boolean containsLabels( */ /* nullable */ -java.lang.String getLabelsOrDefault( + java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ -java.lang.String defaultValue); + java.lang.String defaultValue); /** + * + * *
    * A map of labels to associate with the VM.
    * 
* * map<string, string> labels = 10; */ - - java.lang.String getLabelsOrThrow( - java.lang.String key); + java.lang.String getLabelsOrThrow(java.lang.String key); /** + * + * *
    * The license type to use in OS adaptation.
    * 
* * .google.cloud.vmmigration.v1.ComputeEngineLicenseType license_type = 11; + * * @return The enum numeric value on the wire for licenseType. */ int getLicenseTypeValue(); /** + * + * *
    * The license type to use in OS adaptation.
    * 
* * .google.cloud.vmmigration.v1.ComputeEngineLicenseType license_type = 11; + * * @return The licenseType. */ com.google.cloud.vmmigration.v1.ComputeEngineLicenseType getLicenseType(); /** + * + * *
    * Output only. The OS license returned from the adaptation module report.
    * 
* - * .google.cloud.vmmigration.v1.AppliedLicense applied_license = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.vmmigration.v1.AppliedLicense applied_license = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the appliedLicense field is set. */ boolean hasAppliedLicense(); /** + * + * *
    * Output only. The OS license returned from the adaptation module report.
    * 
* - * .google.cloud.vmmigration.v1.AppliedLicense applied_license = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.vmmigration.v1.AppliedLicense applied_license = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The appliedLicense. */ com.google.cloud.vmmigration.v1.AppliedLicense getAppliedLicense(); /** + * + * *
    * Output only. The OS license returned from the adaptation module report.
    * 
* - * .google.cloud.vmmigration.v1.AppliedLicense applied_license = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.vmmigration.v1.AppliedLicense applied_license = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.cloud.vmmigration.v1.AppliedLicenseOrBuilder getAppliedLicenseOrBuilder(); /** + * + * *
    * Compute instance scheduling information (if empty default is used).
    * 
* * .google.cloud.vmmigration.v1.ComputeScheduling compute_scheduling = 13; + * * @return Whether the computeScheduling field is set. */ boolean hasComputeScheduling(); /** + * + * *
    * Compute instance scheduling information (if empty default is used).
    * 
* * .google.cloud.vmmigration.v1.ComputeScheduling compute_scheduling = 13; + * * @return The computeScheduling. */ com.google.cloud.vmmigration.v1.ComputeScheduling getComputeScheduling(); /** + * + * *
    * Compute instance scheduling information (if empty default is used).
    * 
@@ -363,36 +465,51 @@ java.lang.String getLabelsOrThrow( com.google.cloud.vmmigration.v1.ComputeSchedulingOrBuilder getComputeSchedulingOrBuilder(); /** + * + * *
    * Defines whether the instance has Secure Boot enabled.
    * This can be set to true only if the vm boot option is EFI.
    * 
* * bool secure_boot = 14; + * * @return The secureBoot. */ boolean getSecureBoot(); /** + * + * *
    * Output only. The VM Boot Option, as set in the source vm.
    * 
* - * .google.cloud.vmmigration.v1.ComputeEngineBootOption boot_option = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.vmmigration.v1.ComputeEngineBootOption boot_option = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for bootOption. */ int getBootOptionValue(); /** + * + * *
    * Output only. The VM Boot Option, as set in the source vm.
    * 
* - * .google.cloud.vmmigration.v1.ComputeEngineBootOption boot_option = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.vmmigration.v1.ComputeEngineBootOption boot_option = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The bootOption. */ com.google.cloud.vmmigration.v1.ComputeEngineBootOption getBootOption(); /** + * + * *
    * The metadata key/value pairs to assign to the VM.
    * 
@@ -401,30 +518,31 @@ java.lang.String getLabelsOrThrow( */ int getMetadataCount(); /** + * + * *
    * The metadata key/value pairs to assign to the VM.
    * 
* * map<string, string> metadata = 16; */ - boolean containsMetadata( - java.lang.String key); - /** - * Use {@link #getMetadataMap()} instead. - */ + boolean containsMetadata(java.lang.String key); + /** Use {@link #getMetadataMap()} instead. */ @java.lang.Deprecated - java.util.Map - getMetadata(); + java.util.Map getMetadata(); /** + * + * *
    * The metadata key/value pairs to assign to the VM.
    * 
* * map<string, string> metadata = 16; */ - java.util.Map - getMetadataMap(); + java.util.Map getMetadataMap(); /** + * + * *
    * The metadata key/value pairs to assign to the VM.
    * 
@@ -433,79 +551,94 @@ boolean containsMetadata( */ /* nullable */ -java.lang.String getMetadataOrDefault( + java.lang.String getMetadataOrDefault( java.lang.String key, /* nullable */ -java.lang.String defaultValue); + java.lang.String defaultValue); /** + * + * *
    * The metadata key/value pairs to assign to the VM.
    * 
* * map<string, string> metadata = 16; */ - - java.lang.String getMetadataOrThrow( - java.lang.String key); + java.lang.String getMetadataOrThrow(java.lang.String key); /** + * + * *
    * Additional licenses to assign to the VM.
    * 
* * repeated string additional_licenses = 17; + * * @return A list containing the additionalLicenses. */ - java.util.List - getAdditionalLicensesList(); + java.util.List getAdditionalLicensesList(); /** + * + * *
    * Additional licenses to assign to the VM.
    * 
* * repeated string additional_licenses = 17; + * * @return The count of additionalLicenses. */ int getAdditionalLicensesCount(); /** + * + * *
    * Additional licenses to assign to the VM.
    * 
* * repeated string additional_licenses = 17; + * * @param index The index of the element to return. * @return The additionalLicenses at the given index. */ java.lang.String getAdditionalLicenses(int index); /** + * + * *
    * Additional licenses to assign to the VM.
    * 
* * repeated string additional_licenses = 17; + * * @param index The index of the value to return. * @return The bytes of the additionalLicenses at the given index. */ - com.google.protobuf.ByteString - getAdditionalLicensesBytes(int index); + com.google.protobuf.ByteString getAdditionalLicensesBytes(int index); /** + * + * *
    * The hostname to assign to the VM.
    * 
* * string hostname = 18; + * * @return The hostname. */ java.lang.String getHostname(); /** + * + * *
    * The hostname to assign to the VM.
    * 
* * string hostname = 18; + * * @return The bytes for hostname. */ - com.google.protobuf.ByteString - getHostnameBytes(); + com.google.protobuf.ByteString getHostnameBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ComputeEngineTargetDetails.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ComputeEngineTargetDetails.java similarity index 70% rename from owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ComputeEngineTargetDetails.java rename to proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ComputeEngineTargetDetails.java index c2b6c67..840238f 100644 --- a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ComputeEngineTargetDetails.java +++ b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ComputeEngineTargetDetails.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; /** + * + * *
  * ComputeEngineTargetDetails is a collection of details for creating a VM in a
  * target Compute Engine project.
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.cloud.vmmigration.v1.ComputeEngineTargetDetails}
  */
-public final class ComputeEngineTargetDetails extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class ComputeEngineTargetDetails extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.vmmigration.v1.ComputeEngineTargetDetails)
     ComputeEngineTargetDetailsOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use ComputeEngineTargetDetails.newBuilder() to construct.
   private ComputeEngineTargetDetails(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private ComputeEngineTargetDetails() {
     vmName_ = "";
     project_ = "";
@@ -38,16 +56,15 @@ private ComputeEngineTargetDetails() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ComputeEngineTargetDetails();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private ComputeEngineTargetDetails(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -67,157 +84,182 @@ private ComputeEngineTargetDetails(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            vmName_ = s;
-            break;
-          }
-          case 18: {
-            java.lang.String s = input.readStringRequireUtf8();
+              vmName_ = s;
+              break;
+            }
+          case 18:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            project_ = s;
-            break;
-          }
-          case 26: {
-            java.lang.String s = input.readStringRequireUtf8();
+              project_ = s;
+              break;
+            }
+          case 26:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            zone_ = s;
-            break;
-          }
-          case 34: {
-            java.lang.String s = input.readStringRequireUtf8();
+              zone_ = s;
+              break;
+            }
+          case 34:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            machineTypeSeries_ = s;
-            break;
-          }
-          case 42: {
-            java.lang.String s = input.readStringRequireUtf8();
+              machineTypeSeries_ = s;
+              break;
+            }
+          case 42:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            machineType_ = s;
-            break;
-          }
-          case 50: {
-            java.lang.String s = input.readStringRequireUtf8();
-            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-              networkTags_ = new com.google.protobuf.LazyStringArrayList();
-              mutable_bitField0_ |= 0x00000001;
+              machineType_ = s;
+              break;
             }
-            networkTags_.add(s);
-            break;
-          }
-          case 58: {
-            if (!((mutable_bitField0_ & 0x00000002) != 0)) {
-              networkInterfaces_ = new java.util.ArrayList();
-              mutable_bitField0_ |= 0x00000002;
+          case 50:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
+              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                networkTags_ = new com.google.protobuf.LazyStringArrayList();
+                mutable_bitField0_ |= 0x00000001;
+              }
+              networkTags_.add(s);
+              break;
             }
-            networkInterfaces_.add(
-                input.readMessage(com.google.cloud.vmmigration.v1.NetworkInterface.parser(), extensionRegistry));
-            break;
-          }
-          case 66: {
-            java.lang.String s = input.readStringRequireUtf8();
-
-            serviceAccount_ = s;
-            break;
-          }
-          case 72: {
-            int rawValue = input.readEnum();
+          case 58:
+            {
+              if (!((mutable_bitField0_ & 0x00000002) != 0)) {
+                networkInterfaces_ =
+                    new java.util.ArrayList();
+                mutable_bitField0_ |= 0x00000002;
+              }
+              networkInterfaces_.add(
+                  input.readMessage(
+                      com.google.cloud.vmmigration.v1.NetworkInterface.parser(),
+                      extensionRegistry));
+              break;
+            }
+          case 66:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            diskType_ = rawValue;
-            break;
-          }
-          case 82: {
-            if (!((mutable_bitField0_ & 0x00000004) != 0)) {
-              labels_ = com.google.protobuf.MapField.newMapField(
-                  LabelsDefaultEntryHolder.defaultEntry);
-              mutable_bitField0_ |= 0x00000004;
+              serviceAccount_ = s;
+              break;
             }
-            com.google.protobuf.MapEntry
-            labels__ = input.readMessage(
-                LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-            labels_.getMutableMap().put(
-                labels__.getKey(), labels__.getValue());
-            break;
-          }
-          case 88: {
-            int rawValue = input.readEnum();
+          case 72:
+            {
+              int rawValue = input.readEnum();
 
-            licenseType_ = rawValue;
-            break;
-          }
-          case 98: {
-            com.google.cloud.vmmigration.v1.AppliedLicense.Builder subBuilder = null;
-            if (appliedLicense_ != null) {
-              subBuilder = appliedLicense_.toBuilder();
+              diskType_ = rawValue;
+              break;
             }
-            appliedLicense_ = input.readMessage(com.google.cloud.vmmigration.v1.AppliedLicense.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(appliedLicense_);
-              appliedLicense_ = subBuilder.buildPartial();
+          case 82:
+            {
+              if (!((mutable_bitField0_ & 0x00000004) != 0)) {
+                labels_ =
+                    com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry);
+                mutable_bitField0_ |= 0x00000004;
+              }
+              com.google.protobuf.MapEntry labels__ =
+                  input.readMessage(
+                      LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+              labels_.getMutableMap().put(labels__.getKey(), labels__.getValue());
+              break;
             }
+          case 88:
+            {
+              int rawValue = input.readEnum();
 
-            break;
-          }
-          case 106: {
-            com.google.cloud.vmmigration.v1.ComputeScheduling.Builder subBuilder = null;
-            if (computeScheduling_ != null) {
-              subBuilder = computeScheduling_.toBuilder();
+              licenseType_ = rawValue;
+              break;
             }
-            computeScheduling_ = input.readMessage(com.google.cloud.vmmigration.v1.ComputeScheduling.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(computeScheduling_);
-              computeScheduling_ = subBuilder.buildPartial();
+          case 98:
+            {
+              com.google.cloud.vmmigration.v1.AppliedLicense.Builder subBuilder = null;
+              if (appliedLicense_ != null) {
+                subBuilder = appliedLicense_.toBuilder();
+              }
+              appliedLicense_ =
+                  input.readMessage(
+                      com.google.cloud.vmmigration.v1.AppliedLicense.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(appliedLicense_);
+                appliedLicense_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
+          case 106:
+            {
+              com.google.cloud.vmmigration.v1.ComputeScheduling.Builder subBuilder = null;
+              if (computeScheduling_ != null) {
+                subBuilder = computeScheduling_.toBuilder();
+              }
+              computeScheduling_ =
+                  input.readMessage(
+                      com.google.cloud.vmmigration.v1.ComputeScheduling.parser(),
+                      extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(computeScheduling_);
+                computeScheduling_ = subBuilder.buildPartial();
+              }
+
+              break;
+            }
+          case 112:
+            {
+              secureBoot_ = input.readBool();
+              break;
+            }
+          case 120:
+            {
+              int rawValue = input.readEnum();
 
-            break;
-          }
-          case 112: {
-
-            secureBoot_ = input.readBool();
-            break;
-          }
-          case 120: {
-            int rawValue = input.readEnum();
-
-            bootOption_ = rawValue;
-            break;
-          }
-          case 130: {
-            if (!((mutable_bitField0_ & 0x00000008) != 0)) {
-              metadata_ = com.google.protobuf.MapField.newMapField(
-                  MetadataDefaultEntryHolder.defaultEntry);
-              mutable_bitField0_ |= 0x00000008;
+              bootOption_ = rawValue;
+              break;
             }
-            com.google.protobuf.MapEntry
-            metadata__ = input.readMessage(
-                MetadataDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-            metadata_.getMutableMap().put(
-                metadata__.getKey(), metadata__.getValue());
-            break;
-          }
-          case 138: {
-            java.lang.String s = input.readStringRequireUtf8();
-            if (!((mutable_bitField0_ & 0x00000010) != 0)) {
-              additionalLicenses_ = new com.google.protobuf.LazyStringArrayList();
-              mutable_bitField0_ |= 0x00000010;
+          case 130:
+            {
+              if (!((mutable_bitField0_ & 0x00000008) != 0)) {
+                metadata_ =
+                    com.google.protobuf.MapField.newMapField(
+                        MetadataDefaultEntryHolder.defaultEntry);
+                mutable_bitField0_ |= 0x00000008;
+              }
+              com.google.protobuf.MapEntry metadata__ =
+                  input.readMessage(
+                      MetadataDefaultEntryHolder.defaultEntry.getParserForType(),
+                      extensionRegistry);
+              metadata_.getMutableMap().put(metadata__.getKey(), metadata__.getValue());
+              break;
             }
-            additionalLicenses_.add(s);
-            break;
-          }
-          case 146: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 138:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
+              if (!((mutable_bitField0_ & 0x00000010) != 0)) {
+                additionalLicenses_ = new com.google.protobuf.LazyStringArrayList();
+                mutable_bitField0_ |= 0x00000010;
+              }
+              additionalLicenses_.add(s);
+              break;
+            }
+          case 146:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            hostname_ = s;
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              hostname_ = s;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -225,8 +267,7 @@ private ComputeEngineTargetDetails(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       if (((mutable_bitField0_ & 0x00000001) != 0)) {
         networkTags_ = networkTags_.getUnmodifiableView();
@@ -241,41 +282,46 @@ private ComputeEngineTargetDetails(
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ComputeEngineTargetDetails_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.vmmigration.v1.VmMigrationProto
+        .internal_static_google_cloud_vmmigration_v1_ComputeEngineTargetDetails_descriptor;
   }
 
   @SuppressWarnings({"rawtypes"})
   @java.lang.Override
-  protected com.google.protobuf.MapField internalGetMapField(
-      int number) {
+  protected com.google.protobuf.MapField internalGetMapField(int number) {
     switch (number) {
       case 10:
         return internalGetLabels();
       case 16:
         return internalGetMetadata();
       default:
-        throw new RuntimeException(
-            "Invalid map field number: " + number);
+        throw new RuntimeException("Invalid map field number: " + number);
     }
   }
+
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ComputeEngineTargetDetails_fieldAccessorTable
+    return com.google.cloud.vmmigration.v1.VmMigrationProto
+        .internal_static_google_cloud_vmmigration_v1_ComputeEngineTargetDetails_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails.class, com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails.Builder.class);
+            com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails.class,
+            com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails.Builder.class);
   }
 
   public static final int VM_NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object vmName_;
   /**
+   *
+   *
    * 
    * The name of the VM to create.
    * 
* * string vm_name = 1; + * * @return The vmName. */ @java.lang.Override @@ -284,29 +330,29 @@ public java.lang.String getVmName() { 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(); vmName_ = s; return s; } } /** + * + * *
    * The name of the VM to create.
    * 
* * string vm_name = 1; + * * @return The bytes for vmName. */ @java.lang.Override - public com.google.protobuf.ByteString - getVmNameBytes() { + public com.google.protobuf.ByteString getVmNameBytes() { java.lang.Object ref = vmName_; 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); vmName_ = b; return b; } else { @@ -317,11 +363,14 @@ public java.lang.String getVmName() { public static final int PROJECT_FIELD_NUMBER = 2; private volatile java.lang.Object project_; /** + * + * *
    * The GCP target project ID or project name.
    * 
* * string project = 2; + * * @return The project. */ @java.lang.Override @@ -330,29 +379,29 @@ public java.lang.String getProject() { 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(); project_ = s; return s; } } /** + * + * *
    * The GCP target project ID or project name.
    * 
* * string project = 2; + * * @return The bytes for project. */ @java.lang.Override - public com.google.protobuf.ByteString - getProjectBytes() { + public com.google.protobuf.ByteString getProjectBytes() { java.lang.Object ref = project_; 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); project_ = b; return b; } else { @@ -363,11 +412,14 @@ public java.lang.String getProject() { public static final int ZONE_FIELD_NUMBER = 3; private volatile java.lang.Object zone_; /** + * + * *
    * The zone in which to create the VM.
    * 
* * string zone = 3; + * * @return The zone. */ @java.lang.Override @@ -376,29 +428,29 @@ public java.lang.String getZone() { 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(); zone_ = s; return s; } } /** + * + * *
    * The zone in which to create the VM.
    * 
* * string zone = 3; + * * @return The bytes for zone. */ @java.lang.Override - public com.google.protobuf.ByteString - getZoneBytes() { + public com.google.protobuf.ByteString getZoneBytes() { java.lang.Object ref = zone_; 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); zone_ = b; return b; } else { @@ -409,11 +461,14 @@ public java.lang.String getZone() { public static final int MACHINE_TYPE_SERIES_FIELD_NUMBER = 4; private volatile java.lang.Object machineTypeSeries_; /** + * + * *
    * The machine type series to create the VM with.
    * 
* * string machine_type_series = 4; + * * @return The machineTypeSeries. */ @java.lang.Override @@ -422,29 +477,29 @@ public java.lang.String getMachineTypeSeries() { 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(); machineTypeSeries_ = s; return s; } } /** + * + * *
    * The machine type series to create the VM with.
    * 
* * string machine_type_series = 4; + * * @return The bytes for machineTypeSeries. */ @java.lang.Override - public com.google.protobuf.ByteString - getMachineTypeSeriesBytes() { + public com.google.protobuf.ByteString getMachineTypeSeriesBytes() { java.lang.Object ref = machineTypeSeries_; 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); machineTypeSeries_ = b; return b; } else { @@ -455,11 +510,14 @@ public java.lang.String getMachineTypeSeries() { public static final int MACHINE_TYPE_FIELD_NUMBER = 5; private volatile java.lang.Object machineType_; /** + * + * *
    * The machine type to create the VM with.
    * 
* * string machine_type = 5; + * * @return The machineType. */ @java.lang.Override @@ -468,29 +526,29 @@ public java.lang.String getMachineType() { 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(); machineType_ = s; return s; } } /** + * + * *
    * The machine type to create the VM with.
    * 
* * string machine_type = 5; + * * @return The bytes for machineType. */ @java.lang.Override - public com.google.protobuf.ByteString - getMachineTypeBytes() { + public com.google.protobuf.ByteString getMachineTypeBytes() { java.lang.Object ref = machineType_; 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); machineType_ = b; return b; } else { @@ -501,34 +559,42 @@ public java.lang.String getMachineType() { public static final int NETWORK_TAGS_FIELD_NUMBER = 6; private com.google.protobuf.LazyStringList networkTags_; /** + * + * *
    * A map of network tags to associate with the VM.
    * 
* * repeated string network_tags = 6; + * * @return A list containing the networkTags. */ - public com.google.protobuf.ProtocolStringList - getNetworkTagsList() { + public com.google.protobuf.ProtocolStringList getNetworkTagsList() { return networkTags_; } /** + * + * *
    * A map of network tags to associate with the VM.
    * 
* * repeated string network_tags = 6; + * * @return The count of networkTags. */ public int getNetworkTagsCount() { return networkTags_.size(); } /** + * + * *
    * A map of network tags to associate with the VM.
    * 
* * repeated string network_tags = 6; + * * @param index The index of the element to return. * @return The networkTags at the given index. */ @@ -536,22 +602,26 @@ public java.lang.String getNetworkTags(int index) { return networkTags_.get(index); } /** + * + * *
    * A map of network tags to associate with the VM.
    * 
* * repeated string network_tags = 6; + * * @param index The index of the value to return. * @return The bytes of the networkTags at the given index. */ - public com.google.protobuf.ByteString - getNetworkTagsBytes(int index) { + public com.google.protobuf.ByteString getNetworkTagsBytes(int index) { return networkTags_.getByteString(index); } public static final int NETWORK_INTERFACES_FIELD_NUMBER = 7; private java.util.List networkInterfaces_; /** + * + * *
    * List of NICs connected to this VM.
    * 
@@ -559,10 +629,13 @@ public java.lang.String getNetworkTags(int index) { * repeated .google.cloud.vmmigration.v1.NetworkInterface network_interfaces = 7; */ @java.lang.Override - public java.util.List getNetworkInterfacesList() { + public java.util.List + getNetworkInterfacesList() { return networkInterfaces_; } /** + * + * *
    * List of NICs connected to this VM.
    * 
@@ -570,11 +643,13 @@ public java.util.List getNetwo * repeated .google.cloud.vmmigration.v1.NetworkInterface network_interfaces = 7; */ @java.lang.Override - public java.util.List + public java.util.List getNetworkInterfacesOrBuilderList() { return networkInterfaces_; } /** + * + * *
    * List of NICs connected to this VM.
    * 
@@ -586,6 +661,8 @@ public int getNetworkInterfacesCount() { return networkInterfaces_.size(); } /** + * + * *
    * List of NICs connected to this VM.
    * 
@@ -597,6 +674,8 @@ public com.google.cloud.vmmigration.v1.NetworkInterface getNetworkInterfaces(int return networkInterfaces_.get(index); } /** + * + * *
    * List of NICs connected to this VM.
    * 
@@ -612,11 +691,14 @@ public com.google.cloud.vmmigration.v1.NetworkInterfaceOrBuilder getNetworkInter public static final int SERVICE_ACCOUNT_FIELD_NUMBER = 8; private volatile java.lang.Object serviceAccount_; /** + * + * *
    * The service account to associate the VM with.
    * 
* * string service_account = 8; + * * @return The serviceAccount. */ @java.lang.Override @@ -625,29 +707,29 @@ public java.lang.String getServiceAccount() { 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(); serviceAccount_ = s; return s; } } /** + * + * *
    * The service account to associate the VM with.
    * 
* * string service_account = 8; + * * @return The bytes for serviceAccount. */ @java.lang.Override - public com.google.protobuf.ByteString - getServiceAccountBytes() { + public com.google.protobuf.ByteString getServiceAccountBytes() { java.lang.Object ref = serviceAccount_; 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); serviceAccount_ = b; return b; } else { @@ -658,49 +740,59 @@ public java.lang.String getServiceAccount() { public static final int DISK_TYPE_FIELD_NUMBER = 9; private int diskType_; /** + * + * *
    * The disk type to use in the VM.
    * 
* * .google.cloud.vmmigration.v1.ComputeEngineDiskType disk_type = 9; + * * @return The enum numeric value on the wire for diskType. */ - @java.lang.Override public int getDiskTypeValue() { + @java.lang.Override + public int getDiskTypeValue() { return diskType_; } /** + * + * *
    * The disk type to use in the VM.
    * 
* * .google.cloud.vmmigration.v1.ComputeEngineDiskType disk_type = 9; + * * @return The diskType. */ - @java.lang.Override public com.google.cloud.vmmigration.v1.ComputeEngineDiskType getDiskType() { + @java.lang.Override + public com.google.cloud.vmmigration.v1.ComputeEngineDiskType getDiskType() { @SuppressWarnings("deprecation") - com.google.cloud.vmmigration.v1.ComputeEngineDiskType result = com.google.cloud.vmmigration.v1.ComputeEngineDiskType.valueOf(diskType_); - return result == null ? com.google.cloud.vmmigration.v1.ComputeEngineDiskType.UNRECOGNIZED : result; + com.google.cloud.vmmigration.v1.ComputeEngineDiskType result = + com.google.cloud.vmmigration.v1.ComputeEngineDiskType.valueOf(diskType_); + return result == null + ? com.google.cloud.vmmigration.v1.ComputeEngineDiskType.UNRECOGNIZED + : result; } public static final int LABELS_FIELD_NUMBER = 10; + private static final class LabelsDefaultEntryHolder { - static final com.google.protobuf.MapEntry< - java.lang.String, java.lang.String> defaultEntry = - com.google.protobuf.MapEntry - .newDefaultInstance( - com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ComputeEngineTargetDetails_LabelsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); - } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> labels_; - private com.google.protobuf.MapField - internalGetLabels() { + static final com.google.protobuf.MapEntry defaultEntry = + com.google.protobuf.MapEntry.newDefaultInstance( + com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_ComputeEngineTargetDetails_LabelsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); + } + + private com.google.protobuf.MapField labels_; + + private com.google.protobuf.MapField internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField( - LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); } return labels_; } @@ -709,28 +801,30 @@ public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** + * + * *
    * A map of labels to associate with the VM.
    * 
* * map<string, string> labels = 10; */ - @java.lang.Override - public boolean containsLabels( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsLabels(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetLabels().getMap().containsKey(key); } - /** - * Use {@link #getLabelsMap()} instead. - */ + /** Use {@link #getLabelsMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getLabels() { return getLabelsMap(); } /** + * + * *
    * A map of labels to associate with the VM.
    * 
@@ -738,11 +832,12 @@ public java.util.Map getLabels() { * map<string, string> labels = 10; */ @java.lang.Override - public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** + * + * *
    * A map of labels to associate with the VM.
    * 
@@ -750,16 +845,16 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 10; */ @java.lang.Override - - public java.lang.String getLabelsOrDefault( - java.lang.String key, - java.lang.String defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetLabels().getMap(); + public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.String defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
    * A map of labels to associate with the VM.
    * 
@@ -767,12 +862,11 @@ public java.lang.String getLabelsOrDefault( * map<string, string> labels = 10; */ @java.lang.Override - - public java.lang.String getLabelsOrThrow( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetLabels().getMap(); + public java.lang.String getLabelsOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -782,38 +876,52 @@ public java.lang.String getLabelsOrThrow( public static final int LICENSE_TYPE_FIELD_NUMBER = 11; private int licenseType_; /** + * + * *
    * The license type to use in OS adaptation.
    * 
* * .google.cloud.vmmigration.v1.ComputeEngineLicenseType license_type = 11; + * * @return The enum numeric value on the wire for licenseType. */ - @java.lang.Override public int getLicenseTypeValue() { + @java.lang.Override + public int getLicenseTypeValue() { return licenseType_; } /** + * + * *
    * The license type to use in OS adaptation.
    * 
* * .google.cloud.vmmigration.v1.ComputeEngineLicenseType license_type = 11; + * * @return The licenseType. */ - @java.lang.Override public com.google.cloud.vmmigration.v1.ComputeEngineLicenseType getLicenseType() { + @java.lang.Override + public com.google.cloud.vmmigration.v1.ComputeEngineLicenseType getLicenseType() { @SuppressWarnings("deprecation") - com.google.cloud.vmmigration.v1.ComputeEngineLicenseType result = com.google.cloud.vmmigration.v1.ComputeEngineLicenseType.valueOf(licenseType_); - return result == null ? com.google.cloud.vmmigration.v1.ComputeEngineLicenseType.UNRECOGNIZED : result; + com.google.cloud.vmmigration.v1.ComputeEngineLicenseType result = + com.google.cloud.vmmigration.v1.ComputeEngineLicenseType.valueOf(licenseType_); + return result == null + ? com.google.cloud.vmmigration.v1.ComputeEngineLicenseType.UNRECOGNIZED + : result; } public static final int APPLIED_LICENSE_FIELD_NUMBER = 12; private com.google.cloud.vmmigration.v1.AppliedLicense appliedLicense_; /** + * + * *
    * The OS license returned from the adaptation module report.
    * 
* * .google.cloud.vmmigration.v1.AppliedLicense applied_license = 12; + * * @return Whether the appliedLicense field is set. */ @java.lang.Override @@ -821,18 +929,25 @@ public boolean hasAppliedLicense() { return appliedLicense_ != null; } /** + * + * *
    * The OS license returned from the adaptation module report.
    * 
* * .google.cloud.vmmigration.v1.AppliedLicense applied_license = 12; + * * @return The appliedLicense. */ @java.lang.Override public com.google.cloud.vmmigration.v1.AppliedLicense getAppliedLicense() { - return appliedLicense_ == null ? com.google.cloud.vmmigration.v1.AppliedLicense.getDefaultInstance() : appliedLicense_; + return appliedLicense_ == null + ? com.google.cloud.vmmigration.v1.AppliedLicense.getDefaultInstance() + : appliedLicense_; } /** + * + * *
    * The OS license returned from the adaptation module report.
    * 
@@ -847,11 +962,14 @@ public com.google.cloud.vmmigration.v1.AppliedLicenseOrBuilder getAppliedLicense public static final int COMPUTE_SCHEDULING_FIELD_NUMBER = 13; private com.google.cloud.vmmigration.v1.ComputeScheduling computeScheduling_; /** + * + * *
    * Compute instance scheduling information (if empty default is used).
    * 
* * .google.cloud.vmmigration.v1.ComputeScheduling compute_scheduling = 13; + * * @return Whether the computeScheduling field is set. */ @java.lang.Override @@ -859,18 +977,25 @@ public boolean hasComputeScheduling() { return computeScheduling_ != null; } /** + * + * *
    * Compute instance scheduling information (if empty default is used).
    * 
* * .google.cloud.vmmigration.v1.ComputeScheduling compute_scheduling = 13; + * * @return The computeScheduling. */ @java.lang.Override public com.google.cloud.vmmigration.v1.ComputeScheduling getComputeScheduling() { - return computeScheduling_ == null ? com.google.cloud.vmmigration.v1.ComputeScheduling.getDefaultInstance() : computeScheduling_; + return computeScheduling_ == null + ? com.google.cloud.vmmigration.v1.ComputeScheduling.getDefaultInstance() + : computeScheduling_; } /** + * + * *
    * Compute instance scheduling information (if empty default is used).
    * 
@@ -878,19 +1003,23 @@ public com.google.cloud.vmmigration.v1.ComputeScheduling getComputeScheduling() * .google.cloud.vmmigration.v1.ComputeScheduling compute_scheduling = 13; */ @java.lang.Override - public com.google.cloud.vmmigration.v1.ComputeSchedulingOrBuilder getComputeSchedulingOrBuilder() { + public com.google.cloud.vmmigration.v1.ComputeSchedulingOrBuilder + getComputeSchedulingOrBuilder() { return getComputeScheduling(); } public static final int SECURE_BOOT_FIELD_NUMBER = 14; private boolean secureBoot_; /** + * + * *
    * Defines whether the instance has Secure Boot enabled.
    * This can be set to true only if the vm boot option is EFI.
    * 
* * bool secure_boot = 14; + * * @return The secureBoot. */ @java.lang.Override @@ -901,49 +1030,59 @@ public boolean getSecureBoot() { public static final int BOOT_OPTION_FIELD_NUMBER = 15; private int bootOption_; /** + * + * *
    * The VM Boot Option, as set in the source vm.
    * 
* * .google.cloud.vmmigration.v1.ComputeEngineBootOption boot_option = 15; + * * @return The enum numeric value on the wire for bootOption. */ - @java.lang.Override public int getBootOptionValue() { + @java.lang.Override + public int getBootOptionValue() { return bootOption_; } /** + * + * *
    * The VM Boot Option, as set in the source vm.
    * 
* * .google.cloud.vmmigration.v1.ComputeEngineBootOption boot_option = 15; + * * @return The bootOption. */ - @java.lang.Override public com.google.cloud.vmmigration.v1.ComputeEngineBootOption getBootOption() { + @java.lang.Override + public com.google.cloud.vmmigration.v1.ComputeEngineBootOption getBootOption() { @SuppressWarnings("deprecation") - com.google.cloud.vmmigration.v1.ComputeEngineBootOption result = com.google.cloud.vmmigration.v1.ComputeEngineBootOption.valueOf(bootOption_); - return result == null ? com.google.cloud.vmmigration.v1.ComputeEngineBootOption.UNRECOGNIZED : result; + com.google.cloud.vmmigration.v1.ComputeEngineBootOption result = + com.google.cloud.vmmigration.v1.ComputeEngineBootOption.valueOf(bootOption_); + return result == null + ? com.google.cloud.vmmigration.v1.ComputeEngineBootOption.UNRECOGNIZED + : result; } public static final int METADATA_FIELD_NUMBER = 16; + private static final class MetadataDefaultEntryHolder { - static final com.google.protobuf.MapEntry< - java.lang.String, java.lang.String> defaultEntry = - com.google.protobuf.MapEntry - .newDefaultInstance( - com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ComputeEngineTargetDetails_MetadataEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); - } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> metadata_; - private com.google.protobuf.MapField - internalGetMetadata() { + static final com.google.protobuf.MapEntry defaultEntry = + com.google.protobuf.MapEntry.newDefaultInstance( + com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_ComputeEngineTargetDetails_MetadataEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); + } + + private com.google.protobuf.MapField metadata_; + + private com.google.protobuf.MapField internalGetMetadata() { if (metadata_ == null) { - return com.google.protobuf.MapField.emptyMapField( - MetadataDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(MetadataDefaultEntryHolder.defaultEntry); } return metadata_; } @@ -952,28 +1091,30 @@ public int getMetadataCount() { return internalGetMetadata().getMap().size(); } /** + * + * *
    * The metadata key/value pairs to assign to the VM.
    * 
* * map<string, string> metadata = 16; */ - @java.lang.Override - public boolean containsMetadata( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsMetadata(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetMetadata().getMap().containsKey(key); } - /** - * Use {@link #getMetadataMap()} instead. - */ + /** Use {@link #getMetadataMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getMetadata() { return getMetadataMap(); } /** + * + * *
    * The metadata key/value pairs to assign to the VM.
    * 
@@ -981,11 +1122,12 @@ public java.util.Map getMetadata() { * map<string, string> metadata = 16; */ @java.lang.Override - public java.util.Map getMetadataMap() { return internalGetMetadata().getMap(); } /** + * + * *
    * The metadata key/value pairs to assign to the VM.
    * 
@@ -993,16 +1135,17 @@ public java.util.Map getMetadataMap() { * map<string, string> metadata = 16; */ @java.lang.Override - public java.lang.String getMetadataOrDefault( - java.lang.String key, - java.lang.String defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetMetadata().getMap(); + java.lang.String key, java.lang.String defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetMetadata().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
    * The metadata key/value pairs to assign to the VM.
    * 
@@ -1010,12 +1153,11 @@ public java.lang.String getMetadataOrDefault( * map<string, string> metadata = 16; */ @java.lang.Override - - public java.lang.String getMetadataOrThrow( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetMetadata().getMap(); + public java.lang.String getMetadataOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetMetadata().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -1025,34 +1167,42 @@ public java.lang.String getMetadataOrThrow( public static final int ADDITIONAL_LICENSES_FIELD_NUMBER = 17; private com.google.protobuf.LazyStringList additionalLicenses_; /** + * + * *
    * Additional licenses to assign to the VM.
    * 
* * repeated string additional_licenses = 17; + * * @return A list containing the additionalLicenses. */ - public com.google.protobuf.ProtocolStringList - getAdditionalLicensesList() { + public com.google.protobuf.ProtocolStringList getAdditionalLicensesList() { return additionalLicenses_; } /** + * + * *
    * Additional licenses to assign to the VM.
    * 
* * repeated string additional_licenses = 17; + * * @return The count of additionalLicenses. */ public int getAdditionalLicensesCount() { return additionalLicenses_.size(); } /** + * + * *
    * Additional licenses to assign to the VM.
    * 
* * repeated string additional_licenses = 17; + * * @param index The index of the element to return. * @return The additionalLicenses at the given index. */ @@ -1060,27 +1210,32 @@ public java.lang.String getAdditionalLicenses(int index) { return additionalLicenses_.get(index); } /** + * + * *
    * Additional licenses to assign to the VM.
    * 
* * repeated string additional_licenses = 17; + * * @param index The index of the value to return. * @return The bytes of the additionalLicenses at the given index. */ - public com.google.protobuf.ByteString - getAdditionalLicensesBytes(int index) { + public com.google.protobuf.ByteString getAdditionalLicensesBytes(int index) { return additionalLicenses_.getByteString(index); } public static final int HOSTNAME_FIELD_NUMBER = 18; private volatile java.lang.Object hostname_; /** + * + * *
    * The hostname to assign to the VM.
    * 
* * string hostname = 18; + * * @return The hostname. */ @java.lang.Override @@ -1089,29 +1244,29 @@ public java.lang.String getHostname() { 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(); hostname_ = s; return s; } } /** + * + * *
    * The hostname to assign to the VM.
    * 
* * string hostname = 18; + * * @return The bytes for hostname. */ @java.lang.Override - public com.google.protobuf.ByteString - getHostnameBytes() { + public com.google.protobuf.ByteString getHostnameBytes() { java.lang.Object ref = hostname_; 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); hostname_ = b; return b; } else { @@ -1120,6 +1275,7 @@ public java.lang.String getHostname() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1131,8 +1287,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(vmName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, vmName_); } @@ -1157,16 +1312,18 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(serviceAccount_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 8, serviceAccount_); } - if (diskType_ != com.google.cloud.vmmigration.v1.ComputeEngineDiskType.COMPUTE_ENGINE_DISK_TYPE_UNSPECIFIED.getNumber()) { + if (diskType_ + != com.google.cloud.vmmigration.v1.ComputeEngineDiskType + .COMPUTE_ENGINE_DISK_TYPE_UNSPECIFIED + .getNumber()) { output.writeEnum(9, diskType_); } - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetLabels(), - LabelsDefaultEntryHolder.defaultEntry, - 10); - if (licenseType_ != com.google.cloud.vmmigration.v1.ComputeEngineLicenseType.COMPUTE_ENGINE_LICENSE_TYPE_DEFAULT.getNumber()) { + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 10); + if (licenseType_ + != com.google.cloud.vmmigration.v1.ComputeEngineLicenseType + .COMPUTE_ENGINE_LICENSE_TYPE_DEFAULT + .getNumber()) { output.writeEnum(11, licenseType_); } if (appliedLicense_ != null) { @@ -1178,15 +1335,14 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (secureBoot_ != false) { output.writeBool(14, secureBoot_); } - if (bootOption_ != com.google.cloud.vmmigration.v1.ComputeEngineBootOption.COMPUTE_ENGINE_BOOT_OPTION_UNSPECIFIED.getNumber()) { + if (bootOption_ + != com.google.cloud.vmmigration.v1.ComputeEngineBootOption + .COMPUTE_ENGINE_BOOT_OPTION_UNSPECIFIED + .getNumber()) { output.writeEnum(15, bootOption_); } - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetMetadata(), - MetadataDefaultEntryHolder.defaultEntry, - 16); + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetMetadata(), MetadataDefaultEntryHolder.defaultEntry, 16); for (int i = 0; i < additionalLicenses_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 17, additionalLicenses_.getRaw(i)); } @@ -1226,55 +1382,58 @@ public int getSerializedSize() { size += 1 * getNetworkTagsList().size(); } for (int i = 0; i < networkInterfaces_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(7, networkInterfaces_.get(i)); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(7, networkInterfaces_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(serviceAccount_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, serviceAccount_); } - if (diskType_ != com.google.cloud.vmmigration.v1.ComputeEngineDiskType.COMPUTE_ENGINE_DISK_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(9, diskType_); - } - for (java.util.Map.Entry entry - : internalGetLabels().getMap().entrySet()) { - com.google.protobuf.MapEntry - labels__ = LabelsDefaultEntryHolder.defaultEntry.newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(10, labels__); - } - if (licenseType_ != com.google.cloud.vmmigration.v1.ComputeEngineLicenseType.COMPUTE_ENGINE_LICENSE_TYPE_DEFAULT.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(11, licenseType_); + if (diskType_ + != com.google.cloud.vmmigration.v1.ComputeEngineDiskType + .COMPUTE_ENGINE_DISK_TYPE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(9, diskType_); + } + for (java.util.Map.Entry entry : + internalGetLabels().getMap().entrySet()) { + com.google.protobuf.MapEntry labels__ = + LabelsDefaultEntryHolder.defaultEntry + .newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(10, labels__); + } + if (licenseType_ + != com.google.cloud.vmmigration.v1.ComputeEngineLicenseType + .COMPUTE_ENGINE_LICENSE_TYPE_DEFAULT + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(11, licenseType_); } if (appliedLicense_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(12, getAppliedLicense()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(12, getAppliedLicense()); } if (computeScheduling_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(13, getComputeScheduling()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(13, getComputeScheduling()); } if (secureBoot_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(14, secureBoot_); - } - if (bootOption_ != com.google.cloud.vmmigration.v1.ComputeEngineBootOption.COMPUTE_ENGINE_BOOT_OPTION_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(15, bootOption_); - } - for (java.util.Map.Entry entry - : internalGetMetadata().getMap().entrySet()) { - com.google.protobuf.MapEntry - metadata__ = MetadataDefaultEntryHolder.defaultEntry.newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(16, metadata__); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(14, secureBoot_); + } + if (bootOption_ + != com.google.cloud.vmmigration.v1.ComputeEngineBootOption + .COMPUTE_ENGINE_BOOT_OPTION_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(15, bootOption_); + } + for (java.util.Map.Entry entry : + internalGetMetadata().getMap().entrySet()) { + com.google.protobuf.MapEntry metadata__ = + MetadataDefaultEntryHolder.defaultEntry + .newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(16, metadata__); } { int dataSize = 0; @@ -1295,52 +1454,38 @@ 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.vmmigration.v1.ComputeEngineTargetDetails)) { return super.equals(obj); } - com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails other = (com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails) obj; - - if (!getVmName() - .equals(other.getVmName())) return false; - if (!getProject() - .equals(other.getProject())) return false; - if (!getZone() - .equals(other.getZone())) return false; - if (!getMachineTypeSeries() - .equals(other.getMachineTypeSeries())) return false; - if (!getMachineType() - .equals(other.getMachineType())) return false; - if (!getNetworkTagsList() - .equals(other.getNetworkTagsList())) return false; - if (!getNetworkInterfacesList() - .equals(other.getNetworkInterfacesList())) return false; - if (!getServiceAccount() - .equals(other.getServiceAccount())) return false; + com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails other = + (com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails) obj; + + if (!getVmName().equals(other.getVmName())) return false; + if (!getProject().equals(other.getProject())) return false; + if (!getZone().equals(other.getZone())) return false; + if (!getMachineTypeSeries().equals(other.getMachineTypeSeries())) return false; + if (!getMachineType().equals(other.getMachineType())) return false; + if (!getNetworkTagsList().equals(other.getNetworkTagsList())) return false; + if (!getNetworkInterfacesList().equals(other.getNetworkInterfacesList())) return false; + if (!getServiceAccount().equals(other.getServiceAccount())) return false; if (diskType_ != other.diskType_) return false; - if (!internalGetLabels().equals( - other.internalGetLabels())) return false; + if (!internalGetLabels().equals(other.internalGetLabels())) return false; if (licenseType_ != other.licenseType_) return false; if (hasAppliedLicense() != other.hasAppliedLicense()) return false; if (hasAppliedLicense()) { - if (!getAppliedLicense() - .equals(other.getAppliedLicense())) return false; + if (!getAppliedLicense().equals(other.getAppliedLicense())) return false; } if (hasComputeScheduling() != other.hasComputeScheduling()) return false; if (hasComputeScheduling()) { - if (!getComputeScheduling() - .equals(other.getComputeScheduling())) return false; + if (!getComputeScheduling().equals(other.getComputeScheduling())) return false; } - if (getSecureBoot() - != other.getSecureBoot()) return false; + if (getSecureBoot() != other.getSecureBoot()) return false; if (bootOption_ != other.bootOption_) return false; - if (!internalGetMetadata().equals( - other.internalGetMetadata())) return false; - if (!getAdditionalLicensesList() - .equals(other.getAdditionalLicensesList())) return false; - if (!getHostname() - .equals(other.getHostname())) return false; + if (!internalGetMetadata().equals(other.internalGetMetadata())) return false; + if (!getAdditionalLicensesList().equals(other.getAdditionalLicensesList())) return false; + if (!getHostname().equals(other.getHostname())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -1389,8 +1534,7 @@ public int hashCode() { hash = (53 * hash) + getComputeScheduling().hashCode(); } hash = (37 * hash) + SECURE_BOOT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getSecureBoot()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getSecureBoot()); hash = (37 * hash) + BOOT_OPTION_FIELD_NUMBER; hash = (53 * hash) + bootOption_; if (!internalGetMetadata().getMap().isEmpty()) { @@ -1409,96 +1553,104 @@ public int hashCode() { } public static com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails 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.vmmigration.v1.ComputeEngineTargetDetails 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.vmmigration.v1.ComputeEngineTargetDetails parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails 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.vmmigration.v1.ComputeEngineTargetDetails parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails 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.vmmigration.v1.ComputeEngineTargetDetails parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails 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.vmmigration.v1.ComputeEngineTargetDetails parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails 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.vmmigration.v1.ComputeEngineTargetDetails 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.vmmigration.v1.ComputeEngineTargetDetails 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.vmmigration.v1.ComputeEngineTargetDetails prototype) { + + public static Builder newBuilder( + com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails 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; } /** + * + * *
    * ComputeEngineTargetDetails is a collection of details for creating a VM in a
    * target Compute Engine project.
@@ -1506,47 +1658,47 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.vmmigration.v1.ComputeEngineTargetDetails}
    */
-  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.vmmigration.v1.ComputeEngineTargetDetails)
       com.google.cloud.vmmigration.v1.ComputeEngineTargetDetailsOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ComputeEngineTargetDetails_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.vmmigration.v1.VmMigrationProto
+          .internal_static_google_cloud_vmmigration_v1_ComputeEngineTargetDetails_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMapField(
-        int number) {
+    protected com.google.protobuf.MapField internalGetMapField(int number) {
       switch (number) {
         case 10:
           return internalGetLabels();
         case 16:
           return internalGetMetadata();
         default:
-          throw new RuntimeException(
-              "Invalid map field number: " + number);
+          throw new RuntimeException("Invalid map field number: " + number);
       }
     }
+
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMutableMapField(
-        int number) {
+    protected com.google.protobuf.MapField internalGetMutableMapField(int number) {
       switch (number) {
         case 10:
           return internalGetMutableLabels();
         case 16:
           return internalGetMutableMetadata();
         default:
-          throw new RuntimeException(
-              "Invalid map field number: " + number);
+          throw new RuntimeException("Invalid map field number: " + number);
       }
     }
+
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ComputeEngineTargetDetails_fieldAccessorTable
+      return com.google.cloud.vmmigration.v1.VmMigrationProto
+          .internal_static_google_cloud_vmmigration_v1_ComputeEngineTargetDetails_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails.class, com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails.Builder.class);
+              com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails.class,
+              com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails.Builder.class);
     }
 
     // Construct using com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails.newBuilder()
@@ -1554,17 +1706,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) {
         getNetworkInterfacesFieldBuilder();
       }
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1618,9 +1770,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ComputeEngineTargetDetails_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.vmmigration.v1.VmMigrationProto
+          .internal_static_google_cloud_vmmigration_v1_ComputeEngineTargetDetails_descriptor;
     }
 
     @java.lang.Override
@@ -1639,7 +1791,8 @@ public com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails build() {
 
     @java.lang.Override
     public com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails buildPartial() {
-      com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails result = new com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails(this);
+      com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails result =
+          new com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails(this);
       int from_bitField0_ = bitField0_;
       result.vmName_ = vmName_;
       result.project_ = project_;
@@ -1693,38 +1846,39 @@ public com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails buildPartial()
     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.vmmigration.v1.ComputeEngineTargetDetails) {
-        return mergeFrom((com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails)other);
+        return mergeFrom((com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1732,7 +1886,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails other) {
-      if (other == com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails.getDefaultInstance()) return this;
+      if (other == com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails.getDefaultInstance())
+        return this;
       if (!other.getVmName().isEmpty()) {
         vmName_ = other.vmName_;
         onChanged();
@@ -1781,9 +1936,10 @@ public Builder mergeFrom(com.google.cloud.vmmigration.v1.ComputeEngineTargetDeta
             networkInterfacesBuilder_ = null;
             networkInterfaces_ = other.networkInterfaces_;
             bitField0_ = (bitField0_ & ~0x00000002);
-            networkInterfacesBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getNetworkInterfacesFieldBuilder() : null;
+            networkInterfacesBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getNetworkInterfacesFieldBuilder()
+                    : null;
           } else {
             networkInterfacesBuilder_.addAllMessages(other.networkInterfaces_);
           }
@@ -1796,8 +1952,7 @@ public Builder mergeFrom(com.google.cloud.vmmigration.v1.ComputeEngineTargetDeta
       if (other.diskType_ != 0) {
         setDiskTypeValue(other.getDiskTypeValue());
       }
-      internalGetMutableLabels().mergeFrom(
-          other.internalGetLabels());
+      internalGetMutableLabels().mergeFrom(other.internalGetLabels());
       if (other.licenseType_ != 0) {
         setLicenseTypeValue(other.getLicenseTypeValue());
       }
@@ -1813,8 +1968,7 @@ public Builder mergeFrom(com.google.cloud.vmmigration.v1.ComputeEngineTargetDeta
       if (other.bootOption_ != 0) {
         setBootOptionValue(other.getBootOptionValue());
       }
-      internalGetMutableMetadata().mergeFrom(
-          other.internalGetMetadata());
+      internalGetMutableMetadata().mergeFrom(other.internalGetMetadata());
       if (!other.additionalLicenses_.isEmpty()) {
         if (additionalLicenses_.isEmpty()) {
           additionalLicenses_ = other.additionalLicenses_;
@@ -1848,7 +2002,8 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -1857,22 +2012,25 @@ public Builder mergeFrom(
       }
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object vmName_ = "";
     /**
+     *
+     *
      * 
      * The name of the VM to create.
      * 
* * string vm_name = 1; + * * @return The vmName. */ public java.lang.String getVmName() { java.lang.Object ref = vmName_; 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(); vmName_ = s; return s; @@ -1881,20 +2039,21 @@ public java.lang.String getVmName() { } } /** + * + * *
      * The name of the VM to create.
      * 
* * string vm_name = 1; + * * @return The bytes for vmName. */ - public com.google.protobuf.ByteString - getVmNameBytes() { + public com.google.protobuf.ByteString getVmNameBytes() { java.lang.Object ref = vmName_; 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); vmName_ = b; return b; } else { @@ -1902,54 +2061,61 @@ public java.lang.String getVmName() { } } /** + * + * *
      * The name of the VM to create.
      * 
* * string vm_name = 1; + * * @param value The vmName to set. * @return This builder for chaining. */ - public Builder setVmName( - java.lang.String value) { + public Builder setVmName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + vmName_ = value; onChanged(); return this; } /** + * + * *
      * The name of the VM to create.
      * 
* * string vm_name = 1; + * * @return This builder for chaining. */ public Builder clearVmName() { - + vmName_ = getDefaultInstance().getVmName(); onChanged(); return this; } /** + * + * *
      * The name of the VM to create.
      * 
* * string vm_name = 1; + * * @param value The bytes for vmName to set. * @return This builder for chaining. */ - public Builder setVmNameBytes( - com.google.protobuf.ByteString value) { + public Builder setVmNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + vmName_ = value; onChanged(); return this; @@ -1957,18 +2123,20 @@ public Builder setVmNameBytes( private java.lang.Object project_ = ""; /** + * + * *
      * The GCP target project ID or project name.
      * 
* * string project = 2; + * * @return The project. */ public java.lang.String getProject() { java.lang.Object ref = project_; 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(); project_ = s; return s; @@ -1977,20 +2145,21 @@ public java.lang.String getProject() { } } /** + * + * *
      * The GCP target project ID or project name.
      * 
* * string project = 2; + * * @return The bytes for project. */ - public com.google.protobuf.ByteString - getProjectBytes() { + public com.google.protobuf.ByteString getProjectBytes() { java.lang.Object ref = project_; 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); project_ = b; return b; } else { @@ -1998,54 +2167,61 @@ public java.lang.String getProject() { } } /** + * + * *
      * The GCP target project ID or project name.
      * 
* * string project = 2; + * * @param value The project to set. * @return This builder for chaining. */ - public Builder setProject( - java.lang.String value) { + public Builder setProject(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + project_ = value; onChanged(); return this; } /** + * + * *
      * The GCP target project ID or project name.
      * 
* * string project = 2; + * * @return This builder for chaining. */ public Builder clearProject() { - + project_ = getDefaultInstance().getProject(); onChanged(); return this; } /** + * + * *
      * The GCP target project ID or project name.
      * 
* * string project = 2; + * * @param value The bytes for project to set. * @return This builder for chaining. */ - public Builder setProjectBytes( - com.google.protobuf.ByteString value) { + public Builder setProjectBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + project_ = value; onChanged(); return this; @@ -2053,18 +2229,20 @@ public Builder setProjectBytes( private java.lang.Object zone_ = ""; /** + * + * *
      * The zone in which to create the VM.
      * 
* * string zone = 3; + * * @return The zone. */ public java.lang.String getZone() { java.lang.Object ref = zone_; 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(); zone_ = s; return s; @@ -2073,20 +2251,21 @@ public java.lang.String getZone() { } } /** + * + * *
      * The zone in which to create the VM.
      * 
* * string zone = 3; + * * @return The bytes for zone. */ - public com.google.protobuf.ByteString - getZoneBytes() { + public com.google.protobuf.ByteString getZoneBytes() { java.lang.Object ref = zone_; 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); zone_ = b; return b; } else { @@ -2094,54 +2273,61 @@ public java.lang.String getZone() { } } /** + * + * *
      * The zone in which to create the VM.
      * 
* * string zone = 3; + * * @param value The zone to set. * @return This builder for chaining. */ - public Builder setZone( - java.lang.String value) { + public Builder setZone(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + zone_ = value; onChanged(); return this; } /** + * + * *
      * The zone in which to create the VM.
      * 
* * string zone = 3; + * * @return This builder for chaining. */ public Builder clearZone() { - + zone_ = getDefaultInstance().getZone(); onChanged(); return this; } /** + * + * *
      * The zone in which to create the VM.
      * 
* * string zone = 3; + * * @param value The bytes for zone to set. * @return This builder for chaining. */ - public Builder setZoneBytes( - com.google.protobuf.ByteString value) { + public Builder setZoneBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + zone_ = value; onChanged(); return this; @@ -2149,18 +2335,20 @@ public Builder setZoneBytes( private java.lang.Object machineTypeSeries_ = ""; /** + * + * *
      * The machine type series to create the VM with.
      * 
* * string machine_type_series = 4; + * * @return The machineTypeSeries. */ public java.lang.String getMachineTypeSeries() { java.lang.Object ref = machineTypeSeries_; 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(); machineTypeSeries_ = s; return s; @@ -2169,20 +2357,21 @@ public java.lang.String getMachineTypeSeries() { } } /** + * + * *
      * The machine type series to create the VM with.
      * 
* * string machine_type_series = 4; + * * @return The bytes for machineTypeSeries. */ - public com.google.protobuf.ByteString - getMachineTypeSeriesBytes() { + public com.google.protobuf.ByteString getMachineTypeSeriesBytes() { java.lang.Object ref = machineTypeSeries_; 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); machineTypeSeries_ = b; return b; } else { @@ -2190,54 +2379,61 @@ public java.lang.String getMachineTypeSeries() { } } /** + * + * *
      * The machine type series to create the VM with.
      * 
* * string machine_type_series = 4; + * * @param value The machineTypeSeries to set. * @return This builder for chaining. */ - public Builder setMachineTypeSeries( - java.lang.String value) { + public Builder setMachineTypeSeries(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + machineTypeSeries_ = value; onChanged(); return this; } /** + * + * *
      * The machine type series to create the VM with.
      * 
* * string machine_type_series = 4; + * * @return This builder for chaining. */ public Builder clearMachineTypeSeries() { - + machineTypeSeries_ = getDefaultInstance().getMachineTypeSeries(); onChanged(); return this; } /** + * + * *
      * The machine type series to create the VM with.
      * 
* * string machine_type_series = 4; + * * @param value The bytes for machineTypeSeries to set. * @return This builder for chaining. */ - public Builder setMachineTypeSeriesBytes( - com.google.protobuf.ByteString value) { + public Builder setMachineTypeSeriesBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + machineTypeSeries_ = value; onChanged(); return this; @@ -2245,18 +2441,20 @@ public Builder setMachineTypeSeriesBytes( private java.lang.Object machineType_ = ""; /** + * + * *
      * The machine type to create the VM with.
      * 
* * string machine_type = 5; + * * @return The machineType. */ public java.lang.String getMachineType() { java.lang.Object ref = machineType_; 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(); machineType_ = s; return s; @@ -2265,20 +2463,21 @@ public java.lang.String getMachineType() { } } /** + * + * *
      * The machine type to create the VM with.
      * 
* * string machine_type = 5; + * * @return The bytes for machineType. */ - public com.google.protobuf.ByteString - getMachineTypeBytes() { + public com.google.protobuf.ByteString getMachineTypeBytes() { java.lang.Object ref = machineType_; 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); machineType_ = b; return b; } else { @@ -2286,95 +2485,112 @@ public java.lang.String getMachineType() { } } /** + * + * *
      * The machine type to create the VM with.
      * 
* * string machine_type = 5; + * * @param value The machineType to set. * @return This builder for chaining. */ - public Builder setMachineType( - java.lang.String value) { + public Builder setMachineType(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + machineType_ = value; onChanged(); return this; } /** + * + * *
      * The machine type to create the VM with.
      * 
* * string machine_type = 5; + * * @return This builder for chaining. */ public Builder clearMachineType() { - + machineType_ = getDefaultInstance().getMachineType(); onChanged(); return this; } /** + * + * *
      * The machine type to create the VM with.
      * 
* * string machine_type = 5; + * * @param value The bytes for machineType to set. * @return This builder for chaining. */ - public Builder setMachineTypeBytes( - com.google.protobuf.ByteString value) { + public Builder setMachineTypeBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + machineType_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList networkTags_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList networkTags_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureNetworkTagsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { networkTags_ = new com.google.protobuf.LazyStringArrayList(networkTags_); bitField0_ |= 0x00000001; - } + } } /** + * + * *
      * A map of network tags to associate with the VM.
      * 
* * repeated string network_tags = 6; + * * @return A list containing the networkTags. */ - public com.google.protobuf.ProtocolStringList - getNetworkTagsList() { + public com.google.protobuf.ProtocolStringList getNetworkTagsList() { return networkTags_.getUnmodifiableView(); } /** + * + * *
      * A map of network tags to associate with the VM.
      * 
* * repeated string network_tags = 6; + * * @return The count of networkTags. */ public int getNetworkTagsCount() { return networkTags_.size(); } /** + * + * *
      * A map of network tags to associate with the VM.
      * 
* * repeated string network_tags = 6; + * * @param index The index of the element to return. * @return The networkTags at the given index. */ @@ -2382,80 +2598,90 @@ public java.lang.String getNetworkTags(int index) { return networkTags_.get(index); } /** + * + * *
      * A map of network tags to associate with the VM.
      * 
* * repeated string network_tags = 6; + * * @param index The index of the value to return. * @return The bytes of the networkTags at the given index. */ - public com.google.protobuf.ByteString - getNetworkTagsBytes(int index) { + public com.google.protobuf.ByteString getNetworkTagsBytes(int index) { return networkTags_.getByteString(index); } /** + * + * *
      * A map of network tags to associate with the VM.
      * 
* * repeated string network_tags = 6; + * * @param index The index to set the value at. * @param value The networkTags to set. * @return This builder for chaining. */ - public Builder setNetworkTags( - int index, java.lang.String value) { + public Builder setNetworkTags(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureNetworkTagsIsMutable(); + throw new NullPointerException(); + } + ensureNetworkTagsIsMutable(); networkTags_.set(index, value); onChanged(); return this; } /** + * + * *
      * A map of network tags to associate with the VM.
      * 
* * repeated string network_tags = 6; + * * @param value The networkTags to add. * @return This builder for chaining. */ - public Builder addNetworkTags( - java.lang.String value) { + public Builder addNetworkTags(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureNetworkTagsIsMutable(); + throw new NullPointerException(); + } + ensureNetworkTagsIsMutable(); networkTags_.add(value); onChanged(); return this; } /** + * + * *
      * A map of network tags to associate with the VM.
      * 
* * repeated string network_tags = 6; + * * @param values The networkTags to add. * @return This builder for chaining. */ - public Builder addAllNetworkTags( - java.lang.Iterable values) { + public Builder addAllNetworkTags(java.lang.Iterable values) { ensureNetworkTagsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, networkTags_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, networkTags_); onChanged(); return this; } /** + * + * *
      * A map of network tags to associate with the VM.
      * 
* * repeated string network_tags = 6; + * * @return This builder for chaining. */ public Builder clearNetworkTags() { @@ -2465,20 +2691,22 @@ public Builder clearNetworkTags() { return this; } /** + * + * *
      * A map of network tags to associate with the VM.
      * 
* * repeated string network_tags = 6; + * * @param value The bytes of the networkTags to add. * @return This builder for chaining. */ - public Builder addNetworkTagsBytes( - com.google.protobuf.ByteString value) { + public Builder addNetworkTagsBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureNetworkTagsIsMutable(); networkTags_.add(value); onChanged(); @@ -2486,25 +2714,34 @@ public Builder addNetworkTagsBytes( } private java.util.List networkInterfaces_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureNetworkInterfacesIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - networkInterfaces_ = new java.util.ArrayList(networkInterfaces_); + networkInterfaces_ = + new java.util.ArrayList( + networkInterfaces_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.vmmigration.v1.NetworkInterface, com.google.cloud.vmmigration.v1.NetworkInterface.Builder, com.google.cloud.vmmigration.v1.NetworkInterfaceOrBuilder> networkInterfacesBuilder_; + com.google.cloud.vmmigration.v1.NetworkInterface, + com.google.cloud.vmmigration.v1.NetworkInterface.Builder, + com.google.cloud.vmmigration.v1.NetworkInterfaceOrBuilder> + networkInterfacesBuilder_; /** + * + * *
      * List of NICs connected to this VM.
      * 
* * repeated .google.cloud.vmmigration.v1.NetworkInterface network_interfaces = 7; */ - public java.util.List getNetworkInterfacesList() { + public java.util.List + getNetworkInterfacesList() { if (networkInterfacesBuilder_ == null) { return java.util.Collections.unmodifiableList(networkInterfaces_); } else { @@ -2512,6 +2749,8 @@ public java.util.List getNetwo } } /** + * + * *
      * List of NICs connected to this VM.
      * 
@@ -2526,6 +2765,8 @@ public int getNetworkInterfacesCount() { } } /** + * + * *
      * List of NICs connected to this VM.
      * 
@@ -2540,6 +2781,8 @@ public com.google.cloud.vmmigration.v1.NetworkInterface getNetworkInterfaces(int } } /** + * + * *
      * List of NICs connected to this VM.
      * 
@@ -2561,6 +2804,8 @@ public Builder setNetworkInterfaces( return this; } /** + * + * *
      * List of NICs connected to this VM.
      * 
@@ -2579,6 +2824,8 @@ public Builder setNetworkInterfaces( return this; } /** + * + * *
      * List of NICs connected to this VM.
      * 
@@ -2599,6 +2846,8 @@ public Builder addNetworkInterfaces(com.google.cloud.vmmigration.v1.NetworkInter return this; } /** + * + * *
      * List of NICs connected to this VM.
      * 
@@ -2620,6 +2869,8 @@ public Builder addNetworkInterfaces( return this; } /** + * + * *
      * List of NICs connected to this VM.
      * 
@@ -2638,6 +2889,8 @@ public Builder addNetworkInterfaces( return this; } /** + * + * *
      * List of NICs connected to this VM.
      * 
@@ -2656,6 +2909,8 @@ public Builder addNetworkInterfaces( return this; } /** + * + * *
      * List of NICs connected to this VM.
      * 
@@ -2666,8 +2921,7 @@ public Builder addAllNetworkInterfaces( java.lang.Iterable values) { if (networkInterfacesBuilder_ == null) { ensureNetworkInterfacesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, networkInterfaces_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, networkInterfaces_); onChanged(); } else { networkInterfacesBuilder_.addAllMessages(values); @@ -2675,6 +2929,8 @@ public Builder addAllNetworkInterfaces( return this; } /** + * + * *
      * List of NICs connected to this VM.
      * 
@@ -2692,6 +2948,8 @@ public Builder clearNetworkInterfaces() { return this; } /** + * + * *
      * List of NICs connected to this VM.
      * 
@@ -2709,6 +2967,8 @@ public Builder removeNetworkInterfaces(int index) { return this; } /** + * + * *
      * List of NICs connected to this VM.
      * 
@@ -2720,6 +2980,8 @@ public com.google.cloud.vmmigration.v1.NetworkInterface.Builder getNetworkInterf return getNetworkInterfacesFieldBuilder().getBuilder(index); } /** + * + * *
      * List of NICs connected to this VM.
      * 
@@ -2729,19 +2991,22 @@ public com.google.cloud.vmmigration.v1.NetworkInterface.Builder getNetworkInterf public com.google.cloud.vmmigration.v1.NetworkInterfaceOrBuilder getNetworkInterfacesOrBuilder( int index) { if (networkInterfacesBuilder_ == null) { - return networkInterfaces_.get(index); } else { + return networkInterfaces_.get(index); + } else { return networkInterfacesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * List of NICs connected to this VM.
      * 
* * repeated .google.cloud.vmmigration.v1.NetworkInterface network_interfaces = 7; */ - public java.util.List - getNetworkInterfacesOrBuilderList() { + public java.util.List + getNetworkInterfacesOrBuilderList() { if (networkInterfacesBuilder_ != null) { return networkInterfacesBuilder_.getMessageOrBuilderList(); } else { @@ -2749,6 +3014,8 @@ public com.google.cloud.vmmigration.v1.NetworkInterfaceOrBuilder getNetworkInter } } /** + * + * *
      * List of NICs connected to this VM.
      * 
@@ -2756,10 +3023,12 @@ public com.google.cloud.vmmigration.v1.NetworkInterfaceOrBuilder getNetworkInter * repeated .google.cloud.vmmigration.v1.NetworkInterface network_interfaces = 7; */ public com.google.cloud.vmmigration.v1.NetworkInterface.Builder addNetworkInterfacesBuilder() { - return getNetworkInterfacesFieldBuilder().addBuilder( - com.google.cloud.vmmigration.v1.NetworkInterface.getDefaultInstance()); + return getNetworkInterfacesFieldBuilder() + .addBuilder(com.google.cloud.vmmigration.v1.NetworkInterface.getDefaultInstance()); } /** + * + * *
      * List of NICs connected to this VM.
      * 
@@ -2768,26 +3037,34 @@ public com.google.cloud.vmmigration.v1.NetworkInterface.Builder addNetworkInterf */ public com.google.cloud.vmmigration.v1.NetworkInterface.Builder addNetworkInterfacesBuilder( int index) { - return getNetworkInterfacesFieldBuilder().addBuilder( - index, com.google.cloud.vmmigration.v1.NetworkInterface.getDefaultInstance()); + return getNetworkInterfacesFieldBuilder() + .addBuilder(index, com.google.cloud.vmmigration.v1.NetworkInterface.getDefaultInstance()); } /** + * + * *
      * List of NICs connected to this VM.
      * 
* * repeated .google.cloud.vmmigration.v1.NetworkInterface network_interfaces = 7; */ - public java.util.List - getNetworkInterfacesBuilderList() { + public java.util.List + getNetworkInterfacesBuilderList() { return getNetworkInterfacesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.vmmigration.v1.NetworkInterface, com.google.cloud.vmmigration.v1.NetworkInterface.Builder, com.google.cloud.vmmigration.v1.NetworkInterfaceOrBuilder> + com.google.cloud.vmmigration.v1.NetworkInterface, + com.google.cloud.vmmigration.v1.NetworkInterface.Builder, + com.google.cloud.vmmigration.v1.NetworkInterfaceOrBuilder> getNetworkInterfacesFieldBuilder() { if (networkInterfacesBuilder_ == null) { - networkInterfacesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.vmmigration.v1.NetworkInterface, com.google.cloud.vmmigration.v1.NetworkInterface.Builder, com.google.cloud.vmmigration.v1.NetworkInterfaceOrBuilder>( + networkInterfacesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.vmmigration.v1.NetworkInterface, + com.google.cloud.vmmigration.v1.NetworkInterface.Builder, + com.google.cloud.vmmigration.v1.NetworkInterfaceOrBuilder>( networkInterfaces_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), @@ -2799,18 +3076,20 @@ public com.google.cloud.vmmigration.v1.NetworkInterface.Builder addNetworkInterf private java.lang.Object serviceAccount_ = ""; /** + * + * *
      * The service account to associate the VM with.
      * 
* * string service_account = 8; + * * @return The serviceAccount. */ public java.lang.String getServiceAccount() { java.lang.Object ref = serviceAccount_; 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(); serviceAccount_ = s; return s; @@ -2819,20 +3098,21 @@ public java.lang.String getServiceAccount() { } } /** + * + * *
      * The service account to associate the VM with.
      * 
* * string service_account = 8; + * * @return The bytes for serviceAccount. */ - public com.google.protobuf.ByteString - getServiceAccountBytes() { + public com.google.protobuf.ByteString getServiceAccountBytes() { java.lang.Object ref = serviceAccount_; 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); serviceAccount_ = b; return b; } else { @@ -2840,54 +3120,61 @@ public java.lang.String getServiceAccount() { } } /** + * + * *
      * The service account to associate the VM with.
      * 
* * string service_account = 8; + * * @param value The serviceAccount to set. * @return This builder for chaining. */ - public Builder setServiceAccount( - java.lang.String value) { + public Builder setServiceAccount(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + serviceAccount_ = value; onChanged(); return this; } /** + * + * *
      * The service account to associate the VM with.
      * 
* * string service_account = 8; + * * @return This builder for chaining. */ public Builder clearServiceAccount() { - + serviceAccount_ = getDefaultInstance().getServiceAccount(); onChanged(); return this; } /** + * + * *
      * The service account to associate the VM with.
      * 
* * string service_account = 8; + * * @param value The bytes for serviceAccount to set. * @return This builder for chaining. */ - public Builder setServiceAccountBytes( - com.google.protobuf.ByteString value) { + public Builder setServiceAccountBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + serviceAccount_ = value; onChanged(); return this; @@ -2895,51 +3182,67 @@ public Builder setServiceAccountBytes( private int diskType_ = 0; /** + * + * *
      * The disk type to use in the VM.
      * 
* * .google.cloud.vmmigration.v1.ComputeEngineDiskType disk_type = 9; + * * @return The enum numeric value on the wire for diskType. */ - @java.lang.Override public int getDiskTypeValue() { + @java.lang.Override + public int getDiskTypeValue() { return diskType_; } /** + * + * *
      * The disk type to use in the VM.
      * 
* * .google.cloud.vmmigration.v1.ComputeEngineDiskType disk_type = 9; + * * @param value The enum numeric value on the wire for diskType to set. * @return This builder for chaining. */ public Builder setDiskTypeValue(int value) { - + diskType_ = value; onChanged(); return this; } /** + * + * *
      * The disk type to use in the VM.
      * 
* * .google.cloud.vmmigration.v1.ComputeEngineDiskType disk_type = 9; + * * @return The diskType. */ @java.lang.Override public com.google.cloud.vmmigration.v1.ComputeEngineDiskType getDiskType() { @SuppressWarnings("deprecation") - com.google.cloud.vmmigration.v1.ComputeEngineDiskType result = com.google.cloud.vmmigration.v1.ComputeEngineDiskType.valueOf(diskType_); - return result == null ? com.google.cloud.vmmigration.v1.ComputeEngineDiskType.UNRECOGNIZED : result; + com.google.cloud.vmmigration.v1.ComputeEngineDiskType result = + com.google.cloud.vmmigration.v1.ComputeEngineDiskType.valueOf(diskType_); + return result == null + ? com.google.cloud.vmmigration.v1.ComputeEngineDiskType.UNRECOGNIZED + : result; } /** + * + * *
      * The disk type to use in the VM.
      * 
* * .google.cloud.vmmigration.v1.ComputeEngineDiskType disk_type = 9; + * * @param value The diskType to set. * @return This builder for chaining. */ @@ -2947,42 +3250,44 @@ public Builder setDiskType(com.google.cloud.vmmigration.v1.ComputeEngineDiskType if (value == null) { throw new NullPointerException(); } - + diskType_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The disk type to use in the VM.
      * 
* * .google.cloud.vmmigration.v1.ComputeEngineDiskType disk_type = 9; + * * @return This builder for chaining. */ public Builder clearDiskType() { - + diskType_ = 0; onChanged(); return this; } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> labels_; - private com.google.protobuf.MapField - internalGetLabels() { + private com.google.protobuf.MapField labels_; + + private com.google.protobuf.MapField internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField( - LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); } return labels_; } + private com.google.protobuf.MapField - internalGetMutableLabels() { - onChanged();; + internalGetMutableLabels() { + onChanged(); + ; if (labels_ == null) { - labels_ = com.google.protobuf.MapField.newMapField( - LabelsDefaultEntryHolder.defaultEntry); + labels_ = com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); } if (!labels_.isMutable()) { labels_ = labels_.copy(); @@ -2994,28 +3299,30 @@ public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** + * + * *
      * A map of labels to associate with the VM.
      * 
* * map<string, string> labels = 10; */ - @java.lang.Override - public boolean containsLabels( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsLabels(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetLabels().getMap().containsKey(key); } - /** - * Use {@link #getLabelsMap()} instead. - */ + /** Use {@link #getLabelsMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getLabels() { return getLabelsMap(); } /** + * + * *
      * A map of labels to associate with the VM.
      * 
@@ -3023,11 +3330,12 @@ public java.util.Map getLabels() { * map<string, string> labels = 10; */ @java.lang.Override - public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** + * + * *
      * A map of labels to associate with the VM.
      * 
@@ -3035,16 +3343,17 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 10; */ @java.lang.Override - public java.lang.String getLabelsOrDefault( - java.lang.String key, - java.lang.String defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetLabels().getMap(); + java.lang.String key, java.lang.String defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
      * A map of labels to associate with the VM.
      * 
@@ -3052,12 +3361,11 @@ public java.lang.String getLabelsOrDefault( * map<string, string> labels = 10; */ @java.lang.Override - - public java.lang.String getLabelsOrThrow( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetLabels().getMap(); + public java.lang.String getLabelsOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -3065,114 +3373,127 @@ public java.lang.String getLabelsOrThrow( } public Builder clearLabels() { - internalGetMutableLabels().getMutableMap() - .clear(); + internalGetMutableLabels().getMutableMap().clear(); return this; } /** + * + * *
      * A map of labels to associate with the VM.
      * 
* * map<string, string> labels = 10; */ - - public Builder removeLabels( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - internalGetMutableLabels().getMutableMap() - .remove(key); + public Builder removeLabels(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + internalGetMutableLabels().getMutableMap().remove(key); return this; } - /** - * Use alternate mutation accessors instead. - */ + /** Use alternate mutation accessors instead. */ @java.lang.Deprecated - public java.util.Map - getMutableLabels() { + public java.util.Map getMutableLabels() { return internalGetMutableLabels().getMutableMap(); } /** + * + * *
      * A map of labels to associate with the VM.
      * 
* * map<string, string> labels = 10; */ - public Builder putLabels( - java.lang.String key, - java.lang.String value) { - if (key == null) { throw new NullPointerException("map key"); } + public Builder putLabels(java.lang.String key, java.lang.String value) { + if (key == null) { + throw new NullPointerException("map key"); + } if (value == null) { - throw new NullPointerException("map value"); -} + throw new NullPointerException("map value"); + } - internalGetMutableLabels().getMutableMap() - .put(key, value); + internalGetMutableLabels().getMutableMap().put(key, value); return this; } /** + * + * *
      * A map of labels to associate with the VM.
      * 
* * map<string, string> labels = 10; */ - - public Builder putAllLabels( - java.util.Map values) { - internalGetMutableLabels().getMutableMap() - .putAll(values); + public Builder putAllLabels(java.util.Map values) { + internalGetMutableLabels().getMutableMap().putAll(values); return this; } private int licenseType_ = 0; /** + * + * *
      * The license type to use in OS adaptation.
      * 
* * .google.cloud.vmmigration.v1.ComputeEngineLicenseType license_type = 11; + * * @return The enum numeric value on the wire for licenseType. */ - @java.lang.Override public int getLicenseTypeValue() { + @java.lang.Override + public int getLicenseTypeValue() { return licenseType_; } /** + * + * *
      * The license type to use in OS adaptation.
      * 
* * .google.cloud.vmmigration.v1.ComputeEngineLicenseType license_type = 11; + * * @param value The enum numeric value on the wire for licenseType to set. * @return This builder for chaining. */ public Builder setLicenseTypeValue(int value) { - + licenseType_ = value; onChanged(); return this; } /** + * + * *
      * The license type to use in OS adaptation.
      * 
* * .google.cloud.vmmigration.v1.ComputeEngineLicenseType license_type = 11; + * * @return The licenseType. */ @java.lang.Override public com.google.cloud.vmmigration.v1.ComputeEngineLicenseType getLicenseType() { @SuppressWarnings("deprecation") - com.google.cloud.vmmigration.v1.ComputeEngineLicenseType result = com.google.cloud.vmmigration.v1.ComputeEngineLicenseType.valueOf(licenseType_); - return result == null ? com.google.cloud.vmmigration.v1.ComputeEngineLicenseType.UNRECOGNIZED : result; + com.google.cloud.vmmigration.v1.ComputeEngineLicenseType result = + com.google.cloud.vmmigration.v1.ComputeEngineLicenseType.valueOf(licenseType_); + return result == null + ? com.google.cloud.vmmigration.v1.ComputeEngineLicenseType.UNRECOGNIZED + : result; } /** + * + * *
      * The license type to use in OS adaptation.
      * 
* * .google.cloud.vmmigration.v1.ComputeEngineLicenseType license_type = 11; + * * @param value The licenseType to set. * @return This builder for chaining. */ @@ -3180,21 +3501,24 @@ public Builder setLicenseType(com.google.cloud.vmmigration.v1.ComputeEngineLicen if (value == null) { throw new NullPointerException(); } - + licenseType_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The license type to use in OS adaptation.
      * 
* * .google.cloud.vmmigration.v1.ComputeEngineLicenseType license_type = 11; + * * @return This builder for chaining. */ public Builder clearLicenseType() { - + licenseType_ = 0; onChanged(); return this; @@ -3202,34 +3526,47 @@ public Builder clearLicenseType() { private com.google.cloud.vmmigration.v1.AppliedLicense appliedLicense_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.vmmigration.v1.AppliedLicense, com.google.cloud.vmmigration.v1.AppliedLicense.Builder, com.google.cloud.vmmigration.v1.AppliedLicenseOrBuilder> appliedLicenseBuilder_; + com.google.cloud.vmmigration.v1.AppliedLicense, + com.google.cloud.vmmigration.v1.AppliedLicense.Builder, + com.google.cloud.vmmigration.v1.AppliedLicenseOrBuilder> + appliedLicenseBuilder_; /** + * + * *
      * The OS license returned from the adaptation module report.
      * 
* * .google.cloud.vmmigration.v1.AppliedLicense applied_license = 12; + * * @return Whether the appliedLicense field is set. */ public boolean hasAppliedLicense() { return appliedLicenseBuilder_ != null || appliedLicense_ != null; } /** + * + * *
      * The OS license returned from the adaptation module report.
      * 
* * .google.cloud.vmmigration.v1.AppliedLicense applied_license = 12; + * * @return The appliedLicense. */ public com.google.cloud.vmmigration.v1.AppliedLicense getAppliedLicense() { if (appliedLicenseBuilder_ == null) { - return appliedLicense_ == null ? com.google.cloud.vmmigration.v1.AppliedLicense.getDefaultInstance() : appliedLicense_; + return appliedLicense_ == null + ? com.google.cloud.vmmigration.v1.AppliedLicense.getDefaultInstance() + : appliedLicense_; } else { return appliedLicenseBuilder_.getMessage(); } } /** + * + * *
      * The OS license returned from the adaptation module report.
      * 
@@ -3250,6 +3587,8 @@ public Builder setAppliedLicense(com.google.cloud.vmmigration.v1.AppliedLicense return this; } /** + * + * *
      * The OS license returned from the adaptation module report.
      * 
@@ -3268,6 +3607,8 @@ public Builder setAppliedLicense( return this; } /** + * + * *
      * The OS license returned from the adaptation module report.
      * 
@@ -3278,7 +3619,9 @@ public Builder mergeAppliedLicense(com.google.cloud.vmmigration.v1.AppliedLicens if (appliedLicenseBuilder_ == null) { if (appliedLicense_ != null) { appliedLicense_ = - com.google.cloud.vmmigration.v1.AppliedLicense.newBuilder(appliedLicense_).mergeFrom(value).buildPartial(); + com.google.cloud.vmmigration.v1.AppliedLicense.newBuilder(appliedLicense_) + .mergeFrom(value) + .buildPartial(); } else { appliedLicense_ = value; } @@ -3290,6 +3633,8 @@ public Builder mergeAppliedLicense(com.google.cloud.vmmigration.v1.AppliedLicens return this; } /** + * + * *
      * The OS license returned from the adaptation module report.
      * 
@@ -3308,6 +3653,8 @@ public Builder clearAppliedLicense() { return this; } /** + * + * *
      * The OS license returned from the adaptation module report.
      * 
@@ -3315,11 +3662,13 @@ public Builder clearAppliedLicense() { * .google.cloud.vmmigration.v1.AppliedLicense applied_license = 12; */ public com.google.cloud.vmmigration.v1.AppliedLicense.Builder getAppliedLicenseBuilder() { - + onChanged(); return getAppliedLicenseFieldBuilder().getBuilder(); } /** + * + * *
      * The OS license returned from the adaptation module report.
      * 
@@ -3330,11 +3679,14 @@ public com.google.cloud.vmmigration.v1.AppliedLicenseOrBuilder getAppliedLicense if (appliedLicenseBuilder_ != null) { return appliedLicenseBuilder_.getMessageOrBuilder(); } else { - return appliedLicense_ == null ? - com.google.cloud.vmmigration.v1.AppliedLicense.getDefaultInstance() : appliedLicense_; + return appliedLicense_ == null + ? com.google.cloud.vmmigration.v1.AppliedLicense.getDefaultInstance() + : appliedLicense_; } } /** + * + * *
      * The OS license returned from the adaptation module report.
      * 
@@ -3342,14 +3694,17 @@ public com.google.cloud.vmmigration.v1.AppliedLicenseOrBuilder getAppliedLicense * .google.cloud.vmmigration.v1.AppliedLicense applied_license = 12; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.vmmigration.v1.AppliedLicense, com.google.cloud.vmmigration.v1.AppliedLicense.Builder, com.google.cloud.vmmigration.v1.AppliedLicenseOrBuilder> + com.google.cloud.vmmigration.v1.AppliedLicense, + com.google.cloud.vmmigration.v1.AppliedLicense.Builder, + com.google.cloud.vmmigration.v1.AppliedLicenseOrBuilder> getAppliedLicenseFieldBuilder() { if (appliedLicenseBuilder_ == null) { - appliedLicenseBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.vmmigration.v1.AppliedLicense, com.google.cloud.vmmigration.v1.AppliedLicense.Builder, com.google.cloud.vmmigration.v1.AppliedLicenseOrBuilder>( - getAppliedLicense(), - getParentForChildren(), - isClean()); + appliedLicenseBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.vmmigration.v1.AppliedLicense, + com.google.cloud.vmmigration.v1.AppliedLicense.Builder, + com.google.cloud.vmmigration.v1.AppliedLicenseOrBuilder>( + getAppliedLicense(), getParentForChildren(), isClean()); appliedLicense_ = null; } return appliedLicenseBuilder_; @@ -3357,34 +3712,47 @@ public com.google.cloud.vmmigration.v1.AppliedLicenseOrBuilder getAppliedLicense private com.google.cloud.vmmigration.v1.ComputeScheduling computeScheduling_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.vmmigration.v1.ComputeScheduling, com.google.cloud.vmmigration.v1.ComputeScheduling.Builder, com.google.cloud.vmmigration.v1.ComputeSchedulingOrBuilder> computeSchedulingBuilder_; + com.google.cloud.vmmigration.v1.ComputeScheduling, + com.google.cloud.vmmigration.v1.ComputeScheduling.Builder, + com.google.cloud.vmmigration.v1.ComputeSchedulingOrBuilder> + computeSchedulingBuilder_; /** + * + * *
      * Compute instance scheduling information (if empty default is used).
      * 
* * .google.cloud.vmmigration.v1.ComputeScheduling compute_scheduling = 13; + * * @return Whether the computeScheduling field is set. */ public boolean hasComputeScheduling() { return computeSchedulingBuilder_ != null || computeScheduling_ != null; } /** + * + * *
      * Compute instance scheduling information (if empty default is used).
      * 
* * .google.cloud.vmmigration.v1.ComputeScheduling compute_scheduling = 13; + * * @return The computeScheduling. */ public com.google.cloud.vmmigration.v1.ComputeScheduling getComputeScheduling() { if (computeSchedulingBuilder_ == null) { - return computeScheduling_ == null ? com.google.cloud.vmmigration.v1.ComputeScheduling.getDefaultInstance() : computeScheduling_; + return computeScheduling_ == null + ? com.google.cloud.vmmigration.v1.ComputeScheduling.getDefaultInstance() + : computeScheduling_; } else { return computeSchedulingBuilder_.getMessage(); } } /** + * + * *
      * Compute instance scheduling information (if empty default is used).
      * 
@@ -3405,6 +3773,8 @@ public Builder setComputeScheduling(com.google.cloud.vmmigration.v1.ComputeSched return this; } /** + * + * *
      * Compute instance scheduling information (if empty default is used).
      * 
@@ -3423,6 +3793,8 @@ public Builder setComputeScheduling( return this; } /** + * + * *
      * Compute instance scheduling information (if empty default is used).
      * 
@@ -3433,7 +3805,9 @@ public Builder mergeComputeScheduling(com.google.cloud.vmmigration.v1.ComputeSch if (computeSchedulingBuilder_ == null) { if (computeScheduling_ != null) { computeScheduling_ = - com.google.cloud.vmmigration.v1.ComputeScheduling.newBuilder(computeScheduling_).mergeFrom(value).buildPartial(); + com.google.cloud.vmmigration.v1.ComputeScheduling.newBuilder(computeScheduling_) + .mergeFrom(value) + .buildPartial(); } else { computeScheduling_ = value; } @@ -3445,6 +3819,8 @@ public Builder mergeComputeScheduling(com.google.cloud.vmmigration.v1.ComputeSch return this; } /** + * + * *
      * Compute instance scheduling information (if empty default is used).
      * 
@@ -3463,6 +3839,8 @@ public Builder clearComputeScheduling() { return this; } /** + * + * *
      * Compute instance scheduling information (if empty default is used).
      * 
@@ -3470,26 +3848,32 @@ public Builder clearComputeScheduling() { * .google.cloud.vmmigration.v1.ComputeScheduling compute_scheduling = 13; */ public com.google.cloud.vmmigration.v1.ComputeScheduling.Builder getComputeSchedulingBuilder() { - + onChanged(); return getComputeSchedulingFieldBuilder().getBuilder(); } /** + * + * *
      * Compute instance scheduling information (if empty default is used).
      * 
* * .google.cloud.vmmigration.v1.ComputeScheduling compute_scheduling = 13; */ - public com.google.cloud.vmmigration.v1.ComputeSchedulingOrBuilder getComputeSchedulingOrBuilder() { + public com.google.cloud.vmmigration.v1.ComputeSchedulingOrBuilder + getComputeSchedulingOrBuilder() { if (computeSchedulingBuilder_ != null) { return computeSchedulingBuilder_.getMessageOrBuilder(); } else { - return computeScheduling_ == null ? - com.google.cloud.vmmigration.v1.ComputeScheduling.getDefaultInstance() : computeScheduling_; + return computeScheduling_ == null + ? com.google.cloud.vmmigration.v1.ComputeScheduling.getDefaultInstance() + : computeScheduling_; } } /** + * + * *
      * Compute instance scheduling information (if empty default is used).
      * 
@@ -3497,27 +3881,33 @@ public com.google.cloud.vmmigration.v1.ComputeSchedulingOrBuilder getComputeSche * .google.cloud.vmmigration.v1.ComputeScheduling compute_scheduling = 13; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.vmmigration.v1.ComputeScheduling, com.google.cloud.vmmigration.v1.ComputeScheduling.Builder, com.google.cloud.vmmigration.v1.ComputeSchedulingOrBuilder> + com.google.cloud.vmmigration.v1.ComputeScheduling, + com.google.cloud.vmmigration.v1.ComputeScheduling.Builder, + com.google.cloud.vmmigration.v1.ComputeSchedulingOrBuilder> getComputeSchedulingFieldBuilder() { if (computeSchedulingBuilder_ == null) { - computeSchedulingBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.vmmigration.v1.ComputeScheduling, com.google.cloud.vmmigration.v1.ComputeScheduling.Builder, com.google.cloud.vmmigration.v1.ComputeSchedulingOrBuilder>( - getComputeScheduling(), - getParentForChildren(), - isClean()); + computeSchedulingBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.vmmigration.v1.ComputeScheduling, + com.google.cloud.vmmigration.v1.ComputeScheduling.Builder, + com.google.cloud.vmmigration.v1.ComputeSchedulingOrBuilder>( + getComputeScheduling(), getParentForChildren(), isClean()); computeScheduling_ = null; } return computeSchedulingBuilder_; } - private boolean secureBoot_ ; + private boolean secureBoot_; /** + * + * *
      * Defines whether the instance has Secure Boot enabled.
      * This can be set to true only if the vm boot option is EFI.
      * 
* * bool secure_boot = 14; + * * @return The secureBoot. */ @java.lang.Override @@ -3525,32 +3915,38 @@ public boolean getSecureBoot() { return secureBoot_; } /** + * + * *
      * Defines whether the instance has Secure Boot enabled.
      * This can be set to true only if the vm boot option is EFI.
      * 
* * bool secure_boot = 14; + * * @param value The secureBoot to set. * @return This builder for chaining. */ public Builder setSecureBoot(boolean value) { - + secureBoot_ = value; onChanged(); return this; } /** + * + * *
      * Defines whether the instance has Secure Boot enabled.
      * This can be set to true only if the vm boot option is EFI.
      * 
* * bool secure_boot = 14; + * * @return This builder for chaining. */ public Builder clearSecureBoot() { - + secureBoot_ = false; onChanged(); return this; @@ -3558,51 +3954,67 @@ public Builder clearSecureBoot() { private int bootOption_ = 0; /** + * + * *
      * The VM Boot Option, as set in the source vm.
      * 
* * .google.cloud.vmmigration.v1.ComputeEngineBootOption boot_option = 15; + * * @return The enum numeric value on the wire for bootOption. */ - @java.lang.Override public int getBootOptionValue() { + @java.lang.Override + public int getBootOptionValue() { return bootOption_; } /** + * + * *
      * The VM Boot Option, as set in the source vm.
      * 
* * .google.cloud.vmmigration.v1.ComputeEngineBootOption boot_option = 15; + * * @param value The enum numeric value on the wire for bootOption to set. * @return This builder for chaining. */ public Builder setBootOptionValue(int value) { - + bootOption_ = value; onChanged(); return this; } /** + * + * *
      * The VM Boot Option, as set in the source vm.
      * 
* * .google.cloud.vmmigration.v1.ComputeEngineBootOption boot_option = 15; + * * @return The bootOption. */ @java.lang.Override public com.google.cloud.vmmigration.v1.ComputeEngineBootOption getBootOption() { @SuppressWarnings("deprecation") - com.google.cloud.vmmigration.v1.ComputeEngineBootOption result = com.google.cloud.vmmigration.v1.ComputeEngineBootOption.valueOf(bootOption_); - return result == null ? com.google.cloud.vmmigration.v1.ComputeEngineBootOption.UNRECOGNIZED : result; + com.google.cloud.vmmigration.v1.ComputeEngineBootOption result = + com.google.cloud.vmmigration.v1.ComputeEngineBootOption.valueOf(bootOption_); + return result == null + ? com.google.cloud.vmmigration.v1.ComputeEngineBootOption.UNRECOGNIZED + : result; } /** + * + * *
      * The VM Boot Option, as set in the source vm.
      * 
* * .google.cloud.vmmigration.v1.ComputeEngineBootOption boot_option = 15; + * * @param value The bootOption to set. * @return This builder for chaining. */ @@ -3610,42 +4022,45 @@ public Builder setBootOption(com.google.cloud.vmmigration.v1.ComputeEngineBootOp if (value == null) { throw new NullPointerException(); } - + bootOption_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The VM Boot Option, as set in the source vm.
      * 
* * .google.cloud.vmmigration.v1.ComputeEngineBootOption boot_option = 15; + * * @return This builder for chaining. */ public Builder clearBootOption() { - + bootOption_ = 0; onChanged(); return this; } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> metadata_; - private com.google.protobuf.MapField - internalGetMetadata() { + private com.google.protobuf.MapField metadata_; + + private com.google.protobuf.MapField internalGetMetadata() { if (metadata_ == null) { - return com.google.protobuf.MapField.emptyMapField( - MetadataDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(MetadataDefaultEntryHolder.defaultEntry); } return metadata_; } + private com.google.protobuf.MapField - internalGetMutableMetadata() { - onChanged();; + internalGetMutableMetadata() { + onChanged(); + ; if (metadata_ == null) { - metadata_ = com.google.protobuf.MapField.newMapField( - MetadataDefaultEntryHolder.defaultEntry); + metadata_ = + com.google.protobuf.MapField.newMapField(MetadataDefaultEntryHolder.defaultEntry); } if (!metadata_.isMutable()) { metadata_ = metadata_.copy(); @@ -3657,28 +4072,30 @@ public int getMetadataCount() { return internalGetMetadata().getMap().size(); } /** + * + * *
      * The metadata key/value pairs to assign to the VM.
      * 
* * map<string, string> metadata = 16; */ - @java.lang.Override - public boolean containsMetadata( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsMetadata(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetMetadata().getMap().containsKey(key); } - /** - * Use {@link #getMetadataMap()} instead. - */ + /** Use {@link #getMetadataMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getMetadata() { return getMetadataMap(); } /** + * + * *
      * The metadata key/value pairs to assign to the VM.
      * 
@@ -3686,11 +4103,12 @@ public java.util.Map getMetadata() { * map<string, string> metadata = 16; */ @java.lang.Override - public java.util.Map getMetadataMap() { return internalGetMetadata().getMap(); } /** + * + * *
      * The metadata key/value pairs to assign to the VM.
      * 
@@ -3698,16 +4116,17 @@ public java.util.Map getMetadataMap() { * map<string, string> metadata = 16; */ @java.lang.Override - public java.lang.String getMetadataOrDefault( - java.lang.String key, - java.lang.String defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetMetadata().getMap(); + java.lang.String key, java.lang.String defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetMetadata().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
      * The metadata key/value pairs to assign to the VM.
      * 
@@ -3715,12 +4134,11 @@ public java.lang.String getMetadataOrDefault( * map<string, string> metadata = 16; */ @java.lang.Override - - public java.lang.String getMetadataOrThrow( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetMetadata().getMap(); + public java.lang.String getMetadataOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetMetadata().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -3728,103 +4146,110 @@ public java.lang.String getMetadataOrThrow( } public Builder clearMetadata() { - internalGetMutableMetadata().getMutableMap() - .clear(); + internalGetMutableMetadata().getMutableMap().clear(); return this; } /** + * + * *
      * The metadata key/value pairs to assign to the VM.
      * 
* * map<string, string> metadata = 16; */ - - public Builder removeMetadata( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - internalGetMutableMetadata().getMutableMap() - .remove(key); + public Builder removeMetadata(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + internalGetMutableMetadata().getMutableMap().remove(key); return this; } - /** - * Use alternate mutation accessors instead. - */ + /** Use alternate mutation accessors instead. */ @java.lang.Deprecated - public java.util.Map - getMutableMetadata() { + public java.util.Map getMutableMetadata() { return internalGetMutableMetadata().getMutableMap(); } /** + * + * *
      * The metadata key/value pairs to assign to the VM.
      * 
* * map<string, string> metadata = 16; */ - public Builder putMetadata( - java.lang.String key, - java.lang.String value) { - if (key == null) { throw new NullPointerException("map key"); } + public Builder putMetadata(java.lang.String key, java.lang.String value) { + if (key == null) { + throw new NullPointerException("map key"); + } if (value == null) { - throw new NullPointerException("map value"); -} + throw new NullPointerException("map value"); + } - internalGetMutableMetadata().getMutableMap() - .put(key, value); + internalGetMutableMetadata().getMutableMap().put(key, value); return this; } /** + * + * *
      * The metadata key/value pairs to assign to the VM.
      * 
* * map<string, string> metadata = 16; */ - - public Builder putAllMetadata( - java.util.Map values) { - internalGetMutableMetadata().getMutableMap() - .putAll(values); + public Builder putAllMetadata(java.util.Map values) { + internalGetMutableMetadata().getMutableMap().putAll(values); return this; } - private com.google.protobuf.LazyStringList additionalLicenses_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList additionalLicenses_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureAdditionalLicensesIsMutable() { if (!((bitField0_ & 0x00000010) != 0)) { additionalLicenses_ = new com.google.protobuf.LazyStringArrayList(additionalLicenses_); bitField0_ |= 0x00000010; - } + } } /** + * + * *
      * Additional licenses to assign to the VM.
      * 
* * repeated string additional_licenses = 17; + * * @return A list containing the additionalLicenses. */ - public com.google.protobuf.ProtocolStringList - getAdditionalLicensesList() { + public com.google.protobuf.ProtocolStringList getAdditionalLicensesList() { return additionalLicenses_.getUnmodifiableView(); } /** + * + * *
      * Additional licenses to assign to the VM.
      * 
* * repeated string additional_licenses = 17; + * * @return The count of additionalLicenses. */ public int getAdditionalLicensesCount() { return additionalLicenses_.size(); } /** + * + * *
      * Additional licenses to assign to the VM.
      * 
* * repeated string additional_licenses = 17; + * * @param index The index of the element to return. * @return The additionalLicenses at the given index. */ @@ -3832,80 +4257,90 @@ public java.lang.String getAdditionalLicenses(int index) { return additionalLicenses_.get(index); } /** + * + * *
      * Additional licenses to assign to the VM.
      * 
* * repeated string additional_licenses = 17; + * * @param index The index of the value to return. * @return The bytes of the additionalLicenses at the given index. */ - public com.google.protobuf.ByteString - getAdditionalLicensesBytes(int index) { + public com.google.protobuf.ByteString getAdditionalLicensesBytes(int index) { return additionalLicenses_.getByteString(index); } /** + * + * *
      * Additional licenses to assign to the VM.
      * 
* * repeated string additional_licenses = 17; + * * @param index The index to set the value at. * @param value The additionalLicenses to set. * @return This builder for chaining. */ - public Builder setAdditionalLicenses( - int index, java.lang.String value) { + public Builder setAdditionalLicenses(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureAdditionalLicensesIsMutable(); + throw new NullPointerException(); + } + ensureAdditionalLicensesIsMutable(); additionalLicenses_.set(index, value); onChanged(); return this; } /** + * + * *
      * Additional licenses to assign to the VM.
      * 
* * repeated string additional_licenses = 17; + * * @param value The additionalLicenses to add. * @return This builder for chaining. */ - public Builder addAdditionalLicenses( - java.lang.String value) { + public Builder addAdditionalLicenses(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureAdditionalLicensesIsMutable(); + throw new NullPointerException(); + } + ensureAdditionalLicensesIsMutable(); additionalLicenses_.add(value); onChanged(); return this; } /** + * + * *
      * Additional licenses to assign to the VM.
      * 
* * repeated string additional_licenses = 17; + * * @param values The additionalLicenses to add. * @return This builder for chaining. */ - public Builder addAllAdditionalLicenses( - java.lang.Iterable values) { + public Builder addAllAdditionalLicenses(java.lang.Iterable values) { ensureAdditionalLicensesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, additionalLicenses_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, additionalLicenses_); onChanged(); return this; } /** + * + * *
      * Additional licenses to assign to the VM.
      * 
* * repeated string additional_licenses = 17; + * * @return This builder for chaining. */ public Builder clearAdditionalLicenses() { @@ -3915,20 +4350,22 @@ public Builder clearAdditionalLicenses() { return this; } /** + * + * *
      * Additional licenses to assign to the VM.
      * 
* * repeated string additional_licenses = 17; + * * @param value The bytes of the additionalLicenses to add. * @return This builder for chaining. */ - public Builder addAdditionalLicensesBytes( - com.google.protobuf.ByteString value) { + public Builder addAdditionalLicensesBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureAdditionalLicensesIsMutable(); additionalLicenses_.add(value); onChanged(); @@ -3937,18 +4374,20 @@ public Builder addAdditionalLicensesBytes( private java.lang.Object hostname_ = ""; /** + * + * *
      * The hostname to assign to the VM.
      * 
* * string hostname = 18; + * * @return The hostname. */ public java.lang.String getHostname() { java.lang.Object ref = hostname_; 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(); hostname_ = s; return s; @@ -3957,20 +4396,21 @@ public java.lang.String getHostname() { } } /** + * + * *
      * The hostname to assign to the VM.
      * 
* * string hostname = 18; + * * @return The bytes for hostname. */ - public com.google.protobuf.ByteString - getHostnameBytes() { + public com.google.protobuf.ByteString getHostnameBytes() { java.lang.Object ref = hostname_; 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); hostname_ = b; return b; } else { @@ -3978,61 +4418,68 @@ public java.lang.String getHostname() { } } /** + * + * *
      * The hostname to assign to the VM.
      * 
* * string hostname = 18; + * * @param value The hostname to set. * @return This builder for chaining. */ - public Builder setHostname( - java.lang.String value) { + public Builder setHostname(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + hostname_ = value; onChanged(); return this; } /** + * + * *
      * The hostname to assign to the VM.
      * 
* * string hostname = 18; + * * @return This builder for chaining. */ public Builder clearHostname() { - + hostname_ = getDefaultInstance().getHostname(); onChanged(); return this; } /** + * + * *
      * The hostname to assign to the VM.
      * 
* * string hostname = 18; + * * @param value The bytes for hostname to set. * @return This builder for chaining. */ - public Builder setHostnameBytes( - com.google.protobuf.ByteString value) { + public Builder setHostnameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + hostname_ = 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); } @@ -4042,12 +4489,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.vmmigration.v1.ComputeEngineTargetDetails) } // @@protoc_insertion_point(class_scope:google.cloud.vmmigration.v1.ComputeEngineTargetDetails) private static final com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails(); } @@ -4056,16 +4503,16 @@ public static com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ComputeEngineTargetDetails parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ComputeEngineTargetDetails(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ComputeEngineTargetDetails parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ComputeEngineTargetDetails(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4080,6 +4527,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ComputeEngineTargetDetailsOrBuilder.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ComputeEngineTargetDetailsOrBuilder.java similarity index 80% rename from owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ComputeEngineTargetDetailsOrBuilder.java rename to proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ComputeEngineTargetDetailsOrBuilder.java index 6b2c848..cea9dae 100644 --- a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ComputeEngineTargetDetailsOrBuilder.java +++ b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ComputeEngineTargetDetailsOrBuilder.java @@ -1,163 +1,217 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; -public interface ComputeEngineTargetDetailsOrBuilder extends +public interface ComputeEngineTargetDetailsOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.ComputeEngineTargetDetails) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The name of the VM to create.
    * 
* * string vm_name = 1; + * * @return The vmName. */ java.lang.String getVmName(); /** + * + * *
    * The name of the VM to create.
    * 
* * string vm_name = 1; + * * @return The bytes for vmName. */ - com.google.protobuf.ByteString - getVmNameBytes(); + com.google.protobuf.ByteString getVmNameBytes(); /** + * + * *
    * The GCP target project ID or project name.
    * 
* * string project = 2; + * * @return The project. */ java.lang.String getProject(); /** + * + * *
    * The GCP target project ID or project name.
    * 
* * string project = 2; + * * @return The bytes for project. */ - com.google.protobuf.ByteString - getProjectBytes(); + com.google.protobuf.ByteString getProjectBytes(); /** + * + * *
    * The zone in which to create the VM.
    * 
* * string zone = 3; + * * @return The zone. */ java.lang.String getZone(); /** + * + * *
    * The zone in which to create the VM.
    * 
* * string zone = 3; + * * @return The bytes for zone. */ - com.google.protobuf.ByteString - getZoneBytes(); + com.google.protobuf.ByteString getZoneBytes(); /** + * + * *
    * The machine type series to create the VM with.
    * 
* * string machine_type_series = 4; + * * @return The machineTypeSeries. */ java.lang.String getMachineTypeSeries(); /** + * + * *
    * The machine type series to create the VM with.
    * 
* * string machine_type_series = 4; + * * @return The bytes for machineTypeSeries. */ - com.google.protobuf.ByteString - getMachineTypeSeriesBytes(); + com.google.protobuf.ByteString getMachineTypeSeriesBytes(); /** + * + * *
    * The machine type to create the VM with.
    * 
* * string machine_type = 5; + * * @return The machineType. */ java.lang.String getMachineType(); /** + * + * *
    * The machine type to create the VM with.
    * 
* * string machine_type = 5; + * * @return The bytes for machineType. */ - com.google.protobuf.ByteString - getMachineTypeBytes(); + com.google.protobuf.ByteString getMachineTypeBytes(); /** + * + * *
    * A map of network tags to associate with the VM.
    * 
* * repeated string network_tags = 6; + * * @return A list containing the networkTags. */ - java.util.List - getNetworkTagsList(); + java.util.List getNetworkTagsList(); /** + * + * *
    * A map of network tags to associate with the VM.
    * 
* * repeated string network_tags = 6; + * * @return The count of networkTags. */ int getNetworkTagsCount(); /** + * + * *
    * A map of network tags to associate with the VM.
    * 
* * repeated string network_tags = 6; + * * @param index The index of the element to return. * @return The networkTags at the given index. */ java.lang.String getNetworkTags(int index); /** + * + * *
    * A map of network tags to associate with the VM.
    * 
* * repeated string network_tags = 6; + * * @param index The index of the value to return. * @return The bytes of the networkTags at the given index. */ - com.google.protobuf.ByteString - getNetworkTagsBytes(int index); + com.google.protobuf.ByteString getNetworkTagsBytes(int index); /** + * + * *
    * List of NICs connected to this VM.
    * 
* * repeated .google.cloud.vmmigration.v1.NetworkInterface network_interfaces = 7; */ - java.util.List - getNetworkInterfacesList(); + java.util.List getNetworkInterfacesList(); /** + * + * *
    * List of NICs connected to this VM.
    * 
@@ -166,6 +220,8 @@ public interface ComputeEngineTargetDetailsOrBuilder extends */ com.google.cloud.vmmigration.v1.NetworkInterface getNetworkInterfaces(int index); /** + * + * *
    * List of NICs connected to this VM.
    * 
@@ -174,15 +230,19 @@ public interface ComputeEngineTargetDetailsOrBuilder extends */ int getNetworkInterfacesCount(); /** + * + * *
    * List of NICs connected to this VM.
    * 
* * repeated .google.cloud.vmmigration.v1.NetworkInterface network_interfaces = 7; */ - java.util.List + java.util.List getNetworkInterfacesOrBuilderList(); /** + * + * *
    * List of NICs connected to this VM.
    * 
@@ -193,45 +253,58 @@ com.google.cloud.vmmigration.v1.NetworkInterfaceOrBuilder getNetworkInterfacesOr int index); /** + * + * *
    * The service account to associate the VM with.
    * 
* * string service_account = 8; + * * @return The serviceAccount. */ java.lang.String getServiceAccount(); /** + * + * *
    * The service account to associate the VM with.
    * 
* * string service_account = 8; + * * @return The bytes for serviceAccount. */ - com.google.protobuf.ByteString - getServiceAccountBytes(); + com.google.protobuf.ByteString getServiceAccountBytes(); /** + * + * *
    * The disk type to use in the VM.
    * 
* * .google.cloud.vmmigration.v1.ComputeEngineDiskType disk_type = 9; + * * @return The enum numeric value on the wire for diskType. */ int getDiskTypeValue(); /** + * + * *
    * The disk type to use in the VM.
    * 
* * .google.cloud.vmmigration.v1.ComputeEngineDiskType disk_type = 9; + * * @return The diskType. */ com.google.cloud.vmmigration.v1.ComputeEngineDiskType getDiskType(); /** + * + * *
    * A map of labels to associate with the VM.
    * 
@@ -240,30 +313,31 @@ com.google.cloud.vmmigration.v1.NetworkInterfaceOrBuilder getNetworkInterfacesOr */ int getLabelsCount(); /** + * + * *
    * A map of labels to associate with the VM.
    * 
* * map<string, string> labels = 10; */ - boolean containsLabels( - java.lang.String key); - /** - * Use {@link #getLabelsMap()} instead. - */ + boolean containsLabels(java.lang.String key); + /** Use {@link #getLabelsMap()} instead. */ @java.lang.Deprecated - java.util.Map - getLabels(); + java.util.Map getLabels(); /** + * + * *
    * A map of labels to associate with the VM.
    * 
* * map<string, string> labels = 10; */ - java.util.Map - getLabelsMap(); + java.util.Map getLabelsMap(); /** + * + * *
    * A map of labels to associate with the VM.
    * 
@@ -272,59 +346,73 @@ boolean containsLabels( */ /* nullable */ -java.lang.String getLabelsOrDefault( + java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ -java.lang.String defaultValue); + java.lang.String defaultValue); /** + * + * *
    * A map of labels to associate with the VM.
    * 
* * map<string, string> labels = 10; */ - - java.lang.String getLabelsOrThrow( - java.lang.String key); + java.lang.String getLabelsOrThrow(java.lang.String key); /** + * + * *
    * The license type to use in OS adaptation.
    * 
* * .google.cloud.vmmigration.v1.ComputeEngineLicenseType license_type = 11; + * * @return The enum numeric value on the wire for licenseType. */ int getLicenseTypeValue(); /** + * + * *
    * The license type to use in OS adaptation.
    * 
* * .google.cloud.vmmigration.v1.ComputeEngineLicenseType license_type = 11; + * * @return The licenseType. */ com.google.cloud.vmmigration.v1.ComputeEngineLicenseType getLicenseType(); /** + * + * *
    * The OS license returned from the adaptation module report.
    * 
* * .google.cloud.vmmigration.v1.AppliedLicense applied_license = 12; + * * @return Whether the appliedLicense field is set. */ boolean hasAppliedLicense(); /** + * + * *
    * The OS license returned from the adaptation module report.
    * 
* * .google.cloud.vmmigration.v1.AppliedLicense applied_license = 12; + * * @return The appliedLicense. */ com.google.cloud.vmmigration.v1.AppliedLicense getAppliedLicense(); /** + * + * *
    * The OS license returned from the adaptation module report.
    * 
@@ -334,24 +422,32 @@ java.lang.String getLabelsOrThrow( com.google.cloud.vmmigration.v1.AppliedLicenseOrBuilder getAppliedLicenseOrBuilder(); /** + * + * *
    * Compute instance scheduling information (if empty default is used).
    * 
* * .google.cloud.vmmigration.v1.ComputeScheduling compute_scheduling = 13; + * * @return Whether the computeScheduling field is set. */ boolean hasComputeScheduling(); /** + * + * *
    * Compute instance scheduling information (if empty default is used).
    * 
* * .google.cloud.vmmigration.v1.ComputeScheduling compute_scheduling = 13; + * * @return The computeScheduling. */ com.google.cloud.vmmigration.v1.ComputeScheduling getComputeScheduling(); /** + * + * *
    * Compute instance scheduling information (if empty default is used).
    * 
@@ -361,36 +457,47 @@ java.lang.String getLabelsOrThrow( com.google.cloud.vmmigration.v1.ComputeSchedulingOrBuilder getComputeSchedulingOrBuilder(); /** + * + * *
    * Defines whether the instance has Secure Boot enabled.
    * This can be set to true only if the vm boot option is EFI.
    * 
* * bool secure_boot = 14; + * * @return The secureBoot. */ boolean getSecureBoot(); /** + * + * *
    * The VM Boot Option, as set in the source vm.
    * 
* * .google.cloud.vmmigration.v1.ComputeEngineBootOption boot_option = 15; + * * @return The enum numeric value on the wire for bootOption. */ int getBootOptionValue(); /** + * + * *
    * The VM Boot Option, as set in the source vm.
    * 
* * .google.cloud.vmmigration.v1.ComputeEngineBootOption boot_option = 15; + * * @return The bootOption. */ com.google.cloud.vmmigration.v1.ComputeEngineBootOption getBootOption(); /** + * + * *
    * The metadata key/value pairs to assign to the VM.
    * 
@@ -399,30 +506,31 @@ java.lang.String getLabelsOrThrow( */ int getMetadataCount(); /** + * + * *
    * The metadata key/value pairs to assign to the VM.
    * 
* * map<string, string> metadata = 16; */ - boolean containsMetadata( - java.lang.String key); - /** - * Use {@link #getMetadataMap()} instead. - */ + boolean containsMetadata(java.lang.String key); + /** Use {@link #getMetadataMap()} instead. */ @java.lang.Deprecated - java.util.Map - getMetadata(); + java.util.Map getMetadata(); /** + * + * *
    * The metadata key/value pairs to assign to the VM.
    * 
* * map<string, string> metadata = 16; */ - java.util.Map - getMetadataMap(); + java.util.Map getMetadataMap(); /** + * + * *
    * The metadata key/value pairs to assign to the VM.
    * 
@@ -431,79 +539,94 @@ boolean containsMetadata( */ /* nullable */ -java.lang.String getMetadataOrDefault( + java.lang.String getMetadataOrDefault( java.lang.String key, /* nullable */ -java.lang.String defaultValue); + java.lang.String defaultValue); /** + * + * *
    * The metadata key/value pairs to assign to the VM.
    * 
* * map<string, string> metadata = 16; */ - - java.lang.String getMetadataOrThrow( - java.lang.String key); + java.lang.String getMetadataOrThrow(java.lang.String key); /** + * + * *
    * Additional licenses to assign to the VM.
    * 
* * repeated string additional_licenses = 17; + * * @return A list containing the additionalLicenses. */ - java.util.List - getAdditionalLicensesList(); + java.util.List getAdditionalLicensesList(); /** + * + * *
    * Additional licenses to assign to the VM.
    * 
* * repeated string additional_licenses = 17; + * * @return The count of additionalLicenses. */ int getAdditionalLicensesCount(); /** + * + * *
    * Additional licenses to assign to the VM.
    * 
* * repeated string additional_licenses = 17; + * * @param index The index of the element to return. * @return The additionalLicenses at the given index. */ java.lang.String getAdditionalLicenses(int index); /** + * + * *
    * Additional licenses to assign to the VM.
    * 
* * repeated string additional_licenses = 17; + * * @param index The index of the value to return. * @return The bytes of the additionalLicenses at the given index. */ - com.google.protobuf.ByteString - getAdditionalLicensesBytes(int index); + com.google.protobuf.ByteString getAdditionalLicensesBytes(int index); /** + * + * *
    * The hostname to assign to the VM.
    * 
* * string hostname = 18; + * * @return The hostname. */ java.lang.String getHostname(); /** + * + * *
    * The hostname to assign to the VM.
    * 
* * string hostname = 18; + * * @return The bytes for hostname. */ - com.google.protobuf.ByteString - getHostnameBytes(); + com.google.protobuf.ByteString getHostnameBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ComputeScheduling.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ComputeScheduling.java similarity index 73% rename from owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ComputeScheduling.java rename to proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ComputeScheduling.java index 17f0bb9..54b6bf9 100644 --- a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ComputeScheduling.java +++ b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ComputeScheduling.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; /** + * + * *
  * Scheduling information for VM on maintenance/restart behaviour and
  * node allocation in sole tenant nodes.
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.cloud.vmmigration.v1.ComputeScheduling}
  */
-public final class ComputeScheduling extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class ComputeScheduling extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.vmmigration.v1.ComputeScheduling)
     ComputeSchedulingOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use ComputeScheduling.newBuilder() to construct.
   private ComputeScheduling(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private ComputeScheduling() {
     onHostMaintenance_ = 0;
     restartType_ = 0;
@@ -28,16 +46,15 @@ private ComputeScheduling() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ComputeScheduling();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private ComputeScheduling(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -57,39 +74,46 @@ private ComputeScheduling(
           case 0:
             done = true;
             break;
-          case 8: {
-            int rawValue = input.readEnum();
+          case 8:
+            {
+              int rawValue = input.readEnum();
 
-            onHostMaintenance_ = rawValue;
-            break;
-          }
-          case 26: {
-            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-              nodeAffinities_ = new java.util.ArrayList();
-              mutable_bitField0_ |= 0x00000001;
+              onHostMaintenance_ = rawValue;
+              break;
             }
-            nodeAffinities_.add(
-                input.readMessage(com.google.cloud.vmmigration.v1.SchedulingNodeAffinity.parser(), extensionRegistry));
-            break;
-          }
-          case 32: {
-
-            minNodeCpus_ = input.readInt32();
-            break;
-          }
-          case 40: {
-            int rawValue = input.readEnum();
+          case 26:
+            {
+              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                nodeAffinities_ =
+                    new java.util.ArrayList<
+                        com.google.cloud.vmmigration.v1.SchedulingNodeAffinity>();
+                mutable_bitField0_ |= 0x00000001;
+              }
+              nodeAffinities_.add(
+                  input.readMessage(
+                      com.google.cloud.vmmigration.v1.SchedulingNodeAffinity.parser(),
+                      extensionRegistry));
+              break;
+            }
+          case 32:
+            {
+              minNodeCpus_ = input.readInt32();
+              break;
+            }
+          case 40:
+            {
+              int rawValue = input.readEnum();
 
-            restartType_ = rawValue;
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              restartType_ = rawValue;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -97,8 +121,7 @@ private ComputeScheduling(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       if (((mutable_bitField0_ & 0x00000001) != 0)) {
         nodeAffinities_ = java.util.Collections.unmodifiableList(nodeAffinities_);
@@ -107,25 +130,27 @@ private ComputeScheduling(
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ComputeScheduling_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.vmmigration.v1.VmMigrationProto
+        .internal_static_google_cloud_vmmigration_v1_ComputeScheduling_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ComputeScheduling_fieldAccessorTable
+    return com.google.cloud.vmmigration.v1.VmMigrationProto
+        .internal_static_google_cloud_vmmigration_v1_ComputeScheduling_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.vmmigration.v1.ComputeScheduling.class, com.google.cloud.vmmigration.v1.ComputeScheduling.Builder.class);
+            com.google.cloud.vmmigration.v1.ComputeScheduling.class,
+            com.google.cloud.vmmigration.v1.ComputeScheduling.Builder.class);
   }
 
-  /**
-   * Protobuf enum {@code google.cloud.vmmigration.v1.ComputeScheduling.OnHostMaintenance}
-   */
-  public enum OnHostMaintenance
-      implements com.google.protobuf.ProtocolMessageEnum {
+  /** Protobuf enum {@code google.cloud.vmmigration.v1.ComputeScheduling.OnHostMaintenance} */
+  public enum OnHostMaintenance implements com.google.protobuf.ProtocolMessageEnum {
     /**
+     *
+     *
      * 
      * An unknown, unexpected behavior.
      * 
@@ -134,6 +159,8 @@ public enum OnHostMaintenance */ ON_HOST_MAINTENANCE_UNSPECIFIED(0), /** + * + * *
      * Terminate the instance when the host machine undergoes maintenance.
      * 
@@ -142,6 +169,8 @@ public enum OnHostMaintenance */ TERMINATE(1), /** + * + * *
      * Migrate the instance when the host machine undergoes maintenance.
      * 
@@ -153,6 +182,8 @@ public enum OnHostMaintenance ; /** + * + * *
      * An unknown, unexpected behavior.
      * 
@@ -161,6 +192,8 @@ public enum OnHostMaintenance */ public static final int ON_HOST_MAINTENANCE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Terminate the instance when the host machine undergoes maintenance.
      * 
@@ -169,6 +202,8 @@ public enum OnHostMaintenance */ public static final int TERMINATE_VALUE = 1; /** + * + * *
      * Migrate the instance when the host machine undergoes maintenance.
      * 
@@ -177,7 +212,6 @@ public enum OnHostMaintenance */ public static final int MIGRATE_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -202,10 +236,14 @@ public static OnHostMaintenance valueOf(int value) { */ public static OnHostMaintenance forNumber(int value) { switch (value) { - case 0: return ON_HOST_MAINTENANCE_UNSPECIFIED; - case 1: return TERMINATE; - case 2: return MIGRATE; - default: return null; + case 0: + return ON_HOST_MAINTENANCE_UNSPECIFIED; + case 1: + return TERMINATE; + case 2: + return MIGRATE; + default: + return null; } } @@ -213,29 +251,31 @@ public static OnHostMaintenance forNumber(int value) { internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - OnHostMaintenance> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public OnHostMaintenance findValueByNumber(int number) { - return OnHostMaintenance.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 OnHostMaintenance findValueByNumber(int number) { + return OnHostMaintenance.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.vmmigration.v1.ComputeScheduling.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.vmmigration.v1.ComputeScheduling.getDescriptor() + .getEnumTypes() + .get(0); } private static final OnHostMaintenance[] VALUES = values(); @@ -243,8 +283,7 @@ public OnHostMaintenance findValueByNumber(int number) { public static OnHostMaintenance 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; @@ -262,6 +301,8 @@ private OnHostMaintenance(int value) { } /** + * + * *
    * Defines whether the Instance should be automatically restarted whenever
    * it is terminated by Compute Engine (not terminated by user).
@@ -269,9 +310,10 @@ private OnHostMaintenance(int value) {
    *
    * Protobuf enum {@code google.cloud.vmmigration.v1.ComputeScheduling.RestartType}
    */
-  public enum RestartType
-      implements com.google.protobuf.ProtocolMessageEnum {
+  public enum RestartType implements com.google.protobuf.ProtocolMessageEnum {
     /**
+     *
+     *
      * 
      * Unspecified behavior. This will use the default.
      * 
@@ -280,6 +322,8 @@ public enum RestartType */ RESTART_TYPE_UNSPECIFIED(0), /** + * + * *
      * The Instance should be automatically restarted whenever it is
      * terminated by Compute Engine.
@@ -289,6 +333,8 @@ public enum RestartType
      */
     AUTOMATIC_RESTART(1),
     /**
+     *
+     *
      * 
      * The Instance isn't automatically restarted whenever it is
      * terminated by Compute Engine.
@@ -301,6 +347,8 @@ public enum RestartType
     ;
 
     /**
+     *
+     *
      * 
      * Unspecified behavior. This will use the default.
      * 
@@ -309,6 +357,8 @@ public enum RestartType */ public static final int RESTART_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * The Instance should be automatically restarted whenever it is
      * terminated by Compute Engine.
@@ -318,6 +368,8 @@ public enum RestartType
      */
     public static final int AUTOMATIC_RESTART_VALUE = 1;
     /**
+     *
+     *
      * 
      * The Instance isn't automatically restarted whenever it is
      * terminated by Compute Engine.
@@ -327,7 +379,6 @@ public enum RestartType
      */
     public static final int NO_AUTOMATIC_RESTART_VALUE = 2;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -352,49 +403,51 @@ public static RestartType valueOf(int value) {
      */
     public static RestartType forNumber(int value) {
       switch (value) {
-        case 0: return RESTART_TYPE_UNSPECIFIED;
-        case 1: return AUTOMATIC_RESTART;
-        case 2: return NO_AUTOMATIC_RESTART;
-        default: return null;
+        case 0:
+          return RESTART_TYPE_UNSPECIFIED;
+        case 1:
+          return AUTOMATIC_RESTART;
+        case 2:
+          return NO_AUTOMATIC_RESTART;
+        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<
-        RestartType> internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public RestartType findValueByNumber(int number) {
-              return RestartType.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 RestartType findValueByNumber(int number) {
+            return RestartType.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.vmmigration.v1.ComputeScheduling.getDescriptor().getEnumTypes().get(1);
+
+    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+      return com.google.cloud.vmmigration.v1.ComputeScheduling.getDescriptor()
+          .getEnumTypes()
+          .get(1);
     }
 
     private static final RestartType[] VALUES = values();
 
-    public static RestartType valueOf(
-        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static RestartType 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;
@@ -414,35 +467,52 @@ private RestartType(int value) {
   public static final int ON_HOST_MAINTENANCE_FIELD_NUMBER = 1;
   private int onHostMaintenance_;
   /**
+   *
+   *
    * 
    * How the instance should behave when the host machine undergoes
    * maintenance that may temporarily impact instance performance.
    * 
* - * .google.cloud.vmmigration.v1.ComputeScheduling.OnHostMaintenance on_host_maintenance = 1; + * .google.cloud.vmmigration.v1.ComputeScheduling.OnHostMaintenance on_host_maintenance = 1; + * + * * @return The enum numeric value on the wire for onHostMaintenance. */ - @java.lang.Override public int getOnHostMaintenanceValue() { + @java.lang.Override + public int getOnHostMaintenanceValue() { return onHostMaintenance_; } /** + * + * *
    * How the instance should behave when the host machine undergoes
    * maintenance that may temporarily impact instance performance.
    * 
* - * .google.cloud.vmmigration.v1.ComputeScheduling.OnHostMaintenance on_host_maintenance = 1; + * .google.cloud.vmmigration.v1.ComputeScheduling.OnHostMaintenance on_host_maintenance = 1; + * + * * @return The onHostMaintenance. */ - @java.lang.Override public com.google.cloud.vmmigration.v1.ComputeScheduling.OnHostMaintenance getOnHostMaintenance() { + @java.lang.Override + public com.google.cloud.vmmigration.v1.ComputeScheduling.OnHostMaintenance + getOnHostMaintenance() { @SuppressWarnings("deprecation") - com.google.cloud.vmmigration.v1.ComputeScheduling.OnHostMaintenance result = com.google.cloud.vmmigration.v1.ComputeScheduling.OnHostMaintenance.valueOf(onHostMaintenance_); - return result == null ? com.google.cloud.vmmigration.v1.ComputeScheduling.OnHostMaintenance.UNRECOGNIZED : result; + com.google.cloud.vmmigration.v1.ComputeScheduling.OnHostMaintenance result = + com.google.cloud.vmmigration.v1.ComputeScheduling.OnHostMaintenance.valueOf( + onHostMaintenance_); + return result == null + ? com.google.cloud.vmmigration.v1.ComputeScheduling.OnHostMaintenance.UNRECOGNIZED + : result; } public static final int RESTART_TYPE_FIELD_NUMBER = 5; private int restartType_; /** + * + * *
    * Whether the Instance should be automatically restarted whenever it is
    * terminated by Compute Engine (not terminated by user).
@@ -453,12 +523,16 @@ private RestartType(int value) {
    * 
* * .google.cloud.vmmigration.v1.ComputeScheduling.RestartType restart_type = 5; + * * @return The enum numeric value on the wire for restartType. */ - @java.lang.Override public int getRestartTypeValue() { + @java.lang.Override + public int getRestartTypeValue() { return restartType_; } /** + * + * *
    * Whether the Instance should be automatically restarted whenever it is
    * terminated by Compute Engine (not terminated by user).
@@ -469,17 +543,24 @@ private RestartType(int value) {
    * 
* * .google.cloud.vmmigration.v1.ComputeScheduling.RestartType restart_type = 5; + * * @return The restartType. */ - @java.lang.Override public com.google.cloud.vmmigration.v1.ComputeScheduling.RestartType getRestartType() { + @java.lang.Override + public com.google.cloud.vmmigration.v1.ComputeScheduling.RestartType getRestartType() { @SuppressWarnings("deprecation") - com.google.cloud.vmmigration.v1.ComputeScheduling.RestartType result = com.google.cloud.vmmigration.v1.ComputeScheduling.RestartType.valueOf(restartType_); - return result == null ? com.google.cloud.vmmigration.v1.ComputeScheduling.RestartType.UNRECOGNIZED : result; + com.google.cloud.vmmigration.v1.ComputeScheduling.RestartType result = + com.google.cloud.vmmigration.v1.ComputeScheduling.RestartType.valueOf(restartType_); + return result == null + ? com.google.cloud.vmmigration.v1.ComputeScheduling.RestartType.UNRECOGNIZED + : result; } public static final int NODE_AFFINITIES_FIELD_NUMBER = 3; private java.util.List nodeAffinities_; /** + * + * *
    * A set of node affinity and anti-affinity configurations for sole tenant
    * nodes.
@@ -488,10 +569,13 @@ private RestartType(int value) {
    * repeated .google.cloud.vmmigration.v1.SchedulingNodeAffinity node_affinities = 3;
    */
   @java.lang.Override
-  public java.util.List getNodeAffinitiesList() {
+  public java.util.List
+      getNodeAffinitiesList() {
     return nodeAffinities_;
   }
   /**
+   *
+   *
    * 
    * A set of node affinity and anti-affinity configurations for sole tenant
    * nodes.
@@ -500,11 +584,13 @@ public java.util.List ge
    * repeated .google.cloud.vmmigration.v1.SchedulingNodeAffinity node_affinities = 3;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getNodeAffinitiesOrBuilderList() {
     return nodeAffinities_;
   }
   /**
+   *
+   *
    * 
    * A set of node affinity and anti-affinity configurations for sole tenant
    * nodes.
@@ -517,6 +603,8 @@ public int getNodeAffinitiesCount() {
     return nodeAffinities_.size();
   }
   /**
+   *
+   *
    * 
    * A set of node affinity and anti-affinity configurations for sole tenant
    * nodes.
@@ -529,6 +617,8 @@ public com.google.cloud.vmmigration.v1.SchedulingNodeAffinity getNodeAffinities(
     return nodeAffinities_.get(index);
   }
   /**
+   *
+   *
    * 
    * A set of node affinity and anti-affinity configurations for sole tenant
    * nodes.
@@ -545,6 +635,8 @@ public com.google.cloud.vmmigration.v1.SchedulingNodeAffinityOrBuilder getNodeAf
   public static final int MIN_NODE_CPUS_FIELD_NUMBER = 4;
   private int minNodeCpus_;
   /**
+   *
+   *
    * 
    * The minimum number of virtual CPUs this instance will consume when
    * running on a sole-tenant node. Ignored if no node_affinites are
@@ -552,6 +644,7 @@ public com.google.cloud.vmmigration.v1.SchedulingNodeAffinityOrBuilder getNodeAf
    * 
* * int32 min_node_cpus = 4; + * * @return The minNodeCpus. */ @java.lang.Override @@ -560,6 +653,7 @@ public int getMinNodeCpus() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -571,9 +665,11 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (onHostMaintenance_ != com.google.cloud.vmmigration.v1.ComputeScheduling.OnHostMaintenance.ON_HOST_MAINTENANCE_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (onHostMaintenance_ + != com.google.cloud.vmmigration.v1.ComputeScheduling.OnHostMaintenance + .ON_HOST_MAINTENANCE_UNSPECIFIED + .getNumber()) { output.writeEnum(1, onHostMaintenance_); } for (int i = 0; i < nodeAffinities_.size(); i++) { @@ -582,7 +678,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (minNodeCpus_ != 0) { output.writeInt32(4, minNodeCpus_); } - if (restartType_ != com.google.cloud.vmmigration.v1.ComputeScheduling.RestartType.RESTART_TYPE_UNSPECIFIED.getNumber()) { + if (restartType_ + != com.google.cloud.vmmigration.v1.ComputeScheduling.RestartType.RESTART_TYPE_UNSPECIFIED + .getNumber()) { output.writeEnum(5, restartType_); } unknownFields.writeTo(output); @@ -594,21 +692,22 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (onHostMaintenance_ != com.google.cloud.vmmigration.v1.ComputeScheduling.OnHostMaintenance.ON_HOST_MAINTENANCE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, onHostMaintenance_); + if (onHostMaintenance_ + != com.google.cloud.vmmigration.v1.ComputeScheduling.OnHostMaintenance + .ON_HOST_MAINTENANCE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, onHostMaintenance_); } for (int i = 0; i < nodeAffinities_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, nodeAffinities_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, nodeAffinities_.get(i)); } if (minNodeCpus_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(4, minNodeCpus_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(4, minNodeCpus_); } - if (restartType_ != com.google.cloud.vmmigration.v1.ComputeScheduling.RestartType.RESTART_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(5, restartType_); + if (restartType_ + != com.google.cloud.vmmigration.v1.ComputeScheduling.RestartType.RESTART_TYPE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(5, restartType_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -618,19 +717,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.vmmigration.v1.ComputeScheduling)) { return super.equals(obj); } - com.google.cloud.vmmigration.v1.ComputeScheduling other = (com.google.cloud.vmmigration.v1.ComputeScheduling) obj; + com.google.cloud.vmmigration.v1.ComputeScheduling other = + (com.google.cloud.vmmigration.v1.ComputeScheduling) obj; if (onHostMaintenance_ != other.onHostMaintenance_) return false; if (restartType_ != other.restartType_) return false; - if (!getNodeAffinitiesList() - .equals(other.getNodeAffinitiesList())) return false; - if (getMinNodeCpus() - != other.getMinNodeCpus()) return false; + if (!getNodeAffinitiesList().equals(other.getNodeAffinitiesList())) return false; + if (getMinNodeCpus() != other.getMinNodeCpus()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -658,96 +756,103 @@ public int hashCode() { } public static com.google.cloud.vmmigration.v1.ComputeScheduling 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.vmmigration.v1.ComputeScheduling 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.vmmigration.v1.ComputeScheduling parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.vmmigration.v1.ComputeScheduling 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.vmmigration.v1.ComputeScheduling parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.vmmigration.v1.ComputeScheduling 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.vmmigration.v1.ComputeScheduling parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.vmmigration.v1.ComputeScheduling parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.vmmigration.v1.ComputeScheduling 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.vmmigration.v1.ComputeScheduling parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.vmmigration.v1.ComputeScheduling parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.vmmigration.v1.ComputeScheduling 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.vmmigration.v1.ComputeScheduling 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.vmmigration.v1.ComputeScheduling 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.vmmigration.v1.ComputeScheduling 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; } /** + * + * *
    * Scheduling information for VM on maintenance/restart behaviour and
    * node allocation in sole tenant nodes.
@@ -755,21 +860,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.vmmigration.v1.ComputeScheduling}
    */
-  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.vmmigration.v1.ComputeScheduling)
       com.google.cloud.vmmigration.v1.ComputeSchedulingOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ComputeScheduling_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.vmmigration.v1.VmMigrationProto
+          .internal_static_google_cloud_vmmigration_v1_ComputeScheduling_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ComputeScheduling_fieldAccessorTable
+      return com.google.cloud.vmmigration.v1.VmMigrationProto
+          .internal_static_google_cloud_vmmigration_v1_ComputeScheduling_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.vmmigration.v1.ComputeScheduling.class, com.google.cloud.vmmigration.v1.ComputeScheduling.Builder.class);
+              com.google.cloud.vmmigration.v1.ComputeScheduling.class,
+              com.google.cloud.vmmigration.v1.ComputeScheduling.Builder.class);
     }
 
     // Construct using com.google.cloud.vmmigration.v1.ComputeScheduling.newBuilder()
@@ -777,17 +884,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) {
         getNodeAffinitiesFieldBuilder();
       }
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -807,9 +914,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ComputeScheduling_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.vmmigration.v1.VmMigrationProto
+          .internal_static_google_cloud_vmmigration_v1_ComputeScheduling_descriptor;
     }
 
     @java.lang.Override
@@ -828,7 +935,8 @@ public com.google.cloud.vmmigration.v1.ComputeScheduling build() {
 
     @java.lang.Override
     public com.google.cloud.vmmigration.v1.ComputeScheduling buildPartial() {
-      com.google.cloud.vmmigration.v1.ComputeScheduling result = new com.google.cloud.vmmigration.v1.ComputeScheduling(this);
+      com.google.cloud.vmmigration.v1.ComputeScheduling result =
+          new com.google.cloud.vmmigration.v1.ComputeScheduling(this);
       int from_bitField0_ = bitField0_;
       result.onHostMaintenance_ = onHostMaintenance_;
       result.restartType_ = restartType_;
@@ -850,38 +958,39 @@ public com.google.cloud.vmmigration.v1.ComputeScheduling buildPartial() {
     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.vmmigration.v1.ComputeScheduling) {
-        return mergeFrom((com.google.cloud.vmmigration.v1.ComputeScheduling)other);
+        return mergeFrom((com.google.cloud.vmmigration.v1.ComputeScheduling) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -889,7 +998,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.vmmigration.v1.ComputeScheduling other) {
-      if (other == com.google.cloud.vmmigration.v1.ComputeScheduling.getDefaultInstance()) return this;
+      if (other == com.google.cloud.vmmigration.v1.ComputeScheduling.getDefaultInstance())
+        return this;
       if (other.onHostMaintenance_ != 0) {
         setOnHostMaintenanceValue(other.getOnHostMaintenanceValue());
       }
@@ -914,9 +1024,10 @@ public Builder mergeFrom(com.google.cloud.vmmigration.v1.ComputeScheduling other
             nodeAffinitiesBuilder_ = null;
             nodeAffinities_ = other.nodeAffinities_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            nodeAffinitiesBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getNodeAffinitiesFieldBuilder() : null;
+            nodeAffinitiesBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getNodeAffinitiesFieldBuilder()
+                    : null;
           } else {
             nodeAffinitiesBuilder_.addAllMessages(other.nodeAffinities_);
           }
@@ -944,7 +1055,8 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.cloud.vmmigration.v1.ComputeScheduling) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.cloud.vmmigration.v1.ComputeScheduling) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -953,82 +1065,115 @@ public Builder mergeFrom(
       }
       return this;
     }
+
     private int bitField0_;
 
     private int onHostMaintenance_ = 0;
     /**
+     *
+     *
      * 
      * How the instance should behave when the host machine undergoes
      * maintenance that may temporarily impact instance performance.
      * 
* - * .google.cloud.vmmigration.v1.ComputeScheduling.OnHostMaintenance on_host_maintenance = 1; + * + * .google.cloud.vmmigration.v1.ComputeScheduling.OnHostMaintenance on_host_maintenance = 1; + * + * * @return The enum numeric value on the wire for onHostMaintenance. */ - @java.lang.Override public int getOnHostMaintenanceValue() { + @java.lang.Override + public int getOnHostMaintenanceValue() { return onHostMaintenance_; } /** + * + * *
      * How the instance should behave when the host machine undergoes
      * maintenance that may temporarily impact instance performance.
      * 
* - * .google.cloud.vmmigration.v1.ComputeScheduling.OnHostMaintenance on_host_maintenance = 1; + * + * .google.cloud.vmmigration.v1.ComputeScheduling.OnHostMaintenance on_host_maintenance = 1; + * + * * @param value The enum numeric value on the wire for onHostMaintenance to set. * @return This builder for chaining. */ public Builder setOnHostMaintenanceValue(int value) { - + onHostMaintenance_ = value; onChanged(); return this; } /** + * + * *
      * How the instance should behave when the host machine undergoes
      * maintenance that may temporarily impact instance performance.
      * 
* - * .google.cloud.vmmigration.v1.ComputeScheduling.OnHostMaintenance on_host_maintenance = 1; + * + * .google.cloud.vmmigration.v1.ComputeScheduling.OnHostMaintenance on_host_maintenance = 1; + * + * * @return The onHostMaintenance. */ @java.lang.Override - public com.google.cloud.vmmigration.v1.ComputeScheduling.OnHostMaintenance getOnHostMaintenance() { + public com.google.cloud.vmmigration.v1.ComputeScheduling.OnHostMaintenance + getOnHostMaintenance() { @SuppressWarnings("deprecation") - com.google.cloud.vmmigration.v1.ComputeScheduling.OnHostMaintenance result = com.google.cloud.vmmigration.v1.ComputeScheduling.OnHostMaintenance.valueOf(onHostMaintenance_); - return result == null ? com.google.cloud.vmmigration.v1.ComputeScheduling.OnHostMaintenance.UNRECOGNIZED : result; + com.google.cloud.vmmigration.v1.ComputeScheduling.OnHostMaintenance result = + com.google.cloud.vmmigration.v1.ComputeScheduling.OnHostMaintenance.valueOf( + onHostMaintenance_); + return result == null + ? com.google.cloud.vmmigration.v1.ComputeScheduling.OnHostMaintenance.UNRECOGNIZED + : result; } /** + * + * *
      * How the instance should behave when the host machine undergoes
      * maintenance that may temporarily impact instance performance.
      * 
* - * .google.cloud.vmmigration.v1.ComputeScheduling.OnHostMaintenance on_host_maintenance = 1; + * + * .google.cloud.vmmigration.v1.ComputeScheduling.OnHostMaintenance on_host_maintenance = 1; + * + * * @param value The onHostMaintenance to set. * @return This builder for chaining. */ - public Builder setOnHostMaintenance(com.google.cloud.vmmigration.v1.ComputeScheduling.OnHostMaintenance value) { + public Builder setOnHostMaintenance( + com.google.cloud.vmmigration.v1.ComputeScheduling.OnHostMaintenance value) { if (value == null) { throw new NullPointerException(); } - + onHostMaintenance_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * How the instance should behave when the host machine undergoes
      * maintenance that may temporarily impact instance performance.
      * 
* - * .google.cloud.vmmigration.v1.ComputeScheduling.OnHostMaintenance on_host_maintenance = 1; + * + * .google.cloud.vmmigration.v1.ComputeScheduling.OnHostMaintenance on_host_maintenance = 1; + * + * * @return This builder for chaining. */ public Builder clearOnHostMaintenance() { - + onHostMaintenance_ = 0; onChanged(); return this; @@ -1036,6 +1181,8 @@ public Builder clearOnHostMaintenance() { private int restartType_ = 0; /** + * + * *
      * Whether the Instance should be automatically restarted whenever it is
      * terminated by Compute Engine (not terminated by user).
@@ -1046,12 +1193,16 @@ public Builder clearOnHostMaintenance() {
      * 
* * .google.cloud.vmmigration.v1.ComputeScheduling.RestartType restart_type = 5; + * * @return The enum numeric value on the wire for restartType. */ - @java.lang.Override public int getRestartTypeValue() { + @java.lang.Override + public int getRestartTypeValue() { return restartType_; } /** + * + * *
      * Whether the Instance should be automatically restarted whenever it is
      * terminated by Compute Engine (not terminated by user).
@@ -1062,16 +1213,19 @@ public Builder clearOnHostMaintenance() {
      * 
* * .google.cloud.vmmigration.v1.ComputeScheduling.RestartType restart_type = 5; + * * @param value The enum numeric value on the wire for restartType to set. * @return This builder for chaining. */ public Builder setRestartTypeValue(int value) { - + restartType_ = value; onChanged(); return this; } /** + * + * *
      * Whether the Instance should be automatically restarted whenever it is
      * terminated by Compute Engine (not terminated by user).
@@ -1082,15 +1236,21 @@ public Builder setRestartTypeValue(int value) {
      * 
* * .google.cloud.vmmigration.v1.ComputeScheduling.RestartType restart_type = 5; + * * @return The restartType. */ @java.lang.Override public com.google.cloud.vmmigration.v1.ComputeScheduling.RestartType getRestartType() { @SuppressWarnings("deprecation") - com.google.cloud.vmmigration.v1.ComputeScheduling.RestartType result = com.google.cloud.vmmigration.v1.ComputeScheduling.RestartType.valueOf(restartType_); - return result == null ? com.google.cloud.vmmigration.v1.ComputeScheduling.RestartType.UNRECOGNIZED : result; + com.google.cloud.vmmigration.v1.ComputeScheduling.RestartType result = + com.google.cloud.vmmigration.v1.ComputeScheduling.RestartType.valueOf(restartType_); + return result == null + ? com.google.cloud.vmmigration.v1.ComputeScheduling.RestartType.UNRECOGNIZED + : result; } /** + * + * *
      * Whether the Instance should be automatically restarted whenever it is
      * terminated by Compute Engine (not terminated by user).
@@ -1101,19 +1261,23 @@ public com.google.cloud.vmmigration.v1.ComputeScheduling.RestartType getRestartT
      * 
* * .google.cloud.vmmigration.v1.ComputeScheduling.RestartType restart_type = 5; + * * @param value The restartType to set. * @return This builder for chaining. */ - public Builder setRestartType(com.google.cloud.vmmigration.v1.ComputeScheduling.RestartType value) { + public Builder setRestartType( + com.google.cloud.vmmigration.v1.ComputeScheduling.RestartType value) { if (value == null) { throw new NullPointerException(); } - + restartType_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Whether the Instance should be automatically restarted whenever it is
      * terminated by Compute Engine (not terminated by user).
@@ -1124,36 +1288,47 @@ public Builder setRestartType(com.google.cloud.vmmigration.v1.ComputeScheduling.
      * 
* * .google.cloud.vmmigration.v1.ComputeScheduling.RestartType restart_type = 5; + * * @return This builder for chaining. */ public Builder clearRestartType() { - + restartType_ = 0; onChanged(); return this; } private java.util.List nodeAffinities_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureNodeAffinitiesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - nodeAffinities_ = new java.util.ArrayList(nodeAffinities_); + nodeAffinities_ = + new java.util.ArrayList( + nodeAffinities_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.vmmigration.v1.SchedulingNodeAffinity, com.google.cloud.vmmigration.v1.SchedulingNodeAffinity.Builder, com.google.cloud.vmmigration.v1.SchedulingNodeAffinityOrBuilder> nodeAffinitiesBuilder_; + com.google.cloud.vmmigration.v1.SchedulingNodeAffinity, + com.google.cloud.vmmigration.v1.SchedulingNodeAffinity.Builder, + com.google.cloud.vmmigration.v1.SchedulingNodeAffinityOrBuilder> + nodeAffinitiesBuilder_; /** + * + * *
      * A set of node affinity and anti-affinity configurations for sole tenant
      * nodes.
      * 
* - * repeated .google.cloud.vmmigration.v1.SchedulingNodeAffinity node_affinities = 3; + * repeated .google.cloud.vmmigration.v1.SchedulingNodeAffinity node_affinities = 3; + * */ - public java.util.List getNodeAffinitiesList() { + public java.util.List + getNodeAffinitiesList() { if (nodeAffinitiesBuilder_ == null) { return java.util.Collections.unmodifiableList(nodeAffinities_); } else { @@ -1161,12 +1336,15 @@ public java.util.List ge } } /** + * + * *
      * A set of node affinity and anti-affinity configurations for sole tenant
      * nodes.
      * 
* - * repeated .google.cloud.vmmigration.v1.SchedulingNodeAffinity node_affinities = 3; + * repeated .google.cloud.vmmigration.v1.SchedulingNodeAffinity node_affinities = 3; + * */ public int getNodeAffinitiesCount() { if (nodeAffinitiesBuilder_ == null) { @@ -1176,12 +1354,15 @@ public int getNodeAffinitiesCount() { } } /** + * + * *
      * A set of node affinity and anti-affinity configurations for sole tenant
      * nodes.
      * 
* - * repeated .google.cloud.vmmigration.v1.SchedulingNodeAffinity node_affinities = 3; + * repeated .google.cloud.vmmigration.v1.SchedulingNodeAffinity node_affinities = 3; + * */ public com.google.cloud.vmmigration.v1.SchedulingNodeAffinity getNodeAffinities(int index) { if (nodeAffinitiesBuilder_ == null) { @@ -1191,12 +1372,15 @@ public com.google.cloud.vmmigration.v1.SchedulingNodeAffinity getNodeAffinities( } } /** + * + * *
      * A set of node affinity and anti-affinity configurations for sole tenant
      * nodes.
      * 
* - * repeated .google.cloud.vmmigration.v1.SchedulingNodeAffinity node_affinities = 3; + * repeated .google.cloud.vmmigration.v1.SchedulingNodeAffinity node_affinities = 3; + * */ public Builder setNodeAffinities( int index, com.google.cloud.vmmigration.v1.SchedulingNodeAffinity value) { @@ -1213,12 +1397,15 @@ public Builder setNodeAffinities( return this; } /** + * + * *
      * A set of node affinity and anti-affinity configurations for sole tenant
      * nodes.
      * 
* - * repeated .google.cloud.vmmigration.v1.SchedulingNodeAffinity node_affinities = 3; + * repeated .google.cloud.vmmigration.v1.SchedulingNodeAffinity node_affinities = 3; + * */ public Builder setNodeAffinities( int index, com.google.cloud.vmmigration.v1.SchedulingNodeAffinity.Builder builderForValue) { @@ -1232,12 +1419,15 @@ public Builder setNodeAffinities( return this; } /** + * + * *
      * A set of node affinity and anti-affinity configurations for sole tenant
      * nodes.
      * 
* - * repeated .google.cloud.vmmigration.v1.SchedulingNodeAffinity node_affinities = 3; + * repeated .google.cloud.vmmigration.v1.SchedulingNodeAffinity node_affinities = 3; + * */ public Builder addNodeAffinities(com.google.cloud.vmmigration.v1.SchedulingNodeAffinity value) { if (nodeAffinitiesBuilder_ == null) { @@ -1253,12 +1443,15 @@ public Builder addNodeAffinities(com.google.cloud.vmmigration.v1.SchedulingNodeA return this; } /** + * + * *
      * A set of node affinity and anti-affinity configurations for sole tenant
      * nodes.
      * 
* - * repeated .google.cloud.vmmigration.v1.SchedulingNodeAffinity node_affinities = 3; + * repeated .google.cloud.vmmigration.v1.SchedulingNodeAffinity node_affinities = 3; + * */ public Builder addNodeAffinities( int index, com.google.cloud.vmmigration.v1.SchedulingNodeAffinity value) { @@ -1275,12 +1468,15 @@ public Builder addNodeAffinities( return this; } /** + * + * *
      * A set of node affinity and anti-affinity configurations for sole tenant
      * nodes.
      * 
* - * repeated .google.cloud.vmmigration.v1.SchedulingNodeAffinity node_affinities = 3; + * repeated .google.cloud.vmmigration.v1.SchedulingNodeAffinity node_affinities = 3; + * */ public Builder addNodeAffinities( com.google.cloud.vmmigration.v1.SchedulingNodeAffinity.Builder builderForValue) { @@ -1294,12 +1490,15 @@ public Builder addNodeAffinities( return this; } /** + * + * *
      * A set of node affinity and anti-affinity configurations for sole tenant
      * nodes.
      * 
* - * repeated .google.cloud.vmmigration.v1.SchedulingNodeAffinity node_affinities = 3; + * repeated .google.cloud.vmmigration.v1.SchedulingNodeAffinity node_affinities = 3; + * */ public Builder addNodeAffinities( int index, com.google.cloud.vmmigration.v1.SchedulingNodeAffinity.Builder builderForValue) { @@ -1313,19 +1512,22 @@ public Builder addNodeAffinities( return this; } /** + * + * *
      * A set of node affinity and anti-affinity configurations for sole tenant
      * nodes.
      * 
* - * repeated .google.cloud.vmmigration.v1.SchedulingNodeAffinity node_affinities = 3; + * repeated .google.cloud.vmmigration.v1.SchedulingNodeAffinity node_affinities = 3; + * */ public Builder addAllNodeAffinities( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (nodeAffinitiesBuilder_ == null) { ensureNodeAffinitiesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, nodeAffinities_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, nodeAffinities_); onChanged(); } else { nodeAffinitiesBuilder_.addAllMessages(values); @@ -1333,12 +1535,15 @@ public Builder addAllNodeAffinities( return this; } /** + * + * *
      * A set of node affinity and anti-affinity configurations for sole tenant
      * nodes.
      * 
* - * repeated .google.cloud.vmmigration.v1.SchedulingNodeAffinity node_affinities = 3; + * repeated .google.cloud.vmmigration.v1.SchedulingNodeAffinity node_affinities = 3; + * */ public Builder clearNodeAffinities() { if (nodeAffinitiesBuilder_ == null) { @@ -1351,12 +1556,15 @@ public Builder clearNodeAffinities() { return this; } /** + * + * *
      * A set of node affinity and anti-affinity configurations for sole tenant
      * nodes.
      * 
* - * repeated .google.cloud.vmmigration.v1.SchedulingNodeAffinity node_affinities = 3; + * repeated .google.cloud.vmmigration.v1.SchedulingNodeAffinity node_affinities = 3; + * */ public Builder removeNodeAffinities(int index) { if (nodeAffinitiesBuilder_ == null) { @@ -1369,42 +1577,52 @@ public Builder removeNodeAffinities(int index) { return this; } /** + * + * *
      * A set of node affinity and anti-affinity configurations for sole tenant
      * nodes.
      * 
* - * repeated .google.cloud.vmmigration.v1.SchedulingNodeAffinity node_affinities = 3; + * repeated .google.cloud.vmmigration.v1.SchedulingNodeAffinity node_affinities = 3; + * */ public com.google.cloud.vmmigration.v1.SchedulingNodeAffinity.Builder getNodeAffinitiesBuilder( int index) { return getNodeAffinitiesFieldBuilder().getBuilder(index); } /** + * + * *
      * A set of node affinity and anti-affinity configurations for sole tenant
      * nodes.
      * 
* - * repeated .google.cloud.vmmigration.v1.SchedulingNodeAffinity node_affinities = 3; + * repeated .google.cloud.vmmigration.v1.SchedulingNodeAffinity node_affinities = 3; + * */ - public com.google.cloud.vmmigration.v1.SchedulingNodeAffinityOrBuilder getNodeAffinitiesOrBuilder( - int index) { + public com.google.cloud.vmmigration.v1.SchedulingNodeAffinityOrBuilder + getNodeAffinitiesOrBuilder(int index) { if (nodeAffinitiesBuilder_ == null) { - return nodeAffinities_.get(index); } else { + return nodeAffinities_.get(index); + } else { return nodeAffinitiesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * A set of node affinity and anti-affinity configurations for sole tenant
      * nodes.
      * 
* - * repeated .google.cloud.vmmigration.v1.SchedulingNodeAffinity node_affinities = 3; + * repeated .google.cloud.vmmigration.v1.SchedulingNodeAffinity node_affinities = 3; + * */ - public java.util.List - getNodeAffinitiesOrBuilderList() { + public java.util.List + getNodeAffinitiesOrBuilderList() { if (nodeAffinitiesBuilder_ != null) { return nodeAffinitiesBuilder_.getMessageOrBuilderList(); } else { @@ -1412,48 +1630,65 @@ public com.google.cloud.vmmigration.v1.SchedulingNodeAffinityOrBuilder getNodeAf } } /** + * + * *
      * A set of node affinity and anti-affinity configurations for sole tenant
      * nodes.
      * 
* - * repeated .google.cloud.vmmigration.v1.SchedulingNodeAffinity node_affinities = 3; + * repeated .google.cloud.vmmigration.v1.SchedulingNodeAffinity node_affinities = 3; + * */ - public com.google.cloud.vmmigration.v1.SchedulingNodeAffinity.Builder addNodeAffinitiesBuilder() { - return getNodeAffinitiesFieldBuilder().addBuilder( - com.google.cloud.vmmigration.v1.SchedulingNodeAffinity.getDefaultInstance()); + public com.google.cloud.vmmigration.v1.SchedulingNodeAffinity.Builder + addNodeAffinitiesBuilder() { + return getNodeAffinitiesFieldBuilder() + .addBuilder(com.google.cloud.vmmigration.v1.SchedulingNodeAffinity.getDefaultInstance()); } /** + * + * *
      * A set of node affinity and anti-affinity configurations for sole tenant
      * nodes.
      * 
* - * repeated .google.cloud.vmmigration.v1.SchedulingNodeAffinity node_affinities = 3; + * repeated .google.cloud.vmmigration.v1.SchedulingNodeAffinity node_affinities = 3; + * */ public com.google.cloud.vmmigration.v1.SchedulingNodeAffinity.Builder addNodeAffinitiesBuilder( int index) { - return getNodeAffinitiesFieldBuilder().addBuilder( - index, com.google.cloud.vmmigration.v1.SchedulingNodeAffinity.getDefaultInstance()); + return getNodeAffinitiesFieldBuilder() + .addBuilder( + index, com.google.cloud.vmmigration.v1.SchedulingNodeAffinity.getDefaultInstance()); } /** + * + * *
      * A set of node affinity and anti-affinity configurations for sole tenant
      * nodes.
      * 
* - * repeated .google.cloud.vmmigration.v1.SchedulingNodeAffinity node_affinities = 3; + * repeated .google.cloud.vmmigration.v1.SchedulingNodeAffinity node_affinities = 3; + * */ - public java.util.List - getNodeAffinitiesBuilderList() { + public java.util.List + getNodeAffinitiesBuilderList() { return getNodeAffinitiesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.vmmigration.v1.SchedulingNodeAffinity, com.google.cloud.vmmigration.v1.SchedulingNodeAffinity.Builder, com.google.cloud.vmmigration.v1.SchedulingNodeAffinityOrBuilder> + com.google.cloud.vmmigration.v1.SchedulingNodeAffinity, + com.google.cloud.vmmigration.v1.SchedulingNodeAffinity.Builder, + com.google.cloud.vmmigration.v1.SchedulingNodeAffinityOrBuilder> getNodeAffinitiesFieldBuilder() { if (nodeAffinitiesBuilder_ == null) { - nodeAffinitiesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.vmmigration.v1.SchedulingNodeAffinity, com.google.cloud.vmmigration.v1.SchedulingNodeAffinity.Builder, com.google.cloud.vmmigration.v1.SchedulingNodeAffinityOrBuilder>( + nodeAffinitiesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.vmmigration.v1.SchedulingNodeAffinity, + com.google.cloud.vmmigration.v1.SchedulingNodeAffinity.Builder, + com.google.cloud.vmmigration.v1.SchedulingNodeAffinityOrBuilder>( nodeAffinities_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -1463,8 +1698,10 @@ public com.google.cloud.vmmigration.v1.SchedulingNodeAffinity.Builder addNodeAff return nodeAffinitiesBuilder_; } - private int minNodeCpus_ ; + private int minNodeCpus_; /** + * + * *
      * The minimum number of virtual CPUs this instance will consume when
      * running on a sole-tenant node. Ignored if no node_affinites are
@@ -1472,6 +1709,7 @@ public com.google.cloud.vmmigration.v1.SchedulingNodeAffinity.Builder addNodeAff
      * 
* * int32 min_node_cpus = 4; + * * @return The minNodeCpus. */ @java.lang.Override @@ -1479,6 +1717,8 @@ public int getMinNodeCpus() { return minNodeCpus_; } /** + * + * *
      * The minimum number of virtual CPUs this instance will consume when
      * running on a sole-tenant node. Ignored if no node_affinites are
@@ -1486,16 +1726,19 @@ public int getMinNodeCpus() {
      * 
* * int32 min_node_cpus = 4; + * * @param value The minNodeCpus to set. * @return This builder for chaining. */ public Builder setMinNodeCpus(int value) { - + minNodeCpus_ = value; onChanged(); return this; } /** + * + * *
      * The minimum number of virtual CPUs this instance will consume when
      * running on a sole-tenant node. Ignored if no node_affinites are
@@ -1503,17 +1746,18 @@ public Builder setMinNodeCpus(int value) {
      * 
* * int32 min_node_cpus = 4; + * * @return This builder for chaining. */ public Builder clearMinNodeCpus() { - + minNodeCpus_ = 0; 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); } @@ -1523,12 +1767,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.vmmigration.v1.ComputeScheduling) } // @@protoc_insertion_point(class_scope:google.cloud.vmmigration.v1.ComputeScheduling) private static final com.google.cloud.vmmigration.v1.ComputeScheduling DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.vmmigration.v1.ComputeScheduling(); } @@ -1537,16 +1781,16 @@ public static com.google.cloud.vmmigration.v1.ComputeScheduling getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ComputeScheduling parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ComputeScheduling(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ComputeScheduling parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ComputeScheduling(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1561,6 +1805,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.vmmigration.v1.ComputeScheduling getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ComputeSchedulingOrBuilder.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ComputeSchedulingOrBuilder.java similarity index 81% rename from owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ComputeSchedulingOrBuilder.java rename to proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ComputeSchedulingOrBuilder.java index 28553b9..76b2792 100644 --- a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ComputeSchedulingOrBuilder.java +++ b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ComputeSchedulingOrBuilder.java @@ -1,34 +1,60 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; -public interface ComputeSchedulingOrBuilder extends +public interface ComputeSchedulingOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.ComputeScheduling) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * How the instance should behave when the host machine undergoes
    * maintenance that may temporarily impact instance performance.
    * 
* - * .google.cloud.vmmigration.v1.ComputeScheduling.OnHostMaintenance on_host_maintenance = 1; + * .google.cloud.vmmigration.v1.ComputeScheduling.OnHostMaintenance on_host_maintenance = 1; + * + * * @return The enum numeric value on the wire for onHostMaintenance. */ int getOnHostMaintenanceValue(); /** + * + * *
    * How the instance should behave when the host machine undergoes
    * maintenance that may temporarily impact instance performance.
    * 
* - * .google.cloud.vmmigration.v1.ComputeScheduling.OnHostMaintenance on_host_maintenance = 1; + * .google.cloud.vmmigration.v1.ComputeScheduling.OnHostMaintenance on_host_maintenance = 1; + * + * * @return The onHostMaintenance. */ com.google.cloud.vmmigration.v1.ComputeScheduling.OnHostMaintenance getOnHostMaintenance(); /** + * + * *
    * Whether the Instance should be automatically restarted whenever it is
    * terminated by Compute Engine (not terminated by user).
@@ -39,10 +65,13 @@ public interface ComputeSchedulingOrBuilder extends
    * 
* * .google.cloud.vmmigration.v1.ComputeScheduling.RestartType restart_type = 5; + * * @return The enum numeric value on the wire for restartType. */ int getRestartTypeValue(); /** + * + * *
    * Whether the Instance should be automatically restarted whenever it is
    * terminated by Compute Engine (not terminated by user).
@@ -53,11 +82,14 @@ public interface ComputeSchedulingOrBuilder extends
    * 
* * .google.cloud.vmmigration.v1.ComputeScheduling.RestartType restart_type = 5; + * * @return The restartType. */ com.google.cloud.vmmigration.v1.ComputeScheduling.RestartType getRestartType(); /** + * + * *
    * A set of node affinity and anti-affinity configurations for sole tenant
    * nodes.
@@ -65,9 +97,10 @@ public interface ComputeSchedulingOrBuilder extends
    *
    * repeated .google.cloud.vmmigration.v1.SchedulingNodeAffinity node_affinities = 3;
    */
-  java.util.List 
-      getNodeAffinitiesList();
+  java.util.List getNodeAffinitiesList();
   /**
+   *
+   *
    * 
    * A set of node affinity and anti-affinity configurations for sole tenant
    * nodes.
@@ -77,6 +110,8 @@ public interface ComputeSchedulingOrBuilder extends
    */
   com.google.cloud.vmmigration.v1.SchedulingNodeAffinity getNodeAffinities(int index);
   /**
+   *
+   *
    * 
    * A set of node affinity and anti-affinity configurations for sole tenant
    * nodes.
@@ -86,6 +121,8 @@ public interface ComputeSchedulingOrBuilder extends
    */
   int getNodeAffinitiesCount();
   /**
+   *
+   *
    * 
    * A set of node affinity and anti-affinity configurations for sole tenant
    * nodes.
@@ -93,9 +130,11 @@ public interface ComputeSchedulingOrBuilder extends
    *
    * repeated .google.cloud.vmmigration.v1.SchedulingNodeAffinity node_affinities = 3;
    */
-  java.util.List 
+  java.util.List
       getNodeAffinitiesOrBuilderList();
   /**
+   *
+   *
    * 
    * A set of node affinity and anti-affinity configurations for sole tenant
    * nodes.
@@ -107,6 +146,8 @@ com.google.cloud.vmmigration.v1.SchedulingNodeAffinityOrBuilder getNodeAffinitie
       int index);
 
   /**
+   *
+   *
    * 
    * The minimum number of virtual CPUs this instance will consume when
    * running on a sole-tenant node. Ignored if no node_affinites are
@@ -114,6 +155,7 @@ com.google.cloud.vmmigration.v1.SchedulingNodeAffinityOrBuilder getNodeAffinitie
    * 
* * int32 min_node_cpus = 4; + * * @return The minNodeCpus. */ int getMinNodeCpus(); diff --git a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CreateCloneJobRequest.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CreateCloneJobRequest.java similarity index 68% rename from owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CreateCloneJobRequest.java rename to proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CreateCloneJobRequest.java index 2c46825..f36b570 100644 --- a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CreateCloneJobRequest.java +++ b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CreateCloneJobRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; /** + * + * *
  * Request message for 'CreateCloneJob' request.
  * 
* * Protobuf type {@code google.cloud.vmmigration.v1.CreateCloneJobRequest} */ -public final class CreateCloneJobRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CreateCloneJobRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.vmmigration.v1.CreateCloneJobRequest) CreateCloneJobRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateCloneJobRequest.newBuilder() to construct. private CreateCloneJobRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreateCloneJobRequest() { parent_ = ""; cloneJobId_ = ""; @@ -27,16 +45,15 @@ private CreateCloneJobRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateCloneJobRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private CreateCloneJobRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,44 +72,50 @@ private CreateCloneJobRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - parent_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - cloneJobId_ = s; - break; - } - case 26: { - com.google.cloud.vmmigration.v1.CloneJob.Builder subBuilder = null; - if (cloneJob_ != null) { - subBuilder = cloneJob_.toBuilder(); + parent_ = s; + break; } - cloneJob_ = input.readMessage(com.google.cloud.vmmigration.v1.CloneJob.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(cloneJob_); - cloneJob_ = subBuilder.buildPartial(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + + cloneJobId_ = s; + break; } + case 26: + { + com.google.cloud.vmmigration.v1.CloneJob.Builder subBuilder = null; + if (cloneJob_ != null) { + subBuilder = cloneJob_.toBuilder(); + } + cloneJob_ = + input.readMessage( + com.google.cloud.vmmigration.v1.CloneJob.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(cloneJob_); + cloneJob_ = subBuilder.buildPartial(); + } - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); + break; + } + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); - requestId_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + requestId_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -100,34 +123,41 @@ private CreateCloneJobRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_CreateCloneJobRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_CreateCloneJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_CreateCloneJobRequest_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_CreateCloneJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.CreateCloneJobRequest.class, com.google.cloud.vmmigration.v1.CreateCloneJobRequest.Builder.class); + com.google.cloud.vmmigration.v1.CreateCloneJobRequest.class, + com.google.cloud.vmmigration.v1.CreateCloneJobRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The Clone's parent.
    * 
* - * 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 @@ -136,29 +166,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 Clone's parent.
    * 
* - * 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 { @@ -169,11 +201,14 @@ public java.lang.String getParent() { public static final int CLONE_JOB_ID_FIELD_NUMBER = 2; private volatile java.lang.Object cloneJobId_; /** + * + * *
    * Required. The clone job identifier.
    * 
* * string clone_job_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The cloneJobId. */ @java.lang.Override @@ -182,29 +217,29 @@ public java.lang.String getCloneJobId() { 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(); cloneJobId_ = s; return s; } } /** + * + * *
    * Required. The clone job identifier.
    * 
* * string clone_job_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for cloneJobId. */ @java.lang.Override - public com.google.protobuf.ByteString - getCloneJobIdBytes() { + public com.google.protobuf.ByteString getCloneJobIdBytes() { java.lang.Object ref = cloneJobId_; 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); cloneJobId_ = b; return b; } else { @@ -215,11 +250,16 @@ public java.lang.String getCloneJobId() { public static final int CLONE_JOB_FIELD_NUMBER = 3; private com.google.cloud.vmmigration.v1.CloneJob cloneJob_; /** + * + * *
    * Required. The clone request body.
    * 
* - * .google.cloud.vmmigration.v1.CloneJob clone_job = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.vmmigration.v1.CloneJob clone_job = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the cloneJob field is set. */ @java.lang.Override @@ -227,23 +267,34 @@ public boolean hasCloneJob() { return cloneJob_ != null; } /** + * + * *
    * Required. The clone request body.
    * 
* - * .google.cloud.vmmigration.v1.CloneJob clone_job = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.vmmigration.v1.CloneJob clone_job = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The cloneJob. */ @java.lang.Override public com.google.cloud.vmmigration.v1.CloneJob getCloneJob() { - return cloneJob_ == null ? com.google.cloud.vmmigration.v1.CloneJob.getDefaultInstance() : cloneJob_; + return cloneJob_ == null + ? com.google.cloud.vmmigration.v1.CloneJob.getDefaultInstance() + : cloneJob_; } /** + * + * *
    * Required. The clone request body.
    * 
* - * .google.cloud.vmmigration.v1.CloneJob clone_job = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.vmmigration.v1.CloneJob clone_job = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.vmmigration.v1.CloneJobOrBuilder getCloneJobOrBuilder() { @@ -253,6 +304,8 @@ public com.google.cloud.vmmigration.v1.CloneJobOrBuilder getCloneJobOrBuilder() public static final int REQUEST_ID_FIELD_NUMBER = 4; private volatile java.lang.Object requestId_; /** + * + * *
    * A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -268,6 +321,7 @@ public com.google.cloud.vmmigration.v1.CloneJobOrBuilder getCloneJobOrBuilder()
    * 
* * string request_id = 4; + * * @return The requestId. */ @java.lang.Override @@ -276,14 +330,15 @@ public java.lang.String getRequestId() { 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(); requestId_ = s; return s; } } /** + * + * *
    * A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -299,16 +354,15 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 4; + * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; 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); requestId_ = b; return b; } else { @@ -317,6 +371,7 @@ public java.lang.String getRequestId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -328,8 +383,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_); } @@ -358,8 +412,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, cloneJobId_); } if (cloneJob_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getCloneJob()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getCloneJob()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, requestId_); @@ -372,24 +425,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.vmmigration.v1.CreateCloneJobRequest)) { return super.equals(obj); } - com.google.cloud.vmmigration.v1.CreateCloneJobRequest other = (com.google.cloud.vmmigration.v1.CreateCloneJobRequest) obj; + com.google.cloud.vmmigration.v1.CreateCloneJobRequest other = + (com.google.cloud.vmmigration.v1.CreateCloneJobRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (!getCloneJobId() - .equals(other.getCloneJobId())) return false; + if (!getParent().equals(other.getParent())) return false; + if (!getCloneJobId().equals(other.getCloneJobId())) return false; if (hasCloneJob() != other.hasCloneJob()) return false; if (hasCloneJob()) { - if (!getCloneJob() - .equals(other.getCloneJob())) return false; + if (!getCloneJob().equals(other.getCloneJob())) return false; } - if (!getRequestId() - .equals(other.getRequestId())) return false; + if (!getRequestId().equals(other.getRequestId())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -417,117 +467,127 @@ public int hashCode() { } public static com.google.cloud.vmmigration.v1.CreateCloneJobRequest 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.vmmigration.v1.CreateCloneJobRequest 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.vmmigration.v1.CreateCloneJobRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.vmmigration.v1.CreateCloneJobRequest 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.vmmigration.v1.CreateCloneJobRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.vmmigration.v1.CreateCloneJobRequest 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.vmmigration.v1.CreateCloneJobRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.vmmigration.v1.CreateCloneJobRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.vmmigration.v1.CreateCloneJobRequest 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.vmmigration.v1.CreateCloneJobRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.vmmigration.v1.CreateCloneJobRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.vmmigration.v1.CreateCloneJobRequest 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.vmmigration.v1.CreateCloneJobRequest 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.vmmigration.v1.CreateCloneJobRequest 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.vmmigration.v1.CreateCloneJobRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.vmmigration.v1.CreateCloneJobRequest 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 message for 'CreateCloneJob' request.
    * 
* * Protobuf type {@code google.cloud.vmmigration.v1.CreateCloneJobRequest} */ - 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.vmmigration.v1.CreateCloneJobRequest) com.google.cloud.vmmigration.v1.CreateCloneJobRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_CreateCloneJobRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_CreateCloneJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_CreateCloneJobRequest_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_CreateCloneJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.CreateCloneJobRequest.class, com.google.cloud.vmmigration.v1.CreateCloneJobRequest.Builder.class); + com.google.cloud.vmmigration.v1.CreateCloneJobRequest.class, + com.google.cloud.vmmigration.v1.CreateCloneJobRequest.Builder.class); } // Construct using com.google.cloud.vmmigration.v1.CreateCloneJobRequest.newBuilder() @@ -535,16 +595,15 @@ 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) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -564,9 +623,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_CreateCloneJobRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_CreateCloneJobRequest_descriptor; } @java.lang.Override @@ -585,7 +644,8 @@ public com.google.cloud.vmmigration.v1.CreateCloneJobRequest build() { @java.lang.Override public com.google.cloud.vmmigration.v1.CreateCloneJobRequest buildPartial() { - com.google.cloud.vmmigration.v1.CreateCloneJobRequest result = new com.google.cloud.vmmigration.v1.CreateCloneJobRequest(this); + com.google.cloud.vmmigration.v1.CreateCloneJobRequest result = + new com.google.cloud.vmmigration.v1.CreateCloneJobRequest(this); result.parent_ = parent_; result.cloneJobId_ = cloneJobId_; if (cloneJobBuilder_ == null) { @@ -602,38 +662,39 @@ public com.google.cloud.vmmigration.v1.CreateCloneJobRequest buildPartial() { 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.vmmigration.v1.CreateCloneJobRequest) { - return mergeFrom((com.google.cloud.vmmigration.v1.CreateCloneJobRequest)other); + return mergeFrom((com.google.cloud.vmmigration.v1.CreateCloneJobRequest) other); } else { super.mergeFrom(other); return this; @@ -641,7 +702,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.vmmigration.v1.CreateCloneJobRequest other) { - if (other == com.google.cloud.vmmigration.v1.CreateCloneJobRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.vmmigration.v1.CreateCloneJobRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -676,7 +738,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.vmmigration.v1.CreateCloneJobRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.vmmigration.v1.CreateCloneJobRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -688,18 +751,22 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The Clone's parent.
      * 
* - * 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; @@ -708,20 +775,23 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The Clone's parent.
      * 
* - * 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 { @@ -729,54 +799,67 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The Clone's parent.
      * 
* - * 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) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. The Clone's parent.
      * 
* - * 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() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The Clone's parent.
      * 
* - * 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) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -784,18 +867,20 @@ public Builder setParentBytes( private java.lang.Object cloneJobId_ = ""; /** + * + * *
      * Required. The clone job identifier.
      * 
* * string clone_job_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The cloneJobId. */ public java.lang.String getCloneJobId() { java.lang.Object ref = cloneJobId_; 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(); cloneJobId_ = s; return s; @@ -804,20 +889,21 @@ public java.lang.String getCloneJobId() { } } /** + * + * *
      * Required. The clone job identifier.
      * 
* * string clone_job_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for cloneJobId. */ - public com.google.protobuf.ByteString - getCloneJobIdBytes() { + public com.google.protobuf.ByteString getCloneJobIdBytes() { java.lang.Object ref = cloneJobId_; 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); cloneJobId_ = b; return b; } else { @@ -825,54 +911,61 @@ public java.lang.String getCloneJobId() { } } /** + * + * *
      * Required. The clone job identifier.
      * 
* * string clone_job_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The cloneJobId to set. * @return This builder for chaining. */ - public Builder setCloneJobId( - java.lang.String value) { + public Builder setCloneJobId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + cloneJobId_ = value; onChanged(); return this; } /** + * + * *
      * Required. The clone job identifier.
      * 
* * string clone_job_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearCloneJobId() { - + cloneJobId_ = getDefaultInstance().getCloneJobId(); onChanged(); return this; } /** + * + * *
      * Required. The clone job identifier.
      * 
* * string clone_job_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for cloneJobId to set. * @return This builder for chaining. */ - public Builder setCloneJobIdBytes( - com.google.protobuf.ByteString value) { + public Builder setCloneJobIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + cloneJobId_ = value; onChanged(); return this; @@ -880,39 +973,58 @@ public Builder setCloneJobIdBytes( private com.google.cloud.vmmigration.v1.CloneJob cloneJob_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.vmmigration.v1.CloneJob, com.google.cloud.vmmigration.v1.CloneJob.Builder, com.google.cloud.vmmigration.v1.CloneJobOrBuilder> cloneJobBuilder_; + com.google.cloud.vmmigration.v1.CloneJob, + com.google.cloud.vmmigration.v1.CloneJob.Builder, + com.google.cloud.vmmigration.v1.CloneJobOrBuilder> + cloneJobBuilder_; /** + * + * *
      * Required. The clone request body.
      * 
* - * .google.cloud.vmmigration.v1.CloneJob clone_job = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.vmmigration.v1.CloneJob clone_job = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the cloneJob field is set. */ public boolean hasCloneJob() { return cloneJobBuilder_ != null || cloneJob_ != null; } /** + * + * *
      * Required. The clone request body.
      * 
* - * .google.cloud.vmmigration.v1.CloneJob clone_job = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.vmmigration.v1.CloneJob clone_job = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The cloneJob. */ public com.google.cloud.vmmigration.v1.CloneJob getCloneJob() { if (cloneJobBuilder_ == null) { - return cloneJob_ == null ? com.google.cloud.vmmigration.v1.CloneJob.getDefaultInstance() : cloneJob_; + return cloneJob_ == null + ? com.google.cloud.vmmigration.v1.CloneJob.getDefaultInstance() + : cloneJob_; } else { return cloneJobBuilder_.getMessage(); } } /** + * + * *
      * Required. The clone request body.
      * 
* - * .google.cloud.vmmigration.v1.CloneJob clone_job = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.vmmigration.v1.CloneJob clone_job = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setCloneJob(com.google.cloud.vmmigration.v1.CloneJob value) { if (cloneJobBuilder_ == null) { @@ -928,14 +1040,17 @@ public Builder setCloneJob(com.google.cloud.vmmigration.v1.CloneJob value) { return this; } /** + * + * *
      * Required. The clone request body.
      * 
* - * .google.cloud.vmmigration.v1.CloneJob clone_job = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.vmmigration.v1.CloneJob clone_job = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setCloneJob( - com.google.cloud.vmmigration.v1.CloneJob.Builder builderForValue) { + public Builder setCloneJob(com.google.cloud.vmmigration.v1.CloneJob.Builder builderForValue) { if (cloneJobBuilder_ == null) { cloneJob_ = builderForValue.build(); onChanged(); @@ -946,17 +1061,23 @@ public Builder setCloneJob( return this; } /** + * + * *
      * Required. The clone request body.
      * 
* - * .google.cloud.vmmigration.v1.CloneJob clone_job = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.vmmigration.v1.CloneJob clone_job = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeCloneJob(com.google.cloud.vmmigration.v1.CloneJob value) { if (cloneJobBuilder_ == null) { if (cloneJob_ != null) { cloneJob_ = - com.google.cloud.vmmigration.v1.CloneJob.newBuilder(cloneJob_).mergeFrom(value).buildPartial(); + com.google.cloud.vmmigration.v1.CloneJob.newBuilder(cloneJob_) + .mergeFrom(value) + .buildPartial(); } else { cloneJob_ = value; } @@ -968,11 +1089,15 @@ public Builder mergeCloneJob(com.google.cloud.vmmigration.v1.CloneJob value) { return this; } /** + * + * *
      * Required. The clone request body.
      * 
* - * .google.cloud.vmmigration.v1.CloneJob clone_job = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.vmmigration.v1.CloneJob clone_job = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearCloneJob() { if (cloneJobBuilder_ == null) { @@ -986,48 +1111,64 @@ public Builder clearCloneJob() { return this; } /** + * + * *
      * Required. The clone request body.
      * 
* - * .google.cloud.vmmigration.v1.CloneJob clone_job = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.vmmigration.v1.CloneJob clone_job = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.vmmigration.v1.CloneJob.Builder getCloneJobBuilder() { - + onChanged(); return getCloneJobFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The clone request body.
      * 
* - * .google.cloud.vmmigration.v1.CloneJob clone_job = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.vmmigration.v1.CloneJob clone_job = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.vmmigration.v1.CloneJobOrBuilder getCloneJobOrBuilder() { if (cloneJobBuilder_ != null) { return cloneJobBuilder_.getMessageOrBuilder(); } else { - return cloneJob_ == null ? - com.google.cloud.vmmigration.v1.CloneJob.getDefaultInstance() : cloneJob_; + return cloneJob_ == null + ? com.google.cloud.vmmigration.v1.CloneJob.getDefaultInstance() + : cloneJob_; } } /** + * + * *
      * Required. The clone request body.
      * 
* - * .google.cloud.vmmigration.v1.CloneJob clone_job = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.vmmigration.v1.CloneJob clone_job = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.vmmigration.v1.CloneJob, com.google.cloud.vmmigration.v1.CloneJob.Builder, com.google.cloud.vmmigration.v1.CloneJobOrBuilder> + com.google.cloud.vmmigration.v1.CloneJob, + com.google.cloud.vmmigration.v1.CloneJob.Builder, + com.google.cloud.vmmigration.v1.CloneJobOrBuilder> getCloneJobFieldBuilder() { if (cloneJobBuilder_ == null) { - cloneJobBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.vmmigration.v1.CloneJob, com.google.cloud.vmmigration.v1.CloneJob.Builder, com.google.cloud.vmmigration.v1.CloneJobOrBuilder>( - getCloneJob(), - getParentForChildren(), - isClean()); + cloneJobBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.vmmigration.v1.CloneJob, + com.google.cloud.vmmigration.v1.CloneJob.Builder, + com.google.cloud.vmmigration.v1.CloneJobOrBuilder>( + getCloneJob(), getParentForChildren(), isClean()); cloneJob_ = null; } return cloneJobBuilder_; @@ -1035,6 +1176,8 @@ public com.google.cloud.vmmigration.v1.CloneJobOrBuilder getCloneJobOrBuilder() private java.lang.Object requestId_ = ""; /** + * + * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1050,13 +1193,13 @@ public com.google.cloud.vmmigration.v1.CloneJobOrBuilder getCloneJobOrBuilder()
      * 
* * string request_id = 4; + * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; 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(); requestId_ = s; return s; @@ -1065,6 +1208,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1080,15 +1225,14 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 4; + * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; 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); requestId_ = b; return b; } else { @@ -1096,6 +1240,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1111,20 +1257,22 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 4; + * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId( - java.lang.String value) { + public Builder setRequestId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + requestId_ = value; onChanged(); return this; } /** + * + * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1140,15 +1288,18 @@ public Builder setRequestId(
      * 
* * string request_id = 4; + * * @return This builder for chaining. */ public Builder clearRequestId() { - + requestId_ = getDefaultInstance().getRequestId(); onChanged(); return this; } /** + * + * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1164,23 +1315,23 @@ public Builder clearRequestId() {
      * 
* * string request_id = 4; + * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes( - com.google.protobuf.ByteString value) { + public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + requestId_ = 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); } @@ -1190,12 +1341,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.vmmigration.v1.CreateCloneJobRequest) } // @@protoc_insertion_point(class_scope:google.cloud.vmmigration.v1.CreateCloneJobRequest) private static final com.google.cloud.vmmigration.v1.CreateCloneJobRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.vmmigration.v1.CreateCloneJobRequest(); } @@ -1204,16 +1355,16 @@ public static com.google.cloud.vmmigration.v1.CreateCloneJobRequest getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateCloneJobRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateCloneJobRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateCloneJobRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CreateCloneJobRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1228,6 +1379,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.vmmigration.v1.CreateCloneJobRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CreateCloneJobRequestOrBuilder.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CreateCloneJobRequestOrBuilder.java similarity index 67% rename from owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CreateCloneJobRequestOrBuilder.java rename to proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CreateCloneJobRequestOrBuilder.java index 875c937..0553658 100644 --- a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CreateCloneJobRequestOrBuilder.java +++ b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CreateCloneJobRequestOrBuilder.java @@ -1,80 +1,126 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; -public interface CreateCloneJobRequestOrBuilder extends +public interface CreateCloneJobRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.CreateCloneJobRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The Clone's parent.
    * 
* - * 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 Clone's parent.
    * 
* - * 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. The clone job identifier.
    * 
* * string clone_job_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The cloneJobId. */ java.lang.String getCloneJobId(); /** + * + * *
    * Required. The clone job identifier.
    * 
* * string clone_job_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for cloneJobId. */ - com.google.protobuf.ByteString - getCloneJobIdBytes(); + com.google.protobuf.ByteString getCloneJobIdBytes(); /** + * + * *
    * Required. The clone request body.
    * 
* - * .google.cloud.vmmigration.v1.CloneJob clone_job = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.vmmigration.v1.CloneJob clone_job = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the cloneJob field is set. */ boolean hasCloneJob(); /** + * + * *
    * Required. The clone request body.
    * 
* - * .google.cloud.vmmigration.v1.CloneJob clone_job = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.vmmigration.v1.CloneJob clone_job = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The cloneJob. */ com.google.cloud.vmmigration.v1.CloneJob getCloneJob(); /** + * + * *
    * Required. The clone request body.
    * 
* - * .google.cloud.vmmigration.v1.CloneJob clone_job = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.vmmigration.v1.CloneJob clone_job = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.vmmigration.v1.CloneJobOrBuilder getCloneJobOrBuilder(); /** + * + * *
    * A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -90,10 +136,13 @@ public interface CreateCloneJobRequestOrBuilder extends
    * 
* * string request_id = 4; + * * @return The requestId. */ java.lang.String getRequestId(); /** + * + * *
    * A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -109,8 +158,8 @@ public interface CreateCloneJobRequestOrBuilder extends
    * 
* * string request_id = 4; + * * @return The bytes for requestId. */ - com.google.protobuf.ByteString - getRequestIdBytes(); + com.google.protobuf.ByteString getRequestIdBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CreateCutoverJobRequest.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CreateCutoverJobRequest.java similarity index 69% rename from owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CreateCutoverJobRequest.java rename to proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CreateCutoverJobRequest.java index 9ac29ae..fc02d55 100644 --- a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CreateCutoverJobRequest.java +++ b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CreateCutoverJobRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; /** + * + * *
  * Request message for 'CreateCutoverJob' request.
  * 
* * Protobuf type {@code google.cloud.vmmigration.v1.CreateCutoverJobRequest} */ -public final class CreateCutoverJobRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CreateCutoverJobRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.vmmigration.v1.CreateCutoverJobRequest) CreateCutoverJobRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateCutoverJobRequest.newBuilder() to construct. private CreateCutoverJobRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreateCutoverJobRequest() { parent_ = ""; cutoverJobId_ = ""; @@ -27,16 +45,15 @@ private CreateCutoverJobRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateCutoverJobRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private CreateCutoverJobRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,44 +72,50 @@ private CreateCutoverJobRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - parent_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - cutoverJobId_ = s; - break; - } - case 26: { - com.google.cloud.vmmigration.v1.CutoverJob.Builder subBuilder = null; - if (cutoverJob_ != null) { - subBuilder = cutoverJob_.toBuilder(); + parent_ = s; + break; } - cutoverJob_ = input.readMessage(com.google.cloud.vmmigration.v1.CutoverJob.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(cutoverJob_); - cutoverJob_ = subBuilder.buildPartial(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + + cutoverJobId_ = s; + break; } + case 26: + { + com.google.cloud.vmmigration.v1.CutoverJob.Builder subBuilder = null; + if (cutoverJob_ != null) { + subBuilder = cutoverJob_.toBuilder(); + } + cutoverJob_ = + input.readMessage( + com.google.cloud.vmmigration.v1.CutoverJob.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(cutoverJob_); + cutoverJob_ = subBuilder.buildPartial(); + } - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); + break; + } + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); - requestId_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + requestId_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -100,34 +123,41 @@ private CreateCutoverJobRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_CreateCutoverJobRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_CreateCutoverJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_CreateCutoverJobRequest_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_CreateCutoverJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.CreateCutoverJobRequest.class, com.google.cloud.vmmigration.v1.CreateCutoverJobRequest.Builder.class); + com.google.cloud.vmmigration.v1.CreateCutoverJobRequest.class, + com.google.cloud.vmmigration.v1.CreateCutoverJobRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The Cutover's parent.
    * 
* - * 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 @@ -136,29 +166,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 Cutover's parent.
    * 
* - * 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 { @@ -169,11 +201,14 @@ public java.lang.String getParent() { public static final int CUTOVER_JOB_ID_FIELD_NUMBER = 2; private volatile java.lang.Object cutoverJobId_; /** + * + * *
    * Required. The cutover job identifier.
    * 
* * string cutover_job_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The cutoverJobId. */ @java.lang.Override @@ -182,29 +217,29 @@ public java.lang.String getCutoverJobId() { 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(); cutoverJobId_ = s; return s; } } /** + * + * *
    * Required. The cutover job identifier.
    * 
* * string cutover_job_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for cutoverJobId. */ @java.lang.Override - public com.google.protobuf.ByteString - getCutoverJobIdBytes() { + public com.google.protobuf.ByteString getCutoverJobIdBytes() { java.lang.Object ref = cutoverJobId_; 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); cutoverJobId_ = b; return b; } else { @@ -215,11 +250,16 @@ public java.lang.String getCutoverJobId() { public static final int CUTOVER_JOB_FIELD_NUMBER = 3; private com.google.cloud.vmmigration.v1.CutoverJob cutoverJob_; /** + * + * *
    * Required. The cutover request body.
    * 
* - * .google.cloud.vmmigration.v1.CutoverJob cutover_job = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.vmmigration.v1.CutoverJob cutover_job = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the cutoverJob field is set. */ @java.lang.Override @@ -227,23 +267,34 @@ public boolean hasCutoverJob() { return cutoverJob_ != null; } /** + * + * *
    * Required. The cutover request body.
    * 
* - * .google.cloud.vmmigration.v1.CutoverJob cutover_job = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.vmmigration.v1.CutoverJob cutover_job = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The cutoverJob. */ @java.lang.Override public com.google.cloud.vmmigration.v1.CutoverJob getCutoverJob() { - return cutoverJob_ == null ? com.google.cloud.vmmigration.v1.CutoverJob.getDefaultInstance() : cutoverJob_; + return cutoverJob_ == null + ? com.google.cloud.vmmigration.v1.CutoverJob.getDefaultInstance() + : cutoverJob_; } /** + * + * *
    * Required. The cutover request body.
    * 
* - * .google.cloud.vmmigration.v1.CutoverJob cutover_job = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.vmmigration.v1.CutoverJob cutover_job = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.vmmigration.v1.CutoverJobOrBuilder getCutoverJobOrBuilder() { @@ -253,6 +304,8 @@ public com.google.cloud.vmmigration.v1.CutoverJobOrBuilder getCutoverJobOrBuilde public static final int REQUEST_ID_FIELD_NUMBER = 4; private volatile java.lang.Object requestId_; /** + * + * *
    * A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -268,6 +321,7 @@ public com.google.cloud.vmmigration.v1.CutoverJobOrBuilder getCutoverJobOrBuilde
    * 
* * string request_id = 4; + * * @return The requestId. */ @java.lang.Override @@ -276,14 +330,15 @@ public java.lang.String getRequestId() { 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(); requestId_ = s; return s; } } /** + * + * *
    * A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -299,16 +354,15 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 4; + * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; 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); requestId_ = b; return b; } else { @@ -317,6 +371,7 @@ public java.lang.String getRequestId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -328,8 +383,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_); } @@ -358,8 +412,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, cutoverJobId_); } if (cutoverJob_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getCutoverJob()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getCutoverJob()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, requestId_); @@ -372,24 +425,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.vmmigration.v1.CreateCutoverJobRequest)) { return super.equals(obj); } - com.google.cloud.vmmigration.v1.CreateCutoverJobRequest other = (com.google.cloud.vmmigration.v1.CreateCutoverJobRequest) obj; + com.google.cloud.vmmigration.v1.CreateCutoverJobRequest other = + (com.google.cloud.vmmigration.v1.CreateCutoverJobRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (!getCutoverJobId() - .equals(other.getCutoverJobId())) return false; + if (!getParent().equals(other.getParent())) return false; + if (!getCutoverJobId().equals(other.getCutoverJobId())) return false; if (hasCutoverJob() != other.hasCutoverJob()) return false; if (hasCutoverJob()) { - if (!getCutoverJob() - .equals(other.getCutoverJob())) return false; + if (!getCutoverJob().equals(other.getCutoverJob())) return false; } - if (!getRequestId() - .equals(other.getRequestId())) return false; + if (!getRequestId().equals(other.getRequestId())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -417,117 +467,127 @@ public int hashCode() { } public static com.google.cloud.vmmigration.v1.CreateCutoverJobRequest 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.vmmigration.v1.CreateCutoverJobRequest 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.vmmigration.v1.CreateCutoverJobRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.vmmigration.v1.CreateCutoverJobRequest 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.vmmigration.v1.CreateCutoverJobRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.vmmigration.v1.CreateCutoverJobRequest 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.vmmigration.v1.CreateCutoverJobRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.vmmigration.v1.CreateCutoverJobRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.vmmigration.v1.CreateCutoverJobRequest 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.vmmigration.v1.CreateCutoverJobRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.vmmigration.v1.CreateCutoverJobRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.vmmigration.v1.CreateCutoverJobRequest 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.vmmigration.v1.CreateCutoverJobRequest 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.vmmigration.v1.CreateCutoverJobRequest 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.vmmigration.v1.CreateCutoverJobRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.vmmigration.v1.CreateCutoverJobRequest 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 message for 'CreateCutoverJob' request.
    * 
* * Protobuf type {@code google.cloud.vmmigration.v1.CreateCutoverJobRequest} */ - 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.vmmigration.v1.CreateCutoverJobRequest) com.google.cloud.vmmigration.v1.CreateCutoverJobRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_CreateCutoverJobRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_CreateCutoverJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_CreateCutoverJobRequest_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_CreateCutoverJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.CreateCutoverJobRequest.class, com.google.cloud.vmmigration.v1.CreateCutoverJobRequest.Builder.class); + com.google.cloud.vmmigration.v1.CreateCutoverJobRequest.class, + com.google.cloud.vmmigration.v1.CreateCutoverJobRequest.Builder.class); } // Construct using com.google.cloud.vmmigration.v1.CreateCutoverJobRequest.newBuilder() @@ -535,16 +595,15 @@ 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) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -564,9 +623,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_CreateCutoverJobRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_CreateCutoverJobRequest_descriptor; } @java.lang.Override @@ -585,7 +644,8 @@ public com.google.cloud.vmmigration.v1.CreateCutoverJobRequest build() { @java.lang.Override public com.google.cloud.vmmigration.v1.CreateCutoverJobRequest buildPartial() { - com.google.cloud.vmmigration.v1.CreateCutoverJobRequest result = new com.google.cloud.vmmigration.v1.CreateCutoverJobRequest(this); + com.google.cloud.vmmigration.v1.CreateCutoverJobRequest result = + new com.google.cloud.vmmigration.v1.CreateCutoverJobRequest(this); result.parent_ = parent_; result.cutoverJobId_ = cutoverJobId_; if (cutoverJobBuilder_ == null) { @@ -602,38 +662,39 @@ public com.google.cloud.vmmigration.v1.CreateCutoverJobRequest buildPartial() { 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.vmmigration.v1.CreateCutoverJobRequest) { - return mergeFrom((com.google.cloud.vmmigration.v1.CreateCutoverJobRequest)other); + return mergeFrom((com.google.cloud.vmmigration.v1.CreateCutoverJobRequest) other); } else { super.mergeFrom(other); return this; @@ -641,7 +702,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.vmmigration.v1.CreateCutoverJobRequest other) { - if (other == com.google.cloud.vmmigration.v1.CreateCutoverJobRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.vmmigration.v1.CreateCutoverJobRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -676,7 +738,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.vmmigration.v1.CreateCutoverJobRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.vmmigration.v1.CreateCutoverJobRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -688,18 +751,22 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The Cutover's parent.
      * 
* - * 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; @@ -708,20 +775,23 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The Cutover's parent.
      * 
* - * 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 { @@ -729,54 +799,67 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The Cutover's parent.
      * 
* - * 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) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. The Cutover's parent.
      * 
* - * 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() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The Cutover's parent.
      * 
* - * 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) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -784,18 +867,20 @@ public Builder setParentBytes( private java.lang.Object cutoverJobId_ = ""; /** + * + * *
      * Required. The cutover job identifier.
      * 
* * string cutover_job_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The cutoverJobId. */ public java.lang.String getCutoverJobId() { java.lang.Object ref = cutoverJobId_; 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(); cutoverJobId_ = s; return s; @@ -804,20 +889,21 @@ public java.lang.String getCutoverJobId() { } } /** + * + * *
      * Required. The cutover job identifier.
      * 
* * string cutover_job_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for cutoverJobId. */ - public com.google.protobuf.ByteString - getCutoverJobIdBytes() { + public com.google.protobuf.ByteString getCutoverJobIdBytes() { java.lang.Object ref = cutoverJobId_; 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); cutoverJobId_ = b; return b; } else { @@ -825,54 +911,61 @@ public java.lang.String getCutoverJobId() { } } /** + * + * *
      * Required. The cutover job identifier.
      * 
* * string cutover_job_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The cutoverJobId to set. * @return This builder for chaining. */ - public Builder setCutoverJobId( - java.lang.String value) { + public Builder setCutoverJobId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + cutoverJobId_ = value; onChanged(); return this; } /** + * + * *
      * Required. The cutover job identifier.
      * 
* * string cutover_job_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearCutoverJobId() { - + cutoverJobId_ = getDefaultInstance().getCutoverJobId(); onChanged(); return this; } /** + * + * *
      * Required. The cutover job identifier.
      * 
* * string cutover_job_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for cutoverJobId to set. * @return This builder for chaining. */ - public Builder setCutoverJobIdBytes( - com.google.protobuf.ByteString value) { + public Builder setCutoverJobIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + cutoverJobId_ = value; onChanged(); return this; @@ -880,39 +973,58 @@ public Builder setCutoverJobIdBytes( private com.google.cloud.vmmigration.v1.CutoverJob cutoverJob_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.vmmigration.v1.CutoverJob, com.google.cloud.vmmigration.v1.CutoverJob.Builder, com.google.cloud.vmmigration.v1.CutoverJobOrBuilder> cutoverJobBuilder_; + com.google.cloud.vmmigration.v1.CutoverJob, + com.google.cloud.vmmigration.v1.CutoverJob.Builder, + com.google.cloud.vmmigration.v1.CutoverJobOrBuilder> + cutoverJobBuilder_; /** + * + * *
      * Required. The cutover request body.
      * 
* - * .google.cloud.vmmigration.v1.CutoverJob cutover_job = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.vmmigration.v1.CutoverJob cutover_job = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the cutoverJob field is set. */ public boolean hasCutoverJob() { return cutoverJobBuilder_ != null || cutoverJob_ != null; } /** + * + * *
      * Required. The cutover request body.
      * 
* - * .google.cloud.vmmigration.v1.CutoverJob cutover_job = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.vmmigration.v1.CutoverJob cutover_job = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The cutoverJob. */ public com.google.cloud.vmmigration.v1.CutoverJob getCutoverJob() { if (cutoverJobBuilder_ == null) { - return cutoverJob_ == null ? com.google.cloud.vmmigration.v1.CutoverJob.getDefaultInstance() : cutoverJob_; + return cutoverJob_ == null + ? com.google.cloud.vmmigration.v1.CutoverJob.getDefaultInstance() + : cutoverJob_; } else { return cutoverJobBuilder_.getMessage(); } } /** + * + * *
      * Required. The cutover request body.
      * 
* - * .google.cloud.vmmigration.v1.CutoverJob cutover_job = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.vmmigration.v1.CutoverJob cutover_job = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setCutoverJob(com.google.cloud.vmmigration.v1.CutoverJob value) { if (cutoverJobBuilder_ == null) { @@ -928,11 +1040,15 @@ public Builder setCutoverJob(com.google.cloud.vmmigration.v1.CutoverJob value) { return this; } /** + * + * *
      * Required. The cutover request body.
      * 
* - * .google.cloud.vmmigration.v1.CutoverJob cutover_job = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.vmmigration.v1.CutoverJob cutover_job = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setCutoverJob( com.google.cloud.vmmigration.v1.CutoverJob.Builder builderForValue) { @@ -946,17 +1062,23 @@ public Builder setCutoverJob( return this; } /** + * + * *
      * Required. The cutover request body.
      * 
* - * .google.cloud.vmmigration.v1.CutoverJob cutover_job = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.vmmigration.v1.CutoverJob cutover_job = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeCutoverJob(com.google.cloud.vmmigration.v1.CutoverJob value) { if (cutoverJobBuilder_ == null) { if (cutoverJob_ != null) { cutoverJob_ = - com.google.cloud.vmmigration.v1.CutoverJob.newBuilder(cutoverJob_).mergeFrom(value).buildPartial(); + com.google.cloud.vmmigration.v1.CutoverJob.newBuilder(cutoverJob_) + .mergeFrom(value) + .buildPartial(); } else { cutoverJob_ = value; } @@ -968,11 +1090,15 @@ public Builder mergeCutoverJob(com.google.cloud.vmmigration.v1.CutoverJob value) return this; } /** + * + * *
      * Required. The cutover request body.
      * 
* - * .google.cloud.vmmigration.v1.CutoverJob cutover_job = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.vmmigration.v1.CutoverJob cutover_job = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearCutoverJob() { if (cutoverJobBuilder_ == null) { @@ -986,48 +1112,64 @@ public Builder clearCutoverJob() { return this; } /** + * + * *
      * Required. The cutover request body.
      * 
* - * .google.cloud.vmmigration.v1.CutoverJob cutover_job = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.vmmigration.v1.CutoverJob cutover_job = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.vmmigration.v1.CutoverJob.Builder getCutoverJobBuilder() { - + onChanged(); return getCutoverJobFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The cutover request body.
      * 
* - * .google.cloud.vmmigration.v1.CutoverJob cutover_job = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.vmmigration.v1.CutoverJob cutover_job = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.vmmigration.v1.CutoverJobOrBuilder getCutoverJobOrBuilder() { if (cutoverJobBuilder_ != null) { return cutoverJobBuilder_.getMessageOrBuilder(); } else { - return cutoverJob_ == null ? - com.google.cloud.vmmigration.v1.CutoverJob.getDefaultInstance() : cutoverJob_; + return cutoverJob_ == null + ? com.google.cloud.vmmigration.v1.CutoverJob.getDefaultInstance() + : cutoverJob_; } } /** + * + * *
      * Required. The cutover request body.
      * 
* - * .google.cloud.vmmigration.v1.CutoverJob cutover_job = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.vmmigration.v1.CutoverJob cutover_job = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.vmmigration.v1.CutoverJob, com.google.cloud.vmmigration.v1.CutoverJob.Builder, com.google.cloud.vmmigration.v1.CutoverJobOrBuilder> + com.google.cloud.vmmigration.v1.CutoverJob, + com.google.cloud.vmmigration.v1.CutoverJob.Builder, + com.google.cloud.vmmigration.v1.CutoverJobOrBuilder> getCutoverJobFieldBuilder() { if (cutoverJobBuilder_ == null) { - cutoverJobBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.vmmigration.v1.CutoverJob, com.google.cloud.vmmigration.v1.CutoverJob.Builder, com.google.cloud.vmmigration.v1.CutoverJobOrBuilder>( - getCutoverJob(), - getParentForChildren(), - isClean()); + cutoverJobBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.vmmigration.v1.CutoverJob, + com.google.cloud.vmmigration.v1.CutoverJob.Builder, + com.google.cloud.vmmigration.v1.CutoverJobOrBuilder>( + getCutoverJob(), getParentForChildren(), isClean()); cutoverJob_ = null; } return cutoverJobBuilder_; @@ -1035,6 +1177,8 @@ public com.google.cloud.vmmigration.v1.CutoverJobOrBuilder getCutoverJobOrBuilde private java.lang.Object requestId_ = ""; /** + * + * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1050,13 +1194,13 @@ public com.google.cloud.vmmigration.v1.CutoverJobOrBuilder getCutoverJobOrBuilde
      * 
* * string request_id = 4; + * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; 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(); requestId_ = s; return s; @@ -1065,6 +1209,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1080,15 +1226,14 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 4; + * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; 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); requestId_ = b; return b; } else { @@ -1096,6 +1241,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1111,20 +1258,22 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 4; + * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId( - java.lang.String value) { + public Builder setRequestId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + requestId_ = value; onChanged(); return this; } /** + * + * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1140,15 +1289,18 @@ public Builder setRequestId(
      * 
* * string request_id = 4; + * * @return This builder for chaining. */ public Builder clearRequestId() { - + requestId_ = getDefaultInstance().getRequestId(); onChanged(); return this; } /** + * + * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1164,23 +1316,23 @@ public Builder clearRequestId() {
      * 
* * string request_id = 4; + * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes( - com.google.protobuf.ByteString value) { + public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + requestId_ = 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); } @@ -1190,12 +1342,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.vmmigration.v1.CreateCutoverJobRequest) } // @@protoc_insertion_point(class_scope:google.cloud.vmmigration.v1.CreateCutoverJobRequest) private static final com.google.cloud.vmmigration.v1.CreateCutoverJobRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.vmmigration.v1.CreateCutoverJobRequest(); } @@ -1204,16 +1356,16 @@ public static com.google.cloud.vmmigration.v1.CreateCutoverJobRequest getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateCutoverJobRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateCutoverJobRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateCutoverJobRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CreateCutoverJobRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1228,6 +1380,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.vmmigration.v1.CreateCutoverJobRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CreateCutoverJobRequestOrBuilder.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CreateCutoverJobRequestOrBuilder.java similarity index 67% rename from owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CreateCutoverJobRequestOrBuilder.java rename to proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CreateCutoverJobRequestOrBuilder.java index 437891f..7a2408b 100644 --- a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CreateCutoverJobRequestOrBuilder.java +++ b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CreateCutoverJobRequestOrBuilder.java @@ -1,80 +1,126 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; -public interface CreateCutoverJobRequestOrBuilder extends +public interface CreateCutoverJobRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.CreateCutoverJobRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The Cutover's parent.
    * 
* - * 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 Cutover's parent.
    * 
* - * 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. The cutover job identifier.
    * 
* * string cutover_job_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The cutoverJobId. */ java.lang.String getCutoverJobId(); /** + * + * *
    * Required. The cutover job identifier.
    * 
* * string cutover_job_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for cutoverJobId. */ - com.google.protobuf.ByteString - getCutoverJobIdBytes(); + com.google.protobuf.ByteString getCutoverJobIdBytes(); /** + * + * *
    * Required. The cutover request body.
    * 
* - * .google.cloud.vmmigration.v1.CutoverJob cutover_job = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.vmmigration.v1.CutoverJob cutover_job = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the cutoverJob field is set. */ boolean hasCutoverJob(); /** + * + * *
    * Required. The cutover request body.
    * 
* - * .google.cloud.vmmigration.v1.CutoverJob cutover_job = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.vmmigration.v1.CutoverJob cutover_job = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The cutoverJob. */ com.google.cloud.vmmigration.v1.CutoverJob getCutoverJob(); /** + * + * *
    * Required. The cutover request body.
    * 
* - * .google.cloud.vmmigration.v1.CutoverJob cutover_job = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.vmmigration.v1.CutoverJob cutover_job = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.vmmigration.v1.CutoverJobOrBuilder getCutoverJobOrBuilder(); /** + * + * *
    * A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -90,10 +136,13 @@ public interface CreateCutoverJobRequestOrBuilder extends
    * 
* * string request_id = 4; + * * @return The requestId. */ java.lang.String getRequestId(); /** + * + * *
    * A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -109,8 +158,8 @@ public interface CreateCutoverJobRequestOrBuilder extends
    * 
* * string request_id = 4; + * * @return The bytes for requestId. */ - com.google.protobuf.ByteString - getRequestIdBytes(); + com.google.protobuf.ByteString getRequestIdBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CreateDatacenterConnectorRequest.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CreateDatacenterConnectorRequest.java similarity index 68% rename from owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CreateDatacenterConnectorRequest.java rename to proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CreateDatacenterConnectorRequest.java index cafe7ec..afbeea5 100644 --- a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CreateDatacenterConnectorRequest.java +++ b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CreateDatacenterConnectorRequest.java @@ -1,24 +1,43 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; /** + * + * *
  * Request message for 'CreateDatacenterConnector' request.
  * 
* * Protobuf type {@code google.cloud.vmmigration.v1.CreateDatacenterConnectorRequest} */ -public final class CreateDatacenterConnectorRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CreateDatacenterConnectorRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.vmmigration.v1.CreateDatacenterConnectorRequest) CreateDatacenterConnectorRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateDatacenterConnectorRequest.newBuilder() to construct. - private CreateDatacenterConnectorRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private CreateDatacenterConnectorRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreateDatacenterConnectorRequest() { parent_ = ""; datacenterConnectorId_ = ""; @@ -27,16 +46,15 @@ private CreateDatacenterConnectorRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateDatacenterConnectorRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private CreateDatacenterConnectorRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,44 +73,51 @@ private CreateDatacenterConnectorRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - - datacenterConnectorId_ = s; - break; - } - case 26: { - com.google.cloud.vmmigration.v1.DatacenterConnector.Builder subBuilder = null; - if (datacenterConnector_ != null) { - subBuilder = datacenterConnector_.toBuilder(); + parent_ = s; + break; } - datacenterConnector_ = input.readMessage(com.google.cloud.vmmigration.v1.DatacenterConnector.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(datacenterConnector_); - datacenterConnector_ = subBuilder.buildPartial(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + + datacenterConnectorId_ = s; + break; } + case 26: + { + com.google.cloud.vmmigration.v1.DatacenterConnector.Builder subBuilder = null; + if (datacenterConnector_ != null) { + subBuilder = datacenterConnector_.toBuilder(); + } + datacenterConnector_ = + input.readMessage( + com.google.cloud.vmmigration.v1.DatacenterConnector.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(datacenterConnector_); + datacenterConnector_ = subBuilder.buildPartial(); + } - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); + break; + } + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); - requestId_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + requestId_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -100,29 +125,33 @@ private CreateDatacenterConnectorRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_CreateDatacenterConnectorRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_CreateDatacenterConnectorRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_CreateDatacenterConnectorRequest_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_CreateDatacenterConnectorRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.CreateDatacenterConnectorRequest.class, com.google.cloud.vmmigration.v1.CreateDatacenterConnectorRequest.Builder.class); + com.google.cloud.vmmigration.v1.CreateDatacenterConnectorRequest.class, + com.google.cloud.vmmigration.v1.CreateDatacenterConnectorRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The DatacenterConnector's parent.
    * Required. The Source in where the new DatacenterConnector will be created.
@@ -130,7 +159,10 @@ private CreateDatacenterConnectorRequest(
    * `projects/my-project/locations/us-central1/sources/my-source`
    * 
* - * 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 @@ -139,14 +171,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 DatacenterConnector's parent.
    * Required. The Source in where the new DatacenterConnector will be created.
@@ -154,17 +187,18 @@ public java.lang.String getParent() {
    * `projects/my-project/locations/us-central1/sources/my-source`
    * 
* - * 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 { @@ -175,11 +209,14 @@ public java.lang.String getParent() { public static final int DATACENTER_CONNECTOR_ID_FIELD_NUMBER = 2; private volatile java.lang.Object datacenterConnectorId_; /** + * + * *
    * Required. The datacenterConnector identifier.
    * 
* * string datacenter_connector_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The datacenterConnectorId. */ @java.lang.Override @@ -188,29 +225,29 @@ public java.lang.String getDatacenterConnectorId() { 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(); datacenterConnectorId_ = s; return s; } } /** + * + * *
    * Required. The datacenterConnector identifier.
    * 
* * string datacenter_connector_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for datacenterConnectorId. */ @java.lang.Override - public com.google.protobuf.ByteString - getDatacenterConnectorIdBytes() { + public com.google.protobuf.ByteString getDatacenterConnectorIdBytes() { java.lang.Object ref = datacenterConnectorId_; 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); datacenterConnectorId_ = b; return b; } else { @@ -221,11 +258,16 @@ public java.lang.String getDatacenterConnectorId() { public static final int DATACENTER_CONNECTOR_FIELD_NUMBER = 3; private com.google.cloud.vmmigration.v1.DatacenterConnector datacenterConnector_; /** + * + * *
    * Required. The create request body.
    * 
* - * .google.cloud.vmmigration.v1.DatacenterConnector datacenter_connector = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.vmmigration.v1.DatacenterConnector datacenter_connector = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the datacenterConnector field is set. */ @java.lang.Override @@ -233,32 +275,46 @@ public boolean hasDatacenterConnector() { return datacenterConnector_ != null; } /** + * + * *
    * Required. The create request body.
    * 
* - * .google.cloud.vmmigration.v1.DatacenterConnector datacenter_connector = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.vmmigration.v1.DatacenterConnector datacenter_connector = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The datacenterConnector. */ @java.lang.Override public com.google.cloud.vmmigration.v1.DatacenterConnector getDatacenterConnector() { - return datacenterConnector_ == null ? com.google.cloud.vmmigration.v1.DatacenterConnector.getDefaultInstance() : datacenterConnector_; + return datacenterConnector_ == null + ? com.google.cloud.vmmigration.v1.DatacenterConnector.getDefaultInstance() + : datacenterConnector_; } /** + * + * *
    * Required. The create request body.
    * 
* - * .google.cloud.vmmigration.v1.DatacenterConnector datacenter_connector = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.vmmigration.v1.DatacenterConnector datacenter_connector = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public com.google.cloud.vmmigration.v1.DatacenterConnectorOrBuilder getDatacenterConnectorOrBuilder() { + public com.google.cloud.vmmigration.v1.DatacenterConnectorOrBuilder + getDatacenterConnectorOrBuilder() { return getDatacenterConnector(); } public static final int REQUEST_ID_FIELD_NUMBER = 4; private volatile java.lang.Object requestId_; /** + * + * *
    * A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -274,6 +330,7 @@ public com.google.cloud.vmmigration.v1.DatacenterConnectorOrBuilder getDatacente
    * 
* * string request_id = 4; + * * @return The requestId. */ @java.lang.Override @@ -282,14 +339,15 @@ public java.lang.String getRequestId() { 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(); requestId_ = s; return s; } } /** + * + * *
    * A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -305,16 +363,15 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 4; + * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; 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); requestId_ = b; return b; } else { @@ -323,6 +380,7 @@ public java.lang.String getRequestId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -334,8 +392,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_); } @@ -364,8 +421,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, datacenterConnectorId_); } if (datacenterConnector_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getDatacenterConnector()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getDatacenterConnector()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, requestId_); @@ -378,24 +434,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.vmmigration.v1.CreateDatacenterConnectorRequest)) { return super.equals(obj); } - com.google.cloud.vmmigration.v1.CreateDatacenterConnectorRequest other = (com.google.cloud.vmmigration.v1.CreateDatacenterConnectorRequest) obj; + com.google.cloud.vmmigration.v1.CreateDatacenterConnectorRequest other = + (com.google.cloud.vmmigration.v1.CreateDatacenterConnectorRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (!getDatacenterConnectorId() - .equals(other.getDatacenterConnectorId())) return false; + if (!getParent().equals(other.getParent())) return false; + if (!getDatacenterConnectorId().equals(other.getDatacenterConnectorId())) return false; if (hasDatacenterConnector() != other.hasDatacenterConnector()) return false; if (hasDatacenterConnector()) { - if (!getDatacenterConnector() - .equals(other.getDatacenterConnector())) return false; + if (!getDatacenterConnector().equals(other.getDatacenterConnector())) return false; } - if (!getRequestId() - .equals(other.getRequestId())) return false; + if (!getRequestId().equals(other.getRequestId())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -423,117 +476,127 @@ public int hashCode() { } public static com.google.cloud.vmmigration.v1.CreateDatacenterConnectorRequest 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.vmmigration.v1.CreateDatacenterConnectorRequest 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.vmmigration.v1.CreateDatacenterConnectorRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.vmmigration.v1.CreateDatacenterConnectorRequest 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.vmmigration.v1.CreateDatacenterConnectorRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.vmmigration.v1.CreateDatacenterConnectorRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.vmmigration.v1.CreateDatacenterConnectorRequest 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.vmmigration.v1.CreateDatacenterConnectorRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.vmmigration.v1.CreateDatacenterConnectorRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.vmmigration.v1.CreateDatacenterConnectorRequest 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.vmmigration.v1.CreateDatacenterConnectorRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.vmmigration.v1.CreateDatacenterConnectorRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.vmmigration.v1.CreateDatacenterConnectorRequest 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.vmmigration.v1.CreateDatacenterConnectorRequest 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.vmmigration.v1.CreateDatacenterConnectorRequest 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.vmmigration.v1.CreateDatacenterConnectorRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.vmmigration.v1.CreateDatacenterConnectorRequest 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 message for 'CreateDatacenterConnector' request.
    * 
* * Protobuf type {@code google.cloud.vmmigration.v1.CreateDatacenterConnectorRequest} */ - 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.vmmigration.v1.CreateDatacenterConnectorRequest) com.google.cloud.vmmigration.v1.CreateDatacenterConnectorRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_CreateDatacenterConnectorRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_CreateDatacenterConnectorRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_CreateDatacenterConnectorRequest_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_CreateDatacenterConnectorRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.CreateDatacenterConnectorRequest.class, com.google.cloud.vmmigration.v1.CreateDatacenterConnectorRequest.Builder.class); + com.google.cloud.vmmigration.v1.CreateDatacenterConnectorRequest.class, + com.google.cloud.vmmigration.v1.CreateDatacenterConnectorRequest.Builder.class); } // Construct using com.google.cloud.vmmigration.v1.CreateDatacenterConnectorRequest.newBuilder() @@ -541,16 +604,15 @@ 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) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -570,13 +632,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_CreateDatacenterConnectorRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_CreateDatacenterConnectorRequest_descriptor; } @java.lang.Override - public com.google.cloud.vmmigration.v1.CreateDatacenterConnectorRequest getDefaultInstanceForType() { + public com.google.cloud.vmmigration.v1.CreateDatacenterConnectorRequest + getDefaultInstanceForType() { return com.google.cloud.vmmigration.v1.CreateDatacenterConnectorRequest.getDefaultInstance(); } @@ -591,7 +654,8 @@ public com.google.cloud.vmmigration.v1.CreateDatacenterConnectorRequest build() @java.lang.Override public com.google.cloud.vmmigration.v1.CreateDatacenterConnectorRequest buildPartial() { - com.google.cloud.vmmigration.v1.CreateDatacenterConnectorRequest result = new com.google.cloud.vmmigration.v1.CreateDatacenterConnectorRequest(this); + com.google.cloud.vmmigration.v1.CreateDatacenterConnectorRequest result = + new com.google.cloud.vmmigration.v1.CreateDatacenterConnectorRequest(this); result.parent_ = parent_; result.datacenterConnectorId_ = datacenterConnectorId_; if (datacenterConnectorBuilder_ == null) { @@ -608,46 +672,50 @@ public com.google.cloud.vmmigration.v1.CreateDatacenterConnectorRequest buildPar 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.vmmigration.v1.CreateDatacenterConnectorRequest) { - return mergeFrom((com.google.cloud.vmmigration.v1.CreateDatacenterConnectorRequest)other); + return mergeFrom((com.google.cloud.vmmigration.v1.CreateDatacenterConnectorRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.vmmigration.v1.CreateDatacenterConnectorRequest other) { - if (other == com.google.cloud.vmmigration.v1.CreateDatacenterConnectorRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.vmmigration.v1.CreateDatacenterConnectorRequest other) { + if (other + == com.google.cloud.vmmigration.v1.CreateDatacenterConnectorRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -682,7 +750,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.vmmigration.v1.CreateDatacenterConnectorRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.vmmigration.v1.CreateDatacenterConnectorRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -694,6 +764,8 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The DatacenterConnector's parent.
      * Required. The Source in where the new DatacenterConnector will be created.
@@ -701,14 +773,16 @@ public Builder mergeFrom(
      * `projects/my-project/locations/us-central1/sources/my-source`
      * 
* - * 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; @@ -717,6 +791,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The DatacenterConnector's parent.
      * Required. The Source in where the new DatacenterConnector will be created.
@@ -724,16 +800,17 @@ public java.lang.String getParent() {
      * `projects/my-project/locations/us-central1/sources/my-source`
      * 
* - * 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 { @@ -741,6 +818,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The DatacenterConnector's parent.
      * Required. The Source in where the new DatacenterConnector will be created.
@@ -748,21 +827,25 @@ public java.lang.String getParent() {
      * `projects/my-project/locations/us-central1/sources/my-source`
      * 
* - * 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) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. The DatacenterConnector's parent.
      * Required. The Source in where the new DatacenterConnector will be created.
@@ -770,16 +853,21 @@ public Builder setParent(
      * `projects/my-project/locations/us-central1/sources/my-source`
      * 
* - * 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() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The DatacenterConnector's parent.
      * Required. The Source in where the new DatacenterConnector will be created.
@@ -787,17 +875,19 @@ public Builder clearParent() {
      * `projects/my-project/locations/us-central1/sources/my-source`
      * 
* - * 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) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -805,18 +895,20 @@ public Builder setParentBytes( private java.lang.Object datacenterConnectorId_ = ""; /** + * + * *
      * Required. The datacenterConnector identifier.
      * 
* * string datacenter_connector_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The datacenterConnectorId. */ public java.lang.String getDatacenterConnectorId() { java.lang.Object ref = datacenterConnectorId_; 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(); datacenterConnectorId_ = s; return s; @@ -825,20 +917,21 @@ public java.lang.String getDatacenterConnectorId() { } } /** + * + * *
      * Required. The datacenterConnector identifier.
      * 
* * string datacenter_connector_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for datacenterConnectorId. */ - public com.google.protobuf.ByteString - getDatacenterConnectorIdBytes() { + public com.google.protobuf.ByteString getDatacenterConnectorIdBytes() { java.lang.Object ref = datacenterConnectorId_; 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); datacenterConnectorId_ = b; return b; } else { @@ -846,54 +939,61 @@ public java.lang.String getDatacenterConnectorId() { } } /** + * + * *
      * Required. The datacenterConnector identifier.
      * 
* * string datacenter_connector_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The datacenterConnectorId to set. * @return This builder for chaining. */ - public Builder setDatacenterConnectorId( - java.lang.String value) { + public Builder setDatacenterConnectorId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + datacenterConnectorId_ = value; onChanged(); return this; } /** + * + * *
      * Required. The datacenterConnector identifier.
      * 
* * string datacenter_connector_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearDatacenterConnectorId() { - + datacenterConnectorId_ = getDefaultInstance().getDatacenterConnectorId(); onChanged(); return this; } /** + * + * *
      * Required. The datacenterConnector identifier.
      * 
* * string datacenter_connector_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for datacenterConnectorId to set. * @return This builder for chaining. */ - public Builder setDatacenterConnectorIdBytes( - com.google.protobuf.ByteString value) { + public Builder setDatacenterConnectorIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + datacenterConnectorId_ = value; onChanged(); return this; @@ -901,41 +1001,61 @@ public Builder setDatacenterConnectorIdBytes( private com.google.cloud.vmmigration.v1.DatacenterConnector datacenterConnector_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.vmmigration.v1.DatacenterConnector, com.google.cloud.vmmigration.v1.DatacenterConnector.Builder, com.google.cloud.vmmigration.v1.DatacenterConnectorOrBuilder> datacenterConnectorBuilder_; + com.google.cloud.vmmigration.v1.DatacenterConnector, + com.google.cloud.vmmigration.v1.DatacenterConnector.Builder, + com.google.cloud.vmmigration.v1.DatacenterConnectorOrBuilder> + datacenterConnectorBuilder_; /** + * + * *
      * Required. The create request body.
      * 
* - * .google.cloud.vmmigration.v1.DatacenterConnector datacenter_connector = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.vmmigration.v1.DatacenterConnector datacenter_connector = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the datacenterConnector field is set. */ public boolean hasDatacenterConnector() { return datacenterConnectorBuilder_ != null || datacenterConnector_ != null; } /** + * + * *
      * Required. The create request body.
      * 
* - * .google.cloud.vmmigration.v1.DatacenterConnector datacenter_connector = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.vmmigration.v1.DatacenterConnector datacenter_connector = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The datacenterConnector. */ public com.google.cloud.vmmigration.v1.DatacenterConnector getDatacenterConnector() { if (datacenterConnectorBuilder_ == null) { - return datacenterConnector_ == null ? com.google.cloud.vmmigration.v1.DatacenterConnector.getDefaultInstance() : datacenterConnector_; + return datacenterConnector_ == null + ? com.google.cloud.vmmigration.v1.DatacenterConnector.getDefaultInstance() + : datacenterConnector_; } else { return datacenterConnectorBuilder_.getMessage(); } } /** + * + * *
      * Required. The create request body.
      * 
* - * .google.cloud.vmmigration.v1.DatacenterConnector datacenter_connector = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.vmmigration.v1.DatacenterConnector datacenter_connector = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setDatacenterConnector(com.google.cloud.vmmigration.v1.DatacenterConnector value) { + public Builder setDatacenterConnector( + com.google.cloud.vmmigration.v1.DatacenterConnector value) { if (datacenterConnectorBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -949,11 +1069,15 @@ public Builder setDatacenterConnector(com.google.cloud.vmmigration.v1.Datacenter return this; } /** + * + * *
      * Required. The create request body.
      * 
* - * .google.cloud.vmmigration.v1.DatacenterConnector datacenter_connector = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.vmmigration.v1.DatacenterConnector datacenter_connector = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setDatacenterConnector( com.google.cloud.vmmigration.v1.DatacenterConnector.Builder builderForValue) { @@ -967,17 +1091,24 @@ public Builder setDatacenterConnector( return this; } /** + * + * *
      * Required. The create request body.
      * 
* - * .google.cloud.vmmigration.v1.DatacenterConnector datacenter_connector = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.vmmigration.v1.DatacenterConnector datacenter_connector = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder mergeDatacenterConnector(com.google.cloud.vmmigration.v1.DatacenterConnector value) { + public Builder mergeDatacenterConnector( + com.google.cloud.vmmigration.v1.DatacenterConnector value) { if (datacenterConnectorBuilder_ == null) { if (datacenterConnector_ != null) { datacenterConnector_ = - com.google.cloud.vmmigration.v1.DatacenterConnector.newBuilder(datacenterConnector_).mergeFrom(value).buildPartial(); + com.google.cloud.vmmigration.v1.DatacenterConnector.newBuilder(datacenterConnector_) + .mergeFrom(value) + .buildPartial(); } else { datacenterConnector_ = value; } @@ -989,11 +1120,15 @@ public Builder mergeDatacenterConnector(com.google.cloud.vmmigration.v1.Datacent return this; } /** + * + * *
      * Required. The create request body.
      * 
* - * .google.cloud.vmmigration.v1.DatacenterConnector datacenter_connector = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.vmmigration.v1.DatacenterConnector datacenter_connector = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearDatacenterConnector() { if (datacenterConnectorBuilder_ == null) { @@ -1007,48 +1142,66 @@ public Builder clearDatacenterConnector() { return this; } /** + * + * *
      * Required. The create request body.
      * 
* - * .google.cloud.vmmigration.v1.DatacenterConnector datacenter_connector = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.vmmigration.v1.DatacenterConnector datacenter_connector = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.vmmigration.v1.DatacenterConnector.Builder getDatacenterConnectorBuilder() { - + public com.google.cloud.vmmigration.v1.DatacenterConnector.Builder + getDatacenterConnectorBuilder() { + onChanged(); return getDatacenterConnectorFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The create request body.
      * 
* - * .google.cloud.vmmigration.v1.DatacenterConnector datacenter_connector = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.vmmigration.v1.DatacenterConnector datacenter_connector = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.vmmigration.v1.DatacenterConnectorOrBuilder getDatacenterConnectorOrBuilder() { + public com.google.cloud.vmmigration.v1.DatacenterConnectorOrBuilder + getDatacenterConnectorOrBuilder() { if (datacenterConnectorBuilder_ != null) { return datacenterConnectorBuilder_.getMessageOrBuilder(); } else { - return datacenterConnector_ == null ? - com.google.cloud.vmmigration.v1.DatacenterConnector.getDefaultInstance() : datacenterConnector_; + return datacenterConnector_ == null + ? com.google.cloud.vmmigration.v1.DatacenterConnector.getDefaultInstance() + : datacenterConnector_; } } /** + * + * *
      * Required. The create request body.
      * 
* - * .google.cloud.vmmigration.v1.DatacenterConnector datacenter_connector = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.vmmigration.v1.DatacenterConnector datacenter_connector = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.vmmigration.v1.DatacenterConnector, com.google.cloud.vmmigration.v1.DatacenterConnector.Builder, com.google.cloud.vmmigration.v1.DatacenterConnectorOrBuilder> + com.google.cloud.vmmigration.v1.DatacenterConnector, + com.google.cloud.vmmigration.v1.DatacenterConnector.Builder, + com.google.cloud.vmmigration.v1.DatacenterConnectorOrBuilder> getDatacenterConnectorFieldBuilder() { if (datacenterConnectorBuilder_ == null) { - datacenterConnectorBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.vmmigration.v1.DatacenterConnector, com.google.cloud.vmmigration.v1.DatacenterConnector.Builder, com.google.cloud.vmmigration.v1.DatacenterConnectorOrBuilder>( - getDatacenterConnector(), - getParentForChildren(), - isClean()); + datacenterConnectorBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.vmmigration.v1.DatacenterConnector, + com.google.cloud.vmmigration.v1.DatacenterConnector.Builder, + com.google.cloud.vmmigration.v1.DatacenterConnectorOrBuilder>( + getDatacenterConnector(), getParentForChildren(), isClean()); datacenterConnector_ = null; } return datacenterConnectorBuilder_; @@ -1056,6 +1209,8 @@ public com.google.cloud.vmmigration.v1.DatacenterConnectorOrBuilder getDatacente private java.lang.Object requestId_ = ""; /** + * + * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1071,13 +1226,13 @@ public com.google.cloud.vmmigration.v1.DatacenterConnectorOrBuilder getDatacente
      * 
* * string request_id = 4; + * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; 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(); requestId_ = s; return s; @@ -1086,6 +1241,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1101,15 +1258,14 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 4; + * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; 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); requestId_ = b; return b; } else { @@ -1117,6 +1273,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1132,20 +1290,22 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 4; + * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId( - java.lang.String value) { + public Builder setRequestId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + requestId_ = value; onChanged(); return this; } /** + * + * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1161,15 +1321,18 @@ public Builder setRequestId(
      * 
* * string request_id = 4; + * * @return This builder for chaining. */ public Builder clearRequestId() { - + requestId_ = getDefaultInstance().getRequestId(); onChanged(); return this; } /** + * + * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1185,23 +1348,23 @@ public Builder clearRequestId() {
      * 
* * string request_id = 4; + * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes( - com.google.protobuf.ByteString value) { + public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + requestId_ = 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); } @@ -1211,30 +1374,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.vmmigration.v1.CreateDatacenterConnectorRequest) } // @@protoc_insertion_point(class_scope:google.cloud.vmmigration.v1.CreateDatacenterConnectorRequest) - private static final com.google.cloud.vmmigration.v1.CreateDatacenterConnectorRequest DEFAULT_INSTANCE; + private static final com.google.cloud.vmmigration.v1.CreateDatacenterConnectorRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.vmmigration.v1.CreateDatacenterConnectorRequest(); } - public static com.google.cloud.vmmigration.v1.CreateDatacenterConnectorRequest getDefaultInstance() { + public static com.google.cloud.vmmigration.v1.CreateDatacenterConnectorRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateDatacenterConnectorRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateDatacenterConnectorRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateDatacenterConnectorRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CreateDatacenterConnectorRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1246,9 +1411,8 @@ public com.google.protobuf.Parser getParserFor } @java.lang.Override - public com.google.cloud.vmmigration.v1.CreateDatacenterConnectorRequest getDefaultInstanceForType() { + public com.google.cloud.vmmigration.v1.CreateDatacenterConnectorRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CreateDatacenterConnectorRequestOrBuilder.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CreateDatacenterConnectorRequestOrBuilder.java similarity index 69% rename from owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CreateDatacenterConnectorRequestOrBuilder.java rename to proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CreateDatacenterConnectorRequestOrBuilder.java index dca80de..b4ae985 100644 --- a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CreateDatacenterConnectorRequestOrBuilder.java +++ b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CreateDatacenterConnectorRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; -public interface CreateDatacenterConnectorRequestOrBuilder extends +public interface CreateDatacenterConnectorRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.CreateDatacenterConnectorRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The DatacenterConnector's parent.
    * Required. The Source in where the new DatacenterConnector will be created.
@@ -15,11 +33,16 @@ public interface CreateDatacenterConnectorRequestOrBuilder extends
    * `projects/my-project/locations/us-central1/sources/my-source`
    * 
* - * 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 DatacenterConnector's parent.
    * Required. The Source in where the new DatacenterConnector will be created.
@@ -27,60 +50,83 @@ public interface CreateDatacenterConnectorRequestOrBuilder extends
    * `projects/my-project/locations/us-central1/sources/my-source`
    * 
* - * 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. The datacenterConnector identifier.
    * 
* * string datacenter_connector_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The datacenterConnectorId. */ java.lang.String getDatacenterConnectorId(); /** + * + * *
    * Required. The datacenterConnector identifier.
    * 
* * string datacenter_connector_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for datacenterConnectorId. */ - com.google.protobuf.ByteString - getDatacenterConnectorIdBytes(); + com.google.protobuf.ByteString getDatacenterConnectorIdBytes(); /** + * + * *
    * Required. The create request body.
    * 
* - * .google.cloud.vmmigration.v1.DatacenterConnector datacenter_connector = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.vmmigration.v1.DatacenterConnector datacenter_connector = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the datacenterConnector field is set. */ boolean hasDatacenterConnector(); /** + * + * *
    * Required. The create request body.
    * 
* - * .google.cloud.vmmigration.v1.DatacenterConnector datacenter_connector = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.vmmigration.v1.DatacenterConnector datacenter_connector = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The datacenterConnector. */ com.google.cloud.vmmigration.v1.DatacenterConnector getDatacenterConnector(); /** + * + * *
    * Required. The create request body.
    * 
* - * .google.cloud.vmmigration.v1.DatacenterConnector datacenter_connector = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.vmmigration.v1.DatacenterConnector datacenter_connector = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.vmmigration.v1.DatacenterConnectorOrBuilder getDatacenterConnectorOrBuilder(); /** + * + * *
    * A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -96,10 +142,13 @@ public interface CreateDatacenterConnectorRequestOrBuilder extends
    * 
* * string request_id = 4; + * * @return The requestId. */ java.lang.String getRequestId(); /** + * + * *
    * A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -115,8 +164,8 @@ public interface CreateDatacenterConnectorRequestOrBuilder extends
    * 
* * string request_id = 4; + * * @return The bytes for requestId. */ - com.google.protobuf.ByteString - getRequestIdBytes(); + com.google.protobuf.ByteString getRequestIdBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CreateGroupRequest.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CreateGroupRequest.java similarity index 71% rename from owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CreateGroupRequest.java rename to proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CreateGroupRequest.java index b0efdc1..f7c7a3d 100644 --- a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CreateGroupRequest.java +++ b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CreateGroupRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; /** + * + * *
  * Request message for 'CreateGroup' request.
  * 
* * Protobuf type {@code google.cloud.vmmigration.v1.CreateGroupRequest} */ -public final class CreateGroupRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CreateGroupRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.vmmigration.v1.CreateGroupRequest) CreateGroupRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateGroupRequest.newBuilder() to construct. private CreateGroupRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreateGroupRequest() { parent_ = ""; groupId_ = ""; @@ -27,16 +45,15 @@ private CreateGroupRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateGroupRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private CreateGroupRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,44 +72,50 @@ private CreateGroupRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - parent_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - groupId_ = s; - break; - } - case 26: { - com.google.cloud.vmmigration.v1.Group.Builder subBuilder = null; - if (group_ != null) { - subBuilder = group_.toBuilder(); + parent_ = s; + break; } - group_ = input.readMessage(com.google.cloud.vmmigration.v1.Group.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(group_); - group_ = subBuilder.buildPartial(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + + groupId_ = s; + break; } + case 26: + { + com.google.cloud.vmmigration.v1.Group.Builder subBuilder = null; + if (group_ != null) { + subBuilder = group_.toBuilder(); + } + group_ = + input.readMessage( + com.google.cloud.vmmigration.v1.Group.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(group_); + group_ = subBuilder.buildPartial(); + } - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); + break; + } + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); - requestId_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + requestId_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -100,34 +123,41 @@ private CreateGroupRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_CreateGroupRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_CreateGroupRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_CreateGroupRequest_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_CreateGroupRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.CreateGroupRequest.class, com.google.cloud.vmmigration.v1.CreateGroupRequest.Builder.class); + com.google.cloud.vmmigration.v1.CreateGroupRequest.class, + com.google.cloud.vmmigration.v1.CreateGroupRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The Group's parent.
    * 
* - * 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 @@ -136,29 +166,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 Group's parent.
    * 
* - * 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 { @@ -169,11 +201,14 @@ public java.lang.String getParent() { public static final int GROUP_ID_FIELD_NUMBER = 2; private volatile java.lang.Object groupId_; /** + * + * *
    * Required. The group identifier.
    * 
* * string group_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The groupId. */ @java.lang.Override @@ -182,29 +217,29 @@ public java.lang.String getGroupId() { 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(); groupId_ = s; return s; } } /** + * + * *
    * Required. The group identifier.
    * 
* * string group_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for groupId. */ @java.lang.Override - public com.google.protobuf.ByteString - getGroupIdBytes() { + public com.google.protobuf.ByteString getGroupIdBytes() { java.lang.Object ref = groupId_; 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); groupId_ = b; return b; } else { @@ -215,11 +250,15 @@ public java.lang.String getGroupId() { public static final int GROUP_FIELD_NUMBER = 3; private com.google.cloud.vmmigration.v1.Group group_; /** + * + * *
    * Required. The create request body.
    * 
* - * .google.cloud.vmmigration.v1.Group group = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.vmmigration.v1.Group group = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the group field is set. */ @java.lang.Override @@ -227,11 +266,15 @@ public boolean hasGroup() { return group_ != null; } /** + * + * *
    * Required. The create request body.
    * 
* - * .google.cloud.vmmigration.v1.Group group = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.vmmigration.v1.Group group = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The group. */ @java.lang.Override @@ -239,11 +282,14 @@ public com.google.cloud.vmmigration.v1.Group getGroup() { return group_ == null ? com.google.cloud.vmmigration.v1.Group.getDefaultInstance() : group_; } /** + * + * *
    * Required. The create request body.
    * 
* - * .google.cloud.vmmigration.v1.Group group = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.vmmigration.v1.Group group = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.vmmigration.v1.GroupOrBuilder getGroupOrBuilder() { @@ -253,6 +299,8 @@ public com.google.cloud.vmmigration.v1.GroupOrBuilder getGroupOrBuilder() { public static final int REQUEST_ID_FIELD_NUMBER = 4; private volatile java.lang.Object requestId_; /** + * + * *
    * A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -268,6 +316,7 @@ public com.google.cloud.vmmigration.v1.GroupOrBuilder getGroupOrBuilder() {
    * 
* * string request_id = 4; + * * @return The requestId. */ @java.lang.Override @@ -276,14 +325,15 @@ public java.lang.String getRequestId() { 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(); requestId_ = s; return s; } } /** + * + * *
    * A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -299,16 +349,15 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 4; + * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; 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); requestId_ = b; return b; } else { @@ -317,6 +366,7 @@ public java.lang.String getRequestId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -328,8 +378,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_); } @@ -358,8 +407,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, groupId_); } if (group_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getGroup()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getGroup()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, requestId_); @@ -372,24 +420,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.vmmigration.v1.CreateGroupRequest)) { return super.equals(obj); } - com.google.cloud.vmmigration.v1.CreateGroupRequest other = (com.google.cloud.vmmigration.v1.CreateGroupRequest) obj; + com.google.cloud.vmmigration.v1.CreateGroupRequest other = + (com.google.cloud.vmmigration.v1.CreateGroupRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (!getGroupId() - .equals(other.getGroupId())) return false; + if (!getParent().equals(other.getParent())) return false; + if (!getGroupId().equals(other.getGroupId())) return false; if (hasGroup() != other.hasGroup()) return false; if (hasGroup()) { - if (!getGroup() - .equals(other.getGroup())) return false; + if (!getGroup().equals(other.getGroup())) return false; } - if (!getRequestId() - .equals(other.getRequestId())) return false; + if (!getRequestId().equals(other.getRequestId())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -417,117 +462,126 @@ public int hashCode() { } public static com.google.cloud.vmmigration.v1.CreateGroupRequest 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.vmmigration.v1.CreateGroupRequest 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.vmmigration.v1.CreateGroupRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.vmmigration.v1.CreateGroupRequest 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.vmmigration.v1.CreateGroupRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.vmmigration.v1.CreateGroupRequest 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.vmmigration.v1.CreateGroupRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.vmmigration.v1.CreateGroupRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.vmmigration.v1.CreateGroupRequest 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.vmmigration.v1.CreateGroupRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.vmmigration.v1.CreateGroupRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.vmmigration.v1.CreateGroupRequest 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.vmmigration.v1.CreateGroupRequest 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.vmmigration.v1.CreateGroupRequest 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.vmmigration.v1.CreateGroupRequest 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 message for 'CreateGroup' request.
    * 
* * Protobuf type {@code google.cloud.vmmigration.v1.CreateGroupRequest} */ - 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.vmmigration.v1.CreateGroupRequest) com.google.cloud.vmmigration.v1.CreateGroupRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_CreateGroupRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_CreateGroupRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_CreateGroupRequest_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_CreateGroupRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.CreateGroupRequest.class, com.google.cloud.vmmigration.v1.CreateGroupRequest.Builder.class); + com.google.cloud.vmmigration.v1.CreateGroupRequest.class, + com.google.cloud.vmmigration.v1.CreateGroupRequest.Builder.class); } // Construct using com.google.cloud.vmmigration.v1.CreateGroupRequest.newBuilder() @@ -535,16 +589,15 @@ 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) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -564,9 +617,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_CreateGroupRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_CreateGroupRequest_descriptor; } @java.lang.Override @@ -585,7 +638,8 @@ public com.google.cloud.vmmigration.v1.CreateGroupRequest build() { @java.lang.Override public com.google.cloud.vmmigration.v1.CreateGroupRequest buildPartial() { - com.google.cloud.vmmigration.v1.CreateGroupRequest result = new com.google.cloud.vmmigration.v1.CreateGroupRequest(this); + com.google.cloud.vmmigration.v1.CreateGroupRequest result = + new com.google.cloud.vmmigration.v1.CreateGroupRequest(this); result.parent_ = parent_; result.groupId_ = groupId_; if (groupBuilder_ == null) { @@ -602,38 +656,39 @@ public com.google.cloud.vmmigration.v1.CreateGroupRequest buildPartial() { 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.vmmigration.v1.CreateGroupRequest) { - return mergeFrom((com.google.cloud.vmmigration.v1.CreateGroupRequest)other); + return mergeFrom((com.google.cloud.vmmigration.v1.CreateGroupRequest) other); } else { super.mergeFrom(other); return this; @@ -641,7 +696,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.vmmigration.v1.CreateGroupRequest other) { - if (other == com.google.cloud.vmmigration.v1.CreateGroupRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.vmmigration.v1.CreateGroupRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -676,7 +732,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.vmmigration.v1.CreateGroupRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.vmmigration.v1.CreateGroupRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -688,18 +745,22 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The Group's parent.
      * 
* - * 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; @@ -708,20 +769,23 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The Group's parent.
      * 
* - * 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 { @@ -729,54 +793,67 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The Group's parent.
      * 
* - * 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) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. The Group's parent.
      * 
* - * 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() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The Group's parent.
      * 
* - * 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) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -784,18 +861,20 @@ public Builder setParentBytes( private java.lang.Object groupId_ = ""; /** + * + * *
      * Required. The group identifier.
      * 
* * string group_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The groupId. */ public java.lang.String getGroupId() { java.lang.Object ref = groupId_; 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(); groupId_ = s; return s; @@ -804,20 +883,21 @@ public java.lang.String getGroupId() { } } /** + * + * *
      * Required. The group identifier.
      * 
* * string group_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for groupId. */ - public com.google.protobuf.ByteString - getGroupIdBytes() { + public com.google.protobuf.ByteString getGroupIdBytes() { java.lang.Object ref = groupId_; 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); groupId_ = b; return b; } else { @@ -825,54 +905,61 @@ public java.lang.String getGroupId() { } } /** + * + * *
      * Required. The group identifier.
      * 
* * string group_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The groupId to set. * @return This builder for chaining. */ - public Builder setGroupId( - java.lang.String value) { + public Builder setGroupId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + groupId_ = value; onChanged(); return this; } /** + * + * *
      * Required. The group identifier.
      * 
* * string group_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearGroupId() { - + groupId_ = getDefaultInstance().getGroupId(); onChanged(); return this; } /** + * + * *
      * Required. The group identifier.
      * 
* * string group_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for groupId to set. * @return This builder for chaining. */ - public Builder setGroupIdBytes( - com.google.protobuf.ByteString value) { + public Builder setGroupIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + groupId_ = value; onChanged(); return this; @@ -880,24 +967,35 @@ public Builder setGroupIdBytes( private com.google.cloud.vmmigration.v1.Group group_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.vmmigration.v1.Group, com.google.cloud.vmmigration.v1.Group.Builder, com.google.cloud.vmmigration.v1.GroupOrBuilder> groupBuilder_; + com.google.cloud.vmmigration.v1.Group, + com.google.cloud.vmmigration.v1.Group.Builder, + com.google.cloud.vmmigration.v1.GroupOrBuilder> + groupBuilder_; /** + * + * *
      * Required. The create request body.
      * 
* - * .google.cloud.vmmigration.v1.Group group = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.vmmigration.v1.Group group = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the group field is set. */ public boolean hasGroup() { return groupBuilder_ != null || group_ != null; } /** + * + * *
      * Required. The create request body.
      * 
* - * .google.cloud.vmmigration.v1.Group group = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.vmmigration.v1.Group group = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The group. */ public com.google.cloud.vmmigration.v1.Group getGroup() { @@ -908,11 +1006,14 @@ public com.google.cloud.vmmigration.v1.Group getGroup() { } } /** + * + * *
      * Required. The create request body.
      * 
* - * .google.cloud.vmmigration.v1.Group group = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.vmmigration.v1.Group group = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setGroup(com.google.cloud.vmmigration.v1.Group value) { if (groupBuilder_ == null) { @@ -928,14 +1029,16 @@ public Builder setGroup(com.google.cloud.vmmigration.v1.Group value) { return this; } /** + * + * *
      * Required. The create request body.
      * 
* - * .google.cloud.vmmigration.v1.Group group = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.vmmigration.v1.Group group = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setGroup( - com.google.cloud.vmmigration.v1.Group.Builder builderForValue) { + public Builder setGroup(com.google.cloud.vmmigration.v1.Group.Builder builderForValue) { if (groupBuilder_ == null) { group_ = builderForValue.build(); onChanged(); @@ -946,17 +1049,22 @@ public Builder setGroup( return this; } /** + * + * *
      * Required. The create request body.
      * 
* - * .google.cloud.vmmigration.v1.Group group = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.vmmigration.v1.Group group = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeGroup(com.google.cloud.vmmigration.v1.Group value) { if (groupBuilder_ == null) { if (group_ != null) { group_ = - com.google.cloud.vmmigration.v1.Group.newBuilder(group_).mergeFrom(value).buildPartial(); + com.google.cloud.vmmigration.v1.Group.newBuilder(group_) + .mergeFrom(value) + .buildPartial(); } else { group_ = value; } @@ -968,11 +1076,14 @@ public Builder mergeGroup(com.google.cloud.vmmigration.v1.Group value) { return this; } /** + * + * *
      * Required. The create request body.
      * 
* - * .google.cloud.vmmigration.v1.Group group = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.vmmigration.v1.Group group = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearGroup() { if (groupBuilder_ == null) { @@ -986,48 +1097,59 @@ public Builder clearGroup() { return this; } /** + * + * *
      * Required. The create request body.
      * 
* - * .google.cloud.vmmigration.v1.Group group = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.vmmigration.v1.Group group = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.vmmigration.v1.Group.Builder getGroupBuilder() { - + onChanged(); return getGroupFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The create request body.
      * 
* - * .google.cloud.vmmigration.v1.Group group = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.vmmigration.v1.Group group = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.vmmigration.v1.GroupOrBuilder getGroupOrBuilder() { if (groupBuilder_ != null) { return groupBuilder_.getMessageOrBuilder(); } else { - return group_ == null ? - com.google.cloud.vmmigration.v1.Group.getDefaultInstance() : group_; + return group_ == null ? com.google.cloud.vmmigration.v1.Group.getDefaultInstance() : group_; } } /** + * + * *
      * Required. The create request body.
      * 
* - * .google.cloud.vmmigration.v1.Group group = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.vmmigration.v1.Group group = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.vmmigration.v1.Group, com.google.cloud.vmmigration.v1.Group.Builder, com.google.cloud.vmmigration.v1.GroupOrBuilder> + com.google.cloud.vmmigration.v1.Group, + com.google.cloud.vmmigration.v1.Group.Builder, + com.google.cloud.vmmigration.v1.GroupOrBuilder> getGroupFieldBuilder() { if (groupBuilder_ == null) { - groupBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.vmmigration.v1.Group, com.google.cloud.vmmigration.v1.Group.Builder, com.google.cloud.vmmigration.v1.GroupOrBuilder>( - getGroup(), - getParentForChildren(), - isClean()); + groupBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.vmmigration.v1.Group, + com.google.cloud.vmmigration.v1.Group.Builder, + com.google.cloud.vmmigration.v1.GroupOrBuilder>( + getGroup(), getParentForChildren(), isClean()); group_ = null; } return groupBuilder_; @@ -1035,6 +1157,8 @@ public com.google.cloud.vmmigration.v1.GroupOrBuilder getGroupOrBuilder() { private java.lang.Object requestId_ = ""; /** + * + * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1050,13 +1174,13 @@ public com.google.cloud.vmmigration.v1.GroupOrBuilder getGroupOrBuilder() {
      * 
* * string request_id = 4; + * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; 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(); requestId_ = s; return s; @@ -1065,6 +1189,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1080,15 +1206,14 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 4; + * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; 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); requestId_ = b; return b; } else { @@ -1096,6 +1221,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1111,20 +1238,22 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 4; + * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId( - java.lang.String value) { + public Builder setRequestId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + requestId_ = value; onChanged(); return this; } /** + * + * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1140,15 +1269,18 @@ public Builder setRequestId(
      * 
* * string request_id = 4; + * * @return This builder for chaining. */ public Builder clearRequestId() { - + requestId_ = getDefaultInstance().getRequestId(); onChanged(); return this; } /** + * + * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1164,23 +1296,23 @@ public Builder clearRequestId() {
      * 
* * string request_id = 4; + * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes( - com.google.protobuf.ByteString value) { + public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + requestId_ = 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); } @@ -1190,12 +1322,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.vmmigration.v1.CreateGroupRequest) } // @@protoc_insertion_point(class_scope:google.cloud.vmmigration.v1.CreateGroupRequest) private static final com.google.cloud.vmmigration.v1.CreateGroupRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.vmmigration.v1.CreateGroupRequest(); } @@ -1204,16 +1336,16 @@ public static com.google.cloud.vmmigration.v1.CreateGroupRequest getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateGroupRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateGroupRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateGroupRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CreateGroupRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1228,6 +1360,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.vmmigration.v1.CreateGroupRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CreateGroupRequestOrBuilder.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CreateGroupRequestOrBuilder.java similarity index 71% rename from owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CreateGroupRequestOrBuilder.java rename to proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CreateGroupRequestOrBuilder.java index ce2a036..c0c3b00 100644 --- a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CreateGroupRequestOrBuilder.java +++ b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CreateGroupRequestOrBuilder.java @@ -1,80 +1,123 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; -public interface CreateGroupRequestOrBuilder extends +public interface CreateGroupRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.CreateGroupRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The Group's parent.
    * 
* - * 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 Group's parent.
    * 
* - * 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. The group identifier.
    * 
* * string group_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The groupId. */ java.lang.String getGroupId(); /** + * + * *
    * Required. The group identifier.
    * 
* * string group_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for groupId. */ - com.google.protobuf.ByteString - getGroupIdBytes(); + com.google.protobuf.ByteString getGroupIdBytes(); /** + * + * *
    * Required. The create request body.
    * 
* - * .google.cloud.vmmigration.v1.Group group = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.vmmigration.v1.Group group = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the group field is set. */ boolean hasGroup(); /** + * + * *
    * Required. The create request body.
    * 
* - * .google.cloud.vmmigration.v1.Group group = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.vmmigration.v1.Group group = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The group. */ com.google.cloud.vmmigration.v1.Group getGroup(); /** + * + * *
    * Required. The create request body.
    * 
* - * .google.cloud.vmmigration.v1.Group group = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.vmmigration.v1.Group group = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.vmmigration.v1.GroupOrBuilder getGroupOrBuilder(); /** + * + * *
    * A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -90,10 +133,13 @@ public interface CreateGroupRequestOrBuilder extends
    * 
* * string request_id = 4; + * * @return The requestId. */ java.lang.String getRequestId(); /** + * + * *
    * A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -109,8 +155,8 @@ public interface CreateGroupRequestOrBuilder extends
    * 
* * string request_id = 4; + * * @return The bytes for requestId. */ - com.google.protobuf.ByteString - getRequestIdBytes(); + com.google.protobuf.ByteString getRequestIdBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CreateMigratingVmRequest.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CreateMigratingVmRequest.java similarity index 69% rename from owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CreateMigratingVmRequest.java rename to proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CreateMigratingVmRequest.java index 7c70ba5..6a334bb 100644 --- a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CreateMigratingVmRequest.java +++ b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CreateMigratingVmRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; /** + * + * *
  * Request message for 'CreateMigratingVm' request.
  * 
* * Protobuf type {@code google.cloud.vmmigration.v1.CreateMigratingVmRequest} */ -public final class CreateMigratingVmRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CreateMigratingVmRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.vmmigration.v1.CreateMigratingVmRequest) CreateMigratingVmRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateMigratingVmRequest.newBuilder() to construct. private CreateMigratingVmRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreateMigratingVmRequest() { parent_ = ""; migratingVmId_ = ""; @@ -27,16 +45,15 @@ private CreateMigratingVmRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateMigratingVmRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private CreateMigratingVmRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,44 +72,50 @@ private CreateMigratingVmRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - parent_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - migratingVmId_ = s; - break; - } - case 26: { - com.google.cloud.vmmigration.v1.MigratingVm.Builder subBuilder = null; - if (migratingVm_ != null) { - subBuilder = migratingVm_.toBuilder(); + parent_ = s; + break; } - migratingVm_ = input.readMessage(com.google.cloud.vmmigration.v1.MigratingVm.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(migratingVm_); - migratingVm_ = subBuilder.buildPartial(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + + migratingVmId_ = s; + break; } + case 26: + { + com.google.cloud.vmmigration.v1.MigratingVm.Builder subBuilder = null; + if (migratingVm_ != null) { + subBuilder = migratingVm_.toBuilder(); + } + migratingVm_ = + input.readMessage( + com.google.cloud.vmmigration.v1.MigratingVm.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(migratingVm_); + migratingVm_ = subBuilder.buildPartial(); + } - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); + break; + } + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); - requestId_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + requestId_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -100,34 +123,41 @@ private CreateMigratingVmRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_CreateMigratingVmRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_CreateMigratingVmRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_CreateMigratingVmRequest_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_CreateMigratingVmRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.CreateMigratingVmRequest.class, com.google.cloud.vmmigration.v1.CreateMigratingVmRequest.Builder.class); + com.google.cloud.vmmigration.v1.CreateMigratingVmRequest.class, + com.google.cloud.vmmigration.v1.CreateMigratingVmRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The MigratingVm's parent.
    * 
* - * 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 @@ -136,29 +166,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 MigratingVm's parent.
    * 
* - * 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 { @@ -169,11 +201,14 @@ public java.lang.String getParent() { public static final int MIGRATING_VM_ID_FIELD_NUMBER = 2; private volatile java.lang.Object migratingVmId_; /** + * + * *
    * Required. The migratingVm identifier.
    * 
* * string migrating_vm_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The migratingVmId. */ @java.lang.Override @@ -182,29 +217,29 @@ public java.lang.String getMigratingVmId() { 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(); migratingVmId_ = s; return s; } } /** + * + * *
    * Required. The migratingVm identifier.
    * 
* * string migrating_vm_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for migratingVmId. */ @java.lang.Override - public com.google.protobuf.ByteString - getMigratingVmIdBytes() { + public com.google.protobuf.ByteString getMigratingVmIdBytes() { java.lang.Object ref = migratingVmId_; 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); migratingVmId_ = b; return b; } else { @@ -215,11 +250,16 @@ public java.lang.String getMigratingVmId() { public static final int MIGRATING_VM_FIELD_NUMBER = 3; private com.google.cloud.vmmigration.v1.MigratingVm migratingVm_; /** + * + * *
    * Required. The create request body.
    * 
* - * .google.cloud.vmmigration.v1.MigratingVm migrating_vm = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.vmmigration.v1.MigratingVm migrating_vm = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the migratingVm field is set. */ @java.lang.Override @@ -227,23 +267,34 @@ public boolean hasMigratingVm() { return migratingVm_ != null; } /** + * + * *
    * Required. The create request body.
    * 
* - * .google.cloud.vmmigration.v1.MigratingVm migrating_vm = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.vmmigration.v1.MigratingVm migrating_vm = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The migratingVm. */ @java.lang.Override public com.google.cloud.vmmigration.v1.MigratingVm getMigratingVm() { - return migratingVm_ == null ? com.google.cloud.vmmigration.v1.MigratingVm.getDefaultInstance() : migratingVm_; + return migratingVm_ == null + ? com.google.cloud.vmmigration.v1.MigratingVm.getDefaultInstance() + : migratingVm_; } /** + * + * *
    * Required. The create request body.
    * 
* - * .google.cloud.vmmigration.v1.MigratingVm migrating_vm = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.vmmigration.v1.MigratingVm migrating_vm = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.vmmigration.v1.MigratingVmOrBuilder getMigratingVmOrBuilder() { @@ -253,6 +304,8 @@ public com.google.cloud.vmmigration.v1.MigratingVmOrBuilder getMigratingVmOrBuil public static final int REQUEST_ID_FIELD_NUMBER = 4; private volatile java.lang.Object requestId_; /** + * + * *
    * A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -268,6 +321,7 @@ public com.google.cloud.vmmigration.v1.MigratingVmOrBuilder getMigratingVmOrBuil
    * 
* * string request_id = 4; + * * @return The requestId. */ @java.lang.Override @@ -276,14 +330,15 @@ public java.lang.String getRequestId() { 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(); requestId_ = s; return s; } } /** + * + * *
    * A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -299,16 +354,15 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 4; + * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; 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); requestId_ = b; return b; } else { @@ -317,6 +371,7 @@ public java.lang.String getRequestId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -328,8 +383,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_); } @@ -358,8 +412,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, migratingVmId_); } if (migratingVm_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getMigratingVm()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getMigratingVm()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, requestId_); @@ -372,24 +425,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.vmmigration.v1.CreateMigratingVmRequest)) { return super.equals(obj); } - com.google.cloud.vmmigration.v1.CreateMigratingVmRequest other = (com.google.cloud.vmmigration.v1.CreateMigratingVmRequest) obj; + com.google.cloud.vmmigration.v1.CreateMigratingVmRequest other = + (com.google.cloud.vmmigration.v1.CreateMigratingVmRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (!getMigratingVmId() - .equals(other.getMigratingVmId())) return false; + if (!getParent().equals(other.getParent())) return false; + if (!getMigratingVmId().equals(other.getMigratingVmId())) return false; if (hasMigratingVm() != other.hasMigratingVm()) return false; if (hasMigratingVm()) { - if (!getMigratingVm() - .equals(other.getMigratingVm())) return false; + if (!getMigratingVm().equals(other.getMigratingVm())) return false; } - if (!getRequestId() - .equals(other.getRequestId())) return false; + if (!getRequestId().equals(other.getRequestId())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -417,117 +467,127 @@ public int hashCode() { } public static com.google.cloud.vmmigration.v1.CreateMigratingVmRequest 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.vmmigration.v1.CreateMigratingVmRequest 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.vmmigration.v1.CreateMigratingVmRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.vmmigration.v1.CreateMigratingVmRequest 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.vmmigration.v1.CreateMigratingVmRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.vmmigration.v1.CreateMigratingVmRequest 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.vmmigration.v1.CreateMigratingVmRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.vmmigration.v1.CreateMigratingVmRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.vmmigration.v1.CreateMigratingVmRequest 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.vmmigration.v1.CreateMigratingVmRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.vmmigration.v1.CreateMigratingVmRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.vmmigration.v1.CreateMigratingVmRequest 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.vmmigration.v1.CreateMigratingVmRequest 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.vmmigration.v1.CreateMigratingVmRequest 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.vmmigration.v1.CreateMigratingVmRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.vmmigration.v1.CreateMigratingVmRequest 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 message for 'CreateMigratingVm' request.
    * 
* * Protobuf type {@code google.cloud.vmmigration.v1.CreateMigratingVmRequest} */ - 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.vmmigration.v1.CreateMigratingVmRequest) com.google.cloud.vmmigration.v1.CreateMigratingVmRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_CreateMigratingVmRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_CreateMigratingVmRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_CreateMigratingVmRequest_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_CreateMigratingVmRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.CreateMigratingVmRequest.class, com.google.cloud.vmmigration.v1.CreateMigratingVmRequest.Builder.class); + com.google.cloud.vmmigration.v1.CreateMigratingVmRequest.class, + com.google.cloud.vmmigration.v1.CreateMigratingVmRequest.Builder.class); } // Construct using com.google.cloud.vmmigration.v1.CreateMigratingVmRequest.newBuilder() @@ -535,16 +595,15 @@ 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) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -564,9 +623,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_CreateMigratingVmRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_CreateMigratingVmRequest_descriptor; } @java.lang.Override @@ -585,7 +644,8 @@ public com.google.cloud.vmmigration.v1.CreateMigratingVmRequest build() { @java.lang.Override public com.google.cloud.vmmigration.v1.CreateMigratingVmRequest buildPartial() { - com.google.cloud.vmmigration.v1.CreateMigratingVmRequest result = new com.google.cloud.vmmigration.v1.CreateMigratingVmRequest(this); + com.google.cloud.vmmigration.v1.CreateMigratingVmRequest result = + new com.google.cloud.vmmigration.v1.CreateMigratingVmRequest(this); result.parent_ = parent_; result.migratingVmId_ = migratingVmId_; if (migratingVmBuilder_ == null) { @@ -602,38 +662,39 @@ public com.google.cloud.vmmigration.v1.CreateMigratingVmRequest buildPartial() { 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.vmmigration.v1.CreateMigratingVmRequest) { - return mergeFrom((com.google.cloud.vmmigration.v1.CreateMigratingVmRequest)other); + return mergeFrom((com.google.cloud.vmmigration.v1.CreateMigratingVmRequest) other); } else { super.mergeFrom(other); return this; @@ -641,7 +702,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.vmmigration.v1.CreateMigratingVmRequest other) { - if (other == com.google.cloud.vmmigration.v1.CreateMigratingVmRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.vmmigration.v1.CreateMigratingVmRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -676,7 +738,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.vmmigration.v1.CreateMigratingVmRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.vmmigration.v1.CreateMigratingVmRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -688,18 +751,22 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The MigratingVm's parent.
      * 
* - * 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; @@ -708,20 +775,23 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The MigratingVm's parent.
      * 
* - * 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 { @@ -729,54 +799,67 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The MigratingVm's parent.
      * 
* - * 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) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. The MigratingVm's parent.
      * 
* - * 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() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The MigratingVm's parent.
      * 
* - * 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) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -784,18 +867,20 @@ public Builder setParentBytes( private java.lang.Object migratingVmId_ = ""; /** + * + * *
      * Required. The migratingVm identifier.
      * 
* * string migrating_vm_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The migratingVmId. */ public java.lang.String getMigratingVmId() { java.lang.Object ref = migratingVmId_; 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(); migratingVmId_ = s; return s; @@ -804,20 +889,21 @@ public java.lang.String getMigratingVmId() { } } /** + * + * *
      * Required. The migratingVm identifier.
      * 
* * string migrating_vm_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for migratingVmId. */ - public com.google.protobuf.ByteString - getMigratingVmIdBytes() { + public com.google.protobuf.ByteString getMigratingVmIdBytes() { java.lang.Object ref = migratingVmId_; 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); migratingVmId_ = b; return b; } else { @@ -825,54 +911,61 @@ public java.lang.String getMigratingVmId() { } } /** + * + * *
      * Required. The migratingVm identifier.
      * 
* * string migrating_vm_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The migratingVmId to set. * @return This builder for chaining. */ - public Builder setMigratingVmId( - java.lang.String value) { + public Builder setMigratingVmId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + migratingVmId_ = value; onChanged(); return this; } /** + * + * *
      * Required. The migratingVm identifier.
      * 
* * string migrating_vm_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearMigratingVmId() { - + migratingVmId_ = getDefaultInstance().getMigratingVmId(); onChanged(); return this; } /** + * + * *
      * Required. The migratingVm identifier.
      * 
* * string migrating_vm_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for migratingVmId to set. * @return This builder for chaining. */ - public Builder setMigratingVmIdBytes( - com.google.protobuf.ByteString value) { + public Builder setMigratingVmIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + migratingVmId_ = value; onChanged(); return this; @@ -880,39 +973,58 @@ public Builder setMigratingVmIdBytes( private com.google.cloud.vmmigration.v1.MigratingVm migratingVm_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.vmmigration.v1.MigratingVm, com.google.cloud.vmmigration.v1.MigratingVm.Builder, com.google.cloud.vmmigration.v1.MigratingVmOrBuilder> migratingVmBuilder_; + com.google.cloud.vmmigration.v1.MigratingVm, + com.google.cloud.vmmigration.v1.MigratingVm.Builder, + com.google.cloud.vmmigration.v1.MigratingVmOrBuilder> + migratingVmBuilder_; /** + * + * *
      * Required. The create request body.
      * 
* - * .google.cloud.vmmigration.v1.MigratingVm migrating_vm = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.vmmigration.v1.MigratingVm migrating_vm = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the migratingVm field is set. */ public boolean hasMigratingVm() { return migratingVmBuilder_ != null || migratingVm_ != null; } /** + * + * *
      * Required. The create request body.
      * 
* - * .google.cloud.vmmigration.v1.MigratingVm migrating_vm = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.vmmigration.v1.MigratingVm migrating_vm = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The migratingVm. */ public com.google.cloud.vmmigration.v1.MigratingVm getMigratingVm() { if (migratingVmBuilder_ == null) { - return migratingVm_ == null ? com.google.cloud.vmmigration.v1.MigratingVm.getDefaultInstance() : migratingVm_; + return migratingVm_ == null + ? com.google.cloud.vmmigration.v1.MigratingVm.getDefaultInstance() + : migratingVm_; } else { return migratingVmBuilder_.getMessage(); } } /** + * + * *
      * Required. The create request body.
      * 
* - * .google.cloud.vmmigration.v1.MigratingVm migrating_vm = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.vmmigration.v1.MigratingVm migrating_vm = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setMigratingVm(com.google.cloud.vmmigration.v1.MigratingVm value) { if (migratingVmBuilder_ == null) { @@ -928,11 +1040,15 @@ public Builder setMigratingVm(com.google.cloud.vmmigration.v1.MigratingVm value) return this; } /** + * + * *
      * Required. The create request body.
      * 
* - * .google.cloud.vmmigration.v1.MigratingVm migrating_vm = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.vmmigration.v1.MigratingVm migrating_vm = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setMigratingVm( com.google.cloud.vmmigration.v1.MigratingVm.Builder builderForValue) { @@ -946,17 +1062,23 @@ public Builder setMigratingVm( return this; } /** + * + * *
      * Required. The create request body.
      * 
* - * .google.cloud.vmmigration.v1.MigratingVm migrating_vm = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.vmmigration.v1.MigratingVm migrating_vm = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeMigratingVm(com.google.cloud.vmmigration.v1.MigratingVm value) { if (migratingVmBuilder_ == null) { if (migratingVm_ != null) { migratingVm_ = - com.google.cloud.vmmigration.v1.MigratingVm.newBuilder(migratingVm_).mergeFrom(value).buildPartial(); + com.google.cloud.vmmigration.v1.MigratingVm.newBuilder(migratingVm_) + .mergeFrom(value) + .buildPartial(); } else { migratingVm_ = value; } @@ -968,11 +1090,15 @@ public Builder mergeMigratingVm(com.google.cloud.vmmigration.v1.MigratingVm valu return this; } /** + * + * *
      * Required. The create request body.
      * 
* - * .google.cloud.vmmigration.v1.MigratingVm migrating_vm = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.vmmigration.v1.MigratingVm migrating_vm = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearMigratingVm() { if (migratingVmBuilder_ == null) { @@ -986,48 +1112,64 @@ public Builder clearMigratingVm() { return this; } /** + * + * *
      * Required. The create request body.
      * 
* - * .google.cloud.vmmigration.v1.MigratingVm migrating_vm = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.vmmigration.v1.MigratingVm migrating_vm = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.vmmigration.v1.MigratingVm.Builder getMigratingVmBuilder() { - + onChanged(); return getMigratingVmFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The create request body.
      * 
* - * .google.cloud.vmmigration.v1.MigratingVm migrating_vm = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.vmmigration.v1.MigratingVm migrating_vm = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.vmmigration.v1.MigratingVmOrBuilder getMigratingVmOrBuilder() { if (migratingVmBuilder_ != null) { return migratingVmBuilder_.getMessageOrBuilder(); } else { - return migratingVm_ == null ? - com.google.cloud.vmmigration.v1.MigratingVm.getDefaultInstance() : migratingVm_; + return migratingVm_ == null + ? com.google.cloud.vmmigration.v1.MigratingVm.getDefaultInstance() + : migratingVm_; } } /** + * + * *
      * Required. The create request body.
      * 
* - * .google.cloud.vmmigration.v1.MigratingVm migrating_vm = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.vmmigration.v1.MigratingVm migrating_vm = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.vmmigration.v1.MigratingVm, com.google.cloud.vmmigration.v1.MigratingVm.Builder, com.google.cloud.vmmigration.v1.MigratingVmOrBuilder> + com.google.cloud.vmmigration.v1.MigratingVm, + com.google.cloud.vmmigration.v1.MigratingVm.Builder, + com.google.cloud.vmmigration.v1.MigratingVmOrBuilder> getMigratingVmFieldBuilder() { if (migratingVmBuilder_ == null) { - migratingVmBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.vmmigration.v1.MigratingVm, com.google.cloud.vmmigration.v1.MigratingVm.Builder, com.google.cloud.vmmigration.v1.MigratingVmOrBuilder>( - getMigratingVm(), - getParentForChildren(), - isClean()); + migratingVmBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.vmmigration.v1.MigratingVm, + com.google.cloud.vmmigration.v1.MigratingVm.Builder, + com.google.cloud.vmmigration.v1.MigratingVmOrBuilder>( + getMigratingVm(), getParentForChildren(), isClean()); migratingVm_ = null; } return migratingVmBuilder_; @@ -1035,6 +1177,8 @@ public com.google.cloud.vmmigration.v1.MigratingVmOrBuilder getMigratingVmOrBuil private java.lang.Object requestId_ = ""; /** + * + * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1050,13 +1194,13 @@ public com.google.cloud.vmmigration.v1.MigratingVmOrBuilder getMigratingVmOrBuil
      * 
* * string request_id = 4; + * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; 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(); requestId_ = s; return s; @@ -1065,6 +1209,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1080,15 +1226,14 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 4; + * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; 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); requestId_ = b; return b; } else { @@ -1096,6 +1241,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1111,20 +1258,22 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 4; + * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId( - java.lang.String value) { + public Builder setRequestId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + requestId_ = value; onChanged(); return this; } /** + * + * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1140,15 +1289,18 @@ public Builder setRequestId(
      * 
* * string request_id = 4; + * * @return This builder for chaining. */ public Builder clearRequestId() { - + requestId_ = getDefaultInstance().getRequestId(); onChanged(); return this; } /** + * + * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1164,23 +1316,23 @@ public Builder clearRequestId() {
      * 
* * string request_id = 4; + * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes( - com.google.protobuf.ByteString value) { + public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + requestId_ = 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); } @@ -1190,12 +1342,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.vmmigration.v1.CreateMigratingVmRequest) } // @@protoc_insertion_point(class_scope:google.cloud.vmmigration.v1.CreateMigratingVmRequest) private static final com.google.cloud.vmmigration.v1.CreateMigratingVmRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.vmmigration.v1.CreateMigratingVmRequest(); } @@ -1204,16 +1356,16 @@ public static com.google.cloud.vmmigration.v1.CreateMigratingVmRequest getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateMigratingVmRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateMigratingVmRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateMigratingVmRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CreateMigratingVmRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1228,6 +1380,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.vmmigration.v1.CreateMigratingVmRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CreateMigratingVmRequestOrBuilder.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CreateMigratingVmRequestOrBuilder.java similarity index 67% rename from owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CreateMigratingVmRequestOrBuilder.java rename to proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CreateMigratingVmRequestOrBuilder.java index 3196da0..b537d65 100644 --- a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CreateMigratingVmRequestOrBuilder.java +++ b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CreateMigratingVmRequestOrBuilder.java @@ -1,80 +1,126 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; -public interface CreateMigratingVmRequestOrBuilder extends +public interface CreateMigratingVmRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.CreateMigratingVmRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The MigratingVm's parent.
    * 
* - * 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 MigratingVm's parent.
    * 
* - * 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. The migratingVm identifier.
    * 
* * string migrating_vm_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The migratingVmId. */ java.lang.String getMigratingVmId(); /** + * + * *
    * Required. The migratingVm identifier.
    * 
* * string migrating_vm_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for migratingVmId. */ - com.google.protobuf.ByteString - getMigratingVmIdBytes(); + com.google.protobuf.ByteString getMigratingVmIdBytes(); /** + * + * *
    * Required. The create request body.
    * 
* - * .google.cloud.vmmigration.v1.MigratingVm migrating_vm = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.vmmigration.v1.MigratingVm migrating_vm = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the migratingVm field is set. */ boolean hasMigratingVm(); /** + * + * *
    * Required. The create request body.
    * 
* - * .google.cloud.vmmigration.v1.MigratingVm migrating_vm = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.vmmigration.v1.MigratingVm migrating_vm = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The migratingVm. */ com.google.cloud.vmmigration.v1.MigratingVm getMigratingVm(); /** + * + * *
    * Required. The create request body.
    * 
* - * .google.cloud.vmmigration.v1.MigratingVm migrating_vm = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.vmmigration.v1.MigratingVm migrating_vm = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.vmmigration.v1.MigratingVmOrBuilder getMigratingVmOrBuilder(); /** + * + * *
    * A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -90,10 +136,13 @@ public interface CreateMigratingVmRequestOrBuilder extends
    * 
* * string request_id = 4; + * * @return The requestId. */ java.lang.String getRequestId(); /** + * + * *
    * A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -109,8 +158,8 @@ public interface CreateMigratingVmRequestOrBuilder extends
    * 
* * string request_id = 4; + * * @return The bytes for requestId. */ - com.google.protobuf.ByteString - getRequestIdBytes(); + com.google.protobuf.ByteString getRequestIdBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CreateSourceRequest.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CreateSourceRequest.java similarity index 69% rename from owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CreateSourceRequest.java rename to proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CreateSourceRequest.java index 0ec2c27..3aeb319 100644 --- a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CreateSourceRequest.java +++ b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CreateSourceRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; /** + * + * *
  * Request message for 'CreateSource' request.
  * 
* * Protobuf type {@code google.cloud.vmmigration.v1.CreateSourceRequest} */ -public final class CreateSourceRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CreateSourceRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.vmmigration.v1.CreateSourceRequest) CreateSourceRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateSourceRequest.newBuilder() to construct. private CreateSourceRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreateSourceRequest() { parent_ = ""; sourceId_ = ""; @@ -27,16 +45,15 @@ private CreateSourceRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateSourceRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private CreateSourceRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,44 +72,50 @@ private CreateSourceRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - parent_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - sourceId_ = s; - break; - } - case 26: { - com.google.cloud.vmmigration.v1.Source.Builder subBuilder = null; - if (source_ != null) { - subBuilder = source_.toBuilder(); + parent_ = s; + break; } - source_ = input.readMessage(com.google.cloud.vmmigration.v1.Source.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(source_); - source_ = subBuilder.buildPartial(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + + sourceId_ = s; + break; } + case 26: + { + com.google.cloud.vmmigration.v1.Source.Builder subBuilder = null; + if (source_ != null) { + subBuilder = source_.toBuilder(); + } + source_ = + input.readMessage( + com.google.cloud.vmmigration.v1.Source.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(source_); + source_ = subBuilder.buildPartial(); + } - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); + break; + } + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); - requestId_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + requestId_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -100,34 +123,41 @@ private CreateSourceRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_CreateSourceRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_CreateSourceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_CreateSourceRequest_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_CreateSourceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.CreateSourceRequest.class, com.google.cloud.vmmigration.v1.CreateSourceRequest.Builder.class); + com.google.cloud.vmmigration.v1.CreateSourceRequest.class, + com.google.cloud.vmmigration.v1.CreateSourceRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The Source's parent.
    * 
* - * 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 @@ -136,29 +166,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 Source's parent.
    * 
* - * 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 { @@ -169,11 +201,14 @@ public java.lang.String getParent() { public static final int SOURCE_ID_FIELD_NUMBER = 2; private volatile java.lang.Object sourceId_; /** + * + * *
    * Required. The source identifier.
    * 
* * string source_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The sourceId. */ @java.lang.Override @@ -182,29 +217,29 @@ public java.lang.String getSourceId() { 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(); sourceId_ = s; return s; } } /** + * + * *
    * Required. The source identifier.
    * 
* * string source_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for sourceId. */ @java.lang.Override - public com.google.protobuf.ByteString - getSourceIdBytes() { + public com.google.protobuf.ByteString getSourceIdBytes() { java.lang.Object ref = sourceId_; 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); sourceId_ = b; return b; } else { @@ -215,11 +250,15 @@ public java.lang.String getSourceId() { public static final int SOURCE_FIELD_NUMBER = 3; private com.google.cloud.vmmigration.v1.Source source_; /** + * + * *
    * Required. The create request body.
    * 
* - * .google.cloud.vmmigration.v1.Source source = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.vmmigration.v1.Source source = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the source field is set. */ @java.lang.Override @@ -227,11 +266,15 @@ public boolean hasSource() { return source_ != null; } /** + * + * *
    * Required. The create request body.
    * 
* - * .google.cloud.vmmigration.v1.Source source = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.vmmigration.v1.Source source = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The source. */ @java.lang.Override @@ -239,11 +282,14 @@ public com.google.cloud.vmmigration.v1.Source getSource() { return source_ == null ? com.google.cloud.vmmigration.v1.Source.getDefaultInstance() : source_; } /** + * + * *
    * Required. The create request body.
    * 
* - * .google.cloud.vmmigration.v1.Source source = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.vmmigration.v1.Source source = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.vmmigration.v1.SourceOrBuilder getSourceOrBuilder() { @@ -253,6 +299,8 @@ public com.google.cloud.vmmigration.v1.SourceOrBuilder getSourceOrBuilder() { public static final int REQUEST_ID_FIELD_NUMBER = 4; private volatile java.lang.Object requestId_; /** + * + * *
    * A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -268,6 +316,7 @@ public com.google.cloud.vmmigration.v1.SourceOrBuilder getSourceOrBuilder() {
    * 
* * string request_id = 4; + * * @return The requestId. */ @java.lang.Override @@ -276,14 +325,15 @@ public java.lang.String getRequestId() { 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(); requestId_ = s; return s; } } /** + * + * *
    * A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -299,16 +349,15 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 4; + * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; 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); requestId_ = b; return b; } else { @@ -317,6 +366,7 @@ public java.lang.String getRequestId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -328,8 +378,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_); } @@ -358,8 +407,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, sourceId_); } if (source_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getSource()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getSource()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, requestId_); @@ -372,24 +420,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.vmmigration.v1.CreateSourceRequest)) { return super.equals(obj); } - com.google.cloud.vmmigration.v1.CreateSourceRequest other = (com.google.cloud.vmmigration.v1.CreateSourceRequest) obj; + com.google.cloud.vmmigration.v1.CreateSourceRequest other = + (com.google.cloud.vmmigration.v1.CreateSourceRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (!getSourceId() - .equals(other.getSourceId())) return false; + if (!getParent().equals(other.getParent())) return false; + if (!getSourceId().equals(other.getSourceId())) return false; if (hasSource() != other.hasSource()) return false; if (hasSource()) { - if (!getSource() - .equals(other.getSource())) return false; + if (!getSource().equals(other.getSource())) return false; } - if (!getRequestId() - .equals(other.getRequestId())) return false; + if (!getRequestId().equals(other.getRequestId())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -417,117 +462,126 @@ public int hashCode() { } public static com.google.cloud.vmmigration.v1.CreateSourceRequest 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.vmmigration.v1.CreateSourceRequest 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.vmmigration.v1.CreateSourceRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.vmmigration.v1.CreateSourceRequest 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.vmmigration.v1.CreateSourceRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.vmmigration.v1.CreateSourceRequest 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.vmmigration.v1.CreateSourceRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.vmmigration.v1.CreateSourceRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.vmmigration.v1.CreateSourceRequest 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.vmmigration.v1.CreateSourceRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.vmmigration.v1.CreateSourceRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.vmmigration.v1.CreateSourceRequest 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.vmmigration.v1.CreateSourceRequest 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.vmmigration.v1.CreateSourceRequest 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.vmmigration.v1.CreateSourceRequest 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 message for 'CreateSource' request.
    * 
* * Protobuf type {@code google.cloud.vmmigration.v1.CreateSourceRequest} */ - 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.vmmigration.v1.CreateSourceRequest) com.google.cloud.vmmigration.v1.CreateSourceRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_CreateSourceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_CreateSourceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_CreateSourceRequest_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_CreateSourceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.CreateSourceRequest.class, com.google.cloud.vmmigration.v1.CreateSourceRequest.Builder.class); + com.google.cloud.vmmigration.v1.CreateSourceRequest.class, + com.google.cloud.vmmigration.v1.CreateSourceRequest.Builder.class); } // Construct using com.google.cloud.vmmigration.v1.CreateSourceRequest.newBuilder() @@ -535,16 +589,15 @@ 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) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -564,9 +617,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_CreateSourceRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_CreateSourceRequest_descriptor; } @java.lang.Override @@ -585,7 +638,8 @@ public com.google.cloud.vmmigration.v1.CreateSourceRequest build() { @java.lang.Override public com.google.cloud.vmmigration.v1.CreateSourceRequest buildPartial() { - com.google.cloud.vmmigration.v1.CreateSourceRequest result = new com.google.cloud.vmmigration.v1.CreateSourceRequest(this); + com.google.cloud.vmmigration.v1.CreateSourceRequest result = + new com.google.cloud.vmmigration.v1.CreateSourceRequest(this); result.parent_ = parent_; result.sourceId_ = sourceId_; if (sourceBuilder_ == null) { @@ -602,38 +656,39 @@ public com.google.cloud.vmmigration.v1.CreateSourceRequest buildPartial() { 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.vmmigration.v1.CreateSourceRequest) { - return mergeFrom((com.google.cloud.vmmigration.v1.CreateSourceRequest)other); + return mergeFrom((com.google.cloud.vmmigration.v1.CreateSourceRequest) other); } else { super.mergeFrom(other); return this; @@ -641,7 +696,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.vmmigration.v1.CreateSourceRequest other) { - if (other == com.google.cloud.vmmigration.v1.CreateSourceRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.vmmigration.v1.CreateSourceRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -676,7 +732,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.vmmigration.v1.CreateSourceRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.vmmigration.v1.CreateSourceRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -688,18 +745,22 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The Source's parent.
      * 
* - * 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; @@ -708,20 +769,23 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The Source's parent.
      * 
* - * 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 { @@ -729,54 +793,67 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The Source's parent.
      * 
* - * 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) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. The Source's parent.
      * 
* - * 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() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The Source's parent.
      * 
* - * 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) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -784,18 +861,20 @@ public Builder setParentBytes( private java.lang.Object sourceId_ = ""; /** + * + * *
      * Required. The source identifier.
      * 
* * string source_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The sourceId. */ public java.lang.String getSourceId() { java.lang.Object ref = sourceId_; 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(); sourceId_ = s; return s; @@ -804,20 +883,21 @@ public java.lang.String getSourceId() { } } /** + * + * *
      * Required. The source identifier.
      * 
* * string source_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for sourceId. */ - public com.google.protobuf.ByteString - getSourceIdBytes() { + public com.google.protobuf.ByteString getSourceIdBytes() { java.lang.Object ref = sourceId_; 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); sourceId_ = b; return b; } else { @@ -825,54 +905,61 @@ public java.lang.String getSourceId() { } } /** + * + * *
      * Required. The source identifier.
      * 
* * string source_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The sourceId to set. * @return This builder for chaining. */ - public Builder setSourceId( - java.lang.String value) { + public Builder setSourceId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + sourceId_ = value; onChanged(); return this; } /** + * + * *
      * Required. The source identifier.
      * 
* * string source_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearSourceId() { - + sourceId_ = getDefaultInstance().getSourceId(); onChanged(); return this; } /** + * + * *
      * Required. The source identifier.
      * 
* * string source_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for sourceId to set. * @return This builder for chaining. */ - public Builder setSourceIdBytes( - com.google.protobuf.ByteString value) { + public Builder setSourceIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + sourceId_ = value; onChanged(); return this; @@ -880,39 +967,58 @@ public Builder setSourceIdBytes( private com.google.cloud.vmmigration.v1.Source source_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.vmmigration.v1.Source, com.google.cloud.vmmigration.v1.Source.Builder, com.google.cloud.vmmigration.v1.SourceOrBuilder> sourceBuilder_; + com.google.cloud.vmmigration.v1.Source, + com.google.cloud.vmmigration.v1.Source.Builder, + com.google.cloud.vmmigration.v1.SourceOrBuilder> + sourceBuilder_; /** + * + * *
      * Required. The create request body.
      * 
* - * .google.cloud.vmmigration.v1.Source source = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.vmmigration.v1.Source source = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the source field is set. */ public boolean hasSource() { return sourceBuilder_ != null || source_ != null; } /** + * + * *
      * Required. The create request body.
      * 
* - * .google.cloud.vmmigration.v1.Source source = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.vmmigration.v1.Source source = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The source. */ public com.google.cloud.vmmigration.v1.Source getSource() { if (sourceBuilder_ == null) { - return source_ == null ? com.google.cloud.vmmigration.v1.Source.getDefaultInstance() : source_; + return source_ == null + ? com.google.cloud.vmmigration.v1.Source.getDefaultInstance() + : source_; } else { return sourceBuilder_.getMessage(); } } /** + * + * *
      * Required. The create request body.
      * 
* - * .google.cloud.vmmigration.v1.Source source = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.vmmigration.v1.Source source = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setSource(com.google.cloud.vmmigration.v1.Source value) { if (sourceBuilder_ == null) { @@ -928,14 +1034,17 @@ public Builder setSource(com.google.cloud.vmmigration.v1.Source value) { return this; } /** + * + * *
      * Required. The create request body.
      * 
* - * .google.cloud.vmmigration.v1.Source source = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.vmmigration.v1.Source source = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setSource( - com.google.cloud.vmmigration.v1.Source.Builder builderForValue) { + public Builder setSource(com.google.cloud.vmmigration.v1.Source.Builder builderForValue) { if (sourceBuilder_ == null) { source_ = builderForValue.build(); onChanged(); @@ -946,17 +1055,23 @@ public Builder setSource( return this; } /** + * + * *
      * Required. The create request body.
      * 
* - * .google.cloud.vmmigration.v1.Source source = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.vmmigration.v1.Source source = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeSource(com.google.cloud.vmmigration.v1.Source value) { if (sourceBuilder_ == null) { if (source_ != null) { source_ = - com.google.cloud.vmmigration.v1.Source.newBuilder(source_).mergeFrom(value).buildPartial(); + com.google.cloud.vmmigration.v1.Source.newBuilder(source_) + .mergeFrom(value) + .buildPartial(); } else { source_ = value; } @@ -968,11 +1083,15 @@ public Builder mergeSource(com.google.cloud.vmmigration.v1.Source value) { return this; } /** + * + * *
      * Required. The create request body.
      * 
* - * .google.cloud.vmmigration.v1.Source source = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.vmmigration.v1.Source source = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearSource() { if (sourceBuilder_ == null) { @@ -986,48 +1105,64 @@ public Builder clearSource() { return this; } /** + * + * *
      * Required. The create request body.
      * 
* - * .google.cloud.vmmigration.v1.Source source = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.vmmigration.v1.Source source = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.vmmigration.v1.Source.Builder getSourceBuilder() { - + onChanged(); return getSourceFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The create request body.
      * 
* - * .google.cloud.vmmigration.v1.Source source = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.vmmigration.v1.Source source = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.vmmigration.v1.SourceOrBuilder getSourceOrBuilder() { if (sourceBuilder_ != null) { return sourceBuilder_.getMessageOrBuilder(); } else { - return source_ == null ? - com.google.cloud.vmmigration.v1.Source.getDefaultInstance() : source_; + return source_ == null + ? com.google.cloud.vmmigration.v1.Source.getDefaultInstance() + : source_; } } /** + * + * *
      * Required. The create request body.
      * 
* - * .google.cloud.vmmigration.v1.Source source = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.vmmigration.v1.Source source = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.vmmigration.v1.Source, com.google.cloud.vmmigration.v1.Source.Builder, com.google.cloud.vmmigration.v1.SourceOrBuilder> + com.google.cloud.vmmigration.v1.Source, + com.google.cloud.vmmigration.v1.Source.Builder, + com.google.cloud.vmmigration.v1.SourceOrBuilder> getSourceFieldBuilder() { if (sourceBuilder_ == null) { - sourceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.vmmigration.v1.Source, com.google.cloud.vmmigration.v1.Source.Builder, com.google.cloud.vmmigration.v1.SourceOrBuilder>( - getSource(), - getParentForChildren(), - isClean()); + sourceBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.vmmigration.v1.Source, + com.google.cloud.vmmigration.v1.Source.Builder, + com.google.cloud.vmmigration.v1.SourceOrBuilder>( + getSource(), getParentForChildren(), isClean()); source_ = null; } return sourceBuilder_; @@ -1035,6 +1170,8 @@ public com.google.cloud.vmmigration.v1.SourceOrBuilder getSourceOrBuilder() { private java.lang.Object requestId_ = ""; /** + * + * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1050,13 +1187,13 @@ public com.google.cloud.vmmigration.v1.SourceOrBuilder getSourceOrBuilder() {
      * 
* * string request_id = 4; + * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; 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(); requestId_ = s; return s; @@ -1065,6 +1202,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1080,15 +1219,14 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 4; + * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; 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); requestId_ = b; return b; } else { @@ -1096,6 +1234,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1111,20 +1251,22 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 4; + * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId( - java.lang.String value) { + public Builder setRequestId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + requestId_ = value; onChanged(); return this; } /** + * + * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1140,15 +1282,18 @@ public Builder setRequestId(
      * 
* * string request_id = 4; + * * @return This builder for chaining. */ public Builder clearRequestId() { - + requestId_ = getDefaultInstance().getRequestId(); onChanged(); return this; } /** + * + * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1164,23 +1309,23 @@ public Builder clearRequestId() {
      * 
* * string request_id = 4; + * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes( - com.google.protobuf.ByteString value) { + public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + requestId_ = 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); } @@ -1190,12 +1335,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.vmmigration.v1.CreateSourceRequest) } // @@protoc_insertion_point(class_scope:google.cloud.vmmigration.v1.CreateSourceRequest) private static final com.google.cloud.vmmigration.v1.CreateSourceRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.vmmigration.v1.CreateSourceRequest(); } @@ -1204,16 +1349,16 @@ public static com.google.cloud.vmmigration.v1.CreateSourceRequest getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateSourceRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateSourceRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateSourceRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CreateSourceRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1228,6 +1373,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.vmmigration.v1.CreateSourceRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CreateSourceRequestOrBuilder.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CreateSourceRequestOrBuilder.java similarity index 71% rename from owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CreateSourceRequestOrBuilder.java rename to proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CreateSourceRequestOrBuilder.java index c659511..4e855cd 100644 --- a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CreateSourceRequestOrBuilder.java +++ b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CreateSourceRequestOrBuilder.java @@ -1,80 +1,123 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; -public interface CreateSourceRequestOrBuilder extends +public interface CreateSourceRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.CreateSourceRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The Source's parent.
    * 
* - * 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 Source's parent.
    * 
* - * 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. The source identifier.
    * 
* * string source_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The sourceId. */ java.lang.String getSourceId(); /** + * + * *
    * Required. The source identifier.
    * 
* * string source_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for sourceId. */ - com.google.protobuf.ByteString - getSourceIdBytes(); + com.google.protobuf.ByteString getSourceIdBytes(); /** + * + * *
    * Required. The create request body.
    * 
* - * .google.cloud.vmmigration.v1.Source source = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.vmmigration.v1.Source source = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the source field is set. */ boolean hasSource(); /** + * + * *
    * Required. The create request body.
    * 
* - * .google.cloud.vmmigration.v1.Source source = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.vmmigration.v1.Source source = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The source. */ com.google.cloud.vmmigration.v1.Source getSource(); /** + * + * *
    * Required. The create request body.
    * 
* - * .google.cloud.vmmigration.v1.Source source = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.vmmigration.v1.Source source = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.vmmigration.v1.SourceOrBuilder getSourceOrBuilder(); /** + * + * *
    * A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -90,10 +133,13 @@ public interface CreateSourceRequestOrBuilder extends
    * 
* * string request_id = 4; + * * @return The requestId. */ java.lang.String getRequestId(); /** + * + * *
    * A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -109,8 +155,8 @@ public interface CreateSourceRequestOrBuilder extends
    * 
* * string request_id = 4; + * * @return The bytes for requestId. */ - com.google.protobuf.ByteString - getRequestIdBytes(); + com.google.protobuf.ByteString getRequestIdBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CreateTargetProjectRequest.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CreateTargetProjectRequest.java similarity index 69% rename from owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CreateTargetProjectRequest.java rename to proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CreateTargetProjectRequest.java index f4ed5ce..157c1b0 100644 --- a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CreateTargetProjectRequest.java +++ b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CreateTargetProjectRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; /** + * + * *
  * Request message for 'CreateTargetProject' request.
  * 
* * Protobuf type {@code google.cloud.vmmigration.v1.CreateTargetProjectRequest} */ -public final class CreateTargetProjectRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CreateTargetProjectRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.vmmigration.v1.CreateTargetProjectRequest) CreateTargetProjectRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateTargetProjectRequest.newBuilder() to construct. private CreateTargetProjectRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreateTargetProjectRequest() { parent_ = ""; targetProjectId_ = ""; @@ -27,16 +45,15 @@ private CreateTargetProjectRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateTargetProjectRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private CreateTargetProjectRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,44 +72,50 @@ private CreateTargetProjectRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - parent_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - targetProjectId_ = s; - break; - } - case 26: { - com.google.cloud.vmmigration.v1.TargetProject.Builder subBuilder = null; - if (targetProject_ != null) { - subBuilder = targetProject_.toBuilder(); + parent_ = s; + break; } - targetProject_ = input.readMessage(com.google.cloud.vmmigration.v1.TargetProject.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(targetProject_); - targetProject_ = subBuilder.buildPartial(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + + targetProjectId_ = s; + break; } + case 26: + { + com.google.cloud.vmmigration.v1.TargetProject.Builder subBuilder = null; + if (targetProject_ != null) { + subBuilder = targetProject_.toBuilder(); + } + targetProject_ = + input.readMessage( + com.google.cloud.vmmigration.v1.TargetProject.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(targetProject_); + targetProject_ = subBuilder.buildPartial(); + } - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); + break; + } + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); - requestId_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + requestId_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -100,34 +123,41 @@ private CreateTargetProjectRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_CreateTargetProjectRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_CreateTargetProjectRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_CreateTargetProjectRequest_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_CreateTargetProjectRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.CreateTargetProjectRequest.class, com.google.cloud.vmmigration.v1.CreateTargetProjectRequest.Builder.class); + com.google.cloud.vmmigration.v1.CreateTargetProjectRequest.class, + com.google.cloud.vmmigration.v1.CreateTargetProjectRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The TargetProject's parent.
    * 
* - * 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 @@ -136,29 +166,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 TargetProject's parent.
    * 
* - * 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 { @@ -169,11 +201,14 @@ public java.lang.String getParent() { public static final int TARGET_PROJECT_ID_FIELD_NUMBER = 2; private volatile java.lang.Object targetProjectId_; /** + * + * *
    * Required. The target_project identifier.
    * 
* * string target_project_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The targetProjectId. */ @java.lang.Override @@ -182,29 +217,29 @@ public java.lang.String getTargetProjectId() { 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(); targetProjectId_ = s; return s; } } /** + * + * *
    * Required. The target_project identifier.
    * 
* * string target_project_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for targetProjectId. */ @java.lang.Override - public com.google.protobuf.ByteString - getTargetProjectIdBytes() { + public com.google.protobuf.ByteString getTargetProjectIdBytes() { java.lang.Object ref = targetProjectId_; 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); targetProjectId_ = b; return b; } else { @@ -215,11 +250,16 @@ public java.lang.String getTargetProjectId() { public static final int TARGET_PROJECT_FIELD_NUMBER = 3; private com.google.cloud.vmmigration.v1.TargetProject targetProject_; /** + * + * *
    * Required. The create request body.
    * 
* - * .google.cloud.vmmigration.v1.TargetProject target_project = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.vmmigration.v1.TargetProject target_project = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the targetProject field is set. */ @java.lang.Override @@ -227,23 +267,34 @@ public boolean hasTargetProject() { return targetProject_ != null; } /** + * + * *
    * Required. The create request body.
    * 
* - * .google.cloud.vmmigration.v1.TargetProject target_project = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.vmmigration.v1.TargetProject target_project = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The targetProject. */ @java.lang.Override public com.google.cloud.vmmigration.v1.TargetProject getTargetProject() { - return targetProject_ == null ? com.google.cloud.vmmigration.v1.TargetProject.getDefaultInstance() : targetProject_; + return targetProject_ == null + ? com.google.cloud.vmmigration.v1.TargetProject.getDefaultInstance() + : targetProject_; } /** + * + * *
    * Required. The create request body.
    * 
* - * .google.cloud.vmmigration.v1.TargetProject target_project = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.vmmigration.v1.TargetProject target_project = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.vmmigration.v1.TargetProjectOrBuilder getTargetProjectOrBuilder() { @@ -253,6 +304,8 @@ public com.google.cloud.vmmigration.v1.TargetProjectOrBuilder getTargetProjectOr public static final int REQUEST_ID_FIELD_NUMBER = 4; private volatile java.lang.Object requestId_; /** + * + * *
    * A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -268,6 +321,7 @@ public com.google.cloud.vmmigration.v1.TargetProjectOrBuilder getTargetProjectOr
    * 
* * string request_id = 4; + * * @return The requestId. */ @java.lang.Override @@ -276,14 +330,15 @@ public java.lang.String getRequestId() { 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(); requestId_ = s; return s; } } /** + * + * *
    * A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -299,16 +354,15 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 4; + * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; 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); requestId_ = b; return b; } else { @@ -317,6 +371,7 @@ public java.lang.String getRequestId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -328,8 +383,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_); } @@ -358,8 +412,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, targetProjectId_); } if (targetProject_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getTargetProject()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getTargetProject()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, requestId_); @@ -372,24 +425,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.vmmigration.v1.CreateTargetProjectRequest)) { return super.equals(obj); } - com.google.cloud.vmmigration.v1.CreateTargetProjectRequest other = (com.google.cloud.vmmigration.v1.CreateTargetProjectRequest) obj; + com.google.cloud.vmmigration.v1.CreateTargetProjectRequest other = + (com.google.cloud.vmmigration.v1.CreateTargetProjectRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (!getTargetProjectId() - .equals(other.getTargetProjectId())) return false; + if (!getParent().equals(other.getParent())) return false; + if (!getTargetProjectId().equals(other.getTargetProjectId())) return false; if (hasTargetProject() != other.hasTargetProject()) return false; if (hasTargetProject()) { - if (!getTargetProject() - .equals(other.getTargetProject())) return false; + if (!getTargetProject().equals(other.getTargetProject())) return false; } - if (!getRequestId() - .equals(other.getRequestId())) return false; + if (!getRequestId().equals(other.getRequestId())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -417,117 +467,127 @@ public int hashCode() { } public static com.google.cloud.vmmigration.v1.CreateTargetProjectRequest 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.vmmigration.v1.CreateTargetProjectRequest 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.vmmigration.v1.CreateTargetProjectRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.vmmigration.v1.CreateTargetProjectRequest 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.vmmigration.v1.CreateTargetProjectRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.vmmigration.v1.CreateTargetProjectRequest 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.vmmigration.v1.CreateTargetProjectRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.vmmigration.v1.CreateTargetProjectRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.vmmigration.v1.CreateTargetProjectRequest 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.vmmigration.v1.CreateTargetProjectRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.vmmigration.v1.CreateTargetProjectRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.vmmigration.v1.CreateTargetProjectRequest 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.vmmigration.v1.CreateTargetProjectRequest 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.vmmigration.v1.CreateTargetProjectRequest 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.vmmigration.v1.CreateTargetProjectRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.vmmigration.v1.CreateTargetProjectRequest 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 message for 'CreateTargetProject' request.
    * 
* * Protobuf type {@code google.cloud.vmmigration.v1.CreateTargetProjectRequest} */ - 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.vmmigration.v1.CreateTargetProjectRequest) com.google.cloud.vmmigration.v1.CreateTargetProjectRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_CreateTargetProjectRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_CreateTargetProjectRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_CreateTargetProjectRequest_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_CreateTargetProjectRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.CreateTargetProjectRequest.class, com.google.cloud.vmmigration.v1.CreateTargetProjectRequest.Builder.class); + com.google.cloud.vmmigration.v1.CreateTargetProjectRequest.class, + com.google.cloud.vmmigration.v1.CreateTargetProjectRequest.Builder.class); } // Construct using com.google.cloud.vmmigration.v1.CreateTargetProjectRequest.newBuilder() @@ -535,16 +595,15 @@ 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) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -564,9 +623,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_CreateTargetProjectRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_CreateTargetProjectRequest_descriptor; } @java.lang.Override @@ -585,7 +644,8 @@ public com.google.cloud.vmmigration.v1.CreateTargetProjectRequest build() { @java.lang.Override public com.google.cloud.vmmigration.v1.CreateTargetProjectRequest buildPartial() { - com.google.cloud.vmmigration.v1.CreateTargetProjectRequest result = new com.google.cloud.vmmigration.v1.CreateTargetProjectRequest(this); + com.google.cloud.vmmigration.v1.CreateTargetProjectRequest result = + new com.google.cloud.vmmigration.v1.CreateTargetProjectRequest(this); result.parent_ = parent_; result.targetProjectId_ = targetProjectId_; if (targetProjectBuilder_ == null) { @@ -602,38 +662,39 @@ public com.google.cloud.vmmigration.v1.CreateTargetProjectRequest buildPartial() 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.vmmigration.v1.CreateTargetProjectRequest) { - return mergeFrom((com.google.cloud.vmmigration.v1.CreateTargetProjectRequest)other); + return mergeFrom((com.google.cloud.vmmigration.v1.CreateTargetProjectRequest) other); } else { super.mergeFrom(other); return this; @@ -641,7 +702,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.vmmigration.v1.CreateTargetProjectRequest other) { - if (other == com.google.cloud.vmmigration.v1.CreateTargetProjectRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.vmmigration.v1.CreateTargetProjectRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -676,7 +738,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.vmmigration.v1.CreateTargetProjectRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.vmmigration.v1.CreateTargetProjectRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -688,18 +751,22 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The TargetProject's parent.
      * 
* - * 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; @@ -708,20 +775,23 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The TargetProject's parent.
      * 
* - * 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 { @@ -729,54 +799,67 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The TargetProject's parent.
      * 
* - * 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) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. The TargetProject's parent.
      * 
* - * 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() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The TargetProject's parent.
      * 
* - * 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) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -784,18 +867,20 @@ public Builder setParentBytes( private java.lang.Object targetProjectId_ = ""; /** + * + * *
      * Required. The target_project identifier.
      * 
* * string target_project_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The targetProjectId. */ public java.lang.String getTargetProjectId() { java.lang.Object ref = targetProjectId_; 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(); targetProjectId_ = s; return s; @@ -804,20 +889,21 @@ public java.lang.String getTargetProjectId() { } } /** + * + * *
      * Required. The target_project identifier.
      * 
* * string target_project_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for targetProjectId. */ - public com.google.protobuf.ByteString - getTargetProjectIdBytes() { + public com.google.protobuf.ByteString getTargetProjectIdBytes() { java.lang.Object ref = targetProjectId_; 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); targetProjectId_ = b; return b; } else { @@ -825,54 +911,61 @@ public java.lang.String getTargetProjectId() { } } /** + * + * *
      * Required. The target_project identifier.
      * 
* * string target_project_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The targetProjectId to set. * @return This builder for chaining. */ - public Builder setTargetProjectId( - java.lang.String value) { + public Builder setTargetProjectId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + targetProjectId_ = value; onChanged(); return this; } /** + * + * *
      * Required. The target_project identifier.
      * 
* * string target_project_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearTargetProjectId() { - + targetProjectId_ = getDefaultInstance().getTargetProjectId(); onChanged(); return this; } /** + * + * *
      * Required. The target_project identifier.
      * 
* * string target_project_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for targetProjectId to set. * @return This builder for chaining. */ - public Builder setTargetProjectIdBytes( - com.google.protobuf.ByteString value) { + public Builder setTargetProjectIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + targetProjectId_ = value; onChanged(); return this; @@ -880,39 +973,58 @@ public Builder setTargetProjectIdBytes( private com.google.cloud.vmmigration.v1.TargetProject targetProject_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.vmmigration.v1.TargetProject, com.google.cloud.vmmigration.v1.TargetProject.Builder, com.google.cloud.vmmigration.v1.TargetProjectOrBuilder> targetProjectBuilder_; + com.google.cloud.vmmigration.v1.TargetProject, + com.google.cloud.vmmigration.v1.TargetProject.Builder, + com.google.cloud.vmmigration.v1.TargetProjectOrBuilder> + targetProjectBuilder_; /** + * + * *
      * Required. The create request body.
      * 
* - * .google.cloud.vmmigration.v1.TargetProject target_project = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.vmmigration.v1.TargetProject target_project = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the targetProject field is set. */ public boolean hasTargetProject() { return targetProjectBuilder_ != null || targetProject_ != null; } /** + * + * *
      * Required. The create request body.
      * 
* - * .google.cloud.vmmigration.v1.TargetProject target_project = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.vmmigration.v1.TargetProject target_project = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The targetProject. */ public com.google.cloud.vmmigration.v1.TargetProject getTargetProject() { if (targetProjectBuilder_ == null) { - return targetProject_ == null ? com.google.cloud.vmmigration.v1.TargetProject.getDefaultInstance() : targetProject_; + return targetProject_ == null + ? com.google.cloud.vmmigration.v1.TargetProject.getDefaultInstance() + : targetProject_; } else { return targetProjectBuilder_.getMessage(); } } /** + * + * *
      * Required. The create request body.
      * 
* - * .google.cloud.vmmigration.v1.TargetProject target_project = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.vmmigration.v1.TargetProject target_project = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setTargetProject(com.google.cloud.vmmigration.v1.TargetProject value) { if (targetProjectBuilder_ == null) { @@ -928,11 +1040,15 @@ public Builder setTargetProject(com.google.cloud.vmmigration.v1.TargetProject va return this; } /** + * + * *
      * Required. The create request body.
      * 
* - * .google.cloud.vmmigration.v1.TargetProject target_project = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.vmmigration.v1.TargetProject target_project = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setTargetProject( com.google.cloud.vmmigration.v1.TargetProject.Builder builderForValue) { @@ -946,17 +1062,23 @@ public Builder setTargetProject( return this; } /** + * + * *
      * Required. The create request body.
      * 
* - * .google.cloud.vmmigration.v1.TargetProject target_project = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.vmmigration.v1.TargetProject target_project = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeTargetProject(com.google.cloud.vmmigration.v1.TargetProject value) { if (targetProjectBuilder_ == null) { if (targetProject_ != null) { targetProject_ = - com.google.cloud.vmmigration.v1.TargetProject.newBuilder(targetProject_).mergeFrom(value).buildPartial(); + com.google.cloud.vmmigration.v1.TargetProject.newBuilder(targetProject_) + .mergeFrom(value) + .buildPartial(); } else { targetProject_ = value; } @@ -968,11 +1090,15 @@ public Builder mergeTargetProject(com.google.cloud.vmmigration.v1.TargetProject return this; } /** + * + * *
      * Required. The create request body.
      * 
* - * .google.cloud.vmmigration.v1.TargetProject target_project = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.vmmigration.v1.TargetProject target_project = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearTargetProject() { if (targetProjectBuilder_ == null) { @@ -986,48 +1112,64 @@ public Builder clearTargetProject() { return this; } /** + * + * *
      * Required. The create request body.
      * 
* - * .google.cloud.vmmigration.v1.TargetProject target_project = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.vmmigration.v1.TargetProject target_project = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.vmmigration.v1.TargetProject.Builder getTargetProjectBuilder() { - + onChanged(); return getTargetProjectFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The create request body.
      * 
* - * .google.cloud.vmmigration.v1.TargetProject target_project = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.vmmigration.v1.TargetProject target_project = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.vmmigration.v1.TargetProjectOrBuilder getTargetProjectOrBuilder() { if (targetProjectBuilder_ != null) { return targetProjectBuilder_.getMessageOrBuilder(); } else { - return targetProject_ == null ? - com.google.cloud.vmmigration.v1.TargetProject.getDefaultInstance() : targetProject_; + return targetProject_ == null + ? com.google.cloud.vmmigration.v1.TargetProject.getDefaultInstance() + : targetProject_; } } /** + * + * *
      * Required. The create request body.
      * 
* - * .google.cloud.vmmigration.v1.TargetProject target_project = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.vmmigration.v1.TargetProject target_project = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.vmmigration.v1.TargetProject, com.google.cloud.vmmigration.v1.TargetProject.Builder, com.google.cloud.vmmigration.v1.TargetProjectOrBuilder> + com.google.cloud.vmmigration.v1.TargetProject, + com.google.cloud.vmmigration.v1.TargetProject.Builder, + com.google.cloud.vmmigration.v1.TargetProjectOrBuilder> getTargetProjectFieldBuilder() { if (targetProjectBuilder_ == null) { - targetProjectBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.vmmigration.v1.TargetProject, com.google.cloud.vmmigration.v1.TargetProject.Builder, com.google.cloud.vmmigration.v1.TargetProjectOrBuilder>( - getTargetProject(), - getParentForChildren(), - isClean()); + targetProjectBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.vmmigration.v1.TargetProject, + com.google.cloud.vmmigration.v1.TargetProject.Builder, + com.google.cloud.vmmigration.v1.TargetProjectOrBuilder>( + getTargetProject(), getParentForChildren(), isClean()); targetProject_ = null; } return targetProjectBuilder_; @@ -1035,6 +1177,8 @@ public com.google.cloud.vmmigration.v1.TargetProjectOrBuilder getTargetProjectOr private java.lang.Object requestId_ = ""; /** + * + * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1050,13 +1194,13 @@ public com.google.cloud.vmmigration.v1.TargetProjectOrBuilder getTargetProjectOr
      * 
* * string request_id = 4; + * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; 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(); requestId_ = s; return s; @@ -1065,6 +1209,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1080,15 +1226,14 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 4; + * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; 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); requestId_ = b; return b; } else { @@ -1096,6 +1241,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1111,20 +1258,22 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 4; + * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId( - java.lang.String value) { + public Builder setRequestId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + requestId_ = value; onChanged(); return this; } /** + * + * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1140,15 +1289,18 @@ public Builder setRequestId(
      * 
* * string request_id = 4; + * * @return This builder for chaining. */ public Builder clearRequestId() { - + requestId_ = getDefaultInstance().getRequestId(); onChanged(); return this; } /** + * + * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1164,23 +1316,23 @@ public Builder clearRequestId() {
      * 
* * string request_id = 4; + * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes( - com.google.protobuf.ByteString value) { + public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + requestId_ = 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); } @@ -1190,12 +1342,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.vmmigration.v1.CreateTargetProjectRequest) } // @@protoc_insertion_point(class_scope:google.cloud.vmmigration.v1.CreateTargetProjectRequest) private static final com.google.cloud.vmmigration.v1.CreateTargetProjectRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.vmmigration.v1.CreateTargetProjectRequest(); } @@ -1204,16 +1356,16 @@ public static com.google.cloud.vmmigration.v1.CreateTargetProjectRequest getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateTargetProjectRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateTargetProjectRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateTargetProjectRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CreateTargetProjectRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1228,6 +1380,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.vmmigration.v1.CreateTargetProjectRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CreateTargetProjectRequestOrBuilder.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CreateTargetProjectRequestOrBuilder.java similarity index 67% rename from owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CreateTargetProjectRequestOrBuilder.java rename to proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CreateTargetProjectRequestOrBuilder.java index e8a3048..55f529f 100644 --- a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CreateTargetProjectRequestOrBuilder.java +++ b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CreateTargetProjectRequestOrBuilder.java @@ -1,80 +1,126 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; -public interface CreateTargetProjectRequestOrBuilder extends +public interface CreateTargetProjectRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.CreateTargetProjectRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The TargetProject's parent.
    * 
* - * 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 TargetProject's parent.
    * 
* - * 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. The target_project identifier.
    * 
* * string target_project_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The targetProjectId. */ java.lang.String getTargetProjectId(); /** + * + * *
    * Required. The target_project identifier.
    * 
* * string target_project_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for targetProjectId. */ - com.google.protobuf.ByteString - getTargetProjectIdBytes(); + com.google.protobuf.ByteString getTargetProjectIdBytes(); /** + * + * *
    * Required. The create request body.
    * 
* - * .google.cloud.vmmigration.v1.TargetProject target_project = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.vmmigration.v1.TargetProject target_project = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the targetProject field is set. */ boolean hasTargetProject(); /** + * + * *
    * Required. The create request body.
    * 
* - * .google.cloud.vmmigration.v1.TargetProject target_project = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.vmmigration.v1.TargetProject target_project = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The targetProject. */ com.google.cloud.vmmigration.v1.TargetProject getTargetProject(); /** + * + * *
    * Required. The create request body.
    * 
* - * .google.cloud.vmmigration.v1.TargetProject target_project = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.vmmigration.v1.TargetProject target_project = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.vmmigration.v1.TargetProjectOrBuilder getTargetProjectOrBuilder(); /** + * + * *
    * A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -90,10 +136,13 @@ public interface CreateTargetProjectRequestOrBuilder extends
    * 
* * string request_id = 4; + * * @return The requestId. */ java.lang.String getRequestId(); /** + * + * *
    * A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -109,8 +158,8 @@ public interface CreateTargetProjectRequestOrBuilder extends
    * 
* * string request_id = 4; + * * @return The bytes for requestId. */ - com.google.protobuf.ByteString - getRequestIdBytes(); + com.google.protobuf.ByteString getRequestIdBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CreateUtilizationReportRequest.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CreateUtilizationReportRequest.java similarity index 69% rename from owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CreateUtilizationReportRequest.java rename to proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CreateUtilizationReportRequest.java index f961a3f..42c2ee0 100644 --- a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CreateUtilizationReportRequest.java +++ b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CreateUtilizationReportRequest.java @@ -1,24 +1,43 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; /** + * + * *
  * Request message for 'CreateUtilizationReport' request.
  * 
* * Protobuf type {@code google.cloud.vmmigration.v1.CreateUtilizationReportRequest} */ -public final class CreateUtilizationReportRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CreateUtilizationReportRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.vmmigration.v1.CreateUtilizationReportRequest) CreateUtilizationReportRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateUtilizationReportRequest.newBuilder() to construct. - private CreateUtilizationReportRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private CreateUtilizationReportRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreateUtilizationReportRequest() { parent_ = ""; utilizationReportId_ = ""; @@ -27,16 +46,15 @@ private CreateUtilizationReportRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateUtilizationReportRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private CreateUtilizationReportRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,44 +73,51 @@ private CreateUtilizationReportRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 18: { - com.google.cloud.vmmigration.v1.UtilizationReport.Builder subBuilder = null; - if (utilizationReport_ != null) { - subBuilder = utilizationReport_.toBuilder(); - } - utilizationReport_ = input.readMessage(com.google.cloud.vmmigration.v1.UtilizationReport.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(utilizationReport_); - utilizationReport_ = subBuilder.buildPartial(); + parent_ = s; + break; } + case 18: + { + com.google.cloud.vmmigration.v1.UtilizationReport.Builder subBuilder = null; + if (utilizationReport_ != null) { + subBuilder = utilizationReport_.toBuilder(); + } + utilizationReport_ = + input.readMessage( + com.google.cloud.vmmigration.v1.UtilizationReport.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(utilizationReport_); + utilizationReport_ = subBuilder.buildPartial(); + } - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - utilizationReportId_ = s; - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); + utilizationReportId_ = s; + break; + } + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); - requestId_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + requestId_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -100,34 +125,41 @@ private CreateUtilizationReportRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_CreateUtilizationReportRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_CreateUtilizationReportRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_CreateUtilizationReportRequest_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_CreateUtilizationReportRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.CreateUtilizationReportRequest.class, com.google.cloud.vmmigration.v1.CreateUtilizationReportRequest.Builder.class); + com.google.cloud.vmmigration.v1.CreateUtilizationReportRequest.class, + com.google.cloud.vmmigration.v1.CreateUtilizationReportRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The Utilization Report's parent.
    * 
* - * 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 @@ -136,29 +168,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 Utilization Report's parent.
    * 
* - * 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 { @@ -169,11 +203,16 @@ public java.lang.String getParent() { public static final int UTILIZATION_REPORT_FIELD_NUMBER = 2; private com.google.cloud.vmmigration.v1.UtilizationReport utilizationReport_; /** + * + * *
    * Required. The report to create.
    * 
* - * .google.cloud.vmmigration.v1.UtilizationReport utilization_report = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.vmmigration.v1.UtilizationReport utilization_report = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the utilizationReport field is set. */ @java.lang.Override @@ -181,32 +220,46 @@ public boolean hasUtilizationReport() { return utilizationReport_ != null; } /** + * + * *
    * Required. The report to create.
    * 
* - * .google.cloud.vmmigration.v1.UtilizationReport utilization_report = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.vmmigration.v1.UtilizationReport utilization_report = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The utilizationReport. */ @java.lang.Override public com.google.cloud.vmmigration.v1.UtilizationReport getUtilizationReport() { - return utilizationReport_ == null ? com.google.cloud.vmmigration.v1.UtilizationReport.getDefaultInstance() : utilizationReport_; + return utilizationReport_ == null + ? com.google.cloud.vmmigration.v1.UtilizationReport.getDefaultInstance() + : utilizationReport_; } /** + * + * *
    * Required. The report to create.
    * 
* - * .google.cloud.vmmigration.v1.UtilizationReport utilization_report = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.vmmigration.v1.UtilizationReport utilization_report = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public com.google.cloud.vmmigration.v1.UtilizationReportOrBuilder getUtilizationReportOrBuilder() { + public com.google.cloud.vmmigration.v1.UtilizationReportOrBuilder + getUtilizationReportOrBuilder() { return getUtilizationReport(); } public static final int UTILIZATION_REPORT_ID_FIELD_NUMBER = 3; private volatile java.lang.Object utilizationReportId_; /** + * + * *
    * Required. The ID to use for the report, which will become the final
    * component of the reports's resource name.
@@ -216,6 +269,7 @@ public com.google.cloud.vmmigration.v1.UtilizationReportOrBuilder getUtilization
    * 
* * string utilization_report_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The utilizationReportId. */ @java.lang.Override @@ -224,14 +278,15 @@ public java.lang.String getUtilizationReportId() { 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(); utilizationReportId_ = s; return s; } } /** + * + * *
    * Required. The ID to use for the report, which will become the final
    * component of the reports's resource name.
@@ -241,16 +296,15 @@ public java.lang.String getUtilizationReportId() {
    * 
* * string utilization_report_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for utilizationReportId. */ @java.lang.Override - public com.google.protobuf.ByteString - getUtilizationReportIdBytes() { + public com.google.protobuf.ByteString getUtilizationReportIdBytes() { java.lang.Object ref = utilizationReportId_; 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); utilizationReportId_ = b; return b; } else { @@ -261,6 +315,8 @@ public java.lang.String getUtilizationReportId() { public static final int REQUEST_ID_FIELD_NUMBER = 4; private volatile java.lang.Object requestId_; /** + * + * *
    * A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -276,6 +332,7 @@ public java.lang.String getUtilizationReportId() {
    * 
* * string request_id = 4; + * * @return The requestId. */ @java.lang.Override @@ -284,14 +341,15 @@ public java.lang.String getRequestId() { 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(); requestId_ = s; return s; } } /** + * + * *
    * A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -307,16 +365,15 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 4; + * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; 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); requestId_ = b; return b; } else { @@ -325,6 +382,7 @@ public java.lang.String getRequestId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -336,8 +394,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_); } @@ -363,8 +420,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (utilizationReport_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getUtilizationReport()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUtilizationReport()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(utilizationReportId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, utilizationReportId_); @@ -380,24 +436,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.vmmigration.v1.CreateUtilizationReportRequest)) { return super.equals(obj); } - com.google.cloud.vmmigration.v1.CreateUtilizationReportRequest other = (com.google.cloud.vmmigration.v1.CreateUtilizationReportRequest) obj; + com.google.cloud.vmmigration.v1.CreateUtilizationReportRequest other = + (com.google.cloud.vmmigration.v1.CreateUtilizationReportRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; + if (!getParent().equals(other.getParent())) return false; if (hasUtilizationReport() != other.hasUtilizationReport()) return false; if (hasUtilizationReport()) { - if (!getUtilizationReport() - .equals(other.getUtilizationReport())) return false; + if (!getUtilizationReport().equals(other.getUtilizationReport())) return false; } - if (!getUtilizationReportId() - .equals(other.getUtilizationReportId())) return false; - if (!getRequestId() - .equals(other.getRequestId())) return false; + if (!getUtilizationReportId().equals(other.getUtilizationReportId())) return false; + if (!getRequestId().equals(other.getRequestId())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -425,117 +478,127 @@ public int hashCode() { } public static com.google.cloud.vmmigration.v1.CreateUtilizationReportRequest 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.vmmigration.v1.CreateUtilizationReportRequest 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.vmmigration.v1.CreateUtilizationReportRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.vmmigration.v1.CreateUtilizationReportRequest 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.vmmigration.v1.CreateUtilizationReportRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.vmmigration.v1.CreateUtilizationReportRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.vmmigration.v1.CreateUtilizationReportRequest 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.vmmigration.v1.CreateUtilizationReportRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.vmmigration.v1.CreateUtilizationReportRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.vmmigration.v1.CreateUtilizationReportRequest 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.vmmigration.v1.CreateUtilizationReportRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.vmmigration.v1.CreateUtilizationReportRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.vmmigration.v1.CreateUtilizationReportRequest 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.vmmigration.v1.CreateUtilizationReportRequest 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.vmmigration.v1.CreateUtilizationReportRequest 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.vmmigration.v1.CreateUtilizationReportRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.vmmigration.v1.CreateUtilizationReportRequest 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 message for 'CreateUtilizationReport' request.
    * 
* * Protobuf type {@code google.cloud.vmmigration.v1.CreateUtilizationReportRequest} */ - 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.vmmigration.v1.CreateUtilizationReportRequest) com.google.cloud.vmmigration.v1.CreateUtilizationReportRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_CreateUtilizationReportRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_CreateUtilizationReportRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_CreateUtilizationReportRequest_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_CreateUtilizationReportRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.CreateUtilizationReportRequest.class, com.google.cloud.vmmigration.v1.CreateUtilizationReportRequest.Builder.class); + com.google.cloud.vmmigration.v1.CreateUtilizationReportRequest.class, + com.google.cloud.vmmigration.v1.CreateUtilizationReportRequest.Builder.class); } // Construct using com.google.cloud.vmmigration.v1.CreateUtilizationReportRequest.newBuilder() @@ -543,16 +606,15 @@ 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) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -572,13 +634,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_CreateUtilizationReportRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_CreateUtilizationReportRequest_descriptor; } @java.lang.Override - public com.google.cloud.vmmigration.v1.CreateUtilizationReportRequest getDefaultInstanceForType() { + public com.google.cloud.vmmigration.v1.CreateUtilizationReportRequest + getDefaultInstanceForType() { return com.google.cloud.vmmigration.v1.CreateUtilizationReportRequest.getDefaultInstance(); } @@ -593,7 +656,8 @@ public com.google.cloud.vmmigration.v1.CreateUtilizationReportRequest build() { @java.lang.Override public com.google.cloud.vmmigration.v1.CreateUtilizationReportRequest buildPartial() { - com.google.cloud.vmmigration.v1.CreateUtilizationReportRequest result = new com.google.cloud.vmmigration.v1.CreateUtilizationReportRequest(this); + com.google.cloud.vmmigration.v1.CreateUtilizationReportRequest result = + new com.google.cloud.vmmigration.v1.CreateUtilizationReportRequest(this); result.parent_ = parent_; if (utilizationReportBuilder_ == null) { result.utilizationReport_ = utilizationReport_; @@ -610,38 +674,39 @@ public com.google.cloud.vmmigration.v1.CreateUtilizationReportRequest buildParti 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.vmmigration.v1.CreateUtilizationReportRequest) { - return mergeFrom((com.google.cloud.vmmigration.v1.CreateUtilizationReportRequest)other); + return mergeFrom((com.google.cloud.vmmigration.v1.CreateUtilizationReportRequest) other); } else { super.mergeFrom(other); return this; @@ -649,7 +714,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.vmmigration.v1.CreateUtilizationReportRequest other) { - if (other == com.google.cloud.vmmigration.v1.CreateUtilizationReportRequest.getDefaultInstance()) return this; + if (other + == com.google.cloud.vmmigration.v1.CreateUtilizationReportRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -684,7 +751,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.vmmigration.v1.CreateUtilizationReportRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.vmmigration.v1.CreateUtilizationReportRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -696,18 +765,22 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The Utilization Report's parent.
      * 
* - * 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; @@ -716,20 +789,23 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The Utilization Report's parent.
      * 
* - * 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,54 +813,67 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The Utilization Report's parent.
      * 
* - * 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) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. The Utilization Report's parent.
      * 
* - * 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() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The Utilization Report's parent.
      * 
* - * 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) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -792,39 +881,58 @@ public Builder setParentBytes( private com.google.cloud.vmmigration.v1.UtilizationReport utilizationReport_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.vmmigration.v1.UtilizationReport, com.google.cloud.vmmigration.v1.UtilizationReport.Builder, com.google.cloud.vmmigration.v1.UtilizationReportOrBuilder> utilizationReportBuilder_; + com.google.cloud.vmmigration.v1.UtilizationReport, + com.google.cloud.vmmigration.v1.UtilizationReport.Builder, + com.google.cloud.vmmigration.v1.UtilizationReportOrBuilder> + utilizationReportBuilder_; /** + * + * *
      * Required. The report to create.
      * 
* - * .google.cloud.vmmigration.v1.UtilizationReport utilization_report = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.vmmigration.v1.UtilizationReport utilization_report = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the utilizationReport field is set. */ public boolean hasUtilizationReport() { return utilizationReportBuilder_ != null || utilizationReport_ != null; } /** + * + * *
      * Required. The report to create.
      * 
* - * .google.cloud.vmmigration.v1.UtilizationReport utilization_report = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.vmmigration.v1.UtilizationReport utilization_report = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The utilizationReport. */ public com.google.cloud.vmmigration.v1.UtilizationReport getUtilizationReport() { if (utilizationReportBuilder_ == null) { - return utilizationReport_ == null ? com.google.cloud.vmmigration.v1.UtilizationReport.getDefaultInstance() : utilizationReport_; + return utilizationReport_ == null + ? com.google.cloud.vmmigration.v1.UtilizationReport.getDefaultInstance() + : utilizationReport_; } else { return utilizationReportBuilder_.getMessage(); } } /** + * + * *
      * Required. The report to create.
      * 
* - * .google.cloud.vmmigration.v1.UtilizationReport utilization_report = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.vmmigration.v1.UtilizationReport utilization_report = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setUtilizationReport(com.google.cloud.vmmigration.v1.UtilizationReport value) { if (utilizationReportBuilder_ == null) { @@ -840,11 +948,15 @@ public Builder setUtilizationReport(com.google.cloud.vmmigration.v1.UtilizationR return this; } /** + * + * *
      * Required. The report to create.
      * 
* - * .google.cloud.vmmigration.v1.UtilizationReport utilization_report = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.vmmigration.v1.UtilizationReport utilization_report = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setUtilizationReport( com.google.cloud.vmmigration.v1.UtilizationReport.Builder builderForValue) { @@ -858,17 +970,23 @@ public Builder setUtilizationReport( return this; } /** + * + * *
      * Required. The report to create.
      * 
* - * .google.cloud.vmmigration.v1.UtilizationReport utilization_report = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.vmmigration.v1.UtilizationReport utilization_report = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeUtilizationReport(com.google.cloud.vmmigration.v1.UtilizationReport value) { if (utilizationReportBuilder_ == null) { if (utilizationReport_ != null) { utilizationReport_ = - com.google.cloud.vmmigration.v1.UtilizationReport.newBuilder(utilizationReport_).mergeFrom(value).buildPartial(); + com.google.cloud.vmmigration.v1.UtilizationReport.newBuilder(utilizationReport_) + .mergeFrom(value) + .buildPartial(); } else { utilizationReport_ = value; } @@ -880,11 +998,15 @@ public Builder mergeUtilizationReport(com.google.cloud.vmmigration.v1.Utilizatio return this; } /** + * + * *
      * Required. The report to create.
      * 
* - * .google.cloud.vmmigration.v1.UtilizationReport utilization_report = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.vmmigration.v1.UtilizationReport utilization_report = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearUtilizationReport() { if (utilizationReportBuilder_ == null) { @@ -898,48 +1020,65 @@ public Builder clearUtilizationReport() { return this; } /** + * + * *
      * Required. The report to create.
      * 
* - * .google.cloud.vmmigration.v1.UtilizationReport utilization_report = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.vmmigration.v1.UtilizationReport utilization_report = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.vmmigration.v1.UtilizationReport.Builder getUtilizationReportBuilder() { - + onChanged(); return getUtilizationReportFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The report to create.
      * 
* - * .google.cloud.vmmigration.v1.UtilizationReport utilization_report = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.vmmigration.v1.UtilizationReport utilization_report = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.vmmigration.v1.UtilizationReportOrBuilder getUtilizationReportOrBuilder() { + public com.google.cloud.vmmigration.v1.UtilizationReportOrBuilder + getUtilizationReportOrBuilder() { if (utilizationReportBuilder_ != null) { return utilizationReportBuilder_.getMessageOrBuilder(); } else { - return utilizationReport_ == null ? - com.google.cloud.vmmigration.v1.UtilizationReport.getDefaultInstance() : utilizationReport_; + return utilizationReport_ == null + ? com.google.cloud.vmmigration.v1.UtilizationReport.getDefaultInstance() + : utilizationReport_; } } /** + * + * *
      * Required. The report to create.
      * 
* - * .google.cloud.vmmigration.v1.UtilizationReport utilization_report = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.vmmigration.v1.UtilizationReport utilization_report = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.vmmigration.v1.UtilizationReport, com.google.cloud.vmmigration.v1.UtilizationReport.Builder, com.google.cloud.vmmigration.v1.UtilizationReportOrBuilder> + com.google.cloud.vmmigration.v1.UtilizationReport, + com.google.cloud.vmmigration.v1.UtilizationReport.Builder, + com.google.cloud.vmmigration.v1.UtilizationReportOrBuilder> getUtilizationReportFieldBuilder() { if (utilizationReportBuilder_ == null) { - utilizationReportBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.vmmigration.v1.UtilizationReport, com.google.cloud.vmmigration.v1.UtilizationReport.Builder, com.google.cloud.vmmigration.v1.UtilizationReportOrBuilder>( - getUtilizationReport(), - getParentForChildren(), - isClean()); + utilizationReportBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.vmmigration.v1.UtilizationReport, + com.google.cloud.vmmigration.v1.UtilizationReport.Builder, + com.google.cloud.vmmigration.v1.UtilizationReportOrBuilder>( + getUtilizationReport(), getParentForChildren(), isClean()); utilizationReport_ = null; } return utilizationReportBuilder_; @@ -947,6 +1086,8 @@ public com.google.cloud.vmmigration.v1.UtilizationReportOrBuilder getUtilization private java.lang.Object utilizationReportId_ = ""; /** + * + * *
      * Required. The ID to use for the report, which will become the final
      * component of the reports's resource name.
@@ -956,13 +1097,13 @@ public com.google.cloud.vmmigration.v1.UtilizationReportOrBuilder getUtilization
      * 
* * string utilization_report_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The utilizationReportId. */ public java.lang.String getUtilizationReportId() { java.lang.Object ref = utilizationReportId_; 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(); utilizationReportId_ = s; return s; @@ -971,6 +1112,8 @@ public java.lang.String getUtilizationReportId() { } } /** + * + * *
      * Required. The ID to use for the report, which will become the final
      * component of the reports's resource name.
@@ -980,15 +1123,14 @@ public java.lang.String getUtilizationReportId() {
      * 
* * string utilization_report_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for utilizationReportId. */ - public com.google.protobuf.ByteString - getUtilizationReportIdBytes() { + public com.google.protobuf.ByteString getUtilizationReportIdBytes() { java.lang.Object ref = utilizationReportId_; 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); utilizationReportId_ = b; return b; } else { @@ -996,6 +1138,8 @@ public java.lang.String getUtilizationReportId() { } } /** + * + * *
      * Required. The ID to use for the report, which will become the final
      * component of the reports's resource name.
@@ -1005,20 +1149,22 @@ public java.lang.String getUtilizationReportId() {
      * 
* * string utilization_report_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The utilizationReportId to set. * @return This builder for chaining. */ - public Builder setUtilizationReportId( - java.lang.String value) { + public Builder setUtilizationReportId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + utilizationReportId_ = value; onChanged(); return this; } /** + * + * *
      * Required. The ID to use for the report, which will become the final
      * component of the reports's resource name.
@@ -1028,15 +1174,18 @@ public Builder setUtilizationReportId(
      * 
* * string utilization_report_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearUtilizationReportId() { - + utilizationReportId_ = getDefaultInstance().getUtilizationReportId(); onChanged(); return this; } /** + * + * *
      * Required. The ID to use for the report, which will become the final
      * component of the reports's resource name.
@@ -1046,16 +1195,16 @@ public Builder clearUtilizationReportId() {
      * 
* * string utilization_report_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for utilizationReportId to set. * @return This builder for chaining. */ - public Builder setUtilizationReportIdBytes( - com.google.protobuf.ByteString value) { + public Builder setUtilizationReportIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + utilizationReportId_ = value; onChanged(); return this; @@ -1063,6 +1212,8 @@ public Builder setUtilizationReportIdBytes( private java.lang.Object requestId_ = ""; /** + * + * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1078,13 +1229,13 @@ public Builder setUtilizationReportIdBytes(
      * 
* * string request_id = 4; + * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; 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(); requestId_ = s; return s; @@ -1093,6 +1244,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1108,15 +1261,14 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 4; + * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; 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); requestId_ = b; return b; } else { @@ -1124,6 +1276,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1139,20 +1293,22 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 4; + * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId( - java.lang.String value) { + public Builder setRequestId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + requestId_ = value; onChanged(); return this; } /** + * + * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1168,15 +1324,18 @@ public Builder setRequestId(
      * 
* * string request_id = 4; + * * @return This builder for chaining. */ public Builder clearRequestId() { - + requestId_ = getDefaultInstance().getRequestId(); onChanged(); return this; } /** + * + * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1192,23 +1351,23 @@ public Builder clearRequestId() {
      * 
* * string request_id = 4; + * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes( - com.google.protobuf.ByteString value) { + public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + requestId_ = 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); } @@ -1218,30 +1377,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.vmmigration.v1.CreateUtilizationReportRequest) } // @@protoc_insertion_point(class_scope:google.cloud.vmmigration.v1.CreateUtilizationReportRequest) - private static final com.google.cloud.vmmigration.v1.CreateUtilizationReportRequest DEFAULT_INSTANCE; + private static final com.google.cloud.vmmigration.v1.CreateUtilizationReportRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.vmmigration.v1.CreateUtilizationReportRequest(); } - public static com.google.cloud.vmmigration.v1.CreateUtilizationReportRequest getDefaultInstance() { + public static com.google.cloud.vmmigration.v1.CreateUtilizationReportRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateUtilizationReportRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateUtilizationReportRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateUtilizationReportRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CreateUtilizationReportRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1253,9 +1414,8 @@ public com.google.protobuf.Parser getParserForTy } @java.lang.Override - public com.google.cloud.vmmigration.v1.CreateUtilizationReportRequest getDefaultInstanceForType() { + public com.google.cloud.vmmigration.v1.CreateUtilizationReportRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CreateUtilizationReportRequestOrBuilder.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CreateUtilizationReportRequestOrBuilder.java similarity index 70% rename from owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CreateUtilizationReportRequestOrBuilder.java rename to proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CreateUtilizationReportRequestOrBuilder.java index b9e6aaf..7a40c2e 100644 --- a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CreateUtilizationReportRequestOrBuilder.java +++ b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CreateUtilizationReportRequestOrBuilder.java @@ -1,60 +1,101 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; -public interface CreateUtilizationReportRequestOrBuilder extends +public interface CreateUtilizationReportRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.CreateUtilizationReportRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The Utilization Report's parent.
    * 
* - * 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 Utilization Report's parent.
    * 
* - * 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. The report to create.
    * 
* - * .google.cloud.vmmigration.v1.UtilizationReport utilization_report = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.vmmigration.v1.UtilizationReport utilization_report = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the utilizationReport field is set. */ boolean hasUtilizationReport(); /** + * + * *
    * Required. The report to create.
    * 
* - * .google.cloud.vmmigration.v1.UtilizationReport utilization_report = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.vmmigration.v1.UtilizationReport utilization_report = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The utilizationReport. */ com.google.cloud.vmmigration.v1.UtilizationReport getUtilizationReport(); /** + * + * *
    * Required. The report to create.
    * 
* - * .google.cloud.vmmigration.v1.UtilizationReport utilization_report = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.vmmigration.v1.UtilizationReport utilization_report = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.vmmigration.v1.UtilizationReportOrBuilder getUtilizationReportOrBuilder(); /** + * + * *
    * Required. The ID to use for the report, which will become the final
    * component of the reports's resource name.
@@ -64,10 +105,13 @@ public interface CreateUtilizationReportRequestOrBuilder extends
    * 
* * string utilization_report_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The utilizationReportId. */ java.lang.String getUtilizationReportId(); /** + * + * *
    * Required. The ID to use for the report, which will become the final
    * component of the reports's resource name.
@@ -77,12 +121,14 @@ public interface CreateUtilizationReportRequestOrBuilder extends
    * 
* * string utilization_report_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for utilizationReportId. */ - com.google.protobuf.ByteString - getUtilizationReportIdBytes(); + com.google.protobuf.ByteString getUtilizationReportIdBytes(); /** + * + * *
    * A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -98,10 +144,13 @@ public interface CreateUtilizationReportRequestOrBuilder extends
    * 
* * string request_id = 4; + * * @return The requestId. */ java.lang.String getRequestId(); /** + * + * *
    * A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -117,8 +166,8 @@ public interface CreateUtilizationReportRequestOrBuilder extends
    * 
* * string request_id = 4; + * * @return The bytes for requestId. */ - com.google.protobuf.ByteString - getRequestIdBytes(); + com.google.protobuf.ByteString getRequestIdBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CutoverJob.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CutoverJob.java similarity index 69% rename from owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CutoverJob.java rename to proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CutoverJob.java index 00c7fce..7d51579 100644 --- a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CutoverJob.java +++ b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CutoverJob.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; /** + * + * *
  * CutoverJob message describes a cutover of a migrating VM. The CutoverJob is
  * the operation of shutting down the VM, creating a snapshot and
@@ -12,15 +29,16 @@
  *
  * Protobuf type {@code google.cloud.vmmigration.v1.CutoverJob}
  */
-public final class CutoverJob extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class CutoverJob extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.vmmigration.v1.CutoverJob)
     CutoverJobOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use CutoverJob.newBuilder() to construct.
   private CutoverJob(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private CutoverJob() {
     name_ = "";
     state_ = 0;
@@ -29,16 +47,15 @@ private CutoverJob() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new CutoverJob();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private CutoverJob(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -57,102 +74,118 @@ private CutoverJob(
           case 0:
             done = true;
             break;
-          case 10: {
-            com.google.protobuf.Timestamp.Builder subBuilder = null;
-            if (createTime_ != null) {
-              subBuilder = createTime_.toBuilder();
-            }
-            createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(createTime_);
-              createTime_ = subBuilder.buildPartial();
+          case 10:
+            {
+              com.google.protobuf.Timestamp.Builder subBuilder = null;
+              if (createTime_ != null) {
+                subBuilder = createTime_.toBuilder();
+              }
+              createTime_ =
+                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(createTime_);
+                createTime_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
+          case 26:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            break;
-          }
-          case 26: {
-            java.lang.String s = input.readStringRequireUtf8();
-
-            name_ = s;
-            break;
-          }
-          case 40: {
-            int rawValue = input.readEnum();
-
-            state_ = rawValue;
-            break;
-          }
-          case 50: {
-            com.google.protobuf.Timestamp.Builder subBuilder = null;
-            if (stateTime_ != null) {
-              subBuilder = stateTime_.toBuilder();
-            }
-            stateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(stateTime_);
-              stateTime_ = subBuilder.buildPartial();
+              name_ = s;
+              break;
             }
+          case 40:
+            {
+              int rawValue = input.readEnum();
 
-            break;
-          }
-          case 74: {
-            com.google.rpc.Status.Builder subBuilder = null;
-            if (error_ != null) {
-              subBuilder = error_.toBuilder();
+              state_ = rawValue;
+              break;
             }
-            error_ = input.readMessage(com.google.rpc.Status.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(error_);
-              error_ = subBuilder.buildPartial();
+          case 50:
+            {
+              com.google.protobuf.Timestamp.Builder subBuilder = null;
+              if (stateTime_ != null) {
+                subBuilder = stateTime_.toBuilder();
+              }
+              stateTime_ =
+                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(stateTime_);
+                stateTime_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
+          case 74:
+            {
+              com.google.rpc.Status.Builder subBuilder = null;
+              if (error_ != null) {
+                subBuilder = error_.toBuilder();
+              }
+              error_ = input.readMessage(com.google.rpc.Status.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(error_);
+                error_ = subBuilder.buildPartial();
+              }
+
+              break;
+            }
+          case 82:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            break;
-          }
-          case 82: {
-            java.lang.String s = input.readStringRequireUtf8();
-
-            stateMessage_ = s;
-            break;
-          }
-          case 104: {
-
-            progressPercent_ = input.readInt32();
-            break;
-          }
-          case 114: {
-            com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails.Builder subBuilder = null;
-            if (targetVmDetailsCase_ == 14) {
-              subBuilder = ((com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails) targetVmDetails_).toBuilder();
+              stateMessage_ = s;
+              break;
             }
-            targetVmDetails_ =
-                input.readMessage(com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom((com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails) targetVmDetails_);
-              targetVmDetails_ = subBuilder.buildPartial();
+          case 104:
+            {
+              progressPercent_ = input.readInt32();
+              break;
             }
-            targetVmDetailsCase_ = 14;
-            break;
-          }
-          case 130: {
-            com.google.protobuf.Timestamp.Builder subBuilder = null;
-            if (endTime_ != null) {
-              subBuilder = endTime_.toBuilder();
+          case 114:
+            {
+              com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails.Builder subBuilder = null;
+              if (targetVmDetailsCase_ == 14) {
+                subBuilder =
+                    ((com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails) targetVmDetails_)
+                        .toBuilder();
+              }
+              targetVmDetails_ =
+                  input.readMessage(
+                      com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails.parser(),
+                      extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(
+                    (com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails) targetVmDetails_);
+                targetVmDetails_ = subBuilder.buildPartial();
+              }
+              targetVmDetailsCase_ = 14;
+              break;
             }
-            endTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(endTime_);
-              endTime_ = subBuilder.buildPartial();
+          case 130:
+            {
+              com.google.protobuf.Timestamp.Builder subBuilder = null;
+              if (endTime_ != null) {
+                subBuilder = endTime_.toBuilder();
+              }
+              endTime_ =
+                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(endTime_);
+                endTime_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -160,36 +193,41 @@ private CutoverJob(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_CutoverJob_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.vmmigration.v1.VmMigrationProto
+        .internal_static_google_cloud_vmmigration_v1_CutoverJob_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_CutoverJob_fieldAccessorTable
+    return com.google.cloud.vmmigration.v1.VmMigrationProto
+        .internal_static_google_cloud_vmmigration_v1_CutoverJob_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.vmmigration.v1.CutoverJob.class, com.google.cloud.vmmigration.v1.CutoverJob.Builder.class);
+            com.google.cloud.vmmigration.v1.CutoverJob.class,
+            com.google.cloud.vmmigration.v1.CutoverJob.Builder.class);
   }
 
   /**
+   *
+   *
    * 
    * Possible states of the cutover job.
    * 
* * Protobuf enum {@code google.cloud.vmmigration.v1.CutoverJob.State} */ - public enum State - implements com.google.protobuf.ProtocolMessageEnum { + public enum State implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * The state is unknown. This is used for API compatibility only and is not
      * used by the system.
@@ -199,6 +237,8 @@ public enum State
      */
     STATE_UNSPECIFIED(0),
     /**
+     *
+     *
      * 
      * The cutover job has not yet started.
      * 
@@ -207,6 +247,8 @@ public enum State */ PENDING(1), /** + * + * *
      * The cutover job finished with errors.
      * 
@@ -215,6 +257,8 @@ public enum State */ FAILED(2), /** + * + * *
      * The cutover job finished successfully.
      * 
@@ -223,6 +267,8 @@ public enum State */ SUCCEEDED(3), /** + * + * *
      * The cutover job was cancelled.
      * 
@@ -231,6 +277,8 @@ public enum State */ CANCELLED(4), /** + * + * *
      * The cutover job is being cancelled.
      * 
@@ -239,6 +287,8 @@ public enum State */ CANCELLING(5), /** + * + * *
      * The cutover job is active and running.
      * 
@@ -247,6 +297,8 @@ public enum State */ ACTIVE(6), /** + * + * *
      * OS adaptation is running as part of the cutover job to generate license.
      * 
@@ -258,6 +310,8 @@ public enum State ; /** + * + * *
      * The state is unknown. This is used for API compatibility only and is not
      * used by the system.
@@ -267,6 +321,8 @@ public enum State
      */
     public static final int STATE_UNSPECIFIED_VALUE = 0;
     /**
+     *
+     *
      * 
      * The cutover job has not yet started.
      * 
@@ -275,6 +331,8 @@ public enum State */ public static final int PENDING_VALUE = 1; /** + * + * *
      * The cutover job finished with errors.
      * 
@@ -283,6 +341,8 @@ public enum State */ public static final int FAILED_VALUE = 2; /** + * + * *
      * The cutover job finished successfully.
      * 
@@ -291,6 +351,8 @@ public enum State */ public static final int SUCCEEDED_VALUE = 3; /** + * + * *
      * The cutover job was cancelled.
      * 
@@ -299,6 +361,8 @@ public enum State */ public static final int CANCELLED_VALUE = 4; /** + * + * *
      * The cutover job is being cancelled.
      * 
@@ -307,6 +371,8 @@ public enum State */ public static final int CANCELLING_VALUE = 5; /** + * + * *
      * The cutover job is active and running.
      * 
@@ -315,6 +381,8 @@ public enum State */ public static final int ACTIVE_VALUE = 6; /** + * + * *
      * OS adaptation is running as part of the cutover job to generate license.
      * 
@@ -323,7 +391,6 @@ public enum State */ public static final int ADAPTING_OS_VALUE = 7; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -348,54 +415,59 @@ public static State valueOf(int value) { */ public static State forNumber(int value) { switch (value) { - case 0: return STATE_UNSPECIFIED; - case 1: return PENDING; - case 2: return FAILED; - case 3: return SUCCEEDED; - case 4: return CANCELLED; - case 5: return CANCELLING; - case 6: return ACTIVE; - case 7: return ADAPTING_OS; - default: return null; - } - } - - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + case 0: + return STATE_UNSPECIFIED; + case 1: + return PENDING; + case 2: + return FAILED; + case 3: + return SUCCEEDED; + case 4: + return CANCELLED; + case 5: + return CANCELLING; + case 6: + return ACTIVE; + case 7: + return ADAPTING_OS; + default: + return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - State> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public State findValueByNumber(int number) { - return State.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 State findValueByNumber(int number) { + return State.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() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.cloud.vmmigration.v1.CutoverJob.getDescriptor().getEnumTypes().get(0); } private static final State[] VALUES = values(); - public static State valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static State 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; @@ -414,12 +486,15 @@ private State(int value) { private int targetVmDetailsCase_ = 0; private java.lang.Object targetVmDetails_; + public enum TargetVmDetailsCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { COMPUTE_ENGINE_TARGET_DETAILS(14), TARGETVMDETAILS_NOT_SET(0); private final int value; + private TargetVmDetailsCase(int value) { this.value = value; } @@ -435,29 +510,36 @@ public static TargetVmDetailsCase valueOf(int value) { public static TargetVmDetailsCase forNumber(int value) { switch (value) { - case 14: return COMPUTE_ENGINE_TARGET_DETAILS; - case 0: return TARGETVMDETAILS_NOT_SET; - default: return null; + case 14: + return COMPUTE_ENGINE_TARGET_DETAILS; + case 0: + return TARGETVMDETAILS_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public TargetVmDetailsCase - getTargetVmDetailsCase() { - return TargetVmDetailsCase.forNumber( - targetVmDetailsCase_); + public TargetVmDetailsCase getTargetVmDetailsCase() { + return TargetVmDetailsCase.forNumber(targetVmDetailsCase_); } public static final int COMPUTE_ENGINE_TARGET_DETAILS_FIELD_NUMBER = 14; /** + * + * *
    * Output only. Details of the target VM in Compute Engine.
    * 
* - * .google.cloud.vmmigration.v1.ComputeEngineTargetDetails compute_engine_target_details = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.vmmigration.v1.ComputeEngineTargetDetails compute_engine_target_details = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the computeEngineTargetDetails field is set. */ @java.lang.Override @@ -465,31 +547,42 @@ public boolean hasComputeEngineTargetDetails() { return targetVmDetailsCase_ == 14; } /** + * + * *
    * Output only. Details of the target VM in Compute Engine.
    * 
* - * .google.cloud.vmmigration.v1.ComputeEngineTargetDetails compute_engine_target_details = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.vmmigration.v1.ComputeEngineTargetDetails compute_engine_target_details = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The computeEngineTargetDetails. */ @java.lang.Override - public com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails getComputeEngineTargetDetails() { + public com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails + getComputeEngineTargetDetails() { if (targetVmDetailsCase_ == 14) { - return (com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails) targetVmDetails_; + return (com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails) targetVmDetails_; } return com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails.getDefaultInstance(); } /** + * + * *
    * Output only. Details of the target VM in Compute Engine.
    * 
* - * .google.cloud.vmmigration.v1.ComputeEngineTargetDetails compute_engine_target_details = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.vmmigration.v1.ComputeEngineTargetDetails compute_engine_target_details = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public com.google.cloud.vmmigration.v1.ComputeEngineTargetDetailsOrBuilder getComputeEngineTargetDetailsOrBuilder() { + public com.google.cloud.vmmigration.v1.ComputeEngineTargetDetailsOrBuilder + getComputeEngineTargetDetailsOrBuilder() { if (targetVmDetailsCase_ == 14) { - return (com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails) targetVmDetails_; + return (com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails) targetVmDetails_; } return com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails.getDefaultInstance(); } @@ -497,12 +590,16 @@ public com.google.cloud.vmmigration.v1.ComputeEngineTargetDetailsOrBuilder getCo public static final int CREATE_TIME_FIELD_NUMBER = 1; private com.google.protobuf.Timestamp createTime_; /** + * + * *
    * Output only. The time the cutover job was created (as an API call, not when
    * it was actually created in the target).
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ @java.lang.Override @@ -510,12 +607,16 @@ public boolean hasCreateTime() { return createTime_ != null; } /** + * + * *
    * Output only. The time the cutover job was created (as an API call, not when
    * it was actually created in the target).
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ @java.lang.Override @@ -523,12 +624,15 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
    * Output only. The time the cutover job was created (as an API call, not when
    * it was actually created in the target).
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -538,11 +642,15 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int END_TIME_FIELD_NUMBER = 16; private com.google.protobuf.Timestamp endTime_; /** + * + * *
    * Output only. The time the cutover job had finished.
    * 
* - * .google.protobuf.Timestamp end_time = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the endTime field is set. */ @java.lang.Override @@ -550,11 +658,15 @@ public boolean hasEndTime() { return endTime_ != null; } /** + * + * *
    * Output only. The time the cutover job had finished.
    * 
* - * .google.protobuf.Timestamp end_time = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The endTime. */ @java.lang.Override @@ -562,11 +674,14 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** + * + * *
    * Output only. The time the cutover job had finished.
    * 
* - * .google.protobuf.Timestamp end_time = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { @@ -576,11 +691,14 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { public static final int NAME_FIELD_NUMBER = 3; private volatile java.lang.Object name_; /** + * + * *
    * Output only. The name of the cutover job.
    * 
* * string name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ @java.lang.Override @@ -589,29 +707,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. The name of the cutover job.
    * 
* * string name = 3 [(.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 { @@ -622,38 +740,55 @@ public java.lang.String getName() { public static final int STATE_FIELD_NUMBER = 5; private int state_; /** + * + * *
    * Output only. State of the cutover job.
    * 
* - * .google.cloud.vmmigration.v1.CutoverJob.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.vmmigration.v1.CutoverJob.State state = 5 [(.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 cutover job.
    * 
* - * .google.cloud.vmmigration.v1.CutoverJob.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.vmmigration.v1.CutoverJob.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ - @java.lang.Override public com.google.cloud.vmmigration.v1.CutoverJob.State getState() { + @java.lang.Override + public com.google.cloud.vmmigration.v1.CutoverJob.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.vmmigration.v1.CutoverJob.State result = com.google.cloud.vmmigration.v1.CutoverJob.State.valueOf(state_); + com.google.cloud.vmmigration.v1.CutoverJob.State result = + com.google.cloud.vmmigration.v1.CutoverJob.State.valueOf(state_); return result == null ? com.google.cloud.vmmigration.v1.CutoverJob.State.UNRECOGNIZED : result; } public static final int STATE_TIME_FIELD_NUMBER = 6; private com.google.protobuf.Timestamp stateTime_; /** + * + * *
    * Output only. The time the state was last updated.
    * 
* - * .google.protobuf.Timestamp state_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp state_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the stateTime field is set. */ @java.lang.Override @@ -661,11 +796,15 @@ public boolean hasStateTime() { return stateTime_ != null; } /** + * + * *
    * Output only. The time the state was last updated.
    * 
* - * .google.protobuf.Timestamp state_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp state_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The stateTime. */ @java.lang.Override @@ -673,11 +812,14 @@ public com.google.protobuf.Timestamp getStateTime() { return stateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : stateTime_; } /** + * + * *
    * Output only. The time the state was last updated.
    * 
* - * .google.protobuf.Timestamp state_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp state_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getStateTimeOrBuilder() { @@ -687,11 +829,14 @@ public com.google.protobuf.TimestampOrBuilder getStateTimeOrBuilder() { public static final int PROGRESS_PERCENT_FIELD_NUMBER = 13; private int progressPercent_; /** + * + * *
    * Output only. The current progress in percentage of the cutover job.
    * 
* * int32 progress_percent = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The progressPercent. */ @java.lang.Override @@ -702,12 +847,15 @@ public int getProgressPercent() { public static final int ERROR_FIELD_NUMBER = 9; private com.google.rpc.Status error_; /** + * + * *
    * Output only. Provides details for the errors that led to the Cutover Job's
    * state.
    * 
* * .google.rpc.Status error = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return Whether the error field is set. */ @java.lang.Override @@ -715,12 +863,15 @@ public boolean hasError() { return error_ != null; } /** + * + * *
    * Output only. Provides details for the errors that led to the Cutover Job's
    * state.
    * 
* * .google.rpc.Status error = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The error. */ @java.lang.Override @@ -728,6 +879,8 @@ public com.google.rpc.Status getError() { return error_ == null ? com.google.rpc.Status.getDefaultInstance() : error_; } /** + * + * *
    * Output only. Provides details for the errors that led to the Cutover Job's
    * state.
@@ -743,12 +896,15 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() {
   public static final int STATE_MESSAGE_FIELD_NUMBER = 10;
   private volatile java.lang.Object stateMessage_;
   /**
+   *
+   *
    * 
    * Output only. A message providing possible extra details about the current
    * state.
    * 
* * string state_message = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The stateMessage. */ @java.lang.Override @@ -757,30 +913,30 @@ public java.lang.String getStateMessage() { 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(); stateMessage_ = s; return s; } } /** + * + * *
    * Output only. A message providing possible extra details about the current
    * state.
    * 
* * string state_message = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for stateMessage. */ @java.lang.Override - public com.google.protobuf.ByteString - getStateMessageBytes() { + public com.google.protobuf.ByteString getStateMessageBytes() { java.lang.Object ref = stateMessage_; 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); stateMessage_ = b; return b; } else { @@ -789,6 +945,7 @@ public java.lang.String getStateMessage() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -800,8 +957,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 (createTime_ != null) { output.writeMessage(1, getCreateTime()); } @@ -824,7 +980,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) output.writeInt32(13, progressPercent_); } if (targetVmDetailsCase_ == 14) { - output.writeMessage(14, (com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails) targetVmDetails_); + output.writeMessage( + 14, (com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails) targetVmDetails_); } if (endTime_ != null) { output.writeMessage(16, getEndTime()); @@ -839,38 +996,33 @@ public int getSerializedSize() { size = 0; if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getCreateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getCreateTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, name_); } if (state_ != com.google.cloud.vmmigration.v1.CutoverJob.State.STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(5, state_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(5, state_); } if (stateTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, getStateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getStateTime()); } if (error_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(9, getError()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, getError()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(stateMessage_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, stateMessage_); } if (progressPercent_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(13, progressPercent_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(13, progressPercent_); } if (targetVmDetailsCase_ == 14) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(14, (com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails) targetVmDetails_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 14, (com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails) targetVmDetails_); } if (endTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(16, getEndTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(16, getEndTime()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -880,45 +1032,39 @@ 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.vmmigration.v1.CutoverJob)) { return super.equals(obj); } - com.google.cloud.vmmigration.v1.CutoverJob other = (com.google.cloud.vmmigration.v1.CutoverJob) obj; + com.google.cloud.vmmigration.v1.CutoverJob other = + (com.google.cloud.vmmigration.v1.CutoverJob) obj; if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime() - .equals(other.getCreateTime())) return false; + if (!getCreateTime().equals(other.getCreateTime())) 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 (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (state_ != other.state_) return false; if (hasStateTime() != other.hasStateTime()) return false; if (hasStateTime()) { - if (!getStateTime() - .equals(other.getStateTime())) return false; + if (!getStateTime().equals(other.getStateTime())) return false; } - if (getProgressPercent() - != other.getProgressPercent()) return false; + if (getProgressPercent() != other.getProgressPercent()) return false; if (hasError() != other.hasError()) return false; if (hasError()) { - if (!getError() - .equals(other.getError())) return false; + if (!getError().equals(other.getError())) return false; } - if (!getStateMessage() - .equals(other.getStateMessage())) return false; + if (!getStateMessage().equals(other.getStateMessage())) return false; if (!getTargetVmDetailsCase().equals(other.getTargetVmDetailsCase())) return false; switch (targetVmDetailsCase_) { case 14: - if (!getComputeEngineTargetDetails() - .equals(other.getComputeEngineTargetDetails())) return false; + if (!getComputeEngineTargetDetails().equals(other.getComputeEngineTargetDetails())) + return false; break; case 0: default: @@ -971,97 +1117,104 @@ public int hashCode() { return hash; } - public static com.google.cloud.vmmigration.v1.CutoverJob parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.vmmigration.v1.CutoverJob parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.vmmigration.v1.CutoverJob 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.vmmigration.v1.CutoverJob parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.vmmigration.v1.CutoverJob 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.vmmigration.v1.CutoverJob parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.vmmigration.v1.CutoverJob 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.vmmigration.v1.CutoverJob parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.vmmigration.v1.CutoverJob 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.vmmigration.v1.CutoverJob parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.vmmigration.v1.CutoverJob parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.vmmigration.v1.CutoverJob 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.vmmigration.v1.CutoverJob 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.vmmigration.v1.CutoverJob 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.vmmigration.v1.CutoverJob 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; } /** + * + * *
    * CutoverJob message describes a cutover of a migrating VM. The CutoverJob is
    * the operation of shutting down the VM, creating a snapshot and
@@ -1070,21 +1223,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.vmmigration.v1.CutoverJob}
    */
-  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.vmmigration.v1.CutoverJob)
       com.google.cloud.vmmigration.v1.CutoverJobOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_CutoverJob_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.vmmigration.v1.VmMigrationProto
+          .internal_static_google_cloud_vmmigration_v1_CutoverJob_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_CutoverJob_fieldAccessorTable
+      return com.google.cloud.vmmigration.v1.VmMigrationProto
+          .internal_static_google_cloud_vmmigration_v1_CutoverJob_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.vmmigration.v1.CutoverJob.class, com.google.cloud.vmmigration.v1.CutoverJob.Builder.class);
+              com.google.cloud.vmmigration.v1.CutoverJob.class,
+              com.google.cloud.vmmigration.v1.CutoverJob.Builder.class);
     }
 
     // Construct using com.google.cloud.vmmigration.v1.CutoverJob.newBuilder()
@@ -1092,16 +1247,15 @@ 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) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1143,9 +1297,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_CutoverJob_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.vmmigration.v1.VmMigrationProto
+          .internal_static_google_cloud_vmmigration_v1_CutoverJob_descriptor;
     }
 
     @java.lang.Override
@@ -1164,7 +1318,8 @@ public com.google.cloud.vmmigration.v1.CutoverJob build() {
 
     @java.lang.Override
     public com.google.cloud.vmmigration.v1.CutoverJob buildPartial() {
-      com.google.cloud.vmmigration.v1.CutoverJob result = new com.google.cloud.vmmigration.v1.CutoverJob(this);
+      com.google.cloud.vmmigration.v1.CutoverJob result =
+          new com.google.cloud.vmmigration.v1.CutoverJob(this);
       if (targetVmDetailsCase_ == 14) {
         if (computeEngineTargetDetailsBuilder_ == null) {
           result.targetVmDetails_ = targetVmDetails_;
@@ -1205,38 +1360,39 @@ public com.google.cloud.vmmigration.v1.CutoverJob buildPartial() {
     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.vmmigration.v1.CutoverJob) {
-        return mergeFrom((com.google.cloud.vmmigration.v1.CutoverJob)other);
+        return mergeFrom((com.google.cloud.vmmigration.v1.CutoverJob) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1272,13 +1428,15 @@ public Builder mergeFrom(com.google.cloud.vmmigration.v1.CutoverJob other) {
         onChanged();
       }
       switch (other.getTargetVmDetailsCase()) {
-        case COMPUTE_ENGINE_TARGET_DETAILS: {
-          mergeComputeEngineTargetDetails(other.getComputeEngineTargetDetails());
-          break;
-        }
-        case TARGETVMDETAILS_NOT_SET: {
-          break;
-        }
+        case COMPUTE_ENGINE_TARGET_DETAILS:
+          {
+            mergeComputeEngineTargetDetails(other.getComputeEngineTargetDetails());
+            break;
+          }
+        case TARGETVMDETAILS_NOT_SET:
+          {
+            break;
+          }
       }
       this.mergeUnknownFields(other.unknownFields);
       onChanged();
@@ -1308,12 +1466,12 @@ public Builder mergeFrom(
       }
       return this;
     }
+
     private int targetVmDetailsCase_ = 0;
     private java.lang.Object targetVmDetails_;
-    public TargetVmDetailsCase
-        getTargetVmDetailsCase() {
-      return TargetVmDetailsCase.forNumber(
-          targetVmDetailsCase_);
+
+    public TargetVmDetailsCase getTargetVmDetailsCase() {
+      return TargetVmDetailsCase.forNumber(targetVmDetailsCase_);
     }
 
     public Builder clearTargetVmDetails() {
@@ -1323,15 +1481,22 @@ public Builder clearTargetVmDetails() {
       return this;
     }
 
-
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails, com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails.Builder, com.google.cloud.vmmigration.v1.ComputeEngineTargetDetailsOrBuilder> computeEngineTargetDetailsBuilder_;
+            com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails,
+            com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails.Builder,
+            com.google.cloud.vmmigration.v1.ComputeEngineTargetDetailsOrBuilder>
+        computeEngineTargetDetailsBuilder_;
     /**
+     *
+     *
      * 
      * Output only. Details of the target VM in Compute Engine.
      * 
* - * .google.cloud.vmmigration.v1.ComputeEngineTargetDetails compute_engine_target_details = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.vmmigration.v1.ComputeEngineTargetDetails compute_engine_target_details = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the computeEngineTargetDetails field is set. */ @java.lang.Override @@ -1339,15 +1504,21 @@ public boolean hasComputeEngineTargetDetails() { return targetVmDetailsCase_ == 14; } /** + * + * *
      * Output only. Details of the target VM in Compute Engine.
      * 
* - * .google.cloud.vmmigration.v1.ComputeEngineTargetDetails compute_engine_target_details = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.vmmigration.v1.ComputeEngineTargetDetails compute_engine_target_details = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The computeEngineTargetDetails. */ @java.lang.Override - public com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails getComputeEngineTargetDetails() { + public com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails + getComputeEngineTargetDetails() { if (computeEngineTargetDetailsBuilder_ == null) { if (targetVmDetailsCase_ == 14) { return (com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails) targetVmDetails_; @@ -1361,13 +1532,18 @@ public com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails getComputeEngi } } /** + * + * *
      * Output only. Details of the target VM in Compute Engine.
      * 
* - * .google.cloud.vmmigration.v1.ComputeEngineTargetDetails compute_engine_target_details = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.vmmigration.v1.ComputeEngineTargetDetails compute_engine_target_details = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setComputeEngineTargetDetails(com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails value) { + public Builder setComputeEngineTargetDetails( + com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails value) { if (computeEngineTargetDetailsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1381,11 +1557,15 @@ public Builder setComputeEngineTargetDetails(com.google.cloud.vmmigration.v1.Com return this; } /** + * + * *
      * Output only. Details of the target VM in Compute Engine.
      * 
* - * .google.cloud.vmmigration.v1.ComputeEngineTargetDetails compute_engine_target_details = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.vmmigration.v1.ComputeEngineTargetDetails compute_engine_target_details = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setComputeEngineTargetDetails( com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails.Builder builderForValue) { @@ -1399,18 +1579,28 @@ public Builder setComputeEngineTargetDetails( return this; } /** + * + * *
      * Output only. Details of the target VM in Compute Engine.
      * 
* - * .google.cloud.vmmigration.v1.ComputeEngineTargetDetails compute_engine_target_details = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.vmmigration.v1.ComputeEngineTargetDetails compute_engine_target_details = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder mergeComputeEngineTargetDetails(com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails value) { + public Builder mergeComputeEngineTargetDetails( + com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails value) { if (computeEngineTargetDetailsBuilder_ == null) { - if (targetVmDetailsCase_ == 14 && - targetVmDetails_ != com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails.getDefaultInstance()) { - targetVmDetails_ = com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails.newBuilder((com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails) targetVmDetails_) - .mergeFrom(value).buildPartial(); + if (targetVmDetailsCase_ == 14 + && targetVmDetails_ + != com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails + .getDefaultInstance()) { + targetVmDetails_ = + com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails.newBuilder( + (com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails) targetVmDetails_) + .mergeFrom(value) + .buildPartial(); } else { targetVmDetails_ = value; } @@ -1426,11 +1616,15 @@ public Builder mergeComputeEngineTargetDetails(com.google.cloud.vmmigration.v1.C return this; } /** + * + * *
      * Output only. Details of the target VM in Compute Engine.
      * 
* - * .google.cloud.vmmigration.v1.ComputeEngineTargetDetails compute_engine_target_details = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.vmmigration.v1.ComputeEngineTargetDetails compute_engine_target_details = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearComputeEngineTargetDetails() { if (computeEngineTargetDetailsBuilder_ == null) { @@ -1449,24 +1643,34 @@ public Builder clearComputeEngineTargetDetails() { return this; } /** + * + * *
      * Output only. Details of the target VM in Compute Engine.
      * 
* - * .google.cloud.vmmigration.v1.ComputeEngineTargetDetails compute_engine_target_details = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.vmmigration.v1.ComputeEngineTargetDetails compute_engine_target_details = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails.Builder getComputeEngineTargetDetailsBuilder() { + public com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails.Builder + getComputeEngineTargetDetailsBuilder() { return getComputeEngineTargetDetailsFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Details of the target VM in Compute Engine.
      * 
* - * .google.cloud.vmmigration.v1.ComputeEngineTargetDetails compute_engine_target_details = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.vmmigration.v1.ComputeEngineTargetDetails compute_engine_target_details = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public com.google.cloud.vmmigration.v1.ComputeEngineTargetDetailsOrBuilder getComputeEngineTargetDetailsOrBuilder() { + public com.google.cloud.vmmigration.v1.ComputeEngineTargetDetailsOrBuilder + getComputeEngineTargetDetailsOrBuilder() { if ((targetVmDetailsCase_ == 14) && (computeEngineTargetDetailsBuilder_ != null)) { return computeEngineTargetDetailsBuilder_.getMessageOrBuilder(); } else { @@ -1477,69 +1681,99 @@ public com.google.cloud.vmmigration.v1.ComputeEngineTargetDetailsOrBuilder getCo } } /** + * + * *
      * Output only. Details of the target VM in Compute Engine.
      * 
* - * .google.cloud.vmmigration.v1.ComputeEngineTargetDetails compute_engine_target_details = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.vmmigration.v1.ComputeEngineTargetDetails compute_engine_target_details = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails, com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails.Builder, com.google.cloud.vmmigration.v1.ComputeEngineTargetDetailsOrBuilder> + com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails, + com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails.Builder, + com.google.cloud.vmmigration.v1.ComputeEngineTargetDetailsOrBuilder> getComputeEngineTargetDetailsFieldBuilder() { if (computeEngineTargetDetailsBuilder_ == null) { if (!(targetVmDetailsCase_ == 14)) { - targetVmDetails_ = com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails.getDefaultInstance(); + targetVmDetails_ = + com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails.getDefaultInstance(); } - computeEngineTargetDetailsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails, com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails.Builder, com.google.cloud.vmmigration.v1.ComputeEngineTargetDetailsOrBuilder>( + computeEngineTargetDetailsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails, + com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails.Builder, + com.google.cloud.vmmigration.v1.ComputeEngineTargetDetailsOrBuilder>( (com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails) targetVmDetails_, getParentForChildren(), isClean()); targetVmDetails_ = null; } targetVmDetailsCase_ = 14; - onChanged();; + onChanged(); + ; return computeEngineTargetDetailsBuilder_; } private com.google.protobuf.Timestamp createTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + createTimeBuilder_; /** + * + * *
      * Output only. The time the cutover job was created (as an API call, not when
      * it was actually created in the target).
      * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** + * + * *
      * Output only. The time the cutover job was created (as an API call, not when
      * it was actually created in the target).
      * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. The time the cutover job was created (as an API call, not when
      * it was actually created in the target).
      * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -1555,15 +1789,18 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time the cutover job was created (as an API call, not when
      * it was actually created in the target).
      * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setCreateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); onChanged(); @@ -1574,18 +1811,22 @@ public Builder setCreateTime( return this; } /** + * + * *
      * Output only. The time the cutover job was created (as an API call, not when
      * it was actually created in the target).
      * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { if (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -1597,12 +1838,16 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time the cutover job was created (as an API call, not when
      * it was actually created in the target).
      * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearCreateTime() { if (createTimeBuilder_ == null) { @@ -1616,51 +1861,67 @@ public Builder clearCreateTime() { return this; } /** + * + * *
      * Output only. The time the cutover job was created (as an API call, not when
      * it was actually created in the target).
      * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The time the cutover job was created (as an API call, not when
      * it was actually created in the target).
      * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } } /** + * + * *
      * Output only. The time the cutover job was created (as an API call, not when
      * it was actually created in the target).
      * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 1 [(.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> getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { - createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getCreateTime(), - getParentForChildren(), - isClean()); + createTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), getParentForChildren(), isClean()); createTime_ = null; } return createTimeBuilder_; @@ -1668,24 +1929,35 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { 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. The time the cutover job had finished.
      * 
* - * .google.protobuf.Timestamp end_time = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the endTime field is set. */ public boolean hasEndTime() { return endTimeBuilder_ != null || endTime_ != null; } /** + * + * *
      * Output only. The time the cutover job had finished.
      * 
* - * .google.protobuf.Timestamp end_time = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { @@ -1696,11 +1968,14 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** + * + * *
      * Output only. The time the cutover job had finished.
      * 
* - * .google.protobuf.Timestamp end_time = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { @@ -1716,14 +1991,16 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time the cutover job had finished.
      * 
* - * .google.protobuf.Timestamp end_time = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 16 [(.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(); onChanged(); @@ -1734,17 +2011,20 @@ public Builder setEndTime( return this; } /** + * + * *
      * Output only. The time the cutover job had finished.
      * 
* - * .google.protobuf.Timestamp end_time = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { if (endTime_ != null) { endTime_ = - com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); } else { endTime_ = value; } @@ -1756,11 +2036,14 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time the cutover job had finished.
      * 
* - * .google.protobuf.Timestamp end_time = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearEndTime() { if (endTimeBuilder_ == null) { @@ -1774,48 +2057,59 @@ public Builder clearEndTime() { return this; } /** + * + * *
      * Output only. The time the cutover job had finished.
      * 
* - * .google.protobuf.Timestamp end_time = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { - + onChanged(); return getEndTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The time the cutover job had finished.
      * 
* - * .google.protobuf.Timestamp end_time = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 16 [(.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. The time the cutover job had finished.
      * 
* - * .google.protobuf.Timestamp end_time = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 16 [(.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_; @@ -1823,18 +2117,20 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { private java.lang.Object name_ = ""; /** + * + * *
      * Output only. The name of the cutover job.
      * 
* * string name = 3 [(.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; @@ -1843,20 +2139,21 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. The name of the cutover job.
      * 
* * string name = 3 [(.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 { @@ -1864,54 +2161,61 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. The name of the cutover job.
      * 
* * string name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Output only. The name of the cutover job.
      * 
* * string name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Output only. The name of the cutover job.
      * 
* * string name = 3 [(.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) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -1919,51 +2223,75 @@ public Builder setNameBytes( private int state_ = 0; /** + * + * *
      * Output only. State of the cutover job.
      * 
* - * .google.cloud.vmmigration.v1.CutoverJob.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.vmmigration.v1.CutoverJob.State state = 5 [(.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 cutover job.
      * 
* - * .google.cloud.vmmigration.v1.CutoverJob.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.vmmigration.v1.CutoverJob.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ public Builder setStateValue(int value) { - + state_ = value; onChanged(); return this; } /** + * + * *
      * Output only. State of the cutover job.
      * 
* - * .google.cloud.vmmigration.v1.CutoverJob.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.vmmigration.v1.CutoverJob.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ @java.lang.Override public com.google.cloud.vmmigration.v1.CutoverJob.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.vmmigration.v1.CutoverJob.State result = com.google.cloud.vmmigration.v1.CutoverJob.State.valueOf(state_); - return result == null ? com.google.cloud.vmmigration.v1.CutoverJob.State.UNRECOGNIZED : result; + com.google.cloud.vmmigration.v1.CutoverJob.State result = + com.google.cloud.vmmigration.v1.CutoverJob.State.valueOf(state_); + return result == null + ? com.google.cloud.vmmigration.v1.CutoverJob.State.UNRECOGNIZED + : result; } /** + * + * *
      * Output only. State of the cutover job.
      * 
* - * .google.cloud.vmmigration.v1.CutoverJob.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.vmmigration.v1.CutoverJob.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The state to set. * @return This builder for chaining. */ @@ -1971,21 +2299,26 @@ public Builder setState(com.google.cloud.vmmigration.v1.CutoverJob.State value) if (value == null) { throw new NullPointerException(); } - + state_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Output only. State of the cutover job.
      * 
* - * .google.cloud.vmmigration.v1.CutoverJob.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.vmmigration.v1.CutoverJob.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearState() { - + state_ = 0; onChanged(); return this; @@ -1993,24 +2326,35 @@ public Builder clearState() { private com.google.protobuf.Timestamp stateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> stateTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + stateTimeBuilder_; /** + * + * *
      * Output only. The time the state was last updated.
      * 
* - * .google.protobuf.Timestamp state_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp state_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the stateTime field is set. */ public boolean hasStateTime() { return stateTimeBuilder_ != null || stateTime_ != null; } /** + * + * *
      * Output only. The time the state was last updated.
      * 
* - * .google.protobuf.Timestamp state_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp state_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The stateTime. */ public com.google.protobuf.Timestamp getStateTime() { @@ -2021,11 +2365,14 @@ public com.google.protobuf.Timestamp getStateTime() { } } /** + * + * *
      * Output only. The time the state was last updated.
      * 
* - * .google.protobuf.Timestamp state_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp state_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setStateTime(com.google.protobuf.Timestamp value) { if (stateTimeBuilder_ == null) { @@ -2041,14 +2388,16 @@ public Builder setStateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time the state was last updated.
      * 
* - * .google.protobuf.Timestamp state_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp state_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setStateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setStateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (stateTimeBuilder_ == null) { stateTime_ = builderForValue.build(); onChanged(); @@ -2059,17 +2408,20 @@ public Builder setStateTime( return this; } /** + * + * *
      * Output only. The time the state was last updated.
      * 
* - * .google.protobuf.Timestamp state_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp state_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeStateTime(com.google.protobuf.Timestamp value) { if (stateTimeBuilder_ == null) { if (stateTime_ != null) { stateTime_ = - com.google.protobuf.Timestamp.newBuilder(stateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(stateTime_).mergeFrom(value).buildPartial(); } else { stateTime_ = value; } @@ -2081,11 +2433,14 @@ public Builder mergeStateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time the state was last updated.
      * 
* - * .google.protobuf.Timestamp state_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp state_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearStateTime() { if (stateTimeBuilder_ == null) { @@ -2099,60 +2454,74 @@ public Builder clearStateTime() { return this; } /** + * + * *
      * Output only. The time the state was last updated.
      * 
* - * .google.protobuf.Timestamp state_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp state_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getStateTimeBuilder() { - + onChanged(); return getStateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The time the state was last updated.
      * 
* - * .google.protobuf.Timestamp state_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp state_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getStateTimeOrBuilder() { if (stateTimeBuilder_ != null) { return stateTimeBuilder_.getMessageOrBuilder(); } else { - return stateTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : stateTime_; + return stateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : stateTime_; } } /** + * + * *
      * Output only. The time the state was last updated.
      * 
* - * .google.protobuf.Timestamp state_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp state_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> getStateTimeFieldBuilder() { if (stateTimeBuilder_ == null) { - stateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getStateTime(), - getParentForChildren(), - isClean()); + stateTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getStateTime(), getParentForChildren(), isClean()); stateTime_ = null; } return stateTimeBuilder_; } - private int progressPercent_ ; + private int progressPercent_; /** + * + * *
      * Output only. The current progress in percentage of the cutover job.
      * 
* * int32 progress_percent = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The progressPercent. */ @java.lang.Override @@ -2160,30 +2529,36 @@ public int getProgressPercent() { return progressPercent_; } /** + * + * *
      * Output only. The current progress in percentage of the cutover job.
      * 
* * int32 progress_percent = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The progressPercent to set. * @return This builder for chaining. */ public Builder setProgressPercent(int value) { - + progressPercent_ = value; onChanged(); return this; } /** + * + * *
      * Output only. The current progress in percentage of the cutover job.
      * 
* * int32 progress_percent = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearProgressPercent() { - + progressPercent_ = 0; onChanged(); return this; @@ -2191,26 +2566,33 @@ public Builder clearProgressPercent() { private com.google.rpc.Status error_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> errorBuilder_; + com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> + errorBuilder_; /** + * + * *
      * Output only. Provides details for the errors that led to the Cutover Job's
      * state.
      * 
* * .google.rpc.Status error = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return Whether the error field is set. */ public boolean hasError() { return errorBuilder_ != null || error_ != null; } /** + * + * *
      * Output only. Provides details for the errors that led to the Cutover Job's
      * state.
      * 
* * .google.rpc.Status error = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The error. */ public com.google.rpc.Status getError() { @@ -2221,6 +2603,8 @@ public com.google.rpc.Status getError() { } } /** + * + * *
      * Output only. Provides details for the errors that led to the Cutover Job's
      * state.
@@ -2242,6 +2626,8 @@ public Builder setError(com.google.rpc.Status value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. Provides details for the errors that led to the Cutover Job's
      * state.
@@ -2249,8 +2635,7 @@ public Builder setError(com.google.rpc.Status value) {
      *
      * .google.rpc.Status error = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      */
-    public Builder setError(
-        com.google.rpc.Status.Builder builderForValue) {
+    public Builder setError(com.google.rpc.Status.Builder builderForValue) {
       if (errorBuilder_ == null) {
         error_ = builderForValue.build();
         onChanged();
@@ -2261,6 +2646,8 @@ public Builder setError(
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. Provides details for the errors that led to the Cutover Job's
      * state.
@@ -2271,8 +2658,7 @@ public Builder setError(
     public Builder mergeError(com.google.rpc.Status value) {
       if (errorBuilder_ == null) {
         if (error_ != null) {
-          error_ =
-            com.google.rpc.Status.newBuilder(error_).mergeFrom(value).buildPartial();
+          error_ = com.google.rpc.Status.newBuilder(error_).mergeFrom(value).buildPartial();
         } else {
           error_ = value;
         }
@@ -2284,6 +2670,8 @@ public Builder mergeError(com.google.rpc.Status value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. Provides details for the errors that led to the Cutover Job's
      * state.
@@ -2303,6 +2691,8 @@ public Builder clearError() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. Provides details for the errors that led to the Cutover Job's
      * state.
@@ -2311,11 +2701,13 @@ public Builder clearError() {
      * .google.rpc.Status error = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      */
     public com.google.rpc.Status.Builder getErrorBuilder() {
-      
+
       onChanged();
       return getErrorFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Output only. Provides details for the errors that led to the Cutover Job's
      * state.
@@ -2327,11 +2719,12 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() {
       if (errorBuilder_ != null) {
         return errorBuilder_.getMessageOrBuilder();
       } else {
-        return error_ == null ?
-            com.google.rpc.Status.getDefaultInstance() : error_;
+        return error_ == null ? com.google.rpc.Status.getDefaultInstance() : error_;
       }
     }
     /**
+     *
+     *
      * 
      * Output only. Provides details for the errors that led to the Cutover Job's
      * state.
@@ -2340,14 +2733,14 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() {
      * .google.rpc.Status error = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      */
     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>
         getErrorFieldBuilder() {
       if (errorBuilder_ == null) {
-        errorBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder>(
-                getError(),
-                getParentForChildren(),
-                isClean());
+        errorBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.rpc.Status,
+                com.google.rpc.Status.Builder,
+                com.google.rpc.StatusOrBuilder>(getError(), getParentForChildren(), isClean());
         error_ = null;
       }
       return errorBuilder_;
@@ -2355,19 +2748,21 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() {
 
     private java.lang.Object stateMessage_ = "";
     /**
+     *
+     *
      * 
      * Output only. A message providing possible extra details about the current
      * state.
      * 
* * string state_message = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The stateMessage. */ public java.lang.String getStateMessage() { java.lang.Object ref = stateMessage_; 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(); stateMessage_ = s; return s; @@ -2376,21 +2771,22 @@ public java.lang.String getStateMessage() { } } /** + * + * *
      * Output only. A message providing possible extra details about the current
      * state.
      * 
* * string state_message = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for stateMessage. */ - public com.google.protobuf.ByteString - getStateMessageBytes() { + public com.google.protobuf.ByteString getStateMessageBytes() { java.lang.Object ref = stateMessage_; 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); stateMessage_ = b; return b; } else { @@ -2398,64 +2794,71 @@ public java.lang.String getStateMessage() { } } /** + * + * *
      * Output only. A message providing possible extra details about the current
      * state.
      * 
* * string state_message = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The stateMessage to set. * @return This builder for chaining. */ - public Builder setStateMessage( - java.lang.String value) { + public Builder setStateMessage(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + stateMessage_ = value; onChanged(); return this; } /** + * + * *
      * Output only. A message providing possible extra details about the current
      * state.
      * 
* * string state_message = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearStateMessage() { - + stateMessage_ = getDefaultInstance().getStateMessage(); onChanged(); return this; } /** + * + * *
      * Output only. A message providing possible extra details about the current
      * state.
      * 
* * string state_message = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for stateMessage to set. * @return This builder for chaining. */ - public Builder setStateMessageBytes( - com.google.protobuf.ByteString value) { + public Builder setStateMessageBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + stateMessage_ = 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); } @@ -2465,12 +2868,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.vmmigration.v1.CutoverJob) } // @@protoc_insertion_point(class_scope:google.cloud.vmmigration.v1.CutoverJob) private static final com.google.cloud.vmmigration.v1.CutoverJob DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.vmmigration.v1.CutoverJob(); } @@ -2479,16 +2882,16 @@ public static com.google.cloud.vmmigration.v1.CutoverJob getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CutoverJob parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CutoverJob(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CutoverJob parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CutoverJob(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2503,6 +2906,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.vmmigration.v1.CutoverJob getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CutoverJobName.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CutoverJobName.java similarity index 100% rename from owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CutoverJobName.java rename to proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CutoverJobName.java diff --git a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CutoverJobOrBuilder.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CutoverJobOrBuilder.java similarity index 71% rename from owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CutoverJobOrBuilder.java rename to proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CutoverJobOrBuilder.java index 24adf8d..3624aa8 100644 --- a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CutoverJobOrBuilder.java +++ b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/CutoverJobOrBuilder.java @@ -1,193 +1,283 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; -public interface CutoverJobOrBuilder extends +public interface CutoverJobOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.CutoverJob) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. Details of the target VM in Compute Engine.
    * 
* - * .google.cloud.vmmigration.v1.ComputeEngineTargetDetails compute_engine_target_details = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.vmmigration.v1.ComputeEngineTargetDetails compute_engine_target_details = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the computeEngineTargetDetails field is set. */ boolean hasComputeEngineTargetDetails(); /** + * + * *
    * Output only. Details of the target VM in Compute Engine.
    * 
* - * .google.cloud.vmmigration.v1.ComputeEngineTargetDetails compute_engine_target_details = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.vmmigration.v1.ComputeEngineTargetDetails compute_engine_target_details = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The computeEngineTargetDetails. */ com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails getComputeEngineTargetDetails(); /** + * + * *
    * Output only. Details of the target VM in Compute Engine.
    * 
* - * .google.cloud.vmmigration.v1.ComputeEngineTargetDetails compute_engine_target_details = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.vmmigration.v1.ComputeEngineTargetDetails compute_engine_target_details = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - com.google.cloud.vmmigration.v1.ComputeEngineTargetDetailsOrBuilder getComputeEngineTargetDetailsOrBuilder(); + com.google.cloud.vmmigration.v1.ComputeEngineTargetDetailsOrBuilder + getComputeEngineTargetDetailsOrBuilder(); /** + * + * *
    * Output only. The time the cutover job was created (as an API call, not when
    * it was actually created in the target).
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** + * + * *
    * Output only. The time the cutover job was created (as an API call, not when
    * it was actually created in the target).
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** + * + * *
    * Output only. The time the cutover job was created (as an API call, not when
    * it was actually created in the target).
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** + * + * *
    * Output only. The time the cutover job had finished.
    * 
* - * .google.protobuf.Timestamp end_time = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the endTime field is set. */ boolean hasEndTime(); /** + * + * *
    * Output only. The time the cutover job had finished.
    * 
* - * .google.protobuf.Timestamp end_time = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The endTime. */ com.google.protobuf.Timestamp getEndTime(); /** + * + * *
    * Output only. The time the cutover job had finished.
    * 
* - * .google.protobuf.Timestamp end_time = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder(); /** + * + * *
    * Output only. The name of the cutover job.
    * 
* * string name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Output only. The name of the cutover job.
    * 
* * string name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Output only. State of the cutover job.
    * 
* - * .google.cloud.vmmigration.v1.CutoverJob.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.vmmigration.v1.CutoverJob.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** + * + * *
    * Output only. State of the cutover job.
    * 
* - * .google.cloud.vmmigration.v1.CutoverJob.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.vmmigration.v1.CutoverJob.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ com.google.cloud.vmmigration.v1.CutoverJob.State getState(); /** + * + * *
    * Output only. The time the state was last updated.
    * 
* - * .google.protobuf.Timestamp state_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp state_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the stateTime field is set. */ boolean hasStateTime(); /** + * + * *
    * Output only. The time the state was last updated.
    * 
* - * .google.protobuf.Timestamp state_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp state_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The stateTime. */ com.google.protobuf.Timestamp getStateTime(); /** + * + * *
    * Output only. The time the state was last updated.
    * 
* - * .google.protobuf.Timestamp state_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp state_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getStateTimeOrBuilder(); /** + * + * *
    * Output only. The current progress in percentage of the cutover job.
    * 
* * int32 progress_percent = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The progressPercent. */ int getProgressPercent(); /** + * + * *
    * Output only. Provides details for the errors that led to the Cutover Job's
    * state.
    * 
* * .google.rpc.Status error = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return Whether the error field is set. */ boolean hasError(); /** + * + * *
    * Output only. Provides details for the errors that led to the Cutover Job's
    * state.
    * 
* * .google.rpc.Status error = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The error. */ com.google.rpc.Status getError(); /** + * + * *
    * Output only. Provides details for the errors that led to the Cutover Job's
    * state.
@@ -198,26 +288,31 @@ public interface CutoverJobOrBuilder extends
   com.google.rpc.StatusOrBuilder getErrorOrBuilder();
 
   /**
+   *
+   *
    * 
    * Output only. A message providing possible extra details about the current
    * state.
    * 
* * string state_message = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The stateMessage. */ java.lang.String getStateMessage(); /** + * + * *
    * Output only. A message providing possible extra details about the current
    * state.
    * 
* * string state_message = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for stateMessage. */ - com.google.protobuf.ByteString - getStateMessageBytes(); + com.google.protobuf.ByteString getStateMessageBytes(); public com.google.cloud.vmmigration.v1.CutoverJob.TargetVmDetailsCase getTargetVmDetailsCase(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/DatacenterConnector.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/DatacenterConnector.java similarity index 68% rename from owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/DatacenterConnector.java rename to proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/DatacenterConnector.java index 1821426..cb1b10c 100644 --- a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/DatacenterConnector.java +++ b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/DatacenterConnector.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; /** + * + * *
  * DatacenterConnector message describes a connector between the Source and GCP,
  * which is installed on a vmware datacenter (an OVA vm installed by the user)
@@ -12,15 +29,16 @@
  *
  * Protobuf type {@code google.cloud.vmmigration.v1.DatacenterConnector}
  */
-public final class DatacenterConnector extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class DatacenterConnector extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.vmmigration.v1.DatacenterConnector)
     DatacenterConnectorOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use DatacenterConnector.newBuilder() to construct.
   private DatacenterConnector(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private DatacenterConnector() {
     name_ = "";
     registrationId_ = "";
@@ -34,16 +52,15 @@ private DatacenterConnector() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new DatacenterConnector();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private DatacenterConnector(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -62,139 +79,160 @@ private DatacenterConnector(
           case 0:
             done = true;
             break;
-          case 10: {
-            com.google.protobuf.Timestamp.Builder subBuilder = null;
-            if (createTime_ != null) {
-              subBuilder = createTime_.toBuilder();
+          case 10:
+            {
+              com.google.protobuf.Timestamp.Builder subBuilder = null;
+              if (createTime_ != null) {
+                subBuilder = createTime_.toBuilder();
+              }
+              createTime_ =
+                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(createTime_);
+                createTime_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-            createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(createTime_);
-              createTime_ = subBuilder.buildPartial();
+          case 18:
+            {
+              com.google.protobuf.Timestamp.Builder subBuilder = null;
+              if (updateTime_ != null) {
+                subBuilder = updateTime_.toBuilder();
+              }
+              updateTime_ =
+                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(updateTime_);
+                updateTime_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
+          case 26:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            break;
-          }
-          case 18: {
-            com.google.protobuf.Timestamp.Builder subBuilder = null;
-            if (updateTime_ != null) {
-              subBuilder = updateTime_.toBuilder();
+              name_ = s;
+              break;
             }
-            updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(updateTime_);
-              updateTime_ = subBuilder.buildPartial();
-            }
-
-            break;
-          }
-          case 26: {
-            java.lang.String s = input.readStringRequireUtf8();
-
-            name_ = s;
-            break;
-          }
-          case 42: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 42:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            serviceAccount_ = s;
-            break;
-          }
-          case 50: {
-            java.lang.String s = input.readStringRequireUtf8();
+              serviceAccount_ = s;
+              break;
+            }
+          case 50:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            version_ = s;
-            break;
-          }
-          case 56: {
-            int rawValue = input.readEnum();
+              version_ = s;
+              break;
+            }
+          case 56:
+            {
+              int rawValue = input.readEnum();
 
-            state_ = rawValue;
-            break;
-          }
-          case 66: {
-            com.google.protobuf.Timestamp.Builder subBuilder = null;
-            if (stateTime_ != null) {
-              subBuilder = stateTime_.toBuilder();
+              state_ = rawValue;
+              break;
             }
-            stateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(stateTime_);
-              stateTime_ = subBuilder.buildPartial();
+          case 66:
+            {
+              com.google.protobuf.Timestamp.Builder subBuilder = null;
+              if (stateTime_ != null) {
+                subBuilder = stateTime_.toBuilder();
+              }
+              stateTime_ =
+                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(stateTime_);
+                stateTime_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
+          case 82:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            break;
-          }
-          case 82: {
-            java.lang.String s = input.readStringRequireUtf8();
-
-            bucket_ = s;
-            break;
-          }
-          case 90: {
-            com.google.rpc.Status.Builder subBuilder = null;
-            if (error_ != null) {
-              subBuilder = error_.toBuilder();
+              bucket_ = s;
+              break;
             }
-            error_ = input.readMessage(com.google.rpc.Status.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(error_);
-              error_ = subBuilder.buildPartial();
+          case 90:
+            {
+              com.google.rpc.Status.Builder subBuilder = null;
+              if (error_ != null) {
+                subBuilder = error_.toBuilder();
+              }
+              error_ = input.readMessage(com.google.rpc.Status.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(error_);
+                error_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
+          case 98:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            break;
-          }
-          case 98: {
-            java.lang.String s = input.readStringRequireUtf8();
-
-            registrationId_ = s;
-            break;
-          }
-          case 106: {
-            java.lang.String s = input.readStringRequireUtf8();
-
-            applianceInfrastructureVersion_ = s;
-            break;
-          }
-          case 114: {
-            java.lang.String s = input.readStringRequireUtf8();
-
-            applianceSoftwareVersion_ = s;
-            break;
-          }
-          case 122: {
-            com.google.cloud.vmmigration.v1.AvailableUpdates.Builder subBuilder = null;
-            if (availableVersions_ != null) {
-              subBuilder = availableVersions_.toBuilder();
+              registrationId_ = s;
+              break;
             }
-            availableVersions_ = input.readMessage(com.google.cloud.vmmigration.v1.AvailableUpdates.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(availableVersions_);
-              availableVersions_ = subBuilder.buildPartial();
+          case 106:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
+
+              applianceInfrastructureVersion_ = s;
+              break;
             }
+          case 114:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            break;
-          }
-          case 130: {
-            com.google.cloud.vmmigration.v1.UpgradeStatus.Builder subBuilder = null;
-            if (upgradeStatus_ != null) {
-              subBuilder = upgradeStatus_.toBuilder();
+              applianceSoftwareVersion_ = s;
+              break;
             }
-            upgradeStatus_ = input.readMessage(com.google.cloud.vmmigration.v1.UpgradeStatus.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(upgradeStatus_);
-              upgradeStatus_ = subBuilder.buildPartial();
+          case 122:
+            {
+              com.google.cloud.vmmigration.v1.AvailableUpdates.Builder subBuilder = null;
+              if (availableVersions_ != null) {
+                subBuilder = availableVersions_.toBuilder();
+              }
+              availableVersions_ =
+                  input.readMessage(
+                      com.google.cloud.vmmigration.v1.AvailableUpdates.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(availableVersions_);
+                availableVersions_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+          case 130:
+            {
+              com.google.cloud.vmmigration.v1.UpgradeStatus.Builder subBuilder = null;
+              if (upgradeStatus_ != null) {
+                subBuilder = upgradeStatus_.toBuilder();
+              }
+              upgradeStatus_ =
+                  input.readMessage(
+                      com.google.cloud.vmmigration.v1.UpgradeStatus.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(upgradeStatus_);
+                upgradeStatus_ = subBuilder.buildPartial();
+              }
+
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -202,36 +240,41 @@ private DatacenterConnector(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_DatacenterConnector_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.vmmigration.v1.VmMigrationProto
+        .internal_static_google_cloud_vmmigration_v1_DatacenterConnector_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_DatacenterConnector_fieldAccessorTable
+    return com.google.cloud.vmmigration.v1.VmMigrationProto
+        .internal_static_google_cloud_vmmigration_v1_DatacenterConnector_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.vmmigration.v1.DatacenterConnector.class, com.google.cloud.vmmigration.v1.DatacenterConnector.Builder.class);
+            com.google.cloud.vmmigration.v1.DatacenterConnector.class,
+            com.google.cloud.vmmigration.v1.DatacenterConnector.Builder.class);
   }
 
   /**
+   *
+   *
    * 
    * The possible values of the state.
    * 
* * Protobuf enum {@code google.cloud.vmmigration.v1.DatacenterConnector.State} */ - public enum State - implements com.google.protobuf.ProtocolMessageEnum { + public enum State implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * The state is unknown. This is used for API compatibility only and is not
      * used by the system.
@@ -241,6 +284,8 @@ public enum State
      */
     STATE_UNSPECIFIED(0),
     /**
+     *
+     *
      * 
      * The state was not sampled by the health checks yet.
      * 
@@ -249,6 +294,8 @@ public enum State */ PENDING(1), /** + * + * *
      * The source was sampled by health checks and is not available.
      * 
@@ -257,6 +304,8 @@ public enum State */ OFFLINE(2), /** + * + * *
      * The source is available but might not be usable yet due to unvalidated
      * credentials or another reason. The credentials referred to are the ones
@@ -267,6 +316,8 @@ public enum State
      */
     FAILED(3),
     /**
+     *
+     *
      * 
      * The source exists and its credentials were verified.
      * 
@@ -278,6 +329,8 @@ public enum State ; /** + * + * *
      * The state is unknown. This is used for API compatibility only and is not
      * used by the system.
@@ -287,6 +340,8 @@ public enum State
      */
     public static final int STATE_UNSPECIFIED_VALUE = 0;
     /**
+     *
+     *
      * 
      * The state was not sampled by the health checks yet.
      * 
@@ -295,6 +350,8 @@ public enum State */ public static final int PENDING_VALUE = 1; /** + * + * *
      * The source was sampled by health checks and is not available.
      * 
@@ -303,6 +360,8 @@ public enum State */ public static final int OFFLINE_VALUE = 2; /** + * + * *
      * The source is available but might not be usable yet due to unvalidated
      * credentials or another reason. The credentials referred to are the ones
@@ -313,6 +372,8 @@ public enum State
      */
     public static final int FAILED_VALUE = 3;
     /**
+     *
+     *
      * 
      * The source exists and its credentials were verified.
      * 
@@ -321,7 +382,6 @@ public enum State */ public static final int ACTIVE_VALUE = 4; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -346,51 +406,55 @@ public static State valueOf(int value) { */ public static State forNumber(int value) { switch (value) { - case 0: return STATE_UNSPECIFIED; - case 1: return PENDING; - case 2: return OFFLINE; - case 3: return FAILED; - case 4: return ACTIVE; - default: return null; - } - } - - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + case 0: + return STATE_UNSPECIFIED; + case 1: + return PENDING; + case 2: + return OFFLINE; + case 3: + return FAILED; + case 4: + return ACTIVE; + default: + return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - State> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public State findValueByNumber(int number) { - return State.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 State findValueByNumber(int number) { + return State.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.vmmigration.v1.DatacenterConnector.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.vmmigration.v1.DatacenterConnector.getDescriptor() + .getEnumTypes() + .get(0); } private static final State[] VALUES = values(); - public static State valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static State 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; @@ -410,12 +474,16 @@ private State(int value) { public static final int CREATE_TIME_FIELD_NUMBER = 1; private com.google.protobuf.Timestamp createTime_; /** + * + * *
    * Output only. The time the connector was created (as an API call, not when
    * it was actually installed).
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ @java.lang.Override @@ -423,12 +491,16 @@ public boolean hasCreateTime() { return createTime_ != null; } /** + * + * *
    * Output only. The time the connector was created (as an API call, not when
    * it was actually installed).
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ @java.lang.Override @@ -436,12 +508,15 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
    * Output only. The time the connector was created (as an API call, not when
    * it was actually installed).
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -451,11 +526,15 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp updateTime_; /** + * + * *
    * Output only. The last time the connector was updated with an API call.
    * 
* - * .google.protobuf.Timestamp update_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -463,11 +542,15 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** + * + * *
    * Output only. The last time the connector was updated with an API call.
    * 
* - * .google.protobuf.Timestamp update_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateTime. */ @java.lang.Override @@ -475,11 +558,14 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** + * + * *
    * Output only. The last time the connector was updated with an API call.
    * 
* - * .google.protobuf.Timestamp update_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { @@ -489,11 +575,14 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { public static final int NAME_FIELD_NUMBER = 3; private volatile java.lang.Object name_; /** + * + * *
    * Output only. The connector's name.
    * 
* * string name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ @java.lang.Override @@ -502,29 +591,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. The connector's name.
    * 
* * string name = 3 [(.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 { @@ -535,6 +624,8 @@ public java.lang.String getName() { public static final int REGISTRATION_ID_FIELD_NUMBER = 12; private volatile java.lang.Object registrationId_; /** + * + * *
    * Immutable. A unique key for this connector. This key is internal to the OVA
    * connector and is supplied with its creation during the registration process
@@ -542,6 +633,7 @@ public java.lang.String getName() {
    * 
* * string registration_id = 12 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The registrationId. */ @java.lang.Override @@ -550,14 +642,15 @@ public java.lang.String getRegistrationId() { 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(); registrationId_ = s; return s; } } /** + * + * *
    * Immutable. A unique key for this connector. This key is internal to the OVA
    * connector and is supplied with its creation during the registration process
@@ -565,16 +658,15 @@ public java.lang.String getRegistrationId() {
    * 
* * string registration_id = 12 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The bytes for registrationId. */ @java.lang.Override - public com.google.protobuf.ByteString - getRegistrationIdBytes() { + public com.google.protobuf.ByteString getRegistrationIdBytes() { java.lang.Object ref = registrationId_; 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); registrationId_ = b; return b; } else { @@ -585,12 +677,15 @@ public java.lang.String getRegistrationId() { public static final int SERVICE_ACCOUNT_FIELD_NUMBER = 5; private volatile java.lang.Object serviceAccount_; /** + * + * *
    * The service account to use in the connector when communicating with the
    * cloud.
    * 
* * string service_account = 5; + * * @return The serviceAccount. */ @java.lang.Override @@ -599,30 +694,30 @@ public java.lang.String getServiceAccount() { 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(); serviceAccount_ = s; return s; } } /** + * + * *
    * The service account to use in the connector when communicating with the
    * cloud.
    * 
* * string service_account = 5; + * * @return The bytes for serviceAccount. */ @java.lang.Override - public com.google.protobuf.ByteString - getServiceAccountBytes() { + public com.google.protobuf.ByteString getServiceAccountBytes() { java.lang.Object ref = serviceAccount_; 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); serviceAccount_ = b; return b; } else { @@ -633,12 +728,15 @@ public java.lang.String getServiceAccount() { public static final int VERSION_FIELD_NUMBER = 6; private volatile java.lang.Object version_; /** + * + * *
    * The version running in the DatacenterConnector. This is supplied by the OVA
    * connector during the registration process and can not be modified.
    * 
* * string version = 6; + * * @return The version. */ @java.lang.Override @@ -647,30 +745,30 @@ public java.lang.String getVersion() { 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(); version_ = s; return s; } } /** + * + * *
    * The version running in the DatacenterConnector. This is supplied by the OVA
    * connector during the registration process and can not be modified.
    * 
* * string version = 6; + * * @return The bytes for version. */ @java.lang.Override - public com.google.protobuf.ByteString - getVersionBytes() { + public com.google.protobuf.ByteString getVersionBytes() { java.lang.Object ref = version_; 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); version_ = b; return b; } else { @@ -681,12 +779,15 @@ public java.lang.String getVersion() { public static final int BUCKET_FIELD_NUMBER = 10; private volatile java.lang.Object bucket_; /** + * + * *
    * Output only. The communication channel between the datacenter connector and
    * GCP.
    * 
* * string bucket = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bucket. */ @java.lang.Override @@ -695,30 +796,30 @@ public java.lang.String getBucket() { 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(); bucket_ = s; return s; } } /** + * + * *
    * Output only. The communication channel between the datacenter connector and
    * GCP.
    * 
* * string bucket = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for bucket. */ @java.lang.Override - public com.google.protobuf.ByteString - getBucketBytes() { + public com.google.protobuf.ByteString getBucketBytes() { java.lang.Object ref = bucket_; 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); bucket_ = b; return b; } else { @@ -729,40 +830,59 @@ public java.lang.String getBucket() { public static final int STATE_FIELD_NUMBER = 7; private int state_; /** + * + * *
    * Output only. State of the DatacenterConnector, as determined by the health
    * checks.
    * 
* - * .google.cloud.vmmigration.v1.DatacenterConnector.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.vmmigration.v1.DatacenterConnector.State state = 7 [(.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 DatacenterConnector, as determined by the health
    * checks.
    * 
* - * .google.cloud.vmmigration.v1.DatacenterConnector.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.vmmigration.v1.DatacenterConnector.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ - @java.lang.Override public com.google.cloud.vmmigration.v1.DatacenterConnector.State getState() { + @java.lang.Override + public com.google.cloud.vmmigration.v1.DatacenterConnector.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.vmmigration.v1.DatacenterConnector.State result = com.google.cloud.vmmigration.v1.DatacenterConnector.State.valueOf(state_); - return result == null ? com.google.cloud.vmmigration.v1.DatacenterConnector.State.UNRECOGNIZED : result; + com.google.cloud.vmmigration.v1.DatacenterConnector.State result = + com.google.cloud.vmmigration.v1.DatacenterConnector.State.valueOf(state_); + return result == null + ? com.google.cloud.vmmigration.v1.DatacenterConnector.State.UNRECOGNIZED + : result; } public static final int STATE_TIME_FIELD_NUMBER = 8; private com.google.protobuf.Timestamp stateTime_; /** + * + * *
    * Output only. The time the state was last set.
    * 
* - * .google.protobuf.Timestamp state_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp state_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the stateTime field is set. */ @java.lang.Override @@ -770,11 +890,15 @@ public boolean hasStateTime() { return stateTime_ != null; } /** + * + * *
    * Output only. The time the state was last set.
    * 
* - * .google.protobuf.Timestamp state_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp state_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The stateTime. */ @java.lang.Override @@ -782,11 +906,14 @@ public com.google.protobuf.Timestamp getStateTime() { return stateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : stateTime_; } /** + * + * *
    * Output only. The time the state was last set.
    * 
* - * .google.protobuf.Timestamp state_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp state_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getStateTimeOrBuilder() { @@ -796,12 +923,15 @@ public com.google.protobuf.TimestampOrBuilder getStateTimeOrBuilder() { public static final int ERROR_FIELD_NUMBER = 11; private com.google.rpc.Status error_; /** + * + * *
    * Output only. Provides details on the state of the Datacenter Connector in
    * case of an error.
    * 
* * .google.rpc.Status error = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return Whether the error field is set. */ @java.lang.Override @@ -809,12 +939,15 @@ public boolean hasError() { return error_ != null; } /** + * + * *
    * Output only. Provides details on the state of the Datacenter Connector in
    * case of an error.
    * 
* * .google.rpc.Status error = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The error. */ @java.lang.Override @@ -822,6 +955,8 @@ public com.google.rpc.Status getError() { return error_ == null ? com.google.rpc.Status.getDefaultInstance() : error_; } /** + * + * *
    * Output only. Provides details on the state of the Datacenter Connector in
    * case of an error.
@@ -837,13 +972,18 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() {
   public static final int APPLIANCE_INFRASTRUCTURE_VERSION_FIELD_NUMBER = 13;
   private volatile java.lang.Object applianceInfrastructureVersion_;
   /**
+   *
+   *
    * 
    * Output only. Appliance OVA version.
    * This is the OVA which is manually installed by the user and contains the
    * infrastructure for the automatically updatable components on the appliance.
    * 
* - * string appliance_infrastructure_version = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * string appliance_infrastructure_version = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The applianceInfrastructureVersion. */ @java.lang.Override @@ -852,31 +992,33 @@ public java.lang.String getApplianceInfrastructureVersion() { 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(); applianceInfrastructureVersion_ = s; return s; } } /** + * + * *
    * Output only. Appliance OVA version.
    * This is the OVA which is manually installed by the user and contains the
    * infrastructure for the automatically updatable components on the appliance.
    * 
* - * string appliance_infrastructure_version = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * string appliance_infrastructure_version = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The bytes for applianceInfrastructureVersion. */ @java.lang.Override - public com.google.protobuf.ByteString - getApplianceInfrastructureVersionBytes() { + public com.google.protobuf.ByteString getApplianceInfrastructureVersionBytes() { java.lang.Object ref = applianceInfrastructureVersion_; 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); applianceInfrastructureVersion_ = b; return b; } else { @@ -887,13 +1029,17 @@ public java.lang.String getApplianceInfrastructureVersion() { public static final int APPLIANCE_SOFTWARE_VERSION_FIELD_NUMBER = 14; private volatile java.lang.Object applianceSoftwareVersion_; /** + * + * *
    * Output only. Appliance last installed update bundle version.
    * This is the version of the automatically updatable components on the
    * appliance.
    * 
* - * string appliance_software_version = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string appliance_software_version = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The applianceSoftwareVersion. */ @java.lang.Override @@ -902,31 +1048,32 @@ public java.lang.String getApplianceSoftwareVersion() { 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(); applianceSoftwareVersion_ = s; return s; } } /** + * + * *
    * Output only. Appliance last installed update bundle version.
    * This is the version of the automatically updatable components on the
    * appliance.
    * 
* - * string appliance_software_version = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string appliance_software_version = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The bytes for applianceSoftwareVersion. */ @java.lang.Override - public com.google.protobuf.ByteString - getApplianceSoftwareVersionBytes() { + public com.google.protobuf.ByteString getApplianceSoftwareVersionBytes() { java.lang.Object ref = applianceSoftwareVersion_; 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); applianceSoftwareVersion_ = b; return b; } else { @@ -937,11 +1084,16 @@ public java.lang.String getApplianceSoftwareVersion() { public static final int AVAILABLE_VERSIONS_FIELD_NUMBER = 15; private com.google.cloud.vmmigration.v1.AvailableUpdates availableVersions_; /** + * + * *
    * Output only. The available versions for updating this appliance.
    * 
* - * .google.cloud.vmmigration.v1.AvailableUpdates available_versions = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.vmmigration.v1.AvailableUpdates available_versions = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the availableVersions field is set. */ @java.lang.Override @@ -949,23 +1101,34 @@ public boolean hasAvailableVersions() { return availableVersions_ != null; } /** + * + * *
    * Output only. The available versions for updating this appliance.
    * 
* - * .google.cloud.vmmigration.v1.AvailableUpdates available_versions = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.vmmigration.v1.AvailableUpdates available_versions = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The availableVersions. */ @java.lang.Override public com.google.cloud.vmmigration.v1.AvailableUpdates getAvailableVersions() { - return availableVersions_ == null ? com.google.cloud.vmmigration.v1.AvailableUpdates.getDefaultInstance() : availableVersions_; + return availableVersions_ == null + ? com.google.cloud.vmmigration.v1.AvailableUpdates.getDefaultInstance() + : availableVersions_; } /** + * + * *
    * Output only. The available versions for updating this appliance.
    * 
* - * .google.cloud.vmmigration.v1.AvailableUpdates available_versions = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.vmmigration.v1.AvailableUpdates available_versions = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.vmmigration.v1.AvailableUpdatesOrBuilder getAvailableVersionsOrBuilder() { @@ -975,11 +1138,16 @@ public com.google.cloud.vmmigration.v1.AvailableUpdatesOrBuilder getAvailableVer public static final int UPGRADE_STATUS_FIELD_NUMBER = 16; private com.google.cloud.vmmigration.v1.UpgradeStatus upgradeStatus_; /** + * + * *
    * Output only. The status of the current / last upgradeAppliance operation.
    * 
* - * .google.cloud.vmmigration.v1.UpgradeStatus upgrade_status = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.vmmigration.v1.UpgradeStatus upgrade_status = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the upgradeStatus field is set. */ @java.lang.Override @@ -987,23 +1155,34 @@ public boolean hasUpgradeStatus() { return upgradeStatus_ != null; } /** + * + * *
    * Output only. The status of the current / last upgradeAppliance operation.
    * 
* - * .google.cloud.vmmigration.v1.UpgradeStatus upgrade_status = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.vmmigration.v1.UpgradeStatus upgrade_status = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The upgradeStatus. */ @java.lang.Override public com.google.cloud.vmmigration.v1.UpgradeStatus getUpgradeStatus() { - return upgradeStatus_ == null ? com.google.cloud.vmmigration.v1.UpgradeStatus.getDefaultInstance() : upgradeStatus_; + return upgradeStatus_ == null + ? com.google.cloud.vmmigration.v1.UpgradeStatus.getDefaultInstance() + : upgradeStatus_; } /** + * + * *
    * Output only. The status of the current / last upgradeAppliance operation.
    * 
* - * .google.cloud.vmmigration.v1.UpgradeStatus upgrade_status = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.vmmigration.v1.UpgradeStatus upgrade_status = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.vmmigration.v1.UpgradeStatusOrBuilder getUpgradeStatusOrBuilder() { @@ -1011,6 +1190,7 @@ public com.google.cloud.vmmigration.v1.UpgradeStatusOrBuilder getUpgradeStatusOr } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1022,8 +1202,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 (createTime_ != null) { output.writeMessage(1, getCreateTime()); } @@ -1039,7 +1218,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(version_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 6, version_); } - if (state_ != com.google.cloud.vmmigration.v1.DatacenterConnector.State.STATE_UNSPECIFIED.getNumber()) { + if (state_ + != com.google.cloud.vmmigration.v1.DatacenterConnector.State.STATE_UNSPECIFIED + .getNumber()) { output.writeEnum(7, state_); } if (stateTime_ != null) { @@ -1055,7 +1236,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) com.google.protobuf.GeneratedMessageV3.writeString(output, 12, registrationId_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(applianceInfrastructureVersion_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 13, applianceInfrastructureVersion_); + com.google.protobuf.GeneratedMessageV3.writeString( + output, 13, applianceInfrastructureVersion_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(applianceSoftwareVersion_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 14, applianceSoftwareVersion_); @@ -1076,12 +1258,10 @@ public int getSerializedSize() { size = 0; if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getCreateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getCreateTime()); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, name_); @@ -1092,37 +1272,37 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(version_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, version_); } - if (state_ != com.google.cloud.vmmigration.v1.DatacenterConnector.State.STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(7, state_); + if (state_ + != com.google.cloud.vmmigration.v1.DatacenterConnector.State.STATE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(7, state_); } if (stateTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(8, getStateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getStateTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(bucket_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, bucket_); } if (error_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(11, getError()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(11, getError()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(registrationId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(12, registrationId_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(applianceInfrastructureVersion_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(13, applianceInfrastructureVersion_); + size += + com.google.protobuf.GeneratedMessageV3.computeStringSize( + 13, applianceInfrastructureVersion_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(applianceSoftwareVersion_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(14, applianceSoftwareVersion_); + size += + com.google.protobuf.GeneratedMessageV3.computeStringSize(14, applianceSoftwareVersion_); } if (availableVersions_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(15, getAvailableVersions()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(15, getAvailableVersions()); } if (upgradeStatus_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(16, getUpgradeStatus()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(16, getUpgradeStatus()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1132,57 +1312,46 @@ 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.vmmigration.v1.DatacenterConnector)) { return super.equals(obj); } - com.google.cloud.vmmigration.v1.DatacenterConnector other = (com.google.cloud.vmmigration.v1.DatacenterConnector) obj; + com.google.cloud.vmmigration.v1.DatacenterConnector other = + (com.google.cloud.vmmigration.v1.DatacenterConnector) obj; if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime() - .equals(other.getCreateTime())) return false; + if (!getCreateTime().equals(other.getCreateTime())) return false; } if (hasUpdateTime() != other.hasUpdateTime()) return false; if (hasUpdateTime()) { - if (!getUpdateTime() - .equals(other.getUpdateTime())) return false; - } - if (!getName() - .equals(other.getName())) return false; - if (!getRegistrationId() - .equals(other.getRegistrationId())) return false; - if (!getServiceAccount() - .equals(other.getServiceAccount())) return false; - if (!getVersion() - .equals(other.getVersion())) return false; - if (!getBucket() - .equals(other.getBucket())) return false; + if (!getUpdateTime().equals(other.getUpdateTime())) return false; + } + if (!getName().equals(other.getName())) return false; + if (!getRegistrationId().equals(other.getRegistrationId())) return false; + if (!getServiceAccount().equals(other.getServiceAccount())) return false; + if (!getVersion().equals(other.getVersion())) return false; + if (!getBucket().equals(other.getBucket())) return false; if (state_ != other.state_) return false; if (hasStateTime() != other.hasStateTime()) return false; if (hasStateTime()) { - if (!getStateTime() - .equals(other.getStateTime())) return false; + if (!getStateTime().equals(other.getStateTime())) return false; } if (hasError() != other.hasError()) return false; if (hasError()) { - if (!getError() - .equals(other.getError())) return false; + if (!getError().equals(other.getError())) return false; } - if (!getApplianceInfrastructureVersion() - .equals(other.getApplianceInfrastructureVersion())) return false; - if (!getApplianceSoftwareVersion() - .equals(other.getApplianceSoftwareVersion())) return false; + if (!getApplianceInfrastructureVersion().equals(other.getApplianceInfrastructureVersion())) + return false; + if (!getApplianceSoftwareVersion().equals(other.getApplianceSoftwareVersion())) return false; if (hasAvailableVersions() != other.hasAvailableVersions()) return false; if (hasAvailableVersions()) { - if (!getAvailableVersions() - .equals(other.getAvailableVersions())) return false; + if (!getAvailableVersions().equals(other.getAvailableVersions())) return false; } if (hasUpgradeStatus() != other.hasUpgradeStatus()) return false; if (hasUpgradeStatus()) { - if (!getUpgradeStatus() - .equals(other.getUpgradeStatus())) return false; + if (!getUpgradeStatus().equals(other.getUpgradeStatus())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -1241,96 +1410,103 @@ public int hashCode() { } public static com.google.cloud.vmmigration.v1.DatacenterConnector 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.vmmigration.v1.DatacenterConnector 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.vmmigration.v1.DatacenterConnector parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.vmmigration.v1.DatacenterConnector 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.vmmigration.v1.DatacenterConnector parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.vmmigration.v1.DatacenterConnector 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.vmmigration.v1.DatacenterConnector parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.vmmigration.v1.DatacenterConnector parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.vmmigration.v1.DatacenterConnector 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.vmmigration.v1.DatacenterConnector parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.vmmigration.v1.DatacenterConnector parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.vmmigration.v1.DatacenterConnector 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.vmmigration.v1.DatacenterConnector 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.vmmigration.v1.DatacenterConnector 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.vmmigration.v1.DatacenterConnector 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; } /** + * + * *
    * DatacenterConnector message describes a connector between the Source and GCP,
    * which is installed on a vmware datacenter (an OVA vm installed by the user)
@@ -1339,21 +1515,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.vmmigration.v1.DatacenterConnector}
    */
-  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.vmmigration.v1.DatacenterConnector)
       com.google.cloud.vmmigration.v1.DatacenterConnectorOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_DatacenterConnector_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.vmmigration.v1.VmMigrationProto
+          .internal_static_google_cloud_vmmigration_v1_DatacenterConnector_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_DatacenterConnector_fieldAccessorTable
+      return com.google.cloud.vmmigration.v1.VmMigrationProto
+          .internal_static_google_cloud_vmmigration_v1_DatacenterConnector_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.vmmigration.v1.DatacenterConnector.class, com.google.cloud.vmmigration.v1.DatacenterConnector.Builder.class);
+              com.google.cloud.vmmigration.v1.DatacenterConnector.class,
+              com.google.cloud.vmmigration.v1.DatacenterConnector.Builder.class);
     }
 
     // Construct using com.google.cloud.vmmigration.v1.DatacenterConnector.newBuilder()
@@ -1361,16 +1539,15 @@ 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) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1430,9 +1607,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_DatacenterConnector_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.vmmigration.v1.VmMigrationProto
+          .internal_static_google_cloud_vmmigration_v1_DatacenterConnector_descriptor;
     }
 
     @java.lang.Override
@@ -1451,7 +1628,8 @@ public com.google.cloud.vmmigration.v1.DatacenterConnector build() {
 
     @java.lang.Override
     public com.google.cloud.vmmigration.v1.DatacenterConnector buildPartial() {
-      com.google.cloud.vmmigration.v1.DatacenterConnector result = new com.google.cloud.vmmigration.v1.DatacenterConnector(this);
+      com.google.cloud.vmmigration.v1.DatacenterConnector result =
+          new com.google.cloud.vmmigration.v1.DatacenterConnector(this);
       if (createTimeBuilder_ == null) {
         result.createTime_ = createTime_;
       } else {
@@ -1498,38 +1676,39 @@ public com.google.cloud.vmmigration.v1.DatacenterConnector buildPartial() {
     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.vmmigration.v1.DatacenterConnector) {
-        return mergeFrom((com.google.cloud.vmmigration.v1.DatacenterConnector)other);
+        return mergeFrom((com.google.cloud.vmmigration.v1.DatacenterConnector) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1537,7 +1716,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.vmmigration.v1.DatacenterConnector other) {
-      if (other == com.google.cloud.vmmigration.v1.DatacenterConnector.getDefaultInstance()) return this;
+      if (other == com.google.cloud.vmmigration.v1.DatacenterConnector.getDefaultInstance())
+        return this;
       if (other.hasCreateTime()) {
         mergeCreateTime(other.getCreateTime());
       }
@@ -1606,7 +1786,8 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.cloud.vmmigration.v1.DatacenterConnector) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.cloud.vmmigration.v1.DatacenterConnector) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -1618,42 +1799,61 @@ public Builder mergeFrom(
 
     private com.google.protobuf.Timestamp createTime_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_;
+            com.google.protobuf.Timestamp,
+            com.google.protobuf.Timestamp.Builder,
+            com.google.protobuf.TimestampOrBuilder>
+        createTimeBuilder_;
     /**
+     *
+     *
      * 
      * Output only. The time the connector was created (as an API call, not when
      * it was actually installed).
      * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** + * + * *
      * Output only. The time the connector was created (as an API call, not when
      * it was actually installed).
      * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. The time the connector was created (as an API call, not when
      * it was actually installed).
      * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -1669,15 +1869,18 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time the connector was created (as an API call, not when
      * it was actually installed).
      * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setCreateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); onChanged(); @@ -1688,18 +1891,22 @@ public Builder setCreateTime( return this; } /** + * + * *
      * Output only. The time the connector was created (as an API call, not when
      * it was actually installed).
      * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { if (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -1711,12 +1918,16 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time the connector was created (as an API call, not when
      * it was actually installed).
      * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearCreateTime() { if (createTimeBuilder_ == null) { @@ -1730,51 +1941,67 @@ public Builder clearCreateTime() { return this; } /** + * + * *
      * Output only. The time the connector was created (as an API call, not when
      * it was actually installed).
      * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The time the connector was created (as an API call, not when
      * it was actually installed).
      * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } } /** + * + * *
      * Output only. The time the connector was created (as an API call, not when
      * it was actually installed).
      * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 1 [(.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> getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { - createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getCreateTime(), - getParentForChildren(), - isClean()); + createTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), getParentForChildren(), isClean()); createTime_ = null; } return createTimeBuilder_; @@ -1782,39 +2009,58 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { 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. The last time the connector was updated with an API call.
      * 
* - * .google.protobuf.Timestamp update_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return updateTimeBuilder_ != null || updateTime_ != null; } /** + * + * *
      * Output only. The last time the connector was updated with an API call.
      * 
* - * .google.protobuf.Timestamp update_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 2 [(.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. The last time the connector was updated with an API call.
      * 
* - * .google.protobuf.Timestamp update_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { @@ -1830,14 +2076,17 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The last time the connector was updated with an API call.
      * 
* - * .google.protobuf.Timestamp update_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 2 [(.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(); onChanged(); @@ -1848,17 +2097,21 @@ public Builder setUpdateTime( return this; } /** + * + * *
      * Output only. The last time the connector was updated with an API call.
      * 
* - * .google.protobuf.Timestamp update_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { if (updateTime_ != null) { updateTime_ = - com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); } else { updateTime_ = value; } @@ -1870,11 +2123,15 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The last time the connector was updated with an API call.
      * 
* - * .google.protobuf.Timestamp update_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearUpdateTime() { if (updateTimeBuilder_ == null) { @@ -1888,48 +2145,64 @@ public Builder clearUpdateTime() { return this; } /** + * + * *
      * Output only. The last time the connector was updated with an API call.
      * 
* - * .google.protobuf.Timestamp update_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { - + onChanged(); return getUpdateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The last time the connector was updated with an API call.
      * 
* - * .google.protobuf.Timestamp update_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 2 [(.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. The last time the connector was updated with an API call.
      * 
* - * .google.protobuf.Timestamp update_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 2 [(.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_; @@ -1937,18 +2210,20 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { private java.lang.Object name_ = ""; /** + * + * *
      * Output only. The connector's name.
      * 
* * string name = 3 [(.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; @@ -1957,20 +2232,21 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. The connector's name.
      * 
* * string name = 3 [(.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 { @@ -1978,54 +2254,61 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. The connector's name.
      * 
* * string name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Output only. The connector's name.
      * 
* * string name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Output only. The connector's name.
      * 
* * string name = 3 [(.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) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -2033,6 +2316,8 @@ public Builder setNameBytes( private java.lang.Object registrationId_ = ""; /** + * + * *
      * Immutable. A unique key for this connector. This key is internal to the OVA
      * connector and is supplied with its creation during the registration process
@@ -2040,13 +2325,13 @@ public Builder setNameBytes(
      * 
* * string registration_id = 12 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The registrationId. */ public java.lang.String getRegistrationId() { java.lang.Object ref = registrationId_; 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(); registrationId_ = s; return s; @@ -2055,6 +2340,8 @@ public java.lang.String getRegistrationId() { } } /** + * + * *
      * Immutable. A unique key for this connector. This key is internal to the OVA
      * connector and is supplied with its creation during the registration process
@@ -2062,15 +2349,14 @@ public java.lang.String getRegistrationId() {
      * 
* * string registration_id = 12 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The bytes for registrationId. */ - public com.google.protobuf.ByteString - getRegistrationIdBytes() { + public com.google.protobuf.ByteString getRegistrationIdBytes() { java.lang.Object ref = registrationId_; 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); registrationId_ = b; return b; } else { @@ -2078,6 +2364,8 @@ public java.lang.String getRegistrationId() { } } /** + * + * *
      * Immutable. A unique key for this connector. This key is internal to the OVA
      * connector and is supplied with its creation during the registration process
@@ -2085,20 +2373,22 @@ public java.lang.String getRegistrationId() {
      * 
* * string registration_id = 12 [(.google.api.field_behavior) = IMMUTABLE]; + * * @param value The registrationId to set. * @return This builder for chaining. */ - public Builder setRegistrationId( - java.lang.String value) { + public Builder setRegistrationId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + registrationId_ = value; onChanged(); return this; } /** + * + * *
      * Immutable. A unique key for this connector. This key is internal to the OVA
      * connector and is supplied with its creation during the registration process
@@ -2106,15 +2396,18 @@ public Builder setRegistrationId(
      * 
* * string registration_id = 12 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return This builder for chaining. */ public Builder clearRegistrationId() { - + registrationId_ = getDefaultInstance().getRegistrationId(); onChanged(); return this; } /** + * + * *
      * Immutable. A unique key for this connector. This key is internal to the OVA
      * connector and is supplied with its creation during the registration process
@@ -2122,16 +2415,16 @@ public Builder clearRegistrationId() {
      * 
* * string registration_id = 12 [(.google.api.field_behavior) = IMMUTABLE]; + * * @param value The bytes for registrationId to set. * @return This builder for chaining. */ - public Builder setRegistrationIdBytes( - com.google.protobuf.ByteString value) { + public Builder setRegistrationIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + registrationId_ = value; onChanged(); return this; @@ -2139,19 +2432,21 @@ public Builder setRegistrationIdBytes( private java.lang.Object serviceAccount_ = ""; /** + * + * *
      * The service account to use in the connector when communicating with the
      * cloud.
      * 
* * string service_account = 5; + * * @return The serviceAccount. */ public java.lang.String getServiceAccount() { java.lang.Object ref = serviceAccount_; 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(); serviceAccount_ = s; return s; @@ -2160,21 +2455,22 @@ public java.lang.String getServiceAccount() { } } /** + * + * *
      * The service account to use in the connector when communicating with the
      * cloud.
      * 
* * string service_account = 5; + * * @return The bytes for serviceAccount. */ - public com.google.protobuf.ByteString - getServiceAccountBytes() { + public com.google.protobuf.ByteString getServiceAccountBytes() { java.lang.Object ref = serviceAccount_; 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); serviceAccount_ = b; return b; } else { @@ -2182,57 +2478,64 @@ public java.lang.String getServiceAccount() { } } /** + * + * *
      * The service account to use in the connector when communicating with the
      * cloud.
      * 
* * string service_account = 5; + * * @param value The serviceAccount to set. * @return This builder for chaining. */ - public Builder setServiceAccount( - java.lang.String value) { + public Builder setServiceAccount(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + serviceAccount_ = value; onChanged(); return this; } /** + * + * *
      * The service account to use in the connector when communicating with the
      * cloud.
      * 
* * string service_account = 5; + * * @return This builder for chaining. */ public Builder clearServiceAccount() { - + serviceAccount_ = getDefaultInstance().getServiceAccount(); onChanged(); return this; } /** + * + * *
      * The service account to use in the connector when communicating with the
      * cloud.
      * 
* * string service_account = 5; + * * @param value The bytes for serviceAccount to set. * @return This builder for chaining. */ - public Builder setServiceAccountBytes( - com.google.protobuf.ByteString value) { + public Builder setServiceAccountBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + serviceAccount_ = value; onChanged(); return this; @@ -2240,19 +2543,21 @@ public Builder setServiceAccountBytes( private java.lang.Object version_ = ""; /** + * + * *
      * The version running in the DatacenterConnector. This is supplied by the OVA
      * connector during the registration process and can not be modified.
      * 
* * string version = 6; + * * @return The version. */ public java.lang.String getVersion() { java.lang.Object ref = version_; 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(); version_ = s; return s; @@ -2261,21 +2566,22 @@ public java.lang.String getVersion() { } } /** + * + * *
      * The version running in the DatacenterConnector. This is supplied by the OVA
      * connector during the registration process and can not be modified.
      * 
* * string version = 6; + * * @return The bytes for version. */ - public com.google.protobuf.ByteString - getVersionBytes() { + public com.google.protobuf.ByteString getVersionBytes() { java.lang.Object ref = version_; 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); version_ = b; return b; } else { @@ -2283,57 +2589,64 @@ public java.lang.String getVersion() { } } /** + * + * *
      * The version running in the DatacenterConnector. This is supplied by the OVA
      * connector during the registration process and can not be modified.
      * 
* * string version = 6; + * * @param value The version to set. * @return This builder for chaining. */ - public Builder setVersion( - java.lang.String value) { + public Builder setVersion(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + version_ = value; onChanged(); return this; } /** + * + * *
      * The version running in the DatacenterConnector. This is supplied by the OVA
      * connector during the registration process and can not be modified.
      * 
* * string version = 6; + * * @return This builder for chaining. */ public Builder clearVersion() { - + version_ = getDefaultInstance().getVersion(); onChanged(); return this; } /** + * + * *
      * The version running in the DatacenterConnector. This is supplied by the OVA
      * connector during the registration process and can not be modified.
      * 
* * string version = 6; + * * @param value The bytes for version to set. * @return This builder for chaining. */ - public Builder setVersionBytes( - com.google.protobuf.ByteString value) { + public Builder setVersionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + version_ = value; onChanged(); return this; @@ -2341,19 +2654,21 @@ public Builder setVersionBytes( private java.lang.Object bucket_ = ""; /** + * + * *
      * Output only. The communication channel between the datacenter connector and
      * GCP.
      * 
* * string bucket = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bucket. */ public java.lang.String getBucket() { java.lang.Object ref = bucket_; 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(); bucket_ = s; return s; @@ -2362,21 +2677,22 @@ public java.lang.String getBucket() { } } /** + * + * *
      * Output only. The communication channel between the datacenter connector and
      * GCP.
      * 
* * string bucket = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for bucket. */ - public com.google.protobuf.ByteString - getBucketBytes() { + public com.google.protobuf.ByteString getBucketBytes() { java.lang.Object ref = bucket_; 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); bucket_ = b; return b; } else { @@ -2384,57 +2700,64 @@ public java.lang.String getBucket() { } } /** + * + * *
      * Output only. The communication channel between the datacenter connector and
      * GCP.
      * 
* * string bucket = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bucket to set. * @return This builder for chaining. */ - public Builder setBucket( - java.lang.String value) { + public Builder setBucket(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + bucket_ = value; onChanged(); return this; } /** + * + * *
      * Output only. The communication channel between the datacenter connector and
      * GCP.
      * 
* * string bucket = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearBucket() { - + bucket_ = getDefaultInstance().getBucket(); onChanged(); return this; } /** + * + * *
      * Output only. The communication channel between the datacenter connector and
      * GCP.
      * 
* * string bucket = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for bucket to set. * @return This builder for chaining. */ - public Builder setBucketBytes( - com.google.protobuf.ByteString value) { + public Builder setBucketBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + bucket_ = value; onChanged(); return this; @@ -2442,55 +2765,79 @@ public Builder setBucketBytes( private int state_ = 0; /** + * + * *
      * Output only. State of the DatacenterConnector, as determined by the health
      * checks.
      * 
* - * .google.cloud.vmmigration.v1.DatacenterConnector.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.vmmigration.v1.DatacenterConnector.State state = 7 [(.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 DatacenterConnector, as determined by the health
      * checks.
      * 
* - * .google.cloud.vmmigration.v1.DatacenterConnector.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.vmmigration.v1.DatacenterConnector.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ public Builder setStateValue(int value) { - + state_ = value; onChanged(); return this; } /** + * + * *
      * Output only. State of the DatacenterConnector, as determined by the health
      * checks.
      * 
* - * .google.cloud.vmmigration.v1.DatacenterConnector.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.vmmigration.v1.DatacenterConnector.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ @java.lang.Override public com.google.cloud.vmmigration.v1.DatacenterConnector.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.vmmigration.v1.DatacenterConnector.State result = com.google.cloud.vmmigration.v1.DatacenterConnector.State.valueOf(state_); - return result == null ? com.google.cloud.vmmigration.v1.DatacenterConnector.State.UNRECOGNIZED : result; + com.google.cloud.vmmigration.v1.DatacenterConnector.State result = + com.google.cloud.vmmigration.v1.DatacenterConnector.State.valueOf(state_); + return result == null + ? com.google.cloud.vmmigration.v1.DatacenterConnector.State.UNRECOGNIZED + : result; } /** + * + * *
      * Output only. State of the DatacenterConnector, as determined by the health
      * checks.
      * 
* - * .google.cloud.vmmigration.v1.DatacenterConnector.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.vmmigration.v1.DatacenterConnector.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The state to set. * @return This builder for chaining. */ @@ -2498,22 +2845,27 @@ public Builder setState(com.google.cloud.vmmigration.v1.DatacenterConnector.Stat if (value == null) { throw new NullPointerException(); } - + state_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Output only. State of the DatacenterConnector, as determined by the health
      * checks.
      * 
* - * .google.cloud.vmmigration.v1.DatacenterConnector.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.vmmigration.v1.DatacenterConnector.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearState() { - + state_ = 0; onChanged(); return this; @@ -2521,24 +2873,35 @@ public Builder clearState() { private com.google.protobuf.Timestamp stateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> stateTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + stateTimeBuilder_; /** + * + * *
      * Output only. The time the state was last set.
      * 
* - * .google.protobuf.Timestamp state_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp state_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the stateTime field is set. */ public boolean hasStateTime() { return stateTimeBuilder_ != null || stateTime_ != null; } /** + * + * *
      * Output only. The time the state was last set.
      * 
* - * .google.protobuf.Timestamp state_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp state_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The stateTime. */ public com.google.protobuf.Timestamp getStateTime() { @@ -2549,11 +2912,14 @@ public com.google.protobuf.Timestamp getStateTime() { } } /** + * + * *
      * Output only. The time the state was last set.
      * 
* - * .google.protobuf.Timestamp state_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp state_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setStateTime(com.google.protobuf.Timestamp value) { if (stateTimeBuilder_ == null) { @@ -2569,14 +2935,16 @@ public Builder setStateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time the state was last set.
      * 
* - * .google.protobuf.Timestamp state_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp state_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setStateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setStateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (stateTimeBuilder_ == null) { stateTime_ = builderForValue.build(); onChanged(); @@ -2587,17 +2955,20 @@ public Builder setStateTime( return this; } /** + * + * *
      * Output only. The time the state was last set.
      * 
* - * .google.protobuf.Timestamp state_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp state_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeStateTime(com.google.protobuf.Timestamp value) { if (stateTimeBuilder_ == null) { if (stateTime_ != null) { stateTime_ = - com.google.protobuf.Timestamp.newBuilder(stateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(stateTime_).mergeFrom(value).buildPartial(); } else { stateTime_ = value; } @@ -2609,11 +2980,14 @@ public Builder mergeStateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time the state was last set.
      * 
* - * .google.protobuf.Timestamp state_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp state_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearStateTime() { if (stateTimeBuilder_ == null) { @@ -2627,48 +3001,59 @@ public Builder clearStateTime() { return this; } /** + * + * *
      * Output only. The time the state was last set.
      * 
* - * .google.protobuf.Timestamp state_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp state_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getStateTimeBuilder() { - + onChanged(); return getStateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The time the state was last set.
      * 
* - * .google.protobuf.Timestamp state_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp state_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getStateTimeOrBuilder() { if (stateTimeBuilder_ != null) { return stateTimeBuilder_.getMessageOrBuilder(); } else { - return stateTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : stateTime_; + return stateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : stateTime_; } } /** + * + * *
      * Output only. The time the state was last set.
      * 
* - * .google.protobuf.Timestamp state_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp state_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> getStateTimeFieldBuilder() { if (stateTimeBuilder_ == null) { - stateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getStateTime(), - getParentForChildren(), - isClean()); + stateTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getStateTime(), getParentForChildren(), isClean()); stateTime_ = null; } return stateTimeBuilder_; @@ -2676,26 +3061,33 @@ public com.google.protobuf.TimestampOrBuilder getStateTimeOrBuilder() { private com.google.rpc.Status error_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> errorBuilder_; + com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> + errorBuilder_; /** + * + * *
      * Output only. Provides details on the state of the Datacenter Connector in
      * case of an error.
      * 
* * .google.rpc.Status error = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return Whether the error field is set. */ public boolean hasError() { return errorBuilder_ != null || error_ != null; } /** + * + * *
      * Output only. Provides details on the state of the Datacenter Connector in
      * case of an error.
      * 
* * .google.rpc.Status error = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The error. */ public com.google.rpc.Status getError() { @@ -2706,6 +3098,8 @@ public com.google.rpc.Status getError() { } } /** + * + * *
      * Output only. Provides details on the state of the Datacenter Connector in
      * case of an error.
@@ -2727,6 +3121,8 @@ public Builder setError(com.google.rpc.Status value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. Provides details on the state of the Datacenter Connector in
      * case of an error.
@@ -2734,8 +3130,7 @@ public Builder setError(com.google.rpc.Status value) {
      *
      * .google.rpc.Status error = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
      */
-    public Builder setError(
-        com.google.rpc.Status.Builder builderForValue) {
+    public Builder setError(com.google.rpc.Status.Builder builderForValue) {
       if (errorBuilder_ == null) {
         error_ = builderForValue.build();
         onChanged();
@@ -2746,6 +3141,8 @@ public Builder setError(
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. Provides details on the state of the Datacenter Connector in
      * case of an error.
@@ -2756,8 +3153,7 @@ public Builder setError(
     public Builder mergeError(com.google.rpc.Status value) {
       if (errorBuilder_ == null) {
         if (error_ != null) {
-          error_ =
-            com.google.rpc.Status.newBuilder(error_).mergeFrom(value).buildPartial();
+          error_ = com.google.rpc.Status.newBuilder(error_).mergeFrom(value).buildPartial();
         } else {
           error_ = value;
         }
@@ -2769,6 +3165,8 @@ public Builder mergeError(com.google.rpc.Status value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. Provides details on the state of the Datacenter Connector in
      * case of an error.
@@ -2788,6 +3186,8 @@ public Builder clearError() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. Provides details on the state of the Datacenter Connector in
      * case of an error.
@@ -2796,11 +3196,13 @@ public Builder clearError() {
      * .google.rpc.Status error = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
      */
     public com.google.rpc.Status.Builder getErrorBuilder() {
-      
+
       onChanged();
       return getErrorFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Output only. Provides details on the state of the Datacenter Connector in
      * case of an error.
@@ -2812,11 +3214,12 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() {
       if (errorBuilder_ != null) {
         return errorBuilder_.getMessageOrBuilder();
       } else {
-        return error_ == null ?
-            com.google.rpc.Status.getDefaultInstance() : error_;
+        return error_ == null ? com.google.rpc.Status.getDefaultInstance() : error_;
       }
     }
     /**
+     *
+     *
      * 
      * Output only. Provides details on the state of the Datacenter Connector in
      * case of an error.
@@ -2825,14 +3228,14 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() {
      * .google.rpc.Status error = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
      */
     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>
         getErrorFieldBuilder() {
       if (errorBuilder_ == null) {
-        errorBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder>(
-                getError(),
-                getParentForChildren(),
-                isClean());
+        errorBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.rpc.Status,
+                com.google.rpc.Status.Builder,
+                com.google.rpc.StatusOrBuilder>(getError(), getParentForChildren(), isClean());
         error_ = null;
       }
       return errorBuilder_;
@@ -2840,20 +3243,24 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() {
 
     private java.lang.Object applianceInfrastructureVersion_ = "";
     /**
+     *
+     *
      * 
      * Output only. Appliance OVA version.
      * This is the OVA which is manually installed by the user and contains the
      * infrastructure for the automatically updatable components on the appliance.
      * 
* - * string appliance_infrastructure_version = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * string appliance_infrastructure_version = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The applianceInfrastructureVersion. */ public java.lang.String getApplianceInfrastructureVersion() { java.lang.Object ref = applianceInfrastructureVersion_; 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(); applianceInfrastructureVersion_ = s; return s; @@ -2862,22 +3269,25 @@ public java.lang.String getApplianceInfrastructureVersion() { } } /** + * + * *
      * Output only. Appliance OVA version.
      * This is the OVA which is manually installed by the user and contains the
      * infrastructure for the automatically updatable components on the appliance.
      * 
* - * string appliance_infrastructure_version = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * string appliance_infrastructure_version = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The bytes for applianceInfrastructureVersion. */ - public com.google.protobuf.ByteString - getApplianceInfrastructureVersionBytes() { + public com.google.protobuf.ByteString getApplianceInfrastructureVersionBytes() { java.lang.Object ref = applianceInfrastructureVersion_; 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); applianceInfrastructureVersion_ = b; return b; } else { @@ -2885,60 +3295,73 @@ public java.lang.String getApplianceInfrastructureVersion() { } } /** + * + * *
      * Output only. Appliance OVA version.
      * This is the OVA which is manually installed by the user and contains the
      * infrastructure for the automatically updatable components on the appliance.
      * 
* - * string appliance_infrastructure_version = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * string appliance_infrastructure_version = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The applianceInfrastructureVersion to set. * @return This builder for chaining. */ - public Builder setApplianceInfrastructureVersion( - java.lang.String value) { + public Builder setApplianceInfrastructureVersion(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + applianceInfrastructureVersion_ = value; onChanged(); return this; } /** + * + * *
      * Output only. Appliance OVA version.
      * This is the OVA which is manually installed by the user and contains the
      * infrastructure for the automatically updatable components on the appliance.
      * 
* - * string appliance_infrastructure_version = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * string appliance_infrastructure_version = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearApplianceInfrastructureVersion() { - + applianceInfrastructureVersion_ = getDefaultInstance().getApplianceInfrastructureVersion(); onChanged(); return this; } /** + * + * *
      * Output only. Appliance OVA version.
      * This is the OVA which is manually installed by the user and contains the
      * infrastructure for the automatically updatable components on the appliance.
      * 
* - * string appliance_infrastructure_version = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * string appliance_infrastructure_version = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The bytes for applianceInfrastructureVersion to set. * @return This builder for chaining. */ - public Builder setApplianceInfrastructureVersionBytes( - com.google.protobuf.ByteString value) { + public Builder setApplianceInfrastructureVersionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + applianceInfrastructureVersion_ = value; onChanged(); return this; @@ -2946,20 +3369,23 @@ public Builder setApplianceInfrastructureVersionBytes( private java.lang.Object applianceSoftwareVersion_ = ""; /** + * + * *
      * Output only. Appliance last installed update bundle version.
      * This is the version of the automatically updatable components on the
      * appliance.
      * 
* - * string appliance_software_version = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string appliance_software_version = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The applianceSoftwareVersion. */ public java.lang.String getApplianceSoftwareVersion() { java.lang.Object ref = applianceSoftwareVersion_; 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(); applianceSoftwareVersion_ = s; return s; @@ -2968,22 +3394,24 @@ public java.lang.String getApplianceSoftwareVersion() { } } /** + * + * *
      * Output only. Appliance last installed update bundle version.
      * This is the version of the automatically updatable components on the
      * appliance.
      * 
* - * string appliance_software_version = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string appliance_software_version = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The bytes for applianceSoftwareVersion. */ - public com.google.protobuf.ByteString - getApplianceSoftwareVersionBytes() { + public com.google.protobuf.ByteString getApplianceSoftwareVersionBytes() { java.lang.Object ref = applianceSoftwareVersion_; 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); applianceSoftwareVersion_ = b; return b; } else { @@ -2991,60 +3419,70 @@ public java.lang.String getApplianceSoftwareVersion() { } } /** + * + * *
      * Output only. Appliance last installed update bundle version.
      * This is the version of the automatically updatable components on the
      * appliance.
      * 
* - * string appliance_software_version = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string appliance_software_version = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The applianceSoftwareVersion to set. * @return This builder for chaining. */ - public Builder setApplianceSoftwareVersion( - java.lang.String value) { + public Builder setApplianceSoftwareVersion(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + applianceSoftwareVersion_ = value; onChanged(); return this; } /** + * + * *
      * Output only. Appliance last installed update bundle version.
      * This is the version of the automatically updatable components on the
      * appliance.
      * 
* - * string appliance_software_version = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string appliance_software_version = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearApplianceSoftwareVersion() { - + applianceSoftwareVersion_ = getDefaultInstance().getApplianceSoftwareVersion(); onChanged(); return this; } /** + * + * *
      * Output only. Appliance last installed update bundle version.
      * This is the version of the automatically updatable components on the
      * appliance.
      * 
* - * string appliance_software_version = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string appliance_software_version = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The bytes for applianceSoftwareVersion to set. * @return This builder for chaining. */ - public Builder setApplianceSoftwareVersionBytes( - com.google.protobuf.ByteString value) { + public Builder setApplianceSoftwareVersionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + applianceSoftwareVersion_ = value; onChanged(); return this; @@ -3052,39 +3490,58 @@ public Builder setApplianceSoftwareVersionBytes( private com.google.cloud.vmmigration.v1.AvailableUpdates availableVersions_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.vmmigration.v1.AvailableUpdates, com.google.cloud.vmmigration.v1.AvailableUpdates.Builder, com.google.cloud.vmmigration.v1.AvailableUpdatesOrBuilder> availableVersionsBuilder_; + com.google.cloud.vmmigration.v1.AvailableUpdates, + com.google.cloud.vmmigration.v1.AvailableUpdates.Builder, + com.google.cloud.vmmigration.v1.AvailableUpdatesOrBuilder> + availableVersionsBuilder_; /** + * + * *
      * Output only. The available versions for updating this appliance.
      * 
* - * .google.cloud.vmmigration.v1.AvailableUpdates available_versions = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.vmmigration.v1.AvailableUpdates available_versions = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the availableVersions field is set. */ public boolean hasAvailableVersions() { return availableVersionsBuilder_ != null || availableVersions_ != null; } /** + * + * *
      * Output only. The available versions for updating this appliance.
      * 
* - * .google.cloud.vmmigration.v1.AvailableUpdates available_versions = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.vmmigration.v1.AvailableUpdates available_versions = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The availableVersions. */ public com.google.cloud.vmmigration.v1.AvailableUpdates getAvailableVersions() { if (availableVersionsBuilder_ == null) { - return availableVersions_ == null ? com.google.cloud.vmmigration.v1.AvailableUpdates.getDefaultInstance() : availableVersions_; + return availableVersions_ == null + ? com.google.cloud.vmmigration.v1.AvailableUpdates.getDefaultInstance() + : availableVersions_; } else { return availableVersionsBuilder_.getMessage(); } } /** + * + * *
      * Output only. The available versions for updating this appliance.
      * 
* - * .google.cloud.vmmigration.v1.AvailableUpdates available_versions = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.vmmigration.v1.AvailableUpdates available_versions = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setAvailableVersions(com.google.cloud.vmmigration.v1.AvailableUpdates value) { if (availableVersionsBuilder_ == null) { @@ -3100,11 +3557,15 @@ public Builder setAvailableVersions(com.google.cloud.vmmigration.v1.AvailableUpd return this; } /** + * + * *
      * Output only. The available versions for updating this appliance.
      * 
* - * .google.cloud.vmmigration.v1.AvailableUpdates available_versions = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.vmmigration.v1.AvailableUpdates available_versions = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setAvailableVersions( com.google.cloud.vmmigration.v1.AvailableUpdates.Builder builderForValue) { @@ -3118,17 +3579,23 @@ public Builder setAvailableVersions( return this; } /** + * + * *
      * Output only. The available versions for updating this appliance.
      * 
* - * .google.cloud.vmmigration.v1.AvailableUpdates available_versions = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.vmmigration.v1.AvailableUpdates available_versions = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeAvailableVersions(com.google.cloud.vmmigration.v1.AvailableUpdates value) { if (availableVersionsBuilder_ == null) { if (availableVersions_ != null) { availableVersions_ = - com.google.cloud.vmmigration.v1.AvailableUpdates.newBuilder(availableVersions_).mergeFrom(value).buildPartial(); + com.google.cloud.vmmigration.v1.AvailableUpdates.newBuilder(availableVersions_) + .mergeFrom(value) + .buildPartial(); } else { availableVersions_ = value; } @@ -3140,11 +3607,15 @@ public Builder mergeAvailableVersions(com.google.cloud.vmmigration.v1.AvailableU return this; } /** + * + * *
      * Output only. The available versions for updating this appliance.
      * 
* - * .google.cloud.vmmigration.v1.AvailableUpdates available_versions = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.vmmigration.v1.AvailableUpdates available_versions = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearAvailableVersions() { if (availableVersionsBuilder_ == null) { @@ -3158,48 +3629,65 @@ public Builder clearAvailableVersions() { return this; } /** + * + * *
      * Output only. The available versions for updating this appliance.
      * 
* - * .google.cloud.vmmigration.v1.AvailableUpdates available_versions = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.vmmigration.v1.AvailableUpdates available_versions = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.vmmigration.v1.AvailableUpdates.Builder getAvailableVersionsBuilder() { - + onChanged(); return getAvailableVersionsFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The available versions for updating this appliance.
      * 
* - * .google.cloud.vmmigration.v1.AvailableUpdates available_versions = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.vmmigration.v1.AvailableUpdates available_versions = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.vmmigration.v1.AvailableUpdatesOrBuilder getAvailableVersionsOrBuilder() { + public com.google.cloud.vmmigration.v1.AvailableUpdatesOrBuilder + getAvailableVersionsOrBuilder() { if (availableVersionsBuilder_ != null) { return availableVersionsBuilder_.getMessageOrBuilder(); } else { - return availableVersions_ == null ? - com.google.cloud.vmmigration.v1.AvailableUpdates.getDefaultInstance() : availableVersions_; + return availableVersions_ == null + ? com.google.cloud.vmmigration.v1.AvailableUpdates.getDefaultInstance() + : availableVersions_; } } /** + * + * *
      * Output only. The available versions for updating this appliance.
      * 
* - * .google.cloud.vmmigration.v1.AvailableUpdates available_versions = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.vmmigration.v1.AvailableUpdates available_versions = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.vmmigration.v1.AvailableUpdates, com.google.cloud.vmmigration.v1.AvailableUpdates.Builder, com.google.cloud.vmmigration.v1.AvailableUpdatesOrBuilder> + com.google.cloud.vmmigration.v1.AvailableUpdates, + com.google.cloud.vmmigration.v1.AvailableUpdates.Builder, + com.google.cloud.vmmigration.v1.AvailableUpdatesOrBuilder> getAvailableVersionsFieldBuilder() { if (availableVersionsBuilder_ == null) { - availableVersionsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.vmmigration.v1.AvailableUpdates, com.google.cloud.vmmigration.v1.AvailableUpdates.Builder, com.google.cloud.vmmigration.v1.AvailableUpdatesOrBuilder>( - getAvailableVersions(), - getParentForChildren(), - isClean()); + availableVersionsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.vmmigration.v1.AvailableUpdates, + com.google.cloud.vmmigration.v1.AvailableUpdates.Builder, + com.google.cloud.vmmigration.v1.AvailableUpdatesOrBuilder>( + getAvailableVersions(), getParentForChildren(), isClean()); availableVersions_ = null; } return availableVersionsBuilder_; @@ -3207,39 +3695,58 @@ public com.google.cloud.vmmigration.v1.AvailableUpdatesOrBuilder getAvailableVer private com.google.cloud.vmmigration.v1.UpgradeStatus upgradeStatus_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.vmmigration.v1.UpgradeStatus, com.google.cloud.vmmigration.v1.UpgradeStatus.Builder, com.google.cloud.vmmigration.v1.UpgradeStatusOrBuilder> upgradeStatusBuilder_; + com.google.cloud.vmmigration.v1.UpgradeStatus, + com.google.cloud.vmmigration.v1.UpgradeStatus.Builder, + com.google.cloud.vmmigration.v1.UpgradeStatusOrBuilder> + upgradeStatusBuilder_; /** + * + * *
      * Output only. The status of the current / last upgradeAppliance operation.
      * 
* - * .google.cloud.vmmigration.v1.UpgradeStatus upgrade_status = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.vmmigration.v1.UpgradeStatus upgrade_status = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the upgradeStatus field is set. */ public boolean hasUpgradeStatus() { return upgradeStatusBuilder_ != null || upgradeStatus_ != null; } /** + * + * *
      * Output only. The status of the current / last upgradeAppliance operation.
      * 
* - * .google.cloud.vmmigration.v1.UpgradeStatus upgrade_status = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.vmmigration.v1.UpgradeStatus upgrade_status = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The upgradeStatus. */ public com.google.cloud.vmmigration.v1.UpgradeStatus getUpgradeStatus() { if (upgradeStatusBuilder_ == null) { - return upgradeStatus_ == null ? com.google.cloud.vmmigration.v1.UpgradeStatus.getDefaultInstance() : upgradeStatus_; + return upgradeStatus_ == null + ? com.google.cloud.vmmigration.v1.UpgradeStatus.getDefaultInstance() + : upgradeStatus_; } else { return upgradeStatusBuilder_.getMessage(); } } /** + * + * *
      * Output only. The status of the current / last upgradeAppliance operation.
      * 
* - * .google.cloud.vmmigration.v1.UpgradeStatus upgrade_status = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.vmmigration.v1.UpgradeStatus upgrade_status = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setUpgradeStatus(com.google.cloud.vmmigration.v1.UpgradeStatus value) { if (upgradeStatusBuilder_ == null) { @@ -3255,11 +3762,15 @@ public Builder setUpgradeStatus(com.google.cloud.vmmigration.v1.UpgradeStatus va return this; } /** + * + * *
      * Output only. The status of the current / last upgradeAppliance operation.
      * 
* - * .google.cloud.vmmigration.v1.UpgradeStatus upgrade_status = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.vmmigration.v1.UpgradeStatus upgrade_status = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setUpgradeStatus( com.google.cloud.vmmigration.v1.UpgradeStatus.Builder builderForValue) { @@ -3273,17 +3784,23 @@ public Builder setUpgradeStatus( return this; } /** + * + * *
      * Output only. The status of the current / last upgradeAppliance operation.
      * 
* - * .google.cloud.vmmigration.v1.UpgradeStatus upgrade_status = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.vmmigration.v1.UpgradeStatus upgrade_status = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeUpgradeStatus(com.google.cloud.vmmigration.v1.UpgradeStatus value) { if (upgradeStatusBuilder_ == null) { if (upgradeStatus_ != null) { upgradeStatus_ = - com.google.cloud.vmmigration.v1.UpgradeStatus.newBuilder(upgradeStatus_).mergeFrom(value).buildPartial(); + com.google.cloud.vmmigration.v1.UpgradeStatus.newBuilder(upgradeStatus_) + .mergeFrom(value) + .buildPartial(); } else { upgradeStatus_ = value; } @@ -3295,11 +3812,15 @@ public Builder mergeUpgradeStatus(com.google.cloud.vmmigration.v1.UpgradeStatus return this; } /** + * + * *
      * Output only. The status of the current / last upgradeAppliance operation.
      * 
* - * .google.cloud.vmmigration.v1.UpgradeStatus upgrade_status = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.vmmigration.v1.UpgradeStatus upgrade_status = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearUpgradeStatus() { if (upgradeStatusBuilder_ == null) { @@ -3313,55 +3834,71 @@ public Builder clearUpgradeStatus() { return this; } /** + * + * *
      * Output only. The status of the current / last upgradeAppliance operation.
      * 
* - * .google.cloud.vmmigration.v1.UpgradeStatus upgrade_status = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.vmmigration.v1.UpgradeStatus upgrade_status = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.vmmigration.v1.UpgradeStatus.Builder getUpgradeStatusBuilder() { - + onChanged(); return getUpgradeStatusFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The status of the current / last upgradeAppliance operation.
      * 
* - * .google.cloud.vmmigration.v1.UpgradeStatus upgrade_status = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.vmmigration.v1.UpgradeStatus upgrade_status = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.vmmigration.v1.UpgradeStatusOrBuilder getUpgradeStatusOrBuilder() { if (upgradeStatusBuilder_ != null) { return upgradeStatusBuilder_.getMessageOrBuilder(); } else { - return upgradeStatus_ == null ? - com.google.cloud.vmmigration.v1.UpgradeStatus.getDefaultInstance() : upgradeStatus_; + return upgradeStatus_ == null + ? com.google.cloud.vmmigration.v1.UpgradeStatus.getDefaultInstance() + : upgradeStatus_; } } /** + * + * *
      * Output only. The status of the current / last upgradeAppliance operation.
      * 
* - * .google.cloud.vmmigration.v1.UpgradeStatus upgrade_status = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.vmmigration.v1.UpgradeStatus upgrade_status = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.vmmigration.v1.UpgradeStatus, com.google.cloud.vmmigration.v1.UpgradeStatus.Builder, com.google.cloud.vmmigration.v1.UpgradeStatusOrBuilder> + com.google.cloud.vmmigration.v1.UpgradeStatus, + com.google.cloud.vmmigration.v1.UpgradeStatus.Builder, + com.google.cloud.vmmigration.v1.UpgradeStatusOrBuilder> getUpgradeStatusFieldBuilder() { if (upgradeStatusBuilder_ == null) { - upgradeStatusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.vmmigration.v1.UpgradeStatus, com.google.cloud.vmmigration.v1.UpgradeStatus.Builder, com.google.cloud.vmmigration.v1.UpgradeStatusOrBuilder>( - getUpgradeStatus(), - getParentForChildren(), - isClean()); + upgradeStatusBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.vmmigration.v1.UpgradeStatus, + com.google.cloud.vmmigration.v1.UpgradeStatus.Builder, + com.google.cloud.vmmigration.v1.UpgradeStatusOrBuilder>( + getUpgradeStatus(), getParentForChildren(), isClean()); upgradeStatus_ = null; } return upgradeStatusBuilder_; } + @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); } @@ -3371,12 +3908,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.vmmigration.v1.DatacenterConnector) } // @@protoc_insertion_point(class_scope:google.cloud.vmmigration.v1.DatacenterConnector) private static final com.google.cloud.vmmigration.v1.DatacenterConnector DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.vmmigration.v1.DatacenterConnector(); } @@ -3385,16 +3922,16 @@ public static com.google.cloud.vmmigration.v1.DatacenterConnector getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DatacenterConnector parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DatacenterConnector(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DatacenterConnector parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DatacenterConnector(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3409,6 +3946,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.vmmigration.v1.DatacenterConnector getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/DatacenterConnectorName.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/DatacenterConnectorName.java similarity index 100% rename from owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/DatacenterConnectorName.java rename to proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/DatacenterConnectorName.java diff --git a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/DatacenterConnectorOrBuilder.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/DatacenterConnectorOrBuilder.java similarity index 72% rename from owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/DatacenterConnectorOrBuilder.java rename to proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/DatacenterConnectorOrBuilder.java index 258dab9..68c2489 100644 --- a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/DatacenterConnectorOrBuilder.java +++ b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/DatacenterConnectorOrBuilder.java @@ -1,90 +1,135 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; -public interface DatacenterConnectorOrBuilder extends +public interface DatacenterConnectorOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.DatacenterConnector) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. The time the connector was created (as an API call, not when
    * it was actually installed).
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** + * + * *
    * Output only. The time the connector was created (as an API call, not when
    * it was actually installed).
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** + * + * *
    * Output only. The time the connector was created (as an API call, not when
    * it was actually installed).
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** + * + * *
    * Output only. The last time the connector was updated with an API call.
    * 
* - * .google.protobuf.Timestamp update_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** + * + * *
    * Output only. The last time the connector was updated with an API call.
    * 
* - * .google.protobuf.Timestamp update_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** + * + * *
    * Output only. The last time the connector was updated with an API call.
    * 
* - * .google.protobuf.Timestamp update_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** + * + * *
    * Output only. The connector's name.
    * 
* * string name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Output only. The connector's name.
    * 
* * string name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Immutable. A unique key for this connector. This key is internal to the OVA
    * connector and is supplied with its creation during the registration process
@@ -92,10 +137,13 @@ public interface DatacenterConnectorOrBuilder extends
    * 
* * string registration_id = 12 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The registrationId. */ java.lang.String getRegistrationId(); /** + * + * *
    * Immutable. A unique key for this connector. This key is internal to the OVA
    * connector and is supplied with its creation during the registration process
@@ -103,146 +151,190 @@ public interface DatacenterConnectorOrBuilder extends
    * 
* * string registration_id = 12 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The bytes for registrationId. */ - com.google.protobuf.ByteString - getRegistrationIdBytes(); + com.google.protobuf.ByteString getRegistrationIdBytes(); /** + * + * *
    * The service account to use in the connector when communicating with the
    * cloud.
    * 
* * string service_account = 5; + * * @return The serviceAccount. */ java.lang.String getServiceAccount(); /** + * + * *
    * The service account to use in the connector when communicating with the
    * cloud.
    * 
* * string service_account = 5; + * * @return The bytes for serviceAccount. */ - com.google.protobuf.ByteString - getServiceAccountBytes(); + com.google.protobuf.ByteString getServiceAccountBytes(); /** + * + * *
    * The version running in the DatacenterConnector. This is supplied by the OVA
    * connector during the registration process and can not be modified.
    * 
* * string version = 6; + * * @return The version. */ java.lang.String getVersion(); /** + * + * *
    * The version running in the DatacenterConnector. This is supplied by the OVA
    * connector during the registration process and can not be modified.
    * 
* * string version = 6; + * * @return The bytes for version. */ - com.google.protobuf.ByteString - getVersionBytes(); + com.google.protobuf.ByteString getVersionBytes(); /** + * + * *
    * Output only. The communication channel between the datacenter connector and
    * GCP.
    * 
* * string bucket = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bucket. */ java.lang.String getBucket(); /** + * + * *
    * Output only. The communication channel between the datacenter connector and
    * GCP.
    * 
* * string bucket = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for bucket. */ - com.google.protobuf.ByteString - getBucketBytes(); + com.google.protobuf.ByteString getBucketBytes(); /** + * + * *
    * Output only. State of the DatacenterConnector, as determined by the health
    * checks.
    * 
* - * .google.cloud.vmmigration.v1.DatacenterConnector.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.vmmigration.v1.DatacenterConnector.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** + * + * *
    * Output only. State of the DatacenterConnector, as determined by the health
    * checks.
    * 
* - * .google.cloud.vmmigration.v1.DatacenterConnector.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.vmmigration.v1.DatacenterConnector.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ com.google.cloud.vmmigration.v1.DatacenterConnector.State getState(); /** + * + * *
    * Output only. The time the state was last set.
    * 
* - * .google.protobuf.Timestamp state_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp state_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the stateTime field is set. */ boolean hasStateTime(); /** + * + * *
    * Output only. The time the state was last set.
    * 
* - * .google.protobuf.Timestamp state_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp state_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The stateTime. */ com.google.protobuf.Timestamp getStateTime(); /** + * + * *
    * Output only. The time the state was last set.
    * 
* - * .google.protobuf.Timestamp state_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp state_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getStateTimeOrBuilder(); /** + * + * *
    * Output only. Provides details on the state of the Datacenter Connector in
    * case of an error.
    * 
* * .google.rpc.Status error = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return Whether the error field is set. */ boolean hasError(); /** + * + * *
    * Output only. Provides details on the state of the Datacenter Connector in
    * case of an error.
    * 
* * .google.rpc.Status error = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The error. */ com.google.rpc.Status getError(); /** + * + * *
    * Output only. Provides details on the state of the Datacenter Connector in
    * case of an error.
@@ -253,104 +345,148 @@ public interface DatacenterConnectorOrBuilder extends
   com.google.rpc.StatusOrBuilder getErrorOrBuilder();
 
   /**
+   *
+   *
    * 
    * Output only. Appliance OVA version.
    * This is the OVA which is manually installed by the user and contains the
    * infrastructure for the automatically updatable components on the appliance.
    * 
* - * string appliance_infrastructure_version = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * string appliance_infrastructure_version = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The applianceInfrastructureVersion. */ java.lang.String getApplianceInfrastructureVersion(); /** + * + * *
    * Output only. Appliance OVA version.
    * This is the OVA which is manually installed by the user and contains the
    * infrastructure for the automatically updatable components on the appliance.
    * 
* - * string appliance_infrastructure_version = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * string appliance_infrastructure_version = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The bytes for applianceInfrastructureVersion. */ - com.google.protobuf.ByteString - getApplianceInfrastructureVersionBytes(); + com.google.protobuf.ByteString getApplianceInfrastructureVersionBytes(); /** + * + * *
    * Output only. Appliance last installed update bundle version.
    * This is the version of the automatically updatable components on the
    * appliance.
    * 
* - * string appliance_software_version = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string appliance_software_version = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The applianceSoftwareVersion. */ java.lang.String getApplianceSoftwareVersion(); /** + * + * *
    * Output only. Appliance last installed update bundle version.
    * This is the version of the automatically updatable components on the
    * appliance.
    * 
* - * string appliance_software_version = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string appliance_software_version = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The bytes for applianceSoftwareVersion. */ - com.google.protobuf.ByteString - getApplianceSoftwareVersionBytes(); + com.google.protobuf.ByteString getApplianceSoftwareVersionBytes(); /** + * + * *
    * Output only. The available versions for updating this appliance.
    * 
* - * .google.cloud.vmmigration.v1.AvailableUpdates available_versions = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.vmmigration.v1.AvailableUpdates available_versions = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the availableVersions field is set. */ boolean hasAvailableVersions(); /** + * + * *
    * Output only. The available versions for updating this appliance.
    * 
* - * .google.cloud.vmmigration.v1.AvailableUpdates available_versions = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.vmmigration.v1.AvailableUpdates available_versions = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The availableVersions. */ com.google.cloud.vmmigration.v1.AvailableUpdates getAvailableVersions(); /** + * + * *
    * Output only. The available versions for updating this appliance.
    * 
* - * .google.cloud.vmmigration.v1.AvailableUpdates available_versions = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.vmmigration.v1.AvailableUpdates available_versions = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.cloud.vmmigration.v1.AvailableUpdatesOrBuilder getAvailableVersionsOrBuilder(); /** + * + * *
    * Output only. The status of the current / last upgradeAppliance operation.
    * 
* - * .google.cloud.vmmigration.v1.UpgradeStatus upgrade_status = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.vmmigration.v1.UpgradeStatus upgrade_status = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the upgradeStatus field is set. */ boolean hasUpgradeStatus(); /** + * + * *
    * Output only. The status of the current / last upgradeAppliance operation.
    * 
* - * .google.cloud.vmmigration.v1.UpgradeStatus upgrade_status = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.vmmigration.v1.UpgradeStatus upgrade_status = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The upgradeStatus. */ com.google.cloud.vmmigration.v1.UpgradeStatus getUpgradeStatus(); /** + * + * *
    * Output only. The status of the current / last upgradeAppliance operation.
    * 
* - * .google.cloud.vmmigration.v1.UpgradeStatus upgrade_status = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.vmmigration.v1.UpgradeStatus upgrade_status = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.cloud.vmmigration.v1.UpgradeStatusOrBuilder getUpgradeStatusOrBuilder(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/DeleteDatacenterConnectorRequest.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/DeleteDatacenterConnectorRequest.java similarity index 69% rename from owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/DeleteDatacenterConnectorRequest.java rename to proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/DeleteDatacenterConnectorRequest.java index 3f25a35..28fecc2 100644 --- a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/DeleteDatacenterConnectorRequest.java +++ b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/DeleteDatacenterConnectorRequest.java @@ -1,24 +1,43 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; /** + * + * *
  * Request message for 'DeleteDatacenterConnector' request.
  * 
* * Protobuf type {@code google.cloud.vmmigration.v1.DeleteDatacenterConnectorRequest} */ -public final class DeleteDatacenterConnectorRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DeleteDatacenterConnectorRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.vmmigration.v1.DeleteDatacenterConnectorRequest) DeleteDatacenterConnectorRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeleteDatacenterConnectorRequest.newBuilder() to construct. - private DeleteDatacenterConnectorRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private DeleteDatacenterConnectorRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeleteDatacenterConnectorRequest() { name_ = ""; requestId_ = ""; @@ -26,16 +45,15 @@ private DeleteDatacenterConnectorRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeleteDatacenterConnectorRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private DeleteDatacenterConnectorRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,25 +72,27 @@ private DeleteDatacenterConnectorRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + name_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - requestId_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + requestId_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -80,34 +100,41 @@ private DeleteDatacenterConnectorRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_DeleteDatacenterConnectorRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_DeleteDatacenterConnectorRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_DeleteDatacenterConnectorRequest_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_DeleteDatacenterConnectorRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.DeleteDatacenterConnectorRequest.class, com.google.cloud.vmmigration.v1.DeleteDatacenterConnectorRequest.Builder.class); + com.google.cloud.vmmigration.v1.DeleteDatacenterConnectorRequest.class, + com.google.cloud.vmmigration.v1.DeleteDatacenterConnectorRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The DatacenterConnector name.
    * 
* - * 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 @@ -116,29 +143,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 DatacenterConnector name.
    * 
* - * 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 { @@ -149,6 +178,8 @@ public java.lang.String getName() { public static final int REQUEST_ID_FIELD_NUMBER = 2; private volatile java.lang.Object requestId_; /** + * + * *
    * A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -164,6 +195,7 @@ public java.lang.String getName() {
    * 
* * string request_id = 2; + * * @return The requestId. */ @java.lang.Override @@ -172,14 +204,15 @@ public java.lang.String getRequestId() { 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(); requestId_ = s; return s; } } /** + * + * *
    * A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -195,16 +228,15 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 2; + * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; 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); requestId_ = b; return b; } else { @@ -213,6 +245,7 @@ public java.lang.String getRequestId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -224,8 +257,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_); } @@ -255,17 +287,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.vmmigration.v1.DeleteDatacenterConnectorRequest)) { return super.equals(obj); } - com.google.cloud.vmmigration.v1.DeleteDatacenterConnectorRequest other = (com.google.cloud.vmmigration.v1.DeleteDatacenterConnectorRequest) obj; + com.google.cloud.vmmigration.v1.DeleteDatacenterConnectorRequest other = + (com.google.cloud.vmmigration.v1.DeleteDatacenterConnectorRequest) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getRequestId() - .equals(other.getRequestId())) return false; + if (!getName().equals(other.getName())) return false; + if (!getRequestId().equals(other.getRequestId())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -287,117 +318,127 @@ public int hashCode() { } public static com.google.cloud.vmmigration.v1.DeleteDatacenterConnectorRequest 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.vmmigration.v1.DeleteDatacenterConnectorRequest 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.vmmigration.v1.DeleteDatacenterConnectorRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.vmmigration.v1.DeleteDatacenterConnectorRequest 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.vmmigration.v1.DeleteDatacenterConnectorRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.vmmigration.v1.DeleteDatacenterConnectorRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.vmmigration.v1.DeleteDatacenterConnectorRequest 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.vmmigration.v1.DeleteDatacenterConnectorRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.vmmigration.v1.DeleteDatacenterConnectorRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.vmmigration.v1.DeleteDatacenterConnectorRequest 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.vmmigration.v1.DeleteDatacenterConnectorRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.vmmigration.v1.DeleteDatacenterConnectorRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.vmmigration.v1.DeleteDatacenterConnectorRequest 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.vmmigration.v1.DeleteDatacenterConnectorRequest 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.vmmigration.v1.DeleteDatacenterConnectorRequest 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.vmmigration.v1.DeleteDatacenterConnectorRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.vmmigration.v1.DeleteDatacenterConnectorRequest 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 message for 'DeleteDatacenterConnector' request.
    * 
* * Protobuf type {@code google.cloud.vmmigration.v1.DeleteDatacenterConnectorRequest} */ - 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.vmmigration.v1.DeleteDatacenterConnectorRequest) com.google.cloud.vmmigration.v1.DeleteDatacenterConnectorRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_DeleteDatacenterConnectorRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_DeleteDatacenterConnectorRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_DeleteDatacenterConnectorRequest_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_DeleteDatacenterConnectorRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.DeleteDatacenterConnectorRequest.class, com.google.cloud.vmmigration.v1.DeleteDatacenterConnectorRequest.Builder.class); + com.google.cloud.vmmigration.v1.DeleteDatacenterConnectorRequest.class, + com.google.cloud.vmmigration.v1.DeleteDatacenterConnectorRequest.Builder.class); } // Construct using com.google.cloud.vmmigration.v1.DeleteDatacenterConnectorRequest.newBuilder() @@ -405,16 +446,15 @@ 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) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -426,13 +466,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_DeleteDatacenterConnectorRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_DeleteDatacenterConnectorRequest_descriptor; } @java.lang.Override - public com.google.cloud.vmmigration.v1.DeleteDatacenterConnectorRequest getDefaultInstanceForType() { + public com.google.cloud.vmmigration.v1.DeleteDatacenterConnectorRequest + getDefaultInstanceForType() { return com.google.cloud.vmmigration.v1.DeleteDatacenterConnectorRequest.getDefaultInstance(); } @@ -447,7 +488,8 @@ public com.google.cloud.vmmigration.v1.DeleteDatacenterConnectorRequest build() @java.lang.Override public com.google.cloud.vmmigration.v1.DeleteDatacenterConnectorRequest buildPartial() { - com.google.cloud.vmmigration.v1.DeleteDatacenterConnectorRequest result = new com.google.cloud.vmmigration.v1.DeleteDatacenterConnectorRequest(this); + com.google.cloud.vmmigration.v1.DeleteDatacenterConnectorRequest result = + new com.google.cloud.vmmigration.v1.DeleteDatacenterConnectorRequest(this); result.name_ = name_; result.requestId_ = requestId_; onBuilt(); @@ -458,46 +500,50 @@ public com.google.cloud.vmmigration.v1.DeleteDatacenterConnectorRequest buildPar 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.vmmigration.v1.DeleteDatacenterConnectorRequest) { - return mergeFrom((com.google.cloud.vmmigration.v1.DeleteDatacenterConnectorRequest)other); + return mergeFrom((com.google.cloud.vmmigration.v1.DeleteDatacenterConnectorRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.vmmigration.v1.DeleteDatacenterConnectorRequest other) { - if (other == com.google.cloud.vmmigration.v1.DeleteDatacenterConnectorRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.vmmigration.v1.DeleteDatacenterConnectorRequest other) { + if (other + == com.google.cloud.vmmigration.v1.DeleteDatacenterConnectorRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -525,7 +571,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.vmmigration.v1.DeleteDatacenterConnectorRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.vmmigration.v1.DeleteDatacenterConnectorRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -537,18 +585,22 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The DatacenterConnector name.
      * 
* - * 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; @@ -557,20 +609,23 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The DatacenterConnector name.
      * 
* - * 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 { @@ -578,54 +633,67 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The DatacenterConnector name.
      * 
* - * 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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The DatacenterConnector name.
      * 
* - * 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() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The DatacenterConnector name.
      * 
* - * 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) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -633,6 +701,8 @@ public Builder setNameBytes( private java.lang.Object requestId_ = ""; /** + * + * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -648,13 +718,13 @@ public Builder setNameBytes(
      * 
* * string request_id = 2; + * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; 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(); requestId_ = s; return s; @@ -663,6 +733,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -678,15 +750,14 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 2; + * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; 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); requestId_ = b; return b; } else { @@ -694,6 +765,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -709,20 +782,22 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 2; + * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId( - java.lang.String value) { + public Builder setRequestId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + requestId_ = value; onChanged(); return this; } /** + * + * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -738,15 +813,18 @@ public Builder setRequestId(
      * 
* * string request_id = 2; + * * @return This builder for chaining. */ public Builder clearRequestId() { - + requestId_ = getDefaultInstance().getRequestId(); onChanged(); return this; } /** + * + * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -762,23 +840,23 @@ public Builder clearRequestId() {
      * 
* * string request_id = 2; + * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes( - com.google.protobuf.ByteString value) { + public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + requestId_ = 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); } @@ -788,30 +866,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.vmmigration.v1.DeleteDatacenterConnectorRequest) } // @@protoc_insertion_point(class_scope:google.cloud.vmmigration.v1.DeleteDatacenterConnectorRequest) - private static final com.google.cloud.vmmigration.v1.DeleteDatacenterConnectorRequest DEFAULT_INSTANCE; + private static final com.google.cloud.vmmigration.v1.DeleteDatacenterConnectorRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.vmmigration.v1.DeleteDatacenterConnectorRequest(); } - public static com.google.cloud.vmmigration.v1.DeleteDatacenterConnectorRequest getDefaultInstance() { + public static com.google.cloud.vmmigration.v1.DeleteDatacenterConnectorRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteDatacenterConnectorRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteDatacenterConnectorRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteDatacenterConnectorRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteDatacenterConnectorRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -823,9 +903,8 @@ public com.google.protobuf.Parser getParserFor } @java.lang.Override - public com.google.cloud.vmmigration.v1.DeleteDatacenterConnectorRequest getDefaultInstanceForType() { + public com.google.cloud.vmmigration.v1.DeleteDatacenterConnectorRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/DeleteDatacenterConnectorRequestOrBuilder.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/DeleteDatacenterConnectorRequestOrBuilder.java similarity index 68% rename from owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/DeleteDatacenterConnectorRequestOrBuilder.java rename to proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/DeleteDatacenterConnectorRequestOrBuilder.java index 61f2ec8..a717017 100644 --- a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/DeleteDatacenterConnectorRequestOrBuilder.java +++ b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/DeleteDatacenterConnectorRequestOrBuilder.java @@ -1,33 +1,60 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; -public interface DeleteDatacenterConnectorRequestOrBuilder extends +public interface DeleteDatacenterConnectorRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.DeleteDatacenterConnectorRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The DatacenterConnector name.
    * 
* - * 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 DatacenterConnector name.
    * 
* - * 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(); /** + * + * *
    * A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -43,10 +70,13 @@ public interface DeleteDatacenterConnectorRequestOrBuilder extends
    * 
* * string request_id = 2; + * * @return The requestId. */ java.lang.String getRequestId(); /** + * + * *
    * A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -62,8 +92,8 @@ public interface DeleteDatacenterConnectorRequestOrBuilder extends
    * 
* * string request_id = 2; + * * @return The bytes for requestId. */ - com.google.protobuf.ByteString - getRequestIdBytes(); + com.google.protobuf.ByteString getRequestIdBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/DeleteGroupRequest.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/DeleteGroupRequest.java similarity index 72% rename from owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/DeleteGroupRequest.java rename to proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/DeleteGroupRequest.java index a8d3726..c047b30 100644 --- a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/DeleteGroupRequest.java +++ b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/DeleteGroupRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; /** + * + * *
  * Request message for 'DeleteGroup' request.
  * 
* * Protobuf type {@code google.cloud.vmmigration.v1.DeleteGroupRequest} */ -public final class DeleteGroupRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DeleteGroupRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.vmmigration.v1.DeleteGroupRequest) DeleteGroupRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeleteGroupRequest.newBuilder() to construct. private DeleteGroupRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeleteGroupRequest() { name_ = ""; requestId_ = ""; @@ -26,16 +44,15 @@ private DeleteGroupRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeleteGroupRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private DeleteGroupRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,25 +71,27 @@ private DeleteGroupRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + name_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - requestId_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + requestId_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -80,34 +99,41 @@ private DeleteGroupRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_DeleteGroupRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_DeleteGroupRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_DeleteGroupRequest_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_DeleteGroupRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.DeleteGroupRequest.class, com.google.cloud.vmmigration.v1.DeleteGroupRequest.Builder.class); + com.google.cloud.vmmigration.v1.DeleteGroupRequest.class, + com.google.cloud.vmmigration.v1.DeleteGroupRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The Group name.
    * 
* - * 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 @@ -116,29 +142,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 Group name.
    * 
* - * 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 { @@ -149,6 +177,8 @@ public java.lang.String getName() { public static final int REQUEST_ID_FIELD_NUMBER = 2; private volatile java.lang.Object requestId_; /** + * + * *
    * Optional. A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -164,6 +194,7 @@ public java.lang.String getName() {
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ @java.lang.Override @@ -172,14 +203,15 @@ public java.lang.String getRequestId() { 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(); requestId_ = s; return s; } } /** + * + * *
    * Optional. A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -195,16 +227,15 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; 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); requestId_ = b; return b; } else { @@ -213,6 +244,7 @@ public java.lang.String getRequestId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -224,8 +256,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_); } @@ -255,17 +286,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.vmmigration.v1.DeleteGroupRequest)) { return super.equals(obj); } - com.google.cloud.vmmigration.v1.DeleteGroupRequest other = (com.google.cloud.vmmigration.v1.DeleteGroupRequest) obj; + com.google.cloud.vmmigration.v1.DeleteGroupRequest other = + (com.google.cloud.vmmigration.v1.DeleteGroupRequest) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getRequestId() - .equals(other.getRequestId())) return false; + if (!getName().equals(other.getName())) return false; + if (!getRequestId().equals(other.getRequestId())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -287,117 +317,126 @@ public int hashCode() { } public static com.google.cloud.vmmigration.v1.DeleteGroupRequest 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.vmmigration.v1.DeleteGroupRequest 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.vmmigration.v1.DeleteGroupRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.vmmigration.v1.DeleteGroupRequest 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.vmmigration.v1.DeleteGroupRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.vmmigration.v1.DeleteGroupRequest 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.vmmigration.v1.DeleteGroupRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.vmmigration.v1.DeleteGroupRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.vmmigration.v1.DeleteGroupRequest 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.vmmigration.v1.DeleteGroupRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.vmmigration.v1.DeleteGroupRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.vmmigration.v1.DeleteGroupRequest 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.vmmigration.v1.DeleteGroupRequest 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.vmmigration.v1.DeleteGroupRequest 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.vmmigration.v1.DeleteGroupRequest 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 message for 'DeleteGroup' request.
    * 
* * Protobuf type {@code google.cloud.vmmigration.v1.DeleteGroupRequest} */ - 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.vmmigration.v1.DeleteGroupRequest) com.google.cloud.vmmigration.v1.DeleteGroupRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_DeleteGroupRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_DeleteGroupRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_DeleteGroupRequest_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_DeleteGroupRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.DeleteGroupRequest.class, com.google.cloud.vmmigration.v1.DeleteGroupRequest.Builder.class); + com.google.cloud.vmmigration.v1.DeleteGroupRequest.class, + com.google.cloud.vmmigration.v1.DeleteGroupRequest.Builder.class); } // Construct using com.google.cloud.vmmigration.v1.DeleteGroupRequest.newBuilder() @@ -405,16 +444,15 @@ 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) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -426,9 +464,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_DeleteGroupRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_DeleteGroupRequest_descriptor; } @java.lang.Override @@ -447,7 +485,8 @@ public com.google.cloud.vmmigration.v1.DeleteGroupRequest build() { @java.lang.Override public com.google.cloud.vmmigration.v1.DeleteGroupRequest buildPartial() { - com.google.cloud.vmmigration.v1.DeleteGroupRequest result = new com.google.cloud.vmmigration.v1.DeleteGroupRequest(this); + com.google.cloud.vmmigration.v1.DeleteGroupRequest result = + new com.google.cloud.vmmigration.v1.DeleteGroupRequest(this); result.name_ = name_; result.requestId_ = requestId_; onBuilt(); @@ -458,38 +497,39 @@ public com.google.cloud.vmmigration.v1.DeleteGroupRequest buildPartial() { 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.vmmigration.v1.DeleteGroupRequest) { - return mergeFrom((com.google.cloud.vmmigration.v1.DeleteGroupRequest)other); + return mergeFrom((com.google.cloud.vmmigration.v1.DeleteGroupRequest) other); } else { super.mergeFrom(other); return this; @@ -497,7 +537,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.vmmigration.v1.DeleteGroupRequest other) { - if (other == com.google.cloud.vmmigration.v1.DeleteGroupRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.vmmigration.v1.DeleteGroupRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -525,7 +566,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.vmmigration.v1.DeleteGroupRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.vmmigration.v1.DeleteGroupRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -537,18 +579,22 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The Group name.
      * 
* - * 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; @@ -557,20 +603,23 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The Group name.
      * 
* - * 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 { @@ -578,54 +627,67 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The Group name.
      * 
* - * 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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The Group name.
      * 
* - * 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() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The Group name.
      * 
* - * 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) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -633,6 +695,8 @@ public Builder setNameBytes( private java.lang.Object requestId_ = ""; /** + * + * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -648,13 +712,13 @@ public Builder setNameBytes(
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; 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(); requestId_ = s; return s; @@ -663,6 +727,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -678,15 +744,14 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; 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); requestId_ = b; return b; } else { @@ -694,6 +759,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -709,20 +776,22 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId( - java.lang.String value) { + public Builder setRequestId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + requestId_ = value; onChanged(); return this; } /** + * + * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -738,15 +807,18 @@ public Builder setRequestId(
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearRequestId() { - + requestId_ = getDefaultInstance().getRequestId(); onChanged(); return this; } /** + * + * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -762,23 +834,23 @@ public Builder clearRequestId() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes( - com.google.protobuf.ByteString value) { + public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + requestId_ = 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); } @@ -788,12 +860,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.vmmigration.v1.DeleteGroupRequest) } // @@protoc_insertion_point(class_scope:google.cloud.vmmigration.v1.DeleteGroupRequest) private static final com.google.cloud.vmmigration.v1.DeleteGroupRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.vmmigration.v1.DeleteGroupRequest(); } @@ -802,16 +874,16 @@ public static com.google.cloud.vmmigration.v1.DeleteGroupRequest getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteGroupRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteGroupRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteGroupRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteGroupRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -826,6 +898,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.vmmigration.v1.DeleteGroupRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/DeleteGroupRequestOrBuilder.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/DeleteGroupRequestOrBuilder.java similarity index 69% rename from owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/DeleteGroupRequestOrBuilder.java rename to proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/DeleteGroupRequestOrBuilder.java index 01a07b8..1958a77 100644 --- a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/DeleteGroupRequestOrBuilder.java +++ b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/DeleteGroupRequestOrBuilder.java @@ -1,33 +1,60 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; -public interface DeleteGroupRequestOrBuilder extends +public interface DeleteGroupRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.DeleteGroupRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The Group name.
    * 
* - * 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 Group name.
    * 
* - * 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(); /** + * + * *
    * Optional. A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -43,10 +70,13 @@ public interface DeleteGroupRequestOrBuilder extends
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ java.lang.String getRequestId(); /** + * + * *
    * Optional. A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -62,8 +92,8 @@ public interface DeleteGroupRequestOrBuilder extends
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - com.google.protobuf.ByteString - getRequestIdBytes(); + com.google.protobuf.ByteString getRequestIdBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/DeleteMigratingVmRequest.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/DeleteMigratingVmRequest.java similarity index 64% rename from owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/DeleteMigratingVmRequest.java rename to proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/DeleteMigratingVmRequest.java index 0810895..893a4a4 100644 --- a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/DeleteMigratingVmRequest.java +++ b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/DeleteMigratingVmRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; /** + * + * *
  * Request message for 'DeleteMigratingVm' request.
  * 
* * Protobuf type {@code google.cloud.vmmigration.v1.DeleteMigratingVmRequest} */ -public final class DeleteMigratingVmRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DeleteMigratingVmRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.vmmigration.v1.DeleteMigratingVmRequest) DeleteMigratingVmRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeleteMigratingVmRequest.newBuilder() to construct. private DeleteMigratingVmRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeleteMigratingVmRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeleteMigratingVmRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private DeleteMigratingVmRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private DeleteMigratingVmRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,34 +91,41 @@ private DeleteMigratingVmRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_DeleteMigratingVmRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_DeleteMigratingVmRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_DeleteMigratingVmRequest_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_DeleteMigratingVmRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.DeleteMigratingVmRequest.class, com.google.cloud.vmmigration.v1.DeleteMigratingVmRequest.Builder.class); + com.google.cloud.vmmigration.v1.DeleteMigratingVmRequest.class, + com.google.cloud.vmmigration.v1.DeleteMigratingVmRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The name of the MigratingVm.
    * 
* - * 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 @@ -109,29 +134,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 name of the MigratingVm.
    * 
* - * 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 { @@ -140,6 +167,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,8 +179,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_); } @@ -176,15 +203,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.vmmigration.v1.DeleteMigratingVmRequest)) { return super.equals(obj); } - com.google.cloud.vmmigration.v1.DeleteMigratingVmRequest other = (com.google.cloud.vmmigration.v1.DeleteMigratingVmRequest) obj; + com.google.cloud.vmmigration.v1.DeleteMigratingVmRequest other = + (com.google.cloud.vmmigration.v1.DeleteMigratingVmRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -204,117 +231,127 @@ public int hashCode() { } public static com.google.cloud.vmmigration.v1.DeleteMigratingVmRequest 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.vmmigration.v1.DeleteMigratingVmRequest 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.vmmigration.v1.DeleteMigratingVmRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.vmmigration.v1.DeleteMigratingVmRequest 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.vmmigration.v1.DeleteMigratingVmRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.vmmigration.v1.DeleteMigratingVmRequest 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.vmmigration.v1.DeleteMigratingVmRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.vmmigration.v1.DeleteMigratingVmRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.vmmigration.v1.DeleteMigratingVmRequest 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.vmmigration.v1.DeleteMigratingVmRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.vmmigration.v1.DeleteMigratingVmRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.vmmigration.v1.DeleteMigratingVmRequest 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.vmmigration.v1.DeleteMigratingVmRequest 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.vmmigration.v1.DeleteMigratingVmRequest 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.vmmigration.v1.DeleteMigratingVmRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.vmmigration.v1.DeleteMigratingVmRequest 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 message for 'DeleteMigratingVm' request.
    * 
* * Protobuf type {@code google.cloud.vmmigration.v1.DeleteMigratingVmRequest} */ - 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.vmmigration.v1.DeleteMigratingVmRequest) com.google.cloud.vmmigration.v1.DeleteMigratingVmRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_DeleteMigratingVmRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_DeleteMigratingVmRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_DeleteMigratingVmRequest_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_DeleteMigratingVmRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.DeleteMigratingVmRequest.class, com.google.cloud.vmmigration.v1.DeleteMigratingVmRequest.Builder.class); + com.google.cloud.vmmigration.v1.DeleteMigratingVmRequest.class, + com.google.cloud.vmmigration.v1.DeleteMigratingVmRequest.Builder.class); } // Construct using com.google.cloud.vmmigration.v1.DeleteMigratingVmRequest.newBuilder() @@ -322,16 +359,15 @@ 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) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -341,9 +377,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_DeleteMigratingVmRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_DeleteMigratingVmRequest_descriptor; } @java.lang.Override @@ -362,7 +398,8 @@ public com.google.cloud.vmmigration.v1.DeleteMigratingVmRequest build() { @java.lang.Override public com.google.cloud.vmmigration.v1.DeleteMigratingVmRequest buildPartial() { - com.google.cloud.vmmigration.v1.DeleteMigratingVmRequest result = new com.google.cloud.vmmigration.v1.DeleteMigratingVmRequest(this); + com.google.cloud.vmmigration.v1.DeleteMigratingVmRequest result = + new com.google.cloud.vmmigration.v1.DeleteMigratingVmRequest(this); result.name_ = name_; onBuilt(); return result; @@ -372,38 +409,39 @@ public com.google.cloud.vmmigration.v1.DeleteMigratingVmRequest buildPartial() { 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.vmmigration.v1.DeleteMigratingVmRequest) { - return mergeFrom((com.google.cloud.vmmigration.v1.DeleteMigratingVmRequest)other); + return mergeFrom((com.google.cloud.vmmigration.v1.DeleteMigratingVmRequest) other); } else { super.mergeFrom(other); return this; @@ -411,7 +449,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.vmmigration.v1.DeleteMigratingVmRequest other) { - if (other == com.google.cloud.vmmigration.v1.DeleteMigratingVmRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.vmmigration.v1.DeleteMigratingVmRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -435,7 +474,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.vmmigration.v1.DeleteMigratingVmRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.vmmigration.v1.DeleteMigratingVmRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -447,18 +487,22 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the MigratingVm.
      * 
* - * 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; @@ -467,20 +511,23 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the MigratingVm.
      * 
* - * 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 { @@ -488,61 +535,74 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the MigratingVm.
      * 
* - * 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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The name of the MigratingVm.
      * 
* - * 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() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The name of the MigratingVm.
      * 
* - * 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) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = 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); } @@ -552,12 +612,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.vmmigration.v1.DeleteMigratingVmRequest) } // @@protoc_insertion_point(class_scope:google.cloud.vmmigration.v1.DeleteMigratingVmRequest) private static final com.google.cloud.vmmigration.v1.DeleteMigratingVmRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.vmmigration.v1.DeleteMigratingVmRequest(); } @@ -566,16 +626,16 @@ public static com.google.cloud.vmmigration.v1.DeleteMigratingVmRequest getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteMigratingVmRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteMigratingVmRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteMigratingVmRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteMigratingVmRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -590,6 +650,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.vmmigration.v1.DeleteMigratingVmRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/DeleteMigratingVmRequestOrBuilder.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/DeleteMigratingVmRequestOrBuilder.java new file mode 100644 index 0000000..38ba70f --- /dev/null +++ b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/DeleteMigratingVmRequestOrBuilder.java @@ -0,0 +1,54 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/vmmigration/v1/vmmigration.proto + +package com.google.cloud.vmmigration.v1; + +public interface DeleteMigratingVmRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.DeleteMigratingVmRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the MigratingVm.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The name of the MigratingVm.
+   * 
+ * + * + * 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/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/DeleteSourceRequest.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/DeleteSourceRequest.java similarity index 72% rename from owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/DeleteSourceRequest.java rename to proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/DeleteSourceRequest.java index fbe7b49..bdefef8 100644 --- a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/DeleteSourceRequest.java +++ b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/DeleteSourceRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; /** + * + * *
  * Request message for 'DeleteSource' request.
  * 
* * Protobuf type {@code google.cloud.vmmigration.v1.DeleteSourceRequest} */ -public final class DeleteSourceRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DeleteSourceRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.vmmigration.v1.DeleteSourceRequest) DeleteSourceRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeleteSourceRequest.newBuilder() to construct. private DeleteSourceRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeleteSourceRequest() { name_ = ""; requestId_ = ""; @@ -26,16 +44,15 @@ private DeleteSourceRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeleteSourceRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private DeleteSourceRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,25 +71,27 @@ private DeleteSourceRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + name_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - requestId_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + requestId_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -80,34 +99,41 @@ private DeleteSourceRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_DeleteSourceRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_DeleteSourceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_DeleteSourceRequest_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_DeleteSourceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.DeleteSourceRequest.class, com.google.cloud.vmmigration.v1.DeleteSourceRequest.Builder.class); + com.google.cloud.vmmigration.v1.DeleteSourceRequest.class, + com.google.cloud.vmmigration.v1.DeleteSourceRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The Source name.
    * 
* - * 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 @@ -116,29 +142,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 Source name.
    * 
* - * 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 { @@ -149,6 +177,8 @@ public java.lang.String getName() { public static final int REQUEST_ID_FIELD_NUMBER = 2; private volatile java.lang.Object requestId_; /** + * + * *
    * Optional. A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -164,6 +194,7 @@ public java.lang.String getName() {
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ @java.lang.Override @@ -172,14 +203,15 @@ public java.lang.String getRequestId() { 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(); requestId_ = s; return s; } } /** + * + * *
    * Optional. A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -195,16 +227,15 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; 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); requestId_ = b; return b; } else { @@ -213,6 +244,7 @@ public java.lang.String getRequestId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -224,8 +256,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_); } @@ -255,17 +286,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.vmmigration.v1.DeleteSourceRequest)) { return super.equals(obj); } - com.google.cloud.vmmigration.v1.DeleteSourceRequest other = (com.google.cloud.vmmigration.v1.DeleteSourceRequest) obj; + com.google.cloud.vmmigration.v1.DeleteSourceRequest other = + (com.google.cloud.vmmigration.v1.DeleteSourceRequest) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getRequestId() - .equals(other.getRequestId())) return false; + if (!getName().equals(other.getName())) return false; + if (!getRequestId().equals(other.getRequestId())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -287,117 +317,126 @@ public int hashCode() { } public static com.google.cloud.vmmigration.v1.DeleteSourceRequest 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.vmmigration.v1.DeleteSourceRequest 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.vmmigration.v1.DeleteSourceRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.vmmigration.v1.DeleteSourceRequest 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.vmmigration.v1.DeleteSourceRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.vmmigration.v1.DeleteSourceRequest 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.vmmigration.v1.DeleteSourceRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.vmmigration.v1.DeleteSourceRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.vmmigration.v1.DeleteSourceRequest 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.vmmigration.v1.DeleteSourceRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.vmmigration.v1.DeleteSourceRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.vmmigration.v1.DeleteSourceRequest 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.vmmigration.v1.DeleteSourceRequest 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.vmmigration.v1.DeleteSourceRequest 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.vmmigration.v1.DeleteSourceRequest 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 message for 'DeleteSource' request.
    * 
* * Protobuf type {@code google.cloud.vmmigration.v1.DeleteSourceRequest} */ - 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.vmmigration.v1.DeleteSourceRequest) com.google.cloud.vmmigration.v1.DeleteSourceRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_DeleteSourceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_DeleteSourceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_DeleteSourceRequest_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_DeleteSourceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.DeleteSourceRequest.class, com.google.cloud.vmmigration.v1.DeleteSourceRequest.Builder.class); + com.google.cloud.vmmigration.v1.DeleteSourceRequest.class, + com.google.cloud.vmmigration.v1.DeleteSourceRequest.Builder.class); } // Construct using com.google.cloud.vmmigration.v1.DeleteSourceRequest.newBuilder() @@ -405,16 +444,15 @@ 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) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -426,9 +464,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_DeleteSourceRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_DeleteSourceRequest_descriptor; } @java.lang.Override @@ -447,7 +485,8 @@ public com.google.cloud.vmmigration.v1.DeleteSourceRequest build() { @java.lang.Override public com.google.cloud.vmmigration.v1.DeleteSourceRequest buildPartial() { - com.google.cloud.vmmigration.v1.DeleteSourceRequest result = new com.google.cloud.vmmigration.v1.DeleteSourceRequest(this); + com.google.cloud.vmmigration.v1.DeleteSourceRequest result = + new com.google.cloud.vmmigration.v1.DeleteSourceRequest(this); result.name_ = name_; result.requestId_ = requestId_; onBuilt(); @@ -458,38 +497,39 @@ public com.google.cloud.vmmigration.v1.DeleteSourceRequest buildPartial() { 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.vmmigration.v1.DeleteSourceRequest) { - return mergeFrom((com.google.cloud.vmmigration.v1.DeleteSourceRequest)other); + return mergeFrom((com.google.cloud.vmmigration.v1.DeleteSourceRequest) other); } else { super.mergeFrom(other); return this; @@ -497,7 +537,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.vmmigration.v1.DeleteSourceRequest other) { - if (other == com.google.cloud.vmmigration.v1.DeleteSourceRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.vmmigration.v1.DeleteSourceRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -525,7 +566,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.vmmigration.v1.DeleteSourceRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.vmmigration.v1.DeleteSourceRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -537,18 +579,22 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The Source name.
      * 
* - * 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; @@ -557,20 +603,23 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The Source name.
      * 
* - * 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 { @@ -578,54 +627,67 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The Source name.
      * 
* - * 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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The Source name.
      * 
* - * 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() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The Source name.
      * 
* - * 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) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -633,6 +695,8 @@ public Builder setNameBytes( private java.lang.Object requestId_ = ""; /** + * + * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -648,13 +712,13 @@ public Builder setNameBytes(
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; 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(); requestId_ = s; return s; @@ -663,6 +727,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -678,15 +744,14 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; 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); requestId_ = b; return b; } else { @@ -694,6 +759,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -709,20 +776,22 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId( - java.lang.String value) { + public Builder setRequestId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + requestId_ = value; onChanged(); return this; } /** + * + * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -738,15 +807,18 @@ public Builder setRequestId(
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearRequestId() { - + requestId_ = getDefaultInstance().getRequestId(); onChanged(); return this; } /** + * + * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -762,23 +834,23 @@ public Builder clearRequestId() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes( - com.google.protobuf.ByteString value) { + public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + requestId_ = 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); } @@ -788,12 +860,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.vmmigration.v1.DeleteSourceRequest) } // @@protoc_insertion_point(class_scope:google.cloud.vmmigration.v1.DeleteSourceRequest) private static final com.google.cloud.vmmigration.v1.DeleteSourceRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.vmmigration.v1.DeleteSourceRequest(); } @@ -802,16 +874,16 @@ public static com.google.cloud.vmmigration.v1.DeleteSourceRequest getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteSourceRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteSourceRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteSourceRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteSourceRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -826,6 +898,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.vmmigration.v1.DeleteSourceRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/DeleteSourceRequestOrBuilder.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/DeleteSourceRequestOrBuilder.java similarity index 69% rename from owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/DeleteSourceRequestOrBuilder.java rename to proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/DeleteSourceRequestOrBuilder.java index 4c4de3a..78d218a 100644 --- a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/DeleteSourceRequestOrBuilder.java +++ b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/DeleteSourceRequestOrBuilder.java @@ -1,33 +1,60 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; -public interface DeleteSourceRequestOrBuilder extends +public interface DeleteSourceRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.DeleteSourceRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The Source name.
    * 
* - * 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 Source name.
    * 
* - * 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(); /** + * + * *
    * Optional. A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -43,10 +70,13 @@ public interface DeleteSourceRequestOrBuilder extends
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ java.lang.String getRequestId(); /** + * + * *
    * Optional. A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -62,8 +92,8 @@ public interface DeleteSourceRequestOrBuilder extends
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - com.google.protobuf.ByteString - getRequestIdBytes(); + com.google.protobuf.ByteString getRequestIdBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/DeleteTargetProjectRequest.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/DeleteTargetProjectRequest.java similarity index 72% rename from owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/DeleteTargetProjectRequest.java rename to proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/DeleteTargetProjectRequest.java index be83500..65dadb9 100644 --- a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/DeleteTargetProjectRequest.java +++ b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/DeleteTargetProjectRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; /** + * + * *
  * Request message for 'DeleteTargetProject' request.
  * 
* * Protobuf type {@code google.cloud.vmmigration.v1.DeleteTargetProjectRequest} */ -public final class DeleteTargetProjectRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DeleteTargetProjectRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.vmmigration.v1.DeleteTargetProjectRequest) DeleteTargetProjectRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeleteTargetProjectRequest.newBuilder() to construct. private DeleteTargetProjectRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeleteTargetProjectRequest() { name_ = ""; requestId_ = ""; @@ -26,16 +44,15 @@ private DeleteTargetProjectRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeleteTargetProjectRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private DeleteTargetProjectRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,25 +71,27 @@ private DeleteTargetProjectRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + name_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - requestId_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + requestId_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -80,34 +99,41 @@ private DeleteTargetProjectRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_DeleteTargetProjectRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_DeleteTargetProjectRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_DeleteTargetProjectRequest_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_DeleteTargetProjectRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.DeleteTargetProjectRequest.class, com.google.cloud.vmmigration.v1.DeleteTargetProjectRequest.Builder.class); + com.google.cloud.vmmigration.v1.DeleteTargetProjectRequest.class, + com.google.cloud.vmmigration.v1.DeleteTargetProjectRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The TargetProject name.
    * 
* - * 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 @@ -116,29 +142,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 TargetProject name.
    * 
* - * 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 { @@ -149,6 +177,8 @@ public java.lang.String getName() { public static final int REQUEST_ID_FIELD_NUMBER = 2; private volatile java.lang.Object requestId_; /** + * + * *
    * Optional. A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -164,6 +194,7 @@ public java.lang.String getName() {
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ @java.lang.Override @@ -172,14 +203,15 @@ public java.lang.String getRequestId() { 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(); requestId_ = s; return s; } } /** + * + * *
    * Optional. A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -195,16 +227,15 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; 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); requestId_ = b; return b; } else { @@ -213,6 +244,7 @@ public java.lang.String getRequestId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -224,8 +256,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_); } @@ -255,17 +286,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.vmmigration.v1.DeleteTargetProjectRequest)) { return super.equals(obj); } - com.google.cloud.vmmigration.v1.DeleteTargetProjectRequest other = (com.google.cloud.vmmigration.v1.DeleteTargetProjectRequest) obj; + com.google.cloud.vmmigration.v1.DeleteTargetProjectRequest other = + (com.google.cloud.vmmigration.v1.DeleteTargetProjectRequest) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getRequestId() - .equals(other.getRequestId())) return false; + if (!getName().equals(other.getName())) return false; + if (!getRequestId().equals(other.getRequestId())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -287,117 +317,127 @@ public int hashCode() { } public static com.google.cloud.vmmigration.v1.DeleteTargetProjectRequest 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.vmmigration.v1.DeleteTargetProjectRequest 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.vmmigration.v1.DeleteTargetProjectRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.vmmigration.v1.DeleteTargetProjectRequest 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.vmmigration.v1.DeleteTargetProjectRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.vmmigration.v1.DeleteTargetProjectRequest 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.vmmigration.v1.DeleteTargetProjectRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.vmmigration.v1.DeleteTargetProjectRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.vmmigration.v1.DeleteTargetProjectRequest 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.vmmigration.v1.DeleteTargetProjectRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.vmmigration.v1.DeleteTargetProjectRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.vmmigration.v1.DeleteTargetProjectRequest 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.vmmigration.v1.DeleteTargetProjectRequest 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.vmmigration.v1.DeleteTargetProjectRequest 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.vmmigration.v1.DeleteTargetProjectRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.vmmigration.v1.DeleteTargetProjectRequest 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 message for 'DeleteTargetProject' request.
    * 
* * Protobuf type {@code google.cloud.vmmigration.v1.DeleteTargetProjectRequest} */ - 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.vmmigration.v1.DeleteTargetProjectRequest) com.google.cloud.vmmigration.v1.DeleteTargetProjectRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_DeleteTargetProjectRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_DeleteTargetProjectRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_DeleteTargetProjectRequest_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_DeleteTargetProjectRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.DeleteTargetProjectRequest.class, com.google.cloud.vmmigration.v1.DeleteTargetProjectRequest.Builder.class); + com.google.cloud.vmmigration.v1.DeleteTargetProjectRequest.class, + com.google.cloud.vmmigration.v1.DeleteTargetProjectRequest.Builder.class); } // Construct using com.google.cloud.vmmigration.v1.DeleteTargetProjectRequest.newBuilder() @@ -405,16 +445,15 @@ 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) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -426,9 +465,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_DeleteTargetProjectRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_DeleteTargetProjectRequest_descriptor; } @java.lang.Override @@ -447,7 +486,8 @@ public com.google.cloud.vmmigration.v1.DeleteTargetProjectRequest build() { @java.lang.Override public com.google.cloud.vmmigration.v1.DeleteTargetProjectRequest buildPartial() { - com.google.cloud.vmmigration.v1.DeleteTargetProjectRequest result = new com.google.cloud.vmmigration.v1.DeleteTargetProjectRequest(this); + com.google.cloud.vmmigration.v1.DeleteTargetProjectRequest result = + new com.google.cloud.vmmigration.v1.DeleteTargetProjectRequest(this); result.name_ = name_; result.requestId_ = requestId_; onBuilt(); @@ -458,38 +498,39 @@ public com.google.cloud.vmmigration.v1.DeleteTargetProjectRequest buildPartial() 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.vmmigration.v1.DeleteTargetProjectRequest) { - return mergeFrom((com.google.cloud.vmmigration.v1.DeleteTargetProjectRequest)other); + return mergeFrom((com.google.cloud.vmmigration.v1.DeleteTargetProjectRequest) other); } else { super.mergeFrom(other); return this; @@ -497,7 +538,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.vmmigration.v1.DeleteTargetProjectRequest other) { - if (other == com.google.cloud.vmmigration.v1.DeleteTargetProjectRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.vmmigration.v1.DeleteTargetProjectRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -525,7 +567,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.vmmigration.v1.DeleteTargetProjectRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.vmmigration.v1.DeleteTargetProjectRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -537,18 +580,22 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The TargetProject name.
      * 
* - * 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; @@ -557,20 +604,23 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The TargetProject name.
      * 
* - * 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 { @@ -578,54 +628,67 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The TargetProject name.
      * 
* - * 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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The TargetProject name.
      * 
* - * 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() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The TargetProject name.
      * 
* - * 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) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -633,6 +696,8 @@ public Builder setNameBytes( private java.lang.Object requestId_ = ""; /** + * + * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -648,13 +713,13 @@ public Builder setNameBytes(
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; 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(); requestId_ = s; return s; @@ -663,6 +728,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -678,15 +745,14 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; 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); requestId_ = b; return b; } else { @@ -694,6 +760,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -709,20 +777,22 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId( - java.lang.String value) { + public Builder setRequestId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + requestId_ = value; onChanged(); return this; } /** + * + * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -738,15 +808,18 @@ public Builder setRequestId(
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearRequestId() { - + requestId_ = getDefaultInstance().getRequestId(); onChanged(); return this; } /** + * + * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -762,23 +835,23 @@ public Builder clearRequestId() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes( - com.google.protobuf.ByteString value) { + public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + requestId_ = 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); } @@ -788,12 +861,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.vmmigration.v1.DeleteTargetProjectRequest) } // @@protoc_insertion_point(class_scope:google.cloud.vmmigration.v1.DeleteTargetProjectRequest) private static final com.google.cloud.vmmigration.v1.DeleteTargetProjectRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.vmmigration.v1.DeleteTargetProjectRequest(); } @@ -802,16 +875,16 @@ public static com.google.cloud.vmmigration.v1.DeleteTargetProjectRequest getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteTargetProjectRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteTargetProjectRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteTargetProjectRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteTargetProjectRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -826,6 +899,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.vmmigration.v1.DeleteTargetProjectRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/DeleteTargetProjectRequestOrBuilder.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/DeleteTargetProjectRequestOrBuilder.java similarity index 69% rename from owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/DeleteTargetProjectRequestOrBuilder.java rename to proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/DeleteTargetProjectRequestOrBuilder.java index 801f62f..18a28ad 100644 --- a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/DeleteTargetProjectRequestOrBuilder.java +++ b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/DeleteTargetProjectRequestOrBuilder.java @@ -1,33 +1,60 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; -public interface DeleteTargetProjectRequestOrBuilder extends +public interface DeleteTargetProjectRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.DeleteTargetProjectRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The TargetProject name.
    * 
* - * 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 TargetProject name.
    * 
* - * 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(); /** + * + * *
    * Optional. A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -43,10 +70,13 @@ public interface DeleteTargetProjectRequestOrBuilder extends
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ java.lang.String getRequestId(); /** + * + * *
    * Optional. A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -62,8 +92,8 @@ public interface DeleteTargetProjectRequestOrBuilder extends
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - com.google.protobuf.ByteString - getRequestIdBytes(); + com.google.protobuf.ByteString getRequestIdBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/DeleteUtilizationReportRequest.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/DeleteUtilizationReportRequest.java similarity index 70% rename from owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/DeleteUtilizationReportRequest.java rename to proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/DeleteUtilizationReportRequest.java index 37a59e7..650f894 100644 --- a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/DeleteUtilizationReportRequest.java +++ b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/DeleteUtilizationReportRequest.java @@ -1,24 +1,43 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; /** + * + * *
  * Request message for 'DeleteUtilizationReport' request.
  * 
* * Protobuf type {@code google.cloud.vmmigration.v1.DeleteUtilizationReportRequest} */ -public final class DeleteUtilizationReportRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DeleteUtilizationReportRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.vmmigration.v1.DeleteUtilizationReportRequest) DeleteUtilizationReportRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeleteUtilizationReportRequest.newBuilder() to construct. - private DeleteUtilizationReportRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private DeleteUtilizationReportRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeleteUtilizationReportRequest() { name_ = ""; requestId_ = ""; @@ -26,16 +45,15 @@ private DeleteUtilizationReportRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeleteUtilizationReportRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private DeleteUtilizationReportRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,25 +72,27 @@ private DeleteUtilizationReportRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + name_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - requestId_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + requestId_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -80,34 +100,41 @@ private DeleteUtilizationReportRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_DeleteUtilizationReportRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_DeleteUtilizationReportRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_DeleteUtilizationReportRequest_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_DeleteUtilizationReportRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.DeleteUtilizationReportRequest.class, com.google.cloud.vmmigration.v1.DeleteUtilizationReportRequest.Builder.class); + com.google.cloud.vmmigration.v1.DeleteUtilizationReportRequest.class, + com.google.cloud.vmmigration.v1.DeleteUtilizationReportRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The Utilization Report name.
    * 
* - * 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 @@ -116,29 +143,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 Utilization Report name.
    * 
* - * 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 { @@ -149,6 +178,8 @@ public java.lang.String getName() { public static final int REQUEST_ID_FIELD_NUMBER = 2; private volatile java.lang.Object requestId_; /** + * + * *
    * Optional. A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -164,6 +195,7 @@ public java.lang.String getName() {
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ @java.lang.Override @@ -172,14 +204,15 @@ public java.lang.String getRequestId() { 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(); requestId_ = s; return s; } } /** + * + * *
    * Optional. A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -195,16 +228,15 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; 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); requestId_ = b; return b; } else { @@ -213,6 +245,7 @@ public java.lang.String getRequestId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -224,8 +257,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_); } @@ -255,17 +287,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.vmmigration.v1.DeleteUtilizationReportRequest)) { return super.equals(obj); } - com.google.cloud.vmmigration.v1.DeleteUtilizationReportRequest other = (com.google.cloud.vmmigration.v1.DeleteUtilizationReportRequest) obj; + com.google.cloud.vmmigration.v1.DeleteUtilizationReportRequest other = + (com.google.cloud.vmmigration.v1.DeleteUtilizationReportRequest) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getRequestId() - .equals(other.getRequestId())) return false; + if (!getName().equals(other.getName())) return false; + if (!getRequestId().equals(other.getRequestId())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -287,117 +318,127 @@ public int hashCode() { } public static com.google.cloud.vmmigration.v1.DeleteUtilizationReportRequest 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.vmmigration.v1.DeleteUtilizationReportRequest 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.vmmigration.v1.DeleteUtilizationReportRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.vmmigration.v1.DeleteUtilizationReportRequest 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.vmmigration.v1.DeleteUtilizationReportRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.vmmigration.v1.DeleteUtilizationReportRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.vmmigration.v1.DeleteUtilizationReportRequest 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.vmmigration.v1.DeleteUtilizationReportRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.vmmigration.v1.DeleteUtilizationReportRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.vmmigration.v1.DeleteUtilizationReportRequest 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.vmmigration.v1.DeleteUtilizationReportRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.vmmigration.v1.DeleteUtilizationReportRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.vmmigration.v1.DeleteUtilizationReportRequest 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.vmmigration.v1.DeleteUtilizationReportRequest 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.vmmigration.v1.DeleteUtilizationReportRequest 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.vmmigration.v1.DeleteUtilizationReportRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.vmmigration.v1.DeleteUtilizationReportRequest 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 message for 'DeleteUtilizationReport' request.
    * 
* * Protobuf type {@code google.cloud.vmmigration.v1.DeleteUtilizationReportRequest} */ - 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.vmmigration.v1.DeleteUtilizationReportRequest) com.google.cloud.vmmigration.v1.DeleteUtilizationReportRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_DeleteUtilizationReportRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_DeleteUtilizationReportRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_DeleteUtilizationReportRequest_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_DeleteUtilizationReportRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.DeleteUtilizationReportRequest.class, com.google.cloud.vmmigration.v1.DeleteUtilizationReportRequest.Builder.class); + com.google.cloud.vmmigration.v1.DeleteUtilizationReportRequest.class, + com.google.cloud.vmmigration.v1.DeleteUtilizationReportRequest.Builder.class); } // Construct using com.google.cloud.vmmigration.v1.DeleteUtilizationReportRequest.newBuilder() @@ -405,16 +446,15 @@ 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) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -426,13 +466,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_DeleteUtilizationReportRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_DeleteUtilizationReportRequest_descriptor; } @java.lang.Override - public com.google.cloud.vmmigration.v1.DeleteUtilizationReportRequest getDefaultInstanceForType() { + public com.google.cloud.vmmigration.v1.DeleteUtilizationReportRequest + getDefaultInstanceForType() { return com.google.cloud.vmmigration.v1.DeleteUtilizationReportRequest.getDefaultInstance(); } @@ -447,7 +488,8 @@ public com.google.cloud.vmmigration.v1.DeleteUtilizationReportRequest build() { @java.lang.Override public com.google.cloud.vmmigration.v1.DeleteUtilizationReportRequest buildPartial() { - com.google.cloud.vmmigration.v1.DeleteUtilizationReportRequest result = new com.google.cloud.vmmigration.v1.DeleteUtilizationReportRequest(this); + com.google.cloud.vmmigration.v1.DeleteUtilizationReportRequest result = + new com.google.cloud.vmmigration.v1.DeleteUtilizationReportRequest(this); result.name_ = name_; result.requestId_ = requestId_; onBuilt(); @@ -458,38 +500,39 @@ public com.google.cloud.vmmigration.v1.DeleteUtilizationReportRequest buildParti 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.vmmigration.v1.DeleteUtilizationReportRequest) { - return mergeFrom((com.google.cloud.vmmigration.v1.DeleteUtilizationReportRequest)other); + return mergeFrom((com.google.cloud.vmmigration.v1.DeleteUtilizationReportRequest) other); } else { super.mergeFrom(other); return this; @@ -497,7 +540,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.vmmigration.v1.DeleteUtilizationReportRequest other) { - if (other == com.google.cloud.vmmigration.v1.DeleteUtilizationReportRequest.getDefaultInstance()) return this; + if (other + == com.google.cloud.vmmigration.v1.DeleteUtilizationReportRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -525,7 +570,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.vmmigration.v1.DeleteUtilizationReportRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.vmmigration.v1.DeleteUtilizationReportRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -537,18 +584,22 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The Utilization Report name.
      * 
* - * 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; @@ -557,20 +608,23 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The Utilization Report name.
      * 
* - * 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 { @@ -578,54 +632,67 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The Utilization Report name.
      * 
* - * 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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The Utilization Report name.
      * 
* - * 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() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The Utilization Report name.
      * 
* - * 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) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -633,6 +700,8 @@ public Builder setNameBytes( private java.lang.Object requestId_ = ""; /** + * + * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -648,13 +717,13 @@ public Builder setNameBytes(
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; 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(); requestId_ = s; return s; @@ -663,6 +732,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -678,15 +749,14 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; 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); requestId_ = b; return b; } else { @@ -694,6 +764,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -709,20 +781,22 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId( - java.lang.String value) { + public Builder setRequestId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + requestId_ = value; onChanged(); return this; } /** + * + * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -738,15 +812,18 @@ public Builder setRequestId(
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearRequestId() { - + requestId_ = getDefaultInstance().getRequestId(); onChanged(); return this; } /** + * + * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -762,23 +839,23 @@ public Builder clearRequestId() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes( - com.google.protobuf.ByteString value) { + public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + requestId_ = 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); } @@ -788,30 +865,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.vmmigration.v1.DeleteUtilizationReportRequest) } // @@protoc_insertion_point(class_scope:google.cloud.vmmigration.v1.DeleteUtilizationReportRequest) - private static final com.google.cloud.vmmigration.v1.DeleteUtilizationReportRequest DEFAULT_INSTANCE; + private static final com.google.cloud.vmmigration.v1.DeleteUtilizationReportRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.vmmigration.v1.DeleteUtilizationReportRequest(); } - public static com.google.cloud.vmmigration.v1.DeleteUtilizationReportRequest getDefaultInstance() { + public static com.google.cloud.vmmigration.v1.DeleteUtilizationReportRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteUtilizationReportRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteUtilizationReportRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteUtilizationReportRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteUtilizationReportRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -823,9 +902,8 @@ public com.google.protobuf.Parser getParserForTy } @java.lang.Override - public com.google.cloud.vmmigration.v1.DeleteUtilizationReportRequest getDefaultInstanceForType() { + public com.google.cloud.vmmigration.v1.DeleteUtilizationReportRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/DeleteUtilizationReportRequestOrBuilder.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/DeleteUtilizationReportRequestOrBuilder.java similarity index 69% rename from owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/DeleteUtilizationReportRequestOrBuilder.java rename to proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/DeleteUtilizationReportRequestOrBuilder.java index 025c923..f910795 100644 --- a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/DeleteUtilizationReportRequestOrBuilder.java +++ b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/DeleteUtilizationReportRequestOrBuilder.java @@ -1,33 +1,60 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; -public interface DeleteUtilizationReportRequestOrBuilder extends +public interface DeleteUtilizationReportRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.DeleteUtilizationReportRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The Utilization Report name.
    * 
* - * 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 Utilization Report name.
    * 
* - * 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(); /** + * + * *
    * Optional. A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -43,10 +70,13 @@ public interface DeleteUtilizationReportRequestOrBuilder extends
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ java.lang.String getRequestId(); /** + * + * *
    * Optional. A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -62,8 +92,8 @@ public interface DeleteUtilizationReportRequestOrBuilder extends
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - com.google.protobuf.ByteString - getRequestIdBytes(); + com.google.protobuf.ByteString getRequestIdBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/FetchInventoryRequest.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/FetchInventoryRequest.java similarity index 66% rename from owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/FetchInventoryRequest.java rename to proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/FetchInventoryRequest.java index 3eac551..43da348 100644 --- a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/FetchInventoryRequest.java +++ b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/FetchInventoryRequest.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; /** + * + * *
  * Request message for
  * [fetchInventory][google.cloud.vmmigration.v1.VmMigration.FetchInventory].
@@ -11,31 +28,31 @@
  *
  * Protobuf type {@code google.cloud.vmmigration.v1.FetchInventoryRequest}
  */
-public final class FetchInventoryRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class FetchInventoryRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.vmmigration.v1.FetchInventoryRequest)
     FetchInventoryRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use FetchInventoryRequest.newBuilder() to construct.
   private FetchInventoryRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private FetchInventoryRequest() {
     source_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new FetchInventoryRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private FetchInventoryRequest(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -54,24 +71,25 @@ private FetchInventoryRequest(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
-
-            source_ = s;
-            break;
-          }
-          case 16: {
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            forceRefresh_ = input.readBool();
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              source_ = s;
+              break;
+            }
+          case 16:
+            {
+              forceRefresh_ = input.readBool();
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -79,34 +97,41 @@ private FetchInventoryRequest(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_FetchInventoryRequest_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.vmmigration.v1.VmMigrationProto
+        .internal_static_google_cloud_vmmigration_v1_FetchInventoryRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_FetchInventoryRequest_fieldAccessorTable
+    return com.google.cloud.vmmigration.v1.VmMigrationProto
+        .internal_static_google_cloud_vmmigration_v1_FetchInventoryRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.vmmigration.v1.FetchInventoryRequest.class, com.google.cloud.vmmigration.v1.FetchInventoryRequest.Builder.class);
+            com.google.cloud.vmmigration.v1.FetchInventoryRequest.class,
+            com.google.cloud.vmmigration.v1.FetchInventoryRequest.Builder.class);
   }
 
   public static final int SOURCE_FIELD_NUMBER = 1;
   private volatile java.lang.Object source_;
   /**
+   *
+   *
    * 
    * Required. The name of the Source.
    * 
* - * string source = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string source = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The source. */ @java.lang.Override @@ -115,29 +140,31 @@ public java.lang.String getSource() { 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(); source_ = s; return s; } } /** + * + * *
    * Required. The name of the Source.
    * 
* - * string source = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string source = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for source. */ @java.lang.Override - public com.google.protobuf.ByteString - getSourceBytes() { + public com.google.protobuf.ByteString getSourceBytes() { java.lang.Object ref = source_; 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); source_ = b; return b; } else { @@ -148,12 +175,15 @@ public java.lang.String getSource() { public static final int FORCE_REFRESH_FIELD_NUMBER = 2; private boolean forceRefresh_; /** + * + * *
    * If this flag is set to true, the source will be queried instead of using
    * cached results. Using this flag will make the call slower.
    * 
* * bool force_refresh = 2; + * * @return The forceRefresh. */ @java.lang.Override @@ -162,6 +192,7 @@ public boolean getForceRefresh() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -173,8 +204,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(source_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, source_); } @@ -194,8 +224,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, source_); } if (forceRefresh_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(2, forceRefresh_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, forceRefresh_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -205,17 +234,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.vmmigration.v1.FetchInventoryRequest)) { return super.equals(obj); } - com.google.cloud.vmmigration.v1.FetchInventoryRequest other = (com.google.cloud.vmmigration.v1.FetchInventoryRequest) obj; + com.google.cloud.vmmigration.v1.FetchInventoryRequest other = + (com.google.cloud.vmmigration.v1.FetchInventoryRequest) obj; - if (!getSource() - .equals(other.getSource())) return false; - if (getForceRefresh() - != other.getForceRefresh()) return false; + if (!getSource().equals(other.getSource())) return false; + if (getForceRefresh() != other.getForceRefresh()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -230,104 +258,111 @@ public int hashCode() { hash = (37 * hash) + SOURCE_FIELD_NUMBER; hash = (53 * hash) + getSource().hashCode(); hash = (37 * hash) + FORCE_REFRESH_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getForceRefresh()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getForceRefresh()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.vmmigration.v1.FetchInventoryRequest 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.vmmigration.v1.FetchInventoryRequest 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.vmmigration.v1.FetchInventoryRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.vmmigration.v1.FetchInventoryRequest 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.vmmigration.v1.FetchInventoryRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.vmmigration.v1.FetchInventoryRequest 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.vmmigration.v1.FetchInventoryRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.vmmigration.v1.FetchInventoryRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.vmmigration.v1.FetchInventoryRequest 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.vmmigration.v1.FetchInventoryRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.vmmigration.v1.FetchInventoryRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.vmmigration.v1.FetchInventoryRequest 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.vmmigration.v1.FetchInventoryRequest 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.vmmigration.v1.FetchInventoryRequest 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.vmmigration.v1.FetchInventoryRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.vmmigration.v1.FetchInventoryRequest 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 message for
    * [fetchInventory][google.cloud.vmmigration.v1.VmMigration.FetchInventory].
@@ -335,21 +370,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.vmmigration.v1.FetchInventoryRequest}
    */
-  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.vmmigration.v1.FetchInventoryRequest)
       com.google.cloud.vmmigration.v1.FetchInventoryRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_FetchInventoryRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.vmmigration.v1.VmMigrationProto
+          .internal_static_google_cloud_vmmigration_v1_FetchInventoryRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_FetchInventoryRequest_fieldAccessorTable
+      return com.google.cloud.vmmigration.v1.VmMigrationProto
+          .internal_static_google_cloud_vmmigration_v1_FetchInventoryRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.vmmigration.v1.FetchInventoryRequest.class, com.google.cloud.vmmigration.v1.FetchInventoryRequest.Builder.class);
+              com.google.cloud.vmmigration.v1.FetchInventoryRequest.class,
+              com.google.cloud.vmmigration.v1.FetchInventoryRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.vmmigration.v1.FetchInventoryRequest.newBuilder()
@@ -357,16 +394,15 @@ 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) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -378,9 +414,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_FetchInventoryRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.vmmigration.v1.VmMigrationProto
+          .internal_static_google_cloud_vmmigration_v1_FetchInventoryRequest_descriptor;
     }
 
     @java.lang.Override
@@ -399,7 +435,8 @@ public com.google.cloud.vmmigration.v1.FetchInventoryRequest build() {
 
     @java.lang.Override
     public com.google.cloud.vmmigration.v1.FetchInventoryRequest buildPartial() {
-      com.google.cloud.vmmigration.v1.FetchInventoryRequest result = new com.google.cloud.vmmigration.v1.FetchInventoryRequest(this);
+      com.google.cloud.vmmigration.v1.FetchInventoryRequest result =
+          new com.google.cloud.vmmigration.v1.FetchInventoryRequest(this);
       result.source_ = source_;
       result.forceRefresh_ = forceRefresh_;
       onBuilt();
@@ -410,38 +447,39 @@ public com.google.cloud.vmmigration.v1.FetchInventoryRequest buildPartial() {
     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.vmmigration.v1.FetchInventoryRequest) {
-        return mergeFrom((com.google.cloud.vmmigration.v1.FetchInventoryRequest)other);
+        return mergeFrom((com.google.cloud.vmmigration.v1.FetchInventoryRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -449,7 +487,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.vmmigration.v1.FetchInventoryRequest other) {
-      if (other == com.google.cloud.vmmigration.v1.FetchInventoryRequest.getDefaultInstance()) return this;
+      if (other == com.google.cloud.vmmigration.v1.FetchInventoryRequest.getDefaultInstance())
+        return this;
       if (!other.getSource().isEmpty()) {
         source_ = other.source_;
         onChanged();
@@ -476,7 +515,8 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.cloud.vmmigration.v1.FetchInventoryRequest) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.cloud.vmmigration.v1.FetchInventoryRequest) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -488,18 +528,22 @@ public Builder mergeFrom(
 
     private java.lang.Object source_ = "";
     /**
+     *
+     *
      * 
      * Required. The name of the Source.
      * 
* - * string source = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string source = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The source. */ public java.lang.String getSource() { java.lang.Object ref = source_; 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(); source_ = s; return s; @@ -508,20 +552,23 @@ public java.lang.String getSource() { } } /** + * + * *
      * Required. The name of the Source.
      * 
* - * string source = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string source = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for source. */ - public com.google.protobuf.ByteString - getSourceBytes() { + public com.google.protobuf.ByteString getSourceBytes() { java.lang.Object ref = source_; 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); source_ = b; return b; } else { @@ -529,67 +576,83 @@ public java.lang.String getSource() { } } /** + * + * *
      * Required. The name of the Source.
      * 
* - * string source = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string source = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The source to set. * @return This builder for chaining. */ - public Builder setSource( - java.lang.String value) { + public Builder setSource(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + source_ = value; onChanged(); return this; } /** + * + * *
      * Required. The name of the Source.
      * 
* - * string source = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string source = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearSource() { - + source_ = getDefaultInstance().getSource(); onChanged(); return this; } /** + * + * *
      * Required. The name of the Source.
      * 
* - * string source = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string source = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for source to set. * @return This builder for chaining. */ - public Builder setSourceBytes( - com.google.protobuf.ByteString value) { + public Builder setSourceBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + source_ = value; onChanged(); return this; } - private boolean forceRefresh_ ; + private boolean forceRefresh_; /** + * + * *
      * If this flag is set to true, the source will be queried instead of using
      * cached results. Using this flag will make the call slower.
      * 
* * bool force_refresh = 2; + * * @return The forceRefresh. */ @java.lang.Override @@ -597,39 +660,45 @@ public boolean getForceRefresh() { return forceRefresh_; } /** + * + * *
      * If this flag is set to true, the source will be queried instead of using
      * cached results. Using this flag will make the call slower.
      * 
* * bool force_refresh = 2; + * * @param value The forceRefresh to set. * @return This builder for chaining. */ public Builder setForceRefresh(boolean value) { - + forceRefresh_ = value; onChanged(); return this; } /** + * + * *
      * If this flag is set to true, the source will be queried instead of using
      * cached results. Using this flag will make the call slower.
      * 
* * bool force_refresh = 2; + * * @return This builder for chaining. */ public Builder clearForceRefresh() { - + forceRefresh_ = false; 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); } @@ -639,12 +708,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.vmmigration.v1.FetchInventoryRequest) } // @@protoc_insertion_point(class_scope:google.cloud.vmmigration.v1.FetchInventoryRequest) private static final com.google.cloud.vmmigration.v1.FetchInventoryRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.vmmigration.v1.FetchInventoryRequest(); } @@ -653,16 +722,16 @@ public static com.google.cloud.vmmigration.v1.FetchInventoryRequest getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public FetchInventoryRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new FetchInventoryRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public FetchInventoryRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new FetchInventoryRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -677,6 +746,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.vmmigration.v1.FetchInventoryRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/FetchInventoryRequestOrBuilder.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/FetchInventoryRequestOrBuilder.java new file mode 100644 index 0000000..45c44f3 --- /dev/null +++ b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/FetchInventoryRequestOrBuilder.java @@ -0,0 +1,68 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/vmmigration/v1/vmmigration.proto + +package com.google.cloud.vmmigration.v1; + +public interface FetchInventoryRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.FetchInventoryRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the Source.
+   * 
+ * + * + * string source = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The source. + */ + java.lang.String getSource(); + /** + * + * + *
+   * Required. The name of the Source.
+   * 
+ * + * + * string source = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for source. + */ + com.google.protobuf.ByteString getSourceBytes(); + + /** + * + * + *
+   * If this flag is set to true, the source will be queried instead of using
+   * cached results. Using this flag will make the call slower.
+   * 
+ * + * bool force_refresh = 2; + * + * @return The forceRefresh. + */ + boolean getForceRefresh(); +} diff --git a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/FetchInventoryResponse.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/FetchInventoryResponse.java similarity index 68% rename from owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/FetchInventoryResponse.java rename to proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/FetchInventoryResponse.java index 2ef983a..9d12b8d 100644 --- a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/FetchInventoryResponse.java +++ b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/FetchInventoryResponse.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; /** + * + * *
  * Response message for
  * [fetchInventory][google.cloud.vmmigration.v1.VmMigration.FetchInventory].
@@ -11,30 +28,29 @@
  *
  * Protobuf type {@code google.cloud.vmmigration.v1.FetchInventoryResponse}
  */
-public final class FetchInventoryResponse extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class FetchInventoryResponse extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.vmmigration.v1.FetchInventoryResponse)
     FetchInventoryResponseOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use FetchInventoryResponse.newBuilder() to construct.
   private FetchInventoryResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private FetchInventoryResponse() {
-  }
+
+  private FetchInventoryResponse() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new FetchInventoryResponse();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private FetchInventoryResponse(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -53,40 +69,45 @@ private FetchInventoryResponse(
           case 0:
             done = true;
             break;
-          case 10: {
-            com.google.cloud.vmmigration.v1.VmwareVmsDetails.Builder subBuilder = null;
-            if (sourceVmsCase_ == 1) {
-              subBuilder = ((com.google.cloud.vmmigration.v1.VmwareVmsDetails) sourceVms_).toBuilder();
-            }
-            sourceVms_ =
-                input.readMessage(com.google.cloud.vmmigration.v1.VmwareVmsDetails.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom((com.google.cloud.vmmigration.v1.VmwareVmsDetails) sourceVms_);
-              sourceVms_ = subBuilder.buildPartial();
-            }
-            sourceVmsCase_ = 1;
-            break;
-          }
-          case 18: {
-            com.google.protobuf.Timestamp.Builder subBuilder = null;
-            if (updateTime_ != null) {
-              subBuilder = updateTime_.toBuilder();
-            }
-            updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(updateTime_);
-              updateTime_ = subBuilder.buildPartial();
+          case 10:
+            {
+              com.google.cloud.vmmigration.v1.VmwareVmsDetails.Builder subBuilder = null;
+              if (sourceVmsCase_ == 1) {
+                subBuilder =
+                    ((com.google.cloud.vmmigration.v1.VmwareVmsDetails) sourceVms_).toBuilder();
+              }
+              sourceVms_ =
+                  input.readMessage(
+                      com.google.cloud.vmmigration.v1.VmwareVmsDetails.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom((com.google.cloud.vmmigration.v1.VmwareVmsDetails) sourceVms_);
+                sourceVms_ = subBuilder.buildPartial();
+              }
+              sourceVmsCase_ = 1;
+              break;
             }
+          case 18:
+            {
+              com.google.protobuf.Timestamp.Builder subBuilder = null;
+              if (updateTime_ != null) {
+                subBuilder = updateTime_.toBuilder();
+              }
+              updateTime_ =
+                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(updateTime_);
+                updateTime_ = subBuilder.buildPartial();
+              }
 
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -94,34 +115,39 @@ private FetchInventoryResponse(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_FetchInventoryResponse_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.vmmigration.v1.VmMigrationProto
+        .internal_static_google_cloud_vmmigration_v1_FetchInventoryResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_FetchInventoryResponse_fieldAccessorTable
+    return com.google.cloud.vmmigration.v1.VmMigrationProto
+        .internal_static_google_cloud_vmmigration_v1_FetchInventoryResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.vmmigration.v1.FetchInventoryResponse.class, com.google.cloud.vmmigration.v1.FetchInventoryResponse.Builder.class);
+            com.google.cloud.vmmigration.v1.FetchInventoryResponse.class,
+            com.google.cloud.vmmigration.v1.FetchInventoryResponse.Builder.class);
   }
 
   private int sourceVmsCase_ = 0;
   private java.lang.Object sourceVms_;
+
   public enum SourceVmsCase
-      implements com.google.protobuf.Internal.EnumLite,
+      implements
+          com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     VMWARE_VMS(1),
     SOURCEVMS_NOT_SET(0);
     private final int value;
+
     private SourceVmsCase(int value) {
       this.value = value;
     }
@@ -137,29 +163,34 @@ public static SourceVmsCase valueOf(int value) {
 
     public static SourceVmsCase forNumber(int value) {
       switch (value) {
-        case 1: return VMWARE_VMS;
-        case 0: return SOURCEVMS_NOT_SET;
-        default: return null;
+        case 1:
+          return VMWARE_VMS;
+        case 0:
+          return SOURCEVMS_NOT_SET;
+        default:
+          return null;
       }
     }
+
     public int getNumber() {
       return this.value;
     }
   };
 
-  public SourceVmsCase
-  getSourceVmsCase() {
-    return SourceVmsCase.forNumber(
-        sourceVmsCase_);
+  public SourceVmsCase getSourceVmsCase() {
+    return SourceVmsCase.forNumber(sourceVmsCase_);
   }
 
   public static final int VMWARE_VMS_FIELD_NUMBER = 1;
   /**
+   *
+   *
    * 
    * The description of the VMs in a Source of type Vmware.
    * 
* * .google.cloud.vmmigration.v1.VmwareVmsDetails vmware_vms = 1; + * * @return Whether the vmwareVms field is set. */ @java.lang.Override @@ -167,21 +198,26 @@ public boolean hasVmwareVms() { return sourceVmsCase_ == 1; } /** + * + * *
    * The description of the VMs in a Source of type Vmware.
    * 
* * .google.cloud.vmmigration.v1.VmwareVmsDetails vmware_vms = 1; + * * @return The vmwareVms. */ @java.lang.Override public com.google.cloud.vmmigration.v1.VmwareVmsDetails getVmwareVms() { if (sourceVmsCase_ == 1) { - return (com.google.cloud.vmmigration.v1.VmwareVmsDetails) sourceVms_; + return (com.google.cloud.vmmigration.v1.VmwareVmsDetails) sourceVms_; } return com.google.cloud.vmmigration.v1.VmwareVmsDetails.getDefaultInstance(); } /** + * + * *
    * The description of the VMs in a Source of type Vmware.
    * 
@@ -191,7 +227,7 @@ public com.google.cloud.vmmigration.v1.VmwareVmsDetails getVmwareVms() { @java.lang.Override public com.google.cloud.vmmigration.v1.VmwareVmsDetailsOrBuilder getVmwareVmsOrBuilder() { if (sourceVmsCase_ == 1) { - return (com.google.cloud.vmmigration.v1.VmwareVmsDetails) sourceVms_; + return (com.google.cloud.vmmigration.v1.VmwareVmsDetails) sourceVms_; } return com.google.cloud.vmmigration.v1.VmwareVmsDetails.getDefaultInstance(); } @@ -199,12 +235,16 @@ public com.google.cloud.vmmigration.v1.VmwareVmsDetailsOrBuilder getVmwareVmsOrB public static final int UPDATE_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp updateTime_; /** + * + * *
    * Output only. The timestamp when the source was last queried (if the result
    * is from the cache).
    * 
* - * .google.protobuf.Timestamp update_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -212,12 +252,16 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** + * + * *
    * Output only. The timestamp when the source was last queried (if the result
    * is from the cache).
    * 
* - * .google.protobuf.Timestamp update_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateTime. */ @java.lang.Override @@ -225,12 +269,15 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** + * + * *
    * Output only. The timestamp when the source was last queried (if the result
    * is from the cache).
    * 
* - * .google.protobuf.Timestamp update_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { @@ -238,6 +285,7 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -249,8 +297,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 (sourceVmsCase_ == 1) { output.writeMessage(1, (com.google.cloud.vmmigration.v1.VmwareVmsDetails) sourceVms_); } @@ -267,12 +314,12 @@ public int getSerializedSize() { size = 0; if (sourceVmsCase_ == 1) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, (com.google.cloud.vmmigration.v1.VmwareVmsDetails) sourceVms_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 1, (com.google.cloud.vmmigration.v1.VmwareVmsDetails) sourceVms_); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateTime()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -282,23 +329,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.vmmigration.v1.FetchInventoryResponse)) { return super.equals(obj); } - com.google.cloud.vmmigration.v1.FetchInventoryResponse other = (com.google.cloud.vmmigration.v1.FetchInventoryResponse) obj; + com.google.cloud.vmmigration.v1.FetchInventoryResponse other = + (com.google.cloud.vmmigration.v1.FetchInventoryResponse) obj; if (hasUpdateTime() != other.hasUpdateTime()) return false; if (hasUpdateTime()) { - if (!getUpdateTime() - .equals(other.getUpdateTime())) return false; + if (!getUpdateTime().equals(other.getUpdateTime())) return false; } if (!getSourceVmsCase().equals(other.getSourceVmsCase())) return false; switch (sourceVmsCase_) { case 1: - if (!getVmwareVms() - .equals(other.getVmwareVms())) return false; + if (!getVmwareVms().equals(other.getVmwareVms())) return false; break; case 0: default: @@ -332,96 +378,104 @@ public int hashCode() { } public static com.google.cloud.vmmigration.v1.FetchInventoryResponse 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.vmmigration.v1.FetchInventoryResponse 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.vmmigration.v1.FetchInventoryResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.vmmigration.v1.FetchInventoryResponse 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.vmmigration.v1.FetchInventoryResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.vmmigration.v1.FetchInventoryResponse 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.vmmigration.v1.FetchInventoryResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.vmmigration.v1.FetchInventoryResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.vmmigration.v1.FetchInventoryResponse 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.vmmigration.v1.FetchInventoryResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.vmmigration.v1.FetchInventoryResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.vmmigration.v1.FetchInventoryResponse 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.vmmigration.v1.FetchInventoryResponse 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.vmmigration.v1.FetchInventoryResponse 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.vmmigration.v1.FetchInventoryResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.vmmigration.v1.FetchInventoryResponse 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; } /** + * + * *
    * Response message for
    * [fetchInventory][google.cloud.vmmigration.v1.VmMigration.FetchInventory].
@@ -429,21 +483,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.vmmigration.v1.FetchInventoryResponse}
    */
-  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.vmmigration.v1.FetchInventoryResponse)
       com.google.cloud.vmmigration.v1.FetchInventoryResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_FetchInventoryResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.vmmigration.v1.VmMigrationProto
+          .internal_static_google_cloud_vmmigration_v1_FetchInventoryResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_FetchInventoryResponse_fieldAccessorTable
+      return com.google.cloud.vmmigration.v1.VmMigrationProto
+          .internal_static_google_cloud_vmmigration_v1_FetchInventoryResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.vmmigration.v1.FetchInventoryResponse.class, com.google.cloud.vmmigration.v1.FetchInventoryResponse.Builder.class);
+              com.google.cloud.vmmigration.v1.FetchInventoryResponse.class,
+              com.google.cloud.vmmigration.v1.FetchInventoryResponse.Builder.class);
     }
 
     // Construct using com.google.cloud.vmmigration.v1.FetchInventoryResponse.newBuilder()
@@ -451,16 +507,15 @@ 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) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -476,9 +531,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_FetchInventoryResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.vmmigration.v1.VmMigrationProto
+          .internal_static_google_cloud_vmmigration_v1_FetchInventoryResponse_descriptor;
     }
 
     @java.lang.Override
@@ -497,7 +552,8 @@ public com.google.cloud.vmmigration.v1.FetchInventoryResponse build() {
 
     @java.lang.Override
     public com.google.cloud.vmmigration.v1.FetchInventoryResponse buildPartial() {
-      com.google.cloud.vmmigration.v1.FetchInventoryResponse result = new com.google.cloud.vmmigration.v1.FetchInventoryResponse(this);
+      com.google.cloud.vmmigration.v1.FetchInventoryResponse result =
+          new com.google.cloud.vmmigration.v1.FetchInventoryResponse(this);
       if (sourceVmsCase_ == 1) {
         if (vmwareVmsBuilder_ == null) {
           result.sourceVms_ = sourceVms_;
@@ -519,38 +575,39 @@ public com.google.cloud.vmmigration.v1.FetchInventoryResponse buildPartial() {
     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.vmmigration.v1.FetchInventoryResponse) {
-        return mergeFrom((com.google.cloud.vmmigration.v1.FetchInventoryResponse)other);
+        return mergeFrom((com.google.cloud.vmmigration.v1.FetchInventoryResponse) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -558,18 +615,21 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.vmmigration.v1.FetchInventoryResponse other) {
-      if (other == com.google.cloud.vmmigration.v1.FetchInventoryResponse.getDefaultInstance()) return this;
+      if (other == com.google.cloud.vmmigration.v1.FetchInventoryResponse.getDefaultInstance())
+        return this;
       if (other.hasUpdateTime()) {
         mergeUpdateTime(other.getUpdateTime());
       }
       switch (other.getSourceVmsCase()) {
-        case VMWARE_VMS: {
-          mergeVmwareVms(other.getVmwareVms());
-          break;
-        }
-        case SOURCEVMS_NOT_SET: {
-          break;
-        }
+        case VMWARE_VMS:
+          {
+            mergeVmwareVms(other.getVmwareVms());
+            break;
+          }
+        case SOURCEVMS_NOT_SET:
+          {
+            break;
+          }
       }
       this.mergeUnknownFields(other.unknownFields);
       onChanged();
@@ -590,7 +650,8 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.cloud.vmmigration.v1.FetchInventoryResponse) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.cloud.vmmigration.v1.FetchInventoryResponse) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -599,12 +660,12 @@ public Builder mergeFrom(
       }
       return this;
     }
+
     private int sourceVmsCase_ = 0;
     private java.lang.Object sourceVms_;
-    public SourceVmsCase
-        getSourceVmsCase() {
-      return SourceVmsCase.forNumber(
-          sourceVmsCase_);
+
+    public SourceVmsCase getSourceVmsCase() {
+      return SourceVmsCase.forNumber(sourceVmsCase_);
     }
 
     public Builder clearSourceVms() {
@@ -614,15 +675,20 @@ public Builder clearSourceVms() {
       return this;
     }
 
-
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.vmmigration.v1.VmwareVmsDetails, com.google.cloud.vmmigration.v1.VmwareVmsDetails.Builder, com.google.cloud.vmmigration.v1.VmwareVmsDetailsOrBuilder> vmwareVmsBuilder_;
+            com.google.cloud.vmmigration.v1.VmwareVmsDetails,
+            com.google.cloud.vmmigration.v1.VmwareVmsDetails.Builder,
+            com.google.cloud.vmmigration.v1.VmwareVmsDetailsOrBuilder>
+        vmwareVmsBuilder_;
     /**
+     *
+     *
      * 
      * The description of the VMs in a Source of type Vmware.
      * 
* * .google.cloud.vmmigration.v1.VmwareVmsDetails vmware_vms = 1; + * * @return Whether the vmwareVms field is set. */ @java.lang.Override @@ -630,11 +696,14 @@ public boolean hasVmwareVms() { return sourceVmsCase_ == 1; } /** + * + * *
      * The description of the VMs in a Source of type Vmware.
      * 
* * .google.cloud.vmmigration.v1.VmwareVmsDetails vmware_vms = 1; + * * @return The vmwareVms. */ @java.lang.Override @@ -652,6 +721,8 @@ public com.google.cloud.vmmigration.v1.VmwareVmsDetails getVmwareVms() { } } /** + * + * *
      * The description of the VMs in a Source of type Vmware.
      * 
@@ -672,6 +743,8 @@ public Builder setVmwareVms(com.google.cloud.vmmigration.v1.VmwareVmsDetails val return this; } /** + * + * *
      * The description of the VMs in a Source of type Vmware.
      * 
@@ -690,6 +763,8 @@ public Builder setVmwareVms( return this; } /** + * + * *
      * The description of the VMs in a Source of type Vmware.
      * 
@@ -698,10 +773,14 @@ public Builder setVmwareVms( */ public Builder mergeVmwareVms(com.google.cloud.vmmigration.v1.VmwareVmsDetails value) { if (vmwareVmsBuilder_ == null) { - if (sourceVmsCase_ == 1 && - sourceVms_ != com.google.cloud.vmmigration.v1.VmwareVmsDetails.getDefaultInstance()) { - sourceVms_ = com.google.cloud.vmmigration.v1.VmwareVmsDetails.newBuilder((com.google.cloud.vmmigration.v1.VmwareVmsDetails) sourceVms_) - .mergeFrom(value).buildPartial(); + if (sourceVmsCase_ == 1 + && sourceVms_ + != com.google.cloud.vmmigration.v1.VmwareVmsDetails.getDefaultInstance()) { + sourceVms_ = + com.google.cloud.vmmigration.v1.VmwareVmsDetails.newBuilder( + (com.google.cloud.vmmigration.v1.VmwareVmsDetails) sourceVms_) + .mergeFrom(value) + .buildPartial(); } else { sourceVms_ = value; } @@ -717,6 +796,8 @@ public Builder mergeVmwareVms(com.google.cloud.vmmigration.v1.VmwareVmsDetails v return this; } /** + * + * *
      * The description of the VMs in a Source of type Vmware.
      * 
@@ -740,6 +821,8 @@ public Builder clearVmwareVms() { return this; } /** + * + * *
      * The description of the VMs in a Source of type Vmware.
      * 
@@ -750,6 +833,8 @@ public com.google.cloud.vmmigration.v1.VmwareVmsDetails.Builder getVmwareVmsBuil return getVmwareVmsFieldBuilder().getBuilder(); } /** + * + * *
      * The description of the VMs in a Source of type Vmware.
      * 
@@ -768,6 +853,8 @@ public com.google.cloud.vmmigration.v1.VmwareVmsDetailsOrBuilder getVmwareVmsOrB } } /** + * + * *
      * The description of the VMs in a Source of type Vmware.
      * 
@@ -775,62 +862,87 @@ public com.google.cloud.vmmigration.v1.VmwareVmsDetailsOrBuilder getVmwareVmsOrB * .google.cloud.vmmigration.v1.VmwareVmsDetails vmware_vms = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.vmmigration.v1.VmwareVmsDetails, com.google.cloud.vmmigration.v1.VmwareVmsDetails.Builder, com.google.cloud.vmmigration.v1.VmwareVmsDetailsOrBuilder> + com.google.cloud.vmmigration.v1.VmwareVmsDetails, + com.google.cloud.vmmigration.v1.VmwareVmsDetails.Builder, + com.google.cloud.vmmigration.v1.VmwareVmsDetailsOrBuilder> getVmwareVmsFieldBuilder() { if (vmwareVmsBuilder_ == null) { if (!(sourceVmsCase_ == 1)) { sourceVms_ = com.google.cloud.vmmigration.v1.VmwareVmsDetails.getDefaultInstance(); } - vmwareVmsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.vmmigration.v1.VmwareVmsDetails, com.google.cloud.vmmigration.v1.VmwareVmsDetails.Builder, com.google.cloud.vmmigration.v1.VmwareVmsDetailsOrBuilder>( + vmwareVmsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.vmmigration.v1.VmwareVmsDetails, + com.google.cloud.vmmigration.v1.VmwareVmsDetails.Builder, + com.google.cloud.vmmigration.v1.VmwareVmsDetailsOrBuilder>( (com.google.cloud.vmmigration.v1.VmwareVmsDetails) sourceVms_, getParentForChildren(), isClean()); sourceVms_ = null; } sourceVmsCase_ = 1; - onChanged();; + onChanged(); + ; return vmwareVmsBuilder_; } 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. The timestamp when the source was last queried (if the result
      * is from the cache).
      * 
* - * .google.protobuf.Timestamp update_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return updateTimeBuilder_ != null || updateTime_ != null; } /** + * + * *
      * Output only. The timestamp when the source was last queried (if the result
      * is from the cache).
      * 
* - * .google.protobuf.Timestamp update_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 2 [(.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. The timestamp when the source was last queried (if the result
      * is from the cache).
      * 
* - * .google.protobuf.Timestamp update_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { @@ -846,15 +958,18 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The timestamp when the source was last queried (if the result
      * is from the cache).
      * 
* - * .google.protobuf.Timestamp update_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 2 [(.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(); onChanged(); @@ -865,18 +980,22 @@ public Builder setUpdateTime( return this; } /** + * + * *
      * Output only. The timestamp when the source was last queried (if the result
      * is from the cache).
      * 
* - * .google.protobuf.Timestamp update_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { if (updateTime_ != null) { updateTime_ = - com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); } else { updateTime_ = value; } @@ -888,12 +1007,16 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The timestamp when the source was last queried (if the result
      * is from the cache).
      * 
* - * .google.protobuf.Timestamp update_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearUpdateTime() { if (updateTimeBuilder_ == null) { @@ -907,58 +1030,74 @@ public Builder clearUpdateTime() { return this; } /** + * + * *
      * Output only. The timestamp when the source was last queried (if the result
      * is from the cache).
      * 
* - * .google.protobuf.Timestamp update_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { - + onChanged(); return getUpdateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The timestamp when the source was last queried (if the result
      * is from the cache).
      * 
* - * .google.protobuf.Timestamp update_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 2 [(.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. The timestamp when the source was last queried (if the result
      * is from the cache).
      * 
* - * .google.protobuf.Timestamp update_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 2 [(.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_; } + @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); } @@ -968,12 +1107,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.vmmigration.v1.FetchInventoryResponse) } // @@protoc_insertion_point(class_scope:google.cloud.vmmigration.v1.FetchInventoryResponse) private static final com.google.cloud.vmmigration.v1.FetchInventoryResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.vmmigration.v1.FetchInventoryResponse(); } @@ -982,16 +1121,16 @@ public static com.google.cloud.vmmigration.v1.FetchInventoryResponse getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public FetchInventoryResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new FetchInventoryResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public FetchInventoryResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new FetchInventoryResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1006,6 +1145,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.vmmigration.v1.FetchInventoryResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/FetchInventoryResponseOrBuilder.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/FetchInventoryResponseOrBuilder.java similarity index 69% rename from owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/FetchInventoryResponseOrBuilder.java rename to proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/FetchInventoryResponseOrBuilder.java index 20a26ff..c9a01c0 100644 --- a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/FetchInventoryResponseOrBuilder.java +++ b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/FetchInventoryResponseOrBuilder.java @@ -1,31 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; -public interface FetchInventoryResponseOrBuilder extends +public interface FetchInventoryResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.FetchInventoryResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The description of the VMs in a Source of type Vmware.
    * 
* * .google.cloud.vmmigration.v1.VmwareVmsDetails vmware_vms = 1; + * * @return Whether the vmwareVms field is set. */ boolean hasVmwareVms(); /** + * + * *
    * The description of the VMs in a Source of type Vmware.
    * 
* * .google.cloud.vmmigration.v1.VmwareVmsDetails vmware_vms = 1; + * * @return The vmwareVms. */ com.google.cloud.vmmigration.v1.VmwareVmsDetails getVmwareVms(); /** + * + * *
    * The description of the VMs in a Source of type Vmware.
    * 
@@ -35,32 +59,43 @@ public interface FetchInventoryResponseOrBuilder extends com.google.cloud.vmmigration.v1.VmwareVmsDetailsOrBuilder getVmwareVmsOrBuilder(); /** + * + * *
    * Output only. The timestamp when the source was last queried (if the result
    * is from the cache).
    * 
* - * .google.protobuf.Timestamp update_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** + * + * *
    * Output only. The timestamp when the source was last queried (if the result
    * is from the cache).
    * 
* - * .google.protobuf.Timestamp update_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** + * + * *
    * Output only. The timestamp when the source was last queried (if the result
    * is from the cache).
    * 
* - * .google.protobuf.Timestamp update_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); diff --git a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/FinalizeMigrationRequest.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/FinalizeMigrationRequest.java similarity index 64% rename from owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/FinalizeMigrationRequest.java rename to proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/FinalizeMigrationRequest.java index b1cb835..fba8eae 100644 --- a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/FinalizeMigrationRequest.java +++ b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/FinalizeMigrationRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; /** + * + * *
  * Request message for 'FinalizeMigration' request.
  * 
* * Protobuf type {@code google.cloud.vmmigration.v1.FinalizeMigrationRequest} */ -public final class FinalizeMigrationRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class FinalizeMigrationRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.vmmigration.v1.FinalizeMigrationRequest) FinalizeMigrationRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use FinalizeMigrationRequest.newBuilder() to construct. private FinalizeMigrationRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private FinalizeMigrationRequest() { migratingVm_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new FinalizeMigrationRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private FinalizeMigrationRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private FinalizeMigrationRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - migratingVm_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + migratingVm_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,34 +91,41 @@ private FinalizeMigrationRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_FinalizeMigrationRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_FinalizeMigrationRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_FinalizeMigrationRequest_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_FinalizeMigrationRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.FinalizeMigrationRequest.class, com.google.cloud.vmmigration.v1.FinalizeMigrationRequest.Builder.class); + com.google.cloud.vmmigration.v1.FinalizeMigrationRequest.class, + com.google.cloud.vmmigration.v1.FinalizeMigrationRequest.Builder.class); } public static final int MIGRATING_VM_FIELD_NUMBER = 1; private volatile java.lang.Object migratingVm_; /** + * + * *
    * Required. The name of the MigratingVm.
    * 
* - * string migrating_vm = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string migrating_vm = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The migratingVm. */ @java.lang.Override @@ -109,29 +134,31 @@ public java.lang.String getMigratingVm() { 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(); migratingVm_ = s; return s; } } /** + * + * *
    * Required. The name of the MigratingVm.
    * 
* - * string migrating_vm = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string migrating_vm = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for migratingVm. */ @java.lang.Override - public com.google.protobuf.ByteString - getMigratingVmBytes() { + public com.google.protobuf.ByteString getMigratingVmBytes() { java.lang.Object ref = migratingVm_; 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); migratingVm_ = b; return b; } else { @@ -140,6 +167,7 @@ public java.lang.String getMigratingVm() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,8 +179,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(migratingVm_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, migratingVm_); } @@ -176,15 +203,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.vmmigration.v1.FinalizeMigrationRequest)) { return super.equals(obj); } - com.google.cloud.vmmigration.v1.FinalizeMigrationRequest other = (com.google.cloud.vmmigration.v1.FinalizeMigrationRequest) obj; + com.google.cloud.vmmigration.v1.FinalizeMigrationRequest other = + (com.google.cloud.vmmigration.v1.FinalizeMigrationRequest) obj; - if (!getMigratingVm() - .equals(other.getMigratingVm())) return false; + if (!getMigratingVm().equals(other.getMigratingVm())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -204,117 +231,127 @@ public int hashCode() { } public static com.google.cloud.vmmigration.v1.FinalizeMigrationRequest 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.vmmigration.v1.FinalizeMigrationRequest 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.vmmigration.v1.FinalizeMigrationRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.vmmigration.v1.FinalizeMigrationRequest 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.vmmigration.v1.FinalizeMigrationRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.vmmigration.v1.FinalizeMigrationRequest 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.vmmigration.v1.FinalizeMigrationRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.vmmigration.v1.FinalizeMigrationRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.vmmigration.v1.FinalizeMigrationRequest 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.vmmigration.v1.FinalizeMigrationRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.vmmigration.v1.FinalizeMigrationRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.vmmigration.v1.FinalizeMigrationRequest 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.vmmigration.v1.FinalizeMigrationRequest 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.vmmigration.v1.FinalizeMigrationRequest 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.vmmigration.v1.FinalizeMigrationRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.vmmigration.v1.FinalizeMigrationRequest 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 message for 'FinalizeMigration' request.
    * 
* * Protobuf type {@code google.cloud.vmmigration.v1.FinalizeMigrationRequest} */ - 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.vmmigration.v1.FinalizeMigrationRequest) com.google.cloud.vmmigration.v1.FinalizeMigrationRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_FinalizeMigrationRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_FinalizeMigrationRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_FinalizeMigrationRequest_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_FinalizeMigrationRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.FinalizeMigrationRequest.class, com.google.cloud.vmmigration.v1.FinalizeMigrationRequest.Builder.class); + com.google.cloud.vmmigration.v1.FinalizeMigrationRequest.class, + com.google.cloud.vmmigration.v1.FinalizeMigrationRequest.Builder.class); } // Construct using com.google.cloud.vmmigration.v1.FinalizeMigrationRequest.newBuilder() @@ -322,16 +359,15 @@ 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) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -341,9 +377,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_FinalizeMigrationRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_FinalizeMigrationRequest_descriptor; } @java.lang.Override @@ -362,7 +398,8 @@ public com.google.cloud.vmmigration.v1.FinalizeMigrationRequest build() { @java.lang.Override public com.google.cloud.vmmigration.v1.FinalizeMigrationRequest buildPartial() { - com.google.cloud.vmmigration.v1.FinalizeMigrationRequest result = new com.google.cloud.vmmigration.v1.FinalizeMigrationRequest(this); + com.google.cloud.vmmigration.v1.FinalizeMigrationRequest result = + new com.google.cloud.vmmigration.v1.FinalizeMigrationRequest(this); result.migratingVm_ = migratingVm_; onBuilt(); return result; @@ -372,38 +409,39 @@ public com.google.cloud.vmmigration.v1.FinalizeMigrationRequest buildPartial() { 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.vmmigration.v1.FinalizeMigrationRequest) { - return mergeFrom((com.google.cloud.vmmigration.v1.FinalizeMigrationRequest)other); + return mergeFrom((com.google.cloud.vmmigration.v1.FinalizeMigrationRequest) other); } else { super.mergeFrom(other); return this; @@ -411,7 +449,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.vmmigration.v1.FinalizeMigrationRequest other) { - if (other == com.google.cloud.vmmigration.v1.FinalizeMigrationRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.vmmigration.v1.FinalizeMigrationRequest.getDefaultInstance()) + return this; if (!other.getMigratingVm().isEmpty()) { migratingVm_ = other.migratingVm_; onChanged(); @@ -435,7 +474,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.vmmigration.v1.FinalizeMigrationRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.vmmigration.v1.FinalizeMigrationRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -447,18 +487,22 @@ public Builder mergeFrom( private java.lang.Object migratingVm_ = ""; /** + * + * *
      * Required. The name of the MigratingVm.
      * 
* - * string migrating_vm = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string migrating_vm = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The migratingVm. */ public java.lang.String getMigratingVm() { java.lang.Object ref = migratingVm_; 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(); migratingVm_ = s; return s; @@ -467,20 +511,23 @@ public java.lang.String getMigratingVm() { } } /** + * + * *
      * Required. The name of the MigratingVm.
      * 
* - * string migrating_vm = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string migrating_vm = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for migratingVm. */ - public com.google.protobuf.ByteString - getMigratingVmBytes() { + public com.google.protobuf.ByteString getMigratingVmBytes() { java.lang.Object ref = migratingVm_; 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); migratingVm_ = b; return b; } else { @@ -488,61 +535,74 @@ public java.lang.String getMigratingVm() { } } /** + * + * *
      * Required. The name of the MigratingVm.
      * 
* - * string migrating_vm = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string migrating_vm = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The migratingVm to set. * @return This builder for chaining. */ - public Builder setMigratingVm( - java.lang.String value) { + public Builder setMigratingVm(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + migratingVm_ = value; onChanged(); return this; } /** + * + * *
      * Required. The name of the MigratingVm.
      * 
* - * string migrating_vm = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string migrating_vm = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearMigratingVm() { - + migratingVm_ = getDefaultInstance().getMigratingVm(); onChanged(); return this; } /** + * + * *
      * Required. The name of the MigratingVm.
      * 
* - * string migrating_vm = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string migrating_vm = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for migratingVm to set. * @return This builder for chaining. */ - public Builder setMigratingVmBytes( - com.google.protobuf.ByteString value) { + public Builder setMigratingVmBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + migratingVm_ = 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); } @@ -552,12 +612,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.vmmigration.v1.FinalizeMigrationRequest) } // @@protoc_insertion_point(class_scope:google.cloud.vmmigration.v1.FinalizeMigrationRequest) private static final com.google.cloud.vmmigration.v1.FinalizeMigrationRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.vmmigration.v1.FinalizeMigrationRequest(); } @@ -566,16 +626,16 @@ public static com.google.cloud.vmmigration.v1.FinalizeMigrationRequest getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public FinalizeMigrationRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new FinalizeMigrationRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public FinalizeMigrationRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new FinalizeMigrationRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -590,6 +650,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.vmmigration.v1.FinalizeMigrationRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/FinalizeMigrationRequestOrBuilder.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/FinalizeMigrationRequestOrBuilder.java new file mode 100644 index 0000000..543f495 --- /dev/null +++ b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/FinalizeMigrationRequestOrBuilder.java @@ -0,0 +1,54 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/vmmigration/v1/vmmigration.proto + +package com.google.cloud.vmmigration.v1; + +public interface FinalizeMigrationRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.FinalizeMigrationRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the MigratingVm.
+   * 
+ * + * + * string migrating_vm = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The migratingVm. + */ + java.lang.String getMigratingVm(); + /** + * + * + *
+   * Required. The name of the MigratingVm.
+   * 
+ * + * + * string migrating_vm = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for migratingVm. + */ + com.google.protobuf.ByteString getMigratingVmBytes(); +} diff --git a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/FinalizeMigrationResponse.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/FinalizeMigrationResponse.java similarity index 65% rename from owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/FinalizeMigrationResponse.java rename to proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/FinalizeMigrationResponse.java index b3e05ef..c4572b0 100644 --- a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/FinalizeMigrationResponse.java +++ b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/FinalizeMigrationResponse.java @@ -1,39 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; /** + * + * *
  * Response message for 'FinalizeMigration' request.
  * 
* * Protobuf type {@code google.cloud.vmmigration.v1.FinalizeMigrationResponse} */ -public final class FinalizeMigrationResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class FinalizeMigrationResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.vmmigration.v1.FinalizeMigrationResponse) FinalizeMigrationResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use FinalizeMigrationResponse.newBuilder() to construct. private FinalizeMigrationResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private FinalizeMigrationResponse() { - } + + private FinalizeMigrationResponse() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new FinalizeMigrationResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private FinalizeMigrationResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,13 +68,13 @@ private FinalizeMigrationResponse( case 0: done = true; break; - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -66,27 +82,30 @@ private FinalizeMigrationResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_FinalizeMigrationResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_FinalizeMigrationResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_FinalizeMigrationResponse_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_FinalizeMigrationResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.FinalizeMigrationResponse.class, com.google.cloud.vmmigration.v1.FinalizeMigrationResponse.Builder.class); + com.google.cloud.vmmigration.v1.FinalizeMigrationResponse.class, + com.google.cloud.vmmigration.v1.FinalizeMigrationResponse.Builder.class); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -98,8 +117,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 { unknownFields.writeTo(output); } @@ -117,12 +135,13 @@ 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.vmmigration.v1.FinalizeMigrationResponse)) { return super.equals(obj); } - com.google.cloud.vmmigration.v1.FinalizeMigrationResponse other = (com.google.cloud.vmmigration.v1.FinalizeMigrationResponse) obj; + com.google.cloud.vmmigration.v1.FinalizeMigrationResponse other = + (com.google.cloud.vmmigration.v1.FinalizeMigrationResponse) obj; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -141,117 +160,127 @@ public int hashCode() { } public static com.google.cloud.vmmigration.v1.FinalizeMigrationResponse 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.vmmigration.v1.FinalizeMigrationResponse 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.vmmigration.v1.FinalizeMigrationResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.vmmigration.v1.FinalizeMigrationResponse 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.vmmigration.v1.FinalizeMigrationResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.vmmigration.v1.FinalizeMigrationResponse 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.vmmigration.v1.FinalizeMigrationResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.vmmigration.v1.FinalizeMigrationResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.vmmigration.v1.FinalizeMigrationResponse 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.vmmigration.v1.FinalizeMigrationResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.vmmigration.v1.FinalizeMigrationResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.vmmigration.v1.FinalizeMigrationResponse 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.vmmigration.v1.FinalizeMigrationResponse 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.vmmigration.v1.FinalizeMigrationResponse 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.vmmigration.v1.FinalizeMigrationResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.vmmigration.v1.FinalizeMigrationResponse 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; } /** + * + * *
    * Response message for 'FinalizeMigration' request.
    * 
* * Protobuf type {@code google.cloud.vmmigration.v1.FinalizeMigrationResponse} */ - 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.vmmigration.v1.FinalizeMigrationResponse) com.google.cloud.vmmigration.v1.FinalizeMigrationResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_FinalizeMigrationResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_FinalizeMigrationResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_FinalizeMigrationResponse_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_FinalizeMigrationResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.FinalizeMigrationResponse.class, com.google.cloud.vmmigration.v1.FinalizeMigrationResponse.Builder.class); + com.google.cloud.vmmigration.v1.FinalizeMigrationResponse.class, + com.google.cloud.vmmigration.v1.FinalizeMigrationResponse.Builder.class); } // Construct using com.google.cloud.vmmigration.v1.FinalizeMigrationResponse.newBuilder() @@ -259,16 +288,15 @@ 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) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -276,9 +304,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_FinalizeMigrationResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_FinalizeMigrationResponse_descriptor; } @java.lang.Override @@ -297,7 +325,8 @@ public com.google.cloud.vmmigration.v1.FinalizeMigrationResponse build() { @java.lang.Override public com.google.cloud.vmmigration.v1.FinalizeMigrationResponse buildPartial() { - com.google.cloud.vmmigration.v1.FinalizeMigrationResponse result = new com.google.cloud.vmmigration.v1.FinalizeMigrationResponse(this); + com.google.cloud.vmmigration.v1.FinalizeMigrationResponse result = + new com.google.cloud.vmmigration.v1.FinalizeMigrationResponse(this); onBuilt(); return result; } @@ -306,38 +335,39 @@ public com.google.cloud.vmmigration.v1.FinalizeMigrationResponse buildPartial() 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.vmmigration.v1.FinalizeMigrationResponse) { - return mergeFrom((com.google.cloud.vmmigration.v1.FinalizeMigrationResponse)other); + return mergeFrom((com.google.cloud.vmmigration.v1.FinalizeMigrationResponse) other); } else { super.mergeFrom(other); return this; @@ -345,7 +375,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.vmmigration.v1.FinalizeMigrationResponse other) { - if (other == com.google.cloud.vmmigration.v1.FinalizeMigrationResponse.getDefaultInstance()) return this; + if (other == com.google.cloud.vmmigration.v1.FinalizeMigrationResponse.getDefaultInstance()) + return this; this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -365,7 +396,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.vmmigration.v1.FinalizeMigrationResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.vmmigration.v1.FinalizeMigrationResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -374,9 +406,9 @@ public Builder mergeFrom( } 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); } @@ -386,12 +418,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.vmmigration.v1.FinalizeMigrationResponse) } // @@protoc_insertion_point(class_scope:google.cloud.vmmigration.v1.FinalizeMigrationResponse) private static final com.google.cloud.vmmigration.v1.FinalizeMigrationResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.vmmigration.v1.FinalizeMigrationResponse(); } @@ -400,16 +432,16 @@ public static com.google.cloud.vmmigration.v1.FinalizeMigrationResponse getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public FinalizeMigrationResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new FinalizeMigrationResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public FinalizeMigrationResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new FinalizeMigrationResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -424,6 +456,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.vmmigration.v1.FinalizeMigrationResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/FinalizeMigrationResponseOrBuilder.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/FinalizeMigrationResponseOrBuilder.java new file mode 100644 index 0000000..5325761 --- /dev/null +++ b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/FinalizeMigrationResponseOrBuilder.java @@ -0,0 +1,24 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/vmmigration/v1/vmmigration.proto + +package com.google.cloud.vmmigration.v1; + +public interface FinalizeMigrationResponseOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.FinalizeMigrationResponse) + com.google.protobuf.MessageOrBuilder {} diff --git a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetCloneJobRequest.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetCloneJobRequest.java similarity index 64% rename from owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetCloneJobRequest.java rename to proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetCloneJobRequest.java index b406293..5e6dfc6 100644 --- a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetCloneJobRequest.java +++ b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetCloneJobRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; /** + * + * *
  * Request message for 'GetCloneJob' request.
  * 
* * Protobuf type {@code google.cloud.vmmigration.v1.GetCloneJobRequest} */ -public final class GetCloneJobRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetCloneJobRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.vmmigration.v1.GetCloneJobRequest) GetCloneJobRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetCloneJobRequest.newBuilder() to construct. private GetCloneJobRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetCloneJobRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetCloneJobRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private GetCloneJobRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private GetCloneJobRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,34 +91,41 @@ private GetCloneJobRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_GetCloneJobRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_GetCloneJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_GetCloneJobRequest_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_GetCloneJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.GetCloneJobRequest.class, com.google.cloud.vmmigration.v1.GetCloneJobRequest.Builder.class); + com.google.cloud.vmmigration.v1.GetCloneJobRequest.class, + com.google.cloud.vmmigration.v1.GetCloneJobRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The name of the CloneJob.
    * 
* - * 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 @@ -109,29 +134,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 name of the CloneJob.
    * 
* - * 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 { @@ -140,6 +167,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,8 +179,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_); } @@ -176,15 +203,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.vmmigration.v1.GetCloneJobRequest)) { return super.equals(obj); } - com.google.cloud.vmmigration.v1.GetCloneJobRequest other = (com.google.cloud.vmmigration.v1.GetCloneJobRequest) obj; + com.google.cloud.vmmigration.v1.GetCloneJobRequest other = + (com.google.cloud.vmmigration.v1.GetCloneJobRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -204,117 +231,126 @@ public int hashCode() { } public static com.google.cloud.vmmigration.v1.GetCloneJobRequest 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.vmmigration.v1.GetCloneJobRequest 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.vmmigration.v1.GetCloneJobRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.vmmigration.v1.GetCloneJobRequest 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.vmmigration.v1.GetCloneJobRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.vmmigration.v1.GetCloneJobRequest 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.vmmigration.v1.GetCloneJobRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.vmmigration.v1.GetCloneJobRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.vmmigration.v1.GetCloneJobRequest 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.vmmigration.v1.GetCloneJobRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.vmmigration.v1.GetCloneJobRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.vmmigration.v1.GetCloneJobRequest 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.vmmigration.v1.GetCloneJobRequest 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.vmmigration.v1.GetCloneJobRequest 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.vmmigration.v1.GetCloneJobRequest 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 message for 'GetCloneJob' request.
    * 
* * Protobuf type {@code google.cloud.vmmigration.v1.GetCloneJobRequest} */ - 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.vmmigration.v1.GetCloneJobRequest) com.google.cloud.vmmigration.v1.GetCloneJobRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_GetCloneJobRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_GetCloneJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_GetCloneJobRequest_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_GetCloneJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.GetCloneJobRequest.class, com.google.cloud.vmmigration.v1.GetCloneJobRequest.Builder.class); + com.google.cloud.vmmigration.v1.GetCloneJobRequest.class, + com.google.cloud.vmmigration.v1.GetCloneJobRequest.Builder.class); } // Construct using com.google.cloud.vmmigration.v1.GetCloneJobRequest.newBuilder() @@ -322,16 +358,15 @@ 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) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -341,9 +376,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_GetCloneJobRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_GetCloneJobRequest_descriptor; } @java.lang.Override @@ -362,7 +397,8 @@ public com.google.cloud.vmmigration.v1.GetCloneJobRequest build() { @java.lang.Override public com.google.cloud.vmmigration.v1.GetCloneJobRequest buildPartial() { - com.google.cloud.vmmigration.v1.GetCloneJobRequest result = new com.google.cloud.vmmigration.v1.GetCloneJobRequest(this); + com.google.cloud.vmmigration.v1.GetCloneJobRequest result = + new com.google.cloud.vmmigration.v1.GetCloneJobRequest(this); result.name_ = name_; onBuilt(); return result; @@ -372,38 +408,39 @@ public com.google.cloud.vmmigration.v1.GetCloneJobRequest buildPartial() { 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.vmmigration.v1.GetCloneJobRequest) { - return mergeFrom((com.google.cloud.vmmigration.v1.GetCloneJobRequest)other); + return mergeFrom((com.google.cloud.vmmigration.v1.GetCloneJobRequest) other); } else { super.mergeFrom(other); return this; @@ -411,7 +448,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.vmmigration.v1.GetCloneJobRequest other) { - if (other == com.google.cloud.vmmigration.v1.GetCloneJobRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.vmmigration.v1.GetCloneJobRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -435,7 +473,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.vmmigration.v1.GetCloneJobRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.vmmigration.v1.GetCloneJobRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -447,18 +486,22 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the CloneJob.
      * 
* - * 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; @@ -467,20 +510,23 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the CloneJob.
      * 
* - * 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 { @@ -488,61 +534,74 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the CloneJob.
      * 
* - * 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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The name of the CloneJob.
      * 
* - * 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() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The name of the CloneJob.
      * 
* - * 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) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = 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); } @@ -552,12 +611,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.vmmigration.v1.GetCloneJobRequest) } // @@protoc_insertion_point(class_scope:google.cloud.vmmigration.v1.GetCloneJobRequest) private static final com.google.cloud.vmmigration.v1.GetCloneJobRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.vmmigration.v1.GetCloneJobRequest(); } @@ -566,16 +625,16 @@ public static com.google.cloud.vmmigration.v1.GetCloneJobRequest getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetCloneJobRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetCloneJobRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetCloneJobRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetCloneJobRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -590,6 +649,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.vmmigration.v1.GetCloneJobRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetCloneJobRequestOrBuilder.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetCloneJobRequestOrBuilder.java new file mode 100644 index 0000000..b20431f --- /dev/null +++ b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetCloneJobRequestOrBuilder.java @@ -0,0 +1,54 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/vmmigration/v1/vmmigration.proto + +package com.google.cloud.vmmigration.v1; + +public interface GetCloneJobRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.GetCloneJobRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the CloneJob.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The name of the CloneJob.
+   * 
+ * + * + * 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/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetCutoverJobRequest.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetCutoverJobRequest.java similarity index 64% rename from owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetCutoverJobRequest.java rename to proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetCutoverJobRequest.java index 5e1288b..8d54bc1 100644 --- a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetCutoverJobRequest.java +++ b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetCutoverJobRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; /** + * + * *
  * Request message for 'GetCutoverJob' request.
  * 
* * Protobuf type {@code google.cloud.vmmigration.v1.GetCutoverJobRequest} */ -public final class GetCutoverJobRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetCutoverJobRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.vmmigration.v1.GetCutoverJobRequest) GetCutoverJobRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetCutoverJobRequest.newBuilder() to construct. private GetCutoverJobRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetCutoverJobRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetCutoverJobRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private GetCutoverJobRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private GetCutoverJobRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,34 +91,41 @@ private GetCutoverJobRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_GetCutoverJobRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_GetCutoverJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_GetCutoverJobRequest_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_GetCutoverJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.GetCutoverJobRequest.class, com.google.cloud.vmmigration.v1.GetCutoverJobRequest.Builder.class); + com.google.cloud.vmmigration.v1.GetCutoverJobRequest.class, + com.google.cloud.vmmigration.v1.GetCutoverJobRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The name of the CutoverJob.
    * 
* - * 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 @@ -109,29 +134,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 name of the CutoverJob.
    * 
* - * 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 { @@ -140,6 +167,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,8 +179,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_); } @@ -176,15 +203,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.vmmigration.v1.GetCutoverJobRequest)) { return super.equals(obj); } - com.google.cloud.vmmigration.v1.GetCutoverJobRequest other = (com.google.cloud.vmmigration.v1.GetCutoverJobRequest) obj; + com.google.cloud.vmmigration.v1.GetCutoverJobRequest other = + (com.google.cloud.vmmigration.v1.GetCutoverJobRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -204,117 +231,126 @@ public int hashCode() { } public static com.google.cloud.vmmigration.v1.GetCutoverJobRequest 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.vmmigration.v1.GetCutoverJobRequest 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.vmmigration.v1.GetCutoverJobRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.vmmigration.v1.GetCutoverJobRequest 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.vmmigration.v1.GetCutoverJobRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.vmmigration.v1.GetCutoverJobRequest 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.vmmigration.v1.GetCutoverJobRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.vmmigration.v1.GetCutoverJobRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.vmmigration.v1.GetCutoverJobRequest 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.vmmigration.v1.GetCutoverJobRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.vmmigration.v1.GetCutoverJobRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.vmmigration.v1.GetCutoverJobRequest 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.vmmigration.v1.GetCutoverJobRequest 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.vmmigration.v1.GetCutoverJobRequest 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.vmmigration.v1.GetCutoverJobRequest 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 message for 'GetCutoverJob' request.
    * 
* * Protobuf type {@code google.cloud.vmmigration.v1.GetCutoverJobRequest} */ - 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.vmmigration.v1.GetCutoverJobRequest) com.google.cloud.vmmigration.v1.GetCutoverJobRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_GetCutoverJobRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_GetCutoverJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_GetCutoverJobRequest_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_GetCutoverJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.GetCutoverJobRequest.class, com.google.cloud.vmmigration.v1.GetCutoverJobRequest.Builder.class); + com.google.cloud.vmmigration.v1.GetCutoverJobRequest.class, + com.google.cloud.vmmigration.v1.GetCutoverJobRequest.Builder.class); } // Construct using com.google.cloud.vmmigration.v1.GetCutoverJobRequest.newBuilder() @@ -322,16 +358,15 @@ 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) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -341,9 +376,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_GetCutoverJobRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_GetCutoverJobRequest_descriptor; } @java.lang.Override @@ -362,7 +397,8 @@ public com.google.cloud.vmmigration.v1.GetCutoverJobRequest build() { @java.lang.Override public com.google.cloud.vmmigration.v1.GetCutoverJobRequest buildPartial() { - com.google.cloud.vmmigration.v1.GetCutoverJobRequest result = new com.google.cloud.vmmigration.v1.GetCutoverJobRequest(this); + com.google.cloud.vmmigration.v1.GetCutoverJobRequest result = + new com.google.cloud.vmmigration.v1.GetCutoverJobRequest(this); result.name_ = name_; onBuilt(); return result; @@ -372,38 +408,39 @@ public com.google.cloud.vmmigration.v1.GetCutoverJobRequest buildPartial() { 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.vmmigration.v1.GetCutoverJobRequest) { - return mergeFrom((com.google.cloud.vmmigration.v1.GetCutoverJobRequest)other); + return mergeFrom((com.google.cloud.vmmigration.v1.GetCutoverJobRequest) other); } else { super.mergeFrom(other); return this; @@ -411,7 +448,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.vmmigration.v1.GetCutoverJobRequest other) { - if (other == com.google.cloud.vmmigration.v1.GetCutoverJobRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.vmmigration.v1.GetCutoverJobRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -435,7 +473,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.vmmigration.v1.GetCutoverJobRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.vmmigration.v1.GetCutoverJobRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -447,18 +486,22 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the CutoverJob.
      * 
* - * 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; @@ -467,20 +510,23 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the CutoverJob.
      * 
* - * 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 { @@ -488,61 +534,74 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the CutoverJob.
      * 
* - * 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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The name of the CutoverJob.
      * 
* - * 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() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The name of the CutoverJob.
      * 
* - * 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) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = 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); } @@ -552,12 +611,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.vmmigration.v1.GetCutoverJobRequest) } // @@protoc_insertion_point(class_scope:google.cloud.vmmigration.v1.GetCutoverJobRequest) private static final com.google.cloud.vmmigration.v1.GetCutoverJobRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.vmmigration.v1.GetCutoverJobRequest(); } @@ -566,16 +625,16 @@ public static com.google.cloud.vmmigration.v1.GetCutoverJobRequest getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetCutoverJobRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetCutoverJobRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetCutoverJobRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetCutoverJobRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -590,6 +649,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.vmmigration.v1.GetCutoverJobRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetCutoverJobRequestOrBuilder.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetCutoverJobRequestOrBuilder.java new file mode 100644 index 0000000..c44fa0e --- /dev/null +++ b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetCutoverJobRequestOrBuilder.java @@ -0,0 +1,54 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/vmmigration/v1/vmmigration.proto + +package com.google.cloud.vmmigration.v1; + +public interface GetCutoverJobRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.GetCutoverJobRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the CutoverJob.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The name of the CutoverJob.
+   * 
+ * + * + * 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/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetDatacenterConnectorRequest.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetDatacenterConnectorRequest.java similarity index 63% rename from owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetDatacenterConnectorRequest.java rename to proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetDatacenterConnectorRequest.java index 24ff481..888c9ec 100644 --- a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetDatacenterConnectorRequest.java +++ b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetDatacenterConnectorRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; /** + * + * *
  * Request message for 'GetDatacenterConnector' request.
  * 
* * Protobuf type {@code google.cloud.vmmigration.v1.GetDatacenterConnectorRequest} */ -public final class GetDatacenterConnectorRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetDatacenterConnectorRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.vmmigration.v1.GetDatacenterConnectorRequest) GetDatacenterConnectorRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetDatacenterConnectorRequest.newBuilder() to construct. private GetDatacenterConnectorRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetDatacenterConnectorRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetDatacenterConnectorRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private GetDatacenterConnectorRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private GetDatacenterConnectorRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,34 +91,41 @@ private GetDatacenterConnectorRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_GetDatacenterConnectorRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_GetDatacenterConnectorRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_GetDatacenterConnectorRequest_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_GetDatacenterConnectorRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.GetDatacenterConnectorRequest.class, com.google.cloud.vmmigration.v1.GetDatacenterConnectorRequest.Builder.class); + com.google.cloud.vmmigration.v1.GetDatacenterConnectorRequest.class, + com.google.cloud.vmmigration.v1.GetDatacenterConnectorRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The name of the DatacenterConnector.
    * 
* - * 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 @@ -109,29 +134,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 name of the DatacenterConnector.
    * 
* - * 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 { @@ -140,6 +167,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,8 +179,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_); } @@ -176,15 +203,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.vmmigration.v1.GetDatacenterConnectorRequest)) { return super.equals(obj); } - com.google.cloud.vmmigration.v1.GetDatacenterConnectorRequest other = (com.google.cloud.vmmigration.v1.GetDatacenterConnectorRequest) obj; + com.google.cloud.vmmigration.v1.GetDatacenterConnectorRequest other = + (com.google.cloud.vmmigration.v1.GetDatacenterConnectorRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -204,117 +231,127 @@ public int hashCode() { } public static com.google.cloud.vmmigration.v1.GetDatacenterConnectorRequest 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.vmmigration.v1.GetDatacenterConnectorRequest 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.vmmigration.v1.GetDatacenterConnectorRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.vmmigration.v1.GetDatacenterConnectorRequest 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.vmmigration.v1.GetDatacenterConnectorRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.vmmigration.v1.GetDatacenterConnectorRequest 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.vmmigration.v1.GetDatacenterConnectorRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.vmmigration.v1.GetDatacenterConnectorRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.vmmigration.v1.GetDatacenterConnectorRequest 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.vmmigration.v1.GetDatacenterConnectorRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.vmmigration.v1.GetDatacenterConnectorRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.vmmigration.v1.GetDatacenterConnectorRequest 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.vmmigration.v1.GetDatacenterConnectorRequest 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.vmmigration.v1.GetDatacenterConnectorRequest 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.vmmigration.v1.GetDatacenterConnectorRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.vmmigration.v1.GetDatacenterConnectorRequest 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 message for 'GetDatacenterConnector' request.
    * 
* * Protobuf type {@code google.cloud.vmmigration.v1.GetDatacenterConnectorRequest} */ - 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.vmmigration.v1.GetDatacenterConnectorRequest) com.google.cloud.vmmigration.v1.GetDatacenterConnectorRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_GetDatacenterConnectorRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_GetDatacenterConnectorRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_GetDatacenterConnectorRequest_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_GetDatacenterConnectorRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.GetDatacenterConnectorRequest.class, com.google.cloud.vmmigration.v1.GetDatacenterConnectorRequest.Builder.class); + com.google.cloud.vmmigration.v1.GetDatacenterConnectorRequest.class, + com.google.cloud.vmmigration.v1.GetDatacenterConnectorRequest.Builder.class); } // Construct using com.google.cloud.vmmigration.v1.GetDatacenterConnectorRequest.newBuilder() @@ -322,16 +359,15 @@ 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) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -341,13 +377,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_GetDatacenterConnectorRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_GetDatacenterConnectorRequest_descriptor; } @java.lang.Override - public com.google.cloud.vmmigration.v1.GetDatacenterConnectorRequest getDefaultInstanceForType() { + public com.google.cloud.vmmigration.v1.GetDatacenterConnectorRequest + getDefaultInstanceForType() { return com.google.cloud.vmmigration.v1.GetDatacenterConnectorRequest.getDefaultInstance(); } @@ -362,7 +399,8 @@ public com.google.cloud.vmmigration.v1.GetDatacenterConnectorRequest build() { @java.lang.Override public com.google.cloud.vmmigration.v1.GetDatacenterConnectorRequest buildPartial() { - com.google.cloud.vmmigration.v1.GetDatacenterConnectorRequest result = new com.google.cloud.vmmigration.v1.GetDatacenterConnectorRequest(this); + com.google.cloud.vmmigration.v1.GetDatacenterConnectorRequest result = + new com.google.cloud.vmmigration.v1.GetDatacenterConnectorRequest(this); result.name_ = name_; onBuilt(); return result; @@ -372,38 +410,39 @@ public com.google.cloud.vmmigration.v1.GetDatacenterConnectorRequest buildPartia 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.vmmigration.v1.GetDatacenterConnectorRequest) { - return mergeFrom((com.google.cloud.vmmigration.v1.GetDatacenterConnectorRequest)other); + return mergeFrom((com.google.cloud.vmmigration.v1.GetDatacenterConnectorRequest) other); } else { super.mergeFrom(other); return this; @@ -411,7 +450,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.vmmigration.v1.GetDatacenterConnectorRequest other) { - if (other == com.google.cloud.vmmigration.v1.GetDatacenterConnectorRequest.getDefaultInstance()) return this; + if (other + == com.google.cloud.vmmigration.v1.GetDatacenterConnectorRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -435,7 +476,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.vmmigration.v1.GetDatacenterConnectorRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.vmmigration.v1.GetDatacenterConnectorRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -447,18 +490,22 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the DatacenterConnector.
      * 
* - * 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; @@ -467,20 +514,23 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the DatacenterConnector.
      * 
* - * 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 { @@ -488,61 +538,74 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the DatacenterConnector.
      * 
* - * 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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The name of the DatacenterConnector.
      * 
* - * 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() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The name of the DatacenterConnector.
      * 
* - * 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) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = 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); } @@ -552,12 +615,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.vmmigration.v1.GetDatacenterConnectorRequest) } // @@protoc_insertion_point(class_scope:google.cloud.vmmigration.v1.GetDatacenterConnectorRequest) - private static final com.google.cloud.vmmigration.v1.GetDatacenterConnectorRequest DEFAULT_INSTANCE; + private static final com.google.cloud.vmmigration.v1.GetDatacenterConnectorRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.vmmigration.v1.GetDatacenterConnectorRequest(); } @@ -566,16 +630,16 @@ public static com.google.cloud.vmmigration.v1.GetDatacenterConnectorRequest getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetDatacenterConnectorRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetDatacenterConnectorRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetDatacenterConnectorRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetDatacenterConnectorRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -590,6 +654,4 @@ public com.google.protobuf.Parser getParserForTyp public com.google.cloud.vmmigration.v1.GetDatacenterConnectorRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetDatacenterConnectorRequestOrBuilder.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetDatacenterConnectorRequestOrBuilder.java new file mode 100644 index 0000000..c10d316 --- /dev/null +++ b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetDatacenterConnectorRequestOrBuilder.java @@ -0,0 +1,54 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/vmmigration/v1/vmmigration.proto + +package com.google.cloud.vmmigration.v1; + +public interface GetDatacenterConnectorRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.GetDatacenterConnectorRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the DatacenterConnector.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The name of the DatacenterConnector.
+   * 
+ * + * + * 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/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetGroupRequest.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetGroupRequest.java similarity index 65% rename from owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetGroupRequest.java rename to proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetGroupRequest.java index a2c33a1..34adfee 100644 --- a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetGroupRequest.java +++ b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetGroupRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; /** + * + * *
  * Request message for 'GetGroup' request.
  * 
* * Protobuf type {@code google.cloud.vmmigration.v1.GetGroupRequest} */ -public final class GetGroupRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetGroupRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.vmmigration.v1.GetGroupRequest) GetGroupRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetGroupRequest.newBuilder() to construct. private GetGroupRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetGroupRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetGroupRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private GetGroupRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private GetGroupRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,34 +91,41 @@ private GetGroupRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_GetGroupRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_GetGroupRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_GetGroupRequest_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_GetGroupRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.GetGroupRequest.class, com.google.cloud.vmmigration.v1.GetGroupRequest.Builder.class); + com.google.cloud.vmmigration.v1.GetGroupRequest.class, + com.google.cloud.vmmigration.v1.GetGroupRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The group name.
    * 
* - * 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 @@ -109,29 +134,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 group name.
    * 
* - * 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 { @@ -140,6 +167,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,8 +179,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_); } @@ -176,15 +203,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.vmmigration.v1.GetGroupRequest)) { return super.equals(obj); } - com.google.cloud.vmmigration.v1.GetGroupRequest other = (com.google.cloud.vmmigration.v1.GetGroupRequest) obj; + com.google.cloud.vmmigration.v1.GetGroupRequest other = + (com.google.cloud.vmmigration.v1.GetGroupRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -203,118 +230,127 @@ public int hashCode() { return hash; } - public static com.google.cloud.vmmigration.v1.GetGroupRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.vmmigration.v1.GetGroupRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.vmmigration.v1.GetGroupRequest 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.vmmigration.v1.GetGroupRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.vmmigration.v1.GetGroupRequest 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.vmmigration.v1.GetGroupRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.vmmigration.v1.GetGroupRequest 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.vmmigration.v1.GetGroupRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.vmmigration.v1.GetGroupRequest 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.vmmigration.v1.GetGroupRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.vmmigration.v1.GetGroupRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.vmmigration.v1.GetGroupRequest 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.vmmigration.v1.GetGroupRequest 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.vmmigration.v1.GetGroupRequest 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.vmmigration.v1.GetGroupRequest 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 message for 'GetGroup' request.
    * 
* * Protobuf type {@code google.cloud.vmmigration.v1.GetGroupRequest} */ - 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.vmmigration.v1.GetGroupRequest) com.google.cloud.vmmigration.v1.GetGroupRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_GetGroupRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_GetGroupRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_GetGroupRequest_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_GetGroupRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.GetGroupRequest.class, com.google.cloud.vmmigration.v1.GetGroupRequest.Builder.class); + com.google.cloud.vmmigration.v1.GetGroupRequest.class, + com.google.cloud.vmmigration.v1.GetGroupRequest.Builder.class); } // Construct using com.google.cloud.vmmigration.v1.GetGroupRequest.newBuilder() @@ -322,16 +358,15 @@ 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) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -341,9 +376,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_GetGroupRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_GetGroupRequest_descriptor; } @java.lang.Override @@ -362,7 +397,8 @@ public com.google.cloud.vmmigration.v1.GetGroupRequest build() { @java.lang.Override public com.google.cloud.vmmigration.v1.GetGroupRequest buildPartial() { - com.google.cloud.vmmigration.v1.GetGroupRequest result = new com.google.cloud.vmmigration.v1.GetGroupRequest(this); + com.google.cloud.vmmigration.v1.GetGroupRequest result = + new com.google.cloud.vmmigration.v1.GetGroupRequest(this); result.name_ = name_; onBuilt(); return result; @@ -372,38 +408,39 @@ public com.google.cloud.vmmigration.v1.GetGroupRequest buildPartial() { 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.vmmigration.v1.GetGroupRequest) { - return mergeFrom((com.google.cloud.vmmigration.v1.GetGroupRequest)other); + return mergeFrom((com.google.cloud.vmmigration.v1.GetGroupRequest) other); } else { super.mergeFrom(other); return this; @@ -411,7 +448,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.vmmigration.v1.GetGroupRequest other) { - if (other == com.google.cloud.vmmigration.v1.GetGroupRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.vmmigration.v1.GetGroupRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -447,18 +485,22 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The group name.
      * 
* - * 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; @@ -467,20 +509,23 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The group name.
      * 
* - * 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 { @@ -488,61 +533,74 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The group name.
      * 
* - * 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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The group name.
      * 
* - * 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() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The group name.
      * 
* - * 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) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = 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); } @@ -552,12 +610,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.vmmigration.v1.GetGroupRequest) } // @@protoc_insertion_point(class_scope:google.cloud.vmmigration.v1.GetGroupRequest) private static final com.google.cloud.vmmigration.v1.GetGroupRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.vmmigration.v1.GetGroupRequest(); } @@ -566,16 +624,16 @@ public static com.google.cloud.vmmigration.v1.GetGroupRequest getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetGroupRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetGroupRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetGroupRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetGroupRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -590,6 +648,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.vmmigration.v1.GetGroupRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetGroupRequestOrBuilder.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetGroupRequestOrBuilder.java new file mode 100644 index 0000000..67be178 --- /dev/null +++ b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetGroupRequestOrBuilder.java @@ -0,0 +1,54 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/vmmigration/v1/vmmigration.proto + +package com.google.cloud.vmmigration.v1; + +public interface GetGroupRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.GetGroupRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The group name.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The group name.
+   * 
+ * + * + * 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/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetMigratingVmRequest.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetMigratingVmRequest.java similarity index 62% rename from owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetMigratingVmRequest.java rename to proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetMigratingVmRequest.java index 55daa84..4390a6b 100644 --- a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetMigratingVmRequest.java +++ b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetMigratingVmRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; /** + * + * *
  * Request message for 'GetMigratingVm' request.
  * 
* * Protobuf type {@code google.cloud.vmmigration.v1.GetMigratingVmRequest} */ -public final class GetMigratingVmRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetMigratingVmRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.vmmigration.v1.GetMigratingVmRequest) GetMigratingVmRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetMigratingVmRequest.newBuilder() to construct. private GetMigratingVmRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetMigratingVmRequest() { name_ = ""; view_ = 0; @@ -26,16 +44,15 @@ private GetMigratingVmRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetMigratingVmRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private GetMigratingVmRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,25 +71,27 @@ private GetMigratingVmRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 16: { - int rawValue = input.readEnum(); + name_ = s; + break; + } + case 16: + { + int rawValue = input.readEnum(); - view_ = rawValue; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + view_ = rawValue; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -80,34 +99,41 @@ private GetMigratingVmRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_GetMigratingVmRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_GetMigratingVmRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_GetMigratingVmRequest_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_GetMigratingVmRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.GetMigratingVmRequest.class, com.google.cloud.vmmigration.v1.GetMigratingVmRequest.Builder.class); + com.google.cloud.vmmigration.v1.GetMigratingVmRequest.class, + com.google.cloud.vmmigration.v1.GetMigratingVmRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The name of the MigratingVm.
    * 
* - * 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 @@ -116,29 +142,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 name of the MigratingVm.
    * 
* - * 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 { @@ -149,31 +177,45 @@ public java.lang.String getName() { public static final int VIEW_FIELD_NUMBER = 2; private int view_; /** + * + * *
    * Optional. The level of details of the migrating VM.
    * 
* - * .google.cloud.vmmigration.v1.MigratingVmView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.vmmigration.v1.MigratingVmView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The enum numeric value on the wire for view. */ - @java.lang.Override public int getViewValue() { + @java.lang.Override + public int getViewValue() { return view_; } /** + * + * *
    * Optional. The level of details of the migrating VM.
    * 
* - * .google.cloud.vmmigration.v1.MigratingVmView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.vmmigration.v1.MigratingVmView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The view. */ - @java.lang.Override public com.google.cloud.vmmigration.v1.MigratingVmView getView() { + @java.lang.Override + public com.google.cloud.vmmigration.v1.MigratingVmView getView() { @SuppressWarnings("deprecation") - com.google.cloud.vmmigration.v1.MigratingVmView result = com.google.cloud.vmmigration.v1.MigratingVmView.valueOf(view_); + com.google.cloud.vmmigration.v1.MigratingVmView result = + com.google.cloud.vmmigration.v1.MigratingVmView.valueOf(view_); return result == null ? com.google.cloud.vmmigration.v1.MigratingVmView.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -185,12 +227,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(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } - if (view_ != com.google.cloud.vmmigration.v1.MigratingVmView.MIGRATING_VM_VIEW_UNSPECIFIED.getNumber()) { + if (view_ + != com.google.cloud.vmmigration.v1.MigratingVmView.MIGRATING_VM_VIEW_UNSPECIFIED + .getNumber()) { output.writeEnum(2, view_); } unknownFields.writeTo(output); @@ -205,9 +248,10 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } - if (view_ != com.google.cloud.vmmigration.v1.MigratingVmView.MIGRATING_VM_VIEW_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, view_); + if (view_ + != com.google.cloud.vmmigration.v1.MigratingVmView.MIGRATING_VM_VIEW_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, view_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -217,15 +261,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.vmmigration.v1.GetMigratingVmRequest)) { return super.equals(obj); } - com.google.cloud.vmmigration.v1.GetMigratingVmRequest other = (com.google.cloud.vmmigration.v1.GetMigratingVmRequest) obj; + com.google.cloud.vmmigration.v1.GetMigratingVmRequest other = + (com.google.cloud.vmmigration.v1.GetMigratingVmRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (view_ != other.view_) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -248,117 +292,127 @@ public int hashCode() { } public static com.google.cloud.vmmigration.v1.GetMigratingVmRequest 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.vmmigration.v1.GetMigratingVmRequest 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.vmmigration.v1.GetMigratingVmRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.vmmigration.v1.GetMigratingVmRequest 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.vmmigration.v1.GetMigratingVmRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.vmmigration.v1.GetMigratingVmRequest 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.vmmigration.v1.GetMigratingVmRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.vmmigration.v1.GetMigratingVmRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.vmmigration.v1.GetMigratingVmRequest 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.vmmigration.v1.GetMigratingVmRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.vmmigration.v1.GetMigratingVmRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.vmmigration.v1.GetMigratingVmRequest 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.vmmigration.v1.GetMigratingVmRequest 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.vmmigration.v1.GetMigratingVmRequest 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.vmmigration.v1.GetMigratingVmRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.vmmigration.v1.GetMigratingVmRequest 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 message for 'GetMigratingVm' request.
    * 
* * Protobuf type {@code google.cloud.vmmigration.v1.GetMigratingVmRequest} */ - 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.vmmigration.v1.GetMigratingVmRequest) com.google.cloud.vmmigration.v1.GetMigratingVmRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_GetMigratingVmRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_GetMigratingVmRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_GetMigratingVmRequest_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_GetMigratingVmRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.GetMigratingVmRequest.class, com.google.cloud.vmmigration.v1.GetMigratingVmRequest.Builder.class); + com.google.cloud.vmmigration.v1.GetMigratingVmRequest.class, + com.google.cloud.vmmigration.v1.GetMigratingVmRequest.Builder.class); } // Construct using com.google.cloud.vmmigration.v1.GetMigratingVmRequest.newBuilder() @@ -366,16 +420,15 @@ 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) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -387,9 +440,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_GetMigratingVmRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_GetMigratingVmRequest_descriptor; } @java.lang.Override @@ -408,7 +461,8 @@ public com.google.cloud.vmmigration.v1.GetMigratingVmRequest build() { @java.lang.Override public com.google.cloud.vmmigration.v1.GetMigratingVmRequest buildPartial() { - com.google.cloud.vmmigration.v1.GetMigratingVmRequest result = new com.google.cloud.vmmigration.v1.GetMigratingVmRequest(this); + com.google.cloud.vmmigration.v1.GetMigratingVmRequest result = + new com.google.cloud.vmmigration.v1.GetMigratingVmRequest(this); result.name_ = name_; result.view_ = view_; onBuilt(); @@ -419,38 +473,39 @@ public com.google.cloud.vmmigration.v1.GetMigratingVmRequest buildPartial() { 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.vmmigration.v1.GetMigratingVmRequest) { - return mergeFrom((com.google.cloud.vmmigration.v1.GetMigratingVmRequest)other); + return mergeFrom((com.google.cloud.vmmigration.v1.GetMigratingVmRequest) other); } else { super.mergeFrom(other); return this; @@ -458,7 +513,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.vmmigration.v1.GetMigratingVmRequest other) { - if (other == com.google.cloud.vmmigration.v1.GetMigratingVmRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.vmmigration.v1.GetMigratingVmRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -485,7 +541,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.vmmigration.v1.GetMigratingVmRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.vmmigration.v1.GetMigratingVmRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -497,18 +554,22 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the MigratingVm.
      * 
* - * 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; @@ -517,20 +578,23 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the MigratingVm.
      * 
* - * 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 { @@ -538,54 +602,67 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the MigratingVm.
      * 
* - * 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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The name of the MigratingVm.
      * 
* - * 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() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The name of the MigratingVm.
      * 
* - * 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) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -593,51 +670,73 @@ public Builder setNameBytes( private int view_ = 0; /** + * + * *
      * Optional. The level of details of the migrating VM.
      * 
* - * .google.cloud.vmmigration.v1.MigratingVmView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.vmmigration.v1.MigratingVmView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The enum numeric value on the wire for view. */ - @java.lang.Override public int getViewValue() { + @java.lang.Override + public int getViewValue() { return view_; } /** + * + * *
      * Optional. The level of details of the migrating VM.
      * 
* - * .google.cloud.vmmigration.v1.MigratingVmView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.vmmigration.v1.MigratingVmView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param value The enum numeric value on the wire for view to set. * @return This builder for chaining. */ public Builder setViewValue(int value) { - + view_ = value; onChanged(); return this; } /** + * + * *
      * Optional. The level of details of the migrating VM.
      * 
* - * .google.cloud.vmmigration.v1.MigratingVmView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.vmmigration.v1.MigratingVmView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The view. */ @java.lang.Override public com.google.cloud.vmmigration.v1.MigratingVmView getView() { @SuppressWarnings("deprecation") - com.google.cloud.vmmigration.v1.MigratingVmView result = com.google.cloud.vmmigration.v1.MigratingVmView.valueOf(view_); + com.google.cloud.vmmigration.v1.MigratingVmView result = + com.google.cloud.vmmigration.v1.MigratingVmView.valueOf(view_); return result == null ? com.google.cloud.vmmigration.v1.MigratingVmView.UNRECOGNIZED : result; } /** + * + * *
      * Optional. The level of details of the migrating VM.
      * 
* - * .google.cloud.vmmigration.v1.MigratingVmView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.vmmigration.v1.MigratingVmView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param value The view to set. * @return This builder for chaining. */ @@ -645,28 +744,33 @@ public Builder setView(com.google.cloud.vmmigration.v1.MigratingVmView value) { if (value == null) { throw new NullPointerException(); } - + view_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Optional. The level of details of the migrating VM.
      * 
* - * .google.cloud.vmmigration.v1.MigratingVmView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.vmmigration.v1.MigratingVmView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return This builder for chaining. */ public Builder clearView() { - + view_ = 0; 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); } @@ -676,12 +780,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.vmmigration.v1.GetMigratingVmRequest) } // @@protoc_insertion_point(class_scope:google.cloud.vmmigration.v1.GetMigratingVmRequest) private static final com.google.cloud.vmmigration.v1.GetMigratingVmRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.vmmigration.v1.GetMigratingVmRequest(); } @@ -690,16 +794,16 @@ public static com.google.cloud.vmmigration.v1.GetMigratingVmRequest getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetMigratingVmRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetMigratingVmRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetMigratingVmRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetMigratingVmRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -714,6 +818,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.vmmigration.v1.GetMigratingVmRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetMigratingVmRequestOrBuilder.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetMigratingVmRequestOrBuilder.java new file mode 100644 index 0000000..bb45c67 --- /dev/null +++ b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetMigratingVmRequestOrBuilder.java @@ -0,0 +1,83 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/vmmigration/v1/vmmigration.proto + +package com.google.cloud.vmmigration.v1; + +public interface GetMigratingVmRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.GetMigratingVmRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the MigratingVm.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The name of the MigratingVm.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); + + /** + * + * + *
+   * Optional. The level of details of the migrating VM.
+   * 
+ * + * + * .google.cloud.vmmigration.v1.MigratingVmView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The enum numeric value on the wire for view. + */ + int getViewValue(); + /** + * + * + *
+   * Optional. The level of details of the migrating VM.
+   * 
+ * + * + * .google.cloud.vmmigration.v1.MigratingVmView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The view. + */ + com.google.cloud.vmmigration.v1.MigratingVmView getView(); +} diff --git a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetSourceRequest.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetSourceRequest.java similarity index 64% rename from owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetSourceRequest.java rename to proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetSourceRequest.java index 98fb4f9..b4b7681 100644 --- a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetSourceRequest.java +++ b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetSourceRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; /** + * + * *
  * Request message for 'GetSource' request.
  * 
* * Protobuf type {@code google.cloud.vmmigration.v1.GetSourceRequest} */ -public final class GetSourceRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetSourceRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.vmmigration.v1.GetSourceRequest) GetSourceRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetSourceRequest.newBuilder() to construct. private GetSourceRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetSourceRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetSourceRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private GetSourceRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private GetSourceRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,34 +91,41 @@ private GetSourceRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_GetSourceRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_GetSourceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_GetSourceRequest_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_GetSourceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.GetSourceRequest.class, com.google.cloud.vmmigration.v1.GetSourceRequest.Builder.class); + com.google.cloud.vmmigration.v1.GetSourceRequest.class, + com.google.cloud.vmmigration.v1.GetSourceRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The Source name.
    * 
* - * 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 @@ -109,29 +134,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 Source name.
    * 
* - * 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 { @@ -140,6 +167,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,8 +179,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_); } @@ -176,15 +203,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.vmmigration.v1.GetSourceRequest)) { return super.equals(obj); } - com.google.cloud.vmmigration.v1.GetSourceRequest other = (com.google.cloud.vmmigration.v1.GetSourceRequest) obj; + com.google.cloud.vmmigration.v1.GetSourceRequest other = + (com.google.cloud.vmmigration.v1.GetSourceRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -203,118 +230,127 @@ public int hashCode() { return hash; } - public static com.google.cloud.vmmigration.v1.GetSourceRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.vmmigration.v1.GetSourceRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.vmmigration.v1.GetSourceRequest 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.vmmigration.v1.GetSourceRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.vmmigration.v1.GetSourceRequest 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.vmmigration.v1.GetSourceRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.vmmigration.v1.GetSourceRequest 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.vmmigration.v1.GetSourceRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.vmmigration.v1.GetSourceRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.vmmigration.v1.GetSourceRequest 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.vmmigration.v1.GetSourceRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.vmmigration.v1.GetSourceRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.vmmigration.v1.GetSourceRequest 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.vmmigration.v1.GetSourceRequest 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.vmmigration.v1.GetSourceRequest 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.vmmigration.v1.GetSourceRequest 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 message for 'GetSource' request.
    * 
* * Protobuf type {@code google.cloud.vmmigration.v1.GetSourceRequest} */ - 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.vmmigration.v1.GetSourceRequest) com.google.cloud.vmmigration.v1.GetSourceRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_GetSourceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_GetSourceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_GetSourceRequest_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_GetSourceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.GetSourceRequest.class, com.google.cloud.vmmigration.v1.GetSourceRequest.Builder.class); + com.google.cloud.vmmigration.v1.GetSourceRequest.class, + com.google.cloud.vmmigration.v1.GetSourceRequest.Builder.class); } // Construct using com.google.cloud.vmmigration.v1.GetSourceRequest.newBuilder() @@ -322,16 +358,15 @@ 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) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -341,9 +376,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_GetSourceRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_GetSourceRequest_descriptor; } @java.lang.Override @@ -362,7 +397,8 @@ public com.google.cloud.vmmigration.v1.GetSourceRequest build() { @java.lang.Override public com.google.cloud.vmmigration.v1.GetSourceRequest buildPartial() { - com.google.cloud.vmmigration.v1.GetSourceRequest result = new com.google.cloud.vmmigration.v1.GetSourceRequest(this); + com.google.cloud.vmmigration.v1.GetSourceRequest result = + new com.google.cloud.vmmigration.v1.GetSourceRequest(this); result.name_ = name_; onBuilt(); return result; @@ -372,38 +408,39 @@ public com.google.cloud.vmmigration.v1.GetSourceRequest buildPartial() { 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.vmmigration.v1.GetSourceRequest) { - return mergeFrom((com.google.cloud.vmmigration.v1.GetSourceRequest)other); + return mergeFrom((com.google.cloud.vmmigration.v1.GetSourceRequest) other); } else { super.mergeFrom(other); return this; @@ -411,7 +448,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.vmmigration.v1.GetSourceRequest other) { - if (other == com.google.cloud.vmmigration.v1.GetSourceRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.vmmigration.v1.GetSourceRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -447,18 +485,22 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The Source name.
      * 
* - * 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; @@ -467,20 +509,23 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The Source name.
      * 
* - * 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 { @@ -488,61 +533,74 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The Source name.
      * 
* - * 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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The Source name.
      * 
* - * 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() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The Source name.
      * 
* - * 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) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = 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); } @@ -552,12 +610,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.vmmigration.v1.GetSourceRequest) } // @@protoc_insertion_point(class_scope:google.cloud.vmmigration.v1.GetSourceRequest) private static final com.google.cloud.vmmigration.v1.GetSourceRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.vmmigration.v1.GetSourceRequest(); } @@ -566,16 +624,16 @@ public static com.google.cloud.vmmigration.v1.GetSourceRequest getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetSourceRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetSourceRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetSourceRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetSourceRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -590,6 +648,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.vmmigration.v1.GetSourceRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetSourceRequestOrBuilder.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetSourceRequestOrBuilder.java new file mode 100644 index 0000000..d6d935f --- /dev/null +++ b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetSourceRequestOrBuilder.java @@ -0,0 +1,54 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/vmmigration/v1/vmmigration.proto + +package com.google.cloud.vmmigration.v1; + +public interface GetSourceRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.GetSourceRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The Source name.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The Source name.
+   * 
+ * + * + * 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/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetTargetProjectRequest.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetTargetProjectRequest.java similarity index 64% rename from owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetTargetProjectRequest.java rename to proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetTargetProjectRequest.java index ea3b3e5..d81aefc 100644 --- a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetTargetProjectRequest.java +++ b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetTargetProjectRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; /** + * + * *
  * Request message for 'GetTargetProject' call.
  * 
* * Protobuf type {@code google.cloud.vmmigration.v1.GetTargetProjectRequest} */ -public final class GetTargetProjectRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetTargetProjectRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.vmmigration.v1.GetTargetProjectRequest) GetTargetProjectRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetTargetProjectRequest.newBuilder() to construct. private GetTargetProjectRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetTargetProjectRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetTargetProjectRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private GetTargetProjectRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private GetTargetProjectRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,34 +91,41 @@ private GetTargetProjectRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_GetTargetProjectRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_GetTargetProjectRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_GetTargetProjectRequest_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_GetTargetProjectRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.GetTargetProjectRequest.class, com.google.cloud.vmmigration.v1.GetTargetProjectRequest.Builder.class); + com.google.cloud.vmmigration.v1.GetTargetProjectRequest.class, + com.google.cloud.vmmigration.v1.GetTargetProjectRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The TargetProject name.
    * 
* - * 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 @@ -109,29 +134,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 TargetProject name.
    * 
* - * 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 { @@ -140,6 +167,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,8 +179,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_); } @@ -176,15 +203,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.vmmigration.v1.GetTargetProjectRequest)) { return super.equals(obj); } - com.google.cloud.vmmigration.v1.GetTargetProjectRequest other = (com.google.cloud.vmmigration.v1.GetTargetProjectRequest) obj; + com.google.cloud.vmmigration.v1.GetTargetProjectRequest other = + (com.google.cloud.vmmigration.v1.GetTargetProjectRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -204,117 +231,127 @@ public int hashCode() { } public static com.google.cloud.vmmigration.v1.GetTargetProjectRequest 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.vmmigration.v1.GetTargetProjectRequest 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.vmmigration.v1.GetTargetProjectRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.vmmigration.v1.GetTargetProjectRequest 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.vmmigration.v1.GetTargetProjectRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.vmmigration.v1.GetTargetProjectRequest 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.vmmigration.v1.GetTargetProjectRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.vmmigration.v1.GetTargetProjectRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.vmmigration.v1.GetTargetProjectRequest 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.vmmigration.v1.GetTargetProjectRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.vmmigration.v1.GetTargetProjectRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.vmmigration.v1.GetTargetProjectRequest 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.vmmigration.v1.GetTargetProjectRequest 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.vmmigration.v1.GetTargetProjectRequest 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.vmmigration.v1.GetTargetProjectRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.vmmigration.v1.GetTargetProjectRequest 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 message for 'GetTargetProject' call.
    * 
* * Protobuf type {@code google.cloud.vmmigration.v1.GetTargetProjectRequest} */ - 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.vmmigration.v1.GetTargetProjectRequest) com.google.cloud.vmmigration.v1.GetTargetProjectRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_GetTargetProjectRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_GetTargetProjectRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_GetTargetProjectRequest_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_GetTargetProjectRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.GetTargetProjectRequest.class, com.google.cloud.vmmigration.v1.GetTargetProjectRequest.Builder.class); + com.google.cloud.vmmigration.v1.GetTargetProjectRequest.class, + com.google.cloud.vmmigration.v1.GetTargetProjectRequest.Builder.class); } // Construct using com.google.cloud.vmmigration.v1.GetTargetProjectRequest.newBuilder() @@ -322,16 +359,15 @@ 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) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -341,9 +377,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_GetTargetProjectRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_GetTargetProjectRequest_descriptor; } @java.lang.Override @@ -362,7 +398,8 @@ public com.google.cloud.vmmigration.v1.GetTargetProjectRequest build() { @java.lang.Override public com.google.cloud.vmmigration.v1.GetTargetProjectRequest buildPartial() { - com.google.cloud.vmmigration.v1.GetTargetProjectRequest result = new com.google.cloud.vmmigration.v1.GetTargetProjectRequest(this); + com.google.cloud.vmmigration.v1.GetTargetProjectRequest result = + new com.google.cloud.vmmigration.v1.GetTargetProjectRequest(this); result.name_ = name_; onBuilt(); return result; @@ -372,38 +409,39 @@ public com.google.cloud.vmmigration.v1.GetTargetProjectRequest buildPartial() { 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.vmmigration.v1.GetTargetProjectRequest) { - return mergeFrom((com.google.cloud.vmmigration.v1.GetTargetProjectRequest)other); + return mergeFrom((com.google.cloud.vmmigration.v1.GetTargetProjectRequest) other); } else { super.mergeFrom(other); return this; @@ -411,7 +449,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.vmmigration.v1.GetTargetProjectRequest other) { - if (other == com.google.cloud.vmmigration.v1.GetTargetProjectRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.vmmigration.v1.GetTargetProjectRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -435,7 +474,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.vmmigration.v1.GetTargetProjectRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.vmmigration.v1.GetTargetProjectRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -447,18 +487,22 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The TargetProject name.
      * 
* - * 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; @@ -467,20 +511,23 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The TargetProject name.
      * 
* - * 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 { @@ -488,61 +535,74 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The TargetProject name.
      * 
* - * 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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The TargetProject name.
      * 
* - * 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() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The TargetProject name.
      * 
* - * 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) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = 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); } @@ -552,12 +612,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.vmmigration.v1.GetTargetProjectRequest) } // @@protoc_insertion_point(class_scope:google.cloud.vmmigration.v1.GetTargetProjectRequest) private static final com.google.cloud.vmmigration.v1.GetTargetProjectRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.vmmigration.v1.GetTargetProjectRequest(); } @@ -566,16 +626,16 @@ public static com.google.cloud.vmmigration.v1.GetTargetProjectRequest getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetTargetProjectRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetTargetProjectRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetTargetProjectRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetTargetProjectRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -590,6 +650,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.vmmigration.v1.GetTargetProjectRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetTargetProjectRequestOrBuilder.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetTargetProjectRequestOrBuilder.java new file mode 100644 index 0000000..065a826 --- /dev/null +++ b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetTargetProjectRequestOrBuilder.java @@ -0,0 +1,54 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/vmmigration/v1/vmmigration.proto + +package com.google.cloud.vmmigration.v1; + +public interface GetTargetProjectRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.GetTargetProjectRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The TargetProject name.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The TargetProject name.
+   * 
+ * + * + * 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/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetUtilizationReportRequest.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetUtilizationReportRequest.java similarity index 62% rename from owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetUtilizationReportRequest.java rename to proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetUtilizationReportRequest.java index e5ec6e1..ce94383 100644 --- a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetUtilizationReportRequest.java +++ b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetUtilizationReportRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; /** + * + * *
  * Request message for 'GetUtilizationReport' request.
  * 
* * Protobuf type {@code google.cloud.vmmigration.v1.GetUtilizationReportRequest} */ -public final class GetUtilizationReportRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetUtilizationReportRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.vmmigration.v1.GetUtilizationReportRequest) GetUtilizationReportRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetUtilizationReportRequest.newBuilder() to construct. private GetUtilizationReportRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetUtilizationReportRequest() { name_ = ""; view_ = 0; @@ -26,16 +44,15 @@ private GetUtilizationReportRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetUtilizationReportRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private GetUtilizationReportRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,25 +71,27 @@ private GetUtilizationReportRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 16: { - int rawValue = input.readEnum(); + name_ = s; + break; + } + case 16: + { + int rawValue = input.readEnum(); - view_ = rawValue; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + view_ = rawValue; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -80,34 +99,41 @@ private GetUtilizationReportRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_GetUtilizationReportRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_GetUtilizationReportRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_GetUtilizationReportRequest_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_GetUtilizationReportRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.GetUtilizationReportRequest.class, com.google.cloud.vmmigration.v1.GetUtilizationReportRequest.Builder.class); + com.google.cloud.vmmigration.v1.GetUtilizationReportRequest.class, + com.google.cloud.vmmigration.v1.GetUtilizationReportRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The Utilization Report name.
    * 
* - * 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 @@ -116,29 +142,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 Utilization Report name.
    * 
* - * 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 { @@ -149,33 +177,49 @@ public java.lang.String getName() { public static final int VIEW_FIELD_NUMBER = 2; private int view_; /** + * + * *
    * Optional. The level of details of the report.
    * Defaults to FULL
    * 
* - * .google.cloud.vmmigration.v1.UtilizationReportView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.vmmigration.v1.UtilizationReportView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The enum numeric value on the wire for view. */ - @java.lang.Override public int getViewValue() { + @java.lang.Override + public int getViewValue() { return view_; } /** + * + * *
    * Optional. The level of details of the report.
    * Defaults to FULL
    * 
* - * .google.cloud.vmmigration.v1.UtilizationReportView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.vmmigration.v1.UtilizationReportView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The view. */ - @java.lang.Override public com.google.cloud.vmmigration.v1.UtilizationReportView getView() { + @java.lang.Override + public com.google.cloud.vmmigration.v1.UtilizationReportView getView() { @SuppressWarnings("deprecation") - com.google.cloud.vmmigration.v1.UtilizationReportView result = com.google.cloud.vmmigration.v1.UtilizationReportView.valueOf(view_); - return result == null ? com.google.cloud.vmmigration.v1.UtilizationReportView.UNRECOGNIZED : result; + com.google.cloud.vmmigration.v1.UtilizationReportView result = + com.google.cloud.vmmigration.v1.UtilizationReportView.valueOf(view_); + return result == null + ? com.google.cloud.vmmigration.v1.UtilizationReportView.UNRECOGNIZED + : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -187,12 +231,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(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } - if (view_ != com.google.cloud.vmmigration.v1.UtilizationReportView.UTILIZATION_REPORT_VIEW_UNSPECIFIED.getNumber()) { + if (view_ + != com.google.cloud.vmmigration.v1.UtilizationReportView.UTILIZATION_REPORT_VIEW_UNSPECIFIED + .getNumber()) { output.writeEnum(2, view_); } unknownFields.writeTo(output); @@ -207,9 +252,10 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } - if (view_ != com.google.cloud.vmmigration.v1.UtilizationReportView.UTILIZATION_REPORT_VIEW_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, view_); + if (view_ + != com.google.cloud.vmmigration.v1.UtilizationReportView.UTILIZATION_REPORT_VIEW_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, view_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -219,15 +265,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.vmmigration.v1.GetUtilizationReportRequest)) { return super.equals(obj); } - com.google.cloud.vmmigration.v1.GetUtilizationReportRequest other = (com.google.cloud.vmmigration.v1.GetUtilizationReportRequest) obj; + com.google.cloud.vmmigration.v1.GetUtilizationReportRequest other = + (com.google.cloud.vmmigration.v1.GetUtilizationReportRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (view_ != other.view_) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -250,117 +296,127 @@ public int hashCode() { } public static com.google.cloud.vmmigration.v1.GetUtilizationReportRequest 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.vmmigration.v1.GetUtilizationReportRequest 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.vmmigration.v1.GetUtilizationReportRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.vmmigration.v1.GetUtilizationReportRequest 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.vmmigration.v1.GetUtilizationReportRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.vmmigration.v1.GetUtilizationReportRequest 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.vmmigration.v1.GetUtilizationReportRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.vmmigration.v1.GetUtilizationReportRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.vmmigration.v1.GetUtilizationReportRequest 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.vmmigration.v1.GetUtilizationReportRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.vmmigration.v1.GetUtilizationReportRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.vmmigration.v1.GetUtilizationReportRequest 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.vmmigration.v1.GetUtilizationReportRequest 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.vmmigration.v1.GetUtilizationReportRequest 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.vmmigration.v1.GetUtilizationReportRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.vmmigration.v1.GetUtilizationReportRequest 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 message for 'GetUtilizationReport' request.
    * 
* * Protobuf type {@code google.cloud.vmmigration.v1.GetUtilizationReportRequest} */ - 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.vmmigration.v1.GetUtilizationReportRequest) com.google.cloud.vmmigration.v1.GetUtilizationReportRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_GetUtilizationReportRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_GetUtilizationReportRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_GetUtilizationReportRequest_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_GetUtilizationReportRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.GetUtilizationReportRequest.class, com.google.cloud.vmmigration.v1.GetUtilizationReportRequest.Builder.class); + com.google.cloud.vmmigration.v1.GetUtilizationReportRequest.class, + com.google.cloud.vmmigration.v1.GetUtilizationReportRequest.Builder.class); } // Construct using com.google.cloud.vmmigration.v1.GetUtilizationReportRequest.newBuilder() @@ -368,16 +424,15 @@ 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) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -389,9 +444,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_GetUtilizationReportRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_GetUtilizationReportRequest_descriptor; } @java.lang.Override @@ -410,7 +465,8 @@ public com.google.cloud.vmmigration.v1.GetUtilizationReportRequest build() { @java.lang.Override public com.google.cloud.vmmigration.v1.GetUtilizationReportRequest buildPartial() { - com.google.cloud.vmmigration.v1.GetUtilizationReportRequest result = new com.google.cloud.vmmigration.v1.GetUtilizationReportRequest(this); + com.google.cloud.vmmigration.v1.GetUtilizationReportRequest result = + new com.google.cloud.vmmigration.v1.GetUtilizationReportRequest(this); result.name_ = name_; result.view_ = view_; onBuilt(); @@ -421,38 +477,39 @@ public com.google.cloud.vmmigration.v1.GetUtilizationReportRequest buildPartial( 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.vmmigration.v1.GetUtilizationReportRequest) { - return mergeFrom((com.google.cloud.vmmigration.v1.GetUtilizationReportRequest)other); + return mergeFrom((com.google.cloud.vmmigration.v1.GetUtilizationReportRequest) other); } else { super.mergeFrom(other); return this; @@ -460,7 +517,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.vmmigration.v1.GetUtilizationReportRequest other) { - if (other == com.google.cloud.vmmigration.v1.GetUtilizationReportRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.vmmigration.v1.GetUtilizationReportRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -487,7 +545,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.vmmigration.v1.GetUtilizationReportRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.vmmigration.v1.GetUtilizationReportRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -499,18 +558,22 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The Utilization Report name.
      * 
* - * 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; @@ -519,20 +582,23 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The Utilization Report name.
      * 
* - * 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 { @@ -540,54 +606,67 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The Utilization Report name.
      * 
* - * 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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The Utilization Report name.
      * 
* - * 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() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The Utilization Report name.
      * 
* - * 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) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -595,55 +674,79 @@ public Builder setNameBytes( private int view_ = 0; /** + * + * *
      * Optional. The level of details of the report.
      * Defaults to FULL
      * 
* - * .google.cloud.vmmigration.v1.UtilizationReportView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.vmmigration.v1.UtilizationReportView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The enum numeric value on the wire for view. */ - @java.lang.Override public int getViewValue() { + @java.lang.Override + public int getViewValue() { return view_; } /** + * + * *
      * Optional. The level of details of the report.
      * Defaults to FULL
      * 
* - * .google.cloud.vmmigration.v1.UtilizationReportView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.vmmigration.v1.UtilizationReportView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param value The enum numeric value on the wire for view to set. * @return This builder for chaining. */ public Builder setViewValue(int value) { - + view_ = value; onChanged(); return this; } /** + * + * *
      * Optional. The level of details of the report.
      * Defaults to FULL
      * 
* - * .google.cloud.vmmigration.v1.UtilizationReportView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.vmmigration.v1.UtilizationReportView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The view. */ @java.lang.Override public com.google.cloud.vmmigration.v1.UtilizationReportView getView() { @SuppressWarnings("deprecation") - com.google.cloud.vmmigration.v1.UtilizationReportView result = com.google.cloud.vmmigration.v1.UtilizationReportView.valueOf(view_); - return result == null ? com.google.cloud.vmmigration.v1.UtilizationReportView.UNRECOGNIZED : result; + com.google.cloud.vmmigration.v1.UtilizationReportView result = + com.google.cloud.vmmigration.v1.UtilizationReportView.valueOf(view_); + return result == null + ? com.google.cloud.vmmigration.v1.UtilizationReportView.UNRECOGNIZED + : result; } /** + * + * *
      * Optional. The level of details of the report.
      * Defaults to FULL
      * 
* - * .google.cloud.vmmigration.v1.UtilizationReportView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.vmmigration.v1.UtilizationReportView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param value The view to set. * @return This builder for chaining. */ @@ -651,29 +754,34 @@ public Builder setView(com.google.cloud.vmmigration.v1.UtilizationReportView val if (value == null) { throw new NullPointerException(); } - + view_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Optional. The level of details of the report.
      * Defaults to FULL
      * 
* - * .google.cloud.vmmigration.v1.UtilizationReportView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.vmmigration.v1.UtilizationReportView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return This builder for chaining. */ public Builder clearView() { - + view_ = 0; 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); } @@ -683,12 +791,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.vmmigration.v1.GetUtilizationReportRequest) } // @@protoc_insertion_point(class_scope:google.cloud.vmmigration.v1.GetUtilizationReportRequest) private static final com.google.cloud.vmmigration.v1.GetUtilizationReportRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.vmmigration.v1.GetUtilizationReportRequest(); } @@ -697,16 +805,16 @@ public static com.google.cloud.vmmigration.v1.GetUtilizationReportRequest getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetUtilizationReportRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetUtilizationReportRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetUtilizationReportRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetUtilizationReportRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -721,6 +829,4 @@ public com.google.protobuf.Parser getParserForType( public com.google.cloud.vmmigration.v1.GetUtilizationReportRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetUtilizationReportRequestOrBuilder.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetUtilizationReportRequestOrBuilder.java new file mode 100644 index 0000000..060b7b5 --- /dev/null +++ b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetUtilizationReportRequestOrBuilder.java @@ -0,0 +1,85 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/vmmigration/v1/vmmigration.proto + +package com.google.cloud.vmmigration.v1; + +public interface GetUtilizationReportRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.GetUtilizationReportRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The Utilization Report name.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The Utilization Report name.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); + + /** + * + * + *
+   * Optional. The level of details of the report.
+   * Defaults to FULL
+   * 
+ * + * + * .google.cloud.vmmigration.v1.UtilizationReportView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The enum numeric value on the wire for view. + */ + int getViewValue(); + /** + * + * + *
+   * Optional. The level of details of the report.
+   * Defaults to FULL
+   * 
+ * + * + * .google.cloud.vmmigration.v1.UtilizationReportView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The view. + */ + com.google.cloud.vmmigration.v1.UtilizationReportView getView(); +} diff --git a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/Group.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/Group.java similarity index 67% rename from owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/Group.java rename to proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/Group.java index ef24c87..773cebf 100644 --- a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/Group.java +++ b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/Group.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; /** + * + * *
  * Describes message for 'Group' resource. The Group is a collections of several
  * MigratingVms.
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.cloud.vmmigration.v1.Group}
  */
-public final class Group extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class Group extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.vmmigration.v1.Group)
     GroupOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use Group.newBuilder() to construct.
   private Group(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private Group() {
     name_ = "";
     description_ = "";
@@ -28,16 +46,15 @@ private Group() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new Group();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private Group(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -56,57 +73,64 @@ private Group(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            name_ = s;
-            break;
-          }
-          case 18: {
-            com.google.protobuf.Timestamp.Builder subBuilder = null;
-            if (createTime_ != null) {
-              subBuilder = createTime_.toBuilder();
-            }
-            createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(createTime_);
-              createTime_ = subBuilder.buildPartial();
+              name_ = s;
+              break;
             }
-
-            break;
-          }
-          case 26: {
-            com.google.protobuf.Timestamp.Builder subBuilder = null;
-            if (updateTime_ != null) {
-              subBuilder = updateTime_.toBuilder();
+          case 18:
+            {
+              com.google.protobuf.Timestamp.Builder subBuilder = null;
+              if (createTime_ != null) {
+                subBuilder = createTime_.toBuilder();
+              }
+              createTime_ =
+                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(createTime_);
+                createTime_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-            updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(updateTime_);
-              updateTime_ = subBuilder.buildPartial();
+          case 26:
+            {
+              com.google.protobuf.Timestamp.Builder subBuilder = null;
+              if (updateTime_ != null) {
+                subBuilder = updateTime_.toBuilder();
+              }
+              updateTime_ =
+                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(updateTime_);
+                updateTime_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
+          case 34:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            break;
-          }
-          case 34: {
-            java.lang.String s = input.readStringRequireUtf8();
-
-            description_ = s;
-            break;
-          }
-          case 42: {
-            java.lang.String s = input.readStringRequireUtf8();
+              description_ = s;
+              break;
+            }
+          case 42:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            displayName_ = s;
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              displayName_ = s;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -114,34 +138,39 @@ private Group(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_Group_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.vmmigration.v1.VmMigrationProto
+        .internal_static_google_cloud_vmmigration_v1_Group_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_Group_fieldAccessorTable
+    return com.google.cloud.vmmigration.v1.VmMigrationProto
+        .internal_static_google_cloud_vmmigration_v1_Group_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.vmmigration.v1.Group.class, com.google.cloud.vmmigration.v1.Group.Builder.class);
+            com.google.cloud.vmmigration.v1.Group.class,
+            com.google.cloud.vmmigration.v1.Group.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
+   *
+   *
    * 
    * Output only. The Group name.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ @java.lang.Override @@ -150,29 +179,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. The Group 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 { @@ -183,11 +212,15 @@ public java.lang.String getName() { public static final int CREATE_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp createTime_; /** + * + * *
    * Output only. The create time timestamp.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ @java.lang.Override @@ -195,11 +228,15 @@ public boolean hasCreateTime() { return createTime_ != null; } /** + * + * *
    * Output only. The create time timestamp.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ @java.lang.Override @@ -207,11 +244,14 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
    * Output only. The create time timestamp.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -221,11 +261,15 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp updateTime_; /** + * + * *
    * Output only. The update time timestamp.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -233,11 +277,15 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** + * + * *
    * Output only. The update time timestamp.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateTime. */ @java.lang.Override @@ -245,11 +293,14 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** + * + * *
    * Output only. The update time timestamp.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { @@ -259,11 +310,14 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { public static final int DESCRIPTION_FIELD_NUMBER = 4; private volatile java.lang.Object description_; /** + * + * *
    * User-provided description of the group.
    * 
* * string description = 4; + * * @return The description. */ @java.lang.Override @@ -272,29 +326,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-provided description of the group.
    * 
* * 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 { @@ -305,11 +359,14 @@ public java.lang.String getDescription() { public static final int DISPLAY_NAME_FIELD_NUMBER = 5; private volatile java.lang.Object displayName_; /** + * + * *
    * Display name is a user defined name for this group which can be updated.
    * 
* * string display_name = 5; + * * @return The displayName. */ @java.lang.Override @@ -318,29 +375,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; } } /** + * + * *
    * Display name is a user defined name for this group which can be updated.
    * 
* * string display_name = 5; + * * @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 { @@ -349,6 +406,7 @@ public java.lang.String getDisplayName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -360,8 +418,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_); } @@ -390,12 +447,10 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getCreateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getCreateTime()); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getUpdateTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, description_); @@ -411,29 +466,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.vmmigration.v1.Group)) { return super.equals(obj); } com.google.cloud.vmmigration.v1.Group other = (com.google.cloud.vmmigration.v1.Group) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime() - .equals(other.getCreateTime())) return false; + if (!getCreateTime().equals(other.getCreateTime())) 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 (!getDescription() - .equals(other.getDescription())) return false; - if (!getDisplayName() - .equals(other.getDisplayName())) return false; + if (!getDescription().equals(other.getDescription())) return false; + if (!getDisplayName().equals(other.getDisplayName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -464,97 +514,103 @@ public int hashCode() { return hash; } - public static com.google.cloud.vmmigration.v1.Group parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.vmmigration.v1.Group parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.vmmigration.v1.Group 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.vmmigration.v1.Group parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.cloud.vmmigration.v1.Group parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.vmmigration.v1.Group 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.vmmigration.v1.Group parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.vmmigration.v1.Group 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.vmmigration.v1.Group parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.vmmigration.v1.Group 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.vmmigration.v1.Group parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.vmmigration.v1.Group 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.vmmigration.v1.Group 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.vmmigration.v1.Group 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.vmmigration.v1.Group 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; } /** + * + * *
    * Describes message for 'Group' resource. The Group is a collections of several
    * MigratingVms.
@@ -562,21 +618,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.vmmigration.v1.Group}
    */
-  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.vmmigration.v1.Group)
       com.google.cloud.vmmigration.v1.GroupOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_Group_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.vmmigration.v1.VmMigrationProto
+          .internal_static_google_cloud_vmmigration_v1_Group_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_Group_fieldAccessorTable
+      return com.google.cloud.vmmigration.v1.VmMigrationProto
+          .internal_static_google_cloud_vmmigration_v1_Group_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.vmmigration.v1.Group.class, com.google.cloud.vmmigration.v1.Group.Builder.class);
+              com.google.cloud.vmmigration.v1.Group.class,
+              com.google.cloud.vmmigration.v1.Group.Builder.class);
     }
 
     // Construct using com.google.cloud.vmmigration.v1.Group.newBuilder()
@@ -584,16 +642,15 @@ 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) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -619,9 +676,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_Group_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.vmmigration.v1.VmMigrationProto
+          .internal_static_google_cloud_vmmigration_v1_Group_descriptor;
     }
 
     @java.lang.Override
@@ -640,7 +697,8 @@ public com.google.cloud.vmmigration.v1.Group build() {
 
     @java.lang.Override
     public com.google.cloud.vmmigration.v1.Group buildPartial() {
-      com.google.cloud.vmmigration.v1.Group result = new com.google.cloud.vmmigration.v1.Group(this);
+      com.google.cloud.vmmigration.v1.Group result =
+          new com.google.cloud.vmmigration.v1.Group(this);
       result.name_ = name_;
       if (createTimeBuilder_ == null) {
         result.createTime_ = createTime_;
@@ -662,38 +720,39 @@ public com.google.cloud.vmmigration.v1.Group buildPartial() {
     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.vmmigration.v1.Group) {
-        return mergeFrom((com.google.cloud.vmmigration.v1.Group)other);
+        return mergeFrom((com.google.cloud.vmmigration.v1.Group) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -751,18 +810,20 @@ public Builder mergeFrom(
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Output only. The Group 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; @@ -771,20 +832,21 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. The Group 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 { @@ -792,54 +854,61 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. The Group 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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Output only. The Group name.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Output only. The Group 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) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -847,39 +916,58 @@ public Builder setNameBytes( private com.google.protobuf.Timestamp createTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + createTimeBuilder_; /** + * + * *
      * Output only. The create time timestamp.
      * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** + * + * *
      * Output only. The create time timestamp.
      * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. The create time timestamp.
      * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -895,14 +983,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The create time timestamp.
      * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setCreateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); onChanged(); @@ -913,17 +1004,21 @@ public Builder setCreateTime( return this; } /** + * + * *
      * Output only. The create time timestamp.
      * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { if (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -935,11 +1030,15 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The create time timestamp.
      * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearCreateTime() { if (createTimeBuilder_ == null) { @@ -953,48 +1052,64 @@ public Builder clearCreateTime() { return this; } /** + * + * *
      * Output only. The create time timestamp.
      * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The create time timestamp.
      * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } } /** + * + * *
      * Output only. The create time timestamp.
      * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 2 [(.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> getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { - createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getCreateTime(), - getParentForChildren(), - isClean()); + createTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), getParentForChildren(), isClean()); createTime_ = null; } return createTimeBuilder_; @@ -1002,39 +1117,58 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { 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. The update time timestamp.
      * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return updateTimeBuilder_ != null || updateTime_ != null; } /** + * + * *
      * Output only. The update time timestamp.
      * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.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. The update time timestamp.
      * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { @@ -1050,14 +1184,17 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The update time timestamp.
      * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.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(); onChanged(); @@ -1068,17 +1205,21 @@ public Builder setUpdateTime( return this; } /** + * + * *
      * Output only. The update time timestamp.
      * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { if (updateTime_ != null) { updateTime_ = - com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); } else { updateTime_ = value; } @@ -1090,11 +1231,15 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The update time timestamp.
      * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearUpdateTime() { if (updateTimeBuilder_ == null) { @@ -1108,48 +1253,64 @@ public Builder clearUpdateTime() { return this; } /** + * + * *
      * Output only. The update time timestamp.
      * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { - + onChanged(); return getUpdateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The update time timestamp.
      * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.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. The update time timestamp.
      * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.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_; @@ -1157,18 +1318,20 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { private java.lang.Object description_ = ""; /** + * + * *
      * User-provided description of the group.
      * 
* * 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; @@ -1177,20 +1340,21 @@ public java.lang.String getDescription() { } } /** + * + * *
      * User-provided description of the group.
      * 
* * 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 { @@ -1198,54 +1362,61 @@ public java.lang.String getDescription() { } } /** + * + * *
      * User-provided description of the group.
      * 
* * string description = 4; + * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription( - java.lang.String value) { + public Builder setDescription(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + description_ = value; onChanged(); return this; } /** + * + * *
      * User-provided description of the group.
      * 
* * string description = 4; + * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** + * + * *
      * User-provided description of the group.
      * 
* * string description = 4; + * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes( - com.google.protobuf.ByteString value) { + public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = value; onChanged(); return this; @@ -1253,18 +1424,20 @@ public Builder setDescriptionBytes( private java.lang.Object displayName_ = ""; /** + * + * *
      * Display name is a user defined name for this group which can be updated.
      * 
* * string display_name = 5; + * * @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; @@ -1273,20 +1446,21 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * Display name is a user defined name for this group which can be updated.
      * 
* * string display_name = 5; + * * @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 { @@ -1294,61 +1468,68 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * Display name is a user defined name for this group which can be updated.
      * 
* * string display_name = 5; + * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName( - java.lang.String value) { + public Builder setDisplayName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; onChanged(); return this; } /** + * + * *
      * Display name is a user defined name for this group which can be updated.
      * 
* * string display_name = 5; + * * @return This builder for chaining. */ public Builder clearDisplayName() { - + displayName_ = getDefaultInstance().getDisplayName(); onChanged(); return this; } /** + * + * *
      * Display name is a user defined name for this group which can be updated.
      * 
* * string display_name = 5; + * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes( - com.google.protobuf.ByteString value) { + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = 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); } @@ -1358,12 +1539,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.vmmigration.v1.Group) } // @@protoc_insertion_point(class_scope:google.cloud.vmmigration.v1.Group) private static final com.google.cloud.vmmigration.v1.Group DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.vmmigration.v1.Group(); } @@ -1372,16 +1553,16 @@ public static com.google.cloud.vmmigration.v1.Group getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Group parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Group(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Group parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Group(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1396,6 +1577,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.vmmigration.v1.Group getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GroupName.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GroupName.java similarity index 100% rename from owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GroupName.java rename to proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GroupName.java diff --git a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GroupOrBuilder.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GroupOrBuilder.java similarity index 69% rename from owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GroupOrBuilder.java rename to proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GroupOrBuilder.java index c92a82c..00856bf 100644 --- a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GroupOrBuilder.java +++ b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GroupOrBuilder.java @@ -1,123 +1,176 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; -public interface GroupOrBuilder extends +public interface GroupOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.Group) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. The Group name.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Output only. The Group 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(); /** + * + * *
    * Output only. The create time timestamp.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** + * + * *
    * Output only. The create time timestamp.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** + * + * *
    * Output only. The create time timestamp.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** + * + * *
    * Output only. The update time timestamp.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** + * + * *
    * Output only. The update time timestamp.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** + * + * *
    * Output only. The update time timestamp.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** + * + * *
    * User-provided description of the group.
    * 
* * string description = 4; + * * @return The description. */ java.lang.String getDescription(); /** + * + * *
    * User-provided description of the group.
    * 
* * string description = 4; + * * @return The bytes for description. */ - com.google.protobuf.ByteString - getDescriptionBytes(); + com.google.protobuf.ByteString getDescriptionBytes(); /** + * + * *
    * Display name is a user defined name for this group which can be updated.
    * 
* * string display_name = 5; + * * @return The displayName. */ java.lang.String getDisplayName(); /** + * + * *
    * Display name is a user defined name for this group which can be updated.
    * 
* * string display_name = 5; + * * @return The bytes for displayName. */ - com.google.protobuf.ByteString - getDisplayNameBytes(); + com.google.protobuf.ByteString getDisplayNameBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListCloneJobsRequest.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListCloneJobsRequest.java similarity index 71% rename from owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListCloneJobsRequest.java rename to proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListCloneJobsRequest.java index ed2458f..5e7e48c 100644 --- a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListCloneJobsRequest.java +++ b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListCloneJobsRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; /** + * + * *
  * Request message for 'ListCloneJobsRequest' request.
  * 
* * Protobuf type {@code google.cloud.vmmigration.v1.ListCloneJobsRequest} */ -public final class ListCloneJobsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListCloneJobsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.vmmigration.v1.ListCloneJobsRequest) ListCloneJobsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListCloneJobsRequest.newBuilder() to construct. private ListCloneJobsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListCloneJobsRequest() { parent_ = ""; pageToken_ = ""; @@ -28,16 +46,15 @@ private ListCloneJobsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListCloneJobsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListCloneJobsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -56,42 +73,46 @@ private ListCloneJobsRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - parent_ = s; - break; - } - case 16: { + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - pageSize_ = input.readInt32(); - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: + { + pageSize_ = input.readInt32(); + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - pageToken_ = s; - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); + pageToken_ = s; + break; + } + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); - filter_ = s; - break; - } - case 42: { - java.lang.String s = input.readStringRequireUtf8(); + filter_ = s; + break; + } + case 42: + { + java.lang.String s = input.readStringRequireUtf8(); - orderBy_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + orderBy_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -99,34 +120,41 @@ private ListCloneJobsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ListCloneJobsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_ListCloneJobsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ListCloneJobsRequest_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_ListCloneJobsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.ListCloneJobsRequest.class, com.google.cloud.vmmigration.v1.ListCloneJobsRequest.Builder.class); + com.google.cloud.vmmigration.v1.ListCloneJobsRequest.class, + com.google.cloud.vmmigration.v1.ListCloneJobsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The parent, which owns this collection of source VMs.
    * 
* - * 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 @@ -135,29 +163,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 parent, which owns this collection of source VMs.
    * 
* - * 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 { @@ -168,6 +198,8 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** + * + * *
    * Optional. The maximum number of clone jobs to return. The service may
    * return fewer than this value. If unspecified, at most 500 clone jobs will
@@ -176,6 +208,7 @@ public java.lang.String getParent() {
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -186,6 +219,8 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** + * + * *
    * Required. A page token, received from a previous `ListCloneJobs` call.
    * Provide this to retrieve the subsequent page.
@@ -194,6 +229,7 @@ public int getPageSize() {
    * 
* * string page_token = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The pageToken. */ @java.lang.Override @@ -202,14 +238,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; } } /** + * + * *
    * Required. A page token, received from a previous `ListCloneJobs` call.
    * Provide this to retrieve the subsequent page.
@@ -218,16 +255,15 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @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 { @@ -238,11 +274,14 @@ public java.lang.String getPageToken() { public static final int FILTER_FIELD_NUMBER = 4; private volatile java.lang.Object filter_; /** + * + * *
    * Optional. The filter request.
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The filter. */ @java.lang.Override @@ -251,29 +290,29 @@ public java.lang.String getFilter() { 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(); filter_ = s; return s; } } /** + * + * *
    * Optional. The filter request.
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for filter. */ @java.lang.Override - public com.google.protobuf.ByteString - getFilterBytes() { + public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; 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); filter_ = b; return b; } else { @@ -284,11 +323,14 @@ public java.lang.String getFilter() { public static final int ORDER_BY_FIELD_NUMBER = 5; private volatile java.lang.Object orderBy_; /** + * + * *
    * Optional. the order by fields for the result.
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The orderBy. */ @java.lang.Override @@ -297,29 +339,29 @@ public java.lang.String getOrderBy() { 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(); orderBy_ = s; return s; } } /** + * + * *
    * Optional. the order by fields for the result.
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for orderBy. */ @java.lang.Override - public com.google.protobuf.ByteString - getOrderByBytes() { + public com.google.protobuf.ByteString getOrderByBytes() { java.lang.Object ref = orderBy_; 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); orderBy_ = b; return b; } else { @@ -328,6 +370,7 @@ public java.lang.String getOrderBy() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -339,8 +382,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_); } @@ -369,8 +411,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -389,23 +430,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.vmmigration.v1.ListCloneJobsRequest)) { return super.equals(obj); } - com.google.cloud.vmmigration.v1.ListCloneJobsRequest other = (com.google.cloud.vmmigration.v1.ListCloneJobsRequest) obj; - - if (!getParent() - .equals(other.getParent())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; - if (!getFilter() - .equals(other.getFilter())) return false; - if (!getOrderBy() - .equals(other.getOrderBy())) return false; + com.google.cloud.vmmigration.v1.ListCloneJobsRequest other = + (com.google.cloud.vmmigration.v1.ListCloneJobsRequest) obj; + + if (!getParent().equals(other.getParent())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; + if (!getFilter().equals(other.getFilter())) return false; + if (!getOrderBy().equals(other.getOrderBy())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -433,117 +470,126 @@ public int hashCode() { } public static com.google.cloud.vmmigration.v1.ListCloneJobsRequest 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.vmmigration.v1.ListCloneJobsRequest 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.vmmigration.v1.ListCloneJobsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.vmmigration.v1.ListCloneJobsRequest 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.vmmigration.v1.ListCloneJobsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.vmmigration.v1.ListCloneJobsRequest 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.vmmigration.v1.ListCloneJobsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.vmmigration.v1.ListCloneJobsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.vmmigration.v1.ListCloneJobsRequest 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.vmmigration.v1.ListCloneJobsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.vmmigration.v1.ListCloneJobsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.vmmigration.v1.ListCloneJobsRequest 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.vmmigration.v1.ListCloneJobsRequest 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.vmmigration.v1.ListCloneJobsRequest 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.vmmigration.v1.ListCloneJobsRequest 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 message for 'ListCloneJobsRequest' request.
    * 
* * Protobuf type {@code google.cloud.vmmigration.v1.ListCloneJobsRequest} */ - 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.vmmigration.v1.ListCloneJobsRequest) com.google.cloud.vmmigration.v1.ListCloneJobsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ListCloneJobsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_ListCloneJobsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ListCloneJobsRequest_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_ListCloneJobsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.ListCloneJobsRequest.class, com.google.cloud.vmmigration.v1.ListCloneJobsRequest.Builder.class); + com.google.cloud.vmmigration.v1.ListCloneJobsRequest.class, + com.google.cloud.vmmigration.v1.ListCloneJobsRequest.Builder.class); } // Construct using com.google.cloud.vmmigration.v1.ListCloneJobsRequest.newBuilder() @@ -551,16 +597,15 @@ 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) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -578,9 +623,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ListCloneJobsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_ListCloneJobsRequest_descriptor; } @java.lang.Override @@ -599,7 +644,8 @@ public com.google.cloud.vmmigration.v1.ListCloneJobsRequest build() { @java.lang.Override public com.google.cloud.vmmigration.v1.ListCloneJobsRequest buildPartial() { - com.google.cloud.vmmigration.v1.ListCloneJobsRequest result = new com.google.cloud.vmmigration.v1.ListCloneJobsRequest(this); + com.google.cloud.vmmigration.v1.ListCloneJobsRequest result = + new com.google.cloud.vmmigration.v1.ListCloneJobsRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -613,38 +659,39 @@ public com.google.cloud.vmmigration.v1.ListCloneJobsRequest buildPartial() { 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.vmmigration.v1.ListCloneJobsRequest) { - return mergeFrom((com.google.cloud.vmmigration.v1.ListCloneJobsRequest)other); + return mergeFrom((com.google.cloud.vmmigration.v1.ListCloneJobsRequest) other); } else { super.mergeFrom(other); return this; @@ -652,7 +699,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.vmmigration.v1.ListCloneJobsRequest other) { - if (other == com.google.cloud.vmmigration.v1.ListCloneJobsRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.vmmigration.v1.ListCloneJobsRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -691,7 +739,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.vmmigration.v1.ListCloneJobsRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.vmmigration.v1.ListCloneJobsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -703,18 +752,22 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The parent, which owns this collection of source VMs.
      * 
* - * 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; @@ -723,20 +776,23 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent, which owns this collection of source VMs.
      * 
* - * 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 { @@ -744,61 +800,76 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent, which owns this collection of source VMs.
      * 
* - * 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) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. The parent, which owns this collection of source VMs.
      * 
* - * 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() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The parent, which owns this collection of source VMs.
      * 
* - * 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) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * Optional. The maximum number of clone jobs to return. The service may
      * return fewer than this value. If unspecified, at most 500 clone jobs will
@@ -807,6 +878,7 @@ public Builder setParentBytes(
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -814,6 +886,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * Optional. The maximum number of clone jobs to return. The service may
      * return fewer than this value. If unspecified, at most 500 clone jobs will
@@ -822,16 +896,19 @@ public int getPageSize() {
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** + * + * *
      * Optional. The maximum number of clone jobs to return. The service may
      * return fewer than this value. If unspecified, at most 500 clone jobs will
@@ -840,10 +917,11 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -851,6 +929,8 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * Required. A page token, received from a previous `ListCloneJobs` call.
      * Provide this to retrieve the subsequent page.
@@ -859,13 +939,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @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; @@ -874,6 +954,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Required. A page token, received from a previous `ListCloneJobs` call.
      * Provide this to retrieve the subsequent page.
@@ -882,15 +964,14 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @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 { @@ -898,6 +979,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Required. A page token, received from a previous `ListCloneJobs` call.
      * Provide this to retrieve the subsequent page.
@@ -906,20 +989,22 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
      * Required. A page token, received from a previous `ListCloneJobs` call.
      * Provide this to retrieve the subsequent page.
@@ -928,15 +1013,18 @@ public Builder setPageToken(
      * 
* * string page_token = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * Required. A page token, received from a previous `ListCloneJobs` call.
      * Provide this to retrieve the subsequent page.
@@ -945,16 +1033,16 @@ public Builder clearPageToken() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; @@ -962,18 +1050,20 @@ public Builder setPageTokenBytes( private java.lang.Object filter_ = ""; /** + * + * *
      * Optional. The filter request.
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; 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(); filter_ = s; return s; @@ -982,20 +1072,21 @@ public java.lang.String getFilter() { } } /** + * + * *
      * Optional. The filter request.
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for filter. */ - public com.google.protobuf.ByteString - getFilterBytes() { + public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; 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); filter_ = b; return b; } else { @@ -1003,54 +1094,61 @@ public java.lang.String getFilter() { } } /** + * + * *
      * Optional. The filter request.
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter( - java.lang.String value) { + public Builder setFilter(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; onChanged(); return this; } /** + * + * *
      * Optional. The filter request.
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** + * + * *
      * Optional. The filter request.
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes( - com.google.protobuf.ByteString value) { + public Builder setFilterBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = value; onChanged(); return this; @@ -1058,18 +1156,20 @@ public Builder setFilterBytes( private java.lang.Object orderBy_ = ""; /** + * + * *
      * Optional. the order by fields for the result.
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The orderBy. */ public java.lang.String getOrderBy() { java.lang.Object ref = orderBy_; 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(); orderBy_ = s; return s; @@ -1078,20 +1178,21 @@ public java.lang.String getOrderBy() { } } /** + * + * *
      * Optional. the order by fields for the result.
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for orderBy. */ - public com.google.protobuf.ByteString - getOrderByBytes() { + public com.google.protobuf.ByteString getOrderByBytes() { java.lang.Object ref = orderBy_; 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); orderBy_ = b; return b; } else { @@ -1099,61 +1200,68 @@ public java.lang.String getOrderBy() { } } /** + * + * *
      * Optional. the order by fields for the result.
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The orderBy to set. * @return This builder for chaining. */ - public Builder setOrderBy( - java.lang.String value) { + public Builder setOrderBy(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + orderBy_ = value; onChanged(); return this; } /** + * + * *
      * Optional. the order by fields for the result.
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearOrderBy() { - + orderBy_ = getDefaultInstance().getOrderBy(); onChanged(); return this; } /** + * + * *
      * Optional. the order by fields for the result.
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for orderBy to set. * @return This builder for chaining. */ - public Builder setOrderByBytes( - com.google.protobuf.ByteString value) { + public Builder setOrderByBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + orderBy_ = 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); } @@ -1163,12 +1271,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.vmmigration.v1.ListCloneJobsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.vmmigration.v1.ListCloneJobsRequest) private static final com.google.cloud.vmmigration.v1.ListCloneJobsRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.vmmigration.v1.ListCloneJobsRequest(); } @@ -1177,16 +1285,16 @@ public static com.google.cloud.vmmigration.v1.ListCloneJobsRequest getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListCloneJobsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListCloneJobsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListCloneJobsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListCloneJobsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1201,6 +1309,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.vmmigration.v1.ListCloneJobsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListCloneJobsRequestOrBuilder.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListCloneJobsRequestOrBuilder.java similarity index 68% rename from owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListCloneJobsRequestOrBuilder.java rename to proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListCloneJobsRequestOrBuilder.java index 14e39c1..eca6800 100644 --- a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListCloneJobsRequestOrBuilder.java +++ b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListCloneJobsRequestOrBuilder.java @@ -1,33 +1,60 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; -public interface ListCloneJobsRequestOrBuilder extends +public interface ListCloneJobsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.ListCloneJobsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The parent, which owns this collection of source VMs.
    * 
* - * 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 parent, which owns this collection of source VMs.
    * 
* - * 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(); /** + * + * *
    * Optional. The maximum number of clone jobs to return. The service may
    * return fewer than this value. If unspecified, at most 500 clone jobs will
@@ -36,11 +63,14 @@ public interface ListCloneJobsRequestOrBuilder extends
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * Required. A page token, received from a previous `ListCloneJobs` call.
    * Provide this to retrieve the subsequent page.
@@ -49,10 +79,13 @@ public interface ListCloneJobsRequestOrBuilder extends
    * 
* * string page_token = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * Required. A page token, received from a previous `ListCloneJobs` call.
    * Provide this to retrieve the subsequent page.
@@ -61,48 +94,58 @@ public interface ListCloneJobsRequestOrBuilder extends
    * 
* * string page_token = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); /** + * + * *
    * Optional. The filter request.
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The filter. */ java.lang.String getFilter(); /** + * + * *
    * Optional. The filter request.
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for filter. */ - com.google.protobuf.ByteString - getFilterBytes(); + com.google.protobuf.ByteString getFilterBytes(); /** + * + * *
    * Optional. the order by fields for the result.
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The orderBy. */ java.lang.String getOrderBy(); /** + * + * *
    * Optional. the order by fields for the result.
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for orderBy. */ - com.google.protobuf.ByteString - getOrderByBytes(); + com.google.protobuf.ByteString getOrderByBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListCloneJobsResponse.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListCloneJobsResponse.java similarity index 68% rename from owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListCloneJobsResponse.java rename to proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListCloneJobsResponse.java index 272ef78..883f267 100644 --- a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListCloneJobsResponse.java +++ b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListCloneJobsResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; /** + * + * *
  * Response message for 'ListCloneJobs' request.
  * 
* * Protobuf type {@code google.cloud.vmmigration.v1.ListCloneJobsResponse} */ -public final class ListCloneJobsResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListCloneJobsResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.vmmigration.v1.ListCloneJobsResponse) ListCloneJobsResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListCloneJobsResponse.newBuilder() to construct. private ListCloneJobsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListCloneJobsResponse() { cloneJobs_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -27,16 +45,15 @@ private ListCloneJobsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListCloneJobsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListCloneJobsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -56,37 +73,41 @@ private ListCloneJobsResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - cloneJobs_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + cloneJobs_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + cloneJobs_.add( + input.readMessage( + com.google.cloud.vmmigration.v1.CloneJob.parser(), extensionRegistry)); + break; } - cloneJobs_.add( - input.readMessage(com.google.cloud.vmmigration.v1.CloneJob.parser(), extensionRegistry)); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - unreachable_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000002; + nextPageToken_ = s; + break; } - unreachable_.add(s); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + unreachable_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000002; + } + unreachable_.add(s); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -94,8 +115,7 @@ private ListCloneJobsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { cloneJobs_ = java.util.Collections.unmodifiableList(cloneJobs_); @@ -107,88 +127,113 @@ private ListCloneJobsResponse( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ListCloneJobsResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_ListCloneJobsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ListCloneJobsResponse_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_ListCloneJobsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.ListCloneJobsResponse.class, com.google.cloud.vmmigration.v1.ListCloneJobsResponse.Builder.class); + com.google.cloud.vmmigration.v1.ListCloneJobsResponse.class, + com.google.cloud.vmmigration.v1.ListCloneJobsResponse.Builder.class); } public static final int CLONE_JOBS_FIELD_NUMBER = 1; private java.util.List cloneJobs_; /** + * + * *
    * Output only. The list of clone jobs response.
    * 
* - * repeated .google.cloud.vmmigration.v1.CloneJob clone_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.CloneJob clone_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public java.util.List getCloneJobsList() { return cloneJobs_; } /** + * + * *
    * Output only. The list of clone jobs response.
    * 
* - * repeated .google.cloud.vmmigration.v1.CloneJob clone_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.CloneJob clone_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public java.util.List + public java.util.List getCloneJobsOrBuilderList() { return cloneJobs_; } /** + * + * *
    * Output only. The list of clone jobs response.
    * 
* - * repeated .google.cloud.vmmigration.v1.CloneJob clone_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.CloneJob clone_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public int getCloneJobsCount() { return cloneJobs_.size(); } /** + * + * *
    * Output only. The list of clone jobs response.
    * 
* - * repeated .google.cloud.vmmigration.v1.CloneJob clone_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.CloneJob clone_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.vmmigration.v1.CloneJob getCloneJobs(int index) { return cloneJobs_.get(index); } /** + * + * *
    * Output only. The list of clone jobs response.
    * 
* - * repeated .google.cloud.vmmigration.v1.CloneJob clone_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.CloneJob clone_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public com.google.cloud.vmmigration.v1.CloneJobOrBuilder getCloneJobsOrBuilder( - int index) { + public com.google.cloud.vmmigration.v1.CloneJobOrBuilder getCloneJobsOrBuilder(int index) { return cloneJobs_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** + * + * *
    * Output only. A token, which can be sent as `page_token` to retrieve the
    * next page. If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The nextPageToken. */ @java.lang.Override @@ -197,30 +242,30 @@ 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. A token, which can be sent as `page_token` to retrieve the
    * next page. If this field is omitted, there are no subsequent pages.
    * 
* * 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 { @@ -231,34 +276,42 @@ public java.lang.String getNextPageToken() { public static final int UNREACHABLE_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList unreachable_; /** + * + * *
    * Output only. Locations that could not be reached.
    * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return A list containing the unreachable. */ - public com.google.protobuf.ProtocolStringList - getUnreachableList() { + public com.google.protobuf.ProtocolStringList getUnreachableList() { return unreachable_; } /** + * + * *
    * Output only. Locations that could not be reached.
    * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** + * + * *
    * Output only. Locations that could not be reached.
    * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -266,20 +319,23 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** + * + * *
    * Output only. Locations that could not be reached.
    * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - public com.google.protobuf.ByteString - getUnreachableBytes(int index) { + public com.google.protobuf.ByteString getUnreachableBytes(int index) { return unreachable_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -291,8 +347,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 < cloneJobs_.size(); i++) { output.writeMessage(1, cloneJobs_.get(i)); } @@ -312,8 +367,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < cloneJobs_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, cloneJobs_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, cloneJobs_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -334,19 +388,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.vmmigration.v1.ListCloneJobsResponse)) { return super.equals(obj); } - com.google.cloud.vmmigration.v1.ListCloneJobsResponse other = (com.google.cloud.vmmigration.v1.ListCloneJobsResponse) obj; + com.google.cloud.vmmigration.v1.ListCloneJobsResponse other = + (com.google.cloud.vmmigration.v1.ListCloneJobsResponse) obj; - if (!getCloneJobsList() - .equals(other.getCloneJobsList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; - if (!getUnreachableList() - .equals(other.getUnreachableList())) return false; + if (!getCloneJobsList().equals(other.getCloneJobsList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getUnreachableList().equals(other.getUnreachableList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -374,117 +426,127 @@ public int hashCode() { } public static com.google.cloud.vmmigration.v1.ListCloneJobsResponse 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.vmmigration.v1.ListCloneJobsResponse 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.vmmigration.v1.ListCloneJobsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.vmmigration.v1.ListCloneJobsResponse 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.vmmigration.v1.ListCloneJobsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.vmmigration.v1.ListCloneJobsResponse 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.vmmigration.v1.ListCloneJobsResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.vmmigration.v1.ListCloneJobsResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.vmmigration.v1.ListCloneJobsResponse 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.vmmigration.v1.ListCloneJobsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.vmmigration.v1.ListCloneJobsResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.vmmigration.v1.ListCloneJobsResponse 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.vmmigration.v1.ListCloneJobsResponse 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.vmmigration.v1.ListCloneJobsResponse 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.vmmigration.v1.ListCloneJobsResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.vmmigration.v1.ListCloneJobsResponse 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; } /** + * + * *
    * Response message for 'ListCloneJobs' request.
    * 
* * Protobuf type {@code google.cloud.vmmigration.v1.ListCloneJobsResponse} */ - 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.vmmigration.v1.ListCloneJobsResponse) com.google.cloud.vmmigration.v1.ListCloneJobsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ListCloneJobsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_ListCloneJobsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ListCloneJobsResponse_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_ListCloneJobsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.ListCloneJobsResponse.class, com.google.cloud.vmmigration.v1.ListCloneJobsResponse.Builder.class); + com.google.cloud.vmmigration.v1.ListCloneJobsResponse.class, + com.google.cloud.vmmigration.v1.ListCloneJobsResponse.Builder.class); } // Construct using com.google.cloud.vmmigration.v1.ListCloneJobsResponse.newBuilder() @@ -492,17 +554,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) { getCloneJobsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -520,9 +582,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ListCloneJobsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_ListCloneJobsResponse_descriptor; } @java.lang.Override @@ -541,7 +603,8 @@ public com.google.cloud.vmmigration.v1.ListCloneJobsResponse build() { @java.lang.Override public com.google.cloud.vmmigration.v1.ListCloneJobsResponse buildPartial() { - com.google.cloud.vmmigration.v1.ListCloneJobsResponse result = new com.google.cloud.vmmigration.v1.ListCloneJobsResponse(this); + com.google.cloud.vmmigration.v1.ListCloneJobsResponse result = + new com.google.cloud.vmmigration.v1.ListCloneJobsResponse(this); int from_bitField0_ = bitField0_; if (cloneJobsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -566,38 +629,39 @@ public com.google.cloud.vmmigration.v1.ListCloneJobsResponse buildPartial() { 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.vmmigration.v1.ListCloneJobsResponse) { - return mergeFrom((com.google.cloud.vmmigration.v1.ListCloneJobsResponse)other); + return mergeFrom((com.google.cloud.vmmigration.v1.ListCloneJobsResponse) other); } else { super.mergeFrom(other); return this; @@ -605,7 +669,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.vmmigration.v1.ListCloneJobsResponse other) { - if (other == com.google.cloud.vmmigration.v1.ListCloneJobsResponse.getDefaultInstance()) return this; + if (other == com.google.cloud.vmmigration.v1.ListCloneJobsResponse.getDefaultInstance()) + return this; if (cloneJobsBuilder_ == null) { if (!other.cloneJobs_.isEmpty()) { if (cloneJobs_.isEmpty()) { @@ -624,9 +689,10 @@ public Builder mergeFrom(com.google.cloud.vmmigration.v1.ListCloneJobsResponse o cloneJobsBuilder_ = null; cloneJobs_ = other.cloneJobs_; bitField0_ = (bitField0_ & ~0x00000001); - cloneJobsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getCloneJobsFieldBuilder() : null; + cloneJobsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getCloneJobsFieldBuilder() + : null; } else { cloneJobsBuilder_.addAllMessages(other.cloneJobs_); } @@ -665,7 +731,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.vmmigration.v1.ListCloneJobsResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.vmmigration.v1.ListCloneJobsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -674,26 +741,35 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.util.List cloneJobs_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureCloneJobsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { cloneJobs_ = new java.util.ArrayList(cloneJobs_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.vmmigration.v1.CloneJob, com.google.cloud.vmmigration.v1.CloneJob.Builder, com.google.cloud.vmmigration.v1.CloneJobOrBuilder> cloneJobsBuilder_; + com.google.cloud.vmmigration.v1.CloneJob, + com.google.cloud.vmmigration.v1.CloneJob.Builder, + com.google.cloud.vmmigration.v1.CloneJobOrBuilder> + cloneJobsBuilder_; /** + * + * *
      * Output only. The list of clone jobs response.
      * 
* - * repeated .google.cloud.vmmigration.v1.CloneJob clone_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.CloneJob clone_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public java.util.List getCloneJobsList() { if (cloneJobsBuilder_ == null) { @@ -703,11 +779,15 @@ public java.util.List getCloneJobsList } } /** + * + * *
      * Output only. The list of clone jobs response.
      * 
* - * repeated .google.cloud.vmmigration.v1.CloneJob clone_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.CloneJob clone_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public int getCloneJobsCount() { if (cloneJobsBuilder_ == null) { @@ -717,11 +797,15 @@ public int getCloneJobsCount() { } } /** + * + * *
      * Output only. The list of clone jobs response.
      * 
* - * repeated .google.cloud.vmmigration.v1.CloneJob clone_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.CloneJob clone_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.vmmigration.v1.CloneJob getCloneJobs(int index) { if (cloneJobsBuilder_ == null) { @@ -731,14 +815,17 @@ public com.google.cloud.vmmigration.v1.CloneJob getCloneJobs(int index) { } } /** + * + * *
      * Output only. The list of clone jobs response.
      * 
* - * repeated .google.cloud.vmmigration.v1.CloneJob clone_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.CloneJob clone_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setCloneJobs( - int index, com.google.cloud.vmmigration.v1.CloneJob value) { + public Builder setCloneJobs(int index, com.google.cloud.vmmigration.v1.CloneJob value) { if (cloneJobsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -752,11 +839,15 @@ public Builder setCloneJobs( return this; } /** + * + * *
      * Output only. The list of clone jobs response.
      * 
* - * repeated .google.cloud.vmmigration.v1.CloneJob clone_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.CloneJob clone_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setCloneJobs( int index, com.google.cloud.vmmigration.v1.CloneJob.Builder builderForValue) { @@ -770,11 +861,15 @@ public Builder setCloneJobs( return this; } /** + * + * *
      * Output only. The list of clone jobs response.
      * 
* - * repeated .google.cloud.vmmigration.v1.CloneJob clone_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.CloneJob clone_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addCloneJobs(com.google.cloud.vmmigration.v1.CloneJob value) { if (cloneJobsBuilder_ == null) { @@ -790,14 +885,17 @@ public Builder addCloneJobs(com.google.cloud.vmmigration.v1.CloneJob value) { return this; } /** + * + * *
      * Output only. The list of clone jobs response.
      * 
* - * repeated .google.cloud.vmmigration.v1.CloneJob clone_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.CloneJob clone_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder addCloneJobs( - int index, com.google.cloud.vmmigration.v1.CloneJob value) { + public Builder addCloneJobs(int index, com.google.cloud.vmmigration.v1.CloneJob value) { if (cloneJobsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -811,14 +909,17 @@ public Builder addCloneJobs( return this; } /** + * + * *
      * Output only. The list of clone jobs response.
      * 
* - * repeated .google.cloud.vmmigration.v1.CloneJob clone_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.CloneJob clone_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder addCloneJobs( - com.google.cloud.vmmigration.v1.CloneJob.Builder builderForValue) { + public Builder addCloneJobs(com.google.cloud.vmmigration.v1.CloneJob.Builder builderForValue) { if (cloneJobsBuilder_ == null) { ensureCloneJobsIsMutable(); cloneJobs_.add(builderForValue.build()); @@ -829,11 +930,15 @@ public Builder addCloneJobs( return this; } /** + * + * *
      * Output only. The list of clone jobs response.
      * 
* - * repeated .google.cloud.vmmigration.v1.CloneJob clone_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.CloneJob clone_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addCloneJobs( int index, com.google.cloud.vmmigration.v1.CloneJob.Builder builderForValue) { @@ -847,18 +952,21 @@ public Builder addCloneJobs( return this; } /** + * + * *
      * Output only. The list of clone jobs response.
      * 
* - * repeated .google.cloud.vmmigration.v1.CloneJob clone_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.CloneJob clone_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addAllCloneJobs( java.lang.Iterable values) { if (cloneJobsBuilder_ == null) { ensureCloneJobsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, cloneJobs_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, cloneJobs_); onChanged(); } else { cloneJobsBuilder_.addAllMessages(values); @@ -866,11 +974,15 @@ public Builder addAllCloneJobs( return this; } /** + * + * *
      * Output only. The list of clone jobs response.
      * 
* - * repeated .google.cloud.vmmigration.v1.CloneJob clone_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.CloneJob clone_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearCloneJobs() { if (cloneJobsBuilder_ == null) { @@ -883,11 +995,15 @@ public Builder clearCloneJobs() { return this; } /** + * + * *
      * Output only. The list of clone jobs response.
      * 
* - * repeated .google.cloud.vmmigration.v1.CloneJob clone_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.CloneJob clone_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder removeCloneJobs(int index) { if (cloneJobsBuilder_ == null) { @@ -900,39 +1016,50 @@ public Builder removeCloneJobs(int index) { return this; } /** + * + * *
      * Output only. The list of clone jobs response.
      * 
* - * repeated .google.cloud.vmmigration.v1.CloneJob clone_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.CloneJob clone_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.vmmigration.v1.CloneJob.Builder getCloneJobsBuilder( - int index) { + public com.google.cloud.vmmigration.v1.CloneJob.Builder getCloneJobsBuilder(int index) { return getCloneJobsFieldBuilder().getBuilder(index); } /** + * + * *
      * Output only. The list of clone jobs response.
      * 
* - * repeated .google.cloud.vmmigration.v1.CloneJob clone_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.CloneJob clone_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.vmmigration.v1.CloneJobOrBuilder getCloneJobsOrBuilder( - int index) { + public com.google.cloud.vmmigration.v1.CloneJobOrBuilder getCloneJobsOrBuilder(int index) { if (cloneJobsBuilder_ == null) { - return cloneJobs_.get(index); } else { + return cloneJobs_.get(index); + } else { return cloneJobsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Output only. The list of clone jobs response.
      * 
* - * repeated .google.cloud.vmmigration.v1.CloneJob clone_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.CloneJob clone_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public java.util.List - getCloneJobsOrBuilderList() { + public java.util.List + getCloneJobsOrBuilderList() { if (cloneJobsBuilder_ != null) { return cloneJobsBuilder_.getMessageOrBuilderList(); } else { @@ -940,49 +1067,63 @@ public com.google.cloud.vmmigration.v1.CloneJobOrBuilder getCloneJobsOrBuilder( } } /** + * + * *
      * Output only. The list of clone jobs response.
      * 
* - * repeated .google.cloud.vmmigration.v1.CloneJob clone_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.CloneJob clone_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.vmmigration.v1.CloneJob.Builder addCloneJobsBuilder() { - return getCloneJobsFieldBuilder().addBuilder( - com.google.cloud.vmmigration.v1.CloneJob.getDefaultInstance()); + return getCloneJobsFieldBuilder() + .addBuilder(com.google.cloud.vmmigration.v1.CloneJob.getDefaultInstance()); } /** + * + * *
      * Output only. The list of clone jobs response.
      * 
* - * repeated .google.cloud.vmmigration.v1.CloneJob clone_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.CloneJob clone_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.vmmigration.v1.CloneJob.Builder addCloneJobsBuilder( - int index) { - return getCloneJobsFieldBuilder().addBuilder( - index, com.google.cloud.vmmigration.v1.CloneJob.getDefaultInstance()); + public com.google.cloud.vmmigration.v1.CloneJob.Builder addCloneJobsBuilder(int index) { + return getCloneJobsFieldBuilder() + .addBuilder(index, com.google.cloud.vmmigration.v1.CloneJob.getDefaultInstance()); } /** + * + * *
      * Output only. The list of clone jobs response.
      * 
* - * repeated .google.cloud.vmmigration.v1.CloneJob clone_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.CloneJob clone_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public java.util.List - getCloneJobsBuilderList() { + public java.util.List + getCloneJobsBuilderList() { return getCloneJobsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.vmmigration.v1.CloneJob, com.google.cloud.vmmigration.v1.CloneJob.Builder, com.google.cloud.vmmigration.v1.CloneJobOrBuilder> + com.google.cloud.vmmigration.v1.CloneJob, + com.google.cloud.vmmigration.v1.CloneJob.Builder, + com.google.cloud.vmmigration.v1.CloneJobOrBuilder> getCloneJobsFieldBuilder() { if (cloneJobsBuilder_ == null) { - cloneJobsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.vmmigration.v1.CloneJob, com.google.cloud.vmmigration.v1.CloneJob.Builder, com.google.cloud.vmmigration.v1.CloneJobOrBuilder>( - cloneJobs_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + cloneJobsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.vmmigration.v1.CloneJob, + com.google.cloud.vmmigration.v1.CloneJob.Builder, + com.google.cloud.vmmigration.v1.CloneJobOrBuilder>( + cloneJobs_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); cloneJobs_ = null; } return cloneJobsBuilder_; @@ -990,19 +1131,21 @@ public com.google.cloud.vmmigration.v1.CloneJob.Builder addCloneJobsBuilder( private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * Output only. A token, which can be sent as `page_token` to retrieve the
      * next page. If this field is omitted, there are no subsequent pages.
      * 
* * 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; @@ -1011,21 +1154,22 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * Output only. A token, which can be sent as `page_token` to retrieve the
      * next page. If this field is omitted, there are no subsequent pages.
      * 
* * 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 { @@ -1033,98 +1177,115 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * Output only. A token, which can be sent as `page_token` to retrieve the
      * next page. If this field is omitted, there are no subsequent pages.
      * 
* * 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) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** + * + * *
      * Output only. A token, which can be sent as `page_token` to retrieve the
      * next page. If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** + * + * *
      * Output only. A token, which can be sent as `page_token` to retrieve the
      * next page. If this field is omitted, there are no subsequent pages.
      * 
* * 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) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList unreachable_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList unreachable_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureUnreachableIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { unreachable_ = new com.google.protobuf.LazyStringArrayList(unreachable_); bitField0_ |= 0x00000002; - } + } } /** + * + * *
      * Output only. Locations that could not be reached.
      * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return A list containing the unreachable. */ - public com.google.protobuf.ProtocolStringList - getUnreachableList() { + public com.google.protobuf.ProtocolStringList getUnreachableList() { return unreachable_.getUnmodifiableView(); } /** + * + * *
      * Output only. Locations that could not be reached.
      * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** + * + * *
      * Output only. Locations that could not be reached.
      * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -1132,80 +1293,90 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** + * + * *
      * Output only. Locations that could not be reached.
      * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - public com.google.protobuf.ByteString - getUnreachableBytes(int index) { + public com.google.protobuf.ByteString getUnreachableBytes(int index) { return unreachable_.getByteString(index); } /** + * + * *
      * Output only. Locations that could not be reached.
      * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param index The index to set the value at. * @param value The unreachable to set. * @return This builder for chaining. */ - public Builder setUnreachable( - int index, java.lang.String value) { + public Builder setUnreachable(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUnreachableIsMutable(); + throw new NullPointerException(); + } + ensureUnreachableIsMutable(); unreachable_.set(index, value); onChanged(); return this; } /** + * + * *
      * Output only. Locations that could not be reached.
      * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The unreachable to add. * @return This builder for chaining. */ - public Builder addUnreachable( - java.lang.String value) { + public Builder addUnreachable(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUnreachableIsMutable(); + throw new NullPointerException(); + } + ensureUnreachableIsMutable(); unreachable_.add(value); onChanged(); return this; } /** + * + * *
      * Output only. Locations that could not be reached.
      * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param values The unreachable to add. * @return This builder for chaining. */ - public Builder addAllUnreachable( - java.lang.Iterable values) { + public Builder addAllUnreachable(java.lang.Iterable values) { ensureUnreachableIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, unreachable_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, unreachable_); onChanged(); return this; } /** + * + * *
      * Output only. Locations that could not be reached.
      * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearUnreachable() { @@ -1215,28 +1386,30 @@ public Builder clearUnreachable() { return this; } /** + * + * *
      * Output only. Locations that could not be reached.
      * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes of the unreachable to add. * @return This builder for chaining. */ - public Builder addUnreachableBytes( - com.google.protobuf.ByteString value) { + public Builder addUnreachableBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureUnreachableIsMutable(); unreachable_.add(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); } @@ -1246,12 +1419,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.vmmigration.v1.ListCloneJobsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.vmmigration.v1.ListCloneJobsResponse) private static final com.google.cloud.vmmigration.v1.ListCloneJobsResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.vmmigration.v1.ListCloneJobsResponse(); } @@ -1260,16 +1433,16 @@ public static com.google.cloud.vmmigration.v1.ListCloneJobsResponse getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListCloneJobsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListCloneJobsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListCloneJobsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListCloneJobsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1284,6 +1457,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.vmmigration.v1.ListCloneJobsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListCloneJobsResponseOrBuilder.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListCloneJobsResponseOrBuilder.java similarity index 61% rename from owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListCloneJobsResponseOrBuilder.java rename to proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListCloneJobsResponseOrBuilder.java index 2d52a72..c0dceab 100644 --- a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListCloneJobsResponseOrBuilder.java +++ b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListCloneJobsResponseOrBuilder.java @@ -1,116 +1,165 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; -public interface ListCloneJobsResponseOrBuilder extends +public interface ListCloneJobsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.ListCloneJobsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. The list of clone jobs response.
    * 
* - * repeated .google.cloud.vmmigration.v1.CloneJob clone_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.CloneJob clone_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - java.util.List - getCloneJobsList(); + java.util.List getCloneJobsList(); /** + * + * *
    * Output only. The list of clone jobs response.
    * 
* - * repeated .google.cloud.vmmigration.v1.CloneJob clone_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.CloneJob clone_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.cloud.vmmigration.v1.CloneJob getCloneJobs(int index); /** + * + * *
    * Output only. The list of clone jobs response.
    * 
* - * repeated .google.cloud.vmmigration.v1.CloneJob clone_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.CloneJob clone_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ int getCloneJobsCount(); /** + * + * *
    * Output only. The list of clone jobs response.
    * 
* - * repeated .google.cloud.vmmigration.v1.CloneJob clone_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.CloneJob clone_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - java.util.List + java.util.List getCloneJobsOrBuilderList(); /** + * + * *
    * Output only. The list of clone jobs response.
    * 
* - * repeated .google.cloud.vmmigration.v1.CloneJob clone_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.CloneJob clone_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - com.google.cloud.vmmigration.v1.CloneJobOrBuilder getCloneJobsOrBuilder( - int index); + com.google.cloud.vmmigration.v1.CloneJobOrBuilder getCloneJobsOrBuilder(int index); /** + * + * *
    * Output only. A token, which can be sent as `page_token` to retrieve the
    * next page. If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * Output only. A token, which can be sent as `page_token` to retrieve the
    * next page. If this field is omitted, there are no subsequent pages.
    * 
* * 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(); /** + * + * *
    * Output only. Locations that could not be reached.
    * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return A list containing the unreachable. */ - java.util.List - getUnreachableList(); + java.util.List getUnreachableList(); /** + * + * *
    * Output only. Locations that could not be reached.
    * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The count of unreachable. */ int getUnreachableCount(); /** + * + * *
    * Output only. Locations that could not be reached.
    * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param index The index of the element to return. * @return The unreachable at the given index. */ java.lang.String getUnreachable(int index); /** + * + * *
    * Output only. Locations that could not be reached.
    * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - com.google.protobuf.ByteString - getUnreachableBytes(int index); + com.google.protobuf.ByteString getUnreachableBytes(int index); } diff --git a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListCutoverJobsRequest.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListCutoverJobsRequest.java similarity index 71% rename from owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListCutoverJobsRequest.java rename to proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListCutoverJobsRequest.java index 2106db5..1f6b46b 100644 --- a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListCutoverJobsRequest.java +++ b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListCutoverJobsRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; /** + * + * *
  * Request message for 'ListCutoverJobsRequest' request.
  * 
* * Protobuf type {@code google.cloud.vmmigration.v1.ListCutoverJobsRequest} */ -public final class ListCutoverJobsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListCutoverJobsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.vmmigration.v1.ListCutoverJobsRequest) ListCutoverJobsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListCutoverJobsRequest.newBuilder() to construct. private ListCutoverJobsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListCutoverJobsRequest() { parent_ = ""; pageToken_ = ""; @@ -28,16 +46,15 @@ private ListCutoverJobsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListCutoverJobsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListCutoverJobsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -56,42 +73,46 @@ private ListCutoverJobsRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - parent_ = s; - break; - } - case 16: { + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - pageSize_ = input.readInt32(); - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: + { + pageSize_ = input.readInt32(); + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - pageToken_ = s; - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); + pageToken_ = s; + break; + } + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); - filter_ = s; - break; - } - case 42: { - java.lang.String s = input.readStringRequireUtf8(); + filter_ = s; + break; + } + case 42: + { + java.lang.String s = input.readStringRequireUtf8(); - orderBy_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + orderBy_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -99,34 +120,41 @@ private ListCutoverJobsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ListCutoverJobsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_ListCutoverJobsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ListCutoverJobsRequest_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_ListCutoverJobsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.ListCutoverJobsRequest.class, com.google.cloud.vmmigration.v1.ListCutoverJobsRequest.Builder.class); + com.google.cloud.vmmigration.v1.ListCutoverJobsRequest.class, + com.google.cloud.vmmigration.v1.ListCutoverJobsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The parent, which owns this collection of migrating VMs.
    * 
* - * 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 @@ -135,29 +163,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 parent, which owns this collection of migrating VMs.
    * 
* - * 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 { @@ -168,6 +198,8 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** + * + * *
    * Optional. The maximum number of cutover jobs to return. The service may
    * return fewer than this value. If unspecified, at most 500 cutover jobs will
@@ -176,6 +208,7 @@ public java.lang.String getParent() {
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -186,6 +219,8 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** + * + * *
    * Required. A page token, received from a previous `ListCutoverJobs` call.
    * Provide this to retrieve the subsequent page.
@@ -194,6 +229,7 @@ public int getPageSize() {
    * 
* * string page_token = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The pageToken. */ @java.lang.Override @@ -202,14 +238,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; } } /** + * + * *
    * Required. A page token, received from a previous `ListCutoverJobs` call.
    * Provide this to retrieve the subsequent page.
@@ -218,16 +255,15 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @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 { @@ -238,11 +274,14 @@ public java.lang.String getPageToken() { public static final int FILTER_FIELD_NUMBER = 4; private volatile java.lang.Object filter_; /** + * + * *
    * Optional. The filter request.
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The filter. */ @java.lang.Override @@ -251,29 +290,29 @@ public java.lang.String getFilter() { 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(); filter_ = s; return s; } } /** + * + * *
    * Optional. The filter request.
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for filter. */ @java.lang.Override - public com.google.protobuf.ByteString - getFilterBytes() { + public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; 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); filter_ = b; return b; } else { @@ -284,11 +323,14 @@ public java.lang.String getFilter() { public static final int ORDER_BY_FIELD_NUMBER = 5; private volatile java.lang.Object orderBy_; /** + * + * *
    * Optional. the order by fields for the result.
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The orderBy. */ @java.lang.Override @@ -297,29 +339,29 @@ public java.lang.String getOrderBy() { 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(); orderBy_ = s; return s; } } /** + * + * *
    * Optional. the order by fields for the result.
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for orderBy. */ @java.lang.Override - public com.google.protobuf.ByteString - getOrderByBytes() { + public com.google.protobuf.ByteString getOrderByBytes() { java.lang.Object ref = orderBy_; 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); orderBy_ = b; return b; } else { @@ -328,6 +370,7 @@ public java.lang.String getOrderBy() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -339,8 +382,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_); } @@ -369,8 +411,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -389,23 +430,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.vmmigration.v1.ListCutoverJobsRequest)) { return super.equals(obj); } - com.google.cloud.vmmigration.v1.ListCutoverJobsRequest other = (com.google.cloud.vmmigration.v1.ListCutoverJobsRequest) obj; - - if (!getParent() - .equals(other.getParent())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; - if (!getFilter() - .equals(other.getFilter())) return false; - if (!getOrderBy() - .equals(other.getOrderBy())) return false; + com.google.cloud.vmmigration.v1.ListCutoverJobsRequest other = + (com.google.cloud.vmmigration.v1.ListCutoverJobsRequest) obj; + + if (!getParent().equals(other.getParent())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; + if (!getFilter().equals(other.getFilter())) return false; + if (!getOrderBy().equals(other.getOrderBy())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -433,117 +470,127 @@ public int hashCode() { } public static com.google.cloud.vmmigration.v1.ListCutoverJobsRequest 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.vmmigration.v1.ListCutoverJobsRequest 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.vmmigration.v1.ListCutoverJobsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.vmmigration.v1.ListCutoverJobsRequest 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.vmmigration.v1.ListCutoverJobsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.vmmigration.v1.ListCutoverJobsRequest 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.vmmigration.v1.ListCutoverJobsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.vmmigration.v1.ListCutoverJobsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.vmmigration.v1.ListCutoverJobsRequest 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.vmmigration.v1.ListCutoverJobsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.vmmigration.v1.ListCutoverJobsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.vmmigration.v1.ListCutoverJobsRequest 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.vmmigration.v1.ListCutoverJobsRequest 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.vmmigration.v1.ListCutoverJobsRequest 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.vmmigration.v1.ListCutoverJobsRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.vmmigration.v1.ListCutoverJobsRequest 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 message for 'ListCutoverJobsRequest' request.
    * 
* * Protobuf type {@code google.cloud.vmmigration.v1.ListCutoverJobsRequest} */ - 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.vmmigration.v1.ListCutoverJobsRequest) com.google.cloud.vmmigration.v1.ListCutoverJobsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ListCutoverJobsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_ListCutoverJobsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ListCutoverJobsRequest_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_ListCutoverJobsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.ListCutoverJobsRequest.class, com.google.cloud.vmmigration.v1.ListCutoverJobsRequest.Builder.class); + com.google.cloud.vmmigration.v1.ListCutoverJobsRequest.class, + com.google.cloud.vmmigration.v1.ListCutoverJobsRequest.Builder.class); } // Construct using com.google.cloud.vmmigration.v1.ListCutoverJobsRequest.newBuilder() @@ -551,16 +598,15 @@ 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) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -578,9 +624,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ListCutoverJobsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_ListCutoverJobsRequest_descriptor; } @java.lang.Override @@ -599,7 +645,8 @@ public com.google.cloud.vmmigration.v1.ListCutoverJobsRequest build() { @java.lang.Override public com.google.cloud.vmmigration.v1.ListCutoverJobsRequest buildPartial() { - com.google.cloud.vmmigration.v1.ListCutoverJobsRequest result = new com.google.cloud.vmmigration.v1.ListCutoverJobsRequest(this); + com.google.cloud.vmmigration.v1.ListCutoverJobsRequest result = + new com.google.cloud.vmmigration.v1.ListCutoverJobsRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -613,38 +660,39 @@ public com.google.cloud.vmmigration.v1.ListCutoverJobsRequest buildPartial() { 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.vmmigration.v1.ListCutoverJobsRequest) { - return mergeFrom((com.google.cloud.vmmigration.v1.ListCutoverJobsRequest)other); + return mergeFrom((com.google.cloud.vmmigration.v1.ListCutoverJobsRequest) other); } else { super.mergeFrom(other); return this; @@ -652,7 +700,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.vmmigration.v1.ListCutoverJobsRequest other) { - if (other == com.google.cloud.vmmigration.v1.ListCutoverJobsRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.vmmigration.v1.ListCutoverJobsRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -691,7 +740,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.vmmigration.v1.ListCutoverJobsRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.vmmigration.v1.ListCutoverJobsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -703,18 +753,22 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The parent, which owns this collection of migrating VMs.
      * 
* - * 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; @@ -723,20 +777,23 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent, which owns this collection of migrating VMs.
      * 
* - * 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 { @@ -744,61 +801,76 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent, which owns this collection of migrating VMs.
      * 
* - * 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) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. The parent, which owns this collection of migrating VMs.
      * 
* - * 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() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The parent, which owns this collection of migrating VMs.
      * 
* - * 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) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * Optional. The maximum number of cutover jobs to return. The service may
      * return fewer than this value. If unspecified, at most 500 cutover jobs will
@@ -807,6 +879,7 @@ public Builder setParentBytes(
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -814,6 +887,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * Optional. The maximum number of cutover jobs to return. The service may
      * return fewer than this value. If unspecified, at most 500 cutover jobs will
@@ -822,16 +897,19 @@ public int getPageSize() {
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** + * + * *
      * Optional. The maximum number of cutover jobs to return. The service may
      * return fewer than this value. If unspecified, at most 500 cutover jobs will
@@ -840,10 +918,11 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -851,6 +930,8 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * Required. A page token, received from a previous `ListCutoverJobs` call.
      * Provide this to retrieve the subsequent page.
@@ -859,13 +940,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @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; @@ -874,6 +955,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Required. A page token, received from a previous `ListCutoverJobs` call.
      * Provide this to retrieve the subsequent page.
@@ -882,15 +965,14 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @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 { @@ -898,6 +980,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Required. A page token, received from a previous `ListCutoverJobs` call.
      * Provide this to retrieve the subsequent page.
@@ -906,20 +990,22 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
      * Required. A page token, received from a previous `ListCutoverJobs` call.
      * Provide this to retrieve the subsequent page.
@@ -928,15 +1014,18 @@ public Builder setPageToken(
      * 
* * string page_token = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * Required. A page token, received from a previous `ListCutoverJobs` call.
      * Provide this to retrieve the subsequent page.
@@ -945,16 +1034,16 @@ public Builder clearPageToken() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; @@ -962,18 +1051,20 @@ public Builder setPageTokenBytes( private java.lang.Object filter_ = ""; /** + * + * *
      * Optional. The filter request.
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; 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(); filter_ = s; return s; @@ -982,20 +1073,21 @@ public java.lang.String getFilter() { } } /** + * + * *
      * Optional. The filter request.
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for filter. */ - public com.google.protobuf.ByteString - getFilterBytes() { + public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; 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); filter_ = b; return b; } else { @@ -1003,54 +1095,61 @@ public java.lang.String getFilter() { } } /** + * + * *
      * Optional. The filter request.
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter( - java.lang.String value) { + public Builder setFilter(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; onChanged(); return this; } /** + * + * *
      * Optional. The filter request.
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** + * + * *
      * Optional. The filter request.
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes( - com.google.protobuf.ByteString value) { + public Builder setFilterBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = value; onChanged(); return this; @@ -1058,18 +1157,20 @@ public Builder setFilterBytes( private java.lang.Object orderBy_ = ""; /** + * + * *
      * Optional. the order by fields for the result.
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The orderBy. */ public java.lang.String getOrderBy() { java.lang.Object ref = orderBy_; 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(); orderBy_ = s; return s; @@ -1078,20 +1179,21 @@ public java.lang.String getOrderBy() { } } /** + * + * *
      * Optional. the order by fields for the result.
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for orderBy. */ - public com.google.protobuf.ByteString - getOrderByBytes() { + public com.google.protobuf.ByteString getOrderByBytes() { java.lang.Object ref = orderBy_; 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); orderBy_ = b; return b; } else { @@ -1099,61 +1201,68 @@ public java.lang.String getOrderBy() { } } /** + * + * *
      * Optional. the order by fields for the result.
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The orderBy to set. * @return This builder for chaining. */ - public Builder setOrderBy( - java.lang.String value) { + public Builder setOrderBy(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + orderBy_ = value; onChanged(); return this; } /** + * + * *
      * Optional. the order by fields for the result.
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearOrderBy() { - + orderBy_ = getDefaultInstance().getOrderBy(); onChanged(); return this; } /** + * + * *
      * Optional. the order by fields for the result.
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for orderBy to set. * @return This builder for chaining. */ - public Builder setOrderByBytes( - com.google.protobuf.ByteString value) { + public Builder setOrderByBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + orderBy_ = 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); } @@ -1163,12 +1272,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.vmmigration.v1.ListCutoverJobsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.vmmigration.v1.ListCutoverJobsRequest) private static final com.google.cloud.vmmigration.v1.ListCutoverJobsRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.vmmigration.v1.ListCutoverJobsRequest(); } @@ -1177,16 +1286,16 @@ public static com.google.cloud.vmmigration.v1.ListCutoverJobsRequest getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListCutoverJobsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListCutoverJobsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListCutoverJobsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListCutoverJobsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1201,6 +1310,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.vmmigration.v1.ListCutoverJobsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListCutoverJobsRequestOrBuilder.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListCutoverJobsRequestOrBuilder.java similarity index 68% rename from owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListCutoverJobsRequestOrBuilder.java rename to proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListCutoverJobsRequestOrBuilder.java index 29b559b..a624583 100644 --- a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListCutoverJobsRequestOrBuilder.java +++ b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListCutoverJobsRequestOrBuilder.java @@ -1,33 +1,60 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; -public interface ListCutoverJobsRequestOrBuilder extends +public interface ListCutoverJobsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.ListCutoverJobsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The parent, which owns this collection of migrating VMs.
    * 
* - * 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 parent, which owns this collection of migrating VMs.
    * 
* - * 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(); /** + * + * *
    * Optional. The maximum number of cutover jobs to return. The service may
    * return fewer than this value. If unspecified, at most 500 cutover jobs will
@@ -36,11 +63,14 @@ public interface ListCutoverJobsRequestOrBuilder extends
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * Required. A page token, received from a previous `ListCutoverJobs` call.
    * Provide this to retrieve the subsequent page.
@@ -49,10 +79,13 @@ public interface ListCutoverJobsRequestOrBuilder extends
    * 
* * string page_token = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * Required. A page token, received from a previous `ListCutoverJobs` call.
    * Provide this to retrieve the subsequent page.
@@ -61,48 +94,58 @@ public interface ListCutoverJobsRequestOrBuilder extends
    * 
* * string page_token = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); /** + * + * *
    * Optional. The filter request.
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The filter. */ java.lang.String getFilter(); /** + * + * *
    * Optional. The filter request.
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for filter. */ - com.google.protobuf.ByteString - getFilterBytes(); + com.google.protobuf.ByteString getFilterBytes(); /** + * + * *
    * Optional. the order by fields for the result.
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The orderBy. */ java.lang.String getOrderBy(); /** + * + * *
    * Optional. the order by fields for the result.
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for orderBy. */ - com.google.protobuf.ByteString - getOrderByBytes(); + com.google.protobuf.ByteString getOrderByBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListCutoverJobsResponse.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListCutoverJobsResponse.java similarity index 68% rename from owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListCutoverJobsResponse.java rename to proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListCutoverJobsResponse.java index 434398b..f4a1d3d 100644 --- a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListCutoverJobsResponse.java +++ b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListCutoverJobsResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; /** + * + * *
  * Response message for 'ListCutoverJobs' request.
  * 
* * Protobuf type {@code google.cloud.vmmigration.v1.ListCutoverJobsResponse} */ -public final class ListCutoverJobsResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListCutoverJobsResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.vmmigration.v1.ListCutoverJobsResponse) ListCutoverJobsResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListCutoverJobsResponse.newBuilder() to construct. private ListCutoverJobsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListCutoverJobsResponse() { cutoverJobs_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -27,16 +45,15 @@ private ListCutoverJobsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListCutoverJobsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListCutoverJobsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -56,37 +73,42 @@ private ListCutoverJobsResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - cutoverJobs_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + cutoverJobs_ = + new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + cutoverJobs_.add( + input.readMessage( + com.google.cloud.vmmigration.v1.CutoverJob.parser(), extensionRegistry)); + break; } - cutoverJobs_.add( - input.readMessage(com.google.cloud.vmmigration.v1.CutoverJob.parser(), extensionRegistry)); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - unreachable_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000002; + nextPageToken_ = s; + break; } - unreachable_.add(s); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + unreachable_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000002; + } + unreachable_.add(s); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -94,8 +116,7 @@ private ListCutoverJobsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { cutoverJobs_ = java.util.Collections.unmodifiableList(cutoverJobs_); @@ -107,88 +128,113 @@ private ListCutoverJobsResponse( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ListCutoverJobsResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_ListCutoverJobsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ListCutoverJobsResponse_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_ListCutoverJobsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.ListCutoverJobsResponse.class, com.google.cloud.vmmigration.v1.ListCutoverJobsResponse.Builder.class); + com.google.cloud.vmmigration.v1.ListCutoverJobsResponse.class, + com.google.cloud.vmmigration.v1.ListCutoverJobsResponse.Builder.class); } public static final int CUTOVER_JOBS_FIELD_NUMBER = 1; private java.util.List cutoverJobs_; /** + * + * *
    * Output only. The list of cutover jobs response.
    * 
* - * repeated .google.cloud.vmmigration.v1.CutoverJob cutover_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.CutoverJob cutover_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public java.util.List getCutoverJobsList() { return cutoverJobs_; } /** + * + * *
    * Output only. The list of cutover jobs response.
    * 
* - * repeated .google.cloud.vmmigration.v1.CutoverJob cutover_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.CutoverJob cutover_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public java.util.List + public java.util.List getCutoverJobsOrBuilderList() { return cutoverJobs_; } /** + * + * *
    * Output only. The list of cutover jobs response.
    * 
* - * repeated .google.cloud.vmmigration.v1.CutoverJob cutover_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.CutoverJob cutover_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public int getCutoverJobsCount() { return cutoverJobs_.size(); } /** + * + * *
    * Output only. The list of cutover jobs response.
    * 
* - * repeated .google.cloud.vmmigration.v1.CutoverJob cutover_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.CutoverJob cutover_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.vmmigration.v1.CutoverJob getCutoverJobs(int index) { return cutoverJobs_.get(index); } /** + * + * *
    * Output only. The list of cutover jobs response.
    * 
* - * repeated .google.cloud.vmmigration.v1.CutoverJob cutover_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.CutoverJob cutover_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public com.google.cloud.vmmigration.v1.CutoverJobOrBuilder getCutoverJobsOrBuilder( - int index) { + public com.google.cloud.vmmigration.v1.CutoverJobOrBuilder getCutoverJobsOrBuilder(int index) { return cutoverJobs_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** + * + * *
    * Output only. A token, which can be sent as `page_token` to retrieve the
    * next page. If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The nextPageToken. */ @java.lang.Override @@ -197,30 +243,30 @@ 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. A token, which can be sent as `page_token` to retrieve the
    * next page. If this field is omitted, there are no subsequent pages.
    * 
* * 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 { @@ -231,34 +277,42 @@ public java.lang.String getNextPageToken() { public static final int UNREACHABLE_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList unreachable_; /** + * + * *
    * Output only. Locations that could not be reached.
    * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return A list containing the unreachable. */ - public com.google.protobuf.ProtocolStringList - getUnreachableList() { + public com.google.protobuf.ProtocolStringList getUnreachableList() { return unreachable_; } /** + * + * *
    * Output only. Locations that could not be reached.
    * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** + * + * *
    * Output only. Locations that could not be reached.
    * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -266,20 +320,23 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** + * + * *
    * Output only. Locations that could not be reached.
    * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - public com.google.protobuf.ByteString - getUnreachableBytes(int index) { + public com.google.protobuf.ByteString getUnreachableBytes(int index) { return unreachable_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -291,8 +348,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 < cutoverJobs_.size(); i++) { output.writeMessage(1, cutoverJobs_.get(i)); } @@ -312,8 +368,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < cutoverJobs_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, cutoverJobs_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, cutoverJobs_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -334,19 +389,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.vmmigration.v1.ListCutoverJobsResponse)) { return super.equals(obj); } - com.google.cloud.vmmigration.v1.ListCutoverJobsResponse other = (com.google.cloud.vmmigration.v1.ListCutoverJobsResponse) obj; + com.google.cloud.vmmigration.v1.ListCutoverJobsResponse other = + (com.google.cloud.vmmigration.v1.ListCutoverJobsResponse) obj; - if (!getCutoverJobsList() - .equals(other.getCutoverJobsList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; - if (!getUnreachableList() - .equals(other.getUnreachableList())) return false; + if (!getCutoverJobsList().equals(other.getCutoverJobsList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getUnreachableList().equals(other.getUnreachableList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -374,117 +427,127 @@ public int hashCode() { } public static com.google.cloud.vmmigration.v1.ListCutoverJobsResponse 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.vmmigration.v1.ListCutoverJobsResponse 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.vmmigration.v1.ListCutoverJobsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.vmmigration.v1.ListCutoverJobsResponse 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.vmmigration.v1.ListCutoverJobsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.vmmigration.v1.ListCutoverJobsResponse 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.vmmigration.v1.ListCutoverJobsResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.vmmigration.v1.ListCutoverJobsResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.vmmigration.v1.ListCutoverJobsResponse 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.vmmigration.v1.ListCutoverJobsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.vmmigration.v1.ListCutoverJobsResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.vmmigration.v1.ListCutoverJobsResponse 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.vmmigration.v1.ListCutoverJobsResponse 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.vmmigration.v1.ListCutoverJobsResponse 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.vmmigration.v1.ListCutoverJobsResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.vmmigration.v1.ListCutoverJobsResponse 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; } /** + * + * *
    * Response message for 'ListCutoverJobs' request.
    * 
* * Protobuf type {@code google.cloud.vmmigration.v1.ListCutoverJobsResponse} */ - 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.vmmigration.v1.ListCutoverJobsResponse) com.google.cloud.vmmigration.v1.ListCutoverJobsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ListCutoverJobsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_ListCutoverJobsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ListCutoverJobsResponse_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_ListCutoverJobsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.ListCutoverJobsResponse.class, com.google.cloud.vmmigration.v1.ListCutoverJobsResponse.Builder.class); + com.google.cloud.vmmigration.v1.ListCutoverJobsResponse.class, + com.google.cloud.vmmigration.v1.ListCutoverJobsResponse.Builder.class); } // Construct using com.google.cloud.vmmigration.v1.ListCutoverJobsResponse.newBuilder() @@ -492,17 +555,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) { getCutoverJobsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -520,9 +583,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ListCutoverJobsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_ListCutoverJobsResponse_descriptor; } @java.lang.Override @@ -541,7 +604,8 @@ public com.google.cloud.vmmigration.v1.ListCutoverJobsResponse build() { @java.lang.Override public com.google.cloud.vmmigration.v1.ListCutoverJobsResponse buildPartial() { - com.google.cloud.vmmigration.v1.ListCutoverJobsResponse result = new com.google.cloud.vmmigration.v1.ListCutoverJobsResponse(this); + com.google.cloud.vmmigration.v1.ListCutoverJobsResponse result = + new com.google.cloud.vmmigration.v1.ListCutoverJobsResponse(this); int from_bitField0_ = bitField0_; if (cutoverJobsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -566,38 +630,39 @@ public com.google.cloud.vmmigration.v1.ListCutoverJobsResponse buildPartial() { 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.vmmigration.v1.ListCutoverJobsResponse) { - return mergeFrom((com.google.cloud.vmmigration.v1.ListCutoverJobsResponse)other); + return mergeFrom((com.google.cloud.vmmigration.v1.ListCutoverJobsResponse) other); } else { super.mergeFrom(other); return this; @@ -605,7 +670,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.vmmigration.v1.ListCutoverJobsResponse other) { - if (other == com.google.cloud.vmmigration.v1.ListCutoverJobsResponse.getDefaultInstance()) return this; + if (other == com.google.cloud.vmmigration.v1.ListCutoverJobsResponse.getDefaultInstance()) + return this; if (cutoverJobsBuilder_ == null) { if (!other.cutoverJobs_.isEmpty()) { if (cutoverJobs_.isEmpty()) { @@ -624,9 +690,10 @@ public Builder mergeFrom(com.google.cloud.vmmigration.v1.ListCutoverJobsResponse cutoverJobsBuilder_ = null; cutoverJobs_ = other.cutoverJobs_; bitField0_ = (bitField0_ & ~0x00000001); - cutoverJobsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getCutoverJobsFieldBuilder() : null; + cutoverJobsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getCutoverJobsFieldBuilder() + : null; } else { cutoverJobsBuilder_.addAllMessages(other.cutoverJobs_); } @@ -665,7 +732,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.vmmigration.v1.ListCutoverJobsResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.vmmigration.v1.ListCutoverJobsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -674,26 +742,36 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.util.List cutoverJobs_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureCutoverJobsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - cutoverJobs_ = new java.util.ArrayList(cutoverJobs_); + cutoverJobs_ = + new java.util.ArrayList(cutoverJobs_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.vmmigration.v1.CutoverJob, com.google.cloud.vmmigration.v1.CutoverJob.Builder, com.google.cloud.vmmigration.v1.CutoverJobOrBuilder> cutoverJobsBuilder_; + com.google.cloud.vmmigration.v1.CutoverJob, + com.google.cloud.vmmigration.v1.CutoverJob.Builder, + com.google.cloud.vmmigration.v1.CutoverJobOrBuilder> + cutoverJobsBuilder_; /** + * + * *
      * Output only. The list of cutover jobs response.
      * 
* - * repeated .google.cloud.vmmigration.v1.CutoverJob cutover_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.CutoverJob cutover_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public java.util.List getCutoverJobsList() { if (cutoverJobsBuilder_ == null) { @@ -703,11 +781,15 @@ public java.util.List getCutoverJobs } } /** + * + * *
      * Output only. The list of cutover jobs response.
      * 
* - * repeated .google.cloud.vmmigration.v1.CutoverJob cutover_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.CutoverJob cutover_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public int getCutoverJobsCount() { if (cutoverJobsBuilder_ == null) { @@ -717,11 +799,15 @@ public int getCutoverJobsCount() { } } /** + * + * *
      * Output only. The list of cutover jobs response.
      * 
* - * repeated .google.cloud.vmmigration.v1.CutoverJob cutover_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.CutoverJob cutover_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.vmmigration.v1.CutoverJob getCutoverJobs(int index) { if (cutoverJobsBuilder_ == null) { @@ -731,14 +817,17 @@ public com.google.cloud.vmmigration.v1.CutoverJob getCutoverJobs(int index) { } } /** + * + * *
      * Output only. The list of cutover jobs response.
      * 
* - * repeated .google.cloud.vmmigration.v1.CutoverJob cutover_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.CutoverJob cutover_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setCutoverJobs( - int index, com.google.cloud.vmmigration.v1.CutoverJob value) { + public Builder setCutoverJobs(int index, com.google.cloud.vmmigration.v1.CutoverJob value) { if (cutoverJobsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -752,11 +841,15 @@ public Builder setCutoverJobs( return this; } /** + * + * *
      * Output only. The list of cutover jobs response.
      * 
* - * repeated .google.cloud.vmmigration.v1.CutoverJob cutover_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.CutoverJob cutover_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setCutoverJobs( int index, com.google.cloud.vmmigration.v1.CutoverJob.Builder builderForValue) { @@ -770,11 +863,15 @@ public Builder setCutoverJobs( return this; } /** + * + * *
      * Output only. The list of cutover jobs response.
      * 
* - * repeated .google.cloud.vmmigration.v1.CutoverJob cutover_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.CutoverJob cutover_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addCutoverJobs(com.google.cloud.vmmigration.v1.CutoverJob value) { if (cutoverJobsBuilder_ == null) { @@ -790,14 +887,17 @@ public Builder addCutoverJobs(com.google.cloud.vmmigration.v1.CutoverJob value) return this; } /** + * + * *
      * Output only. The list of cutover jobs response.
      * 
* - * repeated .google.cloud.vmmigration.v1.CutoverJob cutover_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.CutoverJob cutover_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder addCutoverJobs( - int index, com.google.cloud.vmmigration.v1.CutoverJob value) { + public Builder addCutoverJobs(int index, com.google.cloud.vmmigration.v1.CutoverJob value) { if (cutoverJobsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -811,11 +911,15 @@ public Builder addCutoverJobs( return this; } /** + * + * *
      * Output only. The list of cutover jobs response.
      * 
* - * repeated .google.cloud.vmmigration.v1.CutoverJob cutover_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.CutoverJob cutover_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addCutoverJobs( com.google.cloud.vmmigration.v1.CutoverJob.Builder builderForValue) { @@ -829,11 +933,15 @@ public Builder addCutoverJobs( return this; } /** + * + * *
      * Output only. The list of cutover jobs response.
      * 
* - * repeated .google.cloud.vmmigration.v1.CutoverJob cutover_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.CutoverJob cutover_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addCutoverJobs( int index, com.google.cloud.vmmigration.v1.CutoverJob.Builder builderForValue) { @@ -847,18 +955,21 @@ public Builder addCutoverJobs( return this; } /** + * + * *
      * Output only. The list of cutover jobs response.
      * 
* - * repeated .google.cloud.vmmigration.v1.CutoverJob cutover_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.CutoverJob cutover_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addAllCutoverJobs( java.lang.Iterable values) { if (cutoverJobsBuilder_ == null) { ensureCutoverJobsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, cutoverJobs_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, cutoverJobs_); onChanged(); } else { cutoverJobsBuilder_.addAllMessages(values); @@ -866,11 +977,15 @@ public Builder addAllCutoverJobs( return this; } /** + * + * *
      * Output only. The list of cutover jobs response.
      * 
* - * repeated .google.cloud.vmmigration.v1.CutoverJob cutover_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.CutoverJob cutover_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearCutoverJobs() { if (cutoverJobsBuilder_ == null) { @@ -883,11 +998,15 @@ public Builder clearCutoverJobs() { return this; } /** + * + * *
      * Output only. The list of cutover jobs response.
      * 
* - * repeated .google.cloud.vmmigration.v1.CutoverJob cutover_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.CutoverJob cutover_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder removeCutoverJobs(int index) { if (cutoverJobsBuilder_ == null) { @@ -900,39 +1019,50 @@ public Builder removeCutoverJobs(int index) { return this; } /** + * + * *
      * Output only. The list of cutover jobs response.
      * 
* - * repeated .google.cloud.vmmigration.v1.CutoverJob cutover_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.CutoverJob cutover_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.vmmigration.v1.CutoverJob.Builder getCutoverJobsBuilder( - int index) { + public com.google.cloud.vmmigration.v1.CutoverJob.Builder getCutoverJobsBuilder(int index) { return getCutoverJobsFieldBuilder().getBuilder(index); } /** + * + * *
      * Output only. The list of cutover jobs response.
      * 
* - * repeated .google.cloud.vmmigration.v1.CutoverJob cutover_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.CutoverJob cutover_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.vmmigration.v1.CutoverJobOrBuilder getCutoverJobsOrBuilder( - int index) { + public com.google.cloud.vmmigration.v1.CutoverJobOrBuilder getCutoverJobsOrBuilder(int index) { if (cutoverJobsBuilder_ == null) { - return cutoverJobs_.get(index); } else { + return cutoverJobs_.get(index); + } else { return cutoverJobsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Output only. The list of cutover jobs response.
      * 
* - * repeated .google.cloud.vmmigration.v1.CutoverJob cutover_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.CutoverJob cutover_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public java.util.List - getCutoverJobsOrBuilderList() { + public java.util.List + getCutoverJobsOrBuilderList() { if (cutoverJobsBuilder_ != null) { return cutoverJobsBuilder_.getMessageOrBuilderList(); } else { @@ -940,49 +1070,63 @@ public com.google.cloud.vmmigration.v1.CutoverJobOrBuilder getCutoverJobsOrBuild } } /** + * + * *
      * Output only. The list of cutover jobs response.
      * 
* - * repeated .google.cloud.vmmigration.v1.CutoverJob cutover_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.CutoverJob cutover_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.vmmigration.v1.CutoverJob.Builder addCutoverJobsBuilder() { - return getCutoverJobsFieldBuilder().addBuilder( - com.google.cloud.vmmigration.v1.CutoverJob.getDefaultInstance()); + return getCutoverJobsFieldBuilder() + .addBuilder(com.google.cloud.vmmigration.v1.CutoverJob.getDefaultInstance()); } /** + * + * *
      * Output only. The list of cutover jobs response.
      * 
* - * repeated .google.cloud.vmmigration.v1.CutoverJob cutover_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.CutoverJob cutover_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.vmmigration.v1.CutoverJob.Builder addCutoverJobsBuilder( - int index) { - return getCutoverJobsFieldBuilder().addBuilder( - index, com.google.cloud.vmmigration.v1.CutoverJob.getDefaultInstance()); + public com.google.cloud.vmmigration.v1.CutoverJob.Builder addCutoverJobsBuilder(int index) { + return getCutoverJobsFieldBuilder() + .addBuilder(index, com.google.cloud.vmmigration.v1.CutoverJob.getDefaultInstance()); } /** + * + * *
      * Output only. The list of cutover jobs response.
      * 
* - * repeated .google.cloud.vmmigration.v1.CutoverJob cutover_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.CutoverJob cutover_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public java.util.List - getCutoverJobsBuilderList() { + public java.util.List + getCutoverJobsBuilderList() { return getCutoverJobsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.vmmigration.v1.CutoverJob, com.google.cloud.vmmigration.v1.CutoverJob.Builder, com.google.cloud.vmmigration.v1.CutoverJobOrBuilder> + com.google.cloud.vmmigration.v1.CutoverJob, + com.google.cloud.vmmigration.v1.CutoverJob.Builder, + com.google.cloud.vmmigration.v1.CutoverJobOrBuilder> getCutoverJobsFieldBuilder() { if (cutoverJobsBuilder_ == null) { - cutoverJobsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.vmmigration.v1.CutoverJob, com.google.cloud.vmmigration.v1.CutoverJob.Builder, com.google.cloud.vmmigration.v1.CutoverJobOrBuilder>( - cutoverJobs_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + cutoverJobsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.vmmigration.v1.CutoverJob, + com.google.cloud.vmmigration.v1.CutoverJob.Builder, + com.google.cloud.vmmigration.v1.CutoverJobOrBuilder>( + cutoverJobs_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); cutoverJobs_ = null; } return cutoverJobsBuilder_; @@ -990,19 +1134,21 @@ public com.google.cloud.vmmigration.v1.CutoverJob.Builder addCutoverJobsBuilder( private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * Output only. A token, which can be sent as `page_token` to retrieve the
      * next page. If this field is omitted, there are no subsequent pages.
      * 
* * 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; @@ -1011,21 +1157,22 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * Output only. A token, which can be sent as `page_token` to retrieve the
      * next page. If this field is omitted, there are no subsequent pages.
      * 
* * 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 { @@ -1033,98 +1180,115 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * Output only. A token, which can be sent as `page_token` to retrieve the
      * next page. If this field is omitted, there are no subsequent pages.
      * 
* * 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) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** + * + * *
      * Output only. A token, which can be sent as `page_token` to retrieve the
      * next page. If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** + * + * *
      * Output only. A token, which can be sent as `page_token` to retrieve the
      * next page. If this field is omitted, there are no subsequent pages.
      * 
* * 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) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList unreachable_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList unreachable_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureUnreachableIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { unreachable_ = new com.google.protobuf.LazyStringArrayList(unreachable_); bitField0_ |= 0x00000002; - } + } } /** + * + * *
      * Output only. Locations that could not be reached.
      * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return A list containing the unreachable. */ - public com.google.protobuf.ProtocolStringList - getUnreachableList() { + public com.google.protobuf.ProtocolStringList getUnreachableList() { return unreachable_.getUnmodifiableView(); } /** + * + * *
      * Output only. Locations that could not be reached.
      * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** + * + * *
      * Output only. Locations that could not be reached.
      * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -1132,80 +1296,90 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** + * + * *
      * Output only. Locations that could not be reached.
      * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - public com.google.protobuf.ByteString - getUnreachableBytes(int index) { + public com.google.protobuf.ByteString getUnreachableBytes(int index) { return unreachable_.getByteString(index); } /** + * + * *
      * Output only. Locations that could not be reached.
      * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param index The index to set the value at. * @param value The unreachable to set. * @return This builder for chaining. */ - public Builder setUnreachable( - int index, java.lang.String value) { + public Builder setUnreachable(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUnreachableIsMutable(); + throw new NullPointerException(); + } + ensureUnreachableIsMutable(); unreachable_.set(index, value); onChanged(); return this; } /** + * + * *
      * Output only. Locations that could not be reached.
      * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The unreachable to add. * @return This builder for chaining. */ - public Builder addUnreachable( - java.lang.String value) { + public Builder addUnreachable(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUnreachableIsMutable(); + throw new NullPointerException(); + } + ensureUnreachableIsMutable(); unreachable_.add(value); onChanged(); return this; } /** + * + * *
      * Output only. Locations that could not be reached.
      * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param values The unreachable to add. * @return This builder for chaining. */ - public Builder addAllUnreachable( - java.lang.Iterable values) { + public Builder addAllUnreachable(java.lang.Iterable values) { ensureUnreachableIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, unreachable_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, unreachable_); onChanged(); return this; } /** + * + * *
      * Output only. Locations that could not be reached.
      * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearUnreachable() { @@ -1215,28 +1389,30 @@ public Builder clearUnreachable() { return this; } /** + * + * *
      * Output only. Locations that could not be reached.
      * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes of the unreachable to add. * @return This builder for chaining. */ - public Builder addUnreachableBytes( - com.google.protobuf.ByteString value) { + public Builder addUnreachableBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureUnreachableIsMutable(); unreachable_.add(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); } @@ -1246,12 +1422,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.vmmigration.v1.ListCutoverJobsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.vmmigration.v1.ListCutoverJobsResponse) private static final com.google.cloud.vmmigration.v1.ListCutoverJobsResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.vmmigration.v1.ListCutoverJobsResponse(); } @@ -1260,16 +1436,16 @@ public static com.google.cloud.vmmigration.v1.ListCutoverJobsResponse getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListCutoverJobsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListCutoverJobsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListCutoverJobsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListCutoverJobsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1284,6 +1460,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.vmmigration.v1.ListCutoverJobsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListCutoverJobsResponseOrBuilder.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListCutoverJobsResponseOrBuilder.java similarity index 61% rename from owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListCutoverJobsResponseOrBuilder.java rename to proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListCutoverJobsResponseOrBuilder.java index c6c80fa..88a2f55 100644 --- a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListCutoverJobsResponseOrBuilder.java +++ b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListCutoverJobsResponseOrBuilder.java @@ -1,116 +1,165 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; -public interface ListCutoverJobsResponseOrBuilder extends +public interface ListCutoverJobsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.ListCutoverJobsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. The list of cutover jobs response.
    * 
* - * repeated .google.cloud.vmmigration.v1.CutoverJob cutover_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.CutoverJob cutover_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - java.util.List - getCutoverJobsList(); + java.util.List getCutoverJobsList(); /** + * + * *
    * Output only. The list of cutover jobs response.
    * 
* - * repeated .google.cloud.vmmigration.v1.CutoverJob cutover_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.CutoverJob cutover_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.cloud.vmmigration.v1.CutoverJob getCutoverJobs(int index); /** + * + * *
    * Output only. The list of cutover jobs response.
    * 
* - * repeated .google.cloud.vmmigration.v1.CutoverJob cutover_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.CutoverJob cutover_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ int getCutoverJobsCount(); /** + * + * *
    * Output only. The list of cutover jobs response.
    * 
* - * repeated .google.cloud.vmmigration.v1.CutoverJob cutover_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.CutoverJob cutover_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - java.util.List + java.util.List getCutoverJobsOrBuilderList(); /** + * + * *
    * Output only. The list of cutover jobs response.
    * 
* - * repeated .google.cloud.vmmigration.v1.CutoverJob cutover_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.CutoverJob cutover_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - com.google.cloud.vmmigration.v1.CutoverJobOrBuilder getCutoverJobsOrBuilder( - int index); + com.google.cloud.vmmigration.v1.CutoverJobOrBuilder getCutoverJobsOrBuilder(int index); /** + * + * *
    * Output only. A token, which can be sent as `page_token` to retrieve the
    * next page. If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * Output only. A token, which can be sent as `page_token` to retrieve the
    * next page. If this field is omitted, there are no subsequent pages.
    * 
* * 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(); /** + * + * *
    * Output only. Locations that could not be reached.
    * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return A list containing the unreachable. */ - java.util.List - getUnreachableList(); + java.util.List getUnreachableList(); /** + * + * *
    * Output only. Locations that could not be reached.
    * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The count of unreachable. */ int getUnreachableCount(); /** + * + * *
    * Output only. Locations that could not be reached.
    * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param index The index of the element to return. * @return The unreachable at the given index. */ java.lang.String getUnreachable(int index); /** + * + * *
    * Output only. Locations that could not be reached.
    * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - com.google.protobuf.ByteString - getUnreachableBytes(int index); + com.google.protobuf.ByteString getUnreachableBytes(int index); } diff --git a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListDatacenterConnectorsRequest.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListDatacenterConnectorsRequest.java similarity index 70% rename from owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListDatacenterConnectorsRequest.java rename to proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListDatacenterConnectorsRequest.java index c25aafc..1420028 100644 --- a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListDatacenterConnectorsRequest.java +++ b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListDatacenterConnectorsRequest.java @@ -1,24 +1,43 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; /** + * + * *
  * Request message for 'ListDatacenterConnectors' request.
  * 
* * Protobuf type {@code google.cloud.vmmigration.v1.ListDatacenterConnectorsRequest} */ -public final class ListDatacenterConnectorsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListDatacenterConnectorsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.vmmigration.v1.ListDatacenterConnectorsRequest) ListDatacenterConnectorsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListDatacenterConnectorsRequest.newBuilder() to construct. - private ListDatacenterConnectorsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ListDatacenterConnectorsRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListDatacenterConnectorsRequest() { parent_ = ""; pageToken_ = ""; @@ -28,16 +47,15 @@ private ListDatacenterConnectorsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListDatacenterConnectorsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListDatacenterConnectorsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -56,42 +74,46 @@ private ListDatacenterConnectorsRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - parent_ = s; - break; - } - case 16: { + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - pageSize_ = input.readInt32(); - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: + { + pageSize_ = input.readInt32(); + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - pageToken_ = s; - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); + pageToken_ = s; + break; + } + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); - filter_ = s; - break; - } - case 42: { - java.lang.String s = input.readStringRequireUtf8(); + filter_ = s; + break; + } + case 42: + { + java.lang.String s = input.readStringRequireUtf8(); - orderBy_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + orderBy_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -99,34 +121,41 @@ private ListDatacenterConnectorsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ListDatacenterConnectorsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_ListDatacenterConnectorsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ListDatacenterConnectorsRequest_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_ListDatacenterConnectorsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.ListDatacenterConnectorsRequest.class, com.google.cloud.vmmigration.v1.ListDatacenterConnectorsRequest.Builder.class); + com.google.cloud.vmmigration.v1.ListDatacenterConnectorsRequest.class, + com.google.cloud.vmmigration.v1.ListDatacenterConnectorsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The parent, which owns this collection of connectors.
    * 
* - * 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 @@ -135,29 +164,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 parent, which owns this collection of connectors.
    * 
* - * 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 { @@ -168,6 +199,8 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** + * + * *
    * Optional. The maximum number of connectors to return. The service may
    * return fewer than this value. If unspecified, at most 500 sources will be
@@ -176,6 +209,7 @@ public java.lang.String getParent() {
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -186,6 +220,8 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** + * + * *
    * Required. A page token, received from a previous `ListDatacenterConnectors`
    * call. Provide this to retrieve the subsequent page.
@@ -195,6 +231,7 @@ public int getPageSize() {
    * 
* * string page_token = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The pageToken. */ @java.lang.Override @@ -203,14 +240,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; } } /** + * + * *
    * Required. A page token, received from a previous `ListDatacenterConnectors`
    * call. Provide this to retrieve the subsequent page.
@@ -220,16 +258,15 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @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 { @@ -240,11 +277,14 @@ public java.lang.String getPageToken() { public static final int FILTER_FIELD_NUMBER = 4; private volatile java.lang.Object filter_; /** + * + * *
    * Optional. The filter request.
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The filter. */ @java.lang.Override @@ -253,29 +293,29 @@ public java.lang.String getFilter() { 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(); filter_ = s; return s; } } /** + * + * *
    * Optional. The filter request.
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for filter. */ @java.lang.Override - public com.google.protobuf.ByteString - getFilterBytes() { + public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; 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); filter_ = b; return b; } else { @@ -286,11 +326,14 @@ public java.lang.String getFilter() { public static final int ORDER_BY_FIELD_NUMBER = 5; private volatile java.lang.Object orderBy_; /** + * + * *
    * Optional. the order by fields for the result.
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The orderBy. */ @java.lang.Override @@ -299,29 +342,29 @@ public java.lang.String getOrderBy() { 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(); orderBy_ = s; return s; } } /** + * + * *
    * Optional. the order by fields for the result.
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for orderBy. */ @java.lang.Override - public com.google.protobuf.ByteString - getOrderByBytes() { + public com.google.protobuf.ByteString getOrderByBytes() { java.lang.Object ref = orderBy_; 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); orderBy_ = b; return b; } else { @@ -330,6 +373,7 @@ public java.lang.String getOrderBy() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -341,8 +385,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_); } @@ -371,8 +414,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -391,23 +433,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.vmmigration.v1.ListDatacenterConnectorsRequest)) { return super.equals(obj); } - com.google.cloud.vmmigration.v1.ListDatacenterConnectorsRequest other = (com.google.cloud.vmmigration.v1.ListDatacenterConnectorsRequest) obj; - - if (!getParent() - .equals(other.getParent())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; - if (!getFilter() - .equals(other.getFilter())) return false; - if (!getOrderBy() - .equals(other.getOrderBy())) return false; + com.google.cloud.vmmigration.v1.ListDatacenterConnectorsRequest other = + (com.google.cloud.vmmigration.v1.ListDatacenterConnectorsRequest) obj; + + if (!getParent().equals(other.getParent())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; + if (!getFilter().equals(other.getFilter())) return false; + if (!getOrderBy().equals(other.getOrderBy())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -435,117 +473,127 @@ public int hashCode() { } public static com.google.cloud.vmmigration.v1.ListDatacenterConnectorsRequest 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.vmmigration.v1.ListDatacenterConnectorsRequest 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.vmmigration.v1.ListDatacenterConnectorsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.vmmigration.v1.ListDatacenterConnectorsRequest 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.vmmigration.v1.ListDatacenterConnectorsRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.vmmigration.v1.ListDatacenterConnectorsRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.vmmigration.v1.ListDatacenterConnectorsRequest 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.vmmigration.v1.ListDatacenterConnectorsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.vmmigration.v1.ListDatacenterConnectorsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.vmmigration.v1.ListDatacenterConnectorsRequest 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.vmmigration.v1.ListDatacenterConnectorsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.vmmigration.v1.ListDatacenterConnectorsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.vmmigration.v1.ListDatacenterConnectorsRequest 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.vmmigration.v1.ListDatacenterConnectorsRequest 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.vmmigration.v1.ListDatacenterConnectorsRequest 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.vmmigration.v1.ListDatacenterConnectorsRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.vmmigration.v1.ListDatacenterConnectorsRequest 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 message for 'ListDatacenterConnectors' request.
    * 
* * Protobuf type {@code google.cloud.vmmigration.v1.ListDatacenterConnectorsRequest} */ - 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.vmmigration.v1.ListDatacenterConnectorsRequest) com.google.cloud.vmmigration.v1.ListDatacenterConnectorsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ListDatacenterConnectorsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_ListDatacenterConnectorsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ListDatacenterConnectorsRequest_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_ListDatacenterConnectorsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.ListDatacenterConnectorsRequest.class, com.google.cloud.vmmigration.v1.ListDatacenterConnectorsRequest.Builder.class); + com.google.cloud.vmmigration.v1.ListDatacenterConnectorsRequest.class, + com.google.cloud.vmmigration.v1.ListDatacenterConnectorsRequest.Builder.class); } // Construct using com.google.cloud.vmmigration.v1.ListDatacenterConnectorsRequest.newBuilder() @@ -553,16 +601,15 @@ 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) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -580,13 +627,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ListDatacenterConnectorsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_ListDatacenterConnectorsRequest_descriptor; } @java.lang.Override - public com.google.cloud.vmmigration.v1.ListDatacenterConnectorsRequest getDefaultInstanceForType() { + public com.google.cloud.vmmigration.v1.ListDatacenterConnectorsRequest + getDefaultInstanceForType() { return com.google.cloud.vmmigration.v1.ListDatacenterConnectorsRequest.getDefaultInstance(); } @@ -601,7 +649,8 @@ public com.google.cloud.vmmigration.v1.ListDatacenterConnectorsRequest build() { @java.lang.Override public com.google.cloud.vmmigration.v1.ListDatacenterConnectorsRequest buildPartial() { - com.google.cloud.vmmigration.v1.ListDatacenterConnectorsRequest result = new com.google.cloud.vmmigration.v1.ListDatacenterConnectorsRequest(this); + com.google.cloud.vmmigration.v1.ListDatacenterConnectorsRequest result = + new com.google.cloud.vmmigration.v1.ListDatacenterConnectorsRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -615,46 +664,50 @@ public com.google.cloud.vmmigration.v1.ListDatacenterConnectorsRequest buildPart 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.vmmigration.v1.ListDatacenterConnectorsRequest) { - return mergeFrom((com.google.cloud.vmmigration.v1.ListDatacenterConnectorsRequest)other); + return mergeFrom((com.google.cloud.vmmigration.v1.ListDatacenterConnectorsRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.vmmigration.v1.ListDatacenterConnectorsRequest other) { - if (other == com.google.cloud.vmmigration.v1.ListDatacenterConnectorsRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.vmmigration.v1.ListDatacenterConnectorsRequest other) { + if (other + == com.google.cloud.vmmigration.v1.ListDatacenterConnectorsRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -693,7 +746,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.vmmigration.v1.ListDatacenterConnectorsRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.vmmigration.v1.ListDatacenterConnectorsRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -705,18 +760,22 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The parent, which owns this collection of connectors.
      * 
* - * 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; @@ -725,20 +784,23 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent, which owns this collection of connectors.
      * 
* - * 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 { @@ -746,61 +808,76 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent, which owns this collection of connectors.
      * 
* - * 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) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. The parent, which owns this collection of connectors.
      * 
* - * 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() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The parent, which owns this collection of connectors.
      * 
* - * 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) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * Optional. The maximum number of connectors to return. The service may
      * return fewer than this value. If unspecified, at most 500 sources will be
@@ -809,6 +886,7 @@ public Builder setParentBytes(
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -816,6 +894,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * Optional. The maximum number of connectors to return. The service may
      * return fewer than this value. If unspecified, at most 500 sources will be
@@ -824,16 +904,19 @@ public int getPageSize() {
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** + * + * *
      * Optional. The maximum number of connectors to return. The service may
      * return fewer than this value. If unspecified, at most 500 sources will be
@@ -842,10 +925,11 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -853,6 +937,8 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * Required. A page token, received from a previous `ListDatacenterConnectors`
      * call. Provide this to retrieve the subsequent page.
@@ -862,13 +948,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @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; @@ -877,6 +963,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Required. A page token, received from a previous `ListDatacenterConnectors`
      * call. Provide this to retrieve the subsequent page.
@@ -886,15 +974,14 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @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 { @@ -902,6 +989,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Required. A page token, received from a previous `ListDatacenterConnectors`
      * call. Provide this to retrieve the subsequent page.
@@ -911,20 +1000,22 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
      * Required. A page token, received from a previous `ListDatacenterConnectors`
      * call. Provide this to retrieve the subsequent page.
@@ -934,15 +1025,18 @@ public Builder setPageToken(
      * 
* * string page_token = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * Required. A page token, received from a previous `ListDatacenterConnectors`
      * call. Provide this to retrieve the subsequent page.
@@ -952,16 +1046,16 @@ public Builder clearPageToken() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; @@ -969,18 +1063,20 @@ public Builder setPageTokenBytes( private java.lang.Object filter_ = ""; /** + * + * *
      * Optional. The filter request.
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; 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(); filter_ = s; return s; @@ -989,20 +1085,21 @@ public java.lang.String getFilter() { } } /** + * + * *
      * Optional. The filter request.
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for filter. */ - public com.google.protobuf.ByteString - getFilterBytes() { + public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; 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); filter_ = b; return b; } else { @@ -1010,54 +1107,61 @@ public java.lang.String getFilter() { } } /** + * + * *
      * Optional. The filter request.
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter( - java.lang.String value) { + public Builder setFilter(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; onChanged(); return this; } /** + * + * *
      * Optional. The filter request.
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** + * + * *
      * Optional. The filter request.
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes( - com.google.protobuf.ByteString value) { + public Builder setFilterBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = value; onChanged(); return this; @@ -1065,18 +1169,20 @@ public Builder setFilterBytes( private java.lang.Object orderBy_ = ""; /** + * + * *
      * Optional. the order by fields for the result.
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The orderBy. */ public java.lang.String getOrderBy() { java.lang.Object ref = orderBy_; 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(); orderBy_ = s; return s; @@ -1085,20 +1191,21 @@ public java.lang.String getOrderBy() { } } /** + * + * *
      * Optional. the order by fields for the result.
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for orderBy. */ - public com.google.protobuf.ByteString - getOrderByBytes() { + public com.google.protobuf.ByteString getOrderByBytes() { java.lang.Object ref = orderBy_; 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); orderBy_ = b; return b; } else { @@ -1106,61 +1213,68 @@ public java.lang.String getOrderBy() { } } /** + * + * *
      * Optional. the order by fields for the result.
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The orderBy to set. * @return This builder for chaining. */ - public Builder setOrderBy( - java.lang.String value) { + public Builder setOrderBy(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + orderBy_ = value; onChanged(); return this; } /** + * + * *
      * Optional. the order by fields for the result.
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearOrderBy() { - + orderBy_ = getDefaultInstance().getOrderBy(); onChanged(); return this; } /** + * + * *
      * Optional. the order by fields for the result.
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for orderBy to set. * @return This builder for chaining. */ - public Builder setOrderByBytes( - com.google.protobuf.ByteString value) { + public Builder setOrderByBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + orderBy_ = 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); } @@ -1170,30 +1284,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.vmmigration.v1.ListDatacenterConnectorsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.vmmigration.v1.ListDatacenterConnectorsRequest) - private static final com.google.cloud.vmmigration.v1.ListDatacenterConnectorsRequest DEFAULT_INSTANCE; + private static final com.google.cloud.vmmigration.v1.ListDatacenterConnectorsRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.vmmigration.v1.ListDatacenterConnectorsRequest(); } - public static com.google.cloud.vmmigration.v1.ListDatacenterConnectorsRequest getDefaultInstance() { + public static com.google.cloud.vmmigration.v1.ListDatacenterConnectorsRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListDatacenterConnectorsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListDatacenterConnectorsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListDatacenterConnectorsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListDatacenterConnectorsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1205,9 +1321,8 @@ public com.google.protobuf.Parser getParserForT } @java.lang.Override - public com.google.cloud.vmmigration.v1.ListDatacenterConnectorsRequest getDefaultInstanceForType() { + public com.google.cloud.vmmigration.v1.ListDatacenterConnectorsRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListDatacenterConnectorsRequestOrBuilder.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListDatacenterConnectorsRequestOrBuilder.java similarity index 68% rename from owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListDatacenterConnectorsRequestOrBuilder.java rename to proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListDatacenterConnectorsRequestOrBuilder.java index e53b7ce..16864f8 100644 --- a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListDatacenterConnectorsRequestOrBuilder.java +++ b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListDatacenterConnectorsRequestOrBuilder.java @@ -1,33 +1,60 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; -public interface ListDatacenterConnectorsRequestOrBuilder extends +public interface ListDatacenterConnectorsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.ListDatacenterConnectorsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The parent, which owns this collection of connectors.
    * 
* - * 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 parent, which owns this collection of connectors.
    * 
* - * 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(); /** + * + * *
    * Optional. The maximum number of connectors to return. The service may
    * return fewer than this value. If unspecified, at most 500 sources will be
@@ -36,11 +63,14 @@ public interface ListDatacenterConnectorsRequestOrBuilder extends
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * Required. A page token, received from a previous `ListDatacenterConnectors`
    * call. Provide this to retrieve the subsequent page.
@@ -50,10 +80,13 @@ public interface ListDatacenterConnectorsRequestOrBuilder extends
    * 
* * string page_token = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * Required. A page token, received from a previous `ListDatacenterConnectors`
    * call. Provide this to retrieve the subsequent page.
@@ -63,48 +96,58 @@ public interface ListDatacenterConnectorsRequestOrBuilder extends
    * 
* * string page_token = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); /** + * + * *
    * Optional. The filter request.
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The filter. */ java.lang.String getFilter(); /** + * + * *
    * Optional. The filter request.
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for filter. */ - com.google.protobuf.ByteString - getFilterBytes(); + com.google.protobuf.ByteString getFilterBytes(); /** + * + * *
    * Optional. the order by fields for the result.
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The orderBy. */ java.lang.String getOrderBy(); /** + * + * *
    * Optional. the order by fields for the result.
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for orderBy. */ - com.google.protobuf.ByteString - getOrderByBytes(); + com.google.protobuf.ByteString getOrderByBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListDatacenterConnectorsResponse.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListDatacenterConnectorsResponse.java similarity index 66% rename from owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListDatacenterConnectorsResponse.java rename to proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListDatacenterConnectorsResponse.java index b4f241a..fff4c64 100644 --- a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListDatacenterConnectorsResponse.java +++ b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListDatacenterConnectorsResponse.java @@ -1,24 +1,43 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; /** + * + * *
  * Response message for 'ListDatacenterConnectors' request.
  * 
* * Protobuf type {@code google.cloud.vmmigration.v1.ListDatacenterConnectorsResponse} */ -public final class ListDatacenterConnectorsResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListDatacenterConnectorsResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.vmmigration.v1.ListDatacenterConnectorsResponse) ListDatacenterConnectorsResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListDatacenterConnectorsResponse.newBuilder() to construct. - private ListDatacenterConnectorsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ListDatacenterConnectorsResponse( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListDatacenterConnectorsResponse() { datacenterConnectors_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -27,16 +46,15 @@ private ListDatacenterConnectorsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListDatacenterConnectorsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListDatacenterConnectorsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -56,37 +74,43 @@ private ListDatacenterConnectorsResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - datacenterConnectors_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + datacenterConnectors_ = + new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + datacenterConnectors_.add( + input.readMessage( + com.google.cloud.vmmigration.v1.DatacenterConnector.parser(), + extensionRegistry)); + break; } - datacenterConnectors_.add( - input.readMessage(com.google.cloud.vmmigration.v1.DatacenterConnector.parser(), extensionRegistry)); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - unreachable_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000002; + nextPageToken_ = s; + break; } - unreachable_.add(s); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + unreachable_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000002; + } + unreachable_.add(s); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -94,8 +118,7 @@ private ListDatacenterConnectorsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { datacenterConnectors_ = java.util.Collections.unmodifiableList(datacenterConnectors_); @@ -107,88 +130,115 @@ private ListDatacenterConnectorsResponse( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ListDatacenterConnectorsResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_ListDatacenterConnectorsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ListDatacenterConnectorsResponse_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_ListDatacenterConnectorsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.ListDatacenterConnectorsResponse.class, com.google.cloud.vmmigration.v1.ListDatacenterConnectorsResponse.Builder.class); + com.google.cloud.vmmigration.v1.ListDatacenterConnectorsResponse.class, + com.google.cloud.vmmigration.v1.ListDatacenterConnectorsResponse.Builder.class); } public static final int DATACENTER_CONNECTORS_FIELD_NUMBER = 1; private java.util.List datacenterConnectors_; /** + * + * *
    * Output only. The list of sources response.
    * 
* - * repeated .google.cloud.vmmigration.v1.DatacenterConnector datacenter_connectors = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.DatacenterConnector datacenter_connectors = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public java.util.List getDatacenterConnectorsList() { + public java.util.List + getDatacenterConnectorsList() { return datacenterConnectors_; } /** + * + * *
    * Output only. The list of sources response.
    * 
* - * repeated .google.cloud.vmmigration.v1.DatacenterConnector datacenter_connectors = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.DatacenterConnector datacenter_connectors = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public java.util.List + public java.util.List getDatacenterConnectorsOrBuilderList() { return datacenterConnectors_; } /** + * + * *
    * Output only. The list of sources response.
    * 
* - * repeated .google.cloud.vmmigration.v1.DatacenterConnector datacenter_connectors = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.DatacenterConnector datacenter_connectors = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public int getDatacenterConnectorsCount() { return datacenterConnectors_.size(); } /** + * + * *
    * Output only. The list of sources response.
    * 
* - * repeated .google.cloud.vmmigration.v1.DatacenterConnector datacenter_connectors = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.DatacenterConnector datacenter_connectors = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.vmmigration.v1.DatacenterConnector getDatacenterConnectors(int index) { return datacenterConnectors_.get(index); } /** + * + * *
    * Output only. The list of sources response.
    * 
* - * repeated .google.cloud.vmmigration.v1.DatacenterConnector datacenter_connectors = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.DatacenterConnector datacenter_connectors = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public com.google.cloud.vmmigration.v1.DatacenterConnectorOrBuilder getDatacenterConnectorsOrBuilder( - int index) { + public com.google.cloud.vmmigration.v1.DatacenterConnectorOrBuilder + getDatacenterConnectorsOrBuilder(int index) { return datacenterConnectors_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** + * + * *
    * Output only. A token, which can be sent as `page_token` to retrieve the
    * next page. If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The nextPageToken. */ @java.lang.Override @@ -197,30 +247,30 @@ 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. A token, which can be sent as `page_token` to retrieve the
    * next page. If this field is omitted, there are no subsequent pages.
    * 
* * 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 { @@ -231,34 +281,42 @@ public java.lang.String getNextPageToken() { public static final int UNREACHABLE_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList unreachable_; /** + * + * *
    * Output only. Locations that could not be reached.
    * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return A list containing the unreachable. */ - public com.google.protobuf.ProtocolStringList - getUnreachableList() { + public com.google.protobuf.ProtocolStringList getUnreachableList() { return unreachable_; } /** + * + * *
    * Output only. Locations that could not be reached.
    * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** + * + * *
    * Output only. Locations that could not be reached.
    * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -266,20 +324,23 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** + * + * *
    * Output only. Locations that could not be reached.
    * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - public com.google.protobuf.ByteString - getUnreachableBytes(int index) { + public com.google.protobuf.ByteString getUnreachableBytes(int index) { return unreachable_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -291,8 +352,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 < datacenterConnectors_.size(); i++) { output.writeMessage(1, datacenterConnectors_.get(i)); } @@ -312,8 +372,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < datacenterConnectors_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, datacenterConnectors_.get(i)); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(1, datacenterConnectors_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -334,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.vmmigration.v1.ListDatacenterConnectorsResponse)) { return super.equals(obj); } - com.google.cloud.vmmigration.v1.ListDatacenterConnectorsResponse other = (com.google.cloud.vmmigration.v1.ListDatacenterConnectorsResponse) obj; + com.google.cloud.vmmigration.v1.ListDatacenterConnectorsResponse other = + (com.google.cloud.vmmigration.v1.ListDatacenterConnectorsResponse) obj; - if (!getDatacenterConnectorsList() - .equals(other.getDatacenterConnectorsList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; - if (!getUnreachableList() - .equals(other.getUnreachableList())) return false; + if (!getDatacenterConnectorsList().equals(other.getDatacenterConnectorsList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getUnreachableList().equals(other.getUnreachableList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -374,117 +432,127 @@ public int hashCode() { } public static com.google.cloud.vmmigration.v1.ListDatacenterConnectorsResponse 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.vmmigration.v1.ListDatacenterConnectorsResponse 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.vmmigration.v1.ListDatacenterConnectorsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.vmmigration.v1.ListDatacenterConnectorsResponse 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.vmmigration.v1.ListDatacenterConnectorsResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.vmmigration.v1.ListDatacenterConnectorsResponse parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.vmmigration.v1.ListDatacenterConnectorsResponse 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.vmmigration.v1.ListDatacenterConnectorsResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.vmmigration.v1.ListDatacenterConnectorsResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.vmmigration.v1.ListDatacenterConnectorsResponse 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.vmmigration.v1.ListDatacenterConnectorsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.vmmigration.v1.ListDatacenterConnectorsResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.vmmigration.v1.ListDatacenterConnectorsResponse 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.vmmigration.v1.ListDatacenterConnectorsResponse 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.vmmigration.v1.ListDatacenterConnectorsResponse 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.vmmigration.v1.ListDatacenterConnectorsResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.vmmigration.v1.ListDatacenterConnectorsResponse 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; } /** + * + * *
    * Response message for 'ListDatacenterConnectors' request.
    * 
* * Protobuf type {@code google.cloud.vmmigration.v1.ListDatacenterConnectorsResponse} */ - 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.vmmigration.v1.ListDatacenterConnectorsResponse) com.google.cloud.vmmigration.v1.ListDatacenterConnectorsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ListDatacenterConnectorsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_ListDatacenterConnectorsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ListDatacenterConnectorsResponse_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_ListDatacenterConnectorsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.ListDatacenterConnectorsResponse.class, com.google.cloud.vmmigration.v1.ListDatacenterConnectorsResponse.Builder.class); + com.google.cloud.vmmigration.v1.ListDatacenterConnectorsResponse.class, + com.google.cloud.vmmigration.v1.ListDatacenterConnectorsResponse.Builder.class); } // Construct using com.google.cloud.vmmigration.v1.ListDatacenterConnectorsResponse.newBuilder() @@ -492,17 +560,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) { getDatacenterConnectorsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -520,13 +588,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ListDatacenterConnectorsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_ListDatacenterConnectorsResponse_descriptor; } @java.lang.Override - public com.google.cloud.vmmigration.v1.ListDatacenterConnectorsResponse getDefaultInstanceForType() { + public com.google.cloud.vmmigration.v1.ListDatacenterConnectorsResponse + getDefaultInstanceForType() { return com.google.cloud.vmmigration.v1.ListDatacenterConnectorsResponse.getDefaultInstance(); } @@ -541,7 +610,8 @@ public com.google.cloud.vmmigration.v1.ListDatacenterConnectorsResponse build() @java.lang.Override public com.google.cloud.vmmigration.v1.ListDatacenterConnectorsResponse buildPartial() { - com.google.cloud.vmmigration.v1.ListDatacenterConnectorsResponse result = new com.google.cloud.vmmigration.v1.ListDatacenterConnectorsResponse(this); + com.google.cloud.vmmigration.v1.ListDatacenterConnectorsResponse result = + new com.google.cloud.vmmigration.v1.ListDatacenterConnectorsResponse(this); int from_bitField0_ = bitField0_; if (datacenterConnectorsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -566,46 +636,50 @@ public com.google.cloud.vmmigration.v1.ListDatacenterConnectorsResponse buildPar 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.vmmigration.v1.ListDatacenterConnectorsResponse) { - return mergeFrom((com.google.cloud.vmmigration.v1.ListDatacenterConnectorsResponse)other); + return mergeFrom((com.google.cloud.vmmigration.v1.ListDatacenterConnectorsResponse) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.vmmigration.v1.ListDatacenterConnectorsResponse other) { - if (other == com.google.cloud.vmmigration.v1.ListDatacenterConnectorsResponse.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.vmmigration.v1.ListDatacenterConnectorsResponse other) { + if (other + == com.google.cloud.vmmigration.v1.ListDatacenterConnectorsResponse.getDefaultInstance()) + return this; if (datacenterConnectorsBuilder_ == null) { if (!other.datacenterConnectors_.isEmpty()) { if (datacenterConnectors_.isEmpty()) { @@ -624,9 +698,10 @@ public Builder mergeFrom(com.google.cloud.vmmigration.v1.ListDatacenterConnector datacenterConnectorsBuilder_ = null; datacenterConnectors_ = other.datacenterConnectors_; bitField0_ = (bitField0_ & ~0x00000001); - datacenterConnectorsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getDatacenterConnectorsFieldBuilder() : null; + datacenterConnectorsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getDatacenterConnectorsFieldBuilder() + : null; } else { datacenterConnectorsBuilder_.addAllMessages(other.datacenterConnectors_); } @@ -665,7 +740,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.vmmigration.v1.ListDatacenterConnectorsResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.vmmigration.v1.ListDatacenterConnectorsResponse) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -674,28 +751,40 @@ public Builder mergeFrom( } return this; } + private int bitField0_; - private java.util.List datacenterConnectors_ = - java.util.Collections.emptyList(); + private java.util.List + datacenterConnectors_ = java.util.Collections.emptyList(); + private void ensureDatacenterConnectorsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - datacenterConnectors_ = new java.util.ArrayList(datacenterConnectors_); + datacenterConnectors_ = + new java.util.ArrayList( + datacenterConnectors_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.vmmigration.v1.DatacenterConnector, com.google.cloud.vmmigration.v1.DatacenterConnector.Builder, com.google.cloud.vmmigration.v1.DatacenterConnectorOrBuilder> datacenterConnectorsBuilder_; + com.google.cloud.vmmigration.v1.DatacenterConnector, + com.google.cloud.vmmigration.v1.DatacenterConnector.Builder, + com.google.cloud.vmmigration.v1.DatacenterConnectorOrBuilder> + datacenterConnectorsBuilder_; /** + * + * *
      * Output only. The list of sources response.
      * 
* - * repeated .google.cloud.vmmigration.v1.DatacenterConnector datacenter_connectors = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.DatacenterConnector datacenter_connectors = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public java.util.List getDatacenterConnectorsList() { + public java.util.List + getDatacenterConnectorsList() { if (datacenterConnectorsBuilder_ == null) { return java.util.Collections.unmodifiableList(datacenterConnectors_); } else { @@ -703,11 +792,15 @@ public java.util.List getDa } } /** + * + * *
      * Output only. The list of sources response.
      * 
* - * repeated .google.cloud.vmmigration.v1.DatacenterConnector datacenter_connectors = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.DatacenterConnector datacenter_connectors = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public int getDatacenterConnectorsCount() { if (datacenterConnectorsBuilder_ == null) { @@ -717,11 +810,15 @@ public int getDatacenterConnectorsCount() { } } /** + * + * *
      * Output only. The list of sources response.
      * 
* - * repeated .google.cloud.vmmigration.v1.DatacenterConnector datacenter_connectors = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.DatacenterConnector datacenter_connectors = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.vmmigration.v1.DatacenterConnector getDatacenterConnectors(int index) { if (datacenterConnectorsBuilder_ == null) { @@ -731,11 +828,15 @@ public com.google.cloud.vmmigration.v1.DatacenterConnector getDatacenterConnecto } } /** + * + * *
      * Output only. The list of sources response.
      * 
* - * repeated .google.cloud.vmmigration.v1.DatacenterConnector datacenter_connectors = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.DatacenterConnector datacenter_connectors = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setDatacenterConnectors( int index, com.google.cloud.vmmigration.v1.DatacenterConnector value) { @@ -752,11 +853,15 @@ public Builder setDatacenterConnectors( return this; } /** + * + * *
      * Output only. The list of sources response.
      * 
* - * repeated .google.cloud.vmmigration.v1.DatacenterConnector datacenter_connectors = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.DatacenterConnector datacenter_connectors = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setDatacenterConnectors( int index, com.google.cloud.vmmigration.v1.DatacenterConnector.Builder builderForValue) { @@ -770,13 +875,18 @@ public Builder setDatacenterConnectors( return this; } /** + * + * *
      * Output only. The list of sources response.
      * 
* - * repeated .google.cloud.vmmigration.v1.DatacenterConnector datacenter_connectors = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.DatacenterConnector datacenter_connectors = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder addDatacenterConnectors(com.google.cloud.vmmigration.v1.DatacenterConnector value) { + public Builder addDatacenterConnectors( + com.google.cloud.vmmigration.v1.DatacenterConnector value) { if (datacenterConnectorsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -790,11 +900,15 @@ public Builder addDatacenterConnectors(com.google.cloud.vmmigration.v1.Datacente return this; } /** + * + * *
      * Output only. The list of sources response.
      * 
* - * repeated .google.cloud.vmmigration.v1.DatacenterConnector datacenter_connectors = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.DatacenterConnector datacenter_connectors = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addDatacenterConnectors( int index, com.google.cloud.vmmigration.v1.DatacenterConnector value) { @@ -811,11 +925,15 @@ public Builder addDatacenterConnectors( return this; } /** + * + * *
      * Output only. The list of sources response.
      * 
* - * repeated .google.cloud.vmmigration.v1.DatacenterConnector datacenter_connectors = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.DatacenterConnector datacenter_connectors = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addDatacenterConnectors( com.google.cloud.vmmigration.v1.DatacenterConnector.Builder builderForValue) { @@ -829,11 +947,15 @@ public Builder addDatacenterConnectors( return this; } /** + * + * *
      * Output only. The list of sources response.
      * 
* - * repeated .google.cloud.vmmigration.v1.DatacenterConnector datacenter_connectors = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.DatacenterConnector datacenter_connectors = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addDatacenterConnectors( int index, com.google.cloud.vmmigration.v1.DatacenterConnector.Builder builderForValue) { @@ -847,18 +969,21 @@ public Builder addDatacenterConnectors( return this; } /** + * + * *
      * Output only. The list of sources response.
      * 
* - * repeated .google.cloud.vmmigration.v1.DatacenterConnector datacenter_connectors = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.DatacenterConnector datacenter_connectors = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addAllDatacenterConnectors( java.lang.Iterable values) { if (datacenterConnectorsBuilder_ == null) { ensureDatacenterConnectorsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, datacenterConnectors_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, datacenterConnectors_); onChanged(); } else { datacenterConnectorsBuilder_.addAllMessages(values); @@ -866,11 +991,15 @@ public Builder addAllDatacenterConnectors( return this; } /** + * + * *
      * Output only. The list of sources response.
      * 
* - * repeated .google.cloud.vmmigration.v1.DatacenterConnector datacenter_connectors = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.DatacenterConnector datacenter_connectors = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearDatacenterConnectors() { if (datacenterConnectorsBuilder_ == null) { @@ -883,11 +1012,15 @@ public Builder clearDatacenterConnectors() { return this; } /** + * + * *
      * Output only. The list of sources response.
      * 
* - * repeated .google.cloud.vmmigration.v1.DatacenterConnector datacenter_connectors = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.DatacenterConnector datacenter_connectors = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder removeDatacenterConnectors(int index) { if (datacenterConnectorsBuilder_ == null) { @@ -900,39 +1033,52 @@ public Builder removeDatacenterConnectors(int index) { return this; } /** + * + * *
      * Output only. The list of sources response.
      * 
* - * repeated .google.cloud.vmmigration.v1.DatacenterConnector datacenter_connectors = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.DatacenterConnector datacenter_connectors = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.vmmigration.v1.DatacenterConnector.Builder getDatacenterConnectorsBuilder( - int index) { + public com.google.cloud.vmmigration.v1.DatacenterConnector.Builder + getDatacenterConnectorsBuilder(int index) { return getDatacenterConnectorsFieldBuilder().getBuilder(index); } /** + * + * *
      * Output only. The list of sources response.
      * 
* - * repeated .google.cloud.vmmigration.v1.DatacenterConnector datacenter_connectors = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.DatacenterConnector datacenter_connectors = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.vmmigration.v1.DatacenterConnectorOrBuilder getDatacenterConnectorsOrBuilder( - int index) { + public com.google.cloud.vmmigration.v1.DatacenterConnectorOrBuilder + getDatacenterConnectorsOrBuilder(int index) { if (datacenterConnectorsBuilder_ == null) { - return datacenterConnectors_.get(index); } else { + return datacenterConnectors_.get(index); + } else { return datacenterConnectorsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Output only. The list of sources response.
      * 
* - * repeated .google.cloud.vmmigration.v1.DatacenterConnector datacenter_connectors = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.DatacenterConnector datacenter_connectors = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public java.util.List - getDatacenterConnectorsOrBuilderList() { + public java.util.List + getDatacenterConnectorsOrBuilderList() { if (datacenterConnectorsBuilder_ != null) { return datacenterConnectorsBuilder_.getMessageOrBuilderList(); } else { @@ -940,45 +1086,65 @@ public com.google.cloud.vmmigration.v1.DatacenterConnectorOrBuilder getDatacente } } /** + * + * *
      * Output only. The list of sources response.
      * 
* - * repeated .google.cloud.vmmigration.v1.DatacenterConnector datacenter_connectors = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.DatacenterConnector datacenter_connectors = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.vmmigration.v1.DatacenterConnector.Builder addDatacenterConnectorsBuilder() { - return getDatacenterConnectorsFieldBuilder().addBuilder( - com.google.cloud.vmmigration.v1.DatacenterConnector.getDefaultInstance()); + public com.google.cloud.vmmigration.v1.DatacenterConnector.Builder + addDatacenterConnectorsBuilder() { + return getDatacenterConnectorsFieldBuilder() + .addBuilder(com.google.cloud.vmmigration.v1.DatacenterConnector.getDefaultInstance()); } /** + * + * *
      * Output only. The list of sources response.
      * 
* - * repeated .google.cloud.vmmigration.v1.DatacenterConnector datacenter_connectors = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.DatacenterConnector datacenter_connectors = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.vmmigration.v1.DatacenterConnector.Builder addDatacenterConnectorsBuilder( - int index) { - return getDatacenterConnectorsFieldBuilder().addBuilder( - index, com.google.cloud.vmmigration.v1.DatacenterConnector.getDefaultInstance()); + public com.google.cloud.vmmigration.v1.DatacenterConnector.Builder + addDatacenterConnectorsBuilder(int index) { + return getDatacenterConnectorsFieldBuilder() + .addBuilder( + index, com.google.cloud.vmmigration.v1.DatacenterConnector.getDefaultInstance()); } /** + * + * *
      * Output only. The list of sources response.
      * 
* - * repeated .google.cloud.vmmigration.v1.DatacenterConnector datacenter_connectors = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.DatacenterConnector datacenter_connectors = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public java.util.List - getDatacenterConnectorsBuilderList() { + public java.util.List + getDatacenterConnectorsBuilderList() { return getDatacenterConnectorsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.vmmigration.v1.DatacenterConnector, com.google.cloud.vmmigration.v1.DatacenterConnector.Builder, com.google.cloud.vmmigration.v1.DatacenterConnectorOrBuilder> + com.google.cloud.vmmigration.v1.DatacenterConnector, + com.google.cloud.vmmigration.v1.DatacenterConnector.Builder, + com.google.cloud.vmmigration.v1.DatacenterConnectorOrBuilder> getDatacenterConnectorsFieldBuilder() { if (datacenterConnectorsBuilder_ == null) { - datacenterConnectorsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.vmmigration.v1.DatacenterConnector, com.google.cloud.vmmigration.v1.DatacenterConnector.Builder, com.google.cloud.vmmigration.v1.DatacenterConnectorOrBuilder>( + datacenterConnectorsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.vmmigration.v1.DatacenterConnector, + com.google.cloud.vmmigration.v1.DatacenterConnector.Builder, + com.google.cloud.vmmigration.v1.DatacenterConnectorOrBuilder>( datacenterConnectors_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -990,19 +1156,21 @@ public com.google.cloud.vmmigration.v1.DatacenterConnector.Builder addDatacenter private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * Output only. A token, which can be sent as `page_token` to retrieve the
      * next page. If this field is omitted, there are no subsequent pages.
      * 
* * 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; @@ -1011,21 +1179,22 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * Output only. A token, which can be sent as `page_token` to retrieve the
      * next page. If this field is omitted, there are no subsequent pages.
      * 
* * 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 { @@ -1033,98 +1202,115 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * Output only. A token, which can be sent as `page_token` to retrieve the
      * next page. If this field is omitted, there are no subsequent pages.
      * 
* * 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) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** + * + * *
      * Output only. A token, which can be sent as `page_token` to retrieve the
      * next page. If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** + * + * *
      * Output only. A token, which can be sent as `page_token` to retrieve the
      * next page. If this field is omitted, there are no subsequent pages.
      * 
* * 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) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList unreachable_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList unreachable_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureUnreachableIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { unreachable_ = new com.google.protobuf.LazyStringArrayList(unreachable_); bitField0_ |= 0x00000002; - } + } } /** + * + * *
      * Output only. Locations that could not be reached.
      * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return A list containing the unreachable. */ - public com.google.protobuf.ProtocolStringList - getUnreachableList() { + public com.google.protobuf.ProtocolStringList getUnreachableList() { return unreachable_.getUnmodifiableView(); } /** + * + * *
      * Output only. Locations that could not be reached.
      * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** + * + * *
      * Output only. Locations that could not be reached.
      * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -1132,80 +1318,90 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** + * + * *
      * Output only. Locations that could not be reached.
      * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - public com.google.protobuf.ByteString - getUnreachableBytes(int index) { + public com.google.protobuf.ByteString getUnreachableBytes(int index) { return unreachable_.getByteString(index); } /** + * + * *
      * Output only. Locations that could not be reached.
      * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param index The index to set the value at. * @param value The unreachable to set. * @return This builder for chaining. */ - public Builder setUnreachable( - int index, java.lang.String value) { + public Builder setUnreachable(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUnreachableIsMutable(); + throw new NullPointerException(); + } + ensureUnreachableIsMutable(); unreachable_.set(index, value); onChanged(); return this; } /** + * + * *
      * Output only. Locations that could not be reached.
      * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The unreachable to add. * @return This builder for chaining. */ - public Builder addUnreachable( - java.lang.String value) { + public Builder addUnreachable(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUnreachableIsMutable(); + throw new NullPointerException(); + } + ensureUnreachableIsMutable(); unreachable_.add(value); onChanged(); return this; } /** + * + * *
      * Output only. Locations that could not be reached.
      * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param values The unreachable to add. * @return This builder for chaining. */ - public Builder addAllUnreachable( - java.lang.Iterable values) { + public Builder addAllUnreachable(java.lang.Iterable values) { ensureUnreachableIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, unreachable_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, unreachable_); onChanged(); return this; } /** + * + * *
      * Output only. Locations that could not be reached.
      * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearUnreachable() { @@ -1215,28 +1411,30 @@ public Builder clearUnreachable() { return this; } /** + * + * *
      * Output only. Locations that could not be reached.
      * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes of the unreachable to add. * @return This builder for chaining. */ - public Builder addUnreachableBytes( - com.google.protobuf.ByteString value) { + public Builder addUnreachableBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureUnreachableIsMutable(); unreachable_.add(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); } @@ -1246,30 +1444,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.vmmigration.v1.ListDatacenterConnectorsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.vmmigration.v1.ListDatacenterConnectorsResponse) - private static final com.google.cloud.vmmigration.v1.ListDatacenterConnectorsResponse DEFAULT_INSTANCE; + private static final com.google.cloud.vmmigration.v1.ListDatacenterConnectorsResponse + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.vmmigration.v1.ListDatacenterConnectorsResponse(); } - public static com.google.cloud.vmmigration.v1.ListDatacenterConnectorsResponse getDefaultInstance() { + public static com.google.cloud.vmmigration.v1.ListDatacenterConnectorsResponse + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListDatacenterConnectorsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListDatacenterConnectorsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListDatacenterConnectorsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListDatacenterConnectorsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1281,9 +1481,8 @@ public com.google.protobuf.Parser getParserFor } @java.lang.Override - public com.google.cloud.vmmigration.v1.ListDatacenterConnectorsResponse getDefaultInstanceForType() { + public com.google.cloud.vmmigration.v1.ListDatacenterConnectorsResponse + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListDatacenterConnectorsResponseOrBuilder.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListDatacenterConnectorsResponseOrBuilder.java similarity index 61% rename from owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListDatacenterConnectorsResponseOrBuilder.java rename to proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListDatacenterConnectorsResponseOrBuilder.java index d2e744e..8dae398 100644 --- a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListDatacenterConnectorsResponseOrBuilder.java +++ b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListDatacenterConnectorsResponseOrBuilder.java @@ -1,116 +1,166 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; -public interface ListDatacenterConnectorsResponseOrBuilder extends +public interface ListDatacenterConnectorsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.ListDatacenterConnectorsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. The list of sources response.
    * 
* - * repeated .google.cloud.vmmigration.v1.DatacenterConnector datacenter_connectors = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.DatacenterConnector datacenter_connectors = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - java.util.List - getDatacenterConnectorsList(); + java.util.List getDatacenterConnectorsList(); /** + * + * *
    * Output only. The list of sources response.
    * 
* - * repeated .google.cloud.vmmigration.v1.DatacenterConnector datacenter_connectors = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.DatacenterConnector datacenter_connectors = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.cloud.vmmigration.v1.DatacenterConnector getDatacenterConnectors(int index); /** + * + * *
    * Output only. The list of sources response.
    * 
* - * repeated .google.cloud.vmmigration.v1.DatacenterConnector datacenter_connectors = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.DatacenterConnector datacenter_connectors = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ int getDatacenterConnectorsCount(); /** + * + * *
    * Output only. The list of sources response.
    * 
* - * repeated .google.cloud.vmmigration.v1.DatacenterConnector datacenter_connectors = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.DatacenterConnector datacenter_connectors = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - java.util.List + java.util.List getDatacenterConnectorsOrBuilderList(); /** + * + * *
    * Output only. The list of sources response.
    * 
* - * repeated .google.cloud.vmmigration.v1.DatacenterConnector datacenter_connectors = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.DatacenterConnector datacenter_connectors = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.cloud.vmmigration.v1.DatacenterConnectorOrBuilder getDatacenterConnectorsOrBuilder( int index); /** + * + * *
    * Output only. A token, which can be sent as `page_token` to retrieve the
    * next page. If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * Output only. A token, which can be sent as `page_token` to retrieve the
    * next page. If this field is omitted, there are no subsequent pages.
    * 
* * 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(); /** + * + * *
    * Output only. Locations that could not be reached.
    * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return A list containing the unreachable. */ - java.util.List - getUnreachableList(); + java.util.List getUnreachableList(); /** + * + * *
    * Output only. Locations that could not be reached.
    * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The count of unreachable. */ int getUnreachableCount(); /** + * + * *
    * Output only. Locations that could not be reached.
    * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param index The index of the element to return. * @return The unreachable at the given index. */ java.lang.String getUnreachable(int index); /** + * + * *
    * Output only. Locations that could not be reached.
    * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - com.google.protobuf.ByteString - getUnreachableBytes(int index); + com.google.protobuf.ByteString getUnreachableBytes(int index); } diff --git a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListGroupsRequest.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListGroupsRequest.java similarity index 71% rename from owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListGroupsRequest.java rename to proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListGroupsRequest.java index b634aab..e683e9d 100644 --- a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListGroupsRequest.java +++ b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListGroupsRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; /** + * + * *
  * Request message for 'ListGroups' request.
  * 
* * Protobuf type {@code google.cloud.vmmigration.v1.ListGroupsRequest} */ -public final class ListGroupsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListGroupsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.vmmigration.v1.ListGroupsRequest) ListGroupsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListGroupsRequest.newBuilder() to construct. private ListGroupsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListGroupsRequest() { parent_ = ""; pageToken_ = ""; @@ -28,16 +46,15 @@ private ListGroupsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListGroupsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListGroupsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -56,42 +73,46 @@ private ListGroupsRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - parent_ = s; - break; - } - case 16: { + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - pageSize_ = input.readInt32(); - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: + { + pageSize_ = input.readInt32(); + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - pageToken_ = s; - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); + pageToken_ = s; + break; + } + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); - filter_ = s; - break; - } - case 42: { - java.lang.String s = input.readStringRequireUtf8(); + filter_ = s; + break; + } + case 42: + { + java.lang.String s = input.readStringRequireUtf8(); - orderBy_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + orderBy_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -99,34 +120,41 @@ private ListGroupsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ListGroupsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_ListGroupsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ListGroupsRequest_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_ListGroupsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.ListGroupsRequest.class, com.google.cloud.vmmigration.v1.ListGroupsRequest.Builder.class); + com.google.cloud.vmmigration.v1.ListGroupsRequest.class, + com.google.cloud.vmmigration.v1.ListGroupsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The parent, which owns this collection of groups.
    * 
* - * 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 @@ -135,29 +163,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 parent, which owns this collection of groups.
    * 
* - * 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 { @@ -168,6 +198,8 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** + * + * *
    * Optional. The maximum number of groups to return. The service may return
    * fewer than this value. If unspecified, at most 500 groups will be
@@ -176,6 +208,7 @@ public java.lang.String getParent() {
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -186,6 +219,8 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** + * + * *
    * Required. A page token, received from a previous `ListGroups` call.
    * Provide this to retrieve the subsequent page.
@@ -194,6 +229,7 @@ public int getPageSize() {
    * 
* * string page_token = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The pageToken. */ @java.lang.Override @@ -202,14 +238,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; } } /** + * + * *
    * Required. A page token, received from a previous `ListGroups` call.
    * Provide this to retrieve the subsequent page.
@@ -218,16 +255,15 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @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 { @@ -238,11 +274,14 @@ public java.lang.String getPageToken() { public static final int FILTER_FIELD_NUMBER = 4; private volatile java.lang.Object filter_; /** + * + * *
    * Optional. The filter request.
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The filter. */ @java.lang.Override @@ -251,29 +290,29 @@ public java.lang.String getFilter() { 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(); filter_ = s; return s; } } /** + * + * *
    * Optional. The filter request.
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for filter. */ @java.lang.Override - public com.google.protobuf.ByteString - getFilterBytes() { + public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; 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); filter_ = b; return b; } else { @@ -284,11 +323,14 @@ public java.lang.String getFilter() { public static final int ORDER_BY_FIELD_NUMBER = 5; private volatile java.lang.Object orderBy_; /** + * + * *
    * Optional. the order by fields for the result.
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The orderBy. */ @java.lang.Override @@ -297,29 +339,29 @@ public java.lang.String getOrderBy() { 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(); orderBy_ = s; return s; } } /** + * + * *
    * Optional. the order by fields for the result.
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for orderBy. */ @java.lang.Override - public com.google.protobuf.ByteString - getOrderByBytes() { + public com.google.protobuf.ByteString getOrderByBytes() { java.lang.Object ref = orderBy_; 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); orderBy_ = b; return b; } else { @@ -328,6 +370,7 @@ public java.lang.String getOrderBy() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -339,8 +382,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_); } @@ -369,8 +411,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -389,23 +430,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.vmmigration.v1.ListGroupsRequest)) { return super.equals(obj); } - com.google.cloud.vmmigration.v1.ListGroupsRequest other = (com.google.cloud.vmmigration.v1.ListGroupsRequest) obj; - - if (!getParent() - .equals(other.getParent())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; - if (!getFilter() - .equals(other.getFilter())) return false; - if (!getOrderBy() - .equals(other.getOrderBy())) return false; + com.google.cloud.vmmigration.v1.ListGroupsRequest other = + (com.google.cloud.vmmigration.v1.ListGroupsRequest) obj; + + if (!getParent().equals(other.getParent())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; + if (!getFilter().equals(other.getFilter())) return false; + if (!getOrderBy().equals(other.getOrderBy())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -433,117 +470,126 @@ public int hashCode() { } public static com.google.cloud.vmmigration.v1.ListGroupsRequest 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.vmmigration.v1.ListGroupsRequest 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.vmmigration.v1.ListGroupsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.vmmigration.v1.ListGroupsRequest 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.vmmigration.v1.ListGroupsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.vmmigration.v1.ListGroupsRequest 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.vmmigration.v1.ListGroupsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.vmmigration.v1.ListGroupsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.vmmigration.v1.ListGroupsRequest 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.vmmigration.v1.ListGroupsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.vmmigration.v1.ListGroupsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.vmmigration.v1.ListGroupsRequest 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.vmmigration.v1.ListGroupsRequest 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.vmmigration.v1.ListGroupsRequest 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.vmmigration.v1.ListGroupsRequest 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 message for 'ListGroups' request.
    * 
* * Protobuf type {@code google.cloud.vmmigration.v1.ListGroupsRequest} */ - 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.vmmigration.v1.ListGroupsRequest) com.google.cloud.vmmigration.v1.ListGroupsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ListGroupsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_ListGroupsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ListGroupsRequest_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_ListGroupsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.ListGroupsRequest.class, com.google.cloud.vmmigration.v1.ListGroupsRequest.Builder.class); + com.google.cloud.vmmigration.v1.ListGroupsRequest.class, + com.google.cloud.vmmigration.v1.ListGroupsRequest.Builder.class); } // Construct using com.google.cloud.vmmigration.v1.ListGroupsRequest.newBuilder() @@ -551,16 +597,15 @@ 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) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -578,9 +623,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ListGroupsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_ListGroupsRequest_descriptor; } @java.lang.Override @@ -599,7 +644,8 @@ public com.google.cloud.vmmigration.v1.ListGroupsRequest build() { @java.lang.Override public com.google.cloud.vmmigration.v1.ListGroupsRequest buildPartial() { - com.google.cloud.vmmigration.v1.ListGroupsRequest result = new com.google.cloud.vmmigration.v1.ListGroupsRequest(this); + com.google.cloud.vmmigration.v1.ListGroupsRequest result = + new com.google.cloud.vmmigration.v1.ListGroupsRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -613,38 +659,39 @@ public com.google.cloud.vmmigration.v1.ListGroupsRequest buildPartial() { 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.vmmigration.v1.ListGroupsRequest) { - return mergeFrom((com.google.cloud.vmmigration.v1.ListGroupsRequest)other); + return mergeFrom((com.google.cloud.vmmigration.v1.ListGroupsRequest) other); } else { super.mergeFrom(other); return this; @@ -652,7 +699,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.vmmigration.v1.ListGroupsRequest other) { - if (other == com.google.cloud.vmmigration.v1.ListGroupsRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.vmmigration.v1.ListGroupsRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -691,7 +739,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.vmmigration.v1.ListGroupsRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.vmmigration.v1.ListGroupsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -703,18 +752,22 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The parent, which owns this collection of groups.
      * 
* - * 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; @@ -723,20 +776,23 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent, which owns this collection of groups.
      * 
* - * 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 { @@ -744,61 +800,76 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent, which owns this collection of groups.
      * 
* - * 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) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. The parent, which owns this collection of groups.
      * 
* - * 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() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The parent, which owns this collection of groups.
      * 
* - * 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) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * Optional. The maximum number of groups to return. The service may return
      * fewer than this value. If unspecified, at most 500 groups will be
@@ -807,6 +878,7 @@ public Builder setParentBytes(
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -814,6 +886,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * Optional. The maximum number of groups to return. The service may return
      * fewer than this value. If unspecified, at most 500 groups will be
@@ -822,16 +896,19 @@ public int getPageSize() {
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** + * + * *
      * Optional. The maximum number of groups to return. The service may return
      * fewer than this value. If unspecified, at most 500 groups will be
@@ -840,10 +917,11 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -851,6 +929,8 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * Required. A page token, received from a previous `ListGroups` call.
      * Provide this to retrieve the subsequent page.
@@ -859,13 +939,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @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; @@ -874,6 +954,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Required. A page token, received from a previous `ListGroups` call.
      * Provide this to retrieve the subsequent page.
@@ -882,15 +964,14 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @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 { @@ -898,6 +979,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Required. A page token, received from a previous `ListGroups` call.
      * Provide this to retrieve the subsequent page.
@@ -906,20 +989,22 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
      * Required. A page token, received from a previous `ListGroups` call.
      * Provide this to retrieve the subsequent page.
@@ -928,15 +1013,18 @@ public Builder setPageToken(
      * 
* * string page_token = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * Required. A page token, received from a previous `ListGroups` call.
      * Provide this to retrieve the subsequent page.
@@ -945,16 +1033,16 @@ public Builder clearPageToken() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; @@ -962,18 +1050,20 @@ public Builder setPageTokenBytes( private java.lang.Object filter_ = ""; /** + * + * *
      * Optional. The filter request.
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; 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(); filter_ = s; return s; @@ -982,20 +1072,21 @@ public java.lang.String getFilter() { } } /** + * + * *
      * Optional. The filter request.
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for filter. */ - public com.google.protobuf.ByteString - getFilterBytes() { + public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; 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); filter_ = b; return b; } else { @@ -1003,54 +1094,61 @@ public java.lang.String getFilter() { } } /** + * + * *
      * Optional. The filter request.
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter( - java.lang.String value) { + public Builder setFilter(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; onChanged(); return this; } /** + * + * *
      * Optional. The filter request.
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** + * + * *
      * Optional. The filter request.
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes( - com.google.protobuf.ByteString value) { + public Builder setFilterBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = value; onChanged(); return this; @@ -1058,18 +1156,20 @@ public Builder setFilterBytes( private java.lang.Object orderBy_ = ""; /** + * + * *
      * Optional. the order by fields for the result.
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The orderBy. */ public java.lang.String getOrderBy() { java.lang.Object ref = orderBy_; 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(); orderBy_ = s; return s; @@ -1078,20 +1178,21 @@ public java.lang.String getOrderBy() { } } /** + * + * *
      * Optional. the order by fields for the result.
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for orderBy. */ - public com.google.protobuf.ByteString - getOrderByBytes() { + public com.google.protobuf.ByteString getOrderByBytes() { java.lang.Object ref = orderBy_; 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); orderBy_ = b; return b; } else { @@ -1099,61 +1200,68 @@ public java.lang.String getOrderBy() { } } /** + * + * *
      * Optional. the order by fields for the result.
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The orderBy to set. * @return This builder for chaining. */ - public Builder setOrderBy( - java.lang.String value) { + public Builder setOrderBy(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + orderBy_ = value; onChanged(); return this; } /** + * + * *
      * Optional. the order by fields for the result.
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearOrderBy() { - + orderBy_ = getDefaultInstance().getOrderBy(); onChanged(); return this; } /** + * + * *
      * Optional. the order by fields for the result.
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for orderBy to set. * @return This builder for chaining. */ - public Builder setOrderByBytes( - com.google.protobuf.ByteString value) { + public Builder setOrderByBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + orderBy_ = 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); } @@ -1163,12 +1271,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.vmmigration.v1.ListGroupsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.vmmigration.v1.ListGroupsRequest) private static final com.google.cloud.vmmigration.v1.ListGroupsRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.vmmigration.v1.ListGroupsRequest(); } @@ -1177,16 +1285,16 @@ public static com.google.cloud.vmmigration.v1.ListGroupsRequest getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListGroupsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListGroupsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListGroupsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListGroupsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1201,6 +1309,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.vmmigration.v1.ListGroupsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListGroupsRequestOrBuilder.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListGroupsRequestOrBuilder.java similarity index 68% rename from owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListGroupsRequestOrBuilder.java rename to proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListGroupsRequestOrBuilder.java index 51c7c30..25880d8 100644 --- a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListGroupsRequestOrBuilder.java +++ b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListGroupsRequestOrBuilder.java @@ -1,33 +1,60 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; -public interface ListGroupsRequestOrBuilder extends +public interface ListGroupsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.ListGroupsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The parent, which owns this collection of groups.
    * 
* - * 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 parent, which owns this collection of groups.
    * 
* - * 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(); /** + * + * *
    * Optional. The maximum number of groups to return. The service may return
    * fewer than this value. If unspecified, at most 500 groups will be
@@ -36,11 +63,14 @@ public interface ListGroupsRequestOrBuilder extends
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * Required. A page token, received from a previous `ListGroups` call.
    * Provide this to retrieve the subsequent page.
@@ -49,10 +79,13 @@ public interface ListGroupsRequestOrBuilder extends
    * 
* * string page_token = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * Required. A page token, received from a previous `ListGroups` call.
    * Provide this to retrieve the subsequent page.
@@ -61,48 +94,58 @@ public interface ListGroupsRequestOrBuilder extends
    * 
* * string page_token = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); /** + * + * *
    * Optional. The filter request.
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The filter. */ java.lang.String getFilter(); /** + * + * *
    * Optional. The filter request.
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for filter. */ - com.google.protobuf.ByteString - getFilterBytes(); + com.google.protobuf.ByteString getFilterBytes(); /** + * + * *
    * Optional. the order by fields for the result.
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The orderBy. */ java.lang.String getOrderBy(); /** + * + * *
    * Optional. the order by fields for the result.
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for orderBy. */ - com.google.protobuf.ByteString - getOrderByBytes(); + com.google.protobuf.ByteString getOrderByBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListGroupsResponse.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListGroupsResponse.java similarity index 68% rename from owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListGroupsResponse.java rename to proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListGroupsResponse.java index f092360..12fdf61 100644 --- a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListGroupsResponse.java +++ b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListGroupsResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; /** + * + * *
  * Response message for 'ListGroups' request.
  * 
* * Protobuf type {@code google.cloud.vmmigration.v1.ListGroupsResponse} */ -public final class ListGroupsResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListGroupsResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.vmmigration.v1.ListGroupsResponse) ListGroupsResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListGroupsResponse.newBuilder() to construct. private ListGroupsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListGroupsResponse() { groups_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -27,16 +45,15 @@ private ListGroupsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListGroupsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListGroupsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -56,37 +73,41 @@ private ListGroupsResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - groups_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + groups_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + groups_.add( + input.readMessage( + com.google.cloud.vmmigration.v1.Group.parser(), extensionRegistry)); + break; } - groups_.add( - input.readMessage(com.google.cloud.vmmigration.v1.Group.parser(), extensionRegistry)); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - unreachable_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000002; + nextPageToken_ = s; + break; } - unreachable_.add(s); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + unreachable_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000002; + } + unreachable_.add(s); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -94,8 +115,7 @@ private ListGroupsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { groups_ = java.util.Collections.unmodifiableList(groups_); @@ -107,88 +127,113 @@ private ListGroupsResponse( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ListGroupsResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_ListGroupsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ListGroupsResponse_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_ListGroupsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.ListGroupsResponse.class, com.google.cloud.vmmigration.v1.ListGroupsResponse.Builder.class); + com.google.cloud.vmmigration.v1.ListGroupsResponse.class, + com.google.cloud.vmmigration.v1.ListGroupsResponse.Builder.class); } public static final int GROUPS_FIELD_NUMBER = 1; private java.util.List groups_; /** + * + * *
    * Output only. The list of groups response.
    * 
* - * repeated .google.cloud.vmmigration.v1.Group groups = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.Group groups = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public java.util.List getGroupsList() { return groups_; } /** + * + * *
    * Output only. The list of groups response.
    * 
* - * repeated .google.cloud.vmmigration.v1.Group groups = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.Group groups = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public java.util.List + public java.util.List getGroupsOrBuilderList() { return groups_; } /** + * + * *
    * Output only. The list of groups response.
    * 
* - * repeated .google.cloud.vmmigration.v1.Group groups = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.Group groups = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public int getGroupsCount() { return groups_.size(); } /** + * + * *
    * Output only. The list of groups response.
    * 
* - * repeated .google.cloud.vmmigration.v1.Group groups = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.Group groups = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.vmmigration.v1.Group getGroups(int index) { return groups_.get(index); } /** + * + * *
    * Output only. The list of groups response.
    * 
* - * repeated .google.cloud.vmmigration.v1.Group groups = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.Group groups = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public com.google.cloud.vmmigration.v1.GroupOrBuilder getGroupsOrBuilder( - int index) { + public com.google.cloud.vmmigration.v1.GroupOrBuilder getGroupsOrBuilder(int index) { return groups_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** + * + * *
    * Output only. A token, which can be sent as `page_token` to retrieve the
    * next page. If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The nextPageToken. */ @java.lang.Override @@ -197,30 +242,30 @@ 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. A token, which can be sent as `page_token` to retrieve the
    * next page. If this field is omitted, there are no subsequent pages.
    * 
* * 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 { @@ -231,34 +276,42 @@ public java.lang.String getNextPageToken() { public static final int UNREACHABLE_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList unreachable_; /** + * + * *
    * Output only. Locations that could not be reached.
    * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return A list containing the unreachable. */ - public com.google.protobuf.ProtocolStringList - getUnreachableList() { + public com.google.protobuf.ProtocolStringList getUnreachableList() { return unreachable_; } /** + * + * *
    * Output only. Locations that could not be reached.
    * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** + * + * *
    * Output only. Locations that could not be reached.
    * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -266,20 +319,23 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** + * + * *
    * Output only. Locations that could not be reached.
    * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - public com.google.protobuf.ByteString - getUnreachableBytes(int index) { + public com.google.protobuf.ByteString getUnreachableBytes(int index) { return unreachable_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -291,8 +347,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 < groups_.size(); i++) { output.writeMessage(1, groups_.get(i)); } @@ -312,8 +367,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < groups_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, groups_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, groups_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -334,19 +388,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.vmmigration.v1.ListGroupsResponse)) { return super.equals(obj); } - com.google.cloud.vmmigration.v1.ListGroupsResponse other = (com.google.cloud.vmmigration.v1.ListGroupsResponse) obj; + com.google.cloud.vmmigration.v1.ListGroupsResponse other = + (com.google.cloud.vmmigration.v1.ListGroupsResponse) obj; - if (!getGroupsList() - .equals(other.getGroupsList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; - if (!getUnreachableList() - .equals(other.getUnreachableList())) return false; + if (!getGroupsList().equals(other.getGroupsList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getUnreachableList().equals(other.getUnreachableList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -374,117 +426,126 @@ public int hashCode() { } public static com.google.cloud.vmmigration.v1.ListGroupsResponse 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.vmmigration.v1.ListGroupsResponse 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.vmmigration.v1.ListGroupsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.vmmigration.v1.ListGroupsResponse 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.vmmigration.v1.ListGroupsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.vmmigration.v1.ListGroupsResponse 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.vmmigration.v1.ListGroupsResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.vmmigration.v1.ListGroupsResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.vmmigration.v1.ListGroupsResponse 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.vmmigration.v1.ListGroupsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.vmmigration.v1.ListGroupsResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.vmmigration.v1.ListGroupsResponse 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.vmmigration.v1.ListGroupsResponse 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.vmmigration.v1.ListGroupsResponse 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.vmmigration.v1.ListGroupsResponse 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; } /** + * + * *
    * Response message for 'ListGroups' request.
    * 
* * Protobuf type {@code google.cloud.vmmigration.v1.ListGroupsResponse} */ - 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.vmmigration.v1.ListGroupsResponse) com.google.cloud.vmmigration.v1.ListGroupsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ListGroupsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_ListGroupsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ListGroupsResponse_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_ListGroupsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.ListGroupsResponse.class, com.google.cloud.vmmigration.v1.ListGroupsResponse.Builder.class); + com.google.cloud.vmmigration.v1.ListGroupsResponse.class, + com.google.cloud.vmmigration.v1.ListGroupsResponse.Builder.class); } // Construct using com.google.cloud.vmmigration.v1.ListGroupsResponse.newBuilder() @@ -492,17 +553,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) { getGroupsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -520,9 +581,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ListGroupsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_ListGroupsResponse_descriptor; } @java.lang.Override @@ -541,7 +602,8 @@ public com.google.cloud.vmmigration.v1.ListGroupsResponse build() { @java.lang.Override public com.google.cloud.vmmigration.v1.ListGroupsResponse buildPartial() { - com.google.cloud.vmmigration.v1.ListGroupsResponse result = new com.google.cloud.vmmigration.v1.ListGroupsResponse(this); + com.google.cloud.vmmigration.v1.ListGroupsResponse result = + new com.google.cloud.vmmigration.v1.ListGroupsResponse(this); int from_bitField0_ = bitField0_; if (groupsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -566,38 +628,39 @@ public com.google.cloud.vmmigration.v1.ListGroupsResponse buildPartial() { 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.vmmigration.v1.ListGroupsResponse) { - return mergeFrom((com.google.cloud.vmmigration.v1.ListGroupsResponse)other); + return mergeFrom((com.google.cloud.vmmigration.v1.ListGroupsResponse) other); } else { super.mergeFrom(other); return this; @@ -605,7 +668,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.vmmigration.v1.ListGroupsResponse other) { - if (other == com.google.cloud.vmmigration.v1.ListGroupsResponse.getDefaultInstance()) return this; + if (other == com.google.cloud.vmmigration.v1.ListGroupsResponse.getDefaultInstance()) + return this; if (groupsBuilder_ == null) { if (!other.groups_.isEmpty()) { if (groups_.isEmpty()) { @@ -624,9 +688,10 @@ public Builder mergeFrom(com.google.cloud.vmmigration.v1.ListGroupsResponse othe groupsBuilder_ = null; groups_ = other.groups_; bitField0_ = (bitField0_ & ~0x00000001); - groupsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getGroupsFieldBuilder() : null; + groupsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getGroupsFieldBuilder() + : null; } else { groupsBuilder_.addAllMessages(other.groups_); } @@ -665,7 +730,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.vmmigration.v1.ListGroupsResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.vmmigration.v1.ListGroupsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -674,26 +740,35 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.util.List groups_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureGroupsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { groups_ = new java.util.ArrayList(groups_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.vmmigration.v1.Group, com.google.cloud.vmmigration.v1.Group.Builder, com.google.cloud.vmmigration.v1.GroupOrBuilder> groupsBuilder_; + com.google.cloud.vmmigration.v1.Group, + com.google.cloud.vmmigration.v1.Group.Builder, + com.google.cloud.vmmigration.v1.GroupOrBuilder> + groupsBuilder_; /** + * + * *
      * Output only. The list of groups response.
      * 
* - * repeated .google.cloud.vmmigration.v1.Group groups = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.Group groups = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public java.util.List getGroupsList() { if (groupsBuilder_ == null) { @@ -703,11 +778,15 @@ public java.util.List getGroupsList() { } } /** + * + * *
      * Output only. The list of groups response.
      * 
* - * repeated .google.cloud.vmmigration.v1.Group groups = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.Group groups = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public int getGroupsCount() { if (groupsBuilder_ == null) { @@ -717,11 +796,15 @@ public int getGroupsCount() { } } /** + * + * *
      * Output only. The list of groups response.
      * 
* - * repeated .google.cloud.vmmigration.v1.Group groups = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.Group groups = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.vmmigration.v1.Group getGroups(int index) { if (groupsBuilder_ == null) { @@ -731,14 +814,17 @@ public com.google.cloud.vmmigration.v1.Group getGroups(int index) { } } /** + * + * *
      * Output only. The list of groups response.
      * 
* - * repeated .google.cloud.vmmigration.v1.Group groups = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.Group groups = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setGroups( - int index, com.google.cloud.vmmigration.v1.Group value) { + public Builder setGroups(int index, com.google.cloud.vmmigration.v1.Group value) { if (groupsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -752,11 +838,15 @@ public Builder setGroups( return this; } /** + * + * *
      * Output only. The list of groups response.
      * 
* - * repeated .google.cloud.vmmigration.v1.Group groups = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.Group groups = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setGroups( int index, com.google.cloud.vmmigration.v1.Group.Builder builderForValue) { @@ -770,11 +860,15 @@ public Builder setGroups( return this; } /** + * + * *
      * Output only. The list of groups response.
      * 
* - * repeated .google.cloud.vmmigration.v1.Group groups = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.Group groups = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addGroups(com.google.cloud.vmmigration.v1.Group value) { if (groupsBuilder_ == null) { @@ -790,14 +884,17 @@ public Builder addGroups(com.google.cloud.vmmigration.v1.Group value) { return this; } /** + * + * *
      * Output only. The list of groups response.
      * 
* - * repeated .google.cloud.vmmigration.v1.Group groups = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.Group groups = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder addGroups( - int index, com.google.cloud.vmmigration.v1.Group value) { + public Builder addGroups(int index, com.google.cloud.vmmigration.v1.Group value) { if (groupsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -811,14 +908,17 @@ public Builder addGroups( return this; } /** + * + * *
      * Output only. The list of groups response.
      * 
* - * repeated .google.cloud.vmmigration.v1.Group groups = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.Group groups = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder addGroups( - com.google.cloud.vmmigration.v1.Group.Builder builderForValue) { + public Builder addGroups(com.google.cloud.vmmigration.v1.Group.Builder builderForValue) { if (groupsBuilder_ == null) { ensureGroupsIsMutable(); groups_.add(builderForValue.build()); @@ -829,11 +929,15 @@ public Builder addGroups( return this; } /** + * + * *
      * Output only. The list of groups response.
      * 
* - * repeated .google.cloud.vmmigration.v1.Group groups = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.Group groups = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addGroups( int index, com.google.cloud.vmmigration.v1.Group.Builder builderForValue) { @@ -847,18 +951,21 @@ public Builder addGroups( return this; } /** + * + * *
      * Output only. The list of groups response.
      * 
* - * repeated .google.cloud.vmmigration.v1.Group groups = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.Group groups = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addAllGroups( java.lang.Iterable values) { if (groupsBuilder_ == null) { ensureGroupsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, groups_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, groups_); onChanged(); } else { groupsBuilder_.addAllMessages(values); @@ -866,11 +973,15 @@ public Builder addAllGroups( return this; } /** + * + * *
      * Output only. The list of groups response.
      * 
* - * repeated .google.cloud.vmmigration.v1.Group groups = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.Group groups = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearGroups() { if (groupsBuilder_ == null) { @@ -883,11 +994,15 @@ public Builder clearGroups() { return this; } /** + * + * *
      * Output only. The list of groups response.
      * 
* - * repeated .google.cloud.vmmigration.v1.Group groups = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.Group groups = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder removeGroups(int index) { if (groupsBuilder_ == null) { @@ -900,39 +1015,50 @@ public Builder removeGroups(int index) { return this; } /** + * + * *
      * Output only. The list of groups response.
      * 
* - * repeated .google.cloud.vmmigration.v1.Group groups = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.Group groups = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.vmmigration.v1.Group.Builder getGroupsBuilder( - int index) { + public com.google.cloud.vmmigration.v1.Group.Builder getGroupsBuilder(int index) { return getGroupsFieldBuilder().getBuilder(index); } /** + * + * *
      * Output only. The list of groups response.
      * 
* - * repeated .google.cloud.vmmigration.v1.Group groups = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.Group groups = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.vmmigration.v1.GroupOrBuilder getGroupsOrBuilder( - int index) { + public com.google.cloud.vmmigration.v1.GroupOrBuilder getGroupsOrBuilder(int index) { if (groupsBuilder_ == null) { - return groups_.get(index); } else { + return groups_.get(index); + } else { return groupsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Output only. The list of groups response.
      * 
* - * repeated .google.cloud.vmmigration.v1.Group groups = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.Group groups = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public java.util.List - getGroupsOrBuilderList() { + public java.util.List + getGroupsOrBuilderList() { if (groupsBuilder_ != null) { return groupsBuilder_.getMessageOrBuilderList(); } else { @@ -940,49 +1066,62 @@ public com.google.cloud.vmmigration.v1.GroupOrBuilder getGroupsOrBuilder( } } /** + * + * *
      * Output only. The list of groups response.
      * 
* - * repeated .google.cloud.vmmigration.v1.Group groups = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.Group groups = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.vmmigration.v1.Group.Builder addGroupsBuilder() { - return getGroupsFieldBuilder().addBuilder( - com.google.cloud.vmmigration.v1.Group.getDefaultInstance()); + return getGroupsFieldBuilder() + .addBuilder(com.google.cloud.vmmigration.v1.Group.getDefaultInstance()); } /** + * + * *
      * Output only. The list of groups response.
      * 
* - * repeated .google.cloud.vmmigration.v1.Group groups = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.Group groups = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.vmmigration.v1.Group.Builder addGroupsBuilder( - int index) { - return getGroupsFieldBuilder().addBuilder( - index, com.google.cloud.vmmigration.v1.Group.getDefaultInstance()); + public com.google.cloud.vmmigration.v1.Group.Builder addGroupsBuilder(int index) { + return getGroupsFieldBuilder() + .addBuilder(index, com.google.cloud.vmmigration.v1.Group.getDefaultInstance()); } /** + * + * *
      * Output only. The list of groups response.
      * 
* - * repeated .google.cloud.vmmigration.v1.Group groups = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.Group groups = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public java.util.List - getGroupsBuilderList() { + public java.util.List getGroupsBuilderList() { return getGroupsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.vmmigration.v1.Group, com.google.cloud.vmmigration.v1.Group.Builder, com.google.cloud.vmmigration.v1.GroupOrBuilder> + com.google.cloud.vmmigration.v1.Group, + com.google.cloud.vmmigration.v1.Group.Builder, + com.google.cloud.vmmigration.v1.GroupOrBuilder> getGroupsFieldBuilder() { if (groupsBuilder_ == null) { - groupsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.vmmigration.v1.Group, com.google.cloud.vmmigration.v1.Group.Builder, com.google.cloud.vmmigration.v1.GroupOrBuilder>( - groups_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + groupsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.vmmigration.v1.Group, + com.google.cloud.vmmigration.v1.Group.Builder, + com.google.cloud.vmmigration.v1.GroupOrBuilder>( + groups_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); groups_ = null; } return groupsBuilder_; @@ -990,19 +1129,21 @@ public com.google.cloud.vmmigration.v1.Group.Builder addGroupsBuilder( private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * Output only. A token, which can be sent as `page_token` to retrieve the
      * next page. If this field is omitted, there are no subsequent pages.
      * 
* * 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; @@ -1011,21 +1152,22 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * Output only. A token, which can be sent as `page_token` to retrieve the
      * next page. If this field is omitted, there are no subsequent pages.
      * 
* * 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 { @@ -1033,98 +1175,115 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * Output only. A token, which can be sent as `page_token` to retrieve the
      * next page. If this field is omitted, there are no subsequent pages.
      * 
* * 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) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** + * + * *
      * Output only. A token, which can be sent as `page_token` to retrieve the
      * next page. If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** + * + * *
      * Output only. A token, which can be sent as `page_token` to retrieve the
      * next page. If this field is omitted, there are no subsequent pages.
      * 
* * 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) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList unreachable_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList unreachable_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureUnreachableIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { unreachable_ = new com.google.protobuf.LazyStringArrayList(unreachable_); bitField0_ |= 0x00000002; - } + } } /** + * + * *
      * Output only. Locations that could not be reached.
      * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return A list containing the unreachable. */ - public com.google.protobuf.ProtocolStringList - getUnreachableList() { + public com.google.protobuf.ProtocolStringList getUnreachableList() { return unreachable_.getUnmodifiableView(); } /** + * + * *
      * Output only. Locations that could not be reached.
      * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** + * + * *
      * Output only. Locations that could not be reached.
      * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -1132,80 +1291,90 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** + * + * *
      * Output only. Locations that could not be reached.
      * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - public com.google.protobuf.ByteString - getUnreachableBytes(int index) { + public com.google.protobuf.ByteString getUnreachableBytes(int index) { return unreachable_.getByteString(index); } /** + * + * *
      * Output only. Locations that could not be reached.
      * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param index The index to set the value at. * @param value The unreachable to set. * @return This builder for chaining. */ - public Builder setUnreachable( - int index, java.lang.String value) { + public Builder setUnreachable(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUnreachableIsMutable(); + throw new NullPointerException(); + } + ensureUnreachableIsMutable(); unreachable_.set(index, value); onChanged(); return this; } /** + * + * *
      * Output only. Locations that could not be reached.
      * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The unreachable to add. * @return This builder for chaining. */ - public Builder addUnreachable( - java.lang.String value) { + public Builder addUnreachable(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUnreachableIsMutable(); + throw new NullPointerException(); + } + ensureUnreachableIsMutable(); unreachable_.add(value); onChanged(); return this; } /** + * + * *
      * Output only. Locations that could not be reached.
      * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param values The unreachable to add. * @return This builder for chaining. */ - public Builder addAllUnreachable( - java.lang.Iterable values) { + public Builder addAllUnreachable(java.lang.Iterable values) { ensureUnreachableIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, unreachable_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, unreachable_); onChanged(); return this; } /** + * + * *
      * Output only. Locations that could not be reached.
      * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearUnreachable() { @@ -1215,28 +1384,30 @@ public Builder clearUnreachable() { return this; } /** + * + * *
      * Output only. Locations that could not be reached.
      * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes of the unreachable to add. * @return This builder for chaining. */ - public Builder addUnreachableBytes( - com.google.protobuf.ByteString value) { + public Builder addUnreachableBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureUnreachableIsMutable(); unreachable_.add(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); } @@ -1246,12 +1417,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.vmmigration.v1.ListGroupsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.vmmigration.v1.ListGroupsResponse) private static final com.google.cloud.vmmigration.v1.ListGroupsResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.vmmigration.v1.ListGroupsResponse(); } @@ -1260,16 +1431,16 @@ public static com.google.cloud.vmmigration.v1.ListGroupsResponse getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListGroupsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListGroupsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListGroupsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListGroupsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1284,6 +1455,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.vmmigration.v1.ListGroupsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListGroupsResponseOrBuilder.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListGroupsResponseOrBuilder.java similarity index 61% rename from owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListGroupsResponseOrBuilder.java rename to proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListGroupsResponseOrBuilder.java index 9aff04f..d893053 100644 --- a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListGroupsResponseOrBuilder.java +++ b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListGroupsResponseOrBuilder.java @@ -1,116 +1,164 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; -public interface ListGroupsResponseOrBuilder extends +public interface ListGroupsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.ListGroupsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. The list of groups response.
    * 
* - * repeated .google.cloud.vmmigration.v1.Group groups = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.Group groups = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - java.util.List - getGroupsList(); + java.util.List getGroupsList(); /** + * + * *
    * Output only. The list of groups response.
    * 
* - * repeated .google.cloud.vmmigration.v1.Group groups = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.Group groups = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.cloud.vmmigration.v1.Group getGroups(int index); /** + * + * *
    * Output only. The list of groups response.
    * 
* - * repeated .google.cloud.vmmigration.v1.Group groups = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.Group groups = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ int getGroupsCount(); /** + * + * *
    * Output only. The list of groups response.
    * 
* - * repeated .google.cloud.vmmigration.v1.Group groups = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.Group groups = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - java.util.List - getGroupsOrBuilderList(); + java.util.List getGroupsOrBuilderList(); /** + * + * *
    * Output only. The list of groups response.
    * 
* - * repeated .google.cloud.vmmigration.v1.Group groups = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.Group groups = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - com.google.cloud.vmmigration.v1.GroupOrBuilder getGroupsOrBuilder( - int index); + com.google.cloud.vmmigration.v1.GroupOrBuilder getGroupsOrBuilder(int index); /** + * + * *
    * Output only. A token, which can be sent as `page_token` to retrieve the
    * next page. If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * Output only. A token, which can be sent as `page_token` to retrieve the
    * next page. If this field is omitted, there are no subsequent pages.
    * 
* * 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(); /** + * + * *
    * Output only. Locations that could not be reached.
    * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return A list containing the unreachable. */ - java.util.List - getUnreachableList(); + java.util.List getUnreachableList(); /** + * + * *
    * Output only. Locations that could not be reached.
    * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The count of unreachable. */ int getUnreachableCount(); /** + * + * *
    * Output only. Locations that could not be reached.
    * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param index The index of the element to return. * @return The unreachable at the given index. */ java.lang.String getUnreachable(int index); /** + * + * *
    * Output only. Locations that could not be reached.
    * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - com.google.protobuf.ByteString - getUnreachableBytes(int index); + com.google.protobuf.ByteString getUnreachableBytes(int index); } diff --git a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListMigratingVmsRequest.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListMigratingVmsRequest.java similarity index 69% rename from owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListMigratingVmsRequest.java rename to proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListMigratingVmsRequest.java index 662e13f..6cb41ef 100644 --- a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListMigratingVmsRequest.java +++ b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListMigratingVmsRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; /** + * + * *
  * Request message for 'LisMigratingVmsRequest' request.
  * 
* * Protobuf type {@code google.cloud.vmmigration.v1.ListMigratingVmsRequest} */ -public final class ListMigratingVmsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListMigratingVmsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.vmmigration.v1.ListMigratingVmsRequest) ListMigratingVmsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListMigratingVmsRequest.newBuilder() to construct. private ListMigratingVmsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListMigratingVmsRequest() { parent_ = ""; pageToken_ = ""; @@ -29,16 +47,15 @@ private ListMigratingVmsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListMigratingVmsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListMigratingVmsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -57,48 +74,53 @@ private ListMigratingVmsRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 16: { - - pageSize_ = input.readInt32(); - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: + { + pageSize_ = input.readInt32(); + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - pageToken_ = s; - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); + pageToken_ = s; + break; + } + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); - filter_ = s; - break; - } - case 42: { - java.lang.String s = input.readStringRequireUtf8(); + filter_ = s; + break; + } + case 42: + { + java.lang.String s = input.readStringRequireUtf8(); - orderBy_ = s; - break; - } - case 48: { - int rawValue = input.readEnum(); + orderBy_ = s; + break; + } + case 48: + { + int rawValue = input.readEnum(); - view_ = rawValue; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + view_ = rawValue; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -106,34 +128,41 @@ private ListMigratingVmsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ListMigratingVmsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_ListMigratingVmsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ListMigratingVmsRequest_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_ListMigratingVmsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.ListMigratingVmsRequest.class, com.google.cloud.vmmigration.v1.ListMigratingVmsRequest.Builder.class); + com.google.cloud.vmmigration.v1.ListMigratingVmsRequest.class, + com.google.cloud.vmmigration.v1.ListMigratingVmsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The parent, which owns this collection of MigratingVms.
    * 
* - * 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 @@ -142,29 +171,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 parent, which owns this collection of MigratingVms.
    * 
* - * 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 { @@ -175,6 +206,8 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** + * + * *
    * Optional. The maximum number of migrating VMs to return. The service may
    * return fewer than this value. If unspecified, at most 500 migrating VMs
@@ -183,6 +216,7 @@ public java.lang.String getParent() {
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -193,6 +227,8 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** + * + * *
    * Required. A page token, received from a previous `ListMigratingVms` call.
    * Provide this to retrieve the subsequent page.
@@ -201,6 +237,7 @@ public int getPageSize() {
    * 
* * string page_token = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The pageToken. */ @java.lang.Override @@ -209,14 +246,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; } } /** + * + * *
    * Required. A page token, received from a previous `ListMigratingVms` call.
    * Provide this to retrieve the subsequent page.
@@ -225,16 +263,15 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @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 { @@ -245,11 +282,14 @@ public java.lang.String getPageToken() { public static final int FILTER_FIELD_NUMBER = 4; private volatile java.lang.Object filter_; /** + * + * *
    * Optional. The filter request.
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The filter. */ @java.lang.Override @@ -258,29 +298,29 @@ public java.lang.String getFilter() { 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(); filter_ = s; return s; } } /** + * + * *
    * Optional. The filter request.
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for filter. */ @java.lang.Override - public com.google.protobuf.ByteString - getFilterBytes() { + public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; 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); filter_ = b; return b; } else { @@ -291,11 +331,14 @@ public java.lang.String getFilter() { public static final int ORDER_BY_FIELD_NUMBER = 5; private volatile java.lang.Object orderBy_; /** + * + * *
    * Optional. the order by fields for the result.
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The orderBy. */ @java.lang.Override @@ -304,29 +347,29 @@ public java.lang.String getOrderBy() { 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(); orderBy_ = s; return s; } } /** + * + * *
    * Optional. the order by fields for the result.
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for orderBy. */ @java.lang.Override - public com.google.protobuf.ByteString - getOrderByBytes() { + public com.google.protobuf.ByteString getOrderByBytes() { java.lang.Object ref = orderBy_; 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); orderBy_ = b; return b; } else { @@ -337,31 +380,45 @@ public java.lang.String getOrderBy() { public static final int VIEW_FIELD_NUMBER = 6; private int view_; /** + * + * *
    * Optional. The level of details of each migrating VM.
    * 
* - * .google.cloud.vmmigration.v1.MigratingVmView view = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.vmmigration.v1.MigratingVmView view = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The enum numeric value on the wire for view. */ - @java.lang.Override public int getViewValue() { + @java.lang.Override + public int getViewValue() { return view_; } /** + * + * *
    * Optional. The level of details of each migrating VM.
    * 
* - * .google.cloud.vmmigration.v1.MigratingVmView view = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.vmmigration.v1.MigratingVmView view = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The view. */ - @java.lang.Override public com.google.cloud.vmmigration.v1.MigratingVmView getView() { + @java.lang.Override + public com.google.cloud.vmmigration.v1.MigratingVmView getView() { @SuppressWarnings("deprecation") - com.google.cloud.vmmigration.v1.MigratingVmView result = com.google.cloud.vmmigration.v1.MigratingVmView.valueOf(view_); + com.google.cloud.vmmigration.v1.MigratingVmView result = + com.google.cloud.vmmigration.v1.MigratingVmView.valueOf(view_); return result == null ? com.google.cloud.vmmigration.v1.MigratingVmView.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -373,8 +430,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_); } @@ -390,7 +446,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(orderBy_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, orderBy_); } - if (view_ != com.google.cloud.vmmigration.v1.MigratingVmView.MIGRATING_VM_VIEW_UNSPECIFIED.getNumber()) { + if (view_ + != com.google.cloud.vmmigration.v1.MigratingVmView.MIGRATING_VM_VIEW_UNSPECIFIED + .getNumber()) { output.writeEnum(6, view_); } unknownFields.writeTo(output); @@ -406,8 +464,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -418,9 +475,10 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(orderBy_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, orderBy_); } - if (view_ != com.google.cloud.vmmigration.v1.MigratingVmView.MIGRATING_VM_VIEW_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(6, view_); + if (view_ + != com.google.cloud.vmmigration.v1.MigratingVmView.MIGRATING_VM_VIEW_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(6, view_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -430,23 +488,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.vmmigration.v1.ListMigratingVmsRequest)) { return super.equals(obj); } - com.google.cloud.vmmigration.v1.ListMigratingVmsRequest other = (com.google.cloud.vmmigration.v1.ListMigratingVmsRequest) obj; - - if (!getParent() - .equals(other.getParent())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; - if (!getFilter() - .equals(other.getFilter())) return false; - if (!getOrderBy() - .equals(other.getOrderBy())) return false; + com.google.cloud.vmmigration.v1.ListMigratingVmsRequest other = + (com.google.cloud.vmmigration.v1.ListMigratingVmsRequest) obj; + + if (!getParent().equals(other.getParent())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; + if (!getFilter().equals(other.getFilter())) return false; + if (!getOrderBy().equals(other.getOrderBy())) return false; if (view_ != other.view_) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -477,117 +531,127 @@ public int hashCode() { } public static com.google.cloud.vmmigration.v1.ListMigratingVmsRequest 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.vmmigration.v1.ListMigratingVmsRequest 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.vmmigration.v1.ListMigratingVmsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.vmmigration.v1.ListMigratingVmsRequest 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.vmmigration.v1.ListMigratingVmsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.vmmigration.v1.ListMigratingVmsRequest 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.vmmigration.v1.ListMigratingVmsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.vmmigration.v1.ListMigratingVmsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.vmmigration.v1.ListMigratingVmsRequest 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.vmmigration.v1.ListMigratingVmsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.vmmigration.v1.ListMigratingVmsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.vmmigration.v1.ListMigratingVmsRequest 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.vmmigration.v1.ListMigratingVmsRequest 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.vmmigration.v1.ListMigratingVmsRequest 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.vmmigration.v1.ListMigratingVmsRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.vmmigration.v1.ListMigratingVmsRequest 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 message for 'LisMigratingVmsRequest' request.
    * 
* * Protobuf type {@code google.cloud.vmmigration.v1.ListMigratingVmsRequest} */ - 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.vmmigration.v1.ListMigratingVmsRequest) com.google.cloud.vmmigration.v1.ListMigratingVmsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ListMigratingVmsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_ListMigratingVmsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ListMigratingVmsRequest_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_ListMigratingVmsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.ListMigratingVmsRequest.class, com.google.cloud.vmmigration.v1.ListMigratingVmsRequest.Builder.class); + com.google.cloud.vmmigration.v1.ListMigratingVmsRequest.class, + com.google.cloud.vmmigration.v1.ListMigratingVmsRequest.Builder.class); } // Construct using com.google.cloud.vmmigration.v1.ListMigratingVmsRequest.newBuilder() @@ -595,16 +659,15 @@ 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) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -624,9 +687,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ListMigratingVmsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_ListMigratingVmsRequest_descriptor; } @java.lang.Override @@ -645,7 +708,8 @@ public com.google.cloud.vmmigration.v1.ListMigratingVmsRequest build() { @java.lang.Override public com.google.cloud.vmmigration.v1.ListMigratingVmsRequest buildPartial() { - com.google.cloud.vmmigration.v1.ListMigratingVmsRequest result = new com.google.cloud.vmmigration.v1.ListMigratingVmsRequest(this); + com.google.cloud.vmmigration.v1.ListMigratingVmsRequest result = + new com.google.cloud.vmmigration.v1.ListMigratingVmsRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -660,38 +724,39 @@ public com.google.cloud.vmmigration.v1.ListMigratingVmsRequest buildPartial() { 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.vmmigration.v1.ListMigratingVmsRequest) { - return mergeFrom((com.google.cloud.vmmigration.v1.ListMigratingVmsRequest)other); + return mergeFrom((com.google.cloud.vmmigration.v1.ListMigratingVmsRequest) other); } else { super.mergeFrom(other); return this; @@ -699,7 +764,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.vmmigration.v1.ListMigratingVmsRequest other) { - if (other == com.google.cloud.vmmigration.v1.ListMigratingVmsRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.vmmigration.v1.ListMigratingVmsRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -741,7 +807,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.vmmigration.v1.ListMigratingVmsRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.vmmigration.v1.ListMigratingVmsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -753,18 +820,22 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The parent, which owns this collection of MigratingVms.
      * 
* - * 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; @@ -773,20 +844,23 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent, which owns this collection of MigratingVms.
      * 
* - * 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 { @@ -794,61 +868,76 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent, which owns this collection of MigratingVms.
      * 
* - * 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) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. The parent, which owns this collection of MigratingVms.
      * 
* - * 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() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The parent, which owns this collection of MigratingVms.
      * 
* - * 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) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * Optional. The maximum number of migrating VMs to return. The service may
      * return fewer than this value. If unspecified, at most 500 migrating VMs
@@ -857,6 +946,7 @@ public Builder setParentBytes(
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -864,6 +954,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * Optional. The maximum number of migrating VMs to return. The service may
      * return fewer than this value. If unspecified, at most 500 migrating VMs
@@ -872,16 +964,19 @@ public int getPageSize() {
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** + * + * *
      * Optional. The maximum number of migrating VMs to return. The service may
      * return fewer than this value. If unspecified, at most 500 migrating VMs
@@ -890,10 +985,11 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -901,6 +997,8 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * Required. A page token, received from a previous `ListMigratingVms` call.
      * Provide this to retrieve the subsequent page.
@@ -909,13 +1007,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @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; @@ -924,6 +1022,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Required. A page token, received from a previous `ListMigratingVms` call.
      * Provide this to retrieve the subsequent page.
@@ -932,15 +1032,14 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @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 { @@ -948,6 +1047,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Required. A page token, received from a previous `ListMigratingVms` call.
      * Provide this to retrieve the subsequent page.
@@ -956,20 +1057,22 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
      * Required. A page token, received from a previous `ListMigratingVms` call.
      * Provide this to retrieve the subsequent page.
@@ -978,15 +1081,18 @@ public Builder setPageToken(
      * 
* * string page_token = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * Required. A page token, received from a previous `ListMigratingVms` call.
      * Provide this to retrieve the subsequent page.
@@ -995,16 +1101,16 @@ public Builder clearPageToken() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; @@ -1012,18 +1118,20 @@ public Builder setPageTokenBytes( private java.lang.Object filter_ = ""; /** + * + * *
      * Optional. The filter request.
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; 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(); filter_ = s; return s; @@ -1032,20 +1140,21 @@ public java.lang.String getFilter() { } } /** + * + * *
      * Optional. The filter request.
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for filter. */ - public com.google.protobuf.ByteString - getFilterBytes() { + public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; 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); filter_ = b; return b; } else { @@ -1053,54 +1162,61 @@ public java.lang.String getFilter() { } } /** + * + * *
      * Optional. The filter request.
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter( - java.lang.String value) { + public Builder setFilter(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; onChanged(); return this; } /** + * + * *
      * Optional. The filter request.
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** + * + * *
      * Optional. The filter request.
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes( - com.google.protobuf.ByteString value) { + public Builder setFilterBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = value; onChanged(); return this; @@ -1108,18 +1224,20 @@ public Builder setFilterBytes( private java.lang.Object orderBy_ = ""; /** + * + * *
      * Optional. the order by fields for the result.
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The orderBy. */ public java.lang.String getOrderBy() { java.lang.Object ref = orderBy_; 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(); orderBy_ = s; return s; @@ -1128,20 +1246,21 @@ public java.lang.String getOrderBy() { } } /** + * + * *
      * Optional. the order by fields for the result.
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for orderBy. */ - public com.google.protobuf.ByteString - getOrderByBytes() { + public com.google.protobuf.ByteString getOrderByBytes() { java.lang.Object ref = orderBy_; 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); orderBy_ = b; return b; } else { @@ -1149,54 +1268,61 @@ public java.lang.String getOrderBy() { } } /** + * + * *
      * Optional. the order by fields for the result.
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The orderBy to set. * @return This builder for chaining. */ - public Builder setOrderBy( - java.lang.String value) { + public Builder setOrderBy(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + orderBy_ = value; onChanged(); return this; } /** + * + * *
      * Optional. the order by fields for the result.
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearOrderBy() { - + orderBy_ = getDefaultInstance().getOrderBy(); onChanged(); return this; } /** + * + * *
      * Optional. the order by fields for the result.
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for orderBy to set. * @return This builder for chaining. */ - public Builder setOrderByBytes( - com.google.protobuf.ByteString value) { + public Builder setOrderByBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + orderBy_ = value; onChanged(); return this; @@ -1204,51 +1330,73 @@ public Builder setOrderByBytes( private int view_ = 0; /** + * + * *
      * Optional. The level of details of each migrating VM.
      * 
* - * .google.cloud.vmmigration.v1.MigratingVmView view = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.vmmigration.v1.MigratingVmView view = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The enum numeric value on the wire for view. */ - @java.lang.Override public int getViewValue() { + @java.lang.Override + public int getViewValue() { return view_; } /** + * + * *
      * Optional. The level of details of each migrating VM.
      * 
* - * .google.cloud.vmmigration.v1.MigratingVmView view = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.vmmigration.v1.MigratingVmView view = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param value The enum numeric value on the wire for view to set. * @return This builder for chaining. */ public Builder setViewValue(int value) { - + view_ = value; onChanged(); return this; } /** + * + * *
      * Optional. The level of details of each migrating VM.
      * 
* - * .google.cloud.vmmigration.v1.MigratingVmView view = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.vmmigration.v1.MigratingVmView view = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The view. */ @java.lang.Override public com.google.cloud.vmmigration.v1.MigratingVmView getView() { @SuppressWarnings("deprecation") - com.google.cloud.vmmigration.v1.MigratingVmView result = com.google.cloud.vmmigration.v1.MigratingVmView.valueOf(view_); + com.google.cloud.vmmigration.v1.MigratingVmView result = + com.google.cloud.vmmigration.v1.MigratingVmView.valueOf(view_); return result == null ? com.google.cloud.vmmigration.v1.MigratingVmView.UNRECOGNIZED : result; } /** + * + * *
      * Optional. The level of details of each migrating VM.
      * 
* - * .google.cloud.vmmigration.v1.MigratingVmView view = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.vmmigration.v1.MigratingVmView view = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param value The view to set. * @return This builder for chaining. */ @@ -1256,28 +1404,33 @@ public Builder setView(com.google.cloud.vmmigration.v1.MigratingVmView value) { if (value == null) { throw new NullPointerException(); } - + view_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Optional. The level of details of each migrating VM.
      * 
* - * .google.cloud.vmmigration.v1.MigratingVmView view = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.vmmigration.v1.MigratingVmView view = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return This builder for chaining. */ public Builder clearView() { - + view_ = 0; 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); } @@ -1287,12 +1440,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.vmmigration.v1.ListMigratingVmsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.vmmigration.v1.ListMigratingVmsRequest) private static final com.google.cloud.vmmigration.v1.ListMigratingVmsRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.vmmigration.v1.ListMigratingVmsRequest(); } @@ -1301,16 +1454,16 @@ public static com.google.cloud.vmmigration.v1.ListMigratingVmsRequest getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListMigratingVmsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListMigratingVmsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListMigratingVmsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListMigratingVmsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1325,6 +1478,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.vmmigration.v1.ListMigratingVmsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListMigratingVmsRequestOrBuilder.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListMigratingVmsRequestOrBuilder.java similarity index 66% rename from owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListMigratingVmsRequestOrBuilder.java rename to proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListMigratingVmsRequestOrBuilder.java index 1cbac15..0cf1d18 100644 --- a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListMigratingVmsRequestOrBuilder.java +++ b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListMigratingVmsRequestOrBuilder.java @@ -1,33 +1,60 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; -public interface ListMigratingVmsRequestOrBuilder extends +public interface ListMigratingVmsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.ListMigratingVmsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The parent, which owns this collection of MigratingVms.
    * 
* - * 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 parent, which owns this collection of MigratingVms.
    * 
* - * 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(); /** + * + * *
    * Optional. The maximum number of migrating VMs to return. The service may
    * return fewer than this value. If unspecified, at most 500 migrating VMs
@@ -36,11 +63,14 @@ public interface ListMigratingVmsRequestOrBuilder extends
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * Required. A page token, received from a previous `ListMigratingVms` call.
    * Provide this to retrieve the subsequent page.
@@ -49,10 +79,13 @@ public interface ListMigratingVmsRequestOrBuilder extends
    * 
* * string page_token = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * Required. A page token, received from a previous `ListMigratingVms` call.
    * Provide this to retrieve the subsequent page.
@@ -61,66 +94,86 @@ public interface ListMigratingVmsRequestOrBuilder extends
    * 
* * string page_token = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); /** + * + * *
    * Optional. The filter request.
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The filter. */ java.lang.String getFilter(); /** + * + * *
    * Optional. The filter request.
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for filter. */ - com.google.protobuf.ByteString - getFilterBytes(); + com.google.protobuf.ByteString getFilterBytes(); /** + * + * *
    * Optional. the order by fields for the result.
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The orderBy. */ java.lang.String getOrderBy(); /** + * + * *
    * Optional. the order by fields for the result.
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for orderBy. */ - com.google.protobuf.ByteString - getOrderByBytes(); + com.google.protobuf.ByteString getOrderByBytes(); /** + * + * *
    * Optional. The level of details of each migrating VM.
    * 
* - * .google.cloud.vmmigration.v1.MigratingVmView view = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.vmmigration.v1.MigratingVmView view = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The enum numeric value on the wire for view. */ int getViewValue(); /** + * + * *
    * Optional. The level of details of each migrating VM.
    * 
* - * .google.cloud.vmmigration.v1.MigratingVmView view = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.vmmigration.v1.MigratingVmView view = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The view. */ com.google.cloud.vmmigration.v1.MigratingVmView getView(); diff --git a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListMigratingVmsResponse.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListMigratingVmsResponse.java similarity index 68% rename from owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListMigratingVmsResponse.java rename to proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListMigratingVmsResponse.java index 6d74c4b..116414d 100644 --- a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListMigratingVmsResponse.java +++ b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListMigratingVmsResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; /** + * + * *
  * Response message for 'ListMigratingVms' request.
  * 
* * Protobuf type {@code google.cloud.vmmigration.v1.ListMigratingVmsResponse} */ -public final class ListMigratingVmsResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListMigratingVmsResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.vmmigration.v1.ListMigratingVmsResponse) ListMigratingVmsResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListMigratingVmsResponse.newBuilder() to construct. private ListMigratingVmsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListMigratingVmsResponse() { migratingVms_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -27,16 +45,15 @@ private ListMigratingVmsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListMigratingVmsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListMigratingVmsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -56,37 +73,42 @@ private ListMigratingVmsResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - migratingVms_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + migratingVms_ = + new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + migratingVms_.add( + input.readMessage( + com.google.cloud.vmmigration.v1.MigratingVm.parser(), extensionRegistry)); + break; } - migratingVms_.add( - input.readMessage(com.google.cloud.vmmigration.v1.MigratingVm.parser(), extensionRegistry)); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - unreachable_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000002; + nextPageToken_ = s; + break; } - unreachable_.add(s); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + unreachable_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000002; + } + unreachable_.add(s); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -94,8 +116,7 @@ private ListMigratingVmsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { migratingVms_ = java.util.Collections.unmodifiableList(migratingVms_); @@ -107,88 +128,113 @@ private ListMigratingVmsResponse( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ListMigratingVmsResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_ListMigratingVmsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ListMigratingVmsResponse_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_ListMigratingVmsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.ListMigratingVmsResponse.class, com.google.cloud.vmmigration.v1.ListMigratingVmsResponse.Builder.class); + com.google.cloud.vmmigration.v1.ListMigratingVmsResponse.class, + com.google.cloud.vmmigration.v1.ListMigratingVmsResponse.Builder.class); } public static final int MIGRATING_VMS_FIELD_NUMBER = 1; private java.util.List migratingVms_; /** + * + * *
    * Output only. The list of Migrating VMs response.
    * 
* - * repeated .google.cloud.vmmigration.v1.MigratingVm migrating_vms = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.MigratingVm migrating_vms = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public java.util.List getMigratingVmsList() { return migratingVms_; } /** + * + * *
    * Output only. The list of Migrating VMs response.
    * 
* - * repeated .google.cloud.vmmigration.v1.MigratingVm migrating_vms = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.MigratingVm migrating_vms = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public java.util.List + public java.util.List getMigratingVmsOrBuilderList() { return migratingVms_; } /** + * + * *
    * Output only. The list of Migrating VMs response.
    * 
* - * repeated .google.cloud.vmmigration.v1.MigratingVm migrating_vms = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.MigratingVm migrating_vms = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public int getMigratingVmsCount() { return migratingVms_.size(); } /** + * + * *
    * Output only. The list of Migrating VMs response.
    * 
* - * repeated .google.cloud.vmmigration.v1.MigratingVm migrating_vms = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.MigratingVm migrating_vms = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.vmmigration.v1.MigratingVm getMigratingVms(int index) { return migratingVms_.get(index); } /** + * + * *
    * Output only. The list of Migrating VMs response.
    * 
* - * repeated .google.cloud.vmmigration.v1.MigratingVm migrating_vms = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.MigratingVm migrating_vms = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public com.google.cloud.vmmigration.v1.MigratingVmOrBuilder getMigratingVmsOrBuilder( - int index) { + public com.google.cloud.vmmigration.v1.MigratingVmOrBuilder getMigratingVmsOrBuilder(int index) { return migratingVms_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** + * + * *
    * Output only. A token, which can be sent as `page_token` to retrieve the
    * next page. If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The nextPageToken. */ @java.lang.Override @@ -197,30 +243,30 @@ 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. A token, which can be sent as `page_token` to retrieve the
    * next page. If this field is omitted, there are no subsequent pages.
    * 
* * 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 { @@ -231,34 +277,42 @@ public java.lang.String getNextPageToken() { public static final int UNREACHABLE_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList unreachable_; /** + * + * *
    * Output only. Locations that could not be reached.
    * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return A list containing the unreachable. */ - public com.google.protobuf.ProtocolStringList - getUnreachableList() { + public com.google.protobuf.ProtocolStringList getUnreachableList() { return unreachable_; } /** + * + * *
    * Output only. Locations that could not be reached.
    * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** + * + * *
    * Output only. Locations that could not be reached.
    * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -266,20 +320,23 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** + * + * *
    * Output only. Locations that could not be reached.
    * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - public com.google.protobuf.ByteString - getUnreachableBytes(int index) { + public com.google.protobuf.ByteString getUnreachableBytes(int index) { return unreachable_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -291,8 +348,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 < migratingVms_.size(); i++) { output.writeMessage(1, migratingVms_.get(i)); } @@ -312,8 +368,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < migratingVms_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, migratingVms_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, migratingVms_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -334,19 +389,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.vmmigration.v1.ListMigratingVmsResponse)) { return super.equals(obj); } - com.google.cloud.vmmigration.v1.ListMigratingVmsResponse other = (com.google.cloud.vmmigration.v1.ListMigratingVmsResponse) obj; + com.google.cloud.vmmigration.v1.ListMigratingVmsResponse other = + (com.google.cloud.vmmigration.v1.ListMigratingVmsResponse) obj; - if (!getMigratingVmsList() - .equals(other.getMigratingVmsList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; - if (!getUnreachableList() - .equals(other.getUnreachableList())) return false; + if (!getMigratingVmsList().equals(other.getMigratingVmsList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getUnreachableList().equals(other.getUnreachableList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -374,117 +427,127 @@ public int hashCode() { } public static com.google.cloud.vmmigration.v1.ListMigratingVmsResponse 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.vmmigration.v1.ListMigratingVmsResponse 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.vmmigration.v1.ListMigratingVmsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.vmmigration.v1.ListMigratingVmsResponse 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.vmmigration.v1.ListMigratingVmsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.vmmigration.v1.ListMigratingVmsResponse 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.vmmigration.v1.ListMigratingVmsResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.vmmigration.v1.ListMigratingVmsResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.vmmigration.v1.ListMigratingVmsResponse 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.vmmigration.v1.ListMigratingVmsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.vmmigration.v1.ListMigratingVmsResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.vmmigration.v1.ListMigratingVmsResponse 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.vmmigration.v1.ListMigratingVmsResponse 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.vmmigration.v1.ListMigratingVmsResponse 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.vmmigration.v1.ListMigratingVmsResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.vmmigration.v1.ListMigratingVmsResponse 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; } /** + * + * *
    * Response message for 'ListMigratingVms' request.
    * 
* * Protobuf type {@code google.cloud.vmmigration.v1.ListMigratingVmsResponse} */ - 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.vmmigration.v1.ListMigratingVmsResponse) com.google.cloud.vmmigration.v1.ListMigratingVmsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ListMigratingVmsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_ListMigratingVmsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ListMigratingVmsResponse_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_ListMigratingVmsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.ListMigratingVmsResponse.class, com.google.cloud.vmmigration.v1.ListMigratingVmsResponse.Builder.class); + com.google.cloud.vmmigration.v1.ListMigratingVmsResponse.class, + com.google.cloud.vmmigration.v1.ListMigratingVmsResponse.Builder.class); } // Construct using com.google.cloud.vmmigration.v1.ListMigratingVmsResponse.newBuilder() @@ -492,17 +555,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) { getMigratingVmsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -520,9 +583,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ListMigratingVmsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_ListMigratingVmsResponse_descriptor; } @java.lang.Override @@ -541,7 +604,8 @@ public com.google.cloud.vmmigration.v1.ListMigratingVmsResponse build() { @java.lang.Override public com.google.cloud.vmmigration.v1.ListMigratingVmsResponse buildPartial() { - com.google.cloud.vmmigration.v1.ListMigratingVmsResponse result = new com.google.cloud.vmmigration.v1.ListMigratingVmsResponse(this); + com.google.cloud.vmmigration.v1.ListMigratingVmsResponse result = + new com.google.cloud.vmmigration.v1.ListMigratingVmsResponse(this); int from_bitField0_ = bitField0_; if (migratingVmsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -566,38 +630,39 @@ public com.google.cloud.vmmigration.v1.ListMigratingVmsResponse buildPartial() { 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.vmmigration.v1.ListMigratingVmsResponse) { - return mergeFrom((com.google.cloud.vmmigration.v1.ListMigratingVmsResponse)other); + return mergeFrom((com.google.cloud.vmmigration.v1.ListMigratingVmsResponse) other); } else { super.mergeFrom(other); return this; @@ -605,7 +670,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.vmmigration.v1.ListMigratingVmsResponse other) { - if (other == com.google.cloud.vmmigration.v1.ListMigratingVmsResponse.getDefaultInstance()) return this; + if (other == com.google.cloud.vmmigration.v1.ListMigratingVmsResponse.getDefaultInstance()) + return this; if (migratingVmsBuilder_ == null) { if (!other.migratingVms_.isEmpty()) { if (migratingVms_.isEmpty()) { @@ -624,9 +690,10 @@ public Builder mergeFrom(com.google.cloud.vmmigration.v1.ListMigratingVmsRespons migratingVmsBuilder_ = null; migratingVms_ = other.migratingVms_; bitField0_ = (bitField0_ & ~0x00000001); - migratingVmsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getMigratingVmsFieldBuilder() : null; + migratingVmsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getMigratingVmsFieldBuilder() + : null; } else { migratingVmsBuilder_.addAllMessages(other.migratingVms_); } @@ -665,7 +732,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.vmmigration.v1.ListMigratingVmsResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.vmmigration.v1.ListMigratingVmsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -674,26 +742,36 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.util.List migratingVms_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureMigratingVmsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - migratingVms_ = new java.util.ArrayList(migratingVms_); + migratingVms_ = + new java.util.ArrayList(migratingVms_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.vmmigration.v1.MigratingVm, com.google.cloud.vmmigration.v1.MigratingVm.Builder, com.google.cloud.vmmigration.v1.MigratingVmOrBuilder> migratingVmsBuilder_; + com.google.cloud.vmmigration.v1.MigratingVm, + com.google.cloud.vmmigration.v1.MigratingVm.Builder, + com.google.cloud.vmmigration.v1.MigratingVmOrBuilder> + migratingVmsBuilder_; /** + * + * *
      * Output only. The list of Migrating VMs response.
      * 
* - * repeated .google.cloud.vmmigration.v1.MigratingVm migrating_vms = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.MigratingVm migrating_vms = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public java.util.List getMigratingVmsList() { if (migratingVmsBuilder_ == null) { @@ -703,11 +781,15 @@ public java.util.List getMigratingV } } /** + * + * *
      * Output only. The list of Migrating VMs response.
      * 
* - * repeated .google.cloud.vmmigration.v1.MigratingVm migrating_vms = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.MigratingVm migrating_vms = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public int getMigratingVmsCount() { if (migratingVmsBuilder_ == null) { @@ -717,11 +799,15 @@ public int getMigratingVmsCount() { } } /** + * + * *
      * Output only. The list of Migrating VMs response.
      * 
* - * repeated .google.cloud.vmmigration.v1.MigratingVm migrating_vms = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.MigratingVm migrating_vms = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.vmmigration.v1.MigratingVm getMigratingVms(int index) { if (migratingVmsBuilder_ == null) { @@ -731,14 +817,17 @@ public com.google.cloud.vmmigration.v1.MigratingVm getMigratingVms(int index) { } } /** + * + * *
      * Output only. The list of Migrating VMs response.
      * 
* - * repeated .google.cloud.vmmigration.v1.MigratingVm migrating_vms = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.MigratingVm migrating_vms = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setMigratingVms( - int index, com.google.cloud.vmmigration.v1.MigratingVm value) { + public Builder setMigratingVms(int index, com.google.cloud.vmmigration.v1.MigratingVm value) { if (migratingVmsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -752,11 +841,15 @@ public Builder setMigratingVms( return this; } /** + * + * *
      * Output only. The list of Migrating VMs response.
      * 
* - * repeated .google.cloud.vmmigration.v1.MigratingVm migrating_vms = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.MigratingVm migrating_vms = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setMigratingVms( int index, com.google.cloud.vmmigration.v1.MigratingVm.Builder builderForValue) { @@ -770,11 +863,15 @@ public Builder setMigratingVms( return this; } /** + * + * *
      * Output only. The list of Migrating VMs response.
      * 
* - * repeated .google.cloud.vmmigration.v1.MigratingVm migrating_vms = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.MigratingVm migrating_vms = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addMigratingVms(com.google.cloud.vmmigration.v1.MigratingVm value) { if (migratingVmsBuilder_ == null) { @@ -790,14 +887,17 @@ public Builder addMigratingVms(com.google.cloud.vmmigration.v1.MigratingVm value return this; } /** + * + * *
      * Output only. The list of Migrating VMs response.
      * 
* - * repeated .google.cloud.vmmigration.v1.MigratingVm migrating_vms = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.MigratingVm migrating_vms = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder addMigratingVms( - int index, com.google.cloud.vmmigration.v1.MigratingVm value) { + public Builder addMigratingVms(int index, com.google.cloud.vmmigration.v1.MigratingVm value) { if (migratingVmsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -811,11 +911,15 @@ public Builder addMigratingVms( return this; } /** + * + * *
      * Output only. The list of Migrating VMs response.
      * 
* - * repeated .google.cloud.vmmigration.v1.MigratingVm migrating_vms = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.MigratingVm migrating_vms = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addMigratingVms( com.google.cloud.vmmigration.v1.MigratingVm.Builder builderForValue) { @@ -829,11 +933,15 @@ public Builder addMigratingVms( return this; } /** + * + * *
      * Output only. The list of Migrating VMs response.
      * 
* - * repeated .google.cloud.vmmigration.v1.MigratingVm migrating_vms = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.MigratingVm migrating_vms = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addMigratingVms( int index, com.google.cloud.vmmigration.v1.MigratingVm.Builder builderForValue) { @@ -847,18 +955,21 @@ public Builder addMigratingVms( return this; } /** + * + * *
      * Output only. The list of Migrating VMs response.
      * 
* - * repeated .google.cloud.vmmigration.v1.MigratingVm migrating_vms = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.MigratingVm migrating_vms = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addAllMigratingVms( java.lang.Iterable values) { if (migratingVmsBuilder_ == null) { ensureMigratingVmsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, migratingVms_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, migratingVms_); onChanged(); } else { migratingVmsBuilder_.addAllMessages(values); @@ -866,11 +977,15 @@ public Builder addAllMigratingVms( return this; } /** + * + * *
      * Output only. The list of Migrating VMs response.
      * 
* - * repeated .google.cloud.vmmigration.v1.MigratingVm migrating_vms = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.MigratingVm migrating_vms = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearMigratingVms() { if (migratingVmsBuilder_ == null) { @@ -883,11 +998,15 @@ public Builder clearMigratingVms() { return this; } /** + * + * *
      * Output only. The list of Migrating VMs response.
      * 
* - * repeated .google.cloud.vmmigration.v1.MigratingVm migrating_vms = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.MigratingVm migrating_vms = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder removeMigratingVms(int index) { if (migratingVmsBuilder_ == null) { @@ -900,39 +1019,51 @@ public Builder removeMigratingVms(int index) { return this; } /** + * + * *
      * Output only. The list of Migrating VMs response.
      * 
* - * repeated .google.cloud.vmmigration.v1.MigratingVm migrating_vms = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.MigratingVm migrating_vms = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.vmmigration.v1.MigratingVm.Builder getMigratingVmsBuilder( - int index) { + public com.google.cloud.vmmigration.v1.MigratingVm.Builder getMigratingVmsBuilder(int index) { return getMigratingVmsFieldBuilder().getBuilder(index); } /** + * + * *
      * Output only. The list of Migrating VMs response.
      * 
* - * repeated .google.cloud.vmmigration.v1.MigratingVm migrating_vms = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.MigratingVm migrating_vms = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.vmmigration.v1.MigratingVmOrBuilder getMigratingVmsOrBuilder( int index) { if (migratingVmsBuilder_ == null) { - return migratingVms_.get(index); } else { + return migratingVms_.get(index); + } else { return migratingVmsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Output only. The list of Migrating VMs response.
      * 
* - * repeated .google.cloud.vmmigration.v1.MigratingVm migrating_vms = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.MigratingVm migrating_vms = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public java.util.List - getMigratingVmsOrBuilderList() { + public java.util.List + getMigratingVmsOrBuilderList() { if (migratingVmsBuilder_ != null) { return migratingVmsBuilder_.getMessageOrBuilderList(); } else { @@ -940,49 +1071,63 @@ public com.google.cloud.vmmigration.v1.MigratingVmOrBuilder getMigratingVmsOrBui } } /** + * + * *
      * Output only. The list of Migrating VMs response.
      * 
* - * repeated .google.cloud.vmmigration.v1.MigratingVm migrating_vms = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.MigratingVm migrating_vms = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.vmmigration.v1.MigratingVm.Builder addMigratingVmsBuilder() { - return getMigratingVmsFieldBuilder().addBuilder( - com.google.cloud.vmmigration.v1.MigratingVm.getDefaultInstance()); + return getMigratingVmsFieldBuilder() + .addBuilder(com.google.cloud.vmmigration.v1.MigratingVm.getDefaultInstance()); } /** + * + * *
      * Output only. The list of Migrating VMs response.
      * 
* - * repeated .google.cloud.vmmigration.v1.MigratingVm migrating_vms = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.MigratingVm migrating_vms = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.vmmigration.v1.MigratingVm.Builder addMigratingVmsBuilder( - int index) { - return getMigratingVmsFieldBuilder().addBuilder( - index, com.google.cloud.vmmigration.v1.MigratingVm.getDefaultInstance()); + public com.google.cloud.vmmigration.v1.MigratingVm.Builder addMigratingVmsBuilder(int index) { + return getMigratingVmsFieldBuilder() + .addBuilder(index, com.google.cloud.vmmigration.v1.MigratingVm.getDefaultInstance()); } /** + * + * *
      * Output only. The list of Migrating VMs response.
      * 
* - * repeated .google.cloud.vmmigration.v1.MigratingVm migrating_vms = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.MigratingVm migrating_vms = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public java.util.List - getMigratingVmsBuilderList() { + public java.util.List + getMigratingVmsBuilderList() { return getMigratingVmsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.vmmigration.v1.MigratingVm, com.google.cloud.vmmigration.v1.MigratingVm.Builder, com.google.cloud.vmmigration.v1.MigratingVmOrBuilder> + com.google.cloud.vmmigration.v1.MigratingVm, + com.google.cloud.vmmigration.v1.MigratingVm.Builder, + com.google.cloud.vmmigration.v1.MigratingVmOrBuilder> getMigratingVmsFieldBuilder() { if (migratingVmsBuilder_ == null) { - migratingVmsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.vmmigration.v1.MigratingVm, com.google.cloud.vmmigration.v1.MigratingVm.Builder, com.google.cloud.vmmigration.v1.MigratingVmOrBuilder>( - migratingVms_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + migratingVmsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.vmmigration.v1.MigratingVm, + com.google.cloud.vmmigration.v1.MigratingVm.Builder, + com.google.cloud.vmmigration.v1.MigratingVmOrBuilder>( + migratingVms_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); migratingVms_ = null; } return migratingVmsBuilder_; @@ -990,19 +1135,21 @@ public com.google.cloud.vmmigration.v1.MigratingVm.Builder addMigratingVmsBuilde private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * Output only. A token, which can be sent as `page_token` to retrieve the
      * next page. If this field is omitted, there are no subsequent pages.
      * 
* * 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; @@ -1011,21 +1158,22 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * Output only. A token, which can be sent as `page_token` to retrieve the
      * next page. If this field is omitted, there are no subsequent pages.
      * 
* * 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 { @@ -1033,98 +1181,115 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * Output only. A token, which can be sent as `page_token` to retrieve the
      * next page. If this field is omitted, there are no subsequent pages.
      * 
* * 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) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** + * + * *
      * Output only. A token, which can be sent as `page_token` to retrieve the
      * next page. If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** + * + * *
      * Output only. A token, which can be sent as `page_token` to retrieve the
      * next page. If this field is omitted, there are no subsequent pages.
      * 
* * 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) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList unreachable_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList unreachable_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureUnreachableIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { unreachable_ = new com.google.protobuf.LazyStringArrayList(unreachable_); bitField0_ |= 0x00000002; - } + } } /** + * + * *
      * Output only. Locations that could not be reached.
      * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return A list containing the unreachable. */ - public com.google.protobuf.ProtocolStringList - getUnreachableList() { + public com.google.protobuf.ProtocolStringList getUnreachableList() { return unreachable_.getUnmodifiableView(); } /** + * + * *
      * Output only. Locations that could not be reached.
      * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** + * + * *
      * Output only. Locations that could not be reached.
      * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -1132,80 +1297,90 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** + * + * *
      * Output only. Locations that could not be reached.
      * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - public com.google.protobuf.ByteString - getUnreachableBytes(int index) { + public com.google.protobuf.ByteString getUnreachableBytes(int index) { return unreachable_.getByteString(index); } /** + * + * *
      * Output only. Locations that could not be reached.
      * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param index The index to set the value at. * @param value The unreachable to set. * @return This builder for chaining. */ - public Builder setUnreachable( - int index, java.lang.String value) { + public Builder setUnreachable(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUnreachableIsMutable(); + throw new NullPointerException(); + } + ensureUnreachableIsMutable(); unreachable_.set(index, value); onChanged(); return this; } /** + * + * *
      * Output only. Locations that could not be reached.
      * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The unreachable to add. * @return This builder for chaining. */ - public Builder addUnreachable( - java.lang.String value) { + public Builder addUnreachable(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUnreachableIsMutable(); + throw new NullPointerException(); + } + ensureUnreachableIsMutable(); unreachable_.add(value); onChanged(); return this; } /** + * + * *
      * Output only. Locations that could not be reached.
      * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param values The unreachable to add. * @return This builder for chaining. */ - public Builder addAllUnreachable( - java.lang.Iterable values) { + public Builder addAllUnreachable(java.lang.Iterable values) { ensureUnreachableIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, unreachable_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, unreachable_); onChanged(); return this; } /** + * + * *
      * Output only. Locations that could not be reached.
      * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearUnreachable() { @@ -1215,28 +1390,30 @@ public Builder clearUnreachable() { return this; } /** + * + * *
      * Output only. Locations that could not be reached.
      * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes of the unreachable to add. * @return This builder for chaining. */ - public Builder addUnreachableBytes( - com.google.protobuf.ByteString value) { + public Builder addUnreachableBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureUnreachableIsMutable(); unreachable_.add(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); } @@ -1246,12 +1423,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.vmmigration.v1.ListMigratingVmsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.vmmigration.v1.ListMigratingVmsResponse) private static final com.google.cloud.vmmigration.v1.ListMigratingVmsResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.vmmigration.v1.ListMigratingVmsResponse(); } @@ -1260,16 +1437,16 @@ public static com.google.cloud.vmmigration.v1.ListMigratingVmsResponse getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListMigratingVmsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListMigratingVmsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListMigratingVmsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListMigratingVmsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1284,6 +1461,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.vmmigration.v1.ListMigratingVmsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListMigratingVmsResponseOrBuilder.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListMigratingVmsResponseOrBuilder.java similarity index 61% rename from owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListMigratingVmsResponseOrBuilder.java rename to proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListMigratingVmsResponseOrBuilder.java index dd246cb..00df716 100644 --- a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListMigratingVmsResponseOrBuilder.java +++ b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListMigratingVmsResponseOrBuilder.java @@ -1,116 +1,165 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; -public interface ListMigratingVmsResponseOrBuilder extends +public interface ListMigratingVmsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.ListMigratingVmsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. The list of Migrating VMs response.
    * 
* - * repeated .google.cloud.vmmigration.v1.MigratingVm migrating_vms = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.MigratingVm migrating_vms = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - java.util.List - getMigratingVmsList(); + java.util.List getMigratingVmsList(); /** + * + * *
    * Output only. The list of Migrating VMs response.
    * 
* - * repeated .google.cloud.vmmigration.v1.MigratingVm migrating_vms = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.MigratingVm migrating_vms = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.cloud.vmmigration.v1.MigratingVm getMigratingVms(int index); /** + * + * *
    * Output only. The list of Migrating VMs response.
    * 
* - * repeated .google.cloud.vmmigration.v1.MigratingVm migrating_vms = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.MigratingVm migrating_vms = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ int getMigratingVmsCount(); /** + * + * *
    * Output only. The list of Migrating VMs response.
    * 
* - * repeated .google.cloud.vmmigration.v1.MigratingVm migrating_vms = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.MigratingVm migrating_vms = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - java.util.List + java.util.List getMigratingVmsOrBuilderList(); /** + * + * *
    * Output only. The list of Migrating VMs response.
    * 
* - * repeated .google.cloud.vmmigration.v1.MigratingVm migrating_vms = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.MigratingVm migrating_vms = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - com.google.cloud.vmmigration.v1.MigratingVmOrBuilder getMigratingVmsOrBuilder( - int index); + com.google.cloud.vmmigration.v1.MigratingVmOrBuilder getMigratingVmsOrBuilder(int index); /** + * + * *
    * Output only. A token, which can be sent as `page_token` to retrieve the
    * next page. If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * Output only. A token, which can be sent as `page_token` to retrieve the
    * next page. If this field is omitted, there are no subsequent pages.
    * 
* * 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(); /** + * + * *
    * Output only. Locations that could not be reached.
    * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return A list containing the unreachable. */ - java.util.List - getUnreachableList(); + java.util.List getUnreachableList(); /** + * + * *
    * Output only. Locations that could not be reached.
    * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The count of unreachable. */ int getUnreachableCount(); /** + * + * *
    * Output only. Locations that could not be reached.
    * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param index The index of the element to return. * @return The unreachable at the given index. */ java.lang.String getUnreachable(int index); /** + * + * *
    * Output only. Locations that could not be reached.
    * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - com.google.protobuf.ByteString - getUnreachableBytes(int index); + com.google.protobuf.ByteString getUnreachableBytes(int index); } diff --git a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListSourcesRequest.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListSourcesRequest.java similarity index 71% rename from owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListSourcesRequest.java rename to proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListSourcesRequest.java index 35bda70..2f676bd 100644 --- a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListSourcesRequest.java +++ b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListSourcesRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; /** + * + * *
  * Request message for 'ListSources' request.
  * 
* * Protobuf type {@code google.cloud.vmmigration.v1.ListSourcesRequest} */ -public final class ListSourcesRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListSourcesRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.vmmigration.v1.ListSourcesRequest) ListSourcesRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListSourcesRequest.newBuilder() to construct. private ListSourcesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListSourcesRequest() { parent_ = ""; pageToken_ = ""; @@ -28,16 +46,15 @@ private ListSourcesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListSourcesRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListSourcesRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -56,42 +73,46 @@ private ListSourcesRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - parent_ = s; - break; - } - case 16: { + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - pageSize_ = input.readInt32(); - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: + { + pageSize_ = input.readInt32(); + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - pageToken_ = s; - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); + pageToken_ = s; + break; + } + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); - filter_ = s; - break; - } - case 42: { - java.lang.String s = input.readStringRequireUtf8(); + filter_ = s; + break; + } + case 42: + { + java.lang.String s = input.readStringRequireUtf8(); - orderBy_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + orderBy_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -99,34 +120,41 @@ private ListSourcesRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ListSourcesRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_ListSourcesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ListSourcesRequest_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_ListSourcesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.ListSourcesRequest.class, com.google.cloud.vmmigration.v1.ListSourcesRequest.Builder.class); + com.google.cloud.vmmigration.v1.ListSourcesRequest.class, + com.google.cloud.vmmigration.v1.ListSourcesRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The parent, which owns this collection of sources.
    * 
* - * 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 @@ -135,29 +163,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 parent, which owns this collection of sources.
    * 
* - * 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 { @@ -168,6 +198,8 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** + * + * *
    * Optional. The maximum number of sources to return. The service may return
    * fewer than this value. If unspecified, at most 500 sources will be
@@ -176,6 +208,7 @@ public java.lang.String getParent() {
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -186,6 +219,8 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** + * + * *
    * Required. A page token, received from a previous `ListSources` call.
    * Provide this to retrieve the subsequent page.
@@ -194,6 +229,7 @@ public int getPageSize() {
    * 
* * string page_token = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The pageToken. */ @java.lang.Override @@ -202,14 +238,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; } } /** + * + * *
    * Required. A page token, received from a previous `ListSources` call.
    * Provide this to retrieve the subsequent page.
@@ -218,16 +255,15 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @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 { @@ -238,11 +274,14 @@ public java.lang.String getPageToken() { public static final int FILTER_FIELD_NUMBER = 4; private volatile java.lang.Object filter_; /** + * + * *
    * Optional. The filter request.
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The filter. */ @java.lang.Override @@ -251,29 +290,29 @@ public java.lang.String getFilter() { 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(); filter_ = s; return s; } } /** + * + * *
    * Optional. The filter request.
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for filter. */ @java.lang.Override - public com.google.protobuf.ByteString - getFilterBytes() { + public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; 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); filter_ = b; return b; } else { @@ -284,11 +323,14 @@ public java.lang.String getFilter() { public static final int ORDER_BY_FIELD_NUMBER = 5; private volatile java.lang.Object orderBy_; /** + * + * *
    * Optional. the order by fields for the result.
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The orderBy. */ @java.lang.Override @@ -297,29 +339,29 @@ public java.lang.String getOrderBy() { 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(); orderBy_ = s; return s; } } /** + * + * *
    * Optional. the order by fields for the result.
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for orderBy. */ @java.lang.Override - public com.google.protobuf.ByteString - getOrderByBytes() { + public com.google.protobuf.ByteString getOrderByBytes() { java.lang.Object ref = orderBy_; 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); orderBy_ = b; return b; } else { @@ -328,6 +370,7 @@ public java.lang.String getOrderBy() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -339,8 +382,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_); } @@ -369,8 +411,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -389,23 +430,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.vmmigration.v1.ListSourcesRequest)) { return super.equals(obj); } - com.google.cloud.vmmigration.v1.ListSourcesRequest other = (com.google.cloud.vmmigration.v1.ListSourcesRequest) obj; - - if (!getParent() - .equals(other.getParent())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; - if (!getFilter() - .equals(other.getFilter())) return false; - if (!getOrderBy() - .equals(other.getOrderBy())) return false; + com.google.cloud.vmmigration.v1.ListSourcesRequest other = + (com.google.cloud.vmmigration.v1.ListSourcesRequest) obj; + + if (!getParent().equals(other.getParent())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; + if (!getFilter().equals(other.getFilter())) return false; + if (!getOrderBy().equals(other.getOrderBy())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -433,117 +470,126 @@ public int hashCode() { } public static com.google.cloud.vmmigration.v1.ListSourcesRequest 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.vmmigration.v1.ListSourcesRequest 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.vmmigration.v1.ListSourcesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.vmmigration.v1.ListSourcesRequest 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.vmmigration.v1.ListSourcesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.vmmigration.v1.ListSourcesRequest 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.vmmigration.v1.ListSourcesRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.vmmigration.v1.ListSourcesRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.vmmigration.v1.ListSourcesRequest 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.vmmigration.v1.ListSourcesRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.vmmigration.v1.ListSourcesRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.vmmigration.v1.ListSourcesRequest 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.vmmigration.v1.ListSourcesRequest 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.vmmigration.v1.ListSourcesRequest 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.vmmigration.v1.ListSourcesRequest 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 message for 'ListSources' request.
    * 
* * Protobuf type {@code google.cloud.vmmigration.v1.ListSourcesRequest} */ - 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.vmmigration.v1.ListSourcesRequest) com.google.cloud.vmmigration.v1.ListSourcesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ListSourcesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_ListSourcesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ListSourcesRequest_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_ListSourcesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.ListSourcesRequest.class, com.google.cloud.vmmigration.v1.ListSourcesRequest.Builder.class); + com.google.cloud.vmmigration.v1.ListSourcesRequest.class, + com.google.cloud.vmmigration.v1.ListSourcesRequest.Builder.class); } // Construct using com.google.cloud.vmmigration.v1.ListSourcesRequest.newBuilder() @@ -551,16 +597,15 @@ 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) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -578,9 +623,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ListSourcesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_ListSourcesRequest_descriptor; } @java.lang.Override @@ -599,7 +644,8 @@ public com.google.cloud.vmmigration.v1.ListSourcesRequest build() { @java.lang.Override public com.google.cloud.vmmigration.v1.ListSourcesRequest buildPartial() { - com.google.cloud.vmmigration.v1.ListSourcesRequest result = new com.google.cloud.vmmigration.v1.ListSourcesRequest(this); + com.google.cloud.vmmigration.v1.ListSourcesRequest result = + new com.google.cloud.vmmigration.v1.ListSourcesRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -613,38 +659,39 @@ public com.google.cloud.vmmigration.v1.ListSourcesRequest buildPartial() { 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.vmmigration.v1.ListSourcesRequest) { - return mergeFrom((com.google.cloud.vmmigration.v1.ListSourcesRequest)other); + return mergeFrom((com.google.cloud.vmmigration.v1.ListSourcesRequest) other); } else { super.mergeFrom(other); return this; @@ -652,7 +699,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.vmmigration.v1.ListSourcesRequest other) { - if (other == com.google.cloud.vmmigration.v1.ListSourcesRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.vmmigration.v1.ListSourcesRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -691,7 +739,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.vmmigration.v1.ListSourcesRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.vmmigration.v1.ListSourcesRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -703,18 +752,22 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The parent, which owns this collection of sources.
      * 
* - * 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; @@ -723,20 +776,23 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent, which owns this collection of sources.
      * 
* - * 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 { @@ -744,61 +800,76 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent, which owns this collection of sources.
      * 
* - * 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) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. The parent, which owns this collection of sources.
      * 
* - * 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() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The parent, which owns this collection of sources.
      * 
* - * 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) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * Optional. The maximum number of sources to return. The service may return
      * fewer than this value. If unspecified, at most 500 sources will be
@@ -807,6 +878,7 @@ public Builder setParentBytes(
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -814,6 +886,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * Optional. The maximum number of sources to return. The service may return
      * fewer than this value. If unspecified, at most 500 sources will be
@@ -822,16 +896,19 @@ public int getPageSize() {
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** + * + * *
      * Optional. The maximum number of sources to return. The service may return
      * fewer than this value. If unspecified, at most 500 sources will be
@@ -840,10 +917,11 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -851,6 +929,8 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * Required. A page token, received from a previous `ListSources` call.
      * Provide this to retrieve the subsequent page.
@@ -859,13 +939,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @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; @@ -874,6 +954,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Required. A page token, received from a previous `ListSources` call.
      * Provide this to retrieve the subsequent page.
@@ -882,15 +964,14 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @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 { @@ -898,6 +979,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Required. A page token, received from a previous `ListSources` call.
      * Provide this to retrieve the subsequent page.
@@ -906,20 +989,22 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
      * Required. A page token, received from a previous `ListSources` call.
      * Provide this to retrieve the subsequent page.
@@ -928,15 +1013,18 @@ public Builder setPageToken(
      * 
* * string page_token = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * Required. A page token, received from a previous `ListSources` call.
      * Provide this to retrieve the subsequent page.
@@ -945,16 +1033,16 @@ public Builder clearPageToken() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; @@ -962,18 +1050,20 @@ public Builder setPageTokenBytes( private java.lang.Object filter_ = ""; /** + * + * *
      * Optional. The filter request.
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; 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(); filter_ = s; return s; @@ -982,20 +1072,21 @@ public java.lang.String getFilter() { } } /** + * + * *
      * Optional. The filter request.
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for filter. */ - public com.google.protobuf.ByteString - getFilterBytes() { + public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; 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); filter_ = b; return b; } else { @@ -1003,54 +1094,61 @@ public java.lang.String getFilter() { } } /** + * + * *
      * Optional. The filter request.
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter( - java.lang.String value) { + public Builder setFilter(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; onChanged(); return this; } /** + * + * *
      * Optional. The filter request.
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** + * + * *
      * Optional. The filter request.
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes( - com.google.protobuf.ByteString value) { + public Builder setFilterBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = value; onChanged(); return this; @@ -1058,18 +1156,20 @@ public Builder setFilterBytes( private java.lang.Object orderBy_ = ""; /** + * + * *
      * Optional. the order by fields for the result.
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The orderBy. */ public java.lang.String getOrderBy() { java.lang.Object ref = orderBy_; 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(); orderBy_ = s; return s; @@ -1078,20 +1178,21 @@ public java.lang.String getOrderBy() { } } /** + * + * *
      * Optional. the order by fields for the result.
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for orderBy. */ - public com.google.protobuf.ByteString - getOrderByBytes() { + public com.google.protobuf.ByteString getOrderByBytes() { java.lang.Object ref = orderBy_; 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); orderBy_ = b; return b; } else { @@ -1099,61 +1200,68 @@ public java.lang.String getOrderBy() { } } /** + * + * *
      * Optional. the order by fields for the result.
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The orderBy to set. * @return This builder for chaining. */ - public Builder setOrderBy( - java.lang.String value) { + public Builder setOrderBy(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + orderBy_ = value; onChanged(); return this; } /** + * + * *
      * Optional. the order by fields for the result.
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearOrderBy() { - + orderBy_ = getDefaultInstance().getOrderBy(); onChanged(); return this; } /** + * + * *
      * Optional. the order by fields for the result.
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for orderBy to set. * @return This builder for chaining. */ - public Builder setOrderByBytes( - com.google.protobuf.ByteString value) { + public Builder setOrderByBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + orderBy_ = 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); } @@ -1163,12 +1271,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.vmmigration.v1.ListSourcesRequest) } // @@protoc_insertion_point(class_scope:google.cloud.vmmigration.v1.ListSourcesRequest) private static final com.google.cloud.vmmigration.v1.ListSourcesRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.vmmigration.v1.ListSourcesRequest(); } @@ -1177,16 +1285,16 @@ public static com.google.cloud.vmmigration.v1.ListSourcesRequest getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListSourcesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListSourcesRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListSourcesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListSourcesRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1201,6 +1309,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.vmmigration.v1.ListSourcesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListSourcesRequestOrBuilder.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListSourcesRequestOrBuilder.java similarity index 68% rename from owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListSourcesRequestOrBuilder.java rename to proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListSourcesRequestOrBuilder.java index 5b183b3..eb57637 100644 --- a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListSourcesRequestOrBuilder.java +++ b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListSourcesRequestOrBuilder.java @@ -1,33 +1,60 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; -public interface ListSourcesRequestOrBuilder extends +public interface ListSourcesRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.ListSourcesRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The parent, which owns this collection of sources.
    * 
* - * 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 parent, which owns this collection of sources.
    * 
* - * 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(); /** + * + * *
    * Optional. The maximum number of sources to return. The service may return
    * fewer than this value. If unspecified, at most 500 sources will be
@@ -36,11 +63,14 @@ public interface ListSourcesRequestOrBuilder extends
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * Required. A page token, received from a previous `ListSources` call.
    * Provide this to retrieve the subsequent page.
@@ -49,10 +79,13 @@ public interface ListSourcesRequestOrBuilder extends
    * 
* * string page_token = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * Required. A page token, received from a previous `ListSources` call.
    * Provide this to retrieve the subsequent page.
@@ -61,48 +94,58 @@ public interface ListSourcesRequestOrBuilder extends
    * 
* * string page_token = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); /** + * + * *
    * Optional. The filter request.
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The filter. */ java.lang.String getFilter(); /** + * + * *
    * Optional. The filter request.
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for filter. */ - com.google.protobuf.ByteString - getFilterBytes(); + com.google.protobuf.ByteString getFilterBytes(); /** + * + * *
    * Optional. the order by fields for the result.
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The orderBy. */ java.lang.String getOrderBy(); /** + * + * *
    * Optional. the order by fields for the result.
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for orderBy. */ - com.google.protobuf.ByteString - getOrderByBytes(); + com.google.protobuf.ByteString getOrderByBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListSourcesResponse.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListSourcesResponse.java similarity index 68% rename from owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListSourcesResponse.java rename to proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListSourcesResponse.java index 6204052..bbc8a88 100644 --- a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListSourcesResponse.java +++ b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListSourcesResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; /** + * + * *
  * Response message for 'ListSources' request.
  * 
* * Protobuf type {@code google.cloud.vmmigration.v1.ListSourcesResponse} */ -public final class ListSourcesResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListSourcesResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.vmmigration.v1.ListSourcesResponse) ListSourcesResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListSourcesResponse.newBuilder() to construct. private ListSourcesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListSourcesResponse() { sources_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -27,16 +45,15 @@ private ListSourcesResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListSourcesResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListSourcesResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -56,37 +73,41 @@ private ListSourcesResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - sources_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + sources_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + sources_.add( + input.readMessage( + com.google.cloud.vmmigration.v1.Source.parser(), extensionRegistry)); + break; } - sources_.add( - input.readMessage(com.google.cloud.vmmigration.v1.Source.parser(), extensionRegistry)); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - unreachable_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000002; + nextPageToken_ = s; + break; } - unreachable_.add(s); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + unreachable_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000002; + } + unreachable_.add(s); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -94,8 +115,7 @@ private ListSourcesResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { sources_ = java.util.Collections.unmodifiableList(sources_); @@ -107,88 +127,113 @@ private ListSourcesResponse( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ListSourcesResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_ListSourcesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ListSourcesResponse_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_ListSourcesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.ListSourcesResponse.class, com.google.cloud.vmmigration.v1.ListSourcesResponse.Builder.class); + com.google.cloud.vmmigration.v1.ListSourcesResponse.class, + com.google.cloud.vmmigration.v1.ListSourcesResponse.Builder.class); } public static final int SOURCES_FIELD_NUMBER = 1; private java.util.List sources_; /** + * + * *
    * Output only. The list of sources response.
    * 
* - * repeated .google.cloud.vmmigration.v1.Source sources = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.Source sources = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public java.util.List getSourcesList() { return sources_; } /** + * + * *
    * Output only. The list of sources response.
    * 
* - * repeated .google.cloud.vmmigration.v1.Source sources = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.Source sources = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public java.util.List + public java.util.List getSourcesOrBuilderList() { return sources_; } /** + * + * *
    * Output only. The list of sources response.
    * 
* - * repeated .google.cloud.vmmigration.v1.Source sources = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.Source sources = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public int getSourcesCount() { return sources_.size(); } /** + * + * *
    * Output only. The list of sources response.
    * 
* - * repeated .google.cloud.vmmigration.v1.Source sources = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.Source sources = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.vmmigration.v1.Source getSources(int index) { return sources_.get(index); } /** + * + * *
    * Output only. The list of sources response.
    * 
* - * repeated .google.cloud.vmmigration.v1.Source sources = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.Source sources = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public com.google.cloud.vmmigration.v1.SourceOrBuilder getSourcesOrBuilder( - int index) { + public com.google.cloud.vmmigration.v1.SourceOrBuilder getSourcesOrBuilder(int index) { return sources_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** + * + * *
    * Output only. A token, which can be sent as `page_token` to retrieve the
    * next page. If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The nextPageToken. */ @java.lang.Override @@ -197,30 +242,30 @@ 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. A token, which can be sent as `page_token` to retrieve the
    * next page. If this field is omitted, there are no subsequent pages.
    * 
* * 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 { @@ -231,34 +276,42 @@ public java.lang.String getNextPageToken() { public static final int UNREACHABLE_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList unreachable_; /** + * + * *
    * Output only. Locations that could not be reached.
    * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return A list containing the unreachable. */ - public com.google.protobuf.ProtocolStringList - getUnreachableList() { + public com.google.protobuf.ProtocolStringList getUnreachableList() { return unreachable_; } /** + * + * *
    * Output only. Locations that could not be reached.
    * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** + * + * *
    * Output only. Locations that could not be reached.
    * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -266,20 +319,23 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** + * + * *
    * Output only. Locations that could not be reached.
    * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - public com.google.protobuf.ByteString - getUnreachableBytes(int index) { + public com.google.protobuf.ByteString getUnreachableBytes(int index) { return unreachable_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -291,8 +347,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 < sources_.size(); i++) { output.writeMessage(1, sources_.get(i)); } @@ -312,8 +367,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < sources_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, sources_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, sources_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -334,19 +388,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.vmmigration.v1.ListSourcesResponse)) { return super.equals(obj); } - com.google.cloud.vmmigration.v1.ListSourcesResponse other = (com.google.cloud.vmmigration.v1.ListSourcesResponse) obj; + com.google.cloud.vmmigration.v1.ListSourcesResponse other = + (com.google.cloud.vmmigration.v1.ListSourcesResponse) obj; - if (!getSourcesList() - .equals(other.getSourcesList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; - if (!getUnreachableList() - .equals(other.getUnreachableList())) return false; + if (!getSourcesList().equals(other.getSourcesList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getUnreachableList().equals(other.getUnreachableList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -374,117 +426,126 @@ public int hashCode() { } public static com.google.cloud.vmmigration.v1.ListSourcesResponse 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.vmmigration.v1.ListSourcesResponse 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.vmmigration.v1.ListSourcesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.vmmigration.v1.ListSourcesResponse 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.vmmigration.v1.ListSourcesResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.vmmigration.v1.ListSourcesResponse 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.vmmigration.v1.ListSourcesResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.vmmigration.v1.ListSourcesResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.vmmigration.v1.ListSourcesResponse 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.vmmigration.v1.ListSourcesResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.vmmigration.v1.ListSourcesResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.vmmigration.v1.ListSourcesResponse 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.vmmigration.v1.ListSourcesResponse 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.vmmigration.v1.ListSourcesResponse 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.vmmigration.v1.ListSourcesResponse 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; } /** + * + * *
    * Response message for 'ListSources' request.
    * 
* * Protobuf type {@code google.cloud.vmmigration.v1.ListSourcesResponse} */ - 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.vmmigration.v1.ListSourcesResponse) com.google.cloud.vmmigration.v1.ListSourcesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ListSourcesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_ListSourcesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ListSourcesResponse_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_ListSourcesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.ListSourcesResponse.class, com.google.cloud.vmmigration.v1.ListSourcesResponse.Builder.class); + com.google.cloud.vmmigration.v1.ListSourcesResponse.class, + com.google.cloud.vmmigration.v1.ListSourcesResponse.Builder.class); } // Construct using com.google.cloud.vmmigration.v1.ListSourcesResponse.newBuilder() @@ -492,17 +553,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) { getSourcesFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -520,9 +581,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ListSourcesResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_ListSourcesResponse_descriptor; } @java.lang.Override @@ -541,7 +602,8 @@ public com.google.cloud.vmmigration.v1.ListSourcesResponse build() { @java.lang.Override public com.google.cloud.vmmigration.v1.ListSourcesResponse buildPartial() { - com.google.cloud.vmmigration.v1.ListSourcesResponse result = new com.google.cloud.vmmigration.v1.ListSourcesResponse(this); + com.google.cloud.vmmigration.v1.ListSourcesResponse result = + new com.google.cloud.vmmigration.v1.ListSourcesResponse(this); int from_bitField0_ = bitField0_; if (sourcesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -566,38 +628,39 @@ public com.google.cloud.vmmigration.v1.ListSourcesResponse buildPartial() { 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.vmmigration.v1.ListSourcesResponse) { - return mergeFrom((com.google.cloud.vmmigration.v1.ListSourcesResponse)other); + return mergeFrom((com.google.cloud.vmmigration.v1.ListSourcesResponse) other); } else { super.mergeFrom(other); return this; @@ -605,7 +668,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.vmmigration.v1.ListSourcesResponse other) { - if (other == com.google.cloud.vmmigration.v1.ListSourcesResponse.getDefaultInstance()) return this; + if (other == com.google.cloud.vmmigration.v1.ListSourcesResponse.getDefaultInstance()) + return this; if (sourcesBuilder_ == null) { if (!other.sources_.isEmpty()) { if (sources_.isEmpty()) { @@ -624,9 +688,10 @@ public Builder mergeFrom(com.google.cloud.vmmigration.v1.ListSourcesResponse oth sourcesBuilder_ = null; sources_ = other.sources_; bitField0_ = (bitField0_ & ~0x00000001); - sourcesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getSourcesFieldBuilder() : null; + sourcesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getSourcesFieldBuilder() + : null; } else { sourcesBuilder_.addAllMessages(other.sources_); } @@ -665,7 +730,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.vmmigration.v1.ListSourcesResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.vmmigration.v1.ListSourcesResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -674,26 +740,35 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.util.List sources_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureSourcesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { sources_ = new java.util.ArrayList(sources_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.vmmigration.v1.Source, com.google.cloud.vmmigration.v1.Source.Builder, com.google.cloud.vmmigration.v1.SourceOrBuilder> sourcesBuilder_; + com.google.cloud.vmmigration.v1.Source, + com.google.cloud.vmmigration.v1.Source.Builder, + com.google.cloud.vmmigration.v1.SourceOrBuilder> + sourcesBuilder_; /** + * + * *
      * Output only. The list of sources response.
      * 
* - * repeated .google.cloud.vmmigration.v1.Source sources = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.Source sources = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public java.util.List getSourcesList() { if (sourcesBuilder_ == null) { @@ -703,11 +778,15 @@ public java.util.List getSourcesList() { } } /** + * + * *
      * Output only. The list of sources response.
      * 
* - * repeated .google.cloud.vmmigration.v1.Source sources = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.Source sources = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public int getSourcesCount() { if (sourcesBuilder_ == null) { @@ -717,11 +796,15 @@ public int getSourcesCount() { } } /** + * + * *
      * Output only. The list of sources response.
      * 
* - * repeated .google.cloud.vmmigration.v1.Source sources = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.Source sources = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.vmmigration.v1.Source getSources(int index) { if (sourcesBuilder_ == null) { @@ -731,14 +814,17 @@ public com.google.cloud.vmmigration.v1.Source getSources(int index) { } } /** + * + * *
      * Output only. The list of sources response.
      * 
* - * repeated .google.cloud.vmmigration.v1.Source sources = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.Source sources = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setSources( - int index, com.google.cloud.vmmigration.v1.Source value) { + public Builder setSources(int index, com.google.cloud.vmmigration.v1.Source value) { if (sourcesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -752,11 +838,15 @@ public Builder setSources( return this; } /** + * + * *
      * Output only. The list of sources response.
      * 
* - * repeated .google.cloud.vmmigration.v1.Source sources = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.Source sources = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setSources( int index, com.google.cloud.vmmigration.v1.Source.Builder builderForValue) { @@ -770,11 +860,15 @@ public Builder setSources( return this; } /** + * + * *
      * Output only. The list of sources response.
      * 
* - * repeated .google.cloud.vmmigration.v1.Source sources = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.Source sources = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addSources(com.google.cloud.vmmigration.v1.Source value) { if (sourcesBuilder_ == null) { @@ -790,14 +884,17 @@ public Builder addSources(com.google.cloud.vmmigration.v1.Source value) { return this; } /** + * + * *
      * Output only. The list of sources response.
      * 
* - * repeated .google.cloud.vmmigration.v1.Source sources = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.Source sources = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder addSources( - int index, com.google.cloud.vmmigration.v1.Source value) { + public Builder addSources(int index, com.google.cloud.vmmigration.v1.Source value) { if (sourcesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -811,14 +908,17 @@ public Builder addSources( return this; } /** + * + * *
      * Output only. The list of sources response.
      * 
* - * repeated .google.cloud.vmmigration.v1.Source sources = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.Source sources = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder addSources( - com.google.cloud.vmmigration.v1.Source.Builder builderForValue) { + public Builder addSources(com.google.cloud.vmmigration.v1.Source.Builder builderForValue) { if (sourcesBuilder_ == null) { ensureSourcesIsMutable(); sources_.add(builderForValue.build()); @@ -829,11 +929,15 @@ public Builder addSources( return this; } /** + * + * *
      * Output only. The list of sources response.
      * 
* - * repeated .google.cloud.vmmigration.v1.Source sources = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.Source sources = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addSources( int index, com.google.cloud.vmmigration.v1.Source.Builder builderForValue) { @@ -847,18 +951,21 @@ public Builder addSources( return this; } /** + * + * *
      * Output only. The list of sources response.
      * 
* - * repeated .google.cloud.vmmigration.v1.Source sources = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.Source sources = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addAllSources( java.lang.Iterable values) { if (sourcesBuilder_ == null) { ensureSourcesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, sources_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, sources_); onChanged(); } else { sourcesBuilder_.addAllMessages(values); @@ -866,11 +973,15 @@ public Builder addAllSources( return this; } /** + * + * *
      * Output only. The list of sources response.
      * 
* - * repeated .google.cloud.vmmigration.v1.Source sources = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.Source sources = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearSources() { if (sourcesBuilder_ == null) { @@ -883,11 +994,15 @@ public Builder clearSources() { return this; } /** + * + * *
      * Output only. The list of sources response.
      * 
* - * repeated .google.cloud.vmmigration.v1.Source sources = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.Source sources = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder removeSources(int index) { if (sourcesBuilder_ == null) { @@ -900,39 +1015,50 @@ public Builder removeSources(int index) { return this; } /** + * + * *
      * Output only. The list of sources response.
      * 
* - * repeated .google.cloud.vmmigration.v1.Source sources = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.Source sources = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.vmmigration.v1.Source.Builder getSourcesBuilder( - int index) { + public com.google.cloud.vmmigration.v1.Source.Builder getSourcesBuilder(int index) { return getSourcesFieldBuilder().getBuilder(index); } /** + * + * *
      * Output only. The list of sources response.
      * 
* - * repeated .google.cloud.vmmigration.v1.Source sources = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.Source sources = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.vmmigration.v1.SourceOrBuilder getSourcesOrBuilder( - int index) { + public com.google.cloud.vmmigration.v1.SourceOrBuilder getSourcesOrBuilder(int index) { if (sourcesBuilder_ == null) { - return sources_.get(index); } else { + return sources_.get(index); + } else { return sourcesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Output only. The list of sources response.
      * 
* - * repeated .google.cloud.vmmigration.v1.Source sources = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.Source sources = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public java.util.List - getSourcesOrBuilderList() { + public java.util.List + getSourcesOrBuilderList() { if (sourcesBuilder_ != null) { return sourcesBuilder_.getMessageOrBuilderList(); } else { @@ -940,49 +1066,62 @@ public com.google.cloud.vmmigration.v1.SourceOrBuilder getSourcesOrBuilder( } } /** + * + * *
      * Output only. The list of sources response.
      * 
* - * repeated .google.cloud.vmmigration.v1.Source sources = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.Source sources = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.vmmigration.v1.Source.Builder addSourcesBuilder() { - return getSourcesFieldBuilder().addBuilder( - com.google.cloud.vmmigration.v1.Source.getDefaultInstance()); + return getSourcesFieldBuilder() + .addBuilder(com.google.cloud.vmmigration.v1.Source.getDefaultInstance()); } /** + * + * *
      * Output only. The list of sources response.
      * 
* - * repeated .google.cloud.vmmigration.v1.Source sources = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.Source sources = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.vmmigration.v1.Source.Builder addSourcesBuilder( - int index) { - return getSourcesFieldBuilder().addBuilder( - index, com.google.cloud.vmmigration.v1.Source.getDefaultInstance()); + public com.google.cloud.vmmigration.v1.Source.Builder addSourcesBuilder(int index) { + return getSourcesFieldBuilder() + .addBuilder(index, com.google.cloud.vmmigration.v1.Source.getDefaultInstance()); } /** + * + * *
      * Output only. The list of sources response.
      * 
* - * repeated .google.cloud.vmmigration.v1.Source sources = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.Source sources = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public java.util.List - getSourcesBuilderList() { + public java.util.List getSourcesBuilderList() { return getSourcesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.vmmigration.v1.Source, com.google.cloud.vmmigration.v1.Source.Builder, com.google.cloud.vmmigration.v1.SourceOrBuilder> + com.google.cloud.vmmigration.v1.Source, + com.google.cloud.vmmigration.v1.Source.Builder, + com.google.cloud.vmmigration.v1.SourceOrBuilder> getSourcesFieldBuilder() { if (sourcesBuilder_ == null) { - sourcesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.vmmigration.v1.Source, com.google.cloud.vmmigration.v1.Source.Builder, com.google.cloud.vmmigration.v1.SourceOrBuilder>( - sources_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + sourcesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.vmmigration.v1.Source, + com.google.cloud.vmmigration.v1.Source.Builder, + com.google.cloud.vmmigration.v1.SourceOrBuilder>( + sources_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); sources_ = null; } return sourcesBuilder_; @@ -990,19 +1129,21 @@ public com.google.cloud.vmmigration.v1.Source.Builder addSourcesBuilder( private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * Output only. A token, which can be sent as `page_token` to retrieve the
      * next page. If this field is omitted, there are no subsequent pages.
      * 
* * 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; @@ -1011,21 +1152,22 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * Output only. A token, which can be sent as `page_token` to retrieve the
      * next page. If this field is omitted, there are no subsequent pages.
      * 
* * 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 { @@ -1033,98 +1175,115 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * Output only. A token, which can be sent as `page_token` to retrieve the
      * next page. If this field is omitted, there are no subsequent pages.
      * 
* * 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) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** + * + * *
      * Output only. A token, which can be sent as `page_token` to retrieve the
      * next page. If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** + * + * *
      * Output only. A token, which can be sent as `page_token` to retrieve the
      * next page. If this field is omitted, there are no subsequent pages.
      * 
* * 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) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList unreachable_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList unreachable_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureUnreachableIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { unreachable_ = new com.google.protobuf.LazyStringArrayList(unreachable_); bitField0_ |= 0x00000002; - } + } } /** + * + * *
      * Output only. Locations that could not be reached.
      * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return A list containing the unreachable. */ - public com.google.protobuf.ProtocolStringList - getUnreachableList() { + public com.google.protobuf.ProtocolStringList getUnreachableList() { return unreachable_.getUnmodifiableView(); } /** + * + * *
      * Output only. Locations that could not be reached.
      * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** + * + * *
      * Output only. Locations that could not be reached.
      * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -1132,80 +1291,90 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** + * + * *
      * Output only. Locations that could not be reached.
      * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - public com.google.protobuf.ByteString - getUnreachableBytes(int index) { + public com.google.protobuf.ByteString getUnreachableBytes(int index) { return unreachable_.getByteString(index); } /** + * + * *
      * Output only. Locations that could not be reached.
      * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param index The index to set the value at. * @param value The unreachable to set. * @return This builder for chaining. */ - public Builder setUnreachable( - int index, java.lang.String value) { + public Builder setUnreachable(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUnreachableIsMutable(); + throw new NullPointerException(); + } + ensureUnreachableIsMutable(); unreachable_.set(index, value); onChanged(); return this; } /** + * + * *
      * Output only. Locations that could not be reached.
      * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The unreachable to add. * @return This builder for chaining. */ - public Builder addUnreachable( - java.lang.String value) { + public Builder addUnreachable(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUnreachableIsMutable(); + throw new NullPointerException(); + } + ensureUnreachableIsMutable(); unreachable_.add(value); onChanged(); return this; } /** + * + * *
      * Output only. Locations that could not be reached.
      * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param values The unreachable to add. * @return This builder for chaining. */ - public Builder addAllUnreachable( - java.lang.Iterable values) { + public Builder addAllUnreachable(java.lang.Iterable values) { ensureUnreachableIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, unreachable_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, unreachable_); onChanged(); return this; } /** + * + * *
      * Output only. Locations that could not be reached.
      * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearUnreachable() { @@ -1215,28 +1384,30 @@ public Builder clearUnreachable() { return this; } /** + * + * *
      * Output only. Locations that could not be reached.
      * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes of the unreachable to add. * @return This builder for chaining. */ - public Builder addUnreachableBytes( - com.google.protobuf.ByteString value) { + public Builder addUnreachableBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureUnreachableIsMutable(); unreachable_.add(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); } @@ -1246,12 +1417,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.vmmigration.v1.ListSourcesResponse) } // @@protoc_insertion_point(class_scope:google.cloud.vmmigration.v1.ListSourcesResponse) private static final com.google.cloud.vmmigration.v1.ListSourcesResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.vmmigration.v1.ListSourcesResponse(); } @@ -1260,16 +1431,16 @@ public static com.google.cloud.vmmigration.v1.ListSourcesResponse getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListSourcesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListSourcesResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListSourcesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListSourcesResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1284,6 +1455,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.vmmigration.v1.ListSourcesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListSourcesResponseOrBuilder.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListSourcesResponseOrBuilder.java similarity index 61% rename from owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListSourcesResponseOrBuilder.java rename to proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListSourcesResponseOrBuilder.java index f75167c..6d6b4fc 100644 --- a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListSourcesResponseOrBuilder.java +++ b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListSourcesResponseOrBuilder.java @@ -1,116 +1,165 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; -public interface ListSourcesResponseOrBuilder extends +public interface ListSourcesResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.ListSourcesResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. The list of sources response.
    * 
* - * repeated .google.cloud.vmmigration.v1.Source sources = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.Source sources = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - java.util.List - getSourcesList(); + java.util.List getSourcesList(); /** + * + * *
    * Output only. The list of sources response.
    * 
* - * repeated .google.cloud.vmmigration.v1.Source sources = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.Source sources = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.cloud.vmmigration.v1.Source getSources(int index); /** + * + * *
    * Output only. The list of sources response.
    * 
* - * repeated .google.cloud.vmmigration.v1.Source sources = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.Source sources = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ int getSourcesCount(); /** + * + * *
    * Output only. The list of sources response.
    * 
* - * repeated .google.cloud.vmmigration.v1.Source sources = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.Source sources = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - java.util.List + java.util.List getSourcesOrBuilderList(); /** + * + * *
    * Output only. The list of sources response.
    * 
* - * repeated .google.cloud.vmmigration.v1.Source sources = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.Source sources = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - com.google.cloud.vmmigration.v1.SourceOrBuilder getSourcesOrBuilder( - int index); + com.google.cloud.vmmigration.v1.SourceOrBuilder getSourcesOrBuilder(int index); /** + * + * *
    * Output only. A token, which can be sent as `page_token` to retrieve the
    * next page. If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * Output only. A token, which can be sent as `page_token` to retrieve the
    * next page. If this field is omitted, there are no subsequent pages.
    * 
* * 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(); /** + * + * *
    * Output only. Locations that could not be reached.
    * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return A list containing the unreachable. */ - java.util.List - getUnreachableList(); + java.util.List getUnreachableList(); /** + * + * *
    * Output only. Locations that could not be reached.
    * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The count of unreachable. */ int getUnreachableCount(); /** + * + * *
    * Output only. Locations that could not be reached.
    * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param index The index of the element to return. * @return The unreachable at the given index. */ java.lang.String getUnreachable(int index); /** + * + * *
    * Output only. Locations that could not be reached.
    * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - com.google.protobuf.ByteString - getUnreachableBytes(int index); + com.google.protobuf.ByteString getUnreachableBytes(int index); } diff --git a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListTargetProjectsRequest.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListTargetProjectsRequest.java similarity index 71% rename from owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListTargetProjectsRequest.java rename to proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListTargetProjectsRequest.java index 166846b..a2462c0 100644 --- a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListTargetProjectsRequest.java +++ b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListTargetProjectsRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; /** + * + * *
  * Request message for 'ListTargetProjects' call.
  * 
* * Protobuf type {@code google.cloud.vmmigration.v1.ListTargetProjectsRequest} */ -public final class ListTargetProjectsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListTargetProjectsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.vmmigration.v1.ListTargetProjectsRequest) ListTargetProjectsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListTargetProjectsRequest.newBuilder() to construct. private ListTargetProjectsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListTargetProjectsRequest() { parent_ = ""; pageToken_ = ""; @@ -28,16 +46,15 @@ private ListTargetProjectsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListTargetProjectsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListTargetProjectsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -56,42 +73,46 @@ private ListTargetProjectsRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - parent_ = s; - break; - } - case 16: { + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - pageSize_ = input.readInt32(); - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: + { + pageSize_ = input.readInt32(); + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - pageToken_ = s; - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); + pageToken_ = s; + break; + } + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); - filter_ = s; - break; - } - case 42: { - java.lang.String s = input.readStringRequireUtf8(); + filter_ = s; + break; + } + case 42: + { + java.lang.String s = input.readStringRequireUtf8(); - orderBy_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + orderBy_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -99,34 +120,41 @@ private ListTargetProjectsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ListTargetProjectsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_ListTargetProjectsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ListTargetProjectsRequest_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_ListTargetProjectsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.ListTargetProjectsRequest.class, com.google.cloud.vmmigration.v1.ListTargetProjectsRequest.Builder.class); + com.google.cloud.vmmigration.v1.ListTargetProjectsRequest.class, + com.google.cloud.vmmigration.v1.ListTargetProjectsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The parent, which owns this collection of targets.
    * 
* - * 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 @@ -135,29 +163,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 parent, which owns this collection of targets.
    * 
* - * 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 { @@ -168,6 +198,8 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** + * + * *
    * Optional. The maximum number of targets to return. The service may return
    * fewer than this value. If unspecified, at most 500 targets will be
@@ -176,6 +208,7 @@ public java.lang.String getParent() {
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -186,6 +219,8 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** + * + * *
    * Required. A page token, received from a previous `ListTargets` call.
    * Provide this to retrieve the subsequent page.
@@ -194,6 +229,7 @@ public int getPageSize() {
    * 
* * string page_token = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The pageToken. */ @java.lang.Override @@ -202,14 +238,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; } } /** + * + * *
    * Required. A page token, received from a previous `ListTargets` call.
    * Provide this to retrieve the subsequent page.
@@ -218,16 +255,15 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @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 { @@ -238,11 +274,14 @@ public java.lang.String getPageToken() { public static final int FILTER_FIELD_NUMBER = 4; private volatile java.lang.Object filter_; /** + * + * *
    * Optional. The filter request.
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The filter. */ @java.lang.Override @@ -251,29 +290,29 @@ public java.lang.String getFilter() { 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(); filter_ = s; return s; } } /** + * + * *
    * Optional. The filter request.
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for filter. */ @java.lang.Override - public com.google.protobuf.ByteString - getFilterBytes() { + public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; 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); filter_ = b; return b; } else { @@ -284,11 +323,14 @@ public java.lang.String getFilter() { public static final int ORDER_BY_FIELD_NUMBER = 5; private volatile java.lang.Object orderBy_; /** + * + * *
    * Optional. the order by fields for the result.
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The orderBy. */ @java.lang.Override @@ -297,29 +339,29 @@ public java.lang.String getOrderBy() { 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(); orderBy_ = s; return s; } } /** + * + * *
    * Optional. the order by fields for the result.
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for orderBy. */ @java.lang.Override - public com.google.protobuf.ByteString - getOrderByBytes() { + public com.google.protobuf.ByteString getOrderByBytes() { java.lang.Object ref = orderBy_; 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); orderBy_ = b; return b; } else { @@ -328,6 +370,7 @@ public java.lang.String getOrderBy() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -339,8 +382,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_); } @@ -369,8 +411,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -389,23 +430,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.vmmigration.v1.ListTargetProjectsRequest)) { return super.equals(obj); } - com.google.cloud.vmmigration.v1.ListTargetProjectsRequest other = (com.google.cloud.vmmigration.v1.ListTargetProjectsRequest) obj; - - if (!getParent() - .equals(other.getParent())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; - if (!getFilter() - .equals(other.getFilter())) return false; - if (!getOrderBy() - .equals(other.getOrderBy())) return false; + com.google.cloud.vmmigration.v1.ListTargetProjectsRequest other = + (com.google.cloud.vmmigration.v1.ListTargetProjectsRequest) obj; + + if (!getParent().equals(other.getParent())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; + if (!getFilter().equals(other.getFilter())) return false; + if (!getOrderBy().equals(other.getOrderBy())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -433,117 +470,127 @@ public int hashCode() { } public static com.google.cloud.vmmigration.v1.ListTargetProjectsRequest 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.vmmigration.v1.ListTargetProjectsRequest 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.vmmigration.v1.ListTargetProjectsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.vmmigration.v1.ListTargetProjectsRequest 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.vmmigration.v1.ListTargetProjectsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.vmmigration.v1.ListTargetProjectsRequest 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.vmmigration.v1.ListTargetProjectsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.vmmigration.v1.ListTargetProjectsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.vmmigration.v1.ListTargetProjectsRequest 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.vmmigration.v1.ListTargetProjectsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.vmmigration.v1.ListTargetProjectsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.vmmigration.v1.ListTargetProjectsRequest 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.vmmigration.v1.ListTargetProjectsRequest 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.vmmigration.v1.ListTargetProjectsRequest 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.vmmigration.v1.ListTargetProjectsRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.vmmigration.v1.ListTargetProjectsRequest 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 message for 'ListTargetProjects' call.
    * 
* * Protobuf type {@code google.cloud.vmmigration.v1.ListTargetProjectsRequest} */ - 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.vmmigration.v1.ListTargetProjectsRequest) com.google.cloud.vmmigration.v1.ListTargetProjectsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ListTargetProjectsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_ListTargetProjectsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ListTargetProjectsRequest_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_ListTargetProjectsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.ListTargetProjectsRequest.class, com.google.cloud.vmmigration.v1.ListTargetProjectsRequest.Builder.class); + com.google.cloud.vmmigration.v1.ListTargetProjectsRequest.class, + com.google.cloud.vmmigration.v1.ListTargetProjectsRequest.Builder.class); } // Construct using com.google.cloud.vmmigration.v1.ListTargetProjectsRequest.newBuilder() @@ -551,16 +598,15 @@ 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) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -578,9 +624,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ListTargetProjectsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_ListTargetProjectsRequest_descriptor; } @java.lang.Override @@ -599,7 +645,8 @@ public com.google.cloud.vmmigration.v1.ListTargetProjectsRequest build() { @java.lang.Override public com.google.cloud.vmmigration.v1.ListTargetProjectsRequest buildPartial() { - com.google.cloud.vmmigration.v1.ListTargetProjectsRequest result = new com.google.cloud.vmmigration.v1.ListTargetProjectsRequest(this); + com.google.cloud.vmmigration.v1.ListTargetProjectsRequest result = + new com.google.cloud.vmmigration.v1.ListTargetProjectsRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -613,38 +660,39 @@ public com.google.cloud.vmmigration.v1.ListTargetProjectsRequest buildPartial() 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.vmmigration.v1.ListTargetProjectsRequest) { - return mergeFrom((com.google.cloud.vmmigration.v1.ListTargetProjectsRequest)other); + return mergeFrom((com.google.cloud.vmmigration.v1.ListTargetProjectsRequest) other); } else { super.mergeFrom(other); return this; @@ -652,7 +700,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.vmmigration.v1.ListTargetProjectsRequest other) { - if (other == com.google.cloud.vmmigration.v1.ListTargetProjectsRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.vmmigration.v1.ListTargetProjectsRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -691,7 +740,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.vmmigration.v1.ListTargetProjectsRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.vmmigration.v1.ListTargetProjectsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -703,18 +753,22 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The parent, which owns this collection of targets.
      * 
* - * 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; @@ -723,20 +777,23 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent, which owns this collection of targets.
      * 
* - * 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 { @@ -744,61 +801,76 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent, which owns this collection of targets.
      * 
* - * 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) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. The parent, which owns this collection of targets.
      * 
* - * 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() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The parent, which owns this collection of targets.
      * 
* - * 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) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * Optional. The maximum number of targets to return. The service may return
      * fewer than this value. If unspecified, at most 500 targets will be
@@ -807,6 +879,7 @@ public Builder setParentBytes(
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -814,6 +887,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * Optional. The maximum number of targets to return. The service may return
      * fewer than this value. If unspecified, at most 500 targets will be
@@ -822,16 +897,19 @@ public int getPageSize() {
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** + * + * *
      * Optional. The maximum number of targets to return. The service may return
      * fewer than this value. If unspecified, at most 500 targets will be
@@ -840,10 +918,11 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -851,6 +930,8 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * Required. A page token, received from a previous `ListTargets` call.
      * Provide this to retrieve the subsequent page.
@@ -859,13 +940,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @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; @@ -874,6 +955,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Required. A page token, received from a previous `ListTargets` call.
      * Provide this to retrieve the subsequent page.
@@ -882,15 +965,14 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @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 { @@ -898,6 +980,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Required. A page token, received from a previous `ListTargets` call.
      * Provide this to retrieve the subsequent page.
@@ -906,20 +990,22 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
      * Required. A page token, received from a previous `ListTargets` call.
      * Provide this to retrieve the subsequent page.
@@ -928,15 +1014,18 @@ public Builder setPageToken(
      * 
* * string page_token = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * Required. A page token, received from a previous `ListTargets` call.
      * Provide this to retrieve the subsequent page.
@@ -945,16 +1034,16 @@ public Builder clearPageToken() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; @@ -962,18 +1051,20 @@ public Builder setPageTokenBytes( private java.lang.Object filter_ = ""; /** + * + * *
      * Optional. The filter request.
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; 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(); filter_ = s; return s; @@ -982,20 +1073,21 @@ public java.lang.String getFilter() { } } /** + * + * *
      * Optional. The filter request.
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for filter. */ - public com.google.protobuf.ByteString - getFilterBytes() { + public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; 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); filter_ = b; return b; } else { @@ -1003,54 +1095,61 @@ public java.lang.String getFilter() { } } /** + * + * *
      * Optional. The filter request.
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter( - java.lang.String value) { + public Builder setFilter(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; onChanged(); return this; } /** + * + * *
      * Optional. The filter request.
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** + * + * *
      * Optional. The filter request.
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes( - com.google.protobuf.ByteString value) { + public Builder setFilterBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = value; onChanged(); return this; @@ -1058,18 +1157,20 @@ public Builder setFilterBytes( private java.lang.Object orderBy_ = ""; /** + * + * *
      * Optional. the order by fields for the result.
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The orderBy. */ public java.lang.String getOrderBy() { java.lang.Object ref = orderBy_; 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(); orderBy_ = s; return s; @@ -1078,20 +1179,21 @@ public java.lang.String getOrderBy() { } } /** + * + * *
      * Optional. the order by fields for the result.
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for orderBy. */ - public com.google.protobuf.ByteString - getOrderByBytes() { + public com.google.protobuf.ByteString getOrderByBytes() { java.lang.Object ref = orderBy_; 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); orderBy_ = b; return b; } else { @@ -1099,61 +1201,68 @@ public java.lang.String getOrderBy() { } } /** + * + * *
      * Optional. the order by fields for the result.
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The orderBy to set. * @return This builder for chaining. */ - public Builder setOrderBy( - java.lang.String value) { + public Builder setOrderBy(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + orderBy_ = value; onChanged(); return this; } /** + * + * *
      * Optional. the order by fields for the result.
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearOrderBy() { - + orderBy_ = getDefaultInstance().getOrderBy(); onChanged(); return this; } /** + * + * *
      * Optional. the order by fields for the result.
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for orderBy to set. * @return This builder for chaining. */ - public Builder setOrderByBytes( - com.google.protobuf.ByteString value) { + public Builder setOrderByBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + orderBy_ = 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); } @@ -1163,12 +1272,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.vmmigration.v1.ListTargetProjectsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.vmmigration.v1.ListTargetProjectsRequest) private static final com.google.cloud.vmmigration.v1.ListTargetProjectsRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.vmmigration.v1.ListTargetProjectsRequest(); } @@ -1177,16 +1286,16 @@ public static com.google.cloud.vmmigration.v1.ListTargetProjectsRequest getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListTargetProjectsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListTargetProjectsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListTargetProjectsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListTargetProjectsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1201,6 +1310,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.vmmigration.v1.ListTargetProjectsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListTargetProjectsRequestOrBuilder.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListTargetProjectsRequestOrBuilder.java similarity index 68% rename from owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListTargetProjectsRequestOrBuilder.java rename to proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListTargetProjectsRequestOrBuilder.java index 31ad024..a8ac847 100644 --- a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListTargetProjectsRequestOrBuilder.java +++ b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListTargetProjectsRequestOrBuilder.java @@ -1,33 +1,60 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; -public interface ListTargetProjectsRequestOrBuilder extends +public interface ListTargetProjectsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.ListTargetProjectsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The parent, which owns this collection of targets.
    * 
* - * 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 parent, which owns this collection of targets.
    * 
* - * 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(); /** + * + * *
    * Optional. The maximum number of targets to return. The service may return
    * fewer than this value. If unspecified, at most 500 targets will be
@@ -36,11 +63,14 @@ public interface ListTargetProjectsRequestOrBuilder extends
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * Required. A page token, received from a previous `ListTargets` call.
    * Provide this to retrieve the subsequent page.
@@ -49,10 +79,13 @@ public interface ListTargetProjectsRequestOrBuilder extends
    * 
* * string page_token = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * Required. A page token, received from a previous `ListTargets` call.
    * Provide this to retrieve the subsequent page.
@@ -61,48 +94,58 @@ public interface ListTargetProjectsRequestOrBuilder extends
    * 
* * string page_token = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); /** + * + * *
    * Optional. The filter request.
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The filter. */ java.lang.String getFilter(); /** + * + * *
    * Optional. The filter request.
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for filter. */ - com.google.protobuf.ByteString - getFilterBytes(); + com.google.protobuf.ByteString getFilterBytes(); /** + * + * *
    * Optional. the order by fields for the result.
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The orderBy. */ java.lang.String getOrderBy(); /** + * + * *
    * Optional. the order by fields for the result.
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for orderBy. */ - com.google.protobuf.ByteString - getOrderByBytes(); + com.google.protobuf.ByteString getOrderByBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListTargetProjectsResponse.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListTargetProjectsResponse.java similarity index 69% rename from owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListTargetProjectsResponse.java rename to proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListTargetProjectsResponse.java index 895a3b4..9de2948 100644 --- a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListTargetProjectsResponse.java +++ b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListTargetProjectsResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; /** + * + * *
  * Response message for 'ListTargetProjects' call.
  * 
* * Protobuf type {@code google.cloud.vmmigration.v1.ListTargetProjectsResponse} */ -public final class ListTargetProjectsResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListTargetProjectsResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.vmmigration.v1.ListTargetProjectsResponse) ListTargetProjectsResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListTargetProjectsResponse.newBuilder() to construct. private ListTargetProjectsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListTargetProjectsResponse() { targetProjects_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -27,16 +45,15 @@ private ListTargetProjectsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListTargetProjectsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListTargetProjectsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -56,37 +73,42 @@ private ListTargetProjectsResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - targetProjects_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + targetProjects_ = + new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + targetProjects_.add( + input.readMessage( + com.google.cloud.vmmigration.v1.TargetProject.parser(), extensionRegistry)); + break; } - targetProjects_.add( - input.readMessage(com.google.cloud.vmmigration.v1.TargetProject.parser(), extensionRegistry)); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - unreachable_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000002; + nextPageToken_ = s; + break; } - unreachable_.add(s); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + unreachable_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000002; + } + unreachable_.add(s); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -94,8 +116,7 @@ private ListTargetProjectsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { targetProjects_ = java.util.Collections.unmodifiableList(targetProjects_); @@ -107,72 +128,95 @@ private ListTargetProjectsResponse( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ListTargetProjectsResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_ListTargetProjectsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ListTargetProjectsResponse_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_ListTargetProjectsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.ListTargetProjectsResponse.class, com.google.cloud.vmmigration.v1.ListTargetProjectsResponse.Builder.class); + com.google.cloud.vmmigration.v1.ListTargetProjectsResponse.class, + com.google.cloud.vmmigration.v1.ListTargetProjectsResponse.Builder.class); } public static final int TARGET_PROJECTS_FIELD_NUMBER = 1; private java.util.List targetProjects_; /** + * + * *
    * Output only. The list of target response.
    * 
* - * repeated .google.cloud.vmmigration.v1.TargetProject target_projects = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.TargetProject target_projects = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public java.util.List getTargetProjectsList() { return targetProjects_; } /** + * + * *
    * Output only. The list of target response.
    * 
* - * repeated .google.cloud.vmmigration.v1.TargetProject target_projects = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.TargetProject target_projects = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public java.util.List + public java.util.List getTargetProjectsOrBuilderList() { return targetProjects_; } /** + * + * *
    * Output only. The list of target response.
    * 
* - * repeated .google.cloud.vmmigration.v1.TargetProject target_projects = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.TargetProject target_projects = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public int getTargetProjectsCount() { return targetProjects_.size(); } /** + * + * *
    * Output only. The list of target response.
    * 
* - * repeated .google.cloud.vmmigration.v1.TargetProject target_projects = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.TargetProject target_projects = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.vmmigration.v1.TargetProject getTargetProjects(int index) { return targetProjects_.get(index); } /** + * + * *
    * Output only. The list of target response.
    * 
* - * repeated .google.cloud.vmmigration.v1.TargetProject target_projects = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.TargetProject target_projects = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.vmmigration.v1.TargetProjectOrBuilder getTargetProjectsOrBuilder( @@ -183,12 +227,15 @@ public com.google.cloud.vmmigration.v1.TargetProjectOrBuilder getTargetProjectsO public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** + * + * *
    * Output only. A token, which can be sent as `page_token` to retrieve the
    * next page. If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The nextPageToken. */ @java.lang.Override @@ -197,30 +244,30 @@ 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. A token, which can be sent as `page_token` to retrieve the
    * next page. If this field is omitted, there are no subsequent pages.
    * 
* * 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 { @@ -231,34 +278,42 @@ public java.lang.String getNextPageToken() { public static final int UNREACHABLE_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList unreachable_; /** + * + * *
    * Output only. Locations that could not be reached.
    * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return A list containing the unreachable. */ - public com.google.protobuf.ProtocolStringList - getUnreachableList() { + public com.google.protobuf.ProtocolStringList getUnreachableList() { return unreachable_; } /** + * + * *
    * Output only. Locations that could not be reached.
    * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** + * + * *
    * Output only. Locations that could not be reached.
    * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -266,20 +321,23 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** + * + * *
    * Output only. Locations that could not be reached.
    * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - public com.google.protobuf.ByteString - getUnreachableBytes(int index) { + public com.google.protobuf.ByteString getUnreachableBytes(int index) { return unreachable_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -291,8 +349,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 < targetProjects_.size(); i++) { output.writeMessage(1, targetProjects_.get(i)); } @@ -312,8 +369,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < targetProjects_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, targetProjects_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, targetProjects_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -334,19 +390,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.vmmigration.v1.ListTargetProjectsResponse)) { return super.equals(obj); } - com.google.cloud.vmmigration.v1.ListTargetProjectsResponse other = (com.google.cloud.vmmigration.v1.ListTargetProjectsResponse) obj; + com.google.cloud.vmmigration.v1.ListTargetProjectsResponse other = + (com.google.cloud.vmmigration.v1.ListTargetProjectsResponse) obj; - if (!getTargetProjectsList() - .equals(other.getTargetProjectsList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; - if (!getUnreachableList() - .equals(other.getUnreachableList())) return false; + if (!getTargetProjectsList().equals(other.getTargetProjectsList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getUnreachableList().equals(other.getUnreachableList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -374,117 +428,127 @@ public int hashCode() { } public static com.google.cloud.vmmigration.v1.ListTargetProjectsResponse 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.vmmigration.v1.ListTargetProjectsResponse 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.vmmigration.v1.ListTargetProjectsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.vmmigration.v1.ListTargetProjectsResponse 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.vmmigration.v1.ListTargetProjectsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.vmmigration.v1.ListTargetProjectsResponse 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.vmmigration.v1.ListTargetProjectsResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.vmmigration.v1.ListTargetProjectsResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.vmmigration.v1.ListTargetProjectsResponse 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.vmmigration.v1.ListTargetProjectsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.vmmigration.v1.ListTargetProjectsResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.vmmigration.v1.ListTargetProjectsResponse 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.vmmigration.v1.ListTargetProjectsResponse 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.vmmigration.v1.ListTargetProjectsResponse 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.vmmigration.v1.ListTargetProjectsResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.vmmigration.v1.ListTargetProjectsResponse 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; } /** + * + * *
    * Response message for 'ListTargetProjects' call.
    * 
* * Protobuf type {@code google.cloud.vmmigration.v1.ListTargetProjectsResponse} */ - 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.vmmigration.v1.ListTargetProjectsResponse) com.google.cloud.vmmigration.v1.ListTargetProjectsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ListTargetProjectsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_ListTargetProjectsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ListTargetProjectsResponse_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_ListTargetProjectsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.ListTargetProjectsResponse.class, com.google.cloud.vmmigration.v1.ListTargetProjectsResponse.Builder.class); + com.google.cloud.vmmigration.v1.ListTargetProjectsResponse.class, + com.google.cloud.vmmigration.v1.ListTargetProjectsResponse.Builder.class); } // Construct using com.google.cloud.vmmigration.v1.ListTargetProjectsResponse.newBuilder() @@ -492,17 +556,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) { getTargetProjectsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -520,9 +584,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ListTargetProjectsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_ListTargetProjectsResponse_descriptor; } @java.lang.Override @@ -541,7 +605,8 @@ public com.google.cloud.vmmigration.v1.ListTargetProjectsResponse build() { @java.lang.Override public com.google.cloud.vmmigration.v1.ListTargetProjectsResponse buildPartial() { - com.google.cloud.vmmigration.v1.ListTargetProjectsResponse result = new com.google.cloud.vmmigration.v1.ListTargetProjectsResponse(this); + com.google.cloud.vmmigration.v1.ListTargetProjectsResponse result = + new com.google.cloud.vmmigration.v1.ListTargetProjectsResponse(this); int from_bitField0_ = bitField0_; if (targetProjectsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -566,38 +631,39 @@ public com.google.cloud.vmmigration.v1.ListTargetProjectsResponse buildPartial() 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.vmmigration.v1.ListTargetProjectsResponse) { - return mergeFrom((com.google.cloud.vmmigration.v1.ListTargetProjectsResponse)other); + return mergeFrom((com.google.cloud.vmmigration.v1.ListTargetProjectsResponse) other); } else { super.mergeFrom(other); return this; @@ -605,7 +671,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.vmmigration.v1.ListTargetProjectsResponse other) { - if (other == com.google.cloud.vmmigration.v1.ListTargetProjectsResponse.getDefaultInstance()) return this; + if (other == com.google.cloud.vmmigration.v1.ListTargetProjectsResponse.getDefaultInstance()) + return this; if (targetProjectsBuilder_ == null) { if (!other.targetProjects_.isEmpty()) { if (targetProjects_.isEmpty()) { @@ -624,9 +691,10 @@ public Builder mergeFrom(com.google.cloud.vmmigration.v1.ListTargetProjectsRespo targetProjectsBuilder_ = null; targetProjects_ = other.targetProjects_; bitField0_ = (bitField0_ & ~0x00000001); - targetProjectsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getTargetProjectsFieldBuilder() : null; + targetProjectsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getTargetProjectsFieldBuilder() + : null; } else { targetProjectsBuilder_.addAllMessages(other.targetProjects_); } @@ -665,7 +733,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.vmmigration.v1.ListTargetProjectsResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.vmmigration.v1.ListTargetProjectsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -674,26 +743,36 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.util.List targetProjects_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureTargetProjectsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - targetProjects_ = new java.util.ArrayList(targetProjects_); + targetProjects_ = + new java.util.ArrayList(targetProjects_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.vmmigration.v1.TargetProject, com.google.cloud.vmmigration.v1.TargetProject.Builder, com.google.cloud.vmmigration.v1.TargetProjectOrBuilder> targetProjectsBuilder_; + com.google.cloud.vmmigration.v1.TargetProject, + com.google.cloud.vmmigration.v1.TargetProject.Builder, + com.google.cloud.vmmigration.v1.TargetProjectOrBuilder> + targetProjectsBuilder_; /** + * + * *
      * Output only. The list of target response.
      * 
* - * repeated .google.cloud.vmmigration.v1.TargetProject target_projects = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.TargetProject target_projects = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public java.util.List getTargetProjectsList() { if (targetProjectsBuilder_ == null) { @@ -703,11 +782,15 @@ public java.util.List getTargetPr } } /** + * + * *
      * Output only. The list of target response.
      * 
* - * repeated .google.cloud.vmmigration.v1.TargetProject target_projects = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.TargetProject target_projects = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public int getTargetProjectsCount() { if (targetProjectsBuilder_ == null) { @@ -717,11 +800,15 @@ public int getTargetProjectsCount() { } } /** + * + * *
      * Output only. The list of target response.
      * 
* - * repeated .google.cloud.vmmigration.v1.TargetProject target_projects = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.TargetProject target_projects = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.vmmigration.v1.TargetProject getTargetProjects(int index) { if (targetProjectsBuilder_ == null) { @@ -731,11 +818,15 @@ public com.google.cloud.vmmigration.v1.TargetProject getTargetProjects(int index } } /** + * + * *
      * Output only. The list of target response.
      * 
* - * repeated .google.cloud.vmmigration.v1.TargetProject target_projects = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.TargetProject target_projects = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setTargetProjects( int index, com.google.cloud.vmmigration.v1.TargetProject value) { @@ -752,11 +843,15 @@ public Builder setTargetProjects( return this; } /** + * + * *
      * Output only. The list of target response.
      * 
* - * repeated .google.cloud.vmmigration.v1.TargetProject target_projects = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.TargetProject target_projects = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setTargetProjects( int index, com.google.cloud.vmmigration.v1.TargetProject.Builder builderForValue) { @@ -770,11 +865,15 @@ public Builder setTargetProjects( return this; } /** + * + * *
      * Output only. The list of target response.
      * 
* - * repeated .google.cloud.vmmigration.v1.TargetProject target_projects = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.TargetProject target_projects = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addTargetProjects(com.google.cloud.vmmigration.v1.TargetProject value) { if (targetProjectsBuilder_ == null) { @@ -790,11 +889,15 @@ public Builder addTargetProjects(com.google.cloud.vmmigration.v1.TargetProject v return this; } /** + * + * *
      * Output only. The list of target response.
      * 
* - * repeated .google.cloud.vmmigration.v1.TargetProject target_projects = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.TargetProject target_projects = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addTargetProjects( int index, com.google.cloud.vmmigration.v1.TargetProject value) { @@ -811,11 +914,15 @@ public Builder addTargetProjects( return this; } /** + * + * *
      * Output only. The list of target response.
      * 
* - * repeated .google.cloud.vmmigration.v1.TargetProject target_projects = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.TargetProject target_projects = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addTargetProjects( com.google.cloud.vmmigration.v1.TargetProject.Builder builderForValue) { @@ -829,11 +936,15 @@ public Builder addTargetProjects( return this; } /** + * + * *
      * Output only. The list of target response.
      * 
* - * repeated .google.cloud.vmmigration.v1.TargetProject target_projects = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.TargetProject target_projects = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addTargetProjects( int index, com.google.cloud.vmmigration.v1.TargetProject.Builder builderForValue) { @@ -847,18 +958,21 @@ public Builder addTargetProjects( return this; } /** + * + * *
      * Output only. The list of target response.
      * 
* - * repeated .google.cloud.vmmigration.v1.TargetProject target_projects = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.TargetProject target_projects = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addAllTargetProjects( java.lang.Iterable values) { if (targetProjectsBuilder_ == null) { ensureTargetProjectsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, targetProjects_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, targetProjects_); onChanged(); } else { targetProjectsBuilder_.addAllMessages(values); @@ -866,11 +980,15 @@ public Builder addAllTargetProjects( return this; } /** + * + * *
      * Output only. The list of target response.
      * 
* - * repeated .google.cloud.vmmigration.v1.TargetProject target_projects = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.TargetProject target_projects = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearTargetProjects() { if (targetProjectsBuilder_ == null) { @@ -883,11 +1001,15 @@ public Builder clearTargetProjects() { return this; } /** + * + * *
      * Output only. The list of target response.
      * 
* - * repeated .google.cloud.vmmigration.v1.TargetProject target_projects = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.TargetProject target_projects = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder removeTargetProjects(int index) { if (targetProjectsBuilder_ == null) { @@ -900,39 +1022,52 @@ public Builder removeTargetProjects(int index) { return this; } /** + * + * *
      * Output only. The list of target response.
      * 
* - * repeated .google.cloud.vmmigration.v1.TargetProject target_projects = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.TargetProject target_projects = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.vmmigration.v1.TargetProject.Builder getTargetProjectsBuilder( int index) { return getTargetProjectsFieldBuilder().getBuilder(index); } /** + * + * *
      * Output only. The list of target response.
      * 
* - * repeated .google.cloud.vmmigration.v1.TargetProject target_projects = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.TargetProject target_projects = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.vmmigration.v1.TargetProjectOrBuilder getTargetProjectsOrBuilder( int index) { if (targetProjectsBuilder_ == null) { - return targetProjects_.get(index); } else { + return targetProjects_.get(index); + } else { return targetProjectsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Output only. The list of target response.
      * 
* - * repeated .google.cloud.vmmigration.v1.TargetProject target_projects = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.TargetProject target_projects = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public java.util.List - getTargetProjectsOrBuilderList() { + public java.util.List + getTargetProjectsOrBuilderList() { if (targetProjectsBuilder_ != null) { return targetProjectsBuilder_.getMessageOrBuilderList(); } else { @@ -940,45 +1075,63 @@ public com.google.cloud.vmmigration.v1.TargetProjectOrBuilder getTargetProjectsO } } /** + * + * *
      * Output only. The list of target response.
      * 
* - * repeated .google.cloud.vmmigration.v1.TargetProject target_projects = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.TargetProject target_projects = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.vmmigration.v1.TargetProject.Builder addTargetProjectsBuilder() { - return getTargetProjectsFieldBuilder().addBuilder( - com.google.cloud.vmmigration.v1.TargetProject.getDefaultInstance()); + return getTargetProjectsFieldBuilder() + .addBuilder(com.google.cloud.vmmigration.v1.TargetProject.getDefaultInstance()); } /** + * + * *
      * Output only. The list of target response.
      * 
* - * repeated .google.cloud.vmmigration.v1.TargetProject target_projects = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.TargetProject target_projects = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.vmmigration.v1.TargetProject.Builder addTargetProjectsBuilder( int index) { - return getTargetProjectsFieldBuilder().addBuilder( - index, com.google.cloud.vmmigration.v1.TargetProject.getDefaultInstance()); + return getTargetProjectsFieldBuilder() + .addBuilder(index, com.google.cloud.vmmigration.v1.TargetProject.getDefaultInstance()); } /** + * + * *
      * Output only. The list of target response.
      * 
* - * repeated .google.cloud.vmmigration.v1.TargetProject target_projects = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.TargetProject target_projects = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public java.util.List - getTargetProjectsBuilderList() { + public java.util.List + getTargetProjectsBuilderList() { return getTargetProjectsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.vmmigration.v1.TargetProject, com.google.cloud.vmmigration.v1.TargetProject.Builder, com.google.cloud.vmmigration.v1.TargetProjectOrBuilder> + com.google.cloud.vmmigration.v1.TargetProject, + com.google.cloud.vmmigration.v1.TargetProject.Builder, + com.google.cloud.vmmigration.v1.TargetProjectOrBuilder> getTargetProjectsFieldBuilder() { if (targetProjectsBuilder_ == null) { - targetProjectsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.vmmigration.v1.TargetProject, com.google.cloud.vmmigration.v1.TargetProject.Builder, com.google.cloud.vmmigration.v1.TargetProjectOrBuilder>( + targetProjectsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.vmmigration.v1.TargetProject, + com.google.cloud.vmmigration.v1.TargetProject.Builder, + com.google.cloud.vmmigration.v1.TargetProjectOrBuilder>( targetProjects_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -990,19 +1143,21 @@ public com.google.cloud.vmmigration.v1.TargetProject.Builder addTargetProjectsBu private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * Output only. A token, which can be sent as `page_token` to retrieve the
      * next page. If this field is omitted, there are no subsequent pages.
      * 
* * 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; @@ -1011,21 +1166,22 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * Output only. A token, which can be sent as `page_token` to retrieve the
      * next page. If this field is omitted, there are no subsequent pages.
      * 
* * 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 { @@ -1033,98 +1189,115 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * Output only. A token, which can be sent as `page_token` to retrieve the
      * next page. If this field is omitted, there are no subsequent pages.
      * 
* * 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) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** + * + * *
      * Output only. A token, which can be sent as `page_token` to retrieve the
      * next page. If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** + * + * *
      * Output only. A token, which can be sent as `page_token` to retrieve the
      * next page. If this field is omitted, there are no subsequent pages.
      * 
* * 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) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList unreachable_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList unreachable_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureUnreachableIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { unreachable_ = new com.google.protobuf.LazyStringArrayList(unreachable_); bitField0_ |= 0x00000002; - } + } } /** + * + * *
      * Output only. Locations that could not be reached.
      * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return A list containing the unreachable. */ - public com.google.protobuf.ProtocolStringList - getUnreachableList() { + public com.google.protobuf.ProtocolStringList getUnreachableList() { return unreachable_.getUnmodifiableView(); } /** + * + * *
      * Output only. Locations that could not be reached.
      * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** + * + * *
      * Output only. Locations that could not be reached.
      * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -1132,80 +1305,90 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** + * + * *
      * Output only. Locations that could not be reached.
      * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - public com.google.protobuf.ByteString - getUnreachableBytes(int index) { + public com.google.protobuf.ByteString getUnreachableBytes(int index) { return unreachable_.getByteString(index); } /** + * + * *
      * Output only. Locations that could not be reached.
      * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param index The index to set the value at. * @param value The unreachable to set. * @return This builder for chaining. */ - public Builder setUnreachable( - int index, java.lang.String value) { + public Builder setUnreachable(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUnreachableIsMutable(); + throw new NullPointerException(); + } + ensureUnreachableIsMutable(); unreachable_.set(index, value); onChanged(); return this; } /** + * + * *
      * Output only. Locations that could not be reached.
      * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The unreachable to add. * @return This builder for chaining. */ - public Builder addUnreachable( - java.lang.String value) { + public Builder addUnreachable(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUnreachableIsMutable(); + throw new NullPointerException(); + } + ensureUnreachableIsMutable(); unreachable_.add(value); onChanged(); return this; } /** + * + * *
      * Output only. Locations that could not be reached.
      * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param values The unreachable to add. * @return This builder for chaining. */ - public Builder addAllUnreachable( - java.lang.Iterable values) { + public Builder addAllUnreachable(java.lang.Iterable values) { ensureUnreachableIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, unreachable_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, unreachable_); onChanged(); return this; } /** + * + * *
      * Output only. Locations that could not be reached.
      * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearUnreachable() { @@ -1215,28 +1398,30 @@ public Builder clearUnreachable() { return this; } /** + * + * *
      * Output only. Locations that could not be reached.
      * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes of the unreachable to add. * @return This builder for chaining. */ - public Builder addUnreachableBytes( - com.google.protobuf.ByteString value) { + public Builder addUnreachableBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureUnreachableIsMutable(); unreachable_.add(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); } @@ -1246,12 +1431,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.vmmigration.v1.ListTargetProjectsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.vmmigration.v1.ListTargetProjectsResponse) private static final com.google.cloud.vmmigration.v1.ListTargetProjectsResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.vmmigration.v1.ListTargetProjectsResponse(); } @@ -1260,16 +1445,16 @@ public static com.google.cloud.vmmigration.v1.ListTargetProjectsResponse getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListTargetProjectsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListTargetProjectsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListTargetProjectsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListTargetProjectsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1284,6 +1469,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.vmmigration.v1.ListTargetProjectsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListTargetProjectsResponseOrBuilder.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListTargetProjectsResponseOrBuilder.java similarity index 61% rename from owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListTargetProjectsResponseOrBuilder.java rename to proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListTargetProjectsResponseOrBuilder.java index 92ba468..637d68a 100644 --- a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListTargetProjectsResponseOrBuilder.java +++ b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListTargetProjectsResponseOrBuilder.java @@ -1,116 +1,165 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; -public interface ListTargetProjectsResponseOrBuilder extends +public interface ListTargetProjectsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.ListTargetProjectsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. The list of target response.
    * 
* - * repeated .google.cloud.vmmigration.v1.TargetProject target_projects = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.TargetProject target_projects = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - java.util.List - getTargetProjectsList(); + java.util.List getTargetProjectsList(); /** + * + * *
    * Output only. The list of target response.
    * 
* - * repeated .google.cloud.vmmigration.v1.TargetProject target_projects = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.TargetProject target_projects = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.cloud.vmmigration.v1.TargetProject getTargetProjects(int index); /** + * + * *
    * Output only. The list of target response.
    * 
* - * repeated .google.cloud.vmmigration.v1.TargetProject target_projects = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.TargetProject target_projects = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ int getTargetProjectsCount(); /** + * + * *
    * Output only. The list of target response.
    * 
* - * repeated .google.cloud.vmmigration.v1.TargetProject target_projects = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.TargetProject target_projects = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - java.util.List + java.util.List getTargetProjectsOrBuilderList(); /** + * + * *
    * Output only. The list of target response.
    * 
* - * repeated .google.cloud.vmmigration.v1.TargetProject target_projects = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.TargetProject target_projects = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - com.google.cloud.vmmigration.v1.TargetProjectOrBuilder getTargetProjectsOrBuilder( - int index); + com.google.cloud.vmmigration.v1.TargetProjectOrBuilder getTargetProjectsOrBuilder(int index); /** + * + * *
    * Output only. A token, which can be sent as `page_token` to retrieve the
    * next page. If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * Output only. A token, which can be sent as `page_token` to retrieve the
    * next page. If this field is omitted, there are no subsequent pages.
    * 
* * 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(); /** + * + * *
    * Output only. Locations that could not be reached.
    * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return A list containing the unreachable. */ - java.util.List - getUnreachableList(); + java.util.List getUnreachableList(); /** + * + * *
    * Output only. Locations that could not be reached.
    * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The count of unreachable. */ int getUnreachableCount(); /** + * + * *
    * Output only. Locations that could not be reached.
    * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param index The index of the element to return. * @return The unreachable at the given index. */ java.lang.String getUnreachable(int index); /** + * + * *
    * Output only. Locations that could not be reached.
    * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - com.google.protobuf.ByteString - getUnreachableBytes(int index); + com.google.protobuf.ByteString getUnreachableBytes(int index); } diff --git a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListUtilizationReportsRequest.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListUtilizationReportsRequest.java similarity index 69% rename from owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListUtilizationReportsRequest.java rename to proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListUtilizationReportsRequest.java index 47539aa..7f51d03 100644 --- a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListUtilizationReportsRequest.java +++ b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListUtilizationReportsRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; /** + * + * *
  * Request message for 'ListUtilizationReports' request.
  * 
* * Protobuf type {@code google.cloud.vmmigration.v1.ListUtilizationReportsRequest} */ -public final class ListUtilizationReportsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListUtilizationReportsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.vmmigration.v1.ListUtilizationReportsRequest) ListUtilizationReportsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListUtilizationReportsRequest.newBuilder() to construct. private ListUtilizationReportsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListUtilizationReportsRequest() { parent_ = ""; view_ = 0; @@ -29,16 +47,15 @@ private ListUtilizationReportsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListUtilizationReportsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListUtilizationReportsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -57,48 +74,53 @@ private ListUtilizationReportsRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 16: { - int rawValue = input.readEnum(); - - view_ = rawValue; - break; - } - case 24: { + parent_ = s; + break; + } + case 16: + { + int rawValue = input.readEnum(); - pageSize_ = input.readInt32(); - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); + view_ = rawValue; + break; + } + case 24: + { + pageSize_ = input.readInt32(); + break; + } + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); - pageToken_ = s; - break; - } - case 42: { - java.lang.String s = input.readStringRequireUtf8(); + pageToken_ = s; + break; + } + case 42: + { + java.lang.String s = input.readStringRequireUtf8(); - filter_ = s; - break; - } - case 50: { - java.lang.String s = input.readStringRequireUtf8(); + filter_ = s; + break; + } + case 50: + { + java.lang.String s = input.readStringRequireUtf8(); - orderBy_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + orderBy_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -106,34 +128,41 @@ private ListUtilizationReportsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ListUtilizationReportsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_ListUtilizationReportsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ListUtilizationReportsRequest_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_ListUtilizationReportsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.ListUtilizationReportsRequest.class, com.google.cloud.vmmigration.v1.ListUtilizationReportsRequest.Builder.class); + com.google.cloud.vmmigration.v1.ListUtilizationReportsRequest.class, + com.google.cloud.vmmigration.v1.ListUtilizationReportsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The Utilization Reports parent.
    * 
* - * 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 @@ -142,29 +171,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 Utilization Reports parent.
    * 
* - * 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 { @@ -175,35 +206,52 @@ public java.lang.String getParent() { public static final int VIEW_FIELD_NUMBER = 2; private int view_; /** + * + * *
    * Optional. The level of details of each report.
    * Defaults to BASIC.
    * 
* - * .google.cloud.vmmigration.v1.UtilizationReportView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.vmmigration.v1.UtilizationReportView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The enum numeric value on the wire for view. */ - @java.lang.Override public int getViewValue() { + @java.lang.Override + public int getViewValue() { return view_; } /** + * + * *
    * Optional. The level of details of each report.
    * Defaults to BASIC.
    * 
* - * .google.cloud.vmmigration.v1.UtilizationReportView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.vmmigration.v1.UtilizationReportView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The view. */ - @java.lang.Override public com.google.cloud.vmmigration.v1.UtilizationReportView getView() { + @java.lang.Override + public com.google.cloud.vmmigration.v1.UtilizationReportView getView() { @SuppressWarnings("deprecation") - com.google.cloud.vmmigration.v1.UtilizationReportView result = com.google.cloud.vmmigration.v1.UtilizationReportView.valueOf(view_); - return result == null ? com.google.cloud.vmmigration.v1.UtilizationReportView.UNRECOGNIZED : result; + com.google.cloud.vmmigration.v1.UtilizationReportView result = + com.google.cloud.vmmigration.v1.UtilizationReportView.valueOf(view_); + return result == null + ? com.google.cloud.vmmigration.v1.UtilizationReportView.UNRECOGNIZED + : result; } public static final int PAGE_SIZE_FIELD_NUMBER = 3; private int pageSize_; /** + * + * *
    * Optional. The maximum number of reports to return. The service may return
    * fewer than this value. If unspecified, at most 500 reports will be
@@ -212,6 +260,7 @@ public java.lang.String getParent() {
    * 
* * int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -222,6 +271,8 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 4; private volatile java.lang.Object pageToken_; /** + * + * *
    * Required. A page token, received from a previous `ListUtilizationReports`
    * call. Provide this to retrieve the subsequent page.
@@ -230,6 +281,7 @@ public int getPageSize() {
    * 
* * string page_token = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The pageToken. */ @java.lang.Override @@ -238,14 +290,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; } } /** + * + * *
    * Required. A page token, received from a previous `ListUtilizationReports`
    * call. Provide this to retrieve the subsequent page.
@@ -254,16 +307,15 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @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 { @@ -274,11 +326,14 @@ public java.lang.String getPageToken() { public static final int FILTER_FIELD_NUMBER = 5; private volatile java.lang.Object filter_; /** + * + * *
    * Optional. The filter request.
    * 
* * string filter = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The filter. */ @java.lang.Override @@ -287,29 +342,29 @@ public java.lang.String getFilter() { 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(); filter_ = s; return s; } } /** + * + * *
    * Optional. The filter request.
    * 
* * string filter = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for filter. */ @java.lang.Override - public com.google.protobuf.ByteString - getFilterBytes() { + public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; 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); filter_ = b; return b; } else { @@ -320,11 +375,14 @@ public java.lang.String getFilter() { public static final int ORDER_BY_FIELD_NUMBER = 6; private volatile java.lang.Object orderBy_; /** + * + * *
    * Optional. the order by fields for the result.
    * 
* * string order_by = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The orderBy. */ @java.lang.Override @@ -333,29 +391,29 @@ public java.lang.String getOrderBy() { 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(); orderBy_ = s; return s; } } /** + * + * *
    * Optional. the order by fields for the result.
    * 
* * string order_by = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for orderBy. */ @java.lang.Override - public com.google.protobuf.ByteString - getOrderByBytes() { + public com.google.protobuf.ByteString getOrderByBytes() { java.lang.Object ref = orderBy_; 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); orderBy_ = b; return b; } else { @@ -364,6 +422,7 @@ public java.lang.String getOrderBy() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -375,12 +434,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 (view_ != com.google.cloud.vmmigration.v1.UtilizationReportView.UTILIZATION_REPORT_VIEW_UNSPECIFIED.getNumber()) { + if (view_ + != com.google.cloud.vmmigration.v1.UtilizationReportView.UTILIZATION_REPORT_VIEW_UNSPECIFIED + .getNumber()) { output.writeEnum(2, view_); } if (pageSize_ != 0) { @@ -407,13 +467,13 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } - if (view_ != com.google.cloud.vmmigration.v1.UtilizationReportView.UTILIZATION_REPORT_VIEW_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, view_); + if (view_ + != com.google.cloud.vmmigration.v1.UtilizationReportView.UTILIZATION_REPORT_VIEW_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, view_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(3, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, pageToken_); @@ -432,24 +492,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.vmmigration.v1.ListUtilizationReportsRequest)) { return super.equals(obj); } - com.google.cloud.vmmigration.v1.ListUtilizationReportsRequest other = (com.google.cloud.vmmigration.v1.ListUtilizationReportsRequest) obj; + com.google.cloud.vmmigration.v1.ListUtilizationReportsRequest other = + (com.google.cloud.vmmigration.v1.ListUtilizationReportsRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; + if (!getParent().equals(other.getParent())) return false; if (view_ != other.view_) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; - if (!getFilter() - .equals(other.getFilter())) return false; - if (!getOrderBy() - .equals(other.getOrderBy())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; + if (!getFilter().equals(other.getFilter())) return false; + if (!getOrderBy().equals(other.getOrderBy())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -479,117 +535,127 @@ public int hashCode() { } public static com.google.cloud.vmmigration.v1.ListUtilizationReportsRequest 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.vmmigration.v1.ListUtilizationReportsRequest 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.vmmigration.v1.ListUtilizationReportsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.vmmigration.v1.ListUtilizationReportsRequest 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.vmmigration.v1.ListUtilizationReportsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.vmmigration.v1.ListUtilizationReportsRequest 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.vmmigration.v1.ListUtilizationReportsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.vmmigration.v1.ListUtilizationReportsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.vmmigration.v1.ListUtilizationReportsRequest 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.vmmigration.v1.ListUtilizationReportsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.vmmigration.v1.ListUtilizationReportsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.vmmigration.v1.ListUtilizationReportsRequest 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.vmmigration.v1.ListUtilizationReportsRequest 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.vmmigration.v1.ListUtilizationReportsRequest 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.vmmigration.v1.ListUtilizationReportsRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.vmmigration.v1.ListUtilizationReportsRequest 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 message for 'ListUtilizationReports' request.
    * 
* * Protobuf type {@code google.cloud.vmmigration.v1.ListUtilizationReportsRequest} */ - 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.vmmigration.v1.ListUtilizationReportsRequest) com.google.cloud.vmmigration.v1.ListUtilizationReportsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ListUtilizationReportsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_ListUtilizationReportsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ListUtilizationReportsRequest_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_ListUtilizationReportsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.ListUtilizationReportsRequest.class, com.google.cloud.vmmigration.v1.ListUtilizationReportsRequest.Builder.class); + com.google.cloud.vmmigration.v1.ListUtilizationReportsRequest.class, + com.google.cloud.vmmigration.v1.ListUtilizationReportsRequest.Builder.class); } // Construct using com.google.cloud.vmmigration.v1.ListUtilizationReportsRequest.newBuilder() @@ -597,16 +663,15 @@ 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) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -626,13 +691,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ListUtilizationReportsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_ListUtilizationReportsRequest_descriptor; } @java.lang.Override - public com.google.cloud.vmmigration.v1.ListUtilizationReportsRequest getDefaultInstanceForType() { + public com.google.cloud.vmmigration.v1.ListUtilizationReportsRequest + getDefaultInstanceForType() { return com.google.cloud.vmmigration.v1.ListUtilizationReportsRequest.getDefaultInstance(); } @@ -647,7 +713,8 @@ public com.google.cloud.vmmigration.v1.ListUtilizationReportsRequest build() { @java.lang.Override public com.google.cloud.vmmigration.v1.ListUtilizationReportsRequest buildPartial() { - com.google.cloud.vmmigration.v1.ListUtilizationReportsRequest result = new com.google.cloud.vmmigration.v1.ListUtilizationReportsRequest(this); + com.google.cloud.vmmigration.v1.ListUtilizationReportsRequest result = + new com.google.cloud.vmmigration.v1.ListUtilizationReportsRequest(this); result.parent_ = parent_; result.view_ = view_; result.pageSize_ = pageSize_; @@ -662,38 +729,39 @@ public com.google.cloud.vmmigration.v1.ListUtilizationReportsRequest buildPartia 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.vmmigration.v1.ListUtilizationReportsRequest) { - return mergeFrom((com.google.cloud.vmmigration.v1.ListUtilizationReportsRequest)other); + return mergeFrom((com.google.cloud.vmmigration.v1.ListUtilizationReportsRequest) other); } else { super.mergeFrom(other); return this; @@ -701,7 +769,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.vmmigration.v1.ListUtilizationReportsRequest other) { - if (other == com.google.cloud.vmmigration.v1.ListUtilizationReportsRequest.getDefaultInstance()) return this; + if (other + == com.google.cloud.vmmigration.v1.ListUtilizationReportsRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -743,7 +813,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.vmmigration.v1.ListUtilizationReportsRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.vmmigration.v1.ListUtilizationReportsRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -755,18 +827,22 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The Utilization Reports parent.
      * 
* - * 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; @@ -775,20 +851,23 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The Utilization Reports parent.
      * 
* - * 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 { @@ -796,54 +875,67 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The Utilization Reports parent.
      * 
* - * 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) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. The Utilization Reports parent.
      * 
* - * 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() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The Utilization Reports parent.
      * 
* - * 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) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -851,55 +943,79 @@ public Builder setParentBytes( private int view_ = 0; /** + * + * *
      * Optional. The level of details of each report.
      * Defaults to BASIC.
      * 
* - * .google.cloud.vmmigration.v1.UtilizationReportView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.vmmigration.v1.UtilizationReportView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The enum numeric value on the wire for view. */ - @java.lang.Override public int getViewValue() { + @java.lang.Override + public int getViewValue() { return view_; } /** + * + * *
      * Optional. The level of details of each report.
      * Defaults to BASIC.
      * 
* - * .google.cloud.vmmigration.v1.UtilizationReportView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.vmmigration.v1.UtilizationReportView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param value The enum numeric value on the wire for view to set. * @return This builder for chaining. */ public Builder setViewValue(int value) { - + view_ = value; onChanged(); return this; } /** + * + * *
      * Optional. The level of details of each report.
      * Defaults to BASIC.
      * 
* - * .google.cloud.vmmigration.v1.UtilizationReportView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.vmmigration.v1.UtilizationReportView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The view. */ @java.lang.Override public com.google.cloud.vmmigration.v1.UtilizationReportView getView() { @SuppressWarnings("deprecation") - com.google.cloud.vmmigration.v1.UtilizationReportView result = com.google.cloud.vmmigration.v1.UtilizationReportView.valueOf(view_); - return result == null ? com.google.cloud.vmmigration.v1.UtilizationReportView.UNRECOGNIZED : result; + com.google.cloud.vmmigration.v1.UtilizationReportView result = + com.google.cloud.vmmigration.v1.UtilizationReportView.valueOf(view_); + return result == null + ? com.google.cloud.vmmigration.v1.UtilizationReportView.UNRECOGNIZED + : result; } /** + * + * *
      * Optional. The level of details of each report.
      * Defaults to BASIC.
      * 
* - * .google.cloud.vmmigration.v1.UtilizationReportView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.vmmigration.v1.UtilizationReportView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param value The view to set. * @return This builder for chaining. */ @@ -907,29 +1023,36 @@ public Builder setView(com.google.cloud.vmmigration.v1.UtilizationReportView val if (value == null) { throw new NullPointerException(); } - + view_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Optional. The level of details of each report.
      * Defaults to BASIC.
      * 
* - * .google.cloud.vmmigration.v1.UtilizationReportView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.vmmigration.v1.UtilizationReportView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return This builder for chaining. */ public Builder clearView() { - + view_ = 0; onChanged(); return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * Optional. The maximum number of reports to return. The service may return
      * fewer than this value. If unspecified, at most 500 reports will be
@@ -938,6 +1061,7 @@ public Builder clearView() {
      * 
* * int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -945,6 +1069,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * Optional. The maximum number of reports to return. The service may return
      * fewer than this value. If unspecified, at most 500 reports will be
@@ -953,16 +1079,19 @@ public int getPageSize() {
      * 
* * int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** + * + * *
      * Optional. The maximum number of reports to return. The service may return
      * fewer than this value. If unspecified, at most 500 reports will be
@@ -971,10 +1100,11 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -982,6 +1112,8 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * Required. A page token, received from a previous `ListUtilizationReports`
      * call. Provide this to retrieve the subsequent page.
@@ -990,13 +1122,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @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; @@ -1005,6 +1137,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Required. A page token, received from a previous `ListUtilizationReports`
      * call. Provide this to retrieve the subsequent page.
@@ -1013,15 +1147,14 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @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 { @@ -1029,6 +1162,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Required. A page token, received from a previous `ListUtilizationReports`
      * call. Provide this to retrieve the subsequent page.
@@ -1037,20 +1172,22 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
      * Required. A page token, received from a previous `ListUtilizationReports`
      * call. Provide this to retrieve the subsequent page.
@@ -1059,15 +1196,18 @@ public Builder setPageToken(
      * 
* * string page_token = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * Required. A page token, received from a previous `ListUtilizationReports`
      * call. Provide this to retrieve the subsequent page.
@@ -1076,16 +1216,16 @@ public Builder clearPageToken() {
      * 
* * string page_token = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; @@ -1093,18 +1233,20 @@ public Builder setPageTokenBytes( private java.lang.Object filter_ = ""; /** + * + * *
      * Optional. The filter request.
      * 
* * string filter = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; 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(); filter_ = s; return s; @@ -1113,20 +1255,21 @@ public java.lang.String getFilter() { } } /** + * + * *
      * Optional. The filter request.
      * 
* * string filter = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for filter. */ - public com.google.protobuf.ByteString - getFilterBytes() { + public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; 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); filter_ = b; return b; } else { @@ -1134,54 +1277,61 @@ public java.lang.String getFilter() { } } /** + * + * *
      * Optional. The filter request.
      * 
* * string filter = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter( - java.lang.String value) { + public Builder setFilter(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; onChanged(); return this; } /** + * + * *
      * Optional. The filter request.
      * 
* * string filter = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** + * + * *
      * Optional. The filter request.
      * 
* * string filter = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes( - com.google.protobuf.ByteString value) { + public Builder setFilterBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = value; onChanged(); return this; @@ -1189,18 +1339,20 @@ public Builder setFilterBytes( private java.lang.Object orderBy_ = ""; /** + * + * *
      * Optional. the order by fields for the result.
      * 
* * string order_by = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The orderBy. */ public java.lang.String getOrderBy() { java.lang.Object ref = orderBy_; 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(); orderBy_ = s; return s; @@ -1209,20 +1361,21 @@ public java.lang.String getOrderBy() { } } /** + * + * *
      * Optional. the order by fields for the result.
      * 
* * string order_by = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for orderBy. */ - public com.google.protobuf.ByteString - getOrderByBytes() { + public com.google.protobuf.ByteString getOrderByBytes() { java.lang.Object ref = orderBy_; 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); orderBy_ = b; return b; } else { @@ -1230,61 +1383,68 @@ public java.lang.String getOrderBy() { } } /** + * + * *
      * Optional. the order by fields for the result.
      * 
* * string order_by = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The orderBy to set. * @return This builder for chaining. */ - public Builder setOrderBy( - java.lang.String value) { + public Builder setOrderBy(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + orderBy_ = value; onChanged(); return this; } /** + * + * *
      * Optional. the order by fields for the result.
      * 
* * string order_by = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearOrderBy() { - + orderBy_ = getDefaultInstance().getOrderBy(); onChanged(); return this; } /** + * + * *
      * Optional. the order by fields for the result.
      * 
* * string order_by = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for orderBy to set. * @return This builder for chaining. */ - public Builder setOrderByBytes( - com.google.protobuf.ByteString value) { + public Builder setOrderByBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + orderBy_ = 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); } @@ -1294,12 +1454,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.vmmigration.v1.ListUtilizationReportsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.vmmigration.v1.ListUtilizationReportsRequest) - private static final com.google.cloud.vmmigration.v1.ListUtilizationReportsRequest DEFAULT_INSTANCE; + private static final com.google.cloud.vmmigration.v1.ListUtilizationReportsRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.vmmigration.v1.ListUtilizationReportsRequest(); } @@ -1308,16 +1469,16 @@ public static com.google.cloud.vmmigration.v1.ListUtilizationReportsRequest getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListUtilizationReportsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListUtilizationReportsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListUtilizationReportsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListUtilizationReportsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1332,6 +1493,4 @@ public com.google.protobuf.Parser getParserForTyp public com.google.cloud.vmmigration.v1.ListUtilizationReportsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListUtilizationReportsRequestOrBuilder.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListUtilizationReportsRequestOrBuilder.java similarity index 66% rename from owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListUtilizationReportsRequestOrBuilder.java rename to proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListUtilizationReportsRequestOrBuilder.java index a2a2421..6d7cc58 100644 --- a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListUtilizationReportsRequestOrBuilder.java +++ b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListUtilizationReportsRequestOrBuilder.java @@ -1,54 +1,91 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; -public interface ListUtilizationReportsRequestOrBuilder extends +public interface ListUtilizationReportsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.ListUtilizationReportsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The Utilization Reports parent.
    * 
* - * 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 Utilization Reports parent.
    * 
* - * 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(); /** + * + * *
    * Optional. The level of details of each report.
    * Defaults to BASIC.
    * 
* - * .google.cloud.vmmigration.v1.UtilizationReportView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.vmmigration.v1.UtilizationReportView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The enum numeric value on the wire for view. */ int getViewValue(); /** + * + * *
    * Optional. The level of details of each report.
    * Defaults to BASIC.
    * 
* - * .google.cloud.vmmigration.v1.UtilizationReportView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.vmmigration.v1.UtilizationReportView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The view. */ com.google.cloud.vmmigration.v1.UtilizationReportView getView(); /** + * + * *
    * Optional. The maximum number of reports to return. The service may return
    * fewer than this value. If unspecified, at most 500 reports will be
@@ -57,11 +94,14 @@ public interface ListUtilizationReportsRequestOrBuilder extends
    * 
* * int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * Required. A page token, received from a previous `ListUtilizationReports`
    * call. Provide this to retrieve the subsequent page.
@@ -70,10 +110,13 @@ public interface ListUtilizationReportsRequestOrBuilder extends
    * 
* * string page_token = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * Required. A page token, received from a previous `ListUtilizationReports`
    * call. Provide this to retrieve the subsequent page.
@@ -82,48 +125,58 @@ public interface ListUtilizationReportsRequestOrBuilder extends
    * 
* * string page_token = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); /** + * + * *
    * Optional. The filter request.
    * 
* * string filter = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The filter. */ java.lang.String getFilter(); /** + * + * *
    * Optional. The filter request.
    * 
* * string filter = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for filter. */ - com.google.protobuf.ByteString - getFilterBytes(); + com.google.protobuf.ByteString getFilterBytes(); /** + * + * *
    * Optional. the order by fields for the result.
    * 
* * string order_by = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The orderBy. */ java.lang.String getOrderBy(); /** + * + * *
    * Optional. the order by fields for the result.
    * 
* * string order_by = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for orderBy. */ - com.google.protobuf.ByteString - getOrderByBytes(); + com.google.protobuf.ByteString getOrderByBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListUtilizationReportsResponse.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListUtilizationReportsResponse.java similarity index 67% rename from owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListUtilizationReportsResponse.java rename to proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListUtilizationReportsResponse.java index 7aecc71..b791037 100644 --- a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListUtilizationReportsResponse.java +++ b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListUtilizationReportsResponse.java @@ -1,24 +1,43 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; /** + * + * *
  * Response message for 'ListUtilizationReports' request.
  * 
* * Protobuf type {@code google.cloud.vmmigration.v1.ListUtilizationReportsResponse} */ -public final class ListUtilizationReportsResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListUtilizationReportsResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.vmmigration.v1.ListUtilizationReportsResponse) ListUtilizationReportsResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListUtilizationReportsResponse.newBuilder() to construct. - private ListUtilizationReportsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ListUtilizationReportsResponse( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListUtilizationReportsResponse() { utilizationReports_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -27,16 +46,15 @@ private ListUtilizationReportsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListUtilizationReportsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListUtilizationReportsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -56,37 +74,43 @@ private ListUtilizationReportsResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - utilizationReports_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + utilizationReports_ = + new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + utilizationReports_.add( + input.readMessage( + com.google.cloud.vmmigration.v1.UtilizationReport.parser(), + extensionRegistry)); + break; } - utilizationReports_.add( - input.readMessage(com.google.cloud.vmmigration.v1.UtilizationReport.parser(), extensionRegistry)); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - unreachable_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000002; + nextPageToken_ = s; + break; } - unreachable_.add(s); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + unreachable_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000002; + } + unreachable_.add(s); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -94,8 +118,7 @@ private ListUtilizationReportsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { utilizationReports_ = java.util.Collections.unmodifiableList(utilizationReports_); @@ -107,72 +130,96 @@ private ListUtilizationReportsResponse( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ListUtilizationReportsResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_ListUtilizationReportsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ListUtilizationReportsResponse_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_ListUtilizationReportsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.ListUtilizationReportsResponse.class, com.google.cloud.vmmigration.v1.ListUtilizationReportsResponse.Builder.class); + com.google.cloud.vmmigration.v1.ListUtilizationReportsResponse.class, + com.google.cloud.vmmigration.v1.ListUtilizationReportsResponse.Builder.class); } public static final int UTILIZATION_REPORTS_FIELD_NUMBER = 1; private java.util.List utilizationReports_; /** + * + * *
    * Output only. The list of reports.
    * 
* - * repeated .google.cloud.vmmigration.v1.UtilizationReport utilization_reports = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.UtilizationReport utilization_reports = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public java.util.List getUtilizationReportsList() { + public java.util.List + getUtilizationReportsList() { return utilizationReports_; } /** + * + * *
    * Output only. The list of reports.
    * 
* - * repeated .google.cloud.vmmigration.v1.UtilizationReport utilization_reports = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.UtilizationReport utilization_reports = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public java.util.List + public java.util.List getUtilizationReportsOrBuilderList() { return utilizationReports_; } /** + * + * *
    * Output only. The list of reports.
    * 
* - * repeated .google.cloud.vmmigration.v1.UtilizationReport utilization_reports = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.UtilizationReport utilization_reports = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public int getUtilizationReportsCount() { return utilizationReports_.size(); } /** + * + * *
    * Output only. The list of reports.
    * 
* - * repeated .google.cloud.vmmigration.v1.UtilizationReport utilization_reports = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.UtilizationReport utilization_reports = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.vmmigration.v1.UtilizationReport getUtilizationReports(int index) { return utilizationReports_.get(index); } /** + * + * *
    * Output only. The list of reports.
    * 
* - * repeated .google.cloud.vmmigration.v1.UtilizationReport utilization_reports = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.UtilizationReport utilization_reports = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.vmmigration.v1.UtilizationReportOrBuilder getUtilizationReportsOrBuilder( @@ -183,12 +230,15 @@ public com.google.cloud.vmmigration.v1.UtilizationReportOrBuilder getUtilization public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** + * + * *
    * Output only. A token, which can be sent as `page_token` to retrieve the
    * next page. If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The nextPageToken. */ @java.lang.Override @@ -197,30 +247,30 @@ 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. A token, which can be sent as `page_token` to retrieve the
    * next page. If this field is omitted, there are no subsequent pages.
    * 
* * 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 { @@ -231,34 +281,42 @@ public java.lang.String getNextPageToken() { public static final int UNREACHABLE_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList unreachable_; /** + * + * *
    * Output only. Locations that could not be reached.
    * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return A list containing the unreachable. */ - public com.google.protobuf.ProtocolStringList - getUnreachableList() { + public com.google.protobuf.ProtocolStringList getUnreachableList() { return unreachable_; } /** + * + * *
    * Output only. Locations that could not be reached.
    * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** + * + * *
    * Output only. Locations that could not be reached.
    * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -266,20 +324,23 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** + * + * *
    * Output only. Locations that could not be reached.
    * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - public com.google.protobuf.ByteString - getUnreachableBytes(int index) { + public com.google.protobuf.ByteString getUnreachableBytes(int index) { return unreachable_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -291,8 +352,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 < utilizationReports_.size(); i++) { output.writeMessage(1, utilizationReports_.get(i)); } @@ -312,8 +372,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < utilizationReports_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, utilizationReports_.get(i)); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(1, utilizationReports_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -334,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.vmmigration.v1.ListUtilizationReportsResponse)) { return super.equals(obj); } - com.google.cloud.vmmigration.v1.ListUtilizationReportsResponse other = (com.google.cloud.vmmigration.v1.ListUtilizationReportsResponse) obj; + com.google.cloud.vmmigration.v1.ListUtilizationReportsResponse other = + (com.google.cloud.vmmigration.v1.ListUtilizationReportsResponse) obj; - if (!getUtilizationReportsList() - .equals(other.getUtilizationReportsList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; - if (!getUnreachableList() - .equals(other.getUnreachableList())) return false; + if (!getUtilizationReportsList().equals(other.getUtilizationReportsList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getUnreachableList().equals(other.getUnreachableList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -374,117 +432,127 @@ public int hashCode() { } public static com.google.cloud.vmmigration.v1.ListUtilizationReportsResponse 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.vmmigration.v1.ListUtilizationReportsResponse 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.vmmigration.v1.ListUtilizationReportsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.vmmigration.v1.ListUtilizationReportsResponse 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.vmmigration.v1.ListUtilizationReportsResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.vmmigration.v1.ListUtilizationReportsResponse parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.vmmigration.v1.ListUtilizationReportsResponse 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.vmmigration.v1.ListUtilizationReportsResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.vmmigration.v1.ListUtilizationReportsResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.vmmigration.v1.ListUtilizationReportsResponse 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.vmmigration.v1.ListUtilizationReportsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.vmmigration.v1.ListUtilizationReportsResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.vmmigration.v1.ListUtilizationReportsResponse 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.vmmigration.v1.ListUtilizationReportsResponse 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.vmmigration.v1.ListUtilizationReportsResponse 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.vmmigration.v1.ListUtilizationReportsResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.vmmigration.v1.ListUtilizationReportsResponse 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; } /** + * + * *
    * Response message for 'ListUtilizationReports' request.
    * 
* * Protobuf type {@code google.cloud.vmmigration.v1.ListUtilizationReportsResponse} */ - 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.vmmigration.v1.ListUtilizationReportsResponse) com.google.cloud.vmmigration.v1.ListUtilizationReportsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ListUtilizationReportsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_ListUtilizationReportsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ListUtilizationReportsResponse_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_ListUtilizationReportsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.ListUtilizationReportsResponse.class, com.google.cloud.vmmigration.v1.ListUtilizationReportsResponse.Builder.class); + com.google.cloud.vmmigration.v1.ListUtilizationReportsResponse.class, + com.google.cloud.vmmigration.v1.ListUtilizationReportsResponse.Builder.class); } // Construct using com.google.cloud.vmmigration.v1.ListUtilizationReportsResponse.newBuilder() @@ -492,17 +560,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) { getUtilizationReportsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -520,13 +588,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ListUtilizationReportsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_ListUtilizationReportsResponse_descriptor; } @java.lang.Override - public com.google.cloud.vmmigration.v1.ListUtilizationReportsResponse getDefaultInstanceForType() { + public com.google.cloud.vmmigration.v1.ListUtilizationReportsResponse + getDefaultInstanceForType() { return com.google.cloud.vmmigration.v1.ListUtilizationReportsResponse.getDefaultInstance(); } @@ -541,7 +610,8 @@ public com.google.cloud.vmmigration.v1.ListUtilizationReportsResponse build() { @java.lang.Override public com.google.cloud.vmmigration.v1.ListUtilizationReportsResponse buildPartial() { - com.google.cloud.vmmigration.v1.ListUtilizationReportsResponse result = new com.google.cloud.vmmigration.v1.ListUtilizationReportsResponse(this); + com.google.cloud.vmmigration.v1.ListUtilizationReportsResponse result = + new com.google.cloud.vmmigration.v1.ListUtilizationReportsResponse(this); int from_bitField0_ = bitField0_; if (utilizationReportsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -566,38 +636,39 @@ public com.google.cloud.vmmigration.v1.ListUtilizationReportsResponse buildParti 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.vmmigration.v1.ListUtilizationReportsResponse) { - return mergeFrom((com.google.cloud.vmmigration.v1.ListUtilizationReportsResponse)other); + return mergeFrom((com.google.cloud.vmmigration.v1.ListUtilizationReportsResponse) other); } else { super.mergeFrom(other); return this; @@ -605,7 +676,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.vmmigration.v1.ListUtilizationReportsResponse other) { - if (other == com.google.cloud.vmmigration.v1.ListUtilizationReportsResponse.getDefaultInstance()) return this; + if (other + == com.google.cloud.vmmigration.v1.ListUtilizationReportsResponse.getDefaultInstance()) + return this; if (utilizationReportsBuilder_ == null) { if (!other.utilizationReports_.isEmpty()) { if (utilizationReports_.isEmpty()) { @@ -624,9 +697,10 @@ public Builder mergeFrom(com.google.cloud.vmmigration.v1.ListUtilizationReportsR utilizationReportsBuilder_ = null; utilizationReports_ = other.utilizationReports_; bitField0_ = (bitField0_ & ~0x00000001); - utilizationReportsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getUtilizationReportsFieldBuilder() : null; + utilizationReportsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getUtilizationReportsFieldBuilder() + : null; } else { utilizationReportsBuilder_.addAllMessages(other.utilizationReports_); } @@ -665,7 +739,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.vmmigration.v1.ListUtilizationReportsResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.vmmigration.v1.ListUtilizationReportsResponse) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -674,28 +750,40 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.util.List utilizationReports_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureUtilizationReportsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - utilizationReports_ = new java.util.ArrayList(utilizationReports_); + utilizationReports_ = + new java.util.ArrayList( + utilizationReports_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.vmmigration.v1.UtilizationReport, com.google.cloud.vmmigration.v1.UtilizationReport.Builder, com.google.cloud.vmmigration.v1.UtilizationReportOrBuilder> utilizationReportsBuilder_; + com.google.cloud.vmmigration.v1.UtilizationReport, + com.google.cloud.vmmigration.v1.UtilizationReport.Builder, + com.google.cloud.vmmigration.v1.UtilizationReportOrBuilder> + utilizationReportsBuilder_; /** + * + * *
      * Output only. The list of reports.
      * 
* - * repeated .google.cloud.vmmigration.v1.UtilizationReport utilization_reports = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.UtilizationReport utilization_reports = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public java.util.List getUtilizationReportsList() { + public java.util.List + getUtilizationReportsList() { if (utilizationReportsBuilder_ == null) { return java.util.Collections.unmodifiableList(utilizationReports_); } else { @@ -703,11 +791,15 @@ public java.util.List getUtil } } /** + * + * *
      * Output only. The list of reports.
      * 
* - * repeated .google.cloud.vmmigration.v1.UtilizationReport utilization_reports = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.UtilizationReport utilization_reports = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public int getUtilizationReportsCount() { if (utilizationReportsBuilder_ == null) { @@ -717,11 +809,15 @@ public int getUtilizationReportsCount() { } } /** + * + * *
      * Output only. The list of reports.
      * 
* - * repeated .google.cloud.vmmigration.v1.UtilizationReport utilization_reports = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.UtilizationReport utilization_reports = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.vmmigration.v1.UtilizationReport getUtilizationReports(int index) { if (utilizationReportsBuilder_ == null) { @@ -731,11 +827,15 @@ public com.google.cloud.vmmigration.v1.UtilizationReport getUtilizationReports(i } } /** + * + * *
      * Output only. The list of reports.
      * 
* - * repeated .google.cloud.vmmigration.v1.UtilizationReport utilization_reports = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.UtilizationReport utilization_reports = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setUtilizationReports( int index, com.google.cloud.vmmigration.v1.UtilizationReport value) { @@ -752,11 +852,15 @@ public Builder setUtilizationReports( return this; } /** + * + * *
      * Output only. The list of reports.
      * 
* - * repeated .google.cloud.vmmigration.v1.UtilizationReport utilization_reports = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.UtilizationReport utilization_reports = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setUtilizationReports( int index, com.google.cloud.vmmigration.v1.UtilizationReport.Builder builderForValue) { @@ -770,11 +874,15 @@ public Builder setUtilizationReports( return this; } /** + * + * *
      * Output only. The list of reports.
      * 
* - * repeated .google.cloud.vmmigration.v1.UtilizationReport utilization_reports = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.UtilizationReport utilization_reports = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addUtilizationReports(com.google.cloud.vmmigration.v1.UtilizationReport value) { if (utilizationReportsBuilder_ == null) { @@ -790,11 +898,15 @@ public Builder addUtilizationReports(com.google.cloud.vmmigration.v1.Utilization return this; } /** + * + * *
      * Output only. The list of reports.
      * 
* - * repeated .google.cloud.vmmigration.v1.UtilizationReport utilization_reports = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.UtilizationReport utilization_reports = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addUtilizationReports( int index, com.google.cloud.vmmigration.v1.UtilizationReport value) { @@ -811,11 +923,15 @@ public Builder addUtilizationReports( return this; } /** + * + * *
      * Output only. The list of reports.
      * 
* - * repeated .google.cloud.vmmigration.v1.UtilizationReport utilization_reports = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.UtilizationReport utilization_reports = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addUtilizationReports( com.google.cloud.vmmigration.v1.UtilizationReport.Builder builderForValue) { @@ -829,11 +945,15 @@ public Builder addUtilizationReports( return this; } /** + * + * *
      * Output only. The list of reports.
      * 
* - * repeated .google.cloud.vmmigration.v1.UtilizationReport utilization_reports = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.UtilizationReport utilization_reports = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addUtilizationReports( int index, com.google.cloud.vmmigration.v1.UtilizationReport.Builder builderForValue) { @@ -847,18 +967,21 @@ public Builder addUtilizationReports( return this; } /** + * + * *
      * Output only. The list of reports.
      * 
* - * repeated .google.cloud.vmmigration.v1.UtilizationReport utilization_reports = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.UtilizationReport utilization_reports = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addAllUtilizationReports( java.lang.Iterable values) { if (utilizationReportsBuilder_ == null) { ensureUtilizationReportsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, utilizationReports_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, utilizationReports_); onChanged(); } else { utilizationReportsBuilder_.addAllMessages(values); @@ -866,11 +989,15 @@ public Builder addAllUtilizationReports( return this; } /** + * + * *
      * Output only. The list of reports.
      * 
* - * repeated .google.cloud.vmmigration.v1.UtilizationReport utilization_reports = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.UtilizationReport utilization_reports = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearUtilizationReports() { if (utilizationReportsBuilder_ == null) { @@ -883,11 +1010,15 @@ public Builder clearUtilizationReports() { return this; } /** + * + * *
      * Output only. The list of reports.
      * 
* - * repeated .google.cloud.vmmigration.v1.UtilizationReport utilization_reports = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.UtilizationReport utilization_reports = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder removeUtilizationReports(int index) { if (utilizationReportsBuilder_ == null) { @@ -900,39 +1031,52 @@ public Builder removeUtilizationReports(int index) { return this; } /** + * + * *
      * Output only. The list of reports.
      * 
* - * repeated .google.cloud.vmmigration.v1.UtilizationReport utilization_reports = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.UtilizationReport utilization_reports = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.vmmigration.v1.UtilizationReport.Builder getUtilizationReportsBuilder( int index) { return getUtilizationReportsFieldBuilder().getBuilder(index); } /** + * + * *
      * Output only. The list of reports.
      * 
* - * repeated .google.cloud.vmmigration.v1.UtilizationReport utilization_reports = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.UtilizationReport utilization_reports = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.vmmigration.v1.UtilizationReportOrBuilder getUtilizationReportsOrBuilder( - int index) { + public com.google.cloud.vmmigration.v1.UtilizationReportOrBuilder + getUtilizationReportsOrBuilder(int index) { if (utilizationReportsBuilder_ == null) { - return utilizationReports_.get(index); } else { + return utilizationReports_.get(index); + } else { return utilizationReportsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Output only. The list of reports.
      * 
* - * repeated .google.cloud.vmmigration.v1.UtilizationReport utilization_reports = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.UtilizationReport utilization_reports = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public java.util.List - getUtilizationReportsOrBuilderList() { + public java.util.List + getUtilizationReportsOrBuilderList() { if (utilizationReportsBuilder_ != null) { return utilizationReportsBuilder_.getMessageOrBuilderList(); } else { @@ -940,45 +1084,65 @@ public com.google.cloud.vmmigration.v1.UtilizationReportOrBuilder getUtilization } } /** + * + * *
      * Output only. The list of reports.
      * 
* - * repeated .google.cloud.vmmigration.v1.UtilizationReport utilization_reports = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.UtilizationReport utilization_reports = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.vmmigration.v1.UtilizationReport.Builder addUtilizationReportsBuilder() { - return getUtilizationReportsFieldBuilder().addBuilder( - com.google.cloud.vmmigration.v1.UtilizationReport.getDefaultInstance()); + public com.google.cloud.vmmigration.v1.UtilizationReport.Builder + addUtilizationReportsBuilder() { + return getUtilizationReportsFieldBuilder() + .addBuilder(com.google.cloud.vmmigration.v1.UtilizationReport.getDefaultInstance()); } /** + * + * *
      * Output only. The list of reports.
      * 
* - * repeated .google.cloud.vmmigration.v1.UtilizationReport utilization_reports = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.UtilizationReport utilization_reports = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.vmmigration.v1.UtilizationReport.Builder addUtilizationReportsBuilder( int index) { - return getUtilizationReportsFieldBuilder().addBuilder( - index, com.google.cloud.vmmigration.v1.UtilizationReport.getDefaultInstance()); + return getUtilizationReportsFieldBuilder() + .addBuilder( + index, com.google.cloud.vmmigration.v1.UtilizationReport.getDefaultInstance()); } /** + * + * *
      * Output only. The list of reports.
      * 
* - * repeated .google.cloud.vmmigration.v1.UtilizationReport utilization_reports = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.UtilizationReport utilization_reports = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public java.util.List - getUtilizationReportsBuilderList() { + public java.util.List + getUtilizationReportsBuilderList() { return getUtilizationReportsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.vmmigration.v1.UtilizationReport, com.google.cloud.vmmigration.v1.UtilizationReport.Builder, com.google.cloud.vmmigration.v1.UtilizationReportOrBuilder> + com.google.cloud.vmmigration.v1.UtilizationReport, + com.google.cloud.vmmigration.v1.UtilizationReport.Builder, + com.google.cloud.vmmigration.v1.UtilizationReportOrBuilder> getUtilizationReportsFieldBuilder() { if (utilizationReportsBuilder_ == null) { - utilizationReportsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.vmmigration.v1.UtilizationReport, com.google.cloud.vmmigration.v1.UtilizationReport.Builder, com.google.cloud.vmmigration.v1.UtilizationReportOrBuilder>( + utilizationReportsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.vmmigration.v1.UtilizationReport, + com.google.cloud.vmmigration.v1.UtilizationReport.Builder, + com.google.cloud.vmmigration.v1.UtilizationReportOrBuilder>( utilizationReports_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -990,19 +1154,21 @@ public com.google.cloud.vmmigration.v1.UtilizationReport.Builder addUtilizationR private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * Output only. A token, which can be sent as `page_token` to retrieve the
      * next page. If this field is omitted, there are no subsequent pages.
      * 
* * 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; @@ -1011,21 +1177,22 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * Output only. A token, which can be sent as `page_token` to retrieve the
      * next page. If this field is omitted, there are no subsequent pages.
      * 
* * 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 { @@ -1033,98 +1200,115 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * Output only. A token, which can be sent as `page_token` to retrieve the
      * next page. If this field is omitted, there are no subsequent pages.
      * 
* * 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) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** + * + * *
      * Output only. A token, which can be sent as `page_token` to retrieve the
      * next page. If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** + * + * *
      * Output only. A token, which can be sent as `page_token` to retrieve the
      * next page. If this field is omitted, there are no subsequent pages.
      * 
* * 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) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList unreachable_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList unreachable_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureUnreachableIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { unreachable_ = new com.google.protobuf.LazyStringArrayList(unreachable_); bitField0_ |= 0x00000002; - } + } } /** + * + * *
      * Output only. Locations that could not be reached.
      * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return A list containing the unreachable. */ - public com.google.protobuf.ProtocolStringList - getUnreachableList() { + public com.google.protobuf.ProtocolStringList getUnreachableList() { return unreachable_.getUnmodifiableView(); } /** + * + * *
      * Output only. Locations that could not be reached.
      * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** + * + * *
      * Output only. Locations that could not be reached.
      * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -1132,80 +1316,90 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** + * + * *
      * Output only. Locations that could not be reached.
      * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - public com.google.protobuf.ByteString - getUnreachableBytes(int index) { + public com.google.protobuf.ByteString getUnreachableBytes(int index) { return unreachable_.getByteString(index); } /** + * + * *
      * Output only. Locations that could not be reached.
      * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param index The index to set the value at. * @param value The unreachable to set. * @return This builder for chaining. */ - public Builder setUnreachable( - int index, java.lang.String value) { + public Builder setUnreachable(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUnreachableIsMutable(); + throw new NullPointerException(); + } + ensureUnreachableIsMutable(); unreachable_.set(index, value); onChanged(); return this; } /** + * + * *
      * Output only. Locations that could not be reached.
      * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The unreachable to add. * @return This builder for chaining. */ - public Builder addUnreachable( - java.lang.String value) { + public Builder addUnreachable(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUnreachableIsMutable(); + throw new NullPointerException(); + } + ensureUnreachableIsMutable(); unreachable_.add(value); onChanged(); return this; } /** + * + * *
      * Output only. Locations that could not be reached.
      * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param values The unreachable to add. * @return This builder for chaining. */ - public Builder addAllUnreachable( - java.lang.Iterable values) { + public Builder addAllUnreachable(java.lang.Iterable values) { ensureUnreachableIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, unreachable_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, unreachable_); onChanged(); return this; } /** + * + * *
      * Output only. Locations that could not be reached.
      * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearUnreachable() { @@ -1215,28 +1409,30 @@ public Builder clearUnreachable() { return this; } /** + * + * *
      * Output only. Locations that could not be reached.
      * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes of the unreachable to add. * @return This builder for chaining. */ - public Builder addUnreachableBytes( - com.google.protobuf.ByteString value) { + public Builder addUnreachableBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureUnreachableIsMutable(); unreachable_.add(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); } @@ -1246,30 +1442,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.vmmigration.v1.ListUtilizationReportsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.vmmigration.v1.ListUtilizationReportsResponse) - private static final com.google.cloud.vmmigration.v1.ListUtilizationReportsResponse DEFAULT_INSTANCE; + private static final com.google.cloud.vmmigration.v1.ListUtilizationReportsResponse + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.vmmigration.v1.ListUtilizationReportsResponse(); } - public static com.google.cloud.vmmigration.v1.ListUtilizationReportsResponse getDefaultInstance() { + public static com.google.cloud.vmmigration.v1.ListUtilizationReportsResponse + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListUtilizationReportsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListUtilizationReportsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListUtilizationReportsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListUtilizationReportsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1281,9 +1479,8 @@ public com.google.protobuf.Parser getParserForTy } @java.lang.Override - public com.google.cloud.vmmigration.v1.ListUtilizationReportsResponse getDefaultInstanceForType() { + public com.google.cloud.vmmigration.v1.ListUtilizationReportsResponse + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListUtilizationReportsResponseOrBuilder.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListUtilizationReportsResponseOrBuilder.java similarity index 61% rename from owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListUtilizationReportsResponseOrBuilder.java rename to proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListUtilizationReportsResponseOrBuilder.java index b234c80..f2195a9 100644 --- a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListUtilizationReportsResponseOrBuilder.java +++ b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ListUtilizationReportsResponseOrBuilder.java @@ -1,116 +1,166 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; -public interface ListUtilizationReportsResponseOrBuilder extends +public interface ListUtilizationReportsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.ListUtilizationReportsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. The list of reports.
    * 
* - * repeated .google.cloud.vmmigration.v1.UtilizationReport utilization_reports = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.UtilizationReport utilization_reports = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - java.util.List - getUtilizationReportsList(); + java.util.List getUtilizationReportsList(); /** + * + * *
    * Output only. The list of reports.
    * 
* - * repeated .google.cloud.vmmigration.v1.UtilizationReport utilization_reports = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.UtilizationReport utilization_reports = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.cloud.vmmigration.v1.UtilizationReport getUtilizationReports(int index); /** + * + * *
    * Output only. The list of reports.
    * 
* - * repeated .google.cloud.vmmigration.v1.UtilizationReport utilization_reports = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.UtilizationReport utilization_reports = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ int getUtilizationReportsCount(); /** + * + * *
    * Output only. The list of reports.
    * 
* - * repeated .google.cloud.vmmigration.v1.UtilizationReport utilization_reports = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.UtilizationReport utilization_reports = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - java.util.List + java.util.List getUtilizationReportsOrBuilderList(); /** + * + * *
    * Output only. The list of reports.
    * 
* - * repeated .google.cloud.vmmigration.v1.UtilizationReport utilization_reports = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.UtilizationReport utilization_reports = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.cloud.vmmigration.v1.UtilizationReportOrBuilder getUtilizationReportsOrBuilder( int index); /** + * + * *
    * Output only. A token, which can be sent as `page_token` to retrieve the
    * next page. If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * Output only. A token, which can be sent as `page_token` to retrieve the
    * next page. If this field is omitted, there are no subsequent pages.
    * 
* * 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(); /** + * + * *
    * Output only. Locations that could not be reached.
    * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return A list containing the unreachable. */ - java.util.List - getUnreachableList(); + java.util.List getUnreachableList(); /** + * + * *
    * Output only. Locations that could not be reached.
    * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The count of unreachable. */ int getUnreachableCount(); /** + * + * *
    * Output only. Locations that could not be reached.
    * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param index The index of the element to return. * @return The unreachable at the given index. */ java.lang.String getUnreachable(int index); /** + * + * *
    * Output only. Locations that could not be reached.
    * 
* * repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - com.google.protobuf.ByteString - getUnreachableBytes(int index); + com.google.protobuf.ByteString getUnreachableBytes(int index); } diff --git a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/LocationName.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/LocationName.java similarity index 100% rename from owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/LocationName.java rename to proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/LocationName.java diff --git a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/MigratingVm.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/MigratingVm.java similarity index 68% rename from owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/MigratingVm.java rename to proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/MigratingVm.java index 6cc3c36..39f73f4 100644 --- a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/MigratingVm.java +++ b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/MigratingVm.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; /** + * + * *
  * MigratingVm describes the VM that will be migrated from a Source environment
  * and its replication state.
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.cloud.vmmigration.v1.MigratingVm}
  */
-public final class MigratingVm extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class MigratingVm extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.vmmigration.v1.MigratingVm)
     MigratingVmOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use MigratingVm.newBuilder() to construct.
   private MigratingVm(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private MigratingVm() {
     name_ = "";
     sourceVmId_ = "";
@@ -33,16 +51,15 @@ private MigratingVm() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new MigratingVm();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private MigratingVm(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -62,185 +79,221 @@ private MigratingVm(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            name_ = s;
-            break;
-          }
-          case 18: {
-            java.lang.String s = input.readStringRequireUtf8();
-
-            sourceVmId_ = s;
-            break;
-          }
-          case 26: {
-            java.lang.String s = input.readStringRequireUtf8();
-
-            description_ = s;
-            break;
-          }
-          case 66: {
-            com.google.cloud.vmmigration.v1.SchedulePolicy.Builder subBuilder = null;
-            if (policy_ != null) {
-              subBuilder = policy_.toBuilder();
-            }
-            policy_ = input.readMessage(com.google.cloud.vmmigration.v1.SchedulePolicy.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(policy_);
-              policy_ = subBuilder.buildPartial();
+              name_ = s;
+              break;
             }
+          case 18:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            break;
-          }
-          case 74: {
-            com.google.protobuf.Timestamp.Builder subBuilder = null;
-            if (createTime_ != null) {
-              subBuilder = createTime_.toBuilder();
-            }
-            createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(createTime_);
-              createTime_ = subBuilder.buildPartial();
+              sourceVmId_ = s;
+              break;
             }
+          case 26:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            break;
-          }
-          case 82: {
-            com.google.protobuf.Timestamp.Builder subBuilder = null;
-            if (updateTime_ != null) {
-              subBuilder = updateTime_.toBuilder();
+              description_ = s;
+              break;
             }
-            updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(updateTime_);
-              updateTime_ = subBuilder.buildPartial();
+          case 66:
+            {
+              com.google.cloud.vmmigration.v1.SchedulePolicy.Builder subBuilder = null;
+              if (policy_ != null) {
+                subBuilder = policy_.toBuilder();
+              }
+              policy_ =
+                  input.readMessage(
+                      com.google.cloud.vmmigration.v1.SchedulePolicy.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(policy_);
+                policy_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-
-            break;
-          }
-          case 90: {
-            com.google.cloud.vmmigration.v1.ReplicationSync.Builder subBuilder = null;
-            if (lastSync_ != null) {
-              subBuilder = lastSync_.toBuilder();
+          case 74:
+            {
+              com.google.protobuf.Timestamp.Builder subBuilder = null;
+              if (createTime_ != null) {
+                subBuilder = createTime_.toBuilder();
+              }
+              createTime_ =
+                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(createTime_);
+                createTime_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-            lastSync_ = input.readMessage(com.google.cloud.vmmigration.v1.ReplicationSync.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(lastSync_);
-              lastSync_ = subBuilder.buildPartial();
+          case 82:
+            {
+              com.google.protobuf.Timestamp.Builder subBuilder = null;
+              if (updateTime_ != null) {
+                subBuilder = updateTime_.toBuilder();
+              }
+              updateTime_ =
+                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(updateTime_);
+                updateTime_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-
-            break;
-          }
-          case 106: {
-            com.google.cloud.vmmigration.v1.ReplicationCycle.Builder subBuilder = null;
-            if (currentSyncInfo_ != null) {
-              subBuilder = currentSyncInfo_.toBuilder();
+          case 90:
+            {
+              com.google.cloud.vmmigration.v1.ReplicationSync.Builder subBuilder = null;
+              if (lastSync_ != null) {
+                subBuilder = lastSync_.toBuilder();
+              }
+              lastSync_ =
+                  input.readMessage(
+                      com.google.cloud.vmmigration.v1.ReplicationSync.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(lastSync_);
+                lastSync_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-            currentSyncInfo_ = input.readMessage(com.google.cloud.vmmigration.v1.ReplicationCycle.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(currentSyncInfo_);
-              currentSyncInfo_ = subBuilder.buildPartial();
+          case 106:
+            {
+              com.google.cloud.vmmigration.v1.ReplicationCycle.Builder subBuilder = null;
+              if (currentSyncInfo_ != null) {
+                subBuilder = currentSyncInfo_.toBuilder();
+              }
+              currentSyncInfo_ =
+                  input.readMessage(
+                      com.google.cloud.vmmigration.v1.ReplicationCycle.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(currentSyncInfo_);
+                currentSyncInfo_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
+          case 122:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            break;
-          }
-          case 122: {
-            java.lang.String s = input.readStringRequireUtf8();
-
-            group_ = s;
-            break;
-          }
-          case 130: {
-            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-              labels_ = com.google.protobuf.MapField.newMapField(
-                  LabelsDefaultEntryHolder.defaultEntry);
-              mutable_bitField0_ |= 0x00000001;
-            }
-            com.google.protobuf.MapEntry
-            labels__ = input.readMessage(
-                LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-            labels_.getMutableMap().put(
-                labels__.getKey(), labels__.getValue());
-            break;
-          }
-          case 138: {
-            if (!((mutable_bitField0_ & 0x00000002) != 0)) {
-              recentCloneJobs_ = new java.util.ArrayList();
-              mutable_bitField0_ |= 0x00000002;
+              group_ = s;
+              break;
             }
-            recentCloneJobs_.add(
-                input.readMessage(com.google.cloud.vmmigration.v1.CloneJob.parser(), extensionRegistry));
-            break;
-          }
-          case 146: {
-            java.lang.String s = input.readStringRequireUtf8();
-
-            displayName_ = s;
-            break;
-          }
-          case 154: {
-            com.google.rpc.Status.Builder subBuilder = null;
-            if (error_ != null) {
-              subBuilder = error_.toBuilder();
+          case 130:
+            {
+              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                labels_ =
+                    com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry);
+                mutable_bitField0_ |= 0x00000001;
+              }
+              com.google.protobuf.MapEntry labels__ =
+                  input.readMessage(
+                      LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+              labels_.getMutableMap().put(labels__.getKey(), labels__.getValue());
+              break;
             }
-            error_ = input.readMessage(com.google.rpc.Status.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(error_);
-              error_ = subBuilder.buildPartial();
+          case 138:
+            {
+              if (!((mutable_bitField0_ & 0x00000002) != 0)) {
+                recentCloneJobs_ =
+                    new java.util.ArrayList();
+                mutable_bitField0_ |= 0x00000002;
+              }
+              recentCloneJobs_.add(
+                  input.readMessage(
+                      com.google.cloud.vmmigration.v1.CloneJob.parser(), extensionRegistry));
+              break;
             }
+          case 146:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            break;
-          }
-          case 162: {
-            if (!((mutable_bitField0_ & 0x00000004) != 0)) {
-              recentCutoverJobs_ = new java.util.ArrayList();
-              mutable_bitField0_ |= 0x00000004;
+              displayName_ = s;
+              break;
             }
-            recentCutoverJobs_.add(
-                input.readMessage(com.google.cloud.vmmigration.v1.CutoverJob.parser(), extensionRegistry));
-            break;
-          }
-          case 178: {
-            com.google.protobuf.Timestamp.Builder subBuilder = null;
-            if (stateTime_ != null) {
-              subBuilder = stateTime_.toBuilder();
+          case 154:
+            {
+              com.google.rpc.Status.Builder subBuilder = null;
+              if (error_ != null) {
+                subBuilder = error_.toBuilder();
+              }
+              error_ = input.readMessage(com.google.rpc.Status.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(error_);
+                error_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-            stateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(stateTime_);
-              stateTime_ = subBuilder.buildPartial();
+          case 162:
+            {
+              if (!((mutable_bitField0_ & 0x00000004) != 0)) {
+                recentCutoverJobs_ =
+                    new java.util.ArrayList();
+                mutable_bitField0_ |= 0x00000004;
+              }
+              recentCutoverJobs_.add(
+                  input.readMessage(
+                      com.google.cloud.vmmigration.v1.CutoverJob.parser(), extensionRegistry));
+              break;
             }
+          case 178:
+            {
+              com.google.protobuf.Timestamp.Builder subBuilder = null;
+              if (stateTime_ != null) {
+                subBuilder = stateTime_.toBuilder();
+              }
+              stateTime_ =
+                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(stateTime_);
+                stateTime_ = subBuilder.buildPartial();
+              }
+
+              break;
+            }
+          case 184:
+            {
+              int rawValue = input.readEnum();
 
-            break;
-          }
-          case 184: {
-            int rawValue = input.readEnum();
-
-            state_ = rawValue;
-            break;
-          }
-          case 210: {
-            com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaults.Builder subBuilder = null;
-            if (targetVmDefaultsCase_ == 26) {
-              subBuilder = ((com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaults) targetVmDefaults_).toBuilder();
+              state_ = rawValue;
+              break;
             }
-            targetVmDefaults_ =
-                input.readMessage(com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaults.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom((com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaults) targetVmDefaults_);
-              targetVmDefaults_ = subBuilder.buildPartial();
+          case 210:
+            {
+              com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaults.Builder subBuilder = null;
+              if (targetVmDefaultsCase_ == 26) {
+                subBuilder =
+                    ((com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaults)
+                            targetVmDefaults_)
+                        .toBuilder();
+              }
+              targetVmDefaults_ =
+                  input.readMessage(
+                      com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaults.parser(),
+                      extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(
+                    (com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaults)
+                        targetVmDefaults_);
+                targetVmDefaults_ = subBuilder.buildPartial();
+              }
+              targetVmDefaultsCase_ = 26;
+              break;
             }
-            targetVmDefaultsCase_ = 26;
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -248,8 +301,7 @@ private MigratingVm(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       if (((mutable_bitField0_ & 0x00000002) != 0)) {
         recentCloneJobs_ = java.util.Collections.unmodifiableList(recentCloneJobs_);
@@ -261,41 +313,46 @@ private MigratingVm(
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_MigratingVm_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.vmmigration.v1.VmMigrationProto
+        .internal_static_google_cloud_vmmigration_v1_MigratingVm_descriptor;
   }
 
   @SuppressWarnings({"rawtypes"})
   @java.lang.Override
-  protected com.google.protobuf.MapField internalGetMapField(
-      int number) {
+  protected com.google.protobuf.MapField internalGetMapField(int number) {
     switch (number) {
       case 16:
         return internalGetLabels();
       default:
-        throw new RuntimeException(
-            "Invalid map field number: " + number);
+        throw new RuntimeException("Invalid map field number: " + number);
     }
   }
+
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_MigratingVm_fieldAccessorTable
+    return com.google.cloud.vmmigration.v1.VmMigrationProto
+        .internal_static_google_cloud_vmmigration_v1_MigratingVm_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.vmmigration.v1.MigratingVm.class, com.google.cloud.vmmigration.v1.MigratingVm.Builder.class);
+            com.google.cloud.vmmigration.v1.MigratingVm.class,
+            com.google.cloud.vmmigration.v1.MigratingVm.Builder.class);
   }
 
   /**
+   *
+   *
    * 
    * The possible values of the state/health of source VM.
    * 
* * Protobuf enum {@code google.cloud.vmmigration.v1.MigratingVm.State} */ - public enum State - implements com.google.protobuf.ProtocolMessageEnum { + public enum State implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * The state was not sampled by the health checks yet.
      * 
@@ -304,6 +361,8 @@ public enum State */ STATE_UNSPECIFIED(0), /** + * + * *
      * The VM in the source is being verified.
      * 
@@ -312,6 +371,8 @@ public enum State */ PENDING(1), /** + * + * *
      * The source VM was verified, and it's ready to start replication.
      * 
@@ -320,6 +381,8 @@ public enum State */ READY(2), /** + * + * *
      * Migration is going through the first sync cycle.
      * 
@@ -328,6 +391,8 @@ public enum State */ FIRST_SYNC(3), /** + * + * *
      * The replication is active, and it's running or scheduled to run.
      * 
@@ -336,6 +401,8 @@ public enum State */ ACTIVE(4), /** + * + * *
      * The source VM is being turned off, and a final replication is currently
      * running.
@@ -345,6 +412,8 @@ public enum State
      */
     CUTTING_OVER(7),
     /**
+     *
+     *
      * 
      * The source VM was stopped and replicated. The replication is currently
      * paused.
@@ -354,6 +423,8 @@ public enum State
      */
     CUTOVER(8),
     /**
+     *
+     *
      * 
      * A cutover job is active and replication cycle is running the final sync.
      * 
@@ -362,6 +433,8 @@ public enum State */ FINAL_SYNC(9), /** + * + * *
      * The replication was paused by the user and no cycles are scheduled to
      * run.
@@ -371,6 +444,8 @@ public enum State
      */
     PAUSED(10),
     /**
+     *
+     *
      * 
      * The migrating VM is being finalized and migration resources are being
      * removed.
@@ -380,6 +455,8 @@ public enum State
      */
     FINALIZING(11),
     /**
+     *
+     *
      * 
      * The replication process is done. The migrating VM is finalized and no
      * longer consumes billable resources.
@@ -389,6 +466,8 @@ public enum State
      */
     FINALIZED(12),
     /**
+     *
+     *
      * 
      * The replication process encountered an unrecoverable error and was
      * aborted.
@@ -401,6 +480,8 @@ public enum State
     ;
 
     /**
+     *
+     *
      * 
      * The state was not sampled by the health checks yet.
      * 
@@ -409,6 +490,8 @@ public enum State */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * The VM in the source is being verified.
      * 
@@ -417,6 +500,8 @@ public enum State */ public static final int PENDING_VALUE = 1; /** + * + * *
      * The source VM was verified, and it's ready to start replication.
      * 
@@ -425,6 +510,8 @@ public enum State */ public static final int READY_VALUE = 2; /** + * + * *
      * Migration is going through the first sync cycle.
      * 
@@ -433,6 +520,8 @@ public enum State */ public static final int FIRST_SYNC_VALUE = 3; /** + * + * *
      * The replication is active, and it's running or scheduled to run.
      * 
@@ -441,6 +530,8 @@ public enum State */ public static final int ACTIVE_VALUE = 4; /** + * + * *
      * The source VM is being turned off, and a final replication is currently
      * running.
@@ -450,6 +541,8 @@ public enum State
      */
     public static final int CUTTING_OVER_VALUE = 7;
     /**
+     *
+     *
      * 
      * The source VM was stopped and replicated. The replication is currently
      * paused.
@@ -459,6 +552,8 @@ public enum State
      */
     public static final int CUTOVER_VALUE = 8;
     /**
+     *
+     *
      * 
      * A cutover job is active and replication cycle is running the final sync.
      * 
@@ -467,6 +562,8 @@ public enum State */ public static final int FINAL_SYNC_VALUE = 9; /** + * + * *
      * The replication was paused by the user and no cycles are scheduled to
      * run.
@@ -476,6 +573,8 @@ public enum State
      */
     public static final int PAUSED_VALUE = 10;
     /**
+     *
+     *
      * 
      * The migrating VM is being finalized and migration resources are being
      * removed.
@@ -485,6 +584,8 @@ public enum State
      */
     public static final int FINALIZING_VALUE = 11;
     /**
+     *
+     *
      * 
      * The replication process is done. The migrating VM is finalized and no
      * longer consumes billable resources.
@@ -494,6 +595,8 @@ public enum State
      */
     public static final int FINALIZED_VALUE = 12;
     /**
+     *
+     *
      * 
      * The replication process encountered an unrecoverable error and was
      * aborted.
@@ -503,7 +606,6 @@ public enum State
      */
     public static final int ERROR_VALUE = 13;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -528,58 +630,67 @@ public static State valueOf(int value) {
      */
     public static State forNumber(int value) {
       switch (value) {
-        case 0: return STATE_UNSPECIFIED;
-        case 1: return PENDING;
-        case 2: return READY;
-        case 3: return FIRST_SYNC;
-        case 4: return ACTIVE;
-        case 7: return CUTTING_OVER;
-        case 8: return CUTOVER;
-        case 9: return FINAL_SYNC;
-        case 10: return PAUSED;
-        case 11: return FINALIZING;
-        case 12: return FINALIZED;
-        case 13: return ERROR;
-        default: return null;
-      }
-    }
-
-    public static com.google.protobuf.Internal.EnumLiteMap
-        internalGetValueMap() {
+        case 0:
+          return STATE_UNSPECIFIED;
+        case 1:
+          return PENDING;
+        case 2:
+          return READY;
+        case 3:
+          return FIRST_SYNC;
+        case 4:
+          return ACTIVE;
+        case 7:
+          return CUTTING_OVER;
+        case 8:
+          return CUTOVER;
+        case 9:
+          return FINAL_SYNC;
+        case 10:
+          return PAUSED;
+        case 11:
+          return FINALIZING;
+        case 12:
+          return FINALIZED;
+        case 13:
+          return ERROR;
+        default:
+          return null;
+      }
+    }
+
+    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
       return internalValueMap;
     }
-    private static final com.google.protobuf.Internal.EnumLiteMap<
-        State> internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public State findValueByNumber(int number) {
-              return State.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 State findValueByNumber(int number) {
+            return State.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() {
+
+    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
       return com.google.cloud.vmmigration.v1.MigratingVm.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final State[] VALUES = values();
 
-    public static State valueOf(
-        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static State 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;
@@ -598,12 +709,15 @@ private State(int value) {
 
   private int targetVmDefaultsCase_ = 0;
   private java.lang.Object targetVmDefaults_;
+
   public enum TargetVmDefaultsCase
-      implements com.google.protobuf.Internal.EnumLite,
+      implements
+          com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     COMPUTE_ENGINE_TARGET_DEFAULTS(26),
     TARGETVMDEFAULTS_NOT_SET(0);
     private final int value;
+
     private TargetVmDefaultsCase(int value) {
       this.value = value;
     }
@@ -619,29 +733,36 @@ public static TargetVmDefaultsCase valueOf(int value) {
 
     public static TargetVmDefaultsCase forNumber(int value) {
       switch (value) {
-        case 26: return COMPUTE_ENGINE_TARGET_DEFAULTS;
-        case 0: return TARGETVMDEFAULTS_NOT_SET;
-        default: return null;
+        case 26:
+          return COMPUTE_ENGINE_TARGET_DEFAULTS;
+        case 0:
+          return TARGETVMDEFAULTS_NOT_SET;
+        default:
+          return null;
       }
     }
+
     public int getNumber() {
       return this.value;
     }
   };
 
-  public TargetVmDefaultsCase
-  getTargetVmDefaultsCase() {
-    return TargetVmDefaultsCase.forNumber(
-        targetVmDefaultsCase_);
+  public TargetVmDefaultsCase getTargetVmDefaultsCase() {
+    return TargetVmDefaultsCase.forNumber(targetVmDefaultsCase_);
   }
 
   public static final int COMPUTE_ENGINE_TARGET_DEFAULTS_FIELD_NUMBER = 26;
   /**
+   *
+   *
    * 
    * Details of the target VM in Compute Engine.
    * 
* - * .google.cloud.vmmigration.v1.ComputeEngineTargetDefaults compute_engine_target_defaults = 26; + * + * .google.cloud.vmmigration.v1.ComputeEngineTargetDefaults compute_engine_target_defaults = 26; + * + * * @return Whether the computeEngineTargetDefaults field is set. */ @java.lang.Override @@ -649,31 +770,42 @@ public boolean hasComputeEngineTargetDefaults() { return targetVmDefaultsCase_ == 26; } /** + * + * *
    * Details of the target VM in Compute Engine.
    * 
* - * .google.cloud.vmmigration.v1.ComputeEngineTargetDefaults compute_engine_target_defaults = 26; + * + * .google.cloud.vmmigration.v1.ComputeEngineTargetDefaults compute_engine_target_defaults = 26; + * + * * @return The computeEngineTargetDefaults. */ @java.lang.Override - public com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaults getComputeEngineTargetDefaults() { + public com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaults + getComputeEngineTargetDefaults() { if (targetVmDefaultsCase_ == 26) { - return (com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaults) targetVmDefaults_; + return (com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaults) targetVmDefaults_; } return com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaults.getDefaultInstance(); } /** + * + * *
    * Details of the target VM in Compute Engine.
    * 
* - * .google.cloud.vmmigration.v1.ComputeEngineTargetDefaults compute_engine_target_defaults = 26; + * + * .google.cloud.vmmigration.v1.ComputeEngineTargetDefaults compute_engine_target_defaults = 26; + * */ @java.lang.Override - public com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaultsOrBuilder getComputeEngineTargetDefaultsOrBuilder() { + public com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaultsOrBuilder + getComputeEngineTargetDefaultsOrBuilder() { if (targetVmDefaultsCase_ == 26) { - return (com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaults) targetVmDefaults_; + return (com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaults) targetVmDefaults_; } return com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaults.getDefaultInstance(); } @@ -681,11 +813,14 @@ public com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaultsOrBuilder getC public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Output only. The identifier of the MigratingVm.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ @java.lang.Override @@ -694,29 +829,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. The identifier of the MigratingVm.
    * 
* * 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 { @@ -727,6 +862,8 @@ public java.lang.String getName() { public static final int SOURCE_VM_ID_FIELD_NUMBER = 2; private volatile java.lang.Object sourceVmId_; /** + * + * *
    * The unique ID of the VM in the source.
    * The VM's name in vSphere can be changed, so this is not the VM's name but
@@ -734,6 +871,7 @@ public java.lang.String getName() {
    * 
* * string source_vm_id = 2; + * * @return The sourceVmId. */ @java.lang.Override @@ -742,14 +880,15 @@ public java.lang.String getSourceVmId() { 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(); sourceVmId_ = s; return s; } } /** + * + * *
    * The unique ID of the VM in the source.
    * The VM's name in vSphere can be changed, so this is not the VM's name but
@@ -757,16 +896,15 @@ public java.lang.String getSourceVmId() {
    * 
* * string source_vm_id = 2; + * * @return The bytes for sourceVmId. */ @java.lang.Override - public com.google.protobuf.ByteString - getSourceVmIdBytes() { + public com.google.protobuf.ByteString getSourceVmIdBytes() { java.lang.Object ref = sourceVmId_; 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); sourceVmId_ = b; return b; } else { @@ -777,11 +915,14 @@ public java.lang.String getSourceVmId() { public static final int DISPLAY_NAME_FIELD_NUMBER = 18; private volatile java.lang.Object displayName_; /** + * + * *
    * The display name attached to the MigratingVm by the user.
    * 
* * string display_name = 18; + * * @return The displayName. */ @java.lang.Override @@ -790,29 +931,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; } } /** + * + * *
    * The display name attached to the MigratingVm by the user.
    * 
* * string display_name = 18; + * * @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 { @@ -823,11 +964,14 @@ public java.lang.String getDisplayName() { public static final int DESCRIPTION_FIELD_NUMBER = 3; private volatile java.lang.Object description_; /** + * + * *
    * The description attached to the migrating VM by the user.
    * 
* * string description = 3; + * * @return The description. */ @java.lang.Override @@ -836,29 +980,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; } } /** + * + * *
    * The description attached to the migrating VM by the user.
    * 
* * 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 { @@ -869,11 +1013,14 @@ public java.lang.String getDescription() { public static final int POLICY_FIELD_NUMBER = 8; private com.google.cloud.vmmigration.v1.SchedulePolicy policy_; /** + * + * *
    * The replication schedule policy.
    * 
* * .google.cloud.vmmigration.v1.SchedulePolicy policy = 8; + * * @return Whether the policy field is set. */ @java.lang.Override @@ -881,18 +1028,25 @@ public boolean hasPolicy() { return policy_ != null; } /** + * + * *
    * The replication schedule policy.
    * 
* * .google.cloud.vmmigration.v1.SchedulePolicy policy = 8; + * * @return The policy. */ @java.lang.Override public com.google.cloud.vmmigration.v1.SchedulePolicy getPolicy() { - return policy_ == null ? com.google.cloud.vmmigration.v1.SchedulePolicy.getDefaultInstance() : policy_; + return policy_ == null + ? com.google.cloud.vmmigration.v1.SchedulePolicy.getDefaultInstance() + : policy_; } /** + * + * *
    * The replication schedule policy.
    * 
@@ -907,12 +1061,16 @@ public com.google.cloud.vmmigration.v1.SchedulePolicyOrBuilder getPolicyOrBuilde public static final int CREATE_TIME_FIELD_NUMBER = 9; private com.google.protobuf.Timestamp createTime_; /** + * + * *
    * Output only. The time the migrating VM was created (this refers to this
    * resource and not to the time it was installed in the source).
    * 
* - * .google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ @java.lang.Override @@ -920,12 +1078,16 @@ public boolean hasCreateTime() { return createTime_ != null; } /** + * + * *
    * Output only. The time the migrating VM was created (this refers to this
    * resource and not to the time it was installed in the source).
    * 
* - * .google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ @java.lang.Override @@ -933,12 +1095,15 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
    * Output only. The time the migrating VM was created (this refers to this
    * resource and not to the time it was installed in the source).
    * 
* - * .google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -948,11 +1113,15 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 10; private com.google.protobuf.Timestamp updateTime_; /** + * + * *
    * Output only. The last time the migrating VM resource was updated.
    * 
* - * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -960,11 +1129,15 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** + * + * *
    * Output only. The last time the migrating VM resource was updated.
    * 
* - * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateTime. */ @java.lang.Override @@ -972,11 +1145,14 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** + * + * *
    * Output only. The last time the migrating VM resource was updated.
    * 
* - * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { @@ -986,12 +1162,17 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { public static final int LAST_SYNC_FIELD_NUMBER = 11; private com.google.cloud.vmmigration.v1.ReplicationSync lastSync_; /** + * + * *
    * Output only. The most updated snapshot created time in the source that
    * finished replication.
    * 
* - * .google.cloud.vmmigration.v1.ReplicationSync last_sync = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.vmmigration.v1.ReplicationSync last_sync = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the lastSync field is set. */ @java.lang.Override @@ -999,25 +1180,36 @@ public boolean hasLastSync() { return lastSync_ != null; } /** + * + * *
    * Output only. The most updated snapshot created time in the source that
    * finished replication.
    * 
* - * .google.cloud.vmmigration.v1.ReplicationSync last_sync = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.vmmigration.v1.ReplicationSync last_sync = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The lastSync. */ @java.lang.Override public com.google.cloud.vmmigration.v1.ReplicationSync getLastSync() { - return lastSync_ == null ? com.google.cloud.vmmigration.v1.ReplicationSync.getDefaultInstance() : lastSync_; + return lastSync_ == null + ? com.google.cloud.vmmigration.v1.ReplicationSync.getDefaultInstance() + : lastSync_; } /** + * + * *
    * Output only. The most updated snapshot created time in the source that
    * finished replication.
    * 
* - * .google.cloud.vmmigration.v1.ReplicationSync last_sync = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.vmmigration.v1.ReplicationSync last_sync = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.vmmigration.v1.ReplicationSyncOrBuilder getLastSyncOrBuilder() { @@ -1027,38 +1219,55 @@ public com.google.cloud.vmmigration.v1.ReplicationSyncOrBuilder getLastSyncOrBui public static final int STATE_FIELD_NUMBER = 23; private int state_; /** + * + * *
    * Output only. State of the MigratingVm.
    * 
* - * .google.cloud.vmmigration.v1.MigratingVm.State state = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.vmmigration.v1.MigratingVm.State state = 23 [(.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 MigratingVm.
    * 
* - * .google.cloud.vmmigration.v1.MigratingVm.State state = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.vmmigration.v1.MigratingVm.State state = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ - @java.lang.Override public com.google.cloud.vmmigration.v1.MigratingVm.State getState() { + @java.lang.Override + public com.google.cloud.vmmigration.v1.MigratingVm.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.vmmigration.v1.MigratingVm.State result = com.google.cloud.vmmigration.v1.MigratingVm.State.valueOf(state_); + com.google.cloud.vmmigration.v1.MigratingVm.State result = + com.google.cloud.vmmigration.v1.MigratingVm.State.valueOf(state_); return result == null ? com.google.cloud.vmmigration.v1.MigratingVm.State.UNRECOGNIZED : result; } public static final int STATE_TIME_FIELD_NUMBER = 22; private com.google.protobuf.Timestamp stateTime_; /** + * + * *
    * Output only. The last time the migrating VM state was updated.
    * 
* - * .google.protobuf.Timestamp state_time = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp state_time = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the stateTime field is set. */ @java.lang.Override @@ -1066,11 +1275,15 @@ public boolean hasStateTime() { return stateTime_ != null; } /** + * + * *
    * Output only. The last time the migrating VM state was updated.
    * 
* - * .google.protobuf.Timestamp state_time = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp state_time = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The stateTime. */ @java.lang.Override @@ -1078,11 +1291,14 @@ public com.google.protobuf.Timestamp getStateTime() { return stateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : stateTime_; } /** + * + * *
    * Output only. The last time the migrating VM state was updated.
    * 
* - * .google.protobuf.Timestamp state_time = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp state_time = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getStateTimeOrBuilder() { @@ -1092,12 +1308,17 @@ public com.google.protobuf.TimestampOrBuilder getStateTimeOrBuilder() { public static final int CURRENT_SYNC_INFO_FIELD_NUMBER = 13; private com.google.cloud.vmmigration.v1.ReplicationCycle currentSyncInfo_; /** + * + * *
    * Output only. The percentage progress of the current running replication
    * cycle.
    * 
* - * .google.cloud.vmmigration.v1.ReplicationCycle current_sync_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.vmmigration.v1.ReplicationCycle current_sync_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the currentSyncInfo field is set. */ @java.lang.Override @@ -1105,25 +1326,36 @@ public boolean hasCurrentSyncInfo() { return currentSyncInfo_ != null; } /** + * + * *
    * Output only. The percentage progress of the current running replication
    * cycle.
    * 
* - * .google.cloud.vmmigration.v1.ReplicationCycle current_sync_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.vmmigration.v1.ReplicationCycle current_sync_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The currentSyncInfo. */ @java.lang.Override public com.google.cloud.vmmigration.v1.ReplicationCycle getCurrentSyncInfo() { - return currentSyncInfo_ == null ? com.google.cloud.vmmigration.v1.ReplicationCycle.getDefaultInstance() : currentSyncInfo_; + return currentSyncInfo_ == null + ? com.google.cloud.vmmigration.v1.ReplicationCycle.getDefaultInstance() + : currentSyncInfo_; } /** + * + * *
    * Output only. The percentage progress of the current running replication
    * cycle.
    * 
* - * .google.cloud.vmmigration.v1.ReplicationCycle current_sync_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.vmmigration.v1.ReplicationCycle current_sync_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.vmmigration.v1.ReplicationCycleOrBuilder getCurrentSyncInfoOrBuilder() { @@ -1133,13 +1365,18 @@ public com.google.cloud.vmmigration.v1.ReplicationCycleOrBuilder getCurrentSyncI public static final int GROUP_FIELD_NUMBER = 15; private volatile java.lang.Object group_; /** + * + * *
    * Output only. The group this migrating vm is included in, if any. The group
    * is represented by the full path of the appropriate
    * [Group][google.cloud.vmmigration.v1.Group] resource.
    * 
* - * string group = 15 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string group = 15 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return The group. */ @java.lang.Override @@ -1148,31 +1385,33 @@ public java.lang.String getGroup() { 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(); group_ = s; return s; } } /** + * + * *
    * Output only. The group this migrating vm is included in, if any. The group
    * is represented by the full path of the appropriate
    * [Group][google.cloud.vmmigration.v1.Group] resource.
    * 
* - * string group = 15 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string group = 15 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for group. */ @java.lang.Override - public com.google.protobuf.ByteString - getGroupBytes() { + public com.google.protobuf.ByteString getGroupBytes() { java.lang.Object ref = group_; 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); group_ = b; return b; } else { @@ -1181,24 +1420,23 @@ public java.lang.String getGroup() { } public static final int LABELS_FIELD_NUMBER = 16; + private static final class LabelsDefaultEntryHolder { - static final com.google.protobuf.MapEntry< - java.lang.String, java.lang.String> defaultEntry = - com.google.protobuf.MapEntry - .newDefaultInstance( - com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_MigratingVm_LabelsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); + static final com.google.protobuf.MapEntry defaultEntry = + com.google.protobuf.MapEntry.newDefaultInstance( + com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_MigratingVm_LabelsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> labels_; - private com.google.protobuf.MapField - internalGetLabels() { + + private com.google.protobuf.MapField labels_; + + private com.google.protobuf.MapField internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField( - LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); } return labels_; } @@ -1207,28 +1445,30 @@ public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** + * + * *
    * The labels of the migrating VM.
    * 
* * map<string, string> labels = 16; */ - @java.lang.Override - public boolean containsLabels( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsLabels(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetLabels().getMap().containsKey(key); } - /** - * Use {@link #getLabelsMap()} instead. - */ + /** Use {@link #getLabelsMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getLabels() { return getLabelsMap(); } /** + * + * *
    * The labels of the migrating VM.
    * 
@@ -1236,11 +1476,12 @@ public java.util.Map getLabels() { * map<string, string> labels = 16; */ @java.lang.Override - public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** + * + * *
    * The labels of the migrating VM.
    * 
@@ -1248,16 +1489,16 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 16; */ @java.lang.Override - - public java.lang.String getLabelsOrDefault( - java.lang.String key, - java.lang.String defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetLabels().getMap(); + public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.String defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
    * The labels of the migrating VM.
    * 
@@ -1265,12 +1506,11 @@ public java.lang.String getLabelsOrDefault( * map<string, string> labels = 16; */ @java.lang.Override - - public java.lang.String getLabelsOrThrow( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetLabels().getMap(); + public java.lang.String getLabelsOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -1280,6 +1520,8 @@ public java.lang.String getLabelsOrThrow( public static final int RECENT_CLONE_JOBS_FIELD_NUMBER = 17; private java.util.List recentCloneJobs_; /** + * + * *
    * Output only. The recent [clone jobs][google.cloud.vmmigration.v1.CloneJob]
    * performed on the migrating VM. This field holds the vm's last completed
@@ -1288,13 +1530,17 @@ public java.lang.String getLabelsOrThrow(
    * the "view" parameter of the Get/List request.
    * 
* - * repeated .google.cloud.vmmigration.v1.CloneJob recent_clone_jobs = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.CloneJob recent_clone_jobs = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public java.util.List getRecentCloneJobsList() { return recentCloneJobs_; } /** + * + * *
    * Output only. The recent [clone jobs][google.cloud.vmmigration.v1.CloneJob]
    * performed on the migrating VM. This field holds the vm's last completed
@@ -1303,14 +1549,18 @@ public java.util.List getRecentCloneJo
    * the "view" parameter of the Get/List request.
    * 
* - * repeated .google.cloud.vmmigration.v1.CloneJob recent_clone_jobs = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.CloneJob recent_clone_jobs = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public java.util.List + public java.util.List getRecentCloneJobsOrBuilderList() { return recentCloneJobs_; } /** + * + * *
    * Output only. The recent [clone jobs][google.cloud.vmmigration.v1.CloneJob]
    * performed on the migrating VM. This field holds the vm's last completed
@@ -1319,13 +1569,17 @@ public java.util.List getRecentCloneJo
    * the "view" parameter of the Get/List request.
    * 
* - * repeated .google.cloud.vmmigration.v1.CloneJob recent_clone_jobs = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.CloneJob recent_clone_jobs = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public int getRecentCloneJobsCount() { return recentCloneJobs_.size(); } /** + * + * *
    * Output only. The recent [clone jobs][google.cloud.vmmigration.v1.CloneJob]
    * performed on the migrating VM. This field holds the vm's last completed
@@ -1334,13 +1588,17 @@ public int getRecentCloneJobsCount() {
    * the "view" parameter of the Get/List request.
    * 
* - * repeated .google.cloud.vmmigration.v1.CloneJob recent_clone_jobs = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.CloneJob recent_clone_jobs = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.vmmigration.v1.CloneJob getRecentCloneJobs(int index) { return recentCloneJobs_.get(index); } /** + * + * *
    * Output only. The recent [clone jobs][google.cloud.vmmigration.v1.CloneJob]
    * performed on the migrating VM. This field holds the vm's last completed
@@ -1349,23 +1607,27 @@ public com.google.cloud.vmmigration.v1.CloneJob getRecentCloneJobs(int index) {
    * the "view" parameter of the Get/List request.
    * 
* - * repeated .google.cloud.vmmigration.v1.CloneJob recent_clone_jobs = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.CloneJob recent_clone_jobs = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public com.google.cloud.vmmigration.v1.CloneJobOrBuilder getRecentCloneJobsOrBuilder( - int index) { + public com.google.cloud.vmmigration.v1.CloneJobOrBuilder getRecentCloneJobsOrBuilder(int index) { return recentCloneJobs_.get(index); } public static final int ERROR_FIELD_NUMBER = 19; private com.google.rpc.Status error_; /** + * + * *
    * Output only. Provides details on the state of the Migrating VM in case of
    * an error in replication.
    * 
* * .google.rpc.Status error = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return Whether the error field is set. */ @java.lang.Override @@ -1373,12 +1635,15 @@ public boolean hasError() { return error_ != null; } /** + * + * *
    * Output only. Provides details on the state of the Migrating VM in case of
    * an error in replication.
    * 
* * .google.rpc.Status error = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The error. */ @java.lang.Override @@ -1386,6 +1651,8 @@ public com.google.rpc.Status getError() { return error_ == null ? com.google.rpc.Status.getDefaultInstance() : error_; } /** + * + * *
    * Output only. Provides details on the state of the Migrating VM in case of
    * an error in replication.
@@ -1401,6 +1668,8 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() {
   public static final int RECENT_CUTOVER_JOBS_FIELD_NUMBER = 20;
   private java.util.List recentCutoverJobs_;
   /**
+   *
+   *
    * 
    * Output only. The recent cutover jobs performed on the migrating VM.
    * This field holds the vm's last completed cutover job and the vm's
@@ -1409,13 +1678,17 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() {
    * the "view" parameter of the Get/List request.
    * 
* - * repeated .google.cloud.vmmigration.v1.CutoverJob recent_cutover_jobs = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.CutoverJob recent_cutover_jobs = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public java.util.List getRecentCutoverJobsList() { return recentCutoverJobs_; } /** + * + * *
    * Output only. The recent cutover jobs performed on the migrating VM.
    * This field holds the vm's last completed cutover job and the vm's
@@ -1424,14 +1697,18 @@ public java.util.List getRecentCutov
    * the "view" parameter of the Get/List request.
    * 
* - * repeated .google.cloud.vmmigration.v1.CutoverJob recent_cutover_jobs = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.CutoverJob recent_cutover_jobs = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public java.util.List + public java.util.List getRecentCutoverJobsOrBuilderList() { return recentCutoverJobs_; } /** + * + * *
    * Output only. The recent cutover jobs performed on the migrating VM.
    * This field holds the vm's last completed cutover job and the vm's
@@ -1440,13 +1717,17 @@ public java.util.List getRecentCutov
    * the "view" parameter of the Get/List request.
    * 
* - * repeated .google.cloud.vmmigration.v1.CutoverJob recent_cutover_jobs = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.CutoverJob recent_cutover_jobs = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public int getRecentCutoverJobsCount() { return recentCutoverJobs_.size(); } /** + * + * *
    * Output only. The recent cutover jobs performed on the migrating VM.
    * This field holds the vm's last completed cutover job and the vm's
@@ -1455,13 +1736,17 @@ public int getRecentCutoverJobsCount() {
    * the "view" parameter of the Get/List request.
    * 
* - * repeated .google.cloud.vmmigration.v1.CutoverJob recent_cutover_jobs = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.CutoverJob recent_cutover_jobs = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.vmmigration.v1.CutoverJob getRecentCutoverJobs(int index) { return recentCutoverJobs_.get(index); } /** + * + * *
    * Output only. The recent cutover jobs performed on the migrating VM.
    * This field holds the vm's last completed cutover job and the vm's
@@ -1470,7 +1755,9 @@ public com.google.cloud.vmmigration.v1.CutoverJob getRecentCutoverJobs(int index
    * the "view" parameter of the Get/List request.
    * 
* - * repeated .google.cloud.vmmigration.v1.CutoverJob recent_cutover_jobs = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.CutoverJob recent_cutover_jobs = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.vmmigration.v1.CutoverJobOrBuilder getRecentCutoverJobsOrBuilder( @@ -1479,6 +1766,7 @@ public com.google.cloud.vmmigration.v1.CutoverJobOrBuilder getRecentCutoverJobsO } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1490,8 +1778,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_); } @@ -1519,12 +1806,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(group_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 15, group_); } - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetLabels(), - LabelsDefaultEntryHolder.defaultEntry, - 16); + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 16); for (int i = 0; i < recentCloneJobs_.size(); i++) { output.writeMessage(17, recentCloneJobs_.get(i)); } @@ -1544,7 +1827,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) output.writeEnum(23, state_); } if (targetVmDefaultsCase_ == 26) { - output.writeMessage(26, (com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaults) targetVmDefaults_); + output.writeMessage( + 26, (com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaults) targetVmDefaults_); } unknownFields.writeTo(output); } @@ -1565,64 +1849,56 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, description_); } if (policy_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(8, getPolicy()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getPolicy()); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(9, getCreateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, getCreateTime()); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(10, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(10, getUpdateTime()); } if (lastSync_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(11, getLastSync()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(11, getLastSync()); } if (currentSyncInfo_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(13, getCurrentSyncInfo()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(13, getCurrentSyncInfo()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(group_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(15, group_); } - for (java.util.Map.Entry entry - : internalGetLabels().getMap().entrySet()) { - com.google.protobuf.MapEntry - labels__ = LabelsDefaultEntryHolder.defaultEntry.newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(16, labels__); + for (java.util.Map.Entry entry : + internalGetLabels().getMap().entrySet()) { + com.google.protobuf.MapEntry labels__ = + LabelsDefaultEntryHolder.defaultEntry + .newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(16, labels__); } for (int i = 0; i < recentCloneJobs_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(17, recentCloneJobs_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(17, recentCloneJobs_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(18, displayName_); } if (error_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(19, getError()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(19, getError()); } for (int i = 0; i < recentCutoverJobs_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(20, recentCutoverJobs_.get(i)); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(20, recentCutoverJobs_.get(i)); } if (stateTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(22, getStateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(22, getStateTime()); } if (state_ != com.google.cloud.vmmigration.v1.MigratingVm.State.STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(23, state_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(23, state_); } if (targetVmDefaultsCase_ == 26) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(26, (com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaults) targetVmDefaults_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 26, (com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaults) targetVmDefaults_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1632,70 +1908,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.vmmigration.v1.MigratingVm)) { return super.equals(obj); } - com.google.cloud.vmmigration.v1.MigratingVm other = (com.google.cloud.vmmigration.v1.MigratingVm) obj; + com.google.cloud.vmmigration.v1.MigratingVm other = + (com.google.cloud.vmmigration.v1.MigratingVm) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getSourceVmId() - .equals(other.getSourceVmId())) return false; - if (!getDisplayName() - .equals(other.getDisplayName())) return false; - if (!getDescription() - .equals(other.getDescription())) return false; + if (!getName().equals(other.getName())) return false; + if (!getSourceVmId().equals(other.getSourceVmId())) return false; + if (!getDisplayName().equals(other.getDisplayName())) return false; + if (!getDescription().equals(other.getDescription())) return false; if (hasPolicy() != other.hasPolicy()) return false; if (hasPolicy()) { - if (!getPolicy() - .equals(other.getPolicy())) return false; + if (!getPolicy().equals(other.getPolicy())) return false; } if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime() - .equals(other.getCreateTime())) return false; + if (!getCreateTime().equals(other.getCreateTime())) 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 (hasLastSync() != other.hasLastSync()) return false; if (hasLastSync()) { - if (!getLastSync() - .equals(other.getLastSync())) return false; + if (!getLastSync().equals(other.getLastSync())) return false; } if (state_ != other.state_) return false; if (hasStateTime() != other.hasStateTime()) return false; if (hasStateTime()) { - if (!getStateTime() - .equals(other.getStateTime())) return false; + if (!getStateTime().equals(other.getStateTime())) return false; } if (hasCurrentSyncInfo() != other.hasCurrentSyncInfo()) return false; if (hasCurrentSyncInfo()) { - if (!getCurrentSyncInfo() - .equals(other.getCurrentSyncInfo())) return false; - } - if (!getGroup() - .equals(other.getGroup())) return false; - if (!internalGetLabels().equals( - other.internalGetLabels())) return false; - if (!getRecentCloneJobsList() - .equals(other.getRecentCloneJobsList())) return false; + if (!getCurrentSyncInfo().equals(other.getCurrentSyncInfo())) return false; + } + if (!getGroup().equals(other.getGroup())) return false; + if (!internalGetLabels().equals(other.internalGetLabels())) return false; + if (!getRecentCloneJobsList().equals(other.getRecentCloneJobsList())) return false; if (hasError() != other.hasError()) return false; if (hasError()) { - if (!getError() - .equals(other.getError())) return false; + if (!getError().equals(other.getError())) return false; } - if (!getRecentCutoverJobsList() - .equals(other.getRecentCutoverJobsList())) return false; + if (!getRecentCutoverJobsList().equals(other.getRecentCutoverJobsList())) return false; if (!getTargetVmDefaultsCase().equals(other.getTargetVmDefaultsCase())) return false; switch (targetVmDefaultsCase_) { case 26: - if (!getComputeEngineTargetDefaults() - .equals(other.getComputeEngineTargetDefaults())) return false; + if (!getComputeEngineTargetDefaults().equals(other.getComputeEngineTargetDefaults())) + return false; break; case 0: default: @@ -1776,97 +2038,104 @@ public int hashCode() { return hash; } - public static com.google.cloud.vmmigration.v1.MigratingVm parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.vmmigration.v1.MigratingVm parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.vmmigration.v1.MigratingVm 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.vmmigration.v1.MigratingVm parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.vmmigration.v1.MigratingVm 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.vmmigration.v1.MigratingVm parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.vmmigration.v1.MigratingVm 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.vmmigration.v1.MigratingVm parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.vmmigration.v1.MigratingVm 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.vmmigration.v1.MigratingVm parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.vmmigration.v1.MigratingVm parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.vmmigration.v1.MigratingVm 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.vmmigration.v1.MigratingVm 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.vmmigration.v1.MigratingVm 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.vmmigration.v1.MigratingVm 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; } /** + * + * *
    * MigratingVm describes the VM that will be migrated from a Source environment
    * and its replication state.
@@ -1874,43 +2143,43 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.vmmigration.v1.MigratingVm}
    */
-  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.vmmigration.v1.MigratingVm)
       com.google.cloud.vmmigration.v1.MigratingVmOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_MigratingVm_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.vmmigration.v1.VmMigrationProto
+          .internal_static_google_cloud_vmmigration_v1_MigratingVm_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMapField(
-        int number) {
+    protected com.google.protobuf.MapField internalGetMapField(int number) {
       switch (number) {
         case 16:
           return internalGetLabels();
         default:
-          throw new RuntimeException(
-              "Invalid map field number: " + number);
+          throw new RuntimeException("Invalid map field number: " + number);
       }
     }
+
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMutableMapField(
-        int number) {
+    protected com.google.protobuf.MapField internalGetMutableMapField(int number) {
       switch (number) {
         case 16:
           return internalGetMutableLabels();
         default:
-          throw new RuntimeException(
-              "Invalid map field number: " + number);
+          throw new RuntimeException("Invalid map field number: " + number);
       }
     }
+
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_MigratingVm_fieldAccessorTable
+      return com.google.cloud.vmmigration.v1.VmMigrationProto
+          .internal_static_google_cloud_vmmigration_v1_MigratingVm_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.vmmigration.v1.MigratingVm.class, com.google.cloud.vmmigration.v1.MigratingVm.Builder.class);
+              com.google.cloud.vmmigration.v1.MigratingVm.class,
+              com.google.cloud.vmmigration.v1.MigratingVm.Builder.class);
     }
 
     // Construct using com.google.cloud.vmmigration.v1.MigratingVm.newBuilder()
@@ -1918,18 +2187,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) {
         getRecentCloneJobsFieldBuilder();
         getRecentCutoverJobsFieldBuilder();
       }
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -2006,9 +2275,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_MigratingVm_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.vmmigration.v1.VmMigrationProto
+          .internal_static_google_cloud_vmmigration_v1_MigratingVm_descriptor;
     }
 
     @java.lang.Override
@@ -2027,7 +2296,8 @@ public com.google.cloud.vmmigration.v1.MigratingVm build() {
 
     @java.lang.Override
     public com.google.cloud.vmmigration.v1.MigratingVm buildPartial() {
-      com.google.cloud.vmmigration.v1.MigratingVm result = new com.google.cloud.vmmigration.v1.MigratingVm(this);
+      com.google.cloud.vmmigration.v1.MigratingVm result =
+          new com.google.cloud.vmmigration.v1.MigratingVm(this);
       int from_bitField0_ = bitField0_;
       if (targetVmDefaultsCase_ == 26) {
         if (computeEngineTargetDefaultsBuilder_ == null) {
@@ -2106,38 +2376,39 @@ public com.google.cloud.vmmigration.v1.MigratingVm buildPartial() {
     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.vmmigration.v1.MigratingVm) {
-        return mergeFrom((com.google.cloud.vmmigration.v1.MigratingVm)other);
+        return mergeFrom((com.google.cloud.vmmigration.v1.MigratingVm) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -2187,8 +2458,7 @@ public Builder mergeFrom(com.google.cloud.vmmigration.v1.MigratingVm other) {
         group_ = other.group_;
         onChanged();
       }
-      internalGetMutableLabels().mergeFrom(
-          other.internalGetLabels());
+      internalGetMutableLabels().mergeFrom(other.internalGetLabels());
       if (recentCloneJobsBuilder_ == null) {
         if (!other.recentCloneJobs_.isEmpty()) {
           if (recentCloneJobs_.isEmpty()) {
@@ -2207,9 +2477,10 @@ public Builder mergeFrom(com.google.cloud.vmmigration.v1.MigratingVm other) {
             recentCloneJobsBuilder_ = null;
             recentCloneJobs_ = other.recentCloneJobs_;
             bitField0_ = (bitField0_ & ~0x00000002);
-            recentCloneJobsBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getRecentCloneJobsFieldBuilder() : null;
+            recentCloneJobsBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getRecentCloneJobsFieldBuilder()
+                    : null;
           } else {
             recentCloneJobsBuilder_.addAllMessages(other.recentCloneJobs_);
           }
@@ -2236,22 +2507,25 @@ public Builder mergeFrom(com.google.cloud.vmmigration.v1.MigratingVm other) {
             recentCutoverJobsBuilder_ = null;
             recentCutoverJobs_ = other.recentCutoverJobs_;
             bitField0_ = (bitField0_ & ~0x00000004);
-            recentCutoverJobsBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getRecentCutoverJobsFieldBuilder() : null;
+            recentCutoverJobsBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getRecentCutoverJobsFieldBuilder()
+                    : null;
           } else {
             recentCutoverJobsBuilder_.addAllMessages(other.recentCutoverJobs_);
           }
         }
       }
       switch (other.getTargetVmDefaultsCase()) {
-        case COMPUTE_ENGINE_TARGET_DEFAULTS: {
-          mergeComputeEngineTargetDefaults(other.getComputeEngineTargetDefaults());
-          break;
-        }
-        case TARGETVMDEFAULTS_NOT_SET: {
-          break;
-        }
+        case COMPUTE_ENGINE_TARGET_DEFAULTS:
+          {
+            mergeComputeEngineTargetDefaults(other.getComputeEngineTargetDefaults());
+            break;
+          }
+        case TARGETVMDEFAULTS_NOT_SET:
+          {
+            break;
+          }
       }
       this.mergeUnknownFields(other.unknownFields);
       onChanged();
@@ -2281,12 +2555,12 @@ public Builder mergeFrom(
       }
       return this;
     }
+
     private int targetVmDefaultsCase_ = 0;
     private java.lang.Object targetVmDefaults_;
-    public TargetVmDefaultsCase
-        getTargetVmDefaultsCase() {
-      return TargetVmDefaultsCase.forNumber(
-          targetVmDefaultsCase_);
+
+    public TargetVmDefaultsCase getTargetVmDefaultsCase() {
+      return TargetVmDefaultsCase.forNumber(targetVmDefaultsCase_);
     }
 
     public Builder clearTargetVmDefaults() {
@@ -2299,13 +2573,21 @@ public Builder clearTargetVmDefaults() {
     private int bitField0_;
 
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaults, com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaults.Builder, com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaultsOrBuilder> computeEngineTargetDefaultsBuilder_;
+            com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaults,
+            com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaults.Builder,
+            com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaultsOrBuilder>
+        computeEngineTargetDefaultsBuilder_;
     /**
+     *
+     *
      * 
      * Details of the target VM in Compute Engine.
      * 
* - * .google.cloud.vmmigration.v1.ComputeEngineTargetDefaults compute_engine_target_defaults = 26; + * + * .google.cloud.vmmigration.v1.ComputeEngineTargetDefaults compute_engine_target_defaults = 26; + * + * * @return Whether the computeEngineTargetDefaults field is set. */ @java.lang.Override @@ -2313,15 +2595,21 @@ public boolean hasComputeEngineTargetDefaults() { return targetVmDefaultsCase_ == 26; } /** + * + * *
      * Details of the target VM in Compute Engine.
      * 
* - * .google.cloud.vmmigration.v1.ComputeEngineTargetDefaults compute_engine_target_defaults = 26; + * + * .google.cloud.vmmigration.v1.ComputeEngineTargetDefaults compute_engine_target_defaults = 26; + * + * * @return The computeEngineTargetDefaults. */ @java.lang.Override - public com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaults getComputeEngineTargetDefaults() { + public com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaults + getComputeEngineTargetDefaults() { if (computeEngineTargetDefaultsBuilder_ == null) { if (targetVmDefaultsCase_ == 26) { return (com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaults) targetVmDefaults_; @@ -2335,13 +2623,18 @@ public com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaults getComputeEng } } /** + * + * *
      * Details of the target VM in Compute Engine.
      * 
* - * .google.cloud.vmmigration.v1.ComputeEngineTargetDefaults compute_engine_target_defaults = 26; + * + * .google.cloud.vmmigration.v1.ComputeEngineTargetDefaults compute_engine_target_defaults = 26; + * */ - public Builder setComputeEngineTargetDefaults(com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaults value) { + public Builder setComputeEngineTargetDefaults( + com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaults value) { if (computeEngineTargetDefaultsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2355,11 +2648,15 @@ public Builder setComputeEngineTargetDefaults(com.google.cloud.vmmigration.v1.Co return this; } /** + * + * *
      * Details of the target VM in Compute Engine.
      * 
* - * .google.cloud.vmmigration.v1.ComputeEngineTargetDefaults compute_engine_target_defaults = 26; + * + * .google.cloud.vmmigration.v1.ComputeEngineTargetDefaults compute_engine_target_defaults = 26; + * */ public Builder setComputeEngineTargetDefaults( com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaults.Builder builderForValue) { @@ -2373,18 +2670,29 @@ public Builder setComputeEngineTargetDefaults( return this; } /** + * + * *
      * Details of the target VM in Compute Engine.
      * 
* - * .google.cloud.vmmigration.v1.ComputeEngineTargetDefaults compute_engine_target_defaults = 26; + * + * .google.cloud.vmmigration.v1.ComputeEngineTargetDefaults compute_engine_target_defaults = 26; + * */ - public Builder mergeComputeEngineTargetDefaults(com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaults value) { + public Builder mergeComputeEngineTargetDefaults( + com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaults value) { if (computeEngineTargetDefaultsBuilder_ == null) { - if (targetVmDefaultsCase_ == 26 && - targetVmDefaults_ != com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaults.getDefaultInstance()) { - targetVmDefaults_ = com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaults.newBuilder((com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaults) targetVmDefaults_) - .mergeFrom(value).buildPartial(); + if (targetVmDefaultsCase_ == 26 + && targetVmDefaults_ + != com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaults + .getDefaultInstance()) { + targetVmDefaults_ = + com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaults.newBuilder( + (com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaults) + targetVmDefaults_) + .mergeFrom(value) + .buildPartial(); } else { targetVmDefaults_ = value; } @@ -2400,11 +2708,15 @@ public Builder mergeComputeEngineTargetDefaults(com.google.cloud.vmmigration.v1. return this; } /** + * + * *
      * Details of the target VM in Compute Engine.
      * 
* - * .google.cloud.vmmigration.v1.ComputeEngineTargetDefaults compute_engine_target_defaults = 26; + * + * .google.cloud.vmmigration.v1.ComputeEngineTargetDefaults compute_engine_target_defaults = 26; + * */ public Builder clearComputeEngineTargetDefaults() { if (computeEngineTargetDefaultsBuilder_ == null) { @@ -2423,24 +2735,34 @@ public Builder clearComputeEngineTargetDefaults() { return this; } /** + * + * *
      * Details of the target VM in Compute Engine.
      * 
* - * .google.cloud.vmmigration.v1.ComputeEngineTargetDefaults compute_engine_target_defaults = 26; + * + * .google.cloud.vmmigration.v1.ComputeEngineTargetDefaults compute_engine_target_defaults = 26; + * */ - public com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaults.Builder getComputeEngineTargetDefaultsBuilder() { + public com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaults.Builder + getComputeEngineTargetDefaultsBuilder() { return getComputeEngineTargetDefaultsFieldBuilder().getBuilder(); } /** + * + * *
      * Details of the target VM in Compute Engine.
      * 
* - * .google.cloud.vmmigration.v1.ComputeEngineTargetDefaults compute_engine_target_defaults = 26; + * + * .google.cloud.vmmigration.v1.ComputeEngineTargetDefaults compute_engine_target_defaults = 26; + * */ @java.lang.Override - public com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaultsOrBuilder getComputeEngineTargetDefaultsOrBuilder() { + public com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaultsOrBuilder + getComputeEngineTargetDefaultsOrBuilder() { if ((targetVmDefaultsCase_ == 26) && (computeEngineTargetDefaultsBuilder_ != null)) { return computeEngineTargetDefaultsBuilder_.getMessageOrBuilder(); } else { @@ -2451,45 +2773,58 @@ public com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaultsOrBuilder getC } } /** + * + * *
      * Details of the target VM in Compute Engine.
      * 
* - * .google.cloud.vmmigration.v1.ComputeEngineTargetDefaults compute_engine_target_defaults = 26; + * + * .google.cloud.vmmigration.v1.ComputeEngineTargetDefaults compute_engine_target_defaults = 26; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaults, com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaults.Builder, com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaultsOrBuilder> + com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaults, + com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaults.Builder, + com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaultsOrBuilder> getComputeEngineTargetDefaultsFieldBuilder() { if (computeEngineTargetDefaultsBuilder_ == null) { if (!(targetVmDefaultsCase_ == 26)) { - targetVmDefaults_ = com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaults.getDefaultInstance(); + targetVmDefaults_ = + com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaults.getDefaultInstance(); } - computeEngineTargetDefaultsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaults, com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaults.Builder, com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaultsOrBuilder>( + computeEngineTargetDefaultsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaults, + com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaults.Builder, + com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaultsOrBuilder>( (com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaults) targetVmDefaults_, getParentForChildren(), isClean()); targetVmDefaults_ = null; } targetVmDefaultsCase_ = 26; - onChanged();; + onChanged(); + ; return computeEngineTargetDefaultsBuilder_; } private java.lang.Object name_ = ""; /** + * + * *
      * Output only. The identifier of the MigratingVm.
      * 
* * 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; @@ -2498,20 +2833,21 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. The identifier of the MigratingVm.
      * 
* * 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 { @@ -2519,54 +2855,61 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. The identifier of the MigratingVm.
      * 
* * 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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Output only. The identifier of the MigratingVm.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Output only. The identifier of the MigratingVm.
      * 
* * 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) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -2574,6 +2917,8 @@ public Builder setNameBytes( private java.lang.Object sourceVmId_ = ""; /** + * + * *
      * The unique ID of the VM in the source.
      * The VM's name in vSphere can be changed, so this is not the VM's name but
@@ -2581,13 +2926,13 @@ public Builder setNameBytes(
      * 
* * string source_vm_id = 2; + * * @return The sourceVmId. */ public java.lang.String getSourceVmId() { java.lang.Object ref = sourceVmId_; 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(); sourceVmId_ = s; return s; @@ -2596,6 +2941,8 @@ public java.lang.String getSourceVmId() { } } /** + * + * *
      * The unique ID of the VM in the source.
      * The VM's name in vSphere can be changed, so this is not the VM's name but
@@ -2603,15 +2950,14 @@ public java.lang.String getSourceVmId() {
      * 
* * string source_vm_id = 2; + * * @return The bytes for sourceVmId. */ - public com.google.protobuf.ByteString - getSourceVmIdBytes() { + public com.google.protobuf.ByteString getSourceVmIdBytes() { java.lang.Object ref = sourceVmId_; 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); sourceVmId_ = b; return b; } else { @@ -2619,6 +2965,8 @@ public java.lang.String getSourceVmId() { } } /** + * + * *
      * The unique ID of the VM in the source.
      * The VM's name in vSphere can be changed, so this is not the VM's name but
@@ -2626,20 +2974,22 @@ public java.lang.String getSourceVmId() {
      * 
* * string source_vm_id = 2; + * * @param value The sourceVmId to set. * @return This builder for chaining. */ - public Builder setSourceVmId( - java.lang.String value) { + public Builder setSourceVmId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + sourceVmId_ = value; onChanged(); return this; } /** + * + * *
      * The unique ID of the VM in the source.
      * The VM's name in vSphere can be changed, so this is not the VM's name but
@@ -2647,15 +2997,18 @@ public Builder setSourceVmId(
      * 
* * string source_vm_id = 2; + * * @return This builder for chaining. */ public Builder clearSourceVmId() { - + sourceVmId_ = getDefaultInstance().getSourceVmId(); onChanged(); return this; } /** + * + * *
      * The unique ID of the VM in the source.
      * The VM's name in vSphere can be changed, so this is not the VM's name but
@@ -2663,16 +3016,16 @@ public Builder clearSourceVmId() {
      * 
* * string source_vm_id = 2; + * * @param value The bytes for sourceVmId to set. * @return This builder for chaining. */ - public Builder setSourceVmIdBytes( - com.google.protobuf.ByteString value) { + public Builder setSourceVmIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + sourceVmId_ = value; onChanged(); return this; @@ -2680,18 +3033,20 @@ public Builder setSourceVmIdBytes( private java.lang.Object displayName_ = ""; /** + * + * *
      * The display name attached to the MigratingVm by the user.
      * 
* * string display_name = 18; + * * @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; @@ -2700,20 +3055,21 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * The display name attached to the MigratingVm by the user.
      * 
* * string display_name = 18; + * * @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 { @@ -2721,54 +3077,61 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * The display name attached to the MigratingVm by the user.
      * 
* * string display_name = 18; + * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName( - java.lang.String value) { + public Builder setDisplayName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; onChanged(); return this; } /** + * + * *
      * The display name attached to the MigratingVm by the user.
      * 
* * string display_name = 18; + * * @return This builder for chaining. */ public Builder clearDisplayName() { - + displayName_ = getDefaultInstance().getDisplayName(); onChanged(); return this; } /** + * + * *
      * The display name attached to the MigratingVm by the user.
      * 
* * string display_name = 18; + * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes( - com.google.protobuf.ByteString value) { + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; onChanged(); return this; @@ -2776,18 +3139,20 @@ public Builder setDisplayNameBytes( private java.lang.Object description_ = ""; /** + * + * *
      * The description attached to the migrating VM by the user.
      * 
* * 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; @@ -2796,20 +3161,21 @@ public java.lang.String getDescription() { } } /** + * + * *
      * The description attached to the migrating VM by the user.
      * 
* * 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 { @@ -2817,54 +3183,61 @@ public java.lang.String getDescription() { } } /** + * + * *
      * The description attached to the migrating VM by the user.
      * 
* * string description = 3; + * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription( - java.lang.String value) { + public Builder setDescription(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + description_ = value; onChanged(); return this; } /** + * + * *
      * The description attached to the migrating VM by the user.
      * 
* * string description = 3; + * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** + * + * *
      * The description attached to the migrating VM by the user.
      * 
* * string description = 3; + * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes( - com.google.protobuf.ByteString value) { + public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = value; onChanged(); return this; @@ -2872,34 +3245,47 @@ public Builder setDescriptionBytes( private com.google.cloud.vmmigration.v1.SchedulePolicy policy_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.vmmigration.v1.SchedulePolicy, com.google.cloud.vmmigration.v1.SchedulePolicy.Builder, com.google.cloud.vmmigration.v1.SchedulePolicyOrBuilder> policyBuilder_; + com.google.cloud.vmmigration.v1.SchedulePolicy, + com.google.cloud.vmmigration.v1.SchedulePolicy.Builder, + com.google.cloud.vmmigration.v1.SchedulePolicyOrBuilder> + policyBuilder_; /** + * + * *
      * The replication schedule policy.
      * 
* * .google.cloud.vmmigration.v1.SchedulePolicy policy = 8; + * * @return Whether the policy field is set. */ public boolean hasPolicy() { return policyBuilder_ != null || policy_ != null; } /** + * + * *
      * The replication schedule policy.
      * 
* * .google.cloud.vmmigration.v1.SchedulePolicy policy = 8; + * * @return The policy. */ public com.google.cloud.vmmigration.v1.SchedulePolicy getPolicy() { if (policyBuilder_ == null) { - return policy_ == null ? com.google.cloud.vmmigration.v1.SchedulePolicy.getDefaultInstance() : policy_; + return policy_ == null + ? com.google.cloud.vmmigration.v1.SchedulePolicy.getDefaultInstance() + : policy_; } else { return policyBuilder_.getMessage(); } } /** + * + * *
      * The replication schedule policy.
      * 
@@ -2920,6 +3306,8 @@ public Builder setPolicy(com.google.cloud.vmmigration.v1.SchedulePolicy value) { return this; } /** + * + * *
      * The replication schedule policy.
      * 
@@ -2938,6 +3326,8 @@ public Builder setPolicy( return this; } /** + * + * *
      * The replication schedule policy.
      * 
@@ -2948,7 +3338,9 @@ public Builder mergePolicy(com.google.cloud.vmmigration.v1.SchedulePolicy value) if (policyBuilder_ == null) { if (policy_ != null) { policy_ = - com.google.cloud.vmmigration.v1.SchedulePolicy.newBuilder(policy_).mergeFrom(value).buildPartial(); + com.google.cloud.vmmigration.v1.SchedulePolicy.newBuilder(policy_) + .mergeFrom(value) + .buildPartial(); } else { policy_ = value; } @@ -2960,6 +3352,8 @@ public Builder mergePolicy(com.google.cloud.vmmigration.v1.SchedulePolicy value) return this; } /** + * + * *
      * The replication schedule policy.
      * 
@@ -2978,6 +3372,8 @@ public Builder clearPolicy() { return this; } /** + * + * *
      * The replication schedule policy.
      * 
@@ -2985,11 +3381,13 @@ public Builder clearPolicy() { * .google.cloud.vmmigration.v1.SchedulePolicy policy = 8; */ public com.google.cloud.vmmigration.v1.SchedulePolicy.Builder getPolicyBuilder() { - + onChanged(); return getPolicyFieldBuilder().getBuilder(); } /** + * + * *
      * The replication schedule policy.
      * 
@@ -3000,11 +3398,14 @@ public com.google.cloud.vmmigration.v1.SchedulePolicyOrBuilder getPolicyOrBuilde if (policyBuilder_ != null) { return policyBuilder_.getMessageOrBuilder(); } else { - return policy_ == null ? - com.google.cloud.vmmigration.v1.SchedulePolicy.getDefaultInstance() : policy_; + return policy_ == null + ? com.google.cloud.vmmigration.v1.SchedulePolicy.getDefaultInstance() + : policy_; } } /** + * + * *
      * The replication schedule policy.
      * 
@@ -3012,14 +3413,17 @@ public com.google.cloud.vmmigration.v1.SchedulePolicyOrBuilder getPolicyOrBuilde * .google.cloud.vmmigration.v1.SchedulePolicy policy = 8; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.vmmigration.v1.SchedulePolicy, com.google.cloud.vmmigration.v1.SchedulePolicy.Builder, com.google.cloud.vmmigration.v1.SchedulePolicyOrBuilder> + com.google.cloud.vmmigration.v1.SchedulePolicy, + com.google.cloud.vmmigration.v1.SchedulePolicy.Builder, + com.google.cloud.vmmigration.v1.SchedulePolicyOrBuilder> getPolicyFieldBuilder() { if (policyBuilder_ == null) { - policyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.vmmigration.v1.SchedulePolicy, com.google.cloud.vmmigration.v1.SchedulePolicy.Builder, com.google.cloud.vmmigration.v1.SchedulePolicyOrBuilder>( - getPolicy(), - getParentForChildren(), - isClean()); + policyBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.vmmigration.v1.SchedulePolicy, + com.google.cloud.vmmigration.v1.SchedulePolicy.Builder, + com.google.cloud.vmmigration.v1.SchedulePolicyOrBuilder>( + getPolicy(), getParentForChildren(), isClean()); policy_ = null; } return policyBuilder_; @@ -3027,42 +3431,61 @@ public com.google.cloud.vmmigration.v1.SchedulePolicyOrBuilder getPolicyOrBuilde private com.google.protobuf.Timestamp createTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + createTimeBuilder_; /** + * + * *
      * Output only. The time the migrating VM was created (this refers to this
      * resource and not to the time it was installed in the source).
      * 
* - * .google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** + * + * *
      * Output only. The time the migrating VM was created (this refers to this
      * resource and not to the time it was installed in the source).
      * 
* - * .google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. The time the migrating VM was created (this refers to this
      * resource and not to the time it was installed in the source).
      * 
* - * .google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -3078,15 +3501,18 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time the migrating VM was created (this refers to this
      * resource and not to the time it was installed in the source).
      * 
* - * .google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setCreateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); onChanged(); @@ -3097,18 +3523,22 @@ public Builder setCreateTime( return this; } /** + * + * *
      * Output only. The time the migrating VM was created (this refers to this
      * resource and not to the time it was installed in the source).
      * 
* - * .google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { if (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -3120,12 +3550,16 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time the migrating VM was created (this refers to this
      * resource and not to the time it was installed in the source).
      * 
* - * .google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearCreateTime() { if (createTimeBuilder_ == null) { @@ -3139,51 +3573,67 @@ public Builder clearCreateTime() { return this; } /** + * + * *
      * Output only. The time the migrating VM was created (this refers to this
      * resource and not to the time it was installed in the source).
      * 
* - * .google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The time the migrating VM was created (this refers to this
      * resource and not to the time it was installed in the source).
      * 
* - * .google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } } /** + * + * *
      * Output only. The time the migrating VM was created (this refers to this
      * resource and not to the time it was installed in the source).
      * 
* - * .google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 9 [(.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> getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { - createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getCreateTime(), - getParentForChildren(), - isClean()); + createTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), getParentForChildren(), isClean()); createTime_ = null; } return createTimeBuilder_; @@ -3191,39 +3641,58 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { 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. The last time the migrating VM resource was updated.
      * 
* - * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return updateTimeBuilder_ != null || updateTime_ != null; } /** + * + * *
      * Output only. The last time the migrating VM resource was updated.
      * 
* - * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 10 [(.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. The last time the migrating VM resource was updated.
      * 
* - * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { @@ -3239,14 +3708,17 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The last time the migrating VM resource was updated.
      * 
* - * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 10 [(.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(); onChanged(); @@ -3257,17 +3729,21 @@ public Builder setUpdateTime( return this; } /** + * + * *
      * Output only. The last time the migrating VM resource was updated.
      * 
* - * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { if (updateTime_ != null) { updateTime_ = - com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); } else { updateTime_ = value; } @@ -3279,11 +3755,15 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The last time the migrating VM resource was updated.
      * 
* - * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearUpdateTime() { if (updateTimeBuilder_ == null) { @@ -3297,48 +3777,64 @@ public Builder clearUpdateTime() { return this; } /** + * + * *
      * Output only. The last time the migrating VM resource was updated.
      * 
* - * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { - + onChanged(); return getUpdateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The last time the migrating VM resource was updated.
      * 
* - * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 10 [(.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. The last time the migrating VM resource was updated.
      * 
* - * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 10 [(.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_; @@ -3346,42 +3842,61 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { private com.google.cloud.vmmigration.v1.ReplicationSync lastSync_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.vmmigration.v1.ReplicationSync, com.google.cloud.vmmigration.v1.ReplicationSync.Builder, com.google.cloud.vmmigration.v1.ReplicationSyncOrBuilder> lastSyncBuilder_; + com.google.cloud.vmmigration.v1.ReplicationSync, + com.google.cloud.vmmigration.v1.ReplicationSync.Builder, + com.google.cloud.vmmigration.v1.ReplicationSyncOrBuilder> + lastSyncBuilder_; /** + * + * *
      * Output only. The most updated snapshot created time in the source that
      * finished replication.
      * 
* - * .google.cloud.vmmigration.v1.ReplicationSync last_sync = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.vmmigration.v1.ReplicationSync last_sync = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the lastSync field is set. */ public boolean hasLastSync() { return lastSyncBuilder_ != null || lastSync_ != null; } /** + * + * *
      * Output only. The most updated snapshot created time in the source that
      * finished replication.
      * 
* - * .google.cloud.vmmigration.v1.ReplicationSync last_sync = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.vmmigration.v1.ReplicationSync last_sync = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The lastSync. */ public com.google.cloud.vmmigration.v1.ReplicationSync getLastSync() { if (lastSyncBuilder_ == null) { - return lastSync_ == null ? com.google.cloud.vmmigration.v1.ReplicationSync.getDefaultInstance() : lastSync_; + return lastSync_ == null + ? com.google.cloud.vmmigration.v1.ReplicationSync.getDefaultInstance() + : lastSync_; } else { return lastSyncBuilder_.getMessage(); } } /** + * + * *
      * Output only. The most updated snapshot created time in the source that
      * finished replication.
      * 
* - * .google.cloud.vmmigration.v1.ReplicationSync last_sync = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.vmmigration.v1.ReplicationSync last_sync = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setLastSync(com.google.cloud.vmmigration.v1.ReplicationSync value) { if (lastSyncBuilder_ == null) { @@ -3397,12 +3912,16 @@ public Builder setLastSync(com.google.cloud.vmmigration.v1.ReplicationSync value return this; } /** + * + * *
      * Output only. The most updated snapshot created time in the source that
      * finished replication.
      * 
* - * .google.cloud.vmmigration.v1.ReplicationSync last_sync = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.vmmigration.v1.ReplicationSync last_sync = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setLastSync( com.google.cloud.vmmigration.v1.ReplicationSync.Builder builderForValue) { @@ -3416,18 +3935,24 @@ public Builder setLastSync( return this; } /** + * + * *
      * Output only. The most updated snapshot created time in the source that
      * finished replication.
      * 
* - * .google.cloud.vmmigration.v1.ReplicationSync last_sync = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.vmmigration.v1.ReplicationSync last_sync = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeLastSync(com.google.cloud.vmmigration.v1.ReplicationSync value) { if (lastSyncBuilder_ == null) { if (lastSync_ != null) { lastSync_ = - com.google.cloud.vmmigration.v1.ReplicationSync.newBuilder(lastSync_).mergeFrom(value).buildPartial(); + com.google.cloud.vmmigration.v1.ReplicationSync.newBuilder(lastSync_) + .mergeFrom(value) + .buildPartial(); } else { lastSync_ = value; } @@ -3439,12 +3964,16 @@ public Builder mergeLastSync(com.google.cloud.vmmigration.v1.ReplicationSync val return this; } /** + * + * *
      * Output only. The most updated snapshot created time in the source that
      * finished replication.
      * 
* - * .google.cloud.vmmigration.v1.ReplicationSync last_sync = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.vmmigration.v1.ReplicationSync last_sync = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearLastSync() { if (lastSyncBuilder_ == null) { @@ -3458,51 +3987,67 @@ public Builder clearLastSync() { return this; } /** + * + * *
      * Output only. The most updated snapshot created time in the source that
      * finished replication.
      * 
* - * .google.cloud.vmmigration.v1.ReplicationSync last_sync = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.vmmigration.v1.ReplicationSync last_sync = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.vmmigration.v1.ReplicationSync.Builder getLastSyncBuilder() { - + onChanged(); return getLastSyncFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The most updated snapshot created time in the source that
      * finished replication.
      * 
* - * .google.cloud.vmmigration.v1.ReplicationSync last_sync = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.vmmigration.v1.ReplicationSync last_sync = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.vmmigration.v1.ReplicationSyncOrBuilder getLastSyncOrBuilder() { if (lastSyncBuilder_ != null) { return lastSyncBuilder_.getMessageOrBuilder(); } else { - return lastSync_ == null ? - com.google.cloud.vmmigration.v1.ReplicationSync.getDefaultInstance() : lastSync_; + return lastSync_ == null + ? com.google.cloud.vmmigration.v1.ReplicationSync.getDefaultInstance() + : lastSync_; } } /** + * + * *
      * Output only. The most updated snapshot created time in the source that
      * finished replication.
      * 
* - * .google.cloud.vmmigration.v1.ReplicationSync last_sync = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.vmmigration.v1.ReplicationSync last_sync = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.vmmigration.v1.ReplicationSync, com.google.cloud.vmmigration.v1.ReplicationSync.Builder, com.google.cloud.vmmigration.v1.ReplicationSyncOrBuilder> + com.google.cloud.vmmigration.v1.ReplicationSync, + com.google.cloud.vmmigration.v1.ReplicationSync.Builder, + com.google.cloud.vmmigration.v1.ReplicationSyncOrBuilder> getLastSyncFieldBuilder() { if (lastSyncBuilder_ == null) { - lastSyncBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.vmmigration.v1.ReplicationSync, com.google.cloud.vmmigration.v1.ReplicationSync.Builder, com.google.cloud.vmmigration.v1.ReplicationSyncOrBuilder>( - getLastSync(), - getParentForChildren(), - isClean()); + lastSyncBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.vmmigration.v1.ReplicationSync, + com.google.cloud.vmmigration.v1.ReplicationSync.Builder, + com.google.cloud.vmmigration.v1.ReplicationSyncOrBuilder>( + getLastSync(), getParentForChildren(), isClean()); lastSync_ = null; } return lastSyncBuilder_; @@ -3510,51 +4055,75 @@ public com.google.cloud.vmmigration.v1.ReplicationSyncOrBuilder getLastSyncOrBui private int state_ = 0; /** + * + * *
      * Output only. State of the MigratingVm.
      * 
* - * .google.cloud.vmmigration.v1.MigratingVm.State state = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.vmmigration.v1.MigratingVm.State state = 23 [(.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 MigratingVm.
      * 
* - * .google.cloud.vmmigration.v1.MigratingVm.State state = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.vmmigration.v1.MigratingVm.State state = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ public Builder setStateValue(int value) { - + state_ = value; onChanged(); return this; } /** + * + * *
      * Output only. State of the MigratingVm.
      * 
* - * .google.cloud.vmmigration.v1.MigratingVm.State state = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.vmmigration.v1.MigratingVm.State state = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ @java.lang.Override public com.google.cloud.vmmigration.v1.MigratingVm.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.vmmigration.v1.MigratingVm.State result = com.google.cloud.vmmigration.v1.MigratingVm.State.valueOf(state_); - return result == null ? com.google.cloud.vmmigration.v1.MigratingVm.State.UNRECOGNIZED : result; + com.google.cloud.vmmigration.v1.MigratingVm.State result = + com.google.cloud.vmmigration.v1.MigratingVm.State.valueOf(state_); + return result == null + ? com.google.cloud.vmmigration.v1.MigratingVm.State.UNRECOGNIZED + : result; } /** + * + * *
      * Output only. State of the MigratingVm.
      * 
* - * .google.cloud.vmmigration.v1.MigratingVm.State state = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.vmmigration.v1.MigratingVm.State state = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The state to set. * @return This builder for chaining. */ @@ -3562,21 +4131,26 @@ public Builder setState(com.google.cloud.vmmigration.v1.MigratingVm.State value) if (value == null) { throw new NullPointerException(); } - + state_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Output only. State of the MigratingVm.
      * 
* - * .google.cloud.vmmigration.v1.MigratingVm.State state = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.vmmigration.v1.MigratingVm.State state = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearState() { - + state_ = 0; onChanged(); return this; @@ -3584,24 +4158,37 @@ public Builder clearState() { private com.google.protobuf.Timestamp stateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> stateTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + stateTimeBuilder_; /** + * + * *
      * Output only. The last time the migrating VM state was updated.
      * 
* - * .google.protobuf.Timestamp state_time = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp state_time = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the stateTime field is set. */ public boolean hasStateTime() { return stateTimeBuilder_ != null || stateTime_ != null; } /** + * + * *
      * Output only. The last time the migrating VM state was updated.
      * 
* - * .google.protobuf.Timestamp state_time = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp state_time = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The stateTime. */ public com.google.protobuf.Timestamp getStateTime() { @@ -3612,11 +4199,15 @@ public com.google.protobuf.Timestamp getStateTime() { } } /** + * + * *
      * Output only. The last time the migrating VM state was updated.
      * 
* - * .google.protobuf.Timestamp state_time = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp state_time = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setStateTime(com.google.protobuf.Timestamp value) { if (stateTimeBuilder_ == null) { @@ -3632,14 +4223,17 @@ public Builder setStateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The last time the migrating VM state was updated.
      * 
* - * .google.protobuf.Timestamp state_time = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp state_time = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setStateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setStateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (stateTimeBuilder_ == null) { stateTime_ = builderForValue.build(); onChanged(); @@ -3650,17 +4244,21 @@ public Builder setStateTime( return this; } /** + * + * *
      * Output only. The last time the migrating VM state was updated.
      * 
* - * .google.protobuf.Timestamp state_time = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp state_time = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeStateTime(com.google.protobuf.Timestamp value) { if (stateTimeBuilder_ == null) { if (stateTime_ != null) { stateTime_ = - com.google.protobuf.Timestamp.newBuilder(stateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(stateTime_).mergeFrom(value).buildPartial(); } else { stateTime_ = value; } @@ -3672,11 +4270,15 @@ public Builder mergeStateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The last time the migrating VM state was updated.
      * 
* - * .google.protobuf.Timestamp state_time = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp state_time = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearStateTime() { if (stateTimeBuilder_ == null) { @@ -3690,48 +4292,62 @@ public Builder clearStateTime() { return this; } /** + * + * *
      * Output only. The last time the migrating VM state was updated.
      * 
* - * .google.protobuf.Timestamp state_time = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp state_time = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getStateTimeBuilder() { - + onChanged(); return getStateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The last time the migrating VM state was updated.
      * 
* - * .google.protobuf.Timestamp state_time = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp state_time = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getStateTimeOrBuilder() { if (stateTimeBuilder_ != null) { return stateTimeBuilder_.getMessageOrBuilder(); } else { - return stateTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : stateTime_; + return stateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : stateTime_; } } /** + * + * *
      * Output only. The last time the migrating VM state was updated.
      * 
* - * .google.protobuf.Timestamp state_time = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp state_time = 22 [(.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> getStateTimeFieldBuilder() { if (stateTimeBuilder_ == null) { - stateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getStateTime(), - getParentForChildren(), - isClean()); + stateTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getStateTime(), getParentForChildren(), isClean()); stateTime_ = null; } return stateTimeBuilder_; @@ -3739,42 +4355,61 @@ public com.google.protobuf.TimestampOrBuilder getStateTimeOrBuilder() { private com.google.cloud.vmmigration.v1.ReplicationCycle currentSyncInfo_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.vmmigration.v1.ReplicationCycle, com.google.cloud.vmmigration.v1.ReplicationCycle.Builder, com.google.cloud.vmmigration.v1.ReplicationCycleOrBuilder> currentSyncInfoBuilder_; + com.google.cloud.vmmigration.v1.ReplicationCycle, + com.google.cloud.vmmigration.v1.ReplicationCycle.Builder, + com.google.cloud.vmmigration.v1.ReplicationCycleOrBuilder> + currentSyncInfoBuilder_; /** + * + * *
      * Output only. The percentage progress of the current running replication
      * cycle.
      * 
* - * .google.cloud.vmmigration.v1.ReplicationCycle current_sync_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.vmmigration.v1.ReplicationCycle current_sync_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the currentSyncInfo field is set. */ public boolean hasCurrentSyncInfo() { return currentSyncInfoBuilder_ != null || currentSyncInfo_ != null; } /** + * + * *
      * Output only. The percentage progress of the current running replication
      * cycle.
      * 
* - * .google.cloud.vmmigration.v1.ReplicationCycle current_sync_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.vmmigration.v1.ReplicationCycle current_sync_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The currentSyncInfo. */ public com.google.cloud.vmmigration.v1.ReplicationCycle getCurrentSyncInfo() { if (currentSyncInfoBuilder_ == null) { - return currentSyncInfo_ == null ? com.google.cloud.vmmigration.v1.ReplicationCycle.getDefaultInstance() : currentSyncInfo_; + return currentSyncInfo_ == null + ? com.google.cloud.vmmigration.v1.ReplicationCycle.getDefaultInstance() + : currentSyncInfo_; } else { return currentSyncInfoBuilder_.getMessage(); } } /** + * + * *
      * Output only. The percentage progress of the current running replication
      * cycle.
      * 
* - * .google.cloud.vmmigration.v1.ReplicationCycle current_sync_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.vmmigration.v1.ReplicationCycle current_sync_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setCurrentSyncInfo(com.google.cloud.vmmigration.v1.ReplicationCycle value) { if (currentSyncInfoBuilder_ == null) { @@ -3790,12 +4425,16 @@ public Builder setCurrentSyncInfo(com.google.cloud.vmmigration.v1.ReplicationCyc return this; } /** + * + * *
      * Output only. The percentage progress of the current running replication
      * cycle.
      * 
* - * .google.cloud.vmmigration.v1.ReplicationCycle current_sync_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.vmmigration.v1.ReplicationCycle current_sync_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setCurrentSyncInfo( com.google.cloud.vmmigration.v1.ReplicationCycle.Builder builderForValue) { @@ -3809,18 +4448,24 @@ public Builder setCurrentSyncInfo( return this; } /** + * + * *
      * Output only. The percentage progress of the current running replication
      * cycle.
      * 
* - * .google.cloud.vmmigration.v1.ReplicationCycle current_sync_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.vmmigration.v1.ReplicationCycle current_sync_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeCurrentSyncInfo(com.google.cloud.vmmigration.v1.ReplicationCycle value) { if (currentSyncInfoBuilder_ == null) { if (currentSyncInfo_ != null) { currentSyncInfo_ = - com.google.cloud.vmmigration.v1.ReplicationCycle.newBuilder(currentSyncInfo_).mergeFrom(value).buildPartial(); + com.google.cloud.vmmigration.v1.ReplicationCycle.newBuilder(currentSyncInfo_) + .mergeFrom(value) + .buildPartial(); } else { currentSyncInfo_ = value; } @@ -3832,12 +4477,16 @@ public Builder mergeCurrentSyncInfo(com.google.cloud.vmmigration.v1.ReplicationC return this; } /** + * + * *
      * Output only. The percentage progress of the current running replication
      * cycle.
      * 
* - * .google.cloud.vmmigration.v1.ReplicationCycle current_sync_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.vmmigration.v1.ReplicationCycle current_sync_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearCurrentSyncInfo() { if (currentSyncInfoBuilder_ == null) { @@ -3851,51 +4500,67 @@ public Builder clearCurrentSyncInfo() { return this; } /** + * + * *
      * Output only. The percentage progress of the current running replication
      * cycle.
      * 
* - * .google.cloud.vmmigration.v1.ReplicationCycle current_sync_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.vmmigration.v1.ReplicationCycle current_sync_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.vmmigration.v1.ReplicationCycle.Builder getCurrentSyncInfoBuilder() { - + onChanged(); return getCurrentSyncInfoFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The percentage progress of the current running replication
      * cycle.
      * 
* - * .google.cloud.vmmigration.v1.ReplicationCycle current_sync_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.vmmigration.v1.ReplicationCycle current_sync_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.vmmigration.v1.ReplicationCycleOrBuilder getCurrentSyncInfoOrBuilder() { if (currentSyncInfoBuilder_ != null) { return currentSyncInfoBuilder_.getMessageOrBuilder(); } else { - return currentSyncInfo_ == null ? - com.google.cloud.vmmigration.v1.ReplicationCycle.getDefaultInstance() : currentSyncInfo_; + return currentSyncInfo_ == null + ? com.google.cloud.vmmigration.v1.ReplicationCycle.getDefaultInstance() + : currentSyncInfo_; } } /** + * + * *
      * Output only. The percentage progress of the current running replication
      * cycle.
      * 
* - * .google.cloud.vmmigration.v1.ReplicationCycle current_sync_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.vmmigration.v1.ReplicationCycle current_sync_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.vmmigration.v1.ReplicationCycle, com.google.cloud.vmmigration.v1.ReplicationCycle.Builder, com.google.cloud.vmmigration.v1.ReplicationCycleOrBuilder> + com.google.cloud.vmmigration.v1.ReplicationCycle, + com.google.cloud.vmmigration.v1.ReplicationCycle.Builder, + com.google.cloud.vmmigration.v1.ReplicationCycleOrBuilder> getCurrentSyncInfoFieldBuilder() { if (currentSyncInfoBuilder_ == null) { - currentSyncInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.vmmigration.v1.ReplicationCycle, com.google.cloud.vmmigration.v1.ReplicationCycle.Builder, com.google.cloud.vmmigration.v1.ReplicationCycleOrBuilder>( - getCurrentSyncInfo(), - getParentForChildren(), - isClean()); + currentSyncInfoBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.vmmigration.v1.ReplicationCycle, + com.google.cloud.vmmigration.v1.ReplicationCycle.Builder, + com.google.cloud.vmmigration.v1.ReplicationCycleOrBuilder>( + getCurrentSyncInfo(), getParentForChildren(), isClean()); currentSyncInfo_ = null; } return currentSyncInfoBuilder_; @@ -3903,20 +4568,24 @@ public com.google.cloud.vmmigration.v1.ReplicationCycleOrBuilder getCurrentSyncI private java.lang.Object group_ = ""; /** + * + * *
      * Output only. The group this migrating vm is included in, if any. The group
      * is represented by the full path of the appropriate
      * [Group][google.cloud.vmmigration.v1.Group] resource.
      * 
* - * string group = 15 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string group = 15 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return The group. */ public java.lang.String getGroup() { java.lang.Object ref = group_; 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(); group_ = s; return s; @@ -3925,22 +4594,25 @@ public java.lang.String getGroup() { } } /** + * + * *
      * Output only. The group this migrating vm is included in, if any. The group
      * is represented by the full path of the appropriate
      * [Group][google.cloud.vmmigration.v1.Group] resource.
      * 
* - * string group = 15 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string group = 15 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for group. */ - public com.google.protobuf.ByteString - getGroupBytes() { + public com.google.protobuf.ByteString getGroupBytes() { java.lang.Object ref = group_; 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); group_ = b; return b; } else { @@ -3948,81 +4620,93 @@ public java.lang.String getGroup() { } } /** + * + * *
      * Output only. The group this migrating vm is included in, if any. The group
      * is represented by the full path of the appropriate
      * [Group][google.cloud.vmmigration.v1.Group] resource.
      * 
* - * string group = 15 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string group = 15 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @param value The group to set. * @return This builder for chaining. */ - public Builder setGroup( - java.lang.String value) { + public Builder setGroup(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + group_ = value; onChanged(); return this; } /** + * + * *
      * Output only. The group this migrating vm is included in, if any. The group
      * is represented by the full path of the appropriate
      * [Group][google.cloud.vmmigration.v1.Group] resource.
      * 
* - * string group = 15 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string group = 15 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearGroup() { - + group_ = getDefaultInstance().getGroup(); onChanged(); return this; } /** + * + * *
      * Output only. The group this migrating vm is included in, if any. The group
      * is represented by the full path of the appropriate
      * [Group][google.cloud.vmmigration.v1.Group] resource.
      * 
* - * string group = 15 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string group = 15 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for group to set. * @return This builder for chaining. */ - public Builder setGroupBytes( - com.google.protobuf.ByteString value) { + public Builder setGroupBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + group_ = value; onChanged(); return this; } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> labels_; - private com.google.protobuf.MapField - internalGetLabels() { + private com.google.protobuf.MapField labels_; + + private com.google.protobuf.MapField internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField( - LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); } return labels_; } + private com.google.protobuf.MapField - internalGetMutableLabels() { - onChanged();; + internalGetMutableLabels() { + onChanged(); + ; if (labels_ == null) { - labels_ = com.google.protobuf.MapField.newMapField( - LabelsDefaultEntryHolder.defaultEntry); + labels_ = com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); } if (!labels_.isMutable()) { labels_ = labels_.copy(); @@ -4034,28 +4718,30 @@ public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** + * + * *
      * The labels of the migrating VM.
      * 
* * map<string, string> labels = 16; */ - @java.lang.Override - public boolean containsLabels( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsLabels(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetLabels().getMap().containsKey(key); } - /** - * Use {@link #getLabelsMap()} instead. - */ + /** Use {@link #getLabelsMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getLabels() { return getLabelsMap(); } /** + * + * *
      * The labels of the migrating VM.
      * 
@@ -4063,11 +4749,12 @@ public java.util.Map getLabels() { * map<string, string> labels = 16; */ @java.lang.Override - public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** + * + * *
      * The labels of the migrating VM.
      * 
@@ -4075,16 +4762,17 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 16; */ @java.lang.Override - public java.lang.String getLabelsOrDefault( - java.lang.String key, - java.lang.String defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetLabels().getMap(); + java.lang.String key, java.lang.String defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
      * The labels of the migrating VM.
      * 
@@ -4092,12 +4780,11 @@ public java.lang.String getLabelsOrDefault( * map<string, string> labels = 16; */ @java.lang.Override - - public java.lang.String getLabelsOrThrow( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetLabels().getMap(); + public java.lang.String getLabelsOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -4105,80 +4792,84 @@ public java.lang.String getLabelsOrThrow( } public Builder clearLabels() { - internalGetMutableLabels().getMutableMap() - .clear(); + internalGetMutableLabels().getMutableMap().clear(); return this; } /** + * + * *
      * The labels of the migrating VM.
      * 
* * map<string, string> labels = 16; */ - - public Builder removeLabels( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - internalGetMutableLabels().getMutableMap() - .remove(key); + public Builder removeLabels(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + internalGetMutableLabels().getMutableMap().remove(key); return this; } - /** - * Use alternate mutation accessors instead. - */ + /** Use alternate mutation accessors instead. */ @java.lang.Deprecated - public java.util.Map - getMutableLabels() { + public java.util.Map getMutableLabels() { return internalGetMutableLabels().getMutableMap(); } /** + * + * *
      * The labels of the migrating VM.
      * 
* * map<string, string> labels = 16; */ - public Builder putLabels( - java.lang.String key, - java.lang.String value) { - if (key == null) { throw new NullPointerException("map key"); } + public Builder putLabels(java.lang.String key, java.lang.String value) { + if (key == null) { + throw new NullPointerException("map key"); + } if (value == null) { - throw new NullPointerException("map value"); -} + throw new NullPointerException("map value"); + } - internalGetMutableLabels().getMutableMap() - .put(key, value); + internalGetMutableLabels().getMutableMap().put(key, value); return this; } /** + * + * *
      * The labels of the migrating VM.
      * 
* * map<string, string> labels = 16; */ - - public Builder putAllLabels( - java.util.Map values) { - internalGetMutableLabels().getMutableMap() - .putAll(values); + public Builder putAllLabels(java.util.Map values) { + internalGetMutableLabels().getMutableMap().putAll(values); return this; } private java.util.List recentCloneJobs_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureRecentCloneJobsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - recentCloneJobs_ = new java.util.ArrayList(recentCloneJobs_); + recentCloneJobs_ = + new java.util.ArrayList(recentCloneJobs_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.vmmigration.v1.CloneJob, com.google.cloud.vmmigration.v1.CloneJob.Builder, com.google.cloud.vmmigration.v1.CloneJobOrBuilder> recentCloneJobsBuilder_; + com.google.cloud.vmmigration.v1.CloneJob, + com.google.cloud.vmmigration.v1.CloneJob.Builder, + com.google.cloud.vmmigration.v1.CloneJobOrBuilder> + recentCloneJobsBuilder_; /** + * + * *
      * Output only. The recent [clone jobs][google.cloud.vmmigration.v1.CloneJob]
      * performed on the migrating VM. This field holds the vm's last completed
@@ -4187,7 +4878,9 @@ private void ensureRecentCloneJobsIsMutable() {
      * the "view" parameter of the Get/List request.
      * 
* - * repeated .google.cloud.vmmigration.v1.CloneJob recent_clone_jobs = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.CloneJob recent_clone_jobs = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public java.util.List getRecentCloneJobsList() { if (recentCloneJobsBuilder_ == null) { @@ -4197,6 +4890,8 @@ public java.util.List getRecentCloneJo } } /** + * + * *
      * Output only. The recent [clone jobs][google.cloud.vmmigration.v1.CloneJob]
      * performed on the migrating VM. This field holds the vm's last completed
@@ -4205,7 +4900,9 @@ public java.util.List getRecentCloneJo
      * the "view" parameter of the Get/List request.
      * 
* - * repeated .google.cloud.vmmigration.v1.CloneJob recent_clone_jobs = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.CloneJob recent_clone_jobs = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public int getRecentCloneJobsCount() { if (recentCloneJobsBuilder_ == null) { @@ -4215,6 +4912,8 @@ public int getRecentCloneJobsCount() { } } /** + * + * *
      * Output only. The recent [clone jobs][google.cloud.vmmigration.v1.CloneJob]
      * performed on the migrating VM. This field holds the vm's last completed
@@ -4223,7 +4922,9 @@ public int getRecentCloneJobsCount() {
      * the "view" parameter of the Get/List request.
      * 
* - * repeated .google.cloud.vmmigration.v1.CloneJob recent_clone_jobs = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.CloneJob recent_clone_jobs = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.vmmigration.v1.CloneJob getRecentCloneJobs(int index) { if (recentCloneJobsBuilder_ == null) { @@ -4233,6 +4934,8 @@ public com.google.cloud.vmmigration.v1.CloneJob getRecentCloneJobs(int index) { } } /** + * + * *
      * Output only. The recent [clone jobs][google.cloud.vmmigration.v1.CloneJob]
      * performed on the migrating VM. This field holds the vm's last completed
@@ -4241,10 +4944,11 @@ public com.google.cloud.vmmigration.v1.CloneJob getRecentCloneJobs(int index) {
      * the "view" parameter of the Get/List request.
      * 
* - * repeated .google.cloud.vmmigration.v1.CloneJob recent_clone_jobs = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.CloneJob recent_clone_jobs = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setRecentCloneJobs( - int index, com.google.cloud.vmmigration.v1.CloneJob value) { + public Builder setRecentCloneJobs(int index, com.google.cloud.vmmigration.v1.CloneJob value) { if (recentCloneJobsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4258,6 +4962,8 @@ public Builder setRecentCloneJobs( return this; } /** + * + * *
      * Output only. The recent [clone jobs][google.cloud.vmmigration.v1.CloneJob]
      * performed on the migrating VM. This field holds the vm's last completed
@@ -4266,7 +4972,9 @@ public Builder setRecentCloneJobs(
      * the "view" parameter of the Get/List request.
      * 
* - * repeated .google.cloud.vmmigration.v1.CloneJob recent_clone_jobs = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.CloneJob recent_clone_jobs = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setRecentCloneJobs( int index, com.google.cloud.vmmigration.v1.CloneJob.Builder builderForValue) { @@ -4280,6 +4988,8 @@ public Builder setRecentCloneJobs( return this; } /** + * + * *
      * Output only. The recent [clone jobs][google.cloud.vmmigration.v1.CloneJob]
      * performed on the migrating VM. This field holds the vm's last completed
@@ -4288,7 +4998,9 @@ public Builder setRecentCloneJobs(
      * the "view" parameter of the Get/List request.
      * 
* - * repeated .google.cloud.vmmigration.v1.CloneJob recent_clone_jobs = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.CloneJob recent_clone_jobs = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addRecentCloneJobs(com.google.cloud.vmmigration.v1.CloneJob value) { if (recentCloneJobsBuilder_ == null) { @@ -4304,6 +5016,8 @@ public Builder addRecentCloneJobs(com.google.cloud.vmmigration.v1.CloneJob value return this; } /** + * + * *
      * Output only. The recent [clone jobs][google.cloud.vmmigration.v1.CloneJob]
      * performed on the migrating VM. This field holds the vm's last completed
@@ -4312,10 +5026,11 @@ public Builder addRecentCloneJobs(com.google.cloud.vmmigration.v1.CloneJob value
      * the "view" parameter of the Get/List request.
      * 
* - * repeated .google.cloud.vmmigration.v1.CloneJob recent_clone_jobs = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.CloneJob recent_clone_jobs = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder addRecentCloneJobs( - int index, com.google.cloud.vmmigration.v1.CloneJob value) { + public Builder addRecentCloneJobs(int index, com.google.cloud.vmmigration.v1.CloneJob value) { if (recentCloneJobsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4329,6 +5044,8 @@ public Builder addRecentCloneJobs( return this; } /** + * + * *
      * Output only. The recent [clone jobs][google.cloud.vmmigration.v1.CloneJob]
      * performed on the migrating VM. This field holds the vm's last completed
@@ -4337,7 +5054,9 @@ public Builder addRecentCloneJobs(
      * the "view" parameter of the Get/List request.
      * 
* - * repeated .google.cloud.vmmigration.v1.CloneJob recent_clone_jobs = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.CloneJob recent_clone_jobs = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addRecentCloneJobs( com.google.cloud.vmmigration.v1.CloneJob.Builder builderForValue) { @@ -4351,6 +5070,8 @@ public Builder addRecentCloneJobs( return this; } /** + * + * *
      * Output only. The recent [clone jobs][google.cloud.vmmigration.v1.CloneJob]
      * performed on the migrating VM. This field holds the vm's last completed
@@ -4359,7 +5080,9 @@ public Builder addRecentCloneJobs(
      * the "view" parameter of the Get/List request.
      * 
* - * repeated .google.cloud.vmmigration.v1.CloneJob recent_clone_jobs = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.CloneJob recent_clone_jobs = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addRecentCloneJobs( int index, com.google.cloud.vmmigration.v1.CloneJob.Builder builderForValue) { @@ -4373,6 +5096,8 @@ public Builder addRecentCloneJobs( return this; } /** + * + * *
      * Output only. The recent [clone jobs][google.cloud.vmmigration.v1.CloneJob]
      * performed on the migrating VM. This field holds the vm's last completed
@@ -4381,14 +5106,15 @@ public Builder addRecentCloneJobs(
      * the "view" parameter of the Get/List request.
      * 
* - * repeated .google.cloud.vmmigration.v1.CloneJob recent_clone_jobs = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.CloneJob recent_clone_jobs = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addAllRecentCloneJobs( java.lang.Iterable values) { if (recentCloneJobsBuilder_ == null) { ensureRecentCloneJobsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, recentCloneJobs_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, recentCloneJobs_); onChanged(); } else { recentCloneJobsBuilder_.addAllMessages(values); @@ -4396,6 +5122,8 @@ public Builder addAllRecentCloneJobs( return this; } /** + * + * *
      * Output only. The recent [clone jobs][google.cloud.vmmigration.v1.CloneJob]
      * performed on the migrating VM. This field holds the vm's last completed
@@ -4404,7 +5132,9 @@ public Builder addAllRecentCloneJobs(
      * the "view" parameter of the Get/List request.
      * 
* - * repeated .google.cloud.vmmigration.v1.CloneJob recent_clone_jobs = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.CloneJob recent_clone_jobs = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearRecentCloneJobs() { if (recentCloneJobsBuilder_ == null) { @@ -4417,6 +5147,8 @@ public Builder clearRecentCloneJobs() { return this; } /** + * + * *
      * Output only. The recent [clone jobs][google.cloud.vmmigration.v1.CloneJob]
      * performed on the migrating VM. This field holds the vm's last completed
@@ -4425,7 +5157,9 @@ public Builder clearRecentCloneJobs() {
      * the "view" parameter of the Get/List request.
      * 
* - * repeated .google.cloud.vmmigration.v1.CloneJob recent_clone_jobs = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.CloneJob recent_clone_jobs = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder removeRecentCloneJobs(int index) { if (recentCloneJobsBuilder_ == null) { @@ -4438,6 +5172,8 @@ public Builder removeRecentCloneJobs(int index) { return this; } /** + * + * *
      * Output only. The recent [clone jobs][google.cloud.vmmigration.v1.CloneJob]
      * performed on the migrating VM. This field holds the vm's last completed
@@ -4446,13 +5182,16 @@ public Builder removeRecentCloneJobs(int index) {
      * the "view" parameter of the Get/List request.
      * 
* - * repeated .google.cloud.vmmigration.v1.CloneJob recent_clone_jobs = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.CloneJob recent_clone_jobs = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.vmmigration.v1.CloneJob.Builder getRecentCloneJobsBuilder( - int index) { + public com.google.cloud.vmmigration.v1.CloneJob.Builder getRecentCloneJobsBuilder(int index) { return getRecentCloneJobsFieldBuilder().getBuilder(index); } /** + * + * *
      * Output only. The recent [clone jobs][google.cloud.vmmigration.v1.CloneJob]
      * performed on the migrating VM. This field holds the vm's last completed
@@ -4461,16 +5200,21 @@ public com.google.cloud.vmmigration.v1.CloneJob.Builder getRecentCloneJobsBuilde
      * the "view" parameter of the Get/List request.
      * 
* - * repeated .google.cloud.vmmigration.v1.CloneJob recent_clone_jobs = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.CloneJob recent_clone_jobs = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.vmmigration.v1.CloneJobOrBuilder getRecentCloneJobsOrBuilder( int index) { if (recentCloneJobsBuilder_ == null) { - return recentCloneJobs_.get(index); } else { + return recentCloneJobs_.get(index); + } else { return recentCloneJobsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Output only. The recent [clone jobs][google.cloud.vmmigration.v1.CloneJob]
      * performed on the migrating VM. This field holds the vm's last completed
@@ -4479,10 +5223,12 @@ public com.google.cloud.vmmigration.v1.CloneJobOrBuilder getRecentCloneJobsOrBui
      * the "view" parameter of the Get/List request.
      * 
* - * repeated .google.cloud.vmmigration.v1.CloneJob recent_clone_jobs = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.CloneJob recent_clone_jobs = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public java.util.List - getRecentCloneJobsOrBuilderList() { + public java.util.List + getRecentCloneJobsOrBuilderList() { if (recentCloneJobsBuilder_ != null) { return recentCloneJobsBuilder_.getMessageOrBuilderList(); } else { @@ -4490,6 +5236,8 @@ public com.google.cloud.vmmigration.v1.CloneJobOrBuilder getRecentCloneJobsOrBui } } /** + * + * *
      * Output only. The recent [clone jobs][google.cloud.vmmigration.v1.CloneJob]
      * performed on the migrating VM. This field holds the vm's last completed
@@ -4498,13 +5246,17 @@ public com.google.cloud.vmmigration.v1.CloneJobOrBuilder getRecentCloneJobsOrBui
      * the "view" parameter of the Get/List request.
      * 
* - * repeated .google.cloud.vmmigration.v1.CloneJob recent_clone_jobs = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.CloneJob recent_clone_jobs = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.vmmigration.v1.CloneJob.Builder addRecentCloneJobsBuilder() { - return getRecentCloneJobsFieldBuilder().addBuilder( - com.google.cloud.vmmigration.v1.CloneJob.getDefaultInstance()); + return getRecentCloneJobsFieldBuilder() + .addBuilder(com.google.cloud.vmmigration.v1.CloneJob.getDefaultInstance()); } /** + * + * *
      * Output only. The recent [clone jobs][google.cloud.vmmigration.v1.CloneJob]
      * performed on the migrating VM. This field holds the vm's last completed
@@ -4513,14 +5265,17 @@ public com.google.cloud.vmmigration.v1.CloneJob.Builder addRecentCloneJobsBuilde
      * the "view" parameter of the Get/List request.
      * 
* - * repeated .google.cloud.vmmigration.v1.CloneJob recent_clone_jobs = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.CloneJob recent_clone_jobs = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.vmmigration.v1.CloneJob.Builder addRecentCloneJobsBuilder( - int index) { - return getRecentCloneJobsFieldBuilder().addBuilder( - index, com.google.cloud.vmmigration.v1.CloneJob.getDefaultInstance()); + public com.google.cloud.vmmigration.v1.CloneJob.Builder addRecentCloneJobsBuilder(int index) { + return getRecentCloneJobsFieldBuilder() + .addBuilder(index, com.google.cloud.vmmigration.v1.CloneJob.getDefaultInstance()); } /** + * + * *
      * Output only. The recent [clone jobs][google.cloud.vmmigration.v1.CloneJob]
      * performed on the migrating VM. This field holds the vm's last completed
@@ -4529,18 +5284,26 @@ public com.google.cloud.vmmigration.v1.CloneJob.Builder addRecentCloneJobsBuilde
      * the "view" parameter of the Get/List request.
      * 
* - * repeated .google.cloud.vmmigration.v1.CloneJob recent_clone_jobs = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.CloneJob recent_clone_jobs = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public java.util.List - getRecentCloneJobsBuilderList() { + public java.util.List + getRecentCloneJobsBuilderList() { return getRecentCloneJobsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.vmmigration.v1.CloneJob, com.google.cloud.vmmigration.v1.CloneJob.Builder, com.google.cloud.vmmigration.v1.CloneJobOrBuilder> + com.google.cloud.vmmigration.v1.CloneJob, + com.google.cloud.vmmigration.v1.CloneJob.Builder, + com.google.cloud.vmmigration.v1.CloneJobOrBuilder> getRecentCloneJobsFieldBuilder() { if (recentCloneJobsBuilder_ == null) { - recentCloneJobsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.vmmigration.v1.CloneJob, com.google.cloud.vmmigration.v1.CloneJob.Builder, com.google.cloud.vmmigration.v1.CloneJobOrBuilder>( + recentCloneJobsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.vmmigration.v1.CloneJob, + com.google.cloud.vmmigration.v1.CloneJob.Builder, + com.google.cloud.vmmigration.v1.CloneJobOrBuilder>( recentCloneJobs_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), @@ -4552,26 +5315,33 @@ public com.google.cloud.vmmigration.v1.CloneJob.Builder addRecentCloneJobsBuilde private com.google.rpc.Status error_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> errorBuilder_; + com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> + errorBuilder_; /** + * + * *
      * Output only. Provides details on the state of the Migrating VM in case of
      * an error in replication.
      * 
* * .google.rpc.Status error = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return Whether the error field is set. */ public boolean hasError() { return errorBuilder_ != null || error_ != null; } /** + * + * *
      * Output only. Provides details on the state of the Migrating VM in case of
      * an error in replication.
      * 
* * .google.rpc.Status error = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The error. */ public com.google.rpc.Status getError() { @@ -4582,6 +5352,8 @@ public com.google.rpc.Status getError() { } } /** + * + * *
      * Output only. Provides details on the state of the Migrating VM in case of
      * an error in replication.
@@ -4603,6 +5375,8 @@ public Builder setError(com.google.rpc.Status value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. Provides details on the state of the Migrating VM in case of
      * an error in replication.
@@ -4610,8 +5384,7 @@ public Builder setError(com.google.rpc.Status value) {
      *
      * .google.rpc.Status error = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
      */
-    public Builder setError(
-        com.google.rpc.Status.Builder builderForValue) {
+    public Builder setError(com.google.rpc.Status.Builder builderForValue) {
       if (errorBuilder_ == null) {
         error_ = builderForValue.build();
         onChanged();
@@ -4622,6 +5395,8 @@ public Builder setError(
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. Provides details on the state of the Migrating VM in case of
      * an error in replication.
@@ -4632,8 +5407,7 @@ public Builder setError(
     public Builder mergeError(com.google.rpc.Status value) {
       if (errorBuilder_ == null) {
         if (error_ != null) {
-          error_ =
-            com.google.rpc.Status.newBuilder(error_).mergeFrom(value).buildPartial();
+          error_ = com.google.rpc.Status.newBuilder(error_).mergeFrom(value).buildPartial();
         } else {
           error_ = value;
         }
@@ -4645,6 +5419,8 @@ public Builder mergeError(com.google.rpc.Status value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. Provides details on the state of the Migrating VM in case of
      * an error in replication.
@@ -4664,6 +5440,8 @@ public Builder clearError() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. Provides details on the state of the Migrating VM in case of
      * an error in replication.
@@ -4672,11 +5450,13 @@ public Builder clearError() {
      * .google.rpc.Status error = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
      */
     public com.google.rpc.Status.Builder getErrorBuilder() {
-      
+
       onChanged();
       return getErrorFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Output only. Provides details on the state of the Migrating VM in case of
      * an error in replication.
@@ -4688,11 +5468,12 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() {
       if (errorBuilder_ != null) {
         return errorBuilder_.getMessageOrBuilder();
       } else {
-        return error_ == null ?
-            com.google.rpc.Status.getDefaultInstance() : error_;
+        return error_ == null ? com.google.rpc.Status.getDefaultInstance() : error_;
       }
     }
     /**
+     *
+     *
      * 
      * Output only. Provides details on the state of the Migrating VM in case of
      * an error in replication.
@@ -4701,32 +5482,39 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() {
      * .google.rpc.Status error = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
      */
     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>
         getErrorFieldBuilder() {
       if (errorBuilder_ == null) {
-        errorBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder>(
-                getError(),
-                getParentForChildren(),
-                isClean());
+        errorBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.rpc.Status,
+                com.google.rpc.Status.Builder,
+                com.google.rpc.StatusOrBuilder>(getError(), getParentForChildren(), isClean());
         error_ = null;
       }
       return errorBuilder_;
     }
 
     private java.util.List recentCutoverJobs_ =
-      java.util.Collections.emptyList();
+        java.util.Collections.emptyList();
+
     private void ensureRecentCutoverJobsIsMutable() {
       if (!((bitField0_ & 0x00000004) != 0)) {
-        recentCutoverJobs_ = new java.util.ArrayList(recentCutoverJobs_);
+        recentCutoverJobs_ =
+            new java.util.ArrayList(recentCutoverJobs_);
         bitField0_ |= 0x00000004;
-       }
+      }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.cloud.vmmigration.v1.CutoverJob, com.google.cloud.vmmigration.v1.CutoverJob.Builder, com.google.cloud.vmmigration.v1.CutoverJobOrBuilder> recentCutoverJobsBuilder_;
+            com.google.cloud.vmmigration.v1.CutoverJob,
+            com.google.cloud.vmmigration.v1.CutoverJob.Builder,
+            com.google.cloud.vmmigration.v1.CutoverJobOrBuilder>
+        recentCutoverJobsBuilder_;
 
     /**
+     *
+     *
      * 
      * Output only. The recent cutover jobs performed on the migrating VM.
      * This field holds the vm's last completed cutover job and the vm's
@@ -4735,7 +5523,9 @@ private void ensureRecentCutoverJobsIsMutable() {
      * the "view" parameter of the Get/List request.
      * 
* - * repeated .google.cloud.vmmigration.v1.CutoverJob recent_cutover_jobs = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.CutoverJob recent_cutover_jobs = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public java.util.List getRecentCutoverJobsList() { if (recentCutoverJobsBuilder_ == null) { @@ -4745,6 +5535,8 @@ public java.util.List getRecentCutov } } /** + * + * *
      * Output only. The recent cutover jobs performed on the migrating VM.
      * This field holds the vm's last completed cutover job and the vm's
@@ -4753,7 +5545,9 @@ public java.util.List getRecentCutov
      * the "view" parameter of the Get/List request.
      * 
* - * repeated .google.cloud.vmmigration.v1.CutoverJob recent_cutover_jobs = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.CutoverJob recent_cutover_jobs = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public int getRecentCutoverJobsCount() { if (recentCutoverJobsBuilder_ == null) { @@ -4763,6 +5557,8 @@ public int getRecentCutoverJobsCount() { } } /** + * + * *
      * Output only. The recent cutover jobs performed on the migrating VM.
      * This field holds the vm's last completed cutover job and the vm's
@@ -4771,7 +5567,9 @@ public int getRecentCutoverJobsCount() {
      * the "view" parameter of the Get/List request.
      * 
* - * repeated .google.cloud.vmmigration.v1.CutoverJob recent_cutover_jobs = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.CutoverJob recent_cutover_jobs = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.vmmigration.v1.CutoverJob getRecentCutoverJobs(int index) { if (recentCutoverJobsBuilder_ == null) { @@ -4781,6 +5579,8 @@ public com.google.cloud.vmmigration.v1.CutoverJob getRecentCutoverJobs(int index } } /** + * + * *
      * Output only. The recent cutover jobs performed on the migrating VM.
      * This field holds the vm's last completed cutover job and the vm's
@@ -4789,7 +5589,9 @@ public com.google.cloud.vmmigration.v1.CutoverJob getRecentCutoverJobs(int index
      * the "view" parameter of the Get/List request.
      * 
* - * repeated .google.cloud.vmmigration.v1.CutoverJob recent_cutover_jobs = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.CutoverJob recent_cutover_jobs = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setRecentCutoverJobs( int index, com.google.cloud.vmmigration.v1.CutoverJob value) { @@ -4806,6 +5608,8 @@ public Builder setRecentCutoverJobs( return this; } /** + * + * *
      * Output only. The recent cutover jobs performed on the migrating VM.
      * This field holds the vm's last completed cutover job and the vm's
@@ -4814,7 +5618,9 @@ public Builder setRecentCutoverJobs(
      * the "view" parameter of the Get/List request.
      * 
* - * repeated .google.cloud.vmmigration.v1.CutoverJob recent_cutover_jobs = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.CutoverJob recent_cutover_jobs = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setRecentCutoverJobs( int index, com.google.cloud.vmmigration.v1.CutoverJob.Builder builderForValue) { @@ -4828,6 +5634,8 @@ public Builder setRecentCutoverJobs( return this; } /** + * + * *
      * Output only. The recent cutover jobs performed on the migrating VM.
      * This field holds the vm's last completed cutover job and the vm's
@@ -4836,7 +5644,9 @@ public Builder setRecentCutoverJobs(
      * the "view" parameter of the Get/List request.
      * 
* - * repeated .google.cloud.vmmigration.v1.CutoverJob recent_cutover_jobs = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.CutoverJob recent_cutover_jobs = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addRecentCutoverJobs(com.google.cloud.vmmigration.v1.CutoverJob value) { if (recentCutoverJobsBuilder_ == null) { @@ -4852,6 +5662,8 @@ public Builder addRecentCutoverJobs(com.google.cloud.vmmigration.v1.CutoverJob v return this; } /** + * + * *
      * Output only. The recent cutover jobs performed on the migrating VM.
      * This field holds the vm's last completed cutover job and the vm's
@@ -4860,7 +5672,9 @@ public Builder addRecentCutoverJobs(com.google.cloud.vmmigration.v1.CutoverJob v
      * the "view" parameter of the Get/List request.
      * 
* - * repeated .google.cloud.vmmigration.v1.CutoverJob recent_cutover_jobs = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.CutoverJob recent_cutover_jobs = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addRecentCutoverJobs( int index, com.google.cloud.vmmigration.v1.CutoverJob value) { @@ -4877,6 +5691,8 @@ public Builder addRecentCutoverJobs( return this; } /** + * + * *
      * Output only. The recent cutover jobs performed on the migrating VM.
      * This field holds the vm's last completed cutover job and the vm's
@@ -4885,7 +5701,9 @@ public Builder addRecentCutoverJobs(
      * the "view" parameter of the Get/List request.
      * 
* - * repeated .google.cloud.vmmigration.v1.CutoverJob recent_cutover_jobs = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.CutoverJob recent_cutover_jobs = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addRecentCutoverJobs( com.google.cloud.vmmigration.v1.CutoverJob.Builder builderForValue) { @@ -4899,6 +5717,8 @@ public Builder addRecentCutoverJobs( return this; } /** + * + * *
      * Output only. The recent cutover jobs performed on the migrating VM.
      * This field holds the vm's last completed cutover job and the vm's
@@ -4907,7 +5727,9 @@ public Builder addRecentCutoverJobs(
      * the "view" parameter of the Get/List request.
      * 
* - * repeated .google.cloud.vmmigration.v1.CutoverJob recent_cutover_jobs = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.CutoverJob recent_cutover_jobs = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addRecentCutoverJobs( int index, com.google.cloud.vmmigration.v1.CutoverJob.Builder builderForValue) { @@ -4921,6 +5743,8 @@ public Builder addRecentCutoverJobs( return this; } /** + * + * *
      * Output only. The recent cutover jobs performed on the migrating VM.
      * This field holds the vm's last completed cutover job and the vm's
@@ -4929,14 +5753,15 @@ public Builder addRecentCutoverJobs(
      * the "view" parameter of the Get/List request.
      * 
* - * repeated .google.cloud.vmmigration.v1.CutoverJob recent_cutover_jobs = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.CutoverJob recent_cutover_jobs = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addAllRecentCutoverJobs( java.lang.Iterable values) { if (recentCutoverJobsBuilder_ == null) { ensureRecentCutoverJobsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, recentCutoverJobs_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, recentCutoverJobs_); onChanged(); } else { recentCutoverJobsBuilder_.addAllMessages(values); @@ -4944,6 +5769,8 @@ public Builder addAllRecentCutoverJobs( return this; } /** + * + * *
      * Output only. The recent cutover jobs performed on the migrating VM.
      * This field holds the vm's last completed cutover job and the vm's
@@ -4952,7 +5779,9 @@ public Builder addAllRecentCutoverJobs(
      * the "view" parameter of the Get/List request.
      * 
* - * repeated .google.cloud.vmmigration.v1.CutoverJob recent_cutover_jobs = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.CutoverJob recent_cutover_jobs = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearRecentCutoverJobs() { if (recentCutoverJobsBuilder_ == null) { @@ -4965,6 +5794,8 @@ public Builder clearRecentCutoverJobs() { return this; } /** + * + * *
      * Output only. The recent cutover jobs performed on the migrating VM.
      * This field holds the vm's last completed cutover job and the vm's
@@ -4973,7 +5804,9 @@ public Builder clearRecentCutoverJobs() {
      * the "view" parameter of the Get/List request.
      * 
* - * repeated .google.cloud.vmmigration.v1.CutoverJob recent_cutover_jobs = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.CutoverJob recent_cutover_jobs = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder removeRecentCutoverJobs(int index) { if (recentCutoverJobsBuilder_ == null) { @@ -4986,6 +5819,8 @@ public Builder removeRecentCutoverJobs(int index) { return this; } /** + * + * *
      * Output only. The recent cutover jobs performed on the migrating VM.
      * This field holds the vm's last completed cutover job and the vm's
@@ -4994,13 +5829,17 @@ public Builder removeRecentCutoverJobs(int index) {
      * the "view" parameter of the Get/List request.
      * 
* - * repeated .google.cloud.vmmigration.v1.CutoverJob recent_cutover_jobs = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.CutoverJob recent_cutover_jobs = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.vmmigration.v1.CutoverJob.Builder getRecentCutoverJobsBuilder( int index) { return getRecentCutoverJobsFieldBuilder().getBuilder(index); } /** + * + * *
      * Output only. The recent cutover jobs performed on the migrating VM.
      * This field holds the vm's last completed cutover job and the vm's
@@ -5009,16 +5848,21 @@ public com.google.cloud.vmmigration.v1.CutoverJob.Builder getRecentCutoverJobsBu
      * the "view" parameter of the Get/List request.
      * 
* - * repeated .google.cloud.vmmigration.v1.CutoverJob recent_cutover_jobs = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.CutoverJob recent_cutover_jobs = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.vmmigration.v1.CutoverJobOrBuilder getRecentCutoverJobsOrBuilder( int index) { if (recentCutoverJobsBuilder_ == null) { - return recentCutoverJobs_.get(index); } else { + return recentCutoverJobs_.get(index); + } else { return recentCutoverJobsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Output only. The recent cutover jobs performed on the migrating VM.
      * This field holds the vm's last completed cutover job and the vm's
@@ -5027,10 +5871,12 @@ public com.google.cloud.vmmigration.v1.CutoverJobOrBuilder getRecentCutoverJobsO
      * the "view" parameter of the Get/List request.
      * 
* - * repeated .google.cloud.vmmigration.v1.CutoverJob recent_cutover_jobs = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.CutoverJob recent_cutover_jobs = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public java.util.List - getRecentCutoverJobsOrBuilderList() { + public java.util.List + getRecentCutoverJobsOrBuilderList() { if (recentCutoverJobsBuilder_ != null) { return recentCutoverJobsBuilder_.getMessageOrBuilderList(); } else { @@ -5038,6 +5884,8 @@ public com.google.cloud.vmmigration.v1.CutoverJobOrBuilder getRecentCutoverJobsO } } /** + * + * *
      * Output only. The recent cutover jobs performed on the migrating VM.
      * This field holds the vm's last completed cutover job and the vm's
@@ -5046,13 +5894,17 @@ public com.google.cloud.vmmigration.v1.CutoverJobOrBuilder getRecentCutoverJobsO
      * the "view" parameter of the Get/List request.
      * 
* - * repeated .google.cloud.vmmigration.v1.CutoverJob recent_cutover_jobs = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.CutoverJob recent_cutover_jobs = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.vmmigration.v1.CutoverJob.Builder addRecentCutoverJobsBuilder() { - return getRecentCutoverJobsFieldBuilder().addBuilder( - com.google.cloud.vmmigration.v1.CutoverJob.getDefaultInstance()); + return getRecentCutoverJobsFieldBuilder() + .addBuilder(com.google.cloud.vmmigration.v1.CutoverJob.getDefaultInstance()); } /** + * + * *
      * Output only. The recent cutover jobs performed on the migrating VM.
      * This field holds the vm's last completed cutover job and the vm's
@@ -5061,14 +5913,18 @@ public com.google.cloud.vmmigration.v1.CutoverJob.Builder addRecentCutoverJobsBu
      * the "view" parameter of the Get/List request.
      * 
* - * repeated .google.cloud.vmmigration.v1.CutoverJob recent_cutover_jobs = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.CutoverJob recent_cutover_jobs = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.vmmigration.v1.CutoverJob.Builder addRecentCutoverJobsBuilder( int index) { - return getRecentCutoverJobsFieldBuilder().addBuilder( - index, com.google.cloud.vmmigration.v1.CutoverJob.getDefaultInstance()); + return getRecentCutoverJobsFieldBuilder() + .addBuilder(index, com.google.cloud.vmmigration.v1.CutoverJob.getDefaultInstance()); } /** + * + * *
      * Output only. The recent cutover jobs performed on the migrating VM.
      * This field holds the vm's last completed cutover job and the vm's
@@ -5077,18 +5933,26 @@ public com.google.cloud.vmmigration.v1.CutoverJob.Builder addRecentCutoverJobsBu
      * the "view" parameter of the Get/List request.
      * 
* - * repeated .google.cloud.vmmigration.v1.CutoverJob recent_cutover_jobs = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.CutoverJob recent_cutover_jobs = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public java.util.List - getRecentCutoverJobsBuilderList() { + public java.util.List + getRecentCutoverJobsBuilderList() { return getRecentCutoverJobsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.vmmigration.v1.CutoverJob, com.google.cloud.vmmigration.v1.CutoverJob.Builder, com.google.cloud.vmmigration.v1.CutoverJobOrBuilder> + com.google.cloud.vmmigration.v1.CutoverJob, + com.google.cloud.vmmigration.v1.CutoverJob.Builder, + com.google.cloud.vmmigration.v1.CutoverJobOrBuilder> getRecentCutoverJobsFieldBuilder() { if (recentCutoverJobsBuilder_ == null) { - recentCutoverJobsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.vmmigration.v1.CutoverJob, com.google.cloud.vmmigration.v1.CutoverJob.Builder, com.google.cloud.vmmigration.v1.CutoverJobOrBuilder>( + recentCutoverJobsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.vmmigration.v1.CutoverJob, + com.google.cloud.vmmigration.v1.CutoverJob.Builder, + com.google.cloud.vmmigration.v1.CutoverJobOrBuilder>( recentCutoverJobs_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), @@ -5097,9 +5961,9 @@ public com.google.cloud.vmmigration.v1.CutoverJob.Builder addRecentCutoverJobsBu } return recentCutoverJobsBuilder_; } + @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); } @@ -5109,12 +5973,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.vmmigration.v1.MigratingVm) } // @@protoc_insertion_point(class_scope:google.cloud.vmmigration.v1.MigratingVm) private static final com.google.cloud.vmmigration.v1.MigratingVm DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.vmmigration.v1.MigratingVm(); } @@ -5123,16 +5987,16 @@ public static com.google.cloud.vmmigration.v1.MigratingVm getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public MigratingVm parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new MigratingVm(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MigratingVm parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new MigratingVm(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -5147,6 +6011,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.vmmigration.v1.MigratingVm getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/MigratingVmName.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/MigratingVmName.java similarity index 100% rename from owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/MigratingVmName.java rename to proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/MigratingVmName.java diff --git a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/MigratingVmOrBuilder.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/MigratingVmOrBuilder.java similarity index 70% rename from owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/MigratingVmOrBuilder.java rename to proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/MigratingVmOrBuilder.java index 815dc6f..31c206b 100644 --- a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/MigratingVmOrBuilder.java +++ b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/MigratingVmOrBuilder.java @@ -1,60 +1,98 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; -public interface MigratingVmOrBuilder extends +public interface MigratingVmOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.MigratingVm) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Details of the target VM in Compute Engine.
    * 
* - * .google.cloud.vmmigration.v1.ComputeEngineTargetDefaults compute_engine_target_defaults = 26; + * + * .google.cloud.vmmigration.v1.ComputeEngineTargetDefaults compute_engine_target_defaults = 26; + * + * * @return Whether the computeEngineTargetDefaults field is set. */ boolean hasComputeEngineTargetDefaults(); /** + * + * *
    * Details of the target VM in Compute Engine.
    * 
* - * .google.cloud.vmmigration.v1.ComputeEngineTargetDefaults compute_engine_target_defaults = 26; + * + * .google.cloud.vmmigration.v1.ComputeEngineTargetDefaults compute_engine_target_defaults = 26; + * + * * @return The computeEngineTargetDefaults. */ com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaults getComputeEngineTargetDefaults(); /** + * + * *
    * Details of the target VM in Compute Engine.
    * 
* - * .google.cloud.vmmigration.v1.ComputeEngineTargetDefaults compute_engine_target_defaults = 26; + * + * .google.cloud.vmmigration.v1.ComputeEngineTargetDefaults compute_engine_target_defaults = 26; + * */ - com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaultsOrBuilder getComputeEngineTargetDefaultsOrBuilder(); + com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaultsOrBuilder + getComputeEngineTargetDefaultsOrBuilder(); /** + * + * *
    * Output only. The identifier of the MigratingVm.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Output only. The identifier of the MigratingVm.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * The unique ID of the VM in the source.
    * The VM's name in vSphere can be changed, so this is not the VM's name but
@@ -62,10 +100,13 @@ public interface MigratingVmOrBuilder extends
    * 
* * string source_vm_id = 2; + * * @return The sourceVmId. */ java.lang.String getSourceVmId(); /** + * + * *
    * The unique ID of the VM in the source.
    * The VM's name in vSphere can be changed, so this is not the VM's name but
@@ -73,70 +114,88 @@ public interface MigratingVmOrBuilder extends
    * 
* * string source_vm_id = 2; + * * @return The bytes for sourceVmId. */ - com.google.protobuf.ByteString - getSourceVmIdBytes(); + com.google.protobuf.ByteString getSourceVmIdBytes(); /** + * + * *
    * The display name attached to the MigratingVm by the user.
    * 
* * string display_name = 18; + * * @return The displayName. */ java.lang.String getDisplayName(); /** + * + * *
    * The display name attached to the MigratingVm by the user.
    * 
* * string display_name = 18; + * * @return The bytes for displayName. */ - com.google.protobuf.ByteString - getDisplayNameBytes(); + com.google.protobuf.ByteString getDisplayNameBytes(); /** + * + * *
    * The description attached to the migrating VM by the user.
    * 
* * string description = 3; + * * @return The description. */ java.lang.String getDescription(); /** + * + * *
    * The description attached to the migrating VM by the user.
    * 
* * string description = 3; + * * @return The bytes for description. */ - com.google.protobuf.ByteString - getDescriptionBytes(); + com.google.protobuf.ByteString getDescriptionBytes(); /** + * + * *
    * The replication schedule policy.
    * 
* * .google.cloud.vmmigration.v1.SchedulePolicy policy = 8; + * * @return Whether the policy field is set. */ boolean hasPolicy(); /** + * + * *
    * The replication schedule policy.
    * 
* * .google.cloud.vmmigration.v1.SchedulePolicy policy = 8; + * * @return The policy. */ com.google.cloud.vmmigration.v1.SchedulePolicy getPolicy(); /** + * + * *
    * The replication schedule policy.
    * 
@@ -146,193 +205,275 @@ public interface MigratingVmOrBuilder extends com.google.cloud.vmmigration.v1.SchedulePolicyOrBuilder getPolicyOrBuilder(); /** + * + * *
    * Output only. The time the migrating VM was created (this refers to this
    * resource and not to the time it was installed in the source).
    * 
* - * .google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** + * + * *
    * Output only. The time the migrating VM was created (this refers to this
    * resource and not to the time it was installed in the source).
    * 
* - * .google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** + * + * *
    * Output only. The time the migrating VM was created (this refers to this
    * resource and not to the time it was installed in the source).
    * 
* - * .google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** + * + * *
    * Output only. The last time the migrating VM resource was updated.
    * 
* - * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** + * + * *
    * Output only. The last time the migrating VM resource was updated.
    * 
* - * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** + * + * *
    * Output only. The last time the migrating VM resource was updated.
    * 
* - * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** + * + * *
    * Output only. The most updated snapshot created time in the source that
    * finished replication.
    * 
* - * .google.cloud.vmmigration.v1.ReplicationSync last_sync = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.vmmigration.v1.ReplicationSync last_sync = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the lastSync field is set. */ boolean hasLastSync(); /** + * + * *
    * Output only. The most updated snapshot created time in the source that
    * finished replication.
    * 
* - * .google.cloud.vmmigration.v1.ReplicationSync last_sync = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.vmmigration.v1.ReplicationSync last_sync = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The lastSync. */ com.google.cloud.vmmigration.v1.ReplicationSync getLastSync(); /** + * + * *
    * Output only. The most updated snapshot created time in the source that
    * finished replication.
    * 
* - * .google.cloud.vmmigration.v1.ReplicationSync last_sync = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.vmmigration.v1.ReplicationSync last_sync = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.cloud.vmmigration.v1.ReplicationSyncOrBuilder getLastSyncOrBuilder(); /** + * + * *
    * Output only. State of the MigratingVm.
    * 
* - * .google.cloud.vmmigration.v1.MigratingVm.State state = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.vmmigration.v1.MigratingVm.State state = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** + * + * *
    * Output only. State of the MigratingVm.
    * 
* - * .google.cloud.vmmigration.v1.MigratingVm.State state = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.vmmigration.v1.MigratingVm.State state = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ com.google.cloud.vmmigration.v1.MigratingVm.State getState(); /** + * + * *
    * Output only. The last time the migrating VM state was updated.
    * 
* - * .google.protobuf.Timestamp state_time = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp state_time = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the stateTime field is set. */ boolean hasStateTime(); /** + * + * *
    * Output only. The last time the migrating VM state was updated.
    * 
* - * .google.protobuf.Timestamp state_time = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp state_time = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The stateTime. */ com.google.protobuf.Timestamp getStateTime(); /** + * + * *
    * Output only. The last time the migrating VM state was updated.
    * 
* - * .google.protobuf.Timestamp state_time = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp state_time = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getStateTimeOrBuilder(); /** + * + * *
    * Output only. The percentage progress of the current running replication
    * cycle.
    * 
* - * .google.cloud.vmmigration.v1.ReplicationCycle current_sync_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.vmmigration.v1.ReplicationCycle current_sync_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the currentSyncInfo field is set. */ boolean hasCurrentSyncInfo(); /** + * + * *
    * Output only. The percentage progress of the current running replication
    * cycle.
    * 
* - * .google.cloud.vmmigration.v1.ReplicationCycle current_sync_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.vmmigration.v1.ReplicationCycle current_sync_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The currentSyncInfo. */ com.google.cloud.vmmigration.v1.ReplicationCycle getCurrentSyncInfo(); /** + * + * *
    * Output only. The percentage progress of the current running replication
    * cycle.
    * 
* - * .google.cloud.vmmigration.v1.ReplicationCycle current_sync_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.vmmigration.v1.ReplicationCycle current_sync_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.cloud.vmmigration.v1.ReplicationCycleOrBuilder getCurrentSyncInfoOrBuilder(); /** + * + * *
    * Output only. The group this migrating vm is included in, if any. The group
    * is represented by the full path of the appropriate
    * [Group][google.cloud.vmmigration.v1.Group] resource.
    * 
* - * string group = 15 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string group = 15 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return The group. */ java.lang.String getGroup(); /** + * + * *
    * Output only. The group this migrating vm is included in, if any. The group
    * is represented by the full path of the appropriate
    * [Group][google.cloud.vmmigration.v1.Group] resource.
    * 
* - * string group = 15 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string group = 15 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for group. */ - com.google.protobuf.ByteString - getGroupBytes(); + com.google.protobuf.ByteString getGroupBytes(); /** + * + * *
    * The labels of the migrating VM.
    * 
@@ -341,30 +482,31 @@ public interface MigratingVmOrBuilder extends */ int getLabelsCount(); /** + * + * *
    * The labels of the migrating VM.
    * 
* * map<string, string> labels = 16; */ - boolean containsLabels( - java.lang.String key); - /** - * Use {@link #getLabelsMap()} instead. - */ + boolean containsLabels(java.lang.String key); + /** Use {@link #getLabelsMap()} instead. */ @java.lang.Deprecated - java.util.Map - getLabels(); + java.util.Map getLabels(); /** + * + * *
    * The labels of the migrating VM.
    * 
* * map<string, string> labels = 16; */ - java.util.Map - getLabelsMap(); + java.util.Map getLabelsMap(); /** + * + * *
    * The labels of the migrating VM.
    * 
@@ -373,22 +515,24 @@ boolean containsLabels( */ /* nullable */ -java.lang.String getLabelsOrDefault( + java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ -java.lang.String defaultValue); + java.lang.String defaultValue); /** + * + * *
    * The labels of the migrating VM.
    * 
* * map<string, string> labels = 16; */ - - java.lang.String getLabelsOrThrow( - java.lang.String key); + java.lang.String getLabelsOrThrow(java.lang.String key); /** + * + * *
    * Output only. The recent [clone jobs][google.cloud.vmmigration.v1.CloneJob]
    * performed on the migrating VM. This field holds the vm's last completed
@@ -397,11 +541,14 @@ java.lang.String getLabelsOrThrow(
    * the "view" parameter of the Get/List request.
    * 
* - * repeated .google.cloud.vmmigration.v1.CloneJob recent_clone_jobs = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.CloneJob recent_clone_jobs = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - java.util.List - getRecentCloneJobsList(); + java.util.List getRecentCloneJobsList(); /** + * + * *
    * Output only. The recent [clone jobs][google.cloud.vmmigration.v1.CloneJob]
    * performed on the migrating VM. This field holds the vm's last completed
@@ -410,10 +557,14 @@ java.lang.String getLabelsOrThrow(
    * the "view" parameter of the Get/List request.
    * 
* - * repeated .google.cloud.vmmigration.v1.CloneJob recent_clone_jobs = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.CloneJob recent_clone_jobs = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.cloud.vmmigration.v1.CloneJob getRecentCloneJobs(int index); /** + * + * *
    * Output only. The recent [clone jobs][google.cloud.vmmigration.v1.CloneJob]
    * performed on the migrating VM. This field holds the vm's last completed
@@ -422,10 +573,14 @@ java.lang.String getLabelsOrThrow(
    * the "view" parameter of the Get/List request.
    * 
* - * repeated .google.cloud.vmmigration.v1.CloneJob recent_clone_jobs = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.CloneJob recent_clone_jobs = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ int getRecentCloneJobsCount(); /** + * + * *
    * Output only. The recent [clone jobs][google.cloud.vmmigration.v1.CloneJob]
    * performed on the migrating VM. This field holds the vm's last completed
@@ -434,11 +589,15 @@ java.lang.String getLabelsOrThrow(
    * the "view" parameter of the Get/List request.
    * 
* - * repeated .google.cloud.vmmigration.v1.CloneJob recent_clone_jobs = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.CloneJob recent_clone_jobs = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - java.util.List + java.util.List getRecentCloneJobsOrBuilderList(); /** + * + * *
    * Output only. The recent [clone jobs][google.cloud.vmmigration.v1.CloneJob]
    * performed on the migrating VM. This field holds the vm's last completed
@@ -447,32 +606,41 @@ java.lang.String getLabelsOrThrow(
    * the "view" parameter of the Get/List request.
    * 
* - * repeated .google.cloud.vmmigration.v1.CloneJob recent_clone_jobs = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.CloneJob recent_clone_jobs = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - com.google.cloud.vmmigration.v1.CloneJobOrBuilder getRecentCloneJobsOrBuilder( - int index); + com.google.cloud.vmmigration.v1.CloneJobOrBuilder getRecentCloneJobsOrBuilder(int index); /** + * + * *
    * Output only. Provides details on the state of the Migrating VM in case of
    * an error in replication.
    * 
* * .google.rpc.Status error = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return Whether the error field is set. */ boolean hasError(); /** + * + * *
    * Output only. Provides details on the state of the Migrating VM in case of
    * an error in replication.
    * 
* * .google.rpc.Status error = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The error. */ com.google.rpc.Status getError(); /** + * + * *
    * Output only. Provides details on the state of the Migrating VM in case of
    * an error in replication.
@@ -483,6 +651,8 @@ com.google.cloud.vmmigration.v1.CloneJobOrBuilder getRecentCloneJobsOrBuilder(
   com.google.rpc.StatusOrBuilder getErrorOrBuilder();
 
   /**
+   *
+   *
    * 
    * Output only. The recent cutover jobs performed on the migrating VM.
    * This field holds the vm's last completed cutover job and the vm's
@@ -491,11 +661,14 @@ com.google.cloud.vmmigration.v1.CloneJobOrBuilder getRecentCloneJobsOrBuilder(
    * the "view" parameter of the Get/List request.
    * 
* - * repeated .google.cloud.vmmigration.v1.CutoverJob recent_cutover_jobs = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.CutoverJob recent_cutover_jobs = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - java.util.List - getRecentCutoverJobsList(); + java.util.List getRecentCutoverJobsList(); /** + * + * *
    * Output only. The recent cutover jobs performed on the migrating VM.
    * This field holds the vm's last completed cutover job and the vm's
@@ -504,10 +677,14 @@ com.google.cloud.vmmigration.v1.CloneJobOrBuilder getRecentCloneJobsOrBuilder(
    * the "view" parameter of the Get/List request.
    * 
* - * repeated .google.cloud.vmmigration.v1.CutoverJob recent_cutover_jobs = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.CutoverJob recent_cutover_jobs = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.cloud.vmmigration.v1.CutoverJob getRecentCutoverJobs(int index); /** + * + * *
    * Output only. The recent cutover jobs performed on the migrating VM.
    * This field holds the vm's last completed cutover job and the vm's
@@ -516,10 +693,14 @@ com.google.cloud.vmmigration.v1.CloneJobOrBuilder getRecentCloneJobsOrBuilder(
    * the "view" parameter of the Get/List request.
    * 
* - * repeated .google.cloud.vmmigration.v1.CutoverJob recent_cutover_jobs = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.CutoverJob recent_cutover_jobs = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ int getRecentCutoverJobsCount(); /** + * + * *
    * Output only. The recent cutover jobs performed on the migrating VM.
    * This field holds the vm's last completed cutover job and the vm's
@@ -528,11 +709,15 @@ com.google.cloud.vmmigration.v1.CloneJobOrBuilder getRecentCloneJobsOrBuilder(
    * the "view" parameter of the Get/List request.
    * 
* - * repeated .google.cloud.vmmigration.v1.CutoverJob recent_cutover_jobs = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.CutoverJob recent_cutover_jobs = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - java.util.List + java.util.List getRecentCutoverJobsOrBuilderList(); /** + * + * *
    * Output only. The recent cutover jobs performed on the migrating VM.
    * This field holds the vm's last completed cutover job and the vm's
@@ -541,10 +726,11 @@ com.google.cloud.vmmigration.v1.CloneJobOrBuilder getRecentCloneJobsOrBuilder(
    * the "view" parameter of the Get/List request.
    * 
* - * repeated .google.cloud.vmmigration.v1.CutoverJob recent_cutover_jobs = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.vmmigration.v1.CutoverJob recent_cutover_jobs = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - com.google.cloud.vmmigration.v1.CutoverJobOrBuilder getRecentCutoverJobsOrBuilder( - int index); + com.google.cloud.vmmigration.v1.CutoverJobOrBuilder getRecentCutoverJobsOrBuilder(int index); public com.google.cloud.vmmigration.v1.MigratingVm.TargetVmDefaultsCase getTargetVmDefaultsCase(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/MigratingVmView.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/MigratingVmView.java similarity index 68% rename from owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/MigratingVmView.java rename to proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/MigratingVmView.java index e706ed3..de7a90e 100644 --- a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/MigratingVmView.java +++ b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/MigratingVmView.java @@ -1,18 +1,36 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; /** + * + * *
  * Controls the level of details of a Migrating VM.
  * 
* * Protobuf enum {@code google.cloud.vmmigration.v1.MigratingVmView} */ -public enum MigratingVmView - implements com.google.protobuf.ProtocolMessageEnum { +public enum MigratingVmView implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
    * View is unspecified. The API will fallback to the default value.
    * 
@@ -21,6 +39,8 @@ public enum MigratingVmView */ MIGRATING_VM_VIEW_UNSPECIFIED(0), /** + * + * *
    * Get the migrating VM basic details.
    * The basic details do not include the recent clone jobs and recent cutover
@@ -31,6 +51,8 @@ public enum MigratingVmView
    */
   MIGRATING_VM_VIEW_BASIC(1),
   /**
+   *
+   *
    * 
    * Include everything.
    * 
@@ -42,6 +64,8 @@ public enum MigratingVmView ; /** + * + * *
    * View is unspecified. The API will fallback to the default value.
    * 
@@ -50,6 +74,8 @@ public enum MigratingVmView */ public static final int MIGRATING_VM_VIEW_UNSPECIFIED_VALUE = 0; /** + * + * *
    * Get the migrating VM basic details.
    * The basic details do not include the recent clone jobs and recent cutover
@@ -60,6 +86,8 @@ public enum MigratingVmView
    */
   public static final int MIGRATING_VM_VIEW_BASIC_VALUE = 1;
   /**
+   *
+   *
    * 
    * Include everything.
    * 
@@ -68,7 +96,6 @@ public enum MigratingVmView */ public static final int MIGRATING_VM_VIEW_FULL_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -93,49 +120,49 @@ public static MigratingVmView valueOf(int value) { */ public static MigratingVmView forNumber(int value) { switch (value) { - case 0: return MIGRATING_VM_VIEW_UNSPECIFIED; - case 1: return MIGRATING_VM_VIEW_BASIC; - case 2: return MIGRATING_VM_VIEW_FULL; - default: return null; + case 0: + return MIGRATING_VM_VIEW_UNSPECIFIED; + case 1: + return MIGRATING_VM_VIEW_BASIC; + case 2: + return MIGRATING_VM_VIEW_FULL; + 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< - MigratingVmView> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public MigratingVmView findValueByNumber(int number) { - return MigratingVmView.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 MigratingVmView findValueByNumber(int number) { + return MigratingVmView.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() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.cloud.vmmigration.v1.VmMigrationProto.getDescriptor().getEnumTypes().get(1); } private static final MigratingVmView[] VALUES = values(); - public static MigratingVmView valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static MigratingVmView 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; @@ -151,4 +178,3 @@ private MigratingVmView(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.vmmigration.v1.MigratingVmView) } - diff --git a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/MigrationError.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/MigrationError.java similarity index 65% rename from owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/MigrationError.java rename to proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/MigrationError.java index b757367..da2fc5c 100644 --- a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/MigrationError.java +++ b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/MigrationError.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; /** + * + * *
  * Represents migration resource error information that can be used with
  * google.rpc.Status message. MigrationError is used to present the user with
@@ -12,15 +29,16 @@
  *
  * Protobuf type {@code google.cloud.vmmigration.v1.MigrationError}
  */
-public final class MigrationError extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class MigrationError extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.vmmigration.v1.MigrationError)
     MigrationErrorOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use MigrationError.newBuilder() to construct.
   private MigrationError(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private MigrationError() {
     code_ = 0;
     helpLinks_ = java.util.Collections.emptyList();
@@ -28,16 +46,15 @@ private MigrationError() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new MigrationError();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private MigrationError(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -57,67 +74,75 @@ private MigrationError(
           case 0:
             done = true;
             break;
-          case 8: {
-            int rawValue = input.readEnum();
-
-            code_ = rawValue;
-            break;
-          }
-          case 18: {
-            com.google.rpc.LocalizedMessage.Builder subBuilder = null;
-            if (errorMessage_ != null) {
-              subBuilder = errorMessage_.toBuilder();
-            }
-            errorMessage_ = input.readMessage(com.google.rpc.LocalizedMessage.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(errorMessage_);
-              errorMessage_ = subBuilder.buildPartial();
-            }
+          case 8:
+            {
+              int rawValue = input.readEnum();
 
-            break;
-          }
-          case 26: {
-            com.google.rpc.LocalizedMessage.Builder subBuilder = null;
-            if (actionItem_ != null) {
-              subBuilder = actionItem_.toBuilder();
+              code_ = rawValue;
+              break;
             }
-            actionItem_ = input.readMessage(com.google.rpc.LocalizedMessage.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(actionItem_);
-              actionItem_ = subBuilder.buildPartial();
+          case 18:
+            {
+              com.google.rpc.LocalizedMessage.Builder subBuilder = null;
+              if (errorMessage_ != null) {
+                subBuilder = errorMessage_.toBuilder();
+              }
+              errorMessage_ =
+                  input.readMessage(com.google.rpc.LocalizedMessage.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(errorMessage_);
+                errorMessage_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-
-            break;
-          }
-          case 34: {
-            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-              helpLinks_ = new java.util.ArrayList();
-              mutable_bitField0_ |= 0x00000001;
+          case 26:
+            {
+              com.google.rpc.LocalizedMessage.Builder subBuilder = null;
+              if (actionItem_ != null) {
+                subBuilder = actionItem_.toBuilder();
+              }
+              actionItem_ =
+                  input.readMessage(com.google.rpc.LocalizedMessage.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(actionItem_);
+                actionItem_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-            helpLinks_.add(
-                input.readMessage(com.google.rpc.Help.Link.parser(), extensionRegistry));
-            break;
-          }
-          case 42: {
-            com.google.protobuf.Timestamp.Builder subBuilder = null;
-            if (errorTime_ != null) {
-              subBuilder = errorTime_.toBuilder();
+          case 34:
+            {
+              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                helpLinks_ = new java.util.ArrayList();
+                mutable_bitField0_ |= 0x00000001;
+              }
+              helpLinks_.add(
+                  input.readMessage(com.google.rpc.Help.Link.parser(), extensionRegistry));
+              break;
             }
-            errorTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(errorTime_);
-              errorTime_ = subBuilder.buildPartial();
+          case 42:
+            {
+              com.google.protobuf.Timestamp.Builder subBuilder = null;
+              if (errorTime_ != null) {
+                subBuilder = errorTime_.toBuilder();
+              }
+              errorTime_ =
+                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(errorTime_);
+                errorTime_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -125,8 +150,7 @@ private MigrationError(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       if (((mutable_bitField0_ & 0x00000001) != 0)) {
         helpLinks_ = java.util.Collections.unmodifiableList(helpLinks_);
@@ -135,29 +159,35 @@ private MigrationError(
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_MigrationError_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.vmmigration.v1.VmMigrationProto
+        .internal_static_google_cloud_vmmigration_v1_MigrationError_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_MigrationError_fieldAccessorTable
+    return com.google.cloud.vmmigration.v1.VmMigrationProto
+        .internal_static_google_cloud_vmmigration_v1_MigrationError_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.vmmigration.v1.MigrationError.class, com.google.cloud.vmmigration.v1.MigrationError.Builder.class);
+            com.google.cloud.vmmigration.v1.MigrationError.class,
+            com.google.cloud.vmmigration.v1.MigrationError.Builder.class);
   }
 
   /**
+   *
+   *
    * 
    * Represents resource error codes.
    * 
* * Protobuf enum {@code google.cloud.vmmigration.v1.MigrationError.ErrorCode} */ - public enum ErrorCode - implements com.google.protobuf.ProtocolMessageEnum { + public enum ErrorCode implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Default value. This value is not used.
      * 
@@ -166,6 +196,8 @@ public enum ErrorCode */ ERROR_CODE_UNSPECIFIED(0), /** + * + * *
      * Migrate for Compute encountered an unknown error.
      * 
@@ -174,6 +206,8 @@ public enum ErrorCode */ UNKNOWN_ERROR(1), /** + * + * *
      * Migrate for Compute encountered an error while validating replication
      * source health.
@@ -183,6 +217,8 @@ public enum ErrorCode
      */
     SOURCE_VALIDATION_ERROR(2),
     /**
+     *
+     *
      * 
      * Migrate for Compute encountered an error during source data operation.
      * 
@@ -191,6 +227,8 @@ public enum ErrorCode */ SOURCE_REPLICATION_ERROR(3), /** + * + * *
      * Migrate for Compute encountered an error during target data operation.
      * 
@@ -199,6 +237,8 @@ public enum ErrorCode */ TARGET_REPLICATION_ERROR(4), /** + * + * *
      * Migrate for Compute encountered an error during OS adaptation.
      * 
@@ -207,6 +247,8 @@ public enum ErrorCode */ OS_ADAPTATION_ERROR(5), /** + * + * *
      * Migrate for Compute encountered an error in clone operation.
      * 
@@ -215,6 +257,8 @@ public enum ErrorCode */ CLONE_ERROR(6), /** + * + * *
      * Migrate for Compute encountered an error in cutover operation.
      * 
@@ -223,6 +267,8 @@ public enum ErrorCode */ CUTOVER_ERROR(7), /** + * + * *
      * Migrate for Compute encountered an error during utilization report
      * creation.
@@ -232,6 +278,8 @@ public enum ErrorCode
      */
     UTILIZATION_REPORT_ERROR(8),
     /**
+     *
+     *
      * 
      * Migrate for Compute encountered an error during appliance upgrade.
      * 
@@ -243,6 +291,8 @@ public enum ErrorCode ; /** + * + * *
      * Default value. This value is not used.
      * 
@@ -251,6 +301,8 @@ public enum ErrorCode */ public static final int ERROR_CODE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Migrate for Compute encountered an unknown error.
      * 
@@ -259,6 +311,8 @@ public enum ErrorCode */ public static final int UNKNOWN_ERROR_VALUE = 1; /** + * + * *
      * Migrate for Compute encountered an error while validating replication
      * source health.
@@ -268,6 +322,8 @@ public enum ErrorCode
      */
     public static final int SOURCE_VALIDATION_ERROR_VALUE = 2;
     /**
+     *
+     *
      * 
      * Migrate for Compute encountered an error during source data operation.
      * 
@@ -276,6 +332,8 @@ public enum ErrorCode */ public static final int SOURCE_REPLICATION_ERROR_VALUE = 3; /** + * + * *
      * Migrate for Compute encountered an error during target data operation.
      * 
@@ -284,6 +342,8 @@ public enum ErrorCode */ public static final int TARGET_REPLICATION_ERROR_VALUE = 4; /** + * + * *
      * Migrate for Compute encountered an error during OS adaptation.
      * 
@@ -292,6 +352,8 @@ public enum ErrorCode */ public static final int OS_ADAPTATION_ERROR_VALUE = 5; /** + * + * *
      * Migrate for Compute encountered an error in clone operation.
      * 
@@ -300,6 +362,8 @@ public enum ErrorCode */ public static final int CLONE_ERROR_VALUE = 6; /** + * + * *
      * Migrate for Compute encountered an error in cutover operation.
      * 
@@ -308,6 +372,8 @@ public enum ErrorCode */ public static final int CUTOVER_ERROR_VALUE = 7; /** + * + * *
      * Migrate for Compute encountered an error during utilization report
      * creation.
@@ -317,6 +383,8 @@ public enum ErrorCode
      */
     public static final int UTILIZATION_REPORT_ERROR_VALUE = 8;
     /**
+     *
+     *
      * 
      * Migrate for Compute encountered an error during appliance upgrade.
      * 
@@ -325,7 +393,6 @@ public enum ErrorCode */ public static final int APPLIANCE_UPGRADE_ERROR_VALUE = 9; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -350,56 +417,63 @@ public static ErrorCode valueOf(int value) { */ public static ErrorCode forNumber(int value) { switch (value) { - case 0: return ERROR_CODE_UNSPECIFIED; - case 1: return UNKNOWN_ERROR; - case 2: return SOURCE_VALIDATION_ERROR; - case 3: return SOURCE_REPLICATION_ERROR; - case 4: return TARGET_REPLICATION_ERROR; - case 5: return OS_ADAPTATION_ERROR; - case 6: return CLONE_ERROR; - case 7: return CUTOVER_ERROR; - case 8: return UTILIZATION_REPORT_ERROR; - case 9: return APPLIANCE_UPGRADE_ERROR; - default: return null; + case 0: + return ERROR_CODE_UNSPECIFIED; + case 1: + return UNKNOWN_ERROR; + case 2: + return SOURCE_VALIDATION_ERROR; + case 3: + return SOURCE_REPLICATION_ERROR; + case 4: + return TARGET_REPLICATION_ERROR; + case 5: + return OS_ADAPTATION_ERROR; + case 6: + return CLONE_ERROR; + case 7: + return CUTOVER_ERROR; + case 8: + return UTILIZATION_REPORT_ERROR; + case 9: + return APPLIANCE_UPGRADE_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< - ErrorCode> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public ErrorCode findValueByNumber(int number) { - return ErrorCode.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 ErrorCode findValueByNumber(int number) { + return ErrorCode.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() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.cloud.vmmigration.v1.MigrationError.getDescriptor().getEnumTypes().get(0); } private static final ErrorCode[] VALUES = values(); - public static ErrorCode valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static ErrorCode 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; @@ -419,38 +493,58 @@ private ErrorCode(int value) { public static final int CODE_FIELD_NUMBER = 1; private int code_; /** + * + * *
    * Output only. The error code.
    * 
* - * .google.cloud.vmmigration.v1.MigrationError.ErrorCode code = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.vmmigration.v1.MigrationError.ErrorCode code = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for code. */ - @java.lang.Override public int getCodeValue() { + @java.lang.Override + public int getCodeValue() { return code_; } /** + * + * *
    * Output only. The error code.
    * 
* - * .google.cloud.vmmigration.v1.MigrationError.ErrorCode code = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.vmmigration.v1.MigrationError.ErrorCode code = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The code. */ - @java.lang.Override public com.google.cloud.vmmigration.v1.MigrationError.ErrorCode getCode() { + @java.lang.Override + public com.google.cloud.vmmigration.v1.MigrationError.ErrorCode getCode() { @SuppressWarnings("deprecation") - com.google.cloud.vmmigration.v1.MigrationError.ErrorCode result = com.google.cloud.vmmigration.v1.MigrationError.ErrorCode.valueOf(code_); - return result == null ? com.google.cloud.vmmigration.v1.MigrationError.ErrorCode.UNRECOGNIZED : result; + com.google.cloud.vmmigration.v1.MigrationError.ErrorCode result = + com.google.cloud.vmmigration.v1.MigrationError.ErrorCode.valueOf(code_); + return result == null + ? com.google.cloud.vmmigration.v1.MigrationError.ErrorCode.UNRECOGNIZED + : result; } public static final int ERROR_MESSAGE_FIELD_NUMBER = 2; private com.google.rpc.LocalizedMessage errorMessage_; /** + * + * *
    * Output only. The localized error message.
    * 
* - * .google.rpc.LocalizedMessage error_message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.rpc.LocalizedMessage error_message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the errorMessage field is set. */ @java.lang.Override @@ -458,23 +552,34 @@ public boolean hasErrorMessage() { return errorMessage_ != null; } /** + * + * *
    * Output only. The localized error message.
    * 
* - * .google.rpc.LocalizedMessage error_message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.rpc.LocalizedMessage error_message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The errorMessage. */ @java.lang.Override public com.google.rpc.LocalizedMessage getErrorMessage() { - return errorMessage_ == null ? com.google.rpc.LocalizedMessage.getDefaultInstance() : errorMessage_; + return errorMessage_ == null + ? com.google.rpc.LocalizedMessage.getDefaultInstance() + : errorMessage_; } /** + * + * *
    * Output only. The localized error message.
    * 
* - * .google.rpc.LocalizedMessage error_message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.rpc.LocalizedMessage error_message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.rpc.LocalizedMessageOrBuilder getErrorMessageOrBuilder() { @@ -484,11 +589,16 @@ public com.google.rpc.LocalizedMessageOrBuilder getErrorMessageOrBuilder() { public static final int ACTION_ITEM_FIELD_NUMBER = 3; private com.google.rpc.LocalizedMessage actionItem_; /** + * + * *
    * Output only. Suggested action for solving the error.
    * 
* - * .google.rpc.LocalizedMessage action_item = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.rpc.LocalizedMessage action_item = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the actionItem field is set. */ @java.lang.Override @@ -496,11 +606,16 @@ public boolean hasActionItem() { return actionItem_ != null; } /** + * + * *
    * Output only. Suggested action for solving the error.
    * 
* - * .google.rpc.LocalizedMessage action_item = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.rpc.LocalizedMessage action_item = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The actionItem. */ @java.lang.Override @@ -508,11 +623,15 @@ public com.google.rpc.LocalizedMessage getActionItem() { return actionItem_ == null ? com.google.rpc.LocalizedMessage.getDefaultInstance() : actionItem_; } /** + * + * *
    * Output only. Suggested action for solving the error.
    * 
* - * .google.rpc.LocalizedMessage action_item = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.rpc.LocalizedMessage action_item = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.rpc.LocalizedMessageOrBuilder getActionItemOrBuilder() { @@ -522,76 +641,98 @@ public com.google.rpc.LocalizedMessageOrBuilder getActionItemOrBuilder() { public static final int HELP_LINKS_FIELD_NUMBER = 4; private java.util.List helpLinks_; /** + * + * *
    * Output only. URL(s) pointing to additional information on handling the
    * current error.
    * 
* - * repeated .google.rpc.Help.Link help_links = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.rpc.Help.Link help_links = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public java.util.List getHelpLinksList() { return helpLinks_; } /** + * + * *
    * Output only. URL(s) pointing to additional information on handling the
    * current error.
    * 
* - * repeated .google.rpc.Help.Link help_links = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.rpc.Help.Link help_links = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public java.util.List - getHelpLinksOrBuilderList() { + public java.util.List getHelpLinksOrBuilderList() { return helpLinks_; } /** + * + * *
    * Output only. URL(s) pointing to additional information on handling the
    * current error.
    * 
* - * repeated .google.rpc.Help.Link help_links = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.rpc.Help.Link help_links = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public int getHelpLinksCount() { return helpLinks_.size(); } /** + * + * *
    * Output only. URL(s) pointing to additional information on handling the
    * current error.
    * 
* - * repeated .google.rpc.Help.Link help_links = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.rpc.Help.Link help_links = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.rpc.Help.Link getHelpLinks(int index) { return helpLinks_.get(index); } /** + * + * *
    * Output only. URL(s) pointing to additional information on handling the
    * current error.
    * 
* - * repeated .google.rpc.Help.Link help_links = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.rpc.Help.Link help_links = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public com.google.rpc.Help.LinkOrBuilder getHelpLinksOrBuilder( - int index) { + public com.google.rpc.Help.LinkOrBuilder getHelpLinksOrBuilder(int index) { return helpLinks_.get(index); } public static final int ERROR_TIME_FIELD_NUMBER = 5; private com.google.protobuf.Timestamp errorTime_; /** + * + * *
    * Output only. The time the error occurred.
    * 
* - * .google.protobuf.Timestamp error_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp error_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the errorTime field is set. */ @java.lang.Override @@ -599,11 +740,15 @@ public boolean hasErrorTime() { return errorTime_ != null; } /** + * + * *
    * Output only. The time the error occurred.
    * 
* - * .google.protobuf.Timestamp error_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp error_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The errorTime. */ @java.lang.Override @@ -611,11 +756,14 @@ public com.google.protobuf.Timestamp getErrorTime() { return errorTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : errorTime_; } /** + * + * *
    * Output only. The time the error occurred.
    * 
* - * .google.protobuf.Timestamp error_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp error_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getErrorTimeOrBuilder() { @@ -623,6 +771,7 @@ public com.google.protobuf.TimestampOrBuilder getErrorTimeOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -634,9 +783,10 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (code_ != com.google.cloud.vmmigration.v1.MigrationError.ErrorCode.ERROR_CODE_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (code_ + != com.google.cloud.vmmigration.v1.MigrationError.ErrorCode.ERROR_CODE_UNSPECIFIED + .getNumber()) { output.writeEnum(1, code_); } if (errorMessage_ != null) { @@ -660,25 +810,22 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (code_ != com.google.cloud.vmmigration.v1.MigrationError.ErrorCode.ERROR_CODE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, code_); + if (code_ + != com.google.cloud.vmmigration.v1.MigrationError.ErrorCode.ERROR_CODE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, code_); } if (errorMessage_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getErrorMessage()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getErrorMessage()); } if (actionItem_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getActionItem()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getActionItem()); } for (int i = 0; i < helpLinks_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, helpLinks_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, helpLinks_.get(i)); } if (errorTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getErrorTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getErrorTime()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -688,30 +835,27 @@ 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.vmmigration.v1.MigrationError)) { return super.equals(obj); } - com.google.cloud.vmmigration.v1.MigrationError other = (com.google.cloud.vmmigration.v1.MigrationError) obj; + com.google.cloud.vmmigration.v1.MigrationError other = + (com.google.cloud.vmmigration.v1.MigrationError) obj; if (code_ != other.code_) return false; if (hasErrorMessage() != other.hasErrorMessage()) return false; if (hasErrorMessage()) { - if (!getErrorMessage() - .equals(other.getErrorMessage())) return false; + if (!getErrorMessage().equals(other.getErrorMessage())) return false; } if (hasActionItem() != other.hasActionItem()) return false; if (hasActionItem()) { - if (!getActionItem() - .equals(other.getActionItem())) return false; + if (!getActionItem().equals(other.getActionItem())) return false; } - if (!getHelpLinksList() - .equals(other.getHelpLinksList())) return false; + if (!getHelpLinksList().equals(other.getHelpLinksList())) return false; if (hasErrorTime() != other.hasErrorTime()) return false; if (hasErrorTime()) { - if (!getErrorTime() - .equals(other.getErrorTime())) return false; + if (!getErrorTime().equals(other.getErrorTime())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -747,97 +891,104 @@ public int hashCode() { return hash; } - public static com.google.cloud.vmmigration.v1.MigrationError parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.vmmigration.v1.MigrationError parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.vmmigration.v1.MigrationError 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.vmmigration.v1.MigrationError parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.vmmigration.v1.MigrationError 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.vmmigration.v1.MigrationError parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.vmmigration.v1.MigrationError 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.vmmigration.v1.MigrationError parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.vmmigration.v1.MigrationError 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.vmmigration.v1.MigrationError parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.vmmigration.v1.MigrationError parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.vmmigration.v1.MigrationError 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.vmmigration.v1.MigrationError 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.vmmigration.v1.MigrationError 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.vmmigration.v1.MigrationError 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 migration resource error information that can be used with
    * google.rpc.Status message. MigrationError is used to present the user with
@@ -846,21 +997,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.vmmigration.v1.MigrationError}
    */
-  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.vmmigration.v1.MigrationError)
       com.google.cloud.vmmigration.v1.MigrationErrorOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_MigrationError_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.vmmigration.v1.VmMigrationProto
+          .internal_static_google_cloud_vmmigration_v1_MigrationError_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_MigrationError_fieldAccessorTable
+      return com.google.cloud.vmmigration.v1.VmMigrationProto
+          .internal_static_google_cloud_vmmigration_v1_MigrationError_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.vmmigration.v1.MigrationError.class, com.google.cloud.vmmigration.v1.MigrationError.Builder.class);
+              com.google.cloud.vmmigration.v1.MigrationError.class,
+              com.google.cloud.vmmigration.v1.MigrationError.Builder.class);
     }
 
     // Construct using com.google.cloud.vmmigration.v1.MigrationError.newBuilder()
@@ -868,17 +1021,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) {
         getHelpLinksFieldBuilder();
       }
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -912,9 +1065,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_MigrationError_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.vmmigration.v1.VmMigrationProto
+          .internal_static_google_cloud_vmmigration_v1_MigrationError_descriptor;
     }
 
     @java.lang.Override
@@ -933,7 +1086,8 @@ public com.google.cloud.vmmigration.v1.MigrationError build() {
 
     @java.lang.Override
     public com.google.cloud.vmmigration.v1.MigrationError buildPartial() {
-      com.google.cloud.vmmigration.v1.MigrationError result = new com.google.cloud.vmmigration.v1.MigrationError(this);
+      com.google.cloud.vmmigration.v1.MigrationError result =
+          new com.google.cloud.vmmigration.v1.MigrationError(this);
       int from_bitField0_ = bitField0_;
       result.code_ = code_;
       if (errorMessageBuilder_ == null) {
@@ -968,38 +1122,39 @@ public com.google.cloud.vmmigration.v1.MigrationError buildPartial() {
     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.vmmigration.v1.MigrationError) {
-        return mergeFrom((com.google.cloud.vmmigration.v1.MigrationError)other);
+        return mergeFrom((com.google.cloud.vmmigration.v1.MigrationError) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1035,9 +1190,10 @@ public Builder mergeFrom(com.google.cloud.vmmigration.v1.MigrationError other) {
             helpLinksBuilder_ = null;
             helpLinks_ = other.helpLinks_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            helpLinksBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getHelpLinksFieldBuilder() : null;
+            helpLinksBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getHelpLinksFieldBuilder()
+                    : null;
           } else {
             helpLinksBuilder_.addAllMessages(other.helpLinks_);
           }
@@ -1074,55 +1230,80 @@ public Builder mergeFrom(
       }
       return this;
     }
+
     private int bitField0_;
 
     private int code_ = 0;
     /**
+     *
+     *
      * 
      * Output only. The error code.
      * 
* - * .google.cloud.vmmigration.v1.MigrationError.ErrorCode code = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.vmmigration.v1.MigrationError.ErrorCode code = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for code. */ - @java.lang.Override public int getCodeValue() { + @java.lang.Override + public int getCodeValue() { return code_; } /** + * + * *
      * Output only. The error code.
      * 
* - * .google.cloud.vmmigration.v1.MigrationError.ErrorCode code = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.vmmigration.v1.MigrationError.ErrorCode code = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The enum numeric value on the wire for code to set. * @return This builder for chaining. */ public Builder setCodeValue(int value) { - + code_ = value; onChanged(); return this; } /** + * + * *
      * Output only. The error code.
      * 
* - * .google.cloud.vmmigration.v1.MigrationError.ErrorCode code = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.vmmigration.v1.MigrationError.ErrorCode code = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The code. */ @java.lang.Override public com.google.cloud.vmmigration.v1.MigrationError.ErrorCode getCode() { @SuppressWarnings("deprecation") - com.google.cloud.vmmigration.v1.MigrationError.ErrorCode result = com.google.cloud.vmmigration.v1.MigrationError.ErrorCode.valueOf(code_); - return result == null ? com.google.cloud.vmmigration.v1.MigrationError.ErrorCode.UNRECOGNIZED : result; + com.google.cloud.vmmigration.v1.MigrationError.ErrorCode result = + com.google.cloud.vmmigration.v1.MigrationError.ErrorCode.valueOf(code_); + return result == null + ? com.google.cloud.vmmigration.v1.MigrationError.ErrorCode.UNRECOGNIZED + : result; } /** + * + * *
      * Output only. The error code.
      * 
* - * .google.cloud.vmmigration.v1.MigrationError.ErrorCode code = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.vmmigration.v1.MigrationError.ErrorCode code = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The code to set. * @return This builder for chaining. */ @@ -1130,21 +1311,26 @@ public Builder setCode(com.google.cloud.vmmigration.v1.MigrationError.ErrorCode if (value == null) { throw new NullPointerException(); } - + code_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Output only. The error code.
      * 
* - * .google.cloud.vmmigration.v1.MigrationError.ErrorCode code = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.vmmigration.v1.MigrationError.ErrorCode code = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearCode() { - + code_ = 0; onChanged(); return this; @@ -1152,39 +1338,58 @@ public Builder clearCode() { private com.google.rpc.LocalizedMessage errorMessage_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.LocalizedMessage, com.google.rpc.LocalizedMessage.Builder, com.google.rpc.LocalizedMessageOrBuilder> errorMessageBuilder_; + com.google.rpc.LocalizedMessage, + com.google.rpc.LocalizedMessage.Builder, + com.google.rpc.LocalizedMessageOrBuilder> + errorMessageBuilder_; /** + * + * *
      * Output only. The localized error message.
      * 
* - * .google.rpc.LocalizedMessage error_message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.rpc.LocalizedMessage error_message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the errorMessage field is set. */ public boolean hasErrorMessage() { return errorMessageBuilder_ != null || errorMessage_ != null; } /** + * + * *
      * Output only. The localized error message.
      * 
* - * .google.rpc.LocalizedMessage error_message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.rpc.LocalizedMessage error_message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The errorMessage. */ public com.google.rpc.LocalizedMessage getErrorMessage() { if (errorMessageBuilder_ == null) { - return errorMessage_ == null ? com.google.rpc.LocalizedMessage.getDefaultInstance() : errorMessage_; + return errorMessage_ == null + ? com.google.rpc.LocalizedMessage.getDefaultInstance() + : errorMessage_; } else { return errorMessageBuilder_.getMessage(); } } /** + * + * *
      * Output only. The localized error message.
      * 
* - * .google.rpc.LocalizedMessage error_message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.rpc.LocalizedMessage error_message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setErrorMessage(com.google.rpc.LocalizedMessage value) { if (errorMessageBuilder_ == null) { @@ -1200,14 +1405,17 @@ public Builder setErrorMessage(com.google.rpc.LocalizedMessage value) { return this; } /** + * + * *
      * Output only. The localized error message.
      * 
* - * .google.rpc.LocalizedMessage error_message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.rpc.LocalizedMessage error_message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setErrorMessage( - com.google.rpc.LocalizedMessage.Builder builderForValue) { + public Builder setErrorMessage(com.google.rpc.LocalizedMessage.Builder builderForValue) { if (errorMessageBuilder_ == null) { errorMessage_ = builderForValue.build(); onChanged(); @@ -1218,17 +1426,23 @@ public Builder setErrorMessage( return this; } /** + * + * *
      * Output only. The localized error message.
      * 
* - * .google.rpc.LocalizedMessage error_message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.rpc.LocalizedMessage error_message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeErrorMessage(com.google.rpc.LocalizedMessage value) { if (errorMessageBuilder_ == null) { if (errorMessage_ != null) { errorMessage_ = - com.google.rpc.LocalizedMessage.newBuilder(errorMessage_).mergeFrom(value).buildPartial(); + com.google.rpc.LocalizedMessage.newBuilder(errorMessage_) + .mergeFrom(value) + .buildPartial(); } else { errorMessage_ = value; } @@ -1240,11 +1454,15 @@ public Builder mergeErrorMessage(com.google.rpc.LocalizedMessage value) { return this; } /** + * + * *
      * Output only. The localized error message.
      * 
* - * .google.rpc.LocalizedMessage error_message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.rpc.LocalizedMessage error_message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearErrorMessage() { if (errorMessageBuilder_ == null) { @@ -1258,48 +1476,64 @@ public Builder clearErrorMessage() { return this; } /** + * + * *
      * Output only. The localized error message.
      * 
* - * .google.rpc.LocalizedMessage error_message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.rpc.LocalizedMessage error_message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.rpc.LocalizedMessage.Builder getErrorMessageBuilder() { - + onChanged(); return getErrorMessageFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The localized error message.
      * 
* - * .google.rpc.LocalizedMessage error_message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.rpc.LocalizedMessage error_message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.rpc.LocalizedMessageOrBuilder getErrorMessageOrBuilder() { if (errorMessageBuilder_ != null) { return errorMessageBuilder_.getMessageOrBuilder(); } else { - return errorMessage_ == null ? - com.google.rpc.LocalizedMessage.getDefaultInstance() : errorMessage_; + return errorMessage_ == null + ? com.google.rpc.LocalizedMessage.getDefaultInstance() + : errorMessage_; } } /** + * + * *
      * Output only. The localized error message.
      * 
* - * .google.rpc.LocalizedMessage error_message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.rpc.LocalizedMessage error_message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.LocalizedMessage, com.google.rpc.LocalizedMessage.Builder, com.google.rpc.LocalizedMessageOrBuilder> + com.google.rpc.LocalizedMessage, + com.google.rpc.LocalizedMessage.Builder, + com.google.rpc.LocalizedMessageOrBuilder> getErrorMessageFieldBuilder() { if (errorMessageBuilder_ == null) { - errorMessageBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.LocalizedMessage, com.google.rpc.LocalizedMessage.Builder, com.google.rpc.LocalizedMessageOrBuilder>( - getErrorMessage(), - getParentForChildren(), - isClean()); + errorMessageBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.rpc.LocalizedMessage, + com.google.rpc.LocalizedMessage.Builder, + com.google.rpc.LocalizedMessageOrBuilder>( + getErrorMessage(), getParentForChildren(), isClean()); errorMessage_ = null; } return errorMessageBuilder_; @@ -1307,39 +1541,58 @@ public com.google.rpc.LocalizedMessageOrBuilder getErrorMessageOrBuilder() { private com.google.rpc.LocalizedMessage actionItem_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.LocalizedMessage, com.google.rpc.LocalizedMessage.Builder, com.google.rpc.LocalizedMessageOrBuilder> actionItemBuilder_; + com.google.rpc.LocalizedMessage, + com.google.rpc.LocalizedMessage.Builder, + com.google.rpc.LocalizedMessageOrBuilder> + actionItemBuilder_; /** + * + * *
      * Output only. Suggested action for solving the error.
      * 
* - * .google.rpc.LocalizedMessage action_item = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.rpc.LocalizedMessage action_item = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the actionItem field is set. */ public boolean hasActionItem() { return actionItemBuilder_ != null || actionItem_ != null; } /** + * + * *
      * Output only. Suggested action for solving the error.
      * 
* - * .google.rpc.LocalizedMessage action_item = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.rpc.LocalizedMessage action_item = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The actionItem. */ public com.google.rpc.LocalizedMessage getActionItem() { if (actionItemBuilder_ == null) { - return actionItem_ == null ? com.google.rpc.LocalizedMessage.getDefaultInstance() : actionItem_; + return actionItem_ == null + ? com.google.rpc.LocalizedMessage.getDefaultInstance() + : actionItem_; } else { return actionItemBuilder_.getMessage(); } } /** + * + * *
      * Output only. Suggested action for solving the error.
      * 
* - * .google.rpc.LocalizedMessage action_item = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.rpc.LocalizedMessage action_item = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setActionItem(com.google.rpc.LocalizedMessage value) { if (actionItemBuilder_ == null) { @@ -1355,14 +1608,17 @@ public Builder setActionItem(com.google.rpc.LocalizedMessage value) { return this; } /** + * + * *
      * Output only. Suggested action for solving the error.
      * 
* - * .google.rpc.LocalizedMessage action_item = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.rpc.LocalizedMessage action_item = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setActionItem( - com.google.rpc.LocalizedMessage.Builder builderForValue) { + public Builder setActionItem(com.google.rpc.LocalizedMessage.Builder builderForValue) { if (actionItemBuilder_ == null) { actionItem_ = builderForValue.build(); onChanged(); @@ -1373,17 +1629,23 @@ public Builder setActionItem( return this; } /** + * + * *
      * Output only. Suggested action for solving the error.
      * 
* - * .google.rpc.LocalizedMessage action_item = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.rpc.LocalizedMessage action_item = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeActionItem(com.google.rpc.LocalizedMessage value) { if (actionItemBuilder_ == null) { if (actionItem_ != null) { actionItem_ = - com.google.rpc.LocalizedMessage.newBuilder(actionItem_).mergeFrom(value).buildPartial(); + com.google.rpc.LocalizedMessage.newBuilder(actionItem_) + .mergeFrom(value) + .buildPartial(); } else { actionItem_ = value; } @@ -1395,11 +1657,15 @@ public Builder mergeActionItem(com.google.rpc.LocalizedMessage value) { return this; } /** + * + * *
      * Output only. Suggested action for solving the error.
      * 
* - * .google.rpc.LocalizedMessage action_item = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.rpc.LocalizedMessage action_item = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearActionItem() { if (actionItemBuilder_ == null) { @@ -1413,72 +1679,95 @@ public Builder clearActionItem() { return this; } /** + * + * *
      * Output only. Suggested action for solving the error.
      * 
* - * .google.rpc.LocalizedMessage action_item = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.rpc.LocalizedMessage action_item = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.rpc.LocalizedMessage.Builder getActionItemBuilder() { - + onChanged(); return getActionItemFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Suggested action for solving the error.
      * 
* - * .google.rpc.LocalizedMessage action_item = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.rpc.LocalizedMessage action_item = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.rpc.LocalizedMessageOrBuilder getActionItemOrBuilder() { if (actionItemBuilder_ != null) { return actionItemBuilder_.getMessageOrBuilder(); } else { - return actionItem_ == null ? - com.google.rpc.LocalizedMessage.getDefaultInstance() : actionItem_; + return actionItem_ == null + ? com.google.rpc.LocalizedMessage.getDefaultInstance() + : actionItem_; } } /** + * + * *
      * Output only. Suggested action for solving the error.
      * 
* - * .google.rpc.LocalizedMessage action_item = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.rpc.LocalizedMessage action_item = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.LocalizedMessage, com.google.rpc.LocalizedMessage.Builder, com.google.rpc.LocalizedMessageOrBuilder> + com.google.rpc.LocalizedMessage, + com.google.rpc.LocalizedMessage.Builder, + com.google.rpc.LocalizedMessageOrBuilder> getActionItemFieldBuilder() { if (actionItemBuilder_ == null) { - actionItemBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.LocalizedMessage, com.google.rpc.LocalizedMessage.Builder, com.google.rpc.LocalizedMessageOrBuilder>( - getActionItem(), - getParentForChildren(), - isClean()); + actionItemBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.rpc.LocalizedMessage, + com.google.rpc.LocalizedMessage.Builder, + com.google.rpc.LocalizedMessageOrBuilder>( + getActionItem(), getParentForChildren(), isClean()); actionItem_ = null; } return actionItemBuilder_; } - private java.util.List helpLinks_ = - java.util.Collections.emptyList(); + private java.util.List helpLinks_ = java.util.Collections.emptyList(); + private void ensureHelpLinksIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { helpLinks_ = new java.util.ArrayList(helpLinks_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.rpc.Help.Link, com.google.rpc.Help.Link.Builder, com.google.rpc.Help.LinkOrBuilder> helpLinksBuilder_; + com.google.rpc.Help.Link, + com.google.rpc.Help.Link.Builder, + com.google.rpc.Help.LinkOrBuilder> + helpLinksBuilder_; /** + * + * *
      * Output only. URL(s) pointing to additional information on handling the
      * current error.
      * 
* - * repeated .google.rpc.Help.Link help_links = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.rpc.Help.Link help_links = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public java.util.List getHelpLinksList() { if (helpLinksBuilder_ == null) { @@ -1488,12 +1777,16 @@ public java.util.List getHelpLinksList() { } } /** + * + * *
      * Output only. URL(s) pointing to additional information on handling the
      * current error.
      * 
* - * repeated .google.rpc.Help.Link help_links = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.rpc.Help.Link help_links = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public int getHelpLinksCount() { if (helpLinksBuilder_ == null) { @@ -1503,12 +1796,16 @@ public int getHelpLinksCount() { } } /** + * + * *
      * Output only. URL(s) pointing to additional information on handling the
      * current error.
      * 
* - * repeated .google.rpc.Help.Link help_links = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.rpc.Help.Link help_links = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.rpc.Help.Link getHelpLinks(int index) { if (helpLinksBuilder_ == null) { @@ -1518,15 +1815,18 @@ public com.google.rpc.Help.Link getHelpLinks(int index) { } } /** + * + * *
      * Output only. URL(s) pointing to additional information on handling the
      * current error.
      * 
* - * repeated .google.rpc.Help.Link help_links = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.rpc.Help.Link help_links = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setHelpLinks( - int index, com.google.rpc.Help.Link value) { + public Builder setHelpLinks(int index, com.google.rpc.Help.Link value) { if (helpLinksBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1540,15 +1840,18 @@ public Builder setHelpLinks( return this; } /** + * + * *
      * Output only. URL(s) pointing to additional information on handling the
      * current error.
      * 
* - * repeated .google.rpc.Help.Link help_links = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.rpc.Help.Link help_links = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setHelpLinks( - int index, com.google.rpc.Help.Link.Builder builderForValue) { + public Builder setHelpLinks(int index, com.google.rpc.Help.Link.Builder builderForValue) { if (helpLinksBuilder_ == null) { ensureHelpLinksIsMutable(); helpLinks_.set(index, builderForValue.build()); @@ -1559,12 +1862,16 @@ public Builder setHelpLinks( return this; } /** + * + * *
      * Output only. URL(s) pointing to additional information on handling the
      * current error.
      * 
* - * repeated .google.rpc.Help.Link help_links = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.rpc.Help.Link help_links = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addHelpLinks(com.google.rpc.Help.Link value) { if (helpLinksBuilder_ == null) { @@ -1580,15 +1887,18 @@ public Builder addHelpLinks(com.google.rpc.Help.Link value) { return this; } /** + * + * *
      * Output only. URL(s) pointing to additional information on handling the
      * current error.
      * 
* - * repeated .google.rpc.Help.Link help_links = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.rpc.Help.Link help_links = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder addHelpLinks( - int index, com.google.rpc.Help.Link value) { + public Builder addHelpLinks(int index, com.google.rpc.Help.Link value) { if (helpLinksBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1602,15 +1912,18 @@ public Builder addHelpLinks( return this; } /** + * + * *
      * Output only. URL(s) pointing to additional information on handling the
      * current error.
      * 
* - * repeated .google.rpc.Help.Link help_links = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.rpc.Help.Link help_links = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder addHelpLinks( - com.google.rpc.Help.Link.Builder builderForValue) { + public Builder addHelpLinks(com.google.rpc.Help.Link.Builder builderForValue) { if (helpLinksBuilder_ == null) { ensureHelpLinksIsMutable(); helpLinks_.add(builderForValue.build()); @@ -1621,15 +1934,18 @@ public Builder addHelpLinks( return this; } /** + * + * *
      * Output only. URL(s) pointing to additional information on handling the
      * current error.
      * 
* - * repeated .google.rpc.Help.Link help_links = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.rpc.Help.Link help_links = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder addHelpLinks( - int index, com.google.rpc.Help.Link.Builder builderForValue) { + public Builder addHelpLinks(int index, com.google.rpc.Help.Link.Builder builderForValue) { if (helpLinksBuilder_ == null) { ensureHelpLinksIsMutable(); helpLinks_.add(index, builderForValue.build()); @@ -1640,19 +1956,21 @@ public Builder addHelpLinks( return this; } /** + * + * *
      * Output only. URL(s) pointing to additional information on handling the
      * current error.
      * 
* - * repeated .google.rpc.Help.Link help_links = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.rpc.Help.Link help_links = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder addAllHelpLinks( - java.lang.Iterable values) { + public Builder addAllHelpLinks(java.lang.Iterable values) { if (helpLinksBuilder_ == null) { ensureHelpLinksIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, helpLinks_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, helpLinks_); onChanged(); } else { helpLinksBuilder_.addAllMessages(values); @@ -1660,12 +1978,16 @@ public Builder addAllHelpLinks( return this; } /** + * + * *
      * Output only. URL(s) pointing to additional information on handling the
      * current error.
      * 
* - * repeated .google.rpc.Help.Link help_links = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.rpc.Help.Link help_links = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearHelpLinks() { if (helpLinksBuilder_ == null) { @@ -1678,12 +2000,16 @@ public Builder clearHelpLinks() { return this; } /** + * + * *
      * Output only. URL(s) pointing to additional information on handling the
      * current error.
      * 
* - * repeated .google.rpc.Help.Link help_links = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.rpc.Help.Link help_links = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder removeHelpLinks(int index) { if (helpLinksBuilder_ == null) { @@ -1696,42 +2022,52 @@ public Builder removeHelpLinks(int index) { return this; } /** + * + * *
      * Output only. URL(s) pointing to additional information on handling the
      * current error.
      * 
* - * repeated .google.rpc.Help.Link help_links = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.rpc.Help.Link help_links = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.rpc.Help.Link.Builder getHelpLinksBuilder( - int index) { + public com.google.rpc.Help.Link.Builder getHelpLinksBuilder(int index) { return getHelpLinksFieldBuilder().getBuilder(index); } /** + * + * *
      * Output only. URL(s) pointing to additional information on handling the
      * current error.
      * 
* - * repeated .google.rpc.Help.Link help_links = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.rpc.Help.Link help_links = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.rpc.Help.LinkOrBuilder getHelpLinksOrBuilder( - int index) { + public com.google.rpc.Help.LinkOrBuilder getHelpLinksOrBuilder(int index) { if (helpLinksBuilder_ == null) { - return helpLinks_.get(index); } else { + return helpLinks_.get(index); + } else { return helpLinksBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Output only. URL(s) pointing to additional information on handling the
      * current error.
      * 
* - * repeated .google.rpc.Help.Link help_links = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.rpc.Help.Link help_links = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public java.util.List - getHelpLinksOrBuilderList() { + public java.util.List getHelpLinksOrBuilderList() { if (helpLinksBuilder_ != null) { return helpLinksBuilder_.getMessageOrBuilderList(); } else { @@ -1739,52 +2075,64 @@ public com.google.rpc.Help.LinkOrBuilder getHelpLinksOrBuilder( } } /** + * + * *
      * Output only. URL(s) pointing to additional information on handling the
      * current error.
      * 
* - * repeated .google.rpc.Help.Link help_links = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.rpc.Help.Link help_links = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.rpc.Help.Link.Builder addHelpLinksBuilder() { - return getHelpLinksFieldBuilder().addBuilder( - com.google.rpc.Help.Link.getDefaultInstance()); + return getHelpLinksFieldBuilder().addBuilder(com.google.rpc.Help.Link.getDefaultInstance()); } /** + * + * *
      * Output only. URL(s) pointing to additional information on handling the
      * current error.
      * 
* - * repeated .google.rpc.Help.Link help_links = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.rpc.Help.Link help_links = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.rpc.Help.Link.Builder addHelpLinksBuilder( - int index) { - return getHelpLinksFieldBuilder().addBuilder( - index, com.google.rpc.Help.Link.getDefaultInstance()); + public com.google.rpc.Help.Link.Builder addHelpLinksBuilder(int index) { + return getHelpLinksFieldBuilder() + .addBuilder(index, com.google.rpc.Help.Link.getDefaultInstance()); } /** + * + * *
      * Output only. URL(s) pointing to additional information on handling the
      * current error.
      * 
* - * repeated .google.rpc.Help.Link help_links = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.rpc.Help.Link help_links = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public java.util.List - getHelpLinksBuilderList() { + public java.util.List getHelpLinksBuilderList() { return getHelpLinksFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.rpc.Help.Link, com.google.rpc.Help.Link.Builder, com.google.rpc.Help.LinkOrBuilder> + com.google.rpc.Help.Link, + com.google.rpc.Help.Link.Builder, + com.google.rpc.Help.LinkOrBuilder> getHelpLinksFieldBuilder() { if (helpLinksBuilder_ == null) { - helpLinksBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.rpc.Help.Link, com.google.rpc.Help.Link.Builder, com.google.rpc.Help.LinkOrBuilder>( - helpLinks_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + helpLinksBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.rpc.Help.Link, + com.google.rpc.Help.Link.Builder, + com.google.rpc.Help.LinkOrBuilder>( + helpLinks_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); helpLinks_ = null; } return helpLinksBuilder_; @@ -1792,24 +2140,35 @@ public com.google.rpc.Help.Link.Builder addHelpLinksBuilder( private com.google.protobuf.Timestamp errorTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> errorTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + errorTimeBuilder_; /** + * + * *
      * Output only. The time the error occurred.
      * 
* - * .google.protobuf.Timestamp error_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp error_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the errorTime field is set. */ public boolean hasErrorTime() { return errorTimeBuilder_ != null || errorTime_ != null; } /** + * + * *
      * Output only. The time the error occurred.
      * 
* - * .google.protobuf.Timestamp error_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp error_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The errorTime. */ public com.google.protobuf.Timestamp getErrorTime() { @@ -1820,11 +2179,14 @@ public com.google.protobuf.Timestamp getErrorTime() { } } /** + * + * *
      * Output only. The time the error occurred.
      * 
* - * .google.protobuf.Timestamp error_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp error_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setErrorTime(com.google.protobuf.Timestamp value) { if (errorTimeBuilder_ == null) { @@ -1840,14 +2202,16 @@ public Builder setErrorTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time the error occurred.
      * 
* - * .google.protobuf.Timestamp error_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp error_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setErrorTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setErrorTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (errorTimeBuilder_ == null) { errorTime_ = builderForValue.build(); onChanged(); @@ -1858,17 +2222,20 @@ public Builder setErrorTime( return this; } /** + * + * *
      * Output only. The time the error occurred.
      * 
* - * .google.protobuf.Timestamp error_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp error_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeErrorTime(com.google.protobuf.Timestamp value) { if (errorTimeBuilder_ == null) { if (errorTime_ != null) { errorTime_ = - com.google.protobuf.Timestamp.newBuilder(errorTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(errorTime_).mergeFrom(value).buildPartial(); } else { errorTime_ = value; } @@ -1880,11 +2247,14 @@ public Builder mergeErrorTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time the error occurred.
      * 
* - * .google.protobuf.Timestamp error_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp error_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearErrorTime() { if (errorTimeBuilder_ == null) { @@ -1898,55 +2268,66 @@ public Builder clearErrorTime() { return this; } /** + * + * *
      * Output only. The time the error occurred.
      * 
* - * .google.protobuf.Timestamp error_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp error_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getErrorTimeBuilder() { - + onChanged(); return getErrorTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The time the error occurred.
      * 
* - * .google.protobuf.Timestamp error_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp error_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getErrorTimeOrBuilder() { if (errorTimeBuilder_ != null) { return errorTimeBuilder_.getMessageOrBuilder(); } else { - return errorTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : errorTime_; + return errorTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : errorTime_; } } /** + * + * *
      * Output only. The time the error occurred.
      * 
* - * .google.protobuf.Timestamp error_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp error_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> getErrorTimeFieldBuilder() { if (errorTimeBuilder_ == null) { - errorTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getErrorTime(), - getParentForChildren(), - isClean()); + errorTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getErrorTime(), getParentForChildren(), isClean()); errorTime_ = null; } return errorTimeBuilder_; } + @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); } @@ -1956,12 +2337,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.vmmigration.v1.MigrationError) } // @@protoc_insertion_point(class_scope:google.cloud.vmmigration.v1.MigrationError) private static final com.google.cloud.vmmigration.v1.MigrationError DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.vmmigration.v1.MigrationError(); } @@ -1970,16 +2351,16 @@ public static com.google.cloud.vmmigration.v1.MigrationError getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public MigrationError parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new MigrationError(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MigrationError parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new MigrationError(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1994,6 +2375,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.vmmigration.v1.MigrationError getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/MigrationErrorOrBuilder.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/MigrationErrorOrBuilder.java similarity index 51% rename from owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/MigrationErrorOrBuilder.java rename to proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/MigrationErrorOrBuilder.java index 78d7236..75e9d6b 100644 --- a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/MigrationErrorOrBuilder.java +++ b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/MigrationErrorOrBuilder.java @@ -1,158 +1,240 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; -public interface MigrationErrorOrBuilder extends +public interface MigrationErrorOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.MigrationError) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. The error code.
    * 
* - * .google.cloud.vmmigration.v1.MigrationError.ErrorCode code = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.vmmigration.v1.MigrationError.ErrorCode code = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for code. */ int getCodeValue(); /** + * + * *
    * Output only. The error code.
    * 
* - * .google.cloud.vmmigration.v1.MigrationError.ErrorCode code = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.vmmigration.v1.MigrationError.ErrorCode code = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The code. */ com.google.cloud.vmmigration.v1.MigrationError.ErrorCode getCode(); /** + * + * *
    * Output only. The localized error message.
    * 
* - * .google.rpc.LocalizedMessage error_message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.rpc.LocalizedMessage error_message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the errorMessage field is set. */ boolean hasErrorMessage(); /** + * + * *
    * Output only. The localized error message.
    * 
* - * .google.rpc.LocalizedMessage error_message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.rpc.LocalizedMessage error_message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The errorMessage. */ com.google.rpc.LocalizedMessage getErrorMessage(); /** + * + * *
    * Output only. The localized error message.
    * 
* - * .google.rpc.LocalizedMessage error_message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.rpc.LocalizedMessage error_message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.rpc.LocalizedMessageOrBuilder getErrorMessageOrBuilder(); /** + * + * *
    * Output only. Suggested action for solving the error.
    * 
* - * .google.rpc.LocalizedMessage action_item = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.rpc.LocalizedMessage action_item = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the actionItem field is set. */ boolean hasActionItem(); /** + * + * *
    * Output only. Suggested action for solving the error.
    * 
* - * .google.rpc.LocalizedMessage action_item = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.rpc.LocalizedMessage action_item = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The actionItem. */ com.google.rpc.LocalizedMessage getActionItem(); /** + * + * *
    * Output only. Suggested action for solving the error.
    * 
* - * .google.rpc.LocalizedMessage action_item = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.rpc.LocalizedMessage action_item = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.rpc.LocalizedMessageOrBuilder getActionItemOrBuilder(); /** + * + * *
    * Output only. URL(s) pointing to additional information on handling the
    * current error.
    * 
* - * repeated .google.rpc.Help.Link help_links = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.rpc.Help.Link help_links = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - java.util.List - getHelpLinksList(); + java.util.List getHelpLinksList(); /** + * + * *
    * Output only. URL(s) pointing to additional information on handling the
    * current error.
    * 
* - * repeated .google.rpc.Help.Link help_links = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.rpc.Help.Link help_links = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.rpc.Help.Link getHelpLinks(int index); /** + * + * *
    * Output only. URL(s) pointing to additional information on handling the
    * current error.
    * 
* - * repeated .google.rpc.Help.Link help_links = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.rpc.Help.Link help_links = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ int getHelpLinksCount(); /** + * + * *
    * Output only. URL(s) pointing to additional information on handling the
    * current error.
    * 
* - * repeated .google.rpc.Help.Link help_links = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.rpc.Help.Link help_links = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - java.util.List - getHelpLinksOrBuilderList(); + java.util.List getHelpLinksOrBuilderList(); /** + * + * *
    * Output only. URL(s) pointing to additional information on handling the
    * current error.
    * 
* - * repeated .google.rpc.Help.Link help_links = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.rpc.Help.Link help_links = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - com.google.rpc.Help.LinkOrBuilder getHelpLinksOrBuilder( - int index); + com.google.rpc.Help.LinkOrBuilder getHelpLinksOrBuilder(int index); /** + * + * *
    * Output only. The time the error occurred.
    * 
* - * .google.protobuf.Timestamp error_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp error_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the errorTime field is set. */ boolean hasErrorTime(); /** + * + * *
    * Output only. The time the error occurred.
    * 
* - * .google.protobuf.Timestamp error_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp error_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The errorTime. */ com.google.protobuf.Timestamp getErrorTime(); /** + * + * *
    * Output only. The time the error occurred.
    * 
* - * .google.protobuf.Timestamp error_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp error_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getErrorTimeOrBuilder(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/NetworkInterface.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/NetworkInterface.java similarity index 71% rename from owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/NetworkInterface.java rename to proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/NetworkInterface.java index e944915..d77f07e 100644 --- a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/NetworkInterface.java +++ b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/NetworkInterface.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; /** + * + * *
  * NetworkInterface represents a NIC of a VM.
  * 
* * Protobuf type {@code google.cloud.vmmigration.v1.NetworkInterface} */ -public final class NetworkInterface extends - com.google.protobuf.GeneratedMessageV3 implements +public final class NetworkInterface extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.vmmigration.v1.NetworkInterface) NetworkInterfaceOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use NetworkInterface.newBuilder() to construct. private NetworkInterface(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private NetworkInterface() { network_ = ""; subnetwork_ = ""; @@ -28,16 +46,15 @@ private NetworkInterface() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new NetworkInterface(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private NetworkInterface( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -56,37 +73,41 @@ private NetworkInterface( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - network_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + network_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - subnetwork_ = s; - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + subnetwork_ = s; + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - internalIp_ = s; - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); + internalIp_ = s; + break; + } + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); - externalIp_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + externalIp_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -94,34 +115,39 @@ private NetworkInterface( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_NetworkInterface_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_NetworkInterface_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_NetworkInterface_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_NetworkInterface_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.NetworkInterface.class, com.google.cloud.vmmigration.v1.NetworkInterface.Builder.class); + com.google.cloud.vmmigration.v1.NetworkInterface.class, + com.google.cloud.vmmigration.v1.NetworkInterface.Builder.class); } public static final int NETWORK_FIELD_NUMBER = 1; private volatile java.lang.Object network_; /** + * + * *
    * The network to connect the NIC to.
    * 
* * string network = 1; + * * @return The network. */ @java.lang.Override @@ -130,29 +156,29 @@ public java.lang.String getNetwork() { 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(); network_ = s; return s; } } /** + * + * *
    * The network to connect the NIC to.
    * 
* * string network = 1; + * * @return The bytes for network. */ @java.lang.Override - public com.google.protobuf.ByteString - getNetworkBytes() { + public com.google.protobuf.ByteString getNetworkBytes() { java.lang.Object ref = network_; 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); network_ = b; return b; } else { @@ -163,11 +189,14 @@ public java.lang.String getNetwork() { public static final int SUBNETWORK_FIELD_NUMBER = 2; private volatile java.lang.Object subnetwork_; /** + * + * *
    * The subnetwork to connect the NIC to.
    * 
* * string subnetwork = 2; + * * @return The subnetwork. */ @java.lang.Override @@ -176,29 +205,29 @@ public java.lang.String getSubnetwork() { 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(); subnetwork_ = s; return s; } } /** + * + * *
    * The subnetwork to connect the NIC to.
    * 
* * string subnetwork = 2; + * * @return The bytes for subnetwork. */ @java.lang.Override - public com.google.protobuf.ByteString - getSubnetworkBytes() { + public com.google.protobuf.ByteString getSubnetworkBytes() { java.lang.Object ref = subnetwork_; 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); subnetwork_ = b; return b; } else { @@ -209,6 +238,8 @@ public java.lang.String getSubnetwork() { public static final int INTERNAL_IP_FIELD_NUMBER = 3; private volatile java.lang.Object internalIp_; /** + * + * *
    * The internal IP to define in the NIC.
    * The formats accepted are: `ephemeral` \ ipv4 address \ a named address
@@ -216,6 +247,7 @@ public java.lang.String getSubnetwork() {
    * 
* * string internal_ip = 3; + * * @return The internalIp. */ @java.lang.Override @@ -224,14 +256,15 @@ public java.lang.String getInternalIp() { 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(); internalIp_ = s; return s; } } /** + * + * *
    * The internal IP to define in the NIC.
    * The formats accepted are: `ephemeral` \ ipv4 address \ a named address
@@ -239,16 +272,15 @@ public java.lang.String getInternalIp() {
    * 
* * string internal_ip = 3; + * * @return The bytes for internalIp. */ @java.lang.Override - public com.google.protobuf.ByteString - getInternalIpBytes() { + public com.google.protobuf.ByteString getInternalIpBytes() { java.lang.Object ref = internalIp_; 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); internalIp_ = b; return b; } else { @@ -259,11 +291,14 @@ public java.lang.String getInternalIp() { public static final int EXTERNAL_IP_FIELD_NUMBER = 4; private volatile java.lang.Object externalIp_; /** + * + * *
    * The external IP to define in the NIC.
    * 
* * string external_ip = 4; + * * @return The externalIp. */ @java.lang.Override @@ -272,29 +307,29 @@ public java.lang.String getExternalIp() { 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(); externalIp_ = s; return s; } } /** + * + * *
    * The external IP to define in the NIC.
    * 
* * string external_ip = 4; + * * @return The bytes for externalIp. */ @java.lang.Override - public com.google.protobuf.ByteString - getExternalIpBytes() { + public com.google.protobuf.ByteString getExternalIpBytes() { java.lang.Object ref = externalIp_; 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); externalIp_ = b; return b; } else { @@ -303,6 +338,7 @@ public java.lang.String getExternalIp() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -314,8 +350,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(network_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, network_); } @@ -357,21 +392,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.vmmigration.v1.NetworkInterface)) { return super.equals(obj); } - com.google.cloud.vmmigration.v1.NetworkInterface other = (com.google.cloud.vmmigration.v1.NetworkInterface) obj; - - if (!getNetwork() - .equals(other.getNetwork())) return false; - if (!getSubnetwork() - .equals(other.getSubnetwork())) return false; - if (!getInternalIp() - .equals(other.getInternalIp())) return false; - if (!getExternalIp() - .equals(other.getExternalIp())) return false; + com.google.cloud.vmmigration.v1.NetworkInterface other = + (com.google.cloud.vmmigration.v1.NetworkInterface) obj; + + if (!getNetwork().equals(other.getNetwork())) return false; + if (!getSubnetwork().equals(other.getSubnetwork())) return false; + if (!getInternalIp().equals(other.getInternalIp())) return false; + if (!getExternalIp().equals(other.getExternalIp())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -396,118 +428,127 @@ public int hashCode() { return hash; } - public static com.google.cloud.vmmigration.v1.NetworkInterface parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.vmmigration.v1.NetworkInterface parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.vmmigration.v1.NetworkInterface 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.vmmigration.v1.NetworkInterface parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.vmmigration.v1.NetworkInterface 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.vmmigration.v1.NetworkInterface parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.vmmigration.v1.NetworkInterface 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.vmmigration.v1.NetworkInterface parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.vmmigration.v1.NetworkInterface parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.vmmigration.v1.NetworkInterface 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.vmmigration.v1.NetworkInterface parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.vmmigration.v1.NetworkInterface parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.vmmigration.v1.NetworkInterface 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.vmmigration.v1.NetworkInterface 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.vmmigration.v1.NetworkInterface 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.vmmigration.v1.NetworkInterface 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; } /** + * + * *
    * NetworkInterface represents a NIC of a VM.
    * 
* * Protobuf type {@code google.cloud.vmmigration.v1.NetworkInterface} */ - 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.vmmigration.v1.NetworkInterface) com.google.cloud.vmmigration.v1.NetworkInterfaceOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_NetworkInterface_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_NetworkInterface_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_NetworkInterface_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_NetworkInterface_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.NetworkInterface.class, com.google.cloud.vmmigration.v1.NetworkInterface.Builder.class); + com.google.cloud.vmmigration.v1.NetworkInterface.class, + com.google.cloud.vmmigration.v1.NetworkInterface.Builder.class); } // Construct using com.google.cloud.vmmigration.v1.NetworkInterface.newBuilder() @@ -515,16 +556,15 @@ 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) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -540,9 +580,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_NetworkInterface_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_NetworkInterface_descriptor; } @java.lang.Override @@ -561,7 +601,8 @@ public com.google.cloud.vmmigration.v1.NetworkInterface build() { @java.lang.Override public com.google.cloud.vmmigration.v1.NetworkInterface buildPartial() { - com.google.cloud.vmmigration.v1.NetworkInterface result = new com.google.cloud.vmmigration.v1.NetworkInterface(this); + com.google.cloud.vmmigration.v1.NetworkInterface result = + new com.google.cloud.vmmigration.v1.NetworkInterface(this); result.network_ = network_; result.subnetwork_ = subnetwork_; result.internalIp_ = internalIp_; @@ -574,38 +615,39 @@ public com.google.cloud.vmmigration.v1.NetworkInterface buildPartial() { 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.vmmigration.v1.NetworkInterface) { - return mergeFrom((com.google.cloud.vmmigration.v1.NetworkInterface)other); + return mergeFrom((com.google.cloud.vmmigration.v1.NetworkInterface) other); } else { super.mergeFrom(other); return this; @@ -613,7 +655,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.vmmigration.v1.NetworkInterface other) { - if (other == com.google.cloud.vmmigration.v1.NetworkInterface.getDefaultInstance()) return this; + if (other == com.google.cloud.vmmigration.v1.NetworkInterface.getDefaultInstance()) + return this; if (!other.getNetwork().isEmpty()) { network_ = other.network_; onChanged(); @@ -661,18 +704,20 @@ public Builder mergeFrom( private java.lang.Object network_ = ""; /** + * + * *
      * The network to connect the NIC to.
      * 
* * string network = 1; + * * @return The network. */ public java.lang.String getNetwork() { java.lang.Object ref = network_; 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(); network_ = s; return s; @@ -681,20 +726,21 @@ public java.lang.String getNetwork() { } } /** + * + * *
      * The network to connect the NIC to.
      * 
* * string network = 1; + * * @return The bytes for network. */ - public com.google.protobuf.ByteString - getNetworkBytes() { + public com.google.protobuf.ByteString getNetworkBytes() { java.lang.Object ref = network_; 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); network_ = b; return b; } else { @@ -702,54 +748,61 @@ public java.lang.String getNetwork() { } } /** + * + * *
      * The network to connect the NIC to.
      * 
* * string network = 1; + * * @param value The network to set. * @return This builder for chaining. */ - public Builder setNetwork( - java.lang.String value) { + public Builder setNetwork(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + network_ = value; onChanged(); return this; } /** + * + * *
      * The network to connect the NIC to.
      * 
* * string network = 1; + * * @return This builder for chaining. */ public Builder clearNetwork() { - + network_ = getDefaultInstance().getNetwork(); onChanged(); return this; } /** + * + * *
      * The network to connect the NIC to.
      * 
* * string network = 1; + * * @param value The bytes for network to set. * @return This builder for chaining. */ - public Builder setNetworkBytes( - com.google.protobuf.ByteString value) { + public Builder setNetworkBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + network_ = value; onChanged(); return this; @@ -757,18 +810,20 @@ public Builder setNetworkBytes( private java.lang.Object subnetwork_ = ""; /** + * + * *
      * The subnetwork to connect the NIC to.
      * 
* * string subnetwork = 2; + * * @return The subnetwork. */ public java.lang.String getSubnetwork() { java.lang.Object ref = subnetwork_; 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(); subnetwork_ = s; return s; @@ -777,20 +832,21 @@ public java.lang.String getSubnetwork() { } } /** + * + * *
      * The subnetwork to connect the NIC to.
      * 
* * string subnetwork = 2; + * * @return The bytes for subnetwork. */ - public com.google.protobuf.ByteString - getSubnetworkBytes() { + public com.google.protobuf.ByteString getSubnetworkBytes() { java.lang.Object ref = subnetwork_; 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); subnetwork_ = b; return b; } else { @@ -798,54 +854,61 @@ public java.lang.String getSubnetwork() { } } /** + * + * *
      * The subnetwork to connect the NIC to.
      * 
* * string subnetwork = 2; + * * @param value The subnetwork to set. * @return This builder for chaining. */ - public Builder setSubnetwork( - java.lang.String value) { + public Builder setSubnetwork(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + subnetwork_ = value; onChanged(); return this; } /** + * + * *
      * The subnetwork to connect the NIC to.
      * 
* * string subnetwork = 2; + * * @return This builder for chaining. */ public Builder clearSubnetwork() { - + subnetwork_ = getDefaultInstance().getSubnetwork(); onChanged(); return this; } /** + * + * *
      * The subnetwork to connect the NIC to.
      * 
* * string subnetwork = 2; + * * @param value The bytes for subnetwork to set. * @return This builder for chaining. */ - public Builder setSubnetworkBytes( - com.google.protobuf.ByteString value) { + public Builder setSubnetworkBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + subnetwork_ = value; onChanged(); return this; @@ -853,6 +916,8 @@ public Builder setSubnetworkBytes( private java.lang.Object internalIp_ = ""; /** + * + * *
      * The internal IP to define in the NIC.
      * The formats accepted are: `ephemeral` \ ipv4 address \ a named address
@@ -860,13 +925,13 @@ public Builder setSubnetworkBytes(
      * 
* * string internal_ip = 3; + * * @return The internalIp. */ public java.lang.String getInternalIp() { java.lang.Object ref = internalIp_; 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(); internalIp_ = s; return s; @@ -875,6 +940,8 @@ public java.lang.String getInternalIp() { } } /** + * + * *
      * The internal IP to define in the NIC.
      * The formats accepted are: `ephemeral` \ ipv4 address \ a named address
@@ -882,15 +949,14 @@ public java.lang.String getInternalIp() {
      * 
* * string internal_ip = 3; + * * @return The bytes for internalIp. */ - public com.google.protobuf.ByteString - getInternalIpBytes() { + public com.google.protobuf.ByteString getInternalIpBytes() { java.lang.Object ref = internalIp_; 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); internalIp_ = b; return b; } else { @@ -898,6 +964,8 @@ public java.lang.String getInternalIp() { } } /** + * + * *
      * The internal IP to define in the NIC.
      * The formats accepted are: `ephemeral` \ ipv4 address \ a named address
@@ -905,20 +973,22 @@ public java.lang.String getInternalIp() {
      * 
* * string internal_ip = 3; + * * @param value The internalIp to set. * @return This builder for chaining. */ - public Builder setInternalIp( - java.lang.String value) { + public Builder setInternalIp(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + internalIp_ = value; onChanged(); return this; } /** + * + * *
      * The internal IP to define in the NIC.
      * The formats accepted are: `ephemeral` \ ipv4 address \ a named address
@@ -926,15 +996,18 @@ public Builder setInternalIp(
      * 
* * string internal_ip = 3; + * * @return This builder for chaining. */ public Builder clearInternalIp() { - + internalIp_ = getDefaultInstance().getInternalIp(); onChanged(); return this; } /** + * + * *
      * The internal IP to define in the NIC.
      * The formats accepted are: `ephemeral` \ ipv4 address \ a named address
@@ -942,16 +1015,16 @@ public Builder clearInternalIp() {
      * 
* * string internal_ip = 3; + * * @param value The bytes for internalIp to set. * @return This builder for chaining. */ - public Builder setInternalIpBytes( - com.google.protobuf.ByteString value) { + public Builder setInternalIpBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + internalIp_ = value; onChanged(); return this; @@ -959,18 +1032,20 @@ public Builder setInternalIpBytes( private java.lang.Object externalIp_ = ""; /** + * + * *
      * The external IP to define in the NIC.
      * 
* * string external_ip = 4; + * * @return The externalIp. */ public java.lang.String getExternalIp() { java.lang.Object ref = externalIp_; 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(); externalIp_ = s; return s; @@ -979,20 +1054,21 @@ public java.lang.String getExternalIp() { } } /** + * + * *
      * The external IP to define in the NIC.
      * 
* * string external_ip = 4; + * * @return The bytes for externalIp. */ - public com.google.protobuf.ByteString - getExternalIpBytes() { + public com.google.protobuf.ByteString getExternalIpBytes() { java.lang.Object ref = externalIp_; 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); externalIp_ = b; return b; } else { @@ -1000,61 +1076,68 @@ public java.lang.String getExternalIp() { } } /** + * + * *
      * The external IP to define in the NIC.
      * 
* * string external_ip = 4; + * * @param value The externalIp to set. * @return This builder for chaining. */ - public Builder setExternalIp( - java.lang.String value) { + public Builder setExternalIp(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + externalIp_ = value; onChanged(); return this; } /** + * + * *
      * The external IP to define in the NIC.
      * 
* * string external_ip = 4; + * * @return This builder for chaining. */ public Builder clearExternalIp() { - + externalIp_ = getDefaultInstance().getExternalIp(); onChanged(); return this; } /** + * + * *
      * The external IP to define in the NIC.
      * 
* * string external_ip = 4; + * * @param value The bytes for externalIp to set. * @return This builder for chaining. */ - public Builder setExternalIpBytes( - com.google.protobuf.ByteString value) { + public Builder setExternalIpBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + externalIp_ = 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); } @@ -1064,12 +1147,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.vmmigration.v1.NetworkInterface) } // @@protoc_insertion_point(class_scope:google.cloud.vmmigration.v1.NetworkInterface) private static final com.google.cloud.vmmigration.v1.NetworkInterface DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.vmmigration.v1.NetworkInterface(); } @@ -1078,16 +1161,16 @@ public static com.google.cloud.vmmigration.v1.NetworkInterface getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public NetworkInterface parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new NetworkInterface(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public NetworkInterface parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new NetworkInterface(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1102,6 +1185,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.vmmigration.v1.NetworkInterface getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/NetworkInterfaceOrBuilder.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/NetworkInterfaceOrBuilder.java similarity index 65% rename from owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/NetworkInterfaceOrBuilder.java rename to proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/NetworkInterfaceOrBuilder.java index b854d07..05f919f 100644 --- a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/NetworkInterfaceOrBuilder.java +++ b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/NetworkInterfaceOrBuilder.java @@ -1,53 +1,81 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; -public interface NetworkInterfaceOrBuilder extends +public interface NetworkInterfaceOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.NetworkInterface) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The network to connect the NIC to.
    * 
* * string network = 1; + * * @return The network. */ java.lang.String getNetwork(); /** + * + * *
    * The network to connect the NIC to.
    * 
* * string network = 1; + * * @return The bytes for network. */ - com.google.protobuf.ByteString - getNetworkBytes(); + com.google.protobuf.ByteString getNetworkBytes(); /** + * + * *
    * The subnetwork to connect the NIC to.
    * 
* * string subnetwork = 2; + * * @return The subnetwork. */ java.lang.String getSubnetwork(); /** + * + * *
    * The subnetwork to connect the NIC to.
    * 
* * string subnetwork = 2; + * * @return The bytes for subnetwork. */ - com.google.protobuf.ByteString - getSubnetworkBytes(); + com.google.protobuf.ByteString getSubnetworkBytes(); /** + * + * *
    * The internal IP to define in the NIC.
    * The formats accepted are: `ephemeral` \ ipv4 address \ a named address
@@ -55,10 +83,13 @@ public interface NetworkInterfaceOrBuilder extends
    * 
* * string internal_ip = 3; + * * @return The internalIp. */ java.lang.String getInternalIp(); /** + * + * *
    * The internal IP to define in the NIC.
    * The formats accepted are: `ephemeral` \ ipv4 address \ a named address
@@ -66,28 +97,33 @@ public interface NetworkInterfaceOrBuilder extends
    * 
* * string internal_ip = 3; + * * @return The bytes for internalIp. */ - com.google.protobuf.ByteString - getInternalIpBytes(); + com.google.protobuf.ByteString getInternalIpBytes(); /** + * + * *
    * The external IP to define in the NIC.
    * 
* * string external_ip = 4; + * * @return The externalIp. */ java.lang.String getExternalIp(); /** + * + * *
    * The external IP to define in the NIC.
    * 
* * string external_ip = 4; + * * @return The bytes for externalIp. */ - com.google.protobuf.ByteString - getExternalIpBytes(); + com.google.protobuf.ByteString getExternalIpBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/OperationMetadata.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/OperationMetadata.java similarity index 71% rename from owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/OperationMetadata.java rename to proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/OperationMetadata.java index 48dda74..789cf24 100644 --- a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/OperationMetadata.java +++ b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/OperationMetadata.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; /** + * + * *
  * Represents the metadata of the long-running operation.
  * 
* * Protobuf type {@code google.cloud.vmmigration.v1.OperationMetadata} */ -public final class OperationMetadata extends - com.google.protobuf.GeneratedMessageV3 implements +public final class OperationMetadata extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.vmmigration.v1.OperationMetadata) OperationMetadataOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use OperationMetadata.newBuilder() to construct. private OperationMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private OperationMetadata() { target_ = ""; verb_ = ""; @@ -28,16 +46,15 @@ private OperationMetadata() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new OperationMetadata(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private OperationMetadata( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -56,68 +73,76 @@ private OperationMetadata( case 0: done = true; break; - case 10: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (createTime_ != null) { - subBuilder = createTime_.toBuilder(); + case 10: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); + } + createTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); + } + + break; } - createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(createTime_); - createTime_ = subBuilder.buildPartial(); + case 18: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (endTime_ != null) { + subBuilder = endTime_.toBuilder(); + } + endTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(endTime_); + endTime_ = subBuilder.buildPartial(); + } + + break; } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - break; - } - case 18: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (endTime_ != null) { - subBuilder = endTime_.toBuilder(); + target_ = s; + break; } - endTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(endTime_); - endTime_ = subBuilder.buildPartial(); - } - - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - - target_ = s; - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); - - verb_ = s; - break; - } - case 42: { - java.lang.String s = input.readStringRequireUtf8(); + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); - statusMessage_ = s; - break; - } - case 48: { + verb_ = s; + break; + } + case 42: + { + java.lang.String s = input.readStringRequireUtf8(); - requestedCancellation_ = input.readBool(); - break; - } - case 58: { - java.lang.String s = input.readStringRequireUtf8(); + statusMessage_ = s; + break; + } + case 48: + { + requestedCancellation_ = input.readBool(); + break; + } + case 58: + { + java.lang.String s = input.readStringRequireUtf8(); - apiVersion_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + apiVersion_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -125,34 +150,40 @@ private OperationMetadata( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_OperationMetadata_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_OperationMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_OperationMetadata_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_OperationMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.OperationMetadata.class, com.google.cloud.vmmigration.v1.OperationMetadata.Builder.class); + com.google.cloud.vmmigration.v1.OperationMetadata.class, + com.google.cloud.vmmigration.v1.OperationMetadata.Builder.class); } public static final int CREATE_TIME_FIELD_NUMBER = 1; private com.google.protobuf.Timestamp createTime_; /** + * + * *
    * Output only. The time the operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ @java.lang.Override @@ -160,11 +191,15 @@ public boolean hasCreateTime() { return createTime_ != null; } /** + * + * *
    * Output only. The time the operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ @java.lang.Override @@ -172,11 +207,14 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
    * Output only. The time the operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -186,11 +224,15 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int END_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp endTime_; /** + * + * *
    * Output only. The time the operation finished running.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the endTime field is set. */ @java.lang.Override @@ -198,11 +240,15 @@ public boolean hasEndTime() { return endTime_ != null; } /** + * + * *
    * Output only. The time the operation finished running.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The endTime. */ @java.lang.Override @@ -210,11 +256,14 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** + * + * *
    * Output only. The time the operation finished running.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { @@ -224,11 +273,14 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { public static final int TARGET_FIELD_NUMBER = 3; private volatile java.lang.Object target_; /** + * + * *
    * Output only. Server-defined resource path for the target of the operation.
    * 
* * string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The target. */ @java.lang.Override @@ -237,29 +289,29 @@ public java.lang.String getTarget() { 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(); target_ = s; return s; } } /** + * + * *
    * Output only. Server-defined resource path for the target of the operation.
    * 
* * string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for target. */ @java.lang.Override - public com.google.protobuf.ByteString - getTargetBytes() { + public com.google.protobuf.ByteString getTargetBytes() { java.lang.Object ref = target_; 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); target_ = b; return b; } else { @@ -270,11 +322,14 @@ public java.lang.String getTarget() { public static final int VERB_FIELD_NUMBER = 4; private volatile java.lang.Object verb_; /** + * + * *
    * Output only. Name of the verb executed by the operation.
    * 
* * string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The verb. */ @java.lang.Override @@ -283,29 +338,29 @@ public java.lang.String getVerb() { 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(); verb_ = s; return s; } } /** + * + * *
    * Output only. Name of the verb executed by the operation.
    * 
* * string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for verb. */ @java.lang.Override - public com.google.protobuf.ByteString - getVerbBytes() { + public com.google.protobuf.ByteString getVerbBytes() { java.lang.Object ref = verb_; 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); verb_ = b; return b; } else { @@ -316,11 +371,14 @@ public java.lang.String getVerb() { public static final int STATUS_MESSAGE_FIELD_NUMBER = 5; private volatile java.lang.Object statusMessage_; /** + * + * *
    * Output only. Human-readable status of the operation, if any.
    * 
* * string status_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The statusMessage. */ @java.lang.Override @@ -329,29 +387,29 @@ public java.lang.String getStatusMessage() { 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(); statusMessage_ = s; return s; } } /** + * + * *
    * Output only. Human-readable status of the operation, if any.
    * 
* * string status_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for statusMessage. */ @java.lang.Override - public com.google.protobuf.ByteString - getStatusMessageBytes() { + public com.google.protobuf.ByteString getStatusMessageBytes() { java.lang.Object ref = statusMessage_; 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); statusMessage_ = b; return b; } else { @@ -362,6 +420,8 @@ public java.lang.String getStatusMessage() { public static final int REQUESTED_CANCELLATION_FIELD_NUMBER = 6; private boolean requestedCancellation_; /** + * + * *
    * Output only. Identifies whether the user has requested cancellation
    * of the operation. Operations that have successfully been cancelled
@@ -371,6 +431,7 @@ public java.lang.String getStatusMessage() {
    * 
* * bool requested_cancellation = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The requestedCancellation. */ @java.lang.Override @@ -381,11 +442,14 @@ public boolean getRequestedCancellation() { public static final int API_VERSION_FIELD_NUMBER = 7; private volatile java.lang.Object apiVersion_; /** + * + * *
    * Output only. API version used to start the operation.
    * 
* * string api_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The apiVersion. */ @java.lang.Override @@ -394,29 +458,29 @@ public java.lang.String getApiVersion() { 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(); apiVersion_ = s; return s; } } /** + * + * *
    * Output only. API version used to start the operation.
    * 
* * string api_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for apiVersion. */ @java.lang.Override - public com.google.protobuf.ByteString - getApiVersionBytes() { + public com.google.protobuf.ByteString getApiVersionBytes() { java.lang.Object ref = apiVersion_; 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); apiVersion_ = b; return b; } else { @@ -425,6 +489,7 @@ public java.lang.String getApiVersion() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -436,8 +501,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 (createTime_ != null) { output.writeMessage(1, getCreateTime()); } @@ -469,12 +533,10 @@ public int getSerializedSize() { size = 0; if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getCreateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getCreateTime()); } if (endTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getEndTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getEndTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(target_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, target_); @@ -486,8 +548,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, statusMessage_); } if (requestedCancellation_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(6, requestedCancellation_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(6, requestedCancellation_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(apiVersion_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, apiVersion_); @@ -500,33 +561,27 @@ 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.vmmigration.v1.OperationMetadata)) { return super.equals(obj); } - com.google.cloud.vmmigration.v1.OperationMetadata other = (com.google.cloud.vmmigration.v1.OperationMetadata) obj; + com.google.cloud.vmmigration.v1.OperationMetadata other = + (com.google.cloud.vmmigration.v1.OperationMetadata) obj; if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime() - .equals(other.getCreateTime())) return false; + if (!getCreateTime().equals(other.getCreateTime())) return false; } if (hasEndTime() != other.hasEndTime()) return false; if (hasEndTime()) { - if (!getEndTime() - .equals(other.getEndTime())) return false; - } - if (!getTarget() - .equals(other.getTarget())) return false; - if (!getVerb() - .equals(other.getVerb())) return false; - if (!getStatusMessage() - .equals(other.getStatusMessage())) return false; - if (getRequestedCancellation() - != other.getRequestedCancellation()) return false; - if (!getApiVersion() - .equals(other.getApiVersion())) return false; + if (!getEndTime().equals(other.getEndTime())) return false; + } + if (!getTarget().equals(other.getTarget())) return false; + if (!getVerb().equals(other.getVerb())) return false; + if (!getStatusMessage().equals(other.getStatusMessage())) return false; + if (getRequestedCancellation() != other.getRequestedCancellation()) return false; + if (!getApiVersion().equals(other.getApiVersion())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -553,8 +608,7 @@ public int hashCode() { hash = (37 * hash) + STATUS_MESSAGE_FIELD_NUMBER; hash = (53 * hash) + getStatusMessage().hashCode(); hash = (37 * hash) + REQUESTED_CANCELLATION_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getRequestedCancellation()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getRequestedCancellation()); hash = (37 * hash) + API_VERSION_FIELD_NUMBER; hash = (53 * hash) + getApiVersion().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); @@ -563,117 +617,126 @@ public int hashCode() { } public static com.google.cloud.vmmigration.v1.OperationMetadata 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.vmmigration.v1.OperationMetadata 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.vmmigration.v1.OperationMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.vmmigration.v1.OperationMetadata 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.vmmigration.v1.OperationMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.vmmigration.v1.OperationMetadata 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.vmmigration.v1.OperationMetadata parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.vmmigration.v1.OperationMetadata parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.vmmigration.v1.OperationMetadata 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.vmmigration.v1.OperationMetadata parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.vmmigration.v1.OperationMetadata parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.vmmigration.v1.OperationMetadata 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.vmmigration.v1.OperationMetadata 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.vmmigration.v1.OperationMetadata 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.vmmigration.v1.OperationMetadata 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 metadata of the long-running operation.
    * 
* * Protobuf type {@code google.cloud.vmmigration.v1.OperationMetadata} */ - 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.vmmigration.v1.OperationMetadata) com.google.cloud.vmmigration.v1.OperationMetadataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_OperationMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_OperationMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_OperationMetadata_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_OperationMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.OperationMetadata.class, com.google.cloud.vmmigration.v1.OperationMetadata.Builder.class); + com.google.cloud.vmmigration.v1.OperationMetadata.class, + com.google.cloud.vmmigration.v1.OperationMetadata.Builder.class); } // Construct using com.google.cloud.vmmigration.v1.OperationMetadata.newBuilder() @@ -681,16 +744,15 @@ 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) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -720,9 +782,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_OperationMetadata_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_OperationMetadata_descriptor; } @java.lang.Override @@ -741,7 +803,8 @@ public com.google.cloud.vmmigration.v1.OperationMetadata build() { @java.lang.Override public com.google.cloud.vmmigration.v1.OperationMetadata buildPartial() { - com.google.cloud.vmmigration.v1.OperationMetadata result = new com.google.cloud.vmmigration.v1.OperationMetadata(this); + com.google.cloud.vmmigration.v1.OperationMetadata result = + new com.google.cloud.vmmigration.v1.OperationMetadata(this); if (createTimeBuilder_ == null) { result.createTime_ = createTime_; } else { @@ -765,38 +828,39 @@ public com.google.cloud.vmmigration.v1.OperationMetadata buildPartial() { 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.vmmigration.v1.OperationMetadata) { - return mergeFrom((com.google.cloud.vmmigration.v1.OperationMetadata)other); + return mergeFrom((com.google.cloud.vmmigration.v1.OperationMetadata) other); } else { super.mergeFrom(other); return this; @@ -804,7 +868,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.vmmigration.v1.OperationMetadata other) { - if (other == com.google.cloud.vmmigration.v1.OperationMetadata.getDefaultInstance()) return this; + if (other == com.google.cloud.vmmigration.v1.OperationMetadata.getDefaultInstance()) + return this; if (other.hasCreateTime()) { mergeCreateTime(other.getCreateTime()); } @@ -849,7 +914,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.vmmigration.v1.OperationMetadata) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.vmmigration.v1.OperationMetadata) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -861,39 +927,58 @@ public Builder mergeFrom( private com.google.protobuf.Timestamp createTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + createTimeBuilder_; /** + * + * *
      * Output only. The time the operation was created.
      * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** + * + * *
      * Output only. The time the operation was created.
      * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. The time the operation was created.
      * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -909,14 +994,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time the operation was created.
      * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setCreateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); onChanged(); @@ -927,17 +1015,21 @@ public Builder setCreateTime( return this; } /** + * + * *
      * Output only. The time the operation was created.
      * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { if (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -949,11 +1041,15 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time the operation was created.
      * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearCreateTime() { if (createTimeBuilder_ == null) { @@ -967,48 +1063,64 @@ public Builder clearCreateTime() { return this; } /** + * + * *
      * Output only. The time the operation was created.
      * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The time the operation was created.
      * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } } /** + * + * *
      * Output only. The time the operation was created.
      * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 1 [(.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> getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { - createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getCreateTime(), - getParentForChildren(), - isClean()); + createTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), getParentForChildren(), isClean()); createTime_ = null; } return createTimeBuilder_; @@ -1016,24 +1128,35 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { 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. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the endTime field is set. */ public boolean hasEndTime() { return endTimeBuilder_ != null || endTime_ != null; } /** + * + * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { @@ -1044,11 +1167,14 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** + * + * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { @@ -1064,14 +1190,16 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.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(); onChanged(); @@ -1082,17 +1210,20 @@ public Builder setEndTime( return this; } /** + * + * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { if (endTime_ != null) { endTime_ = - com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); } else { endTime_ = value; } @@ -1104,11 +1235,14 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearEndTime() { if (endTimeBuilder_ == null) { @@ -1122,48 +1256,59 @@ public Builder clearEndTime() { return this; } /** + * + * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { - + onChanged(); return getEndTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.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. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.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_; @@ -1171,18 +1316,20 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { private java.lang.Object target_ = ""; /** + * + * *
      * Output only. Server-defined resource path for the target of the operation.
      * 
* * string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The target. */ public java.lang.String getTarget() { java.lang.Object ref = target_; 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(); target_ = s; return s; @@ -1191,20 +1338,21 @@ public java.lang.String getTarget() { } } /** + * + * *
      * Output only. Server-defined resource path for the target of the operation.
      * 
* * string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for target. */ - public com.google.protobuf.ByteString - getTargetBytes() { + public com.google.protobuf.ByteString getTargetBytes() { java.lang.Object ref = target_; 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); target_ = b; return b; } else { @@ -1212,54 +1360,61 @@ public java.lang.String getTarget() { } } /** + * + * *
      * Output only. Server-defined resource path for the target of the operation.
      * 
* * string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The target to set. * @return This builder for chaining. */ - public Builder setTarget( - java.lang.String value) { + public Builder setTarget(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + target_ = value; onChanged(); return this; } /** + * + * *
      * Output only. Server-defined resource path for the target of the operation.
      * 
* * string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearTarget() { - + target_ = getDefaultInstance().getTarget(); onChanged(); return this; } /** + * + * *
      * Output only. Server-defined resource path for the target of the operation.
      * 
* * string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for target to set. * @return This builder for chaining. */ - public Builder setTargetBytes( - com.google.protobuf.ByteString value) { + public Builder setTargetBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + target_ = value; onChanged(); return this; @@ -1267,18 +1422,20 @@ public Builder setTargetBytes( private java.lang.Object verb_ = ""; /** + * + * *
      * Output only. Name of the verb executed by the operation.
      * 
* * string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The verb. */ public java.lang.String getVerb() { java.lang.Object ref = verb_; 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(); verb_ = s; return s; @@ -1287,20 +1444,21 @@ public java.lang.String getVerb() { } } /** + * + * *
      * Output only. Name of the verb executed by the operation.
      * 
* * string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for verb. */ - public com.google.protobuf.ByteString - getVerbBytes() { + public com.google.protobuf.ByteString getVerbBytes() { java.lang.Object ref = verb_; 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); verb_ = b; return b; } else { @@ -1308,54 +1466,61 @@ public java.lang.String getVerb() { } } /** + * + * *
      * Output only. Name of the verb executed by the operation.
      * 
* * string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The verb to set. * @return This builder for chaining. */ - public Builder setVerb( - java.lang.String value) { + public Builder setVerb(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + verb_ = value; onChanged(); return this; } /** + * + * *
      * Output only. Name of the verb executed by the operation.
      * 
* * string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearVerb() { - + verb_ = getDefaultInstance().getVerb(); onChanged(); return this; } /** + * + * *
      * Output only. Name of the verb executed by the operation.
      * 
* * string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for verb to set. * @return This builder for chaining. */ - public Builder setVerbBytes( - com.google.protobuf.ByteString value) { + public Builder setVerbBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + verb_ = value; onChanged(); return this; @@ -1363,18 +1528,20 @@ public Builder setVerbBytes( private java.lang.Object statusMessage_ = ""; /** + * + * *
      * Output only. Human-readable status of the operation, if any.
      * 
* * string status_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The statusMessage. */ public java.lang.String getStatusMessage() { java.lang.Object ref = statusMessage_; 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(); statusMessage_ = s; return s; @@ -1383,20 +1550,21 @@ public java.lang.String getStatusMessage() { } } /** + * + * *
      * Output only. Human-readable status of the operation, if any.
      * 
* * string status_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for statusMessage. */ - public com.google.protobuf.ByteString - getStatusMessageBytes() { + public com.google.protobuf.ByteString getStatusMessageBytes() { java.lang.Object ref = statusMessage_; 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); statusMessage_ = b; return b; } else { @@ -1404,61 +1572,70 @@ public java.lang.String getStatusMessage() { } } /** + * + * *
      * Output only. Human-readable status of the operation, if any.
      * 
* * string status_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The statusMessage to set. * @return This builder for chaining. */ - public Builder setStatusMessage( - java.lang.String value) { + public Builder setStatusMessage(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + statusMessage_ = value; onChanged(); return this; } /** + * + * *
      * Output only. Human-readable status of the operation, if any.
      * 
* * string status_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearStatusMessage() { - + statusMessage_ = getDefaultInstance().getStatusMessage(); onChanged(); return this; } /** + * + * *
      * Output only. Human-readable status of the operation, if any.
      * 
* * string status_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for statusMessage to set. * @return This builder for chaining. */ - public Builder setStatusMessageBytes( - com.google.protobuf.ByteString value) { + public Builder setStatusMessageBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + statusMessage_ = value; onChanged(); return this; } - private boolean requestedCancellation_ ; + private boolean requestedCancellation_; /** + * + * *
      * Output only. Identifies whether the user has requested cancellation
      * of the operation. Operations that have successfully been cancelled
@@ -1468,6 +1645,7 @@ public Builder setStatusMessageBytes(
      * 
* * bool requested_cancellation = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The requestedCancellation. */ @java.lang.Override @@ -1475,6 +1653,8 @@ public boolean getRequestedCancellation() { return requestedCancellation_; } /** + * + * *
      * Output only. Identifies whether the user has requested cancellation
      * of the operation. Operations that have successfully been cancelled
@@ -1484,16 +1664,19 @@ public boolean getRequestedCancellation() {
      * 
* * bool requested_cancellation = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The requestedCancellation to set. * @return This builder for chaining. */ public Builder setRequestedCancellation(boolean value) { - + requestedCancellation_ = value; onChanged(); return this; } /** + * + * *
      * Output only. Identifies whether the user has requested cancellation
      * of the operation. Operations that have successfully been cancelled
@@ -1503,10 +1686,11 @@ public Builder setRequestedCancellation(boolean value) {
      * 
* * bool requested_cancellation = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearRequestedCancellation() { - + requestedCancellation_ = false; onChanged(); return this; @@ -1514,18 +1698,20 @@ public Builder clearRequestedCancellation() { private java.lang.Object apiVersion_ = ""; /** + * + * *
      * Output only. API version used to start the operation.
      * 
* * string api_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The apiVersion. */ public java.lang.String getApiVersion() { java.lang.Object ref = apiVersion_; 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(); apiVersion_ = s; return s; @@ -1534,20 +1720,21 @@ public java.lang.String getApiVersion() { } } /** + * + * *
      * Output only. API version used to start the operation.
      * 
* * string api_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for apiVersion. */ - public com.google.protobuf.ByteString - getApiVersionBytes() { + public com.google.protobuf.ByteString getApiVersionBytes() { java.lang.Object ref = apiVersion_; 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); apiVersion_ = b; return b; } else { @@ -1555,61 +1742,68 @@ public java.lang.String getApiVersion() { } } /** + * + * *
      * Output only. API version used to start the operation.
      * 
* * string api_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The apiVersion to set. * @return This builder for chaining. */ - public Builder setApiVersion( - java.lang.String value) { + public Builder setApiVersion(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + apiVersion_ = value; onChanged(); return this; } /** + * + * *
      * Output only. API version used to start the operation.
      * 
* * string api_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearApiVersion() { - + apiVersion_ = getDefaultInstance().getApiVersion(); onChanged(); return this; } /** + * + * *
      * Output only. API version used to start the operation.
      * 
* * string api_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for apiVersion to set. * @return This builder for chaining. */ - public Builder setApiVersionBytes( - com.google.protobuf.ByteString value) { + public Builder setApiVersionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + apiVersion_ = 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); } @@ -1619,12 +1813,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.vmmigration.v1.OperationMetadata) } // @@protoc_insertion_point(class_scope:google.cloud.vmmigration.v1.OperationMetadata) private static final com.google.cloud.vmmigration.v1.OperationMetadata DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.vmmigration.v1.OperationMetadata(); } @@ -1633,16 +1827,16 @@ public static com.google.cloud.vmmigration.v1.OperationMetadata getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public OperationMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new OperationMetadata(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public OperationMetadata parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new OperationMetadata(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1657,6 +1851,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.vmmigration.v1.OperationMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/OperationMetadataOrBuilder.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/OperationMetadataOrBuilder.java similarity index 75% rename from owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/OperationMetadataOrBuilder.java rename to proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/OperationMetadataOrBuilder.java index eead222..92048fa 100644 --- a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/OperationMetadataOrBuilder.java +++ b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/OperationMetadataOrBuilder.java @@ -1,127 +1,182 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; -public interface OperationMetadataOrBuilder extends +public interface OperationMetadataOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.OperationMetadata) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. The time the operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** + * + * *
    * Output only. The time the operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** + * + * *
    * Output only. The time the operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** + * + * *
    * Output only. The time the operation finished running.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the endTime field is set. */ boolean hasEndTime(); /** + * + * *
    * Output only. The time the operation finished running.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The endTime. */ com.google.protobuf.Timestamp getEndTime(); /** + * + * *
    * Output only. The time the operation finished running.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder(); /** + * + * *
    * Output only. Server-defined resource path for the target of the operation.
    * 
* * string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The target. */ java.lang.String getTarget(); /** + * + * *
    * Output only. Server-defined resource path for the target of the operation.
    * 
* * string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for target. */ - com.google.protobuf.ByteString - getTargetBytes(); + com.google.protobuf.ByteString getTargetBytes(); /** + * + * *
    * Output only. Name of the verb executed by the operation.
    * 
* * string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The verb. */ java.lang.String getVerb(); /** + * + * *
    * Output only. Name of the verb executed by the operation.
    * 
* * string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for verb. */ - com.google.protobuf.ByteString - getVerbBytes(); + com.google.protobuf.ByteString getVerbBytes(); /** + * + * *
    * Output only. Human-readable status of the operation, if any.
    * 
* * string status_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The statusMessage. */ java.lang.String getStatusMessage(); /** + * + * *
    * Output only. Human-readable status of the operation, if any.
    * 
* * string status_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for statusMessage. */ - com.google.protobuf.ByteString - getStatusMessageBytes(); + com.google.protobuf.ByteString getStatusMessageBytes(); /** + * + * *
    * Output only. Identifies whether the user has requested cancellation
    * of the operation. Operations that have successfully been cancelled
@@ -131,27 +186,33 @@ public interface OperationMetadataOrBuilder extends
    * 
* * bool requested_cancellation = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The requestedCancellation. */ boolean getRequestedCancellation(); /** + * + * *
    * Output only. API version used to start the operation.
    * 
* * string api_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The apiVersion. */ java.lang.String getApiVersion(); /** + * + * *
    * Output only. API version used to start the operation.
    * 
* * string api_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for apiVersion. */ - com.google.protobuf.ByteString - getApiVersionBytes(); + com.google.protobuf.ByteString getApiVersionBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/PauseMigrationRequest.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/PauseMigrationRequest.java similarity index 64% rename from owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/PauseMigrationRequest.java rename to proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/PauseMigrationRequest.java index ff8d4ad..f90772a 100644 --- a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/PauseMigrationRequest.java +++ b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/PauseMigrationRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; /** + * + * *
  * Request message for 'PauseMigration' request.
  * 
* * Protobuf type {@code google.cloud.vmmigration.v1.PauseMigrationRequest} */ -public final class PauseMigrationRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class PauseMigrationRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.vmmigration.v1.PauseMigrationRequest) PauseMigrationRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use PauseMigrationRequest.newBuilder() to construct. private PauseMigrationRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private PauseMigrationRequest() { migratingVm_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new PauseMigrationRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private PauseMigrationRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private PauseMigrationRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - migratingVm_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + migratingVm_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,34 +91,41 @@ private PauseMigrationRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_PauseMigrationRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_PauseMigrationRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_PauseMigrationRequest_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_PauseMigrationRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.PauseMigrationRequest.class, com.google.cloud.vmmigration.v1.PauseMigrationRequest.Builder.class); + com.google.cloud.vmmigration.v1.PauseMigrationRequest.class, + com.google.cloud.vmmigration.v1.PauseMigrationRequest.Builder.class); } public static final int MIGRATING_VM_FIELD_NUMBER = 1; private volatile java.lang.Object migratingVm_; /** + * + * *
    * Required. The name of the MigratingVm.
    * 
* - * string migrating_vm = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string migrating_vm = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The migratingVm. */ @java.lang.Override @@ -109,29 +134,31 @@ public java.lang.String getMigratingVm() { 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(); migratingVm_ = s; return s; } } /** + * + * *
    * Required. The name of the MigratingVm.
    * 
* - * string migrating_vm = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string migrating_vm = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for migratingVm. */ @java.lang.Override - public com.google.protobuf.ByteString - getMigratingVmBytes() { + public com.google.protobuf.ByteString getMigratingVmBytes() { java.lang.Object ref = migratingVm_; 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); migratingVm_ = b; return b; } else { @@ -140,6 +167,7 @@ public java.lang.String getMigratingVm() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,8 +179,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(migratingVm_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, migratingVm_); } @@ -176,15 +203,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.vmmigration.v1.PauseMigrationRequest)) { return super.equals(obj); } - com.google.cloud.vmmigration.v1.PauseMigrationRequest other = (com.google.cloud.vmmigration.v1.PauseMigrationRequest) obj; + com.google.cloud.vmmigration.v1.PauseMigrationRequest other = + (com.google.cloud.vmmigration.v1.PauseMigrationRequest) obj; - if (!getMigratingVm() - .equals(other.getMigratingVm())) return false; + if (!getMigratingVm().equals(other.getMigratingVm())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -204,117 +231,127 @@ public int hashCode() { } public static com.google.cloud.vmmigration.v1.PauseMigrationRequest 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.vmmigration.v1.PauseMigrationRequest 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.vmmigration.v1.PauseMigrationRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.vmmigration.v1.PauseMigrationRequest 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.vmmigration.v1.PauseMigrationRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.vmmigration.v1.PauseMigrationRequest 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.vmmigration.v1.PauseMigrationRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.vmmigration.v1.PauseMigrationRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.vmmigration.v1.PauseMigrationRequest 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.vmmigration.v1.PauseMigrationRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.vmmigration.v1.PauseMigrationRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.vmmigration.v1.PauseMigrationRequest 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.vmmigration.v1.PauseMigrationRequest 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.vmmigration.v1.PauseMigrationRequest 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.vmmigration.v1.PauseMigrationRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.vmmigration.v1.PauseMigrationRequest 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 message for 'PauseMigration' request.
    * 
* * Protobuf type {@code google.cloud.vmmigration.v1.PauseMigrationRequest} */ - 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.vmmigration.v1.PauseMigrationRequest) com.google.cloud.vmmigration.v1.PauseMigrationRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_PauseMigrationRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_PauseMigrationRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_PauseMigrationRequest_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_PauseMigrationRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.PauseMigrationRequest.class, com.google.cloud.vmmigration.v1.PauseMigrationRequest.Builder.class); + com.google.cloud.vmmigration.v1.PauseMigrationRequest.class, + com.google.cloud.vmmigration.v1.PauseMigrationRequest.Builder.class); } // Construct using com.google.cloud.vmmigration.v1.PauseMigrationRequest.newBuilder() @@ -322,16 +359,15 @@ 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) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -341,9 +377,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_PauseMigrationRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_PauseMigrationRequest_descriptor; } @java.lang.Override @@ -362,7 +398,8 @@ public com.google.cloud.vmmigration.v1.PauseMigrationRequest build() { @java.lang.Override public com.google.cloud.vmmigration.v1.PauseMigrationRequest buildPartial() { - com.google.cloud.vmmigration.v1.PauseMigrationRequest result = new com.google.cloud.vmmigration.v1.PauseMigrationRequest(this); + com.google.cloud.vmmigration.v1.PauseMigrationRequest result = + new com.google.cloud.vmmigration.v1.PauseMigrationRequest(this); result.migratingVm_ = migratingVm_; onBuilt(); return result; @@ -372,38 +409,39 @@ public com.google.cloud.vmmigration.v1.PauseMigrationRequest buildPartial() { 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.vmmigration.v1.PauseMigrationRequest) { - return mergeFrom((com.google.cloud.vmmigration.v1.PauseMigrationRequest)other); + return mergeFrom((com.google.cloud.vmmigration.v1.PauseMigrationRequest) other); } else { super.mergeFrom(other); return this; @@ -411,7 +449,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.vmmigration.v1.PauseMigrationRequest other) { - if (other == com.google.cloud.vmmigration.v1.PauseMigrationRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.vmmigration.v1.PauseMigrationRequest.getDefaultInstance()) + return this; if (!other.getMigratingVm().isEmpty()) { migratingVm_ = other.migratingVm_; onChanged(); @@ -435,7 +474,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.vmmigration.v1.PauseMigrationRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.vmmigration.v1.PauseMigrationRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -447,18 +487,22 @@ public Builder mergeFrom( private java.lang.Object migratingVm_ = ""; /** + * + * *
      * Required. The name of the MigratingVm.
      * 
* - * string migrating_vm = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string migrating_vm = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The migratingVm. */ public java.lang.String getMigratingVm() { java.lang.Object ref = migratingVm_; 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(); migratingVm_ = s; return s; @@ -467,20 +511,23 @@ public java.lang.String getMigratingVm() { } } /** + * + * *
      * Required. The name of the MigratingVm.
      * 
* - * string migrating_vm = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string migrating_vm = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for migratingVm. */ - public com.google.protobuf.ByteString - getMigratingVmBytes() { + public com.google.protobuf.ByteString getMigratingVmBytes() { java.lang.Object ref = migratingVm_; 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); migratingVm_ = b; return b; } else { @@ -488,61 +535,74 @@ public java.lang.String getMigratingVm() { } } /** + * + * *
      * Required. The name of the MigratingVm.
      * 
* - * string migrating_vm = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string migrating_vm = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The migratingVm to set. * @return This builder for chaining. */ - public Builder setMigratingVm( - java.lang.String value) { + public Builder setMigratingVm(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + migratingVm_ = value; onChanged(); return this; } /** + * + * *
      * Required. The name of the MigratingVm.
      * 
* - * string migrating_vm = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string migrating_vm = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearMigratingVm() { - + migratingVm_ = getDefaultInstance().getMigratingVm(); onChanged(); return this; } /** + * + * *
      * Required. The name of the MigratingVm.
      * 
* - * string migrating_vm = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string migrating_vm = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for migratingVm to set. * @return This builder for chaining. */ - public Builder setMigratingVmBytes( - com.google.protobuf.ByteString value) { + public Builder setMigratingVmBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + migratingVm_ = 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); } @@ -552,12 +612,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.vmmigration.v1.PauseMigrationRequest) } // @@protoc_insertion_point(class_scope:google.cloud.vmmigration.v1.PauseMigrationRequest) private static final com.google.cloud.vmmigration.v1.PauseMigrationRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.vmmigration.v1.PauseMigrationRequest(); } @@ -566,16 +626,16 @@ public static com.google.cloud.vmmigration.v1.PauseMigrationRequest getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PauseMigrationRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new PauseMigrationRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PauseMigrationRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PauseMigrationRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -590,6 +650,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.vmmigration.v1.PauseMigrationRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/PauseMigrationRequestOrBuilder.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/PauseMigrationRequestOrBuilder.java new file mode 100644 index 0000000..41019be --- /dev/null +++ b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/PauseMigrationRequestOrBuilder.java @@ -0,0 +1,54 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/vmmigration/v1/vmmigration.proto + +package com.google.cloud.vmmigration.v1; + +public interface PauseMigrationRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.PauseMigrationRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the MigratingVm.
+   * 
+ * + * + * string migrating_vm = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The migratingVm. + */ + java.lang.String getMigratingVm(); + /** + * + * + *
+   * Required. The name of the MigratingVm.
+   * 
+ * + * + * string migrating_vm = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for migratingVm. + */ + com.google.protobuf.ByteString getMigratingVmBytes(); +} diff --git a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/PauseMigrationResponse.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/PauseMigrationResponse.java similarity index 65% rename from owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/PauseMigrationResponse.java rename to proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/PauseMigrationResponse.java index 74ca5b8..9161e52 100644 --- a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/PauseMigrationResponse.java +++ b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/PauseMigrationResponse.java @@ -1,39 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; /** + * + * *
  * Response message for 'PauseMigration' request.
  * 
* * Protobuf type {@code google.cloud.vmmigration.v1.PauseMigrationResponse} */ -public final class PauseMigrationResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class PauseMigrationResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.vmmigration.v1.PauseMigrationResponse) PauseMigrationResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use PauseMigrationResponse.newBuilder() to construct. private PauseMigrationResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private PauseMigrationResponse() { - } + + private PauseMigrationResponse() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new PauseMigrationResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private PauseMigrationResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,13 +68,13 @@ private PauseMigrationResponse( case 0: done = true; break; - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -66,27 +82,30 @@ private PauseMigrationResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_PauseMigrationResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_PauseMigrationResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_PauseMigrationResponse_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_PauseMigrationResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.PauseMigrationResponse.class, com.google.cloud.vmmigration.v1.PauseMigrationResponse.Builder.class); + com.google.cloud.vmmigration.v1.PauseMigrationResponse.class, + com.google.cloud.vmmigration.v1.PauseMigrationResponse.Builder.class); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -98,8 +117,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 { unknownFields.writeTo(output); } @@ -117,12 +135,13 @@ 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.vmmigration.v1.PauseMigrationResponse)) { return super.equals(obj); } - com.google.cloud.vmmigration.v1.PauseMigrationResponse other = (com.google.cloud.vmmigration.v1.PauseMigrationResponse) obj; + com.google.cloud.vmmigration.v1.PauseMigrationResponse other = + (com.google.cloud.vmmigration.v1.PauseMigrationResponse) obj; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -141,117 +160,127 @@ public int hashCode() { } public static com.google.cloud.vmmigration.v1.PauseMigrationResponse 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.vmmigration.v1.PauseMigrationResponse 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.vmmigration.v1.PauseMigrationResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.vmmigration.v1.PauseMigrationResponse 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.vmmigration.v1.PauseMigrationResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.vmmigration.v1.PauseMigrationResponse 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.vmmigration.v1.PauseMigrationResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.vmmigration.v1.PauseMigrationResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.vmmigration.v1.PauseMigrationResponse 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.vmmigration.v1.PauseMigrationResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.vmmigration.v1.PauseMigrationResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.vmmigration.v1.PauseMigrationResponse 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.vmmigration.v1.PauseMigrationResponse 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.vmmigration.v1.PauseMigrationResponse 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.vmmigration.v1.PauseMigrationResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.vmmigration.v1.PauseMigrationResponse 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; } /** + * + * *
    * Response message for 'PauseMigration' request.
    * 
* * Protobuf type {@code google.cloud.vmmigration.v1.PauseMigrationResponse} */ - 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.vmmigration.v1.PauseMigrationResponse) com.google.cloud.vmmigration.v1.PauseMigrationResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_PauseMigrationResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_PauseMigrationResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_PauseMigrationResponse_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_PauseMigrationResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.PauseMigrationResponse.class, com.google.cloud.vmmigration.v1.PauseMigrationResponse.Builder.class); + com.google.cloud.vmmigration.v1.PauseMigrationResponse.class, + com.google.cloud.vmmigration.v1.PauseMigrationResponse.Builder.class); } // Construct using com.google.cloud.vmmigration.v1.PauseMigrationResponse.newBuilder() @@ -259,16 +288,15 @@ 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) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -276,9 +304,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_PauseMigrationResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_PauseMigrationResponse_descriptor; } @java.lang.Override @@ -297,7 +325,8 @@ public com.google.cloud.vmmigration.v1.PauseMigrationResponse build() { @java.lang.Override public com.google.cloud.vmmigration.v1.PauseMigrationResponse buildPartial() { - com.google.cloud.vmmigration.v1.PauseMigrationResponse result = new com.google.cloud.vmmigration.v1.PauseMigrationResponse(this); + com.google.cloud.vmmigration.v1.PauseMigrationResponse result = + new com.google.cloud.vmmigration.v1.PauseMigrationResponse(this); onBuilt(); return result; } @@ -306,38 +335,39 @@ public com.google.cloud.vmmigration.v1.PauseMigrationResponse buildPartial() { 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.vmmigration.v1.PauseMigrationResponse) { - return mergeFrom((com.google.cloud.vmmigration.v1.PauseMigrationResponse)other); + return mergeFrom((com.google.cloud.vmmigration.v1.PauseMigrationResponse) other); } else { super.mergeFrom(other); return this; @@ -345,7 +375,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.vmmigration.v1.PauseMigrationResponse other) { - if (other == com.google.cloud.vmmigration.v1.PauseMigrationResponse.getDefaultInstance()) return this; + if (other == com.google.cloud.vmmigration.v1.PauseMigrationResponse.getDefaultInstance()) + return this; this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -365,7 +396,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.vmmigration.v1.PauseMigrationResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.vmmigration.v1.PauseMigrationResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -374,9 +406,9 @@ public Builder mergeFrom( } 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); } @@ -386,12 +418,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.vmmigration.v1.PauseMigrationResponse) } // @@protoc_insertion_point(class_scope:google.cloud.vmmigration.v1.PauseMigrationResponse) private static final com.google.cloud.vmmigration.v1.PauseMigrationResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.vmmigration.v1.PauseMigrationResponse(); } @@ -400,16 +432,16 @@ public static com.google.cloud.vmmigration.v1.PauseMigrationResponse getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PauseMigrationResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new PauseMigrationResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PauseMigrationResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PauseMigrationResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -424,6 +456,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.vmmigration.v1.PauseMigrationResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/PauseMigrationResponseOrBuilder.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/PauseMigrationResponseOrBuilder.java new file mode 100644 index 0000000..915b98e --- /dev/null +++ b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/PauseMigrationResponseOrBuilder.java @@ -0,0 +1,24 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/vmmigration/v1/vmmigration.proto + +package com.google.cloud.vmmigration.v1; + +public interface PauseMigrationResponseOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.PauseMigrationResponse) + com.google.protobuf.MessageOrBuilder {} diff --git a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/RemoveGroupMigrationRequest.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/RemoveGroupMigrationRequest.java similarity index 66% rename from owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/RemoveGroupMigrationRequest.java rename to proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/RemoveGroupMigrationRequest.java index 9151748..d483f5b 100644 --- a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/RemoveGroupMigrationRequest.java +++ b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/RemoveGroupMigrationRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; /** + * + * *
  * Request message for 'RemoveMigration' request.
  * 
* * Protobuf type {@code google.cloud.vmmigration.v1.RemoveGroupMigrationRequest} */ -public final class RemoveGroupMigrationRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class RemoveGroupMigrationRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.vmmigration.v1.RemoveGroupMigrationRequest) RemoveGroupMigrationRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use RemoveGroupMigrationRequest.newBuilder() to construct. private RemoveGroupMigrationRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private RemoveGroupMigrationRequest() { group_ = ""; migratingVm_ = ""; @@ -26,16 +44,15 @@ private RemoveGroupMigrationRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new RemoveGroupMigrationRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private RemoveGroupMigrationRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,25 +71,27 @@ private RemoveGroupMigrationRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - group_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + group_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - migratingVm_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + migratingVm_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -80,34 +99,41 @@ private RemoveGroupMigrationRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_RemoveGroupMigrationRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_RemoveGroupMigrationRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_RemoveGroupMigrationRequest_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_RemoveGroupMigrationRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.RemoveGroupMigrationRequest.class, com.google.cloud.vmmigration.v1.RemoveGroupMigrationRequest.Builder.class); + com.google.cloud.vmmigration.v1.RemoveGroupMigrationRequest.class, + com.google.cloud.vmmigration.v1.RemoveGroupMigrationRequest.Builder.class); } public static final int GROUP_FIELD_NUMBER = 1; private volatile java.lang.Object group_; /** + * + * *
    * Required. The name of the Group.
    * 
* - * string group = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string group = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The group. */ @java.lang.Override @@ -116,29 +142,31 @@ public java.lang.String getGroup() { 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(); group_ = s; return s; } } /** + * + * *
    * Required. The name of the Group.
    * 
* - * string group = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string group = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for group. */ @java.lang.Override - public com.google.protobuf.ByteString - getGroupBytes() { + public com.google.protobuf.ByteString getGroupBytes() { java.lang.Object ref = group_; 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); group_ = b; return b; } else { @@ -149,11 +177,14 @@ public java.lang.String getGroup() { public static final int MIGRATING_VM_FIELD_NUMBER = 2; private volatile java.lang.Object migratingVm_; /** + * + * *
    * The MigratingVm to remove.
    * 
* * string migrating_vm = 2 [(.google.api.resource_reference) = { ... } + * * @return The migratingVm. */ @java.lang.Override @@ -162,29 +193,29 @@ public java.lang.String getMigratingVm() { 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(); migratingVm_ = s; return s; } } /** + * + * *
    * The MigratingVm to remove.
    * 
* * string migrating_vm = 2 [(.google.api.resource_reference) = { ... } + * * @return The bytes for migratingVm. */ @java.lang.Override - public com.google.protobuf.ByteString - getMigratingVmBytes() { + public com.google.protobuf.ByteString getMigratingVmBytes() { java.lang.Object ref = migratingVm_; 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); migratingVm_ = b; return b; } else { @@ -193,6 +224,7 @@ public java.lang.String getMigratingVm() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -204,8 +236,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(group_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, group_); } @@ -235,17 +266,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.vmmigration.v1.RemoveGroupMigrationRequest)) { return super.equals(obj); } - com.google.cloud.vmmigration.v1.RemoveGroupMigrationRequest other = (com.google.cloud.vmmigration.v1.RemoveGroupMigrationRequest) obj; + com.google.cloud.vmmigration.v1.RemoveGroupMigrationRequest other = + (com.google.cloud.vmmigration.v1.RemoveGroupMigrationRequest) obj; - if (!getGroup() - .equals(other.getGroup())) return false; - if (!getMigratingVm() - .equals(other.getMigratingVm())) return false; + if (!getGroup().equals(other.getGroup())) return false; + if (!getMigratingVm().equals(other.getMigratingVm())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -267,117 +297,127 @@ public int hashCode() { } public static com.google.cloud.vmmigration.v1.RemoveGroupMigrationRequest 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.vmmigration.v1.RemoveGroupMigrationRequest 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.vmmigration.v1.RemoveGroupMigrationRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.vmmigration.v1.RemoveGroupMigrationRequest 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.vmmigration.v1.RemoveGroupMigrationRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.vmmigration.v1.RemoveGroupMigrationRequest 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.vmmigration.v1.RemoveGroupMigrationRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.vmmigration.v1.RemoveGroupMigrationRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.vmmigration.v1.RemoveGroupMigrationRequest 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.vmmigration.v1.RemoveGroupMigrationRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.vmmigration.v1.RemoveGroupMigrationRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.vmmigration.v1.RemoveGroupMigrationRequest 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.vmmigration.v1.RemoveGroupMigrationRequest 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.vmmigration.v1.RemoveGroupMigrationRequest 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.vmmigration.v1.RemoveGroupMigrationRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.vmmigration.v1.RemoveGroupMigrationRequest 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 message for 'RemoveMigration' request.
    * 
* * Protobuf type {@code google.cloud.vmmigration.v1.RemoveGroupMigrationRequest} */ - 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.vmmigration.v1.RemoveGroupMigrationRequest) com.google.cloud.vmmigration.v1.RemoveGroupMigrationRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_RemoveGroupMigrationRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_RemoveGroupMigrationRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_RemoveGroupMigrationRequest_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_RemoveGroupMigrationRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.RemoveGroupMigrationRequest.class, com.google.cloud.vmmigration.v1.RemoveGroupMigrationRequest.Builder.class); + com.google.cloud.vmmigration.v1.RemoveGroupMigrationRequest.class, + com.google.cloud.vmmigration.v1.RemoveGroupMigrationRequest.Builder.class); } // Construct using com.google.cloud.vmmigration.v1.RemoveGroupMigrationRequest.newBuilder() @@ -385,16 +425,15 @@ 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) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -406,9 +445,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_RemoveGroupMigrationRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_RemoveGroupMigrationRequest_descriptor; } @java.lang.Override @@ -427,7 +466,8 @@ public com.google.cloud.vmmigration.v1.RemoveGroupMigrationRequest build() { @java.lang.Override public com.google.cloud.vmmigration.v1.RemoveGroupMigrationRequest buildPartial() { - com.google.cloud.vmmigration.v1.RemoveGroupMigrationRequest result = new com.google.cloud.vmmigration.v1.RemoveGroupMigrationRequest(this); + com.google.cloud.vmmigration.v1.RemoveGroupMigrationRequest result = + new com.google.cloud.vmmigration.v1.RemoveGroupMigrationRequest(this); result.group_ = group_; result.migratingVm_ = migratingVm_; onBuilt(); @@ -438,38 +478,39 @@ public com.google.cloud.vmmigration.v1.RemoveGroupMigrationRequest buildPartial( 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.vmmigration.v1.RemoveGroupMigrationRequest) { - return mergeFrom((com.google.cloud.vmmigration.v1.RemoveGroupMigrationRequest)other); + return mergeFrom((com.google.cloud.vmmigration.v1.RemoveGroupMigrationRequest) other); } else { super.mergeFrom(other); return this; @@ -477,7 +518,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.vmmigration.v1.RemoveGroupMigrationRequest other) { - if (other == com.google.cloud.vmmigration.v1.RemoveGroupMigrationRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.vmmigration.v1.RemoveGroupMigrationRequest.getDefaultInstance()) + return this; if (!other.getGroup().isEmpty()) { group_ = other.group_; onChanged(); @@ -505,7 +547,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.vmmigration.v1.RemoveGroupMigrationRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.vmmigration.v1.RemoveGroupMigrationRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -517,18 +560,22 @@ public Builder mergeFrom( private java.lang.Object group_ = ""; /** + * + * *
      * Required. The name of the Group.
      * 
* - * string group = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string group = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The group. */ public java.lang.String getGroup() { java.lang.Object ref = group_; 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(); group_ = s; return s; @@ -537,20 +584,23 @@ public java.lang.String getGroup() { } } /** + * + * *
      * Required. The name of the Group.
      * 
* - * string group = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string group = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for group. */ - public com.google.protobuf.ByteString - getGroupBytes() { + public com.google.protobuf.ByteString getGroupBytes() { java.lang.Object ref = group_; 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); group_ = b; return b; } else { @@ -558,54 +608,67 @@ public java.lang.String getGroup() { } } /** + * + * *
      * Required. The name of the Group.
      * 
* - * string group = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string group = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The group to set. * @return This builder for chaining. */ - public Builder setGroup( - java.lang.String value) { + public Builder setGroup(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + group_ = value; onChanged(); return this; } /** + * + * *
      * Required. The name of the Group.
      * 
* - * string group = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string group = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearGroup() { - + group_ = getDefaultInstance().getGroup(); onChanged(); return this; } /** + * + * *
      * Required. The name of the Group.
      * 
* - * string group = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string group = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for group to set. * @return This builder for chaining. */ - public Builder setGroupBytes( - com.google.protobuf.ByteString value) { + public Builder setGroupBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + group_ = value; onChanged(); return this; @@ -613,18 +676,20 @@ public Builder setGroupBytes( private java.lang.Object migratingVm_ = ""; /** + * + * *
      * The MigratingVm to remove.
      * 
* * string migrating_vm = 2 [(.google.api.resource_reference) = { ... } + * * @return The migratingVm. */ public java.lang.String getMigratingVm() { java.lang.Object ref = migratingVm_; 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(); migratingVm_ = s; return s; @@ -633,20 +698,21 @@ public java.lang.String getMigratingVm() { } } /** + * + * *
      * The MigratingVm to remove.
      * 
* * string migrating_vm = 2 [(.google.api.resource_reference) = { ... } + * * @return The bytes for migratingVm. */ - public com.google.protobuf.ByteString - getMigratingVmBytes() { + public com.google.protobuf.ByteString getMigratingVmBytes() { java.lang.Object ref = migratingVm_; 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); migratingVm_ = b; return b; } else { @@ -654,61 +720,68 @@ public java.lang.String getMigratingVm() { } } /** + * + * *
      * The MigratingVm to remove.
      * 
* * string migrating_vm = 2 [(.google.api.resource_reference) = { ... } + * * @param value The migratingVm to set. * @return This builder for chaining. */ - public Builder setMigratingVm( - java.lang.String value) { + public Builder setMigratingVm(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + migratingVm_ = value; onChanged(); return this; } /** + * + * *
      * The MigratingVm to remove.
      * 
* * string migrating_vm = 2 [(.google.api.resource_reference) = { ... } + * * @return This builder for chaining. */ public Builder clearMigratingVm() { - + migratingVm_ = getDefaultInstance().getMigratingVm(); onChanged(); return this; } /** + * + * *
      * The MigratingVm to remove.
      * 
* * string migrating_vm = 2 [(.google.api.resource_reference) = { ... } + * * @param value The bytes for migratingVm to set. * @return This builder for chaining. */ - public Builder setMigratingVmBytes( - com.google.protobuf.ByteString value) { + public Builder setMigratingVmBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + migratingVm_ = 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); } @@ -718,12 +791,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.vmmigration.v1.RemoveGroupMigrationRequest) } // @@protoc_insertion_point(class_scope:google.cloud.vmmigration.v1.RemoveGroupMigrationRequest) private static final com.google.cloud.vmmigration.v1.RemoveGroupMigrationRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.vmmigration.v1.RemoveGroupMigrationRequest(); } @@ -732,16 +805,16 @@ public static com.google.cloud.vmmigration.v1.RemoveGroupMigrationRequest getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RemoveGroupMigrationRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RemoveGroupMigrationRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RemoveGroupMigrationRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RemoveGroupMigrationRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -756,6 +829,4 @@ public com.google.protobuf.Parser getParserForType( public com.google.cloud.vmmigration.v1.RemoveGroupMigrationRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/RemoveGroupMigrationRequestOrBuilder.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/RemoveGroupMigrationRequestOrBuilder.java new file mode 100644 index 0000000..01a14ff --- /dev/null +++ b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/RemoveGroupMigrationRequestOrBuilder.java @@ -0,0 +1,79 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/vmmigration/v1/vmmigration.proto + +package com.google.cloud.vmmigration.v1; + +public interface RemoveGroupMigrationRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.RemoveGroupMigrationRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the Group.
+   * 
+ * + * + * string group = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The group. + */ + java.lang.String getGroup(); + /** + * + * + *
+   * Required. The name of the Group.
+   * 
+ * + * + * string group = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for group. + */ + com.google.protobuf.ByteString getGroupBytes(); + + /** + * + * + *
+   * The MigratingVm to remove.
+   * 
+ * + * string migrating_vm = 2 [(.google.api.resource_reference) = { ... } + * + * @return The migratingVm. + */ + java.lang.String getMigratingVm(); + /** + * + * + *
+   * The MigratingVm to remove.
+   * 
+ * + * string migrating_vm = 2 [(.google.api.resource_reference) = { ... } + * + * @return The bytes for migratingVm. + */ + com.google.protobuf.ByteString getMigratingVmBytes(); +} diff --git a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/RemoveGroupMigrationResponse.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/RemoveGroupMigrationResponse.java similarity index 64% rename from owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/RemoveGroupMigrationResponse.java rename to proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/RemoveGroupMigrationResponse.java index b050374..ca9e8b0 100644 --- a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/RemoveGroupMigrationResponse.java +++ b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/RemoveGroupMigrationResponse.java @@ -1,39 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; /** + * + * *
  * Response message for 'RemoveMigration' request.
  * 
* * Protobuf type {@code google.cloud.vmmigration.v1.RemoveGroupMigrationResponse} */ -public final class RemoveGroupMigrationResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class RemoveGroupMigrationResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.vmmigration.v1.RemoveGroupMigrationResponse) RemoveGroupMigrationResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use RemoveGroupMigrationResponse.newBuilder() to construct. private RemoveGroupMigrationResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private RemoveGroupMigrationResponse() { - } + + private RemoveGroupMigrationResponse() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new RemoveGroupMigrationResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private RemoveGroupMigrationResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,13 +68,13 @@ private RemoveGroupMigrationResponse( case 0: done = true; break; - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -66,27 +82,30 @@ private RemoveGroupMigrationResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_RemoveGroupMigrationResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_RemoveGroupMigrationResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_RemoveGroupMigrationResponse_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_RemoveGroupMigrationResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.RemoveGroupMigrationResponse.class, com.google.cloud.vmmigration.v1.RemoveGroupMigrationResponse.Builder.class); + com.google.cloud.vmmigration.v1.RemoveGroupMigrationResponse.class, + com.google.cloud.vmmigration.v1.RemoveGroupMigrationResponse.Builder.class); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -98,8 +117,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 { unknownFields.writeTo(output); } @@ -117,12 +135,13 @@ 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.vmmigration.v1.RemoveGroupMigrationResponse)) { return super.equals(obj); } - com.google.cloud.vmmigration.v1.RemoveGroupMigrationResponse other = (com.google.cloud.vmmigration.v1.RemoveGroupMigrationResponse) obj; + com.google.cloud.vmmigration.v1.RemoveGroupMigrationResponse other = + (com.google.cloud.vmmigration.v1.RemoveGroupMigrationResponse) obj; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -141,117 +160,127 @@ public int hashCode() { } public static com.google.cloud.vmmigration.v1.RemoveGroupMigrationResponse 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.vmmigration.v1.RemoveGroupMigrationResponse 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.vmmigration.v1.RemoveGroupMigrationResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.vmmigration.v1.RemoveGroupMigrationResponse 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.vmmigration.v1.RemoveGroupMigrationResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.vmmigration.v1.RemoveGroupMigrationResponse 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.vmmigration.v1.RemoveGroupMigrationResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.vmmigration.v1.RemoveGroupMigrationResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.vmmigration.v1.RemoveGroupMigrationResponse 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.vmmigration.v1.RemoveGroupMigrationResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.vmmigration.v1.RemoveGroupMigrationResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.vmmigration.v1.RemoveGroupMigrationResponse 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.vmmigration.v1.RemoveGroupMigrationResponse 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.vmmigration.v1.RemoveGroupMigrationResponse 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.vmmigration.v1.RemoveGroupMigrationResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.vmmigration.v1.RemoveGroupMigrationResponse 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; } /** + * + * *
    * Response message for 'RemoveMigration' request.
    * 
* * Protobuf type {@code google.cloud.vmmigration.v1.RemoveGroupMigrationResponse} */ - 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.vmmigration.v1.RemoveGroupMigrationResponse) com.google.cloud.vmmigration.v1.RemoveGroupMigrationResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_RemoveGroupMigrationResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_RemoveGroupMigrationResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_RemoveGroupMigrationResponse_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_RemoveGroupMigrationResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.RemoveGroupMigrationResponse.class, com.google.cloud.vmmigration.v1.RemoveGroupMigrationResponse.Builder.class); + com.google.cloud.vmmigration.v1.RemoveGroupMigrationResponse.class, + com.google.cloud.vmmigration.v1.RemoveGroupMigrationResponse.Builder.class); } // Construct using com.google.cloud.vmmigration.v1.RemoveGroupMigrationResponse.newBuilder() @@ -259,16 +288,15 @@ 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) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -276,13 +304,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_RemoveGroupMigrationResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_RemoveGroupMigrationResponse_descriptor; } @java.lang.Override - public com.google.cloud.vmmigration.v1.RemoveGroupMigrationResponse getDefaultInstanceForType() { + public com.google.cloud.vmmigration.v1.RemoveGroupMigrationResponse + getDefaultInstanceForType() { return com.google.cloud.vmmigration.v1.RemoveGroupMigrationResponse.getDefaultInstance(); } @@ -297,7 +326,8 @@ public com.google.cloud.vmmigration.v1.RemoveGroupMigrationResponse build() { @java.lang.Override public com.google.cloud.vmmigration.v1.RemoveGroupMigrationResponse buildPartial() { - com.google.cloud.vmmigration.v1.RemoveGroupMigrationResponse result = new com.google.cloud.vmmigration.v1.RemoveGroupMigrationResponse(this); + com.google.cloud.vmmigration.v1.RemoveGroupMigrationResponse result = + new com.google.cloud.vmmigration.v1.RemoveGroupMigrationResponse(this); onBuilt(); return result; } @@ -306,38 +336,39 @@ public com.google.cloud.vmmigration.v1.RemoveGroupMigrationResponse buildPartial 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.vmmigration.v1.RemoveGroupMigrationResponse) { - return mergeFrom((com.google.cloud.vmmigration.v1.RemoveGroupMigrationResponse)other); + return mergeFrom((com.google.cloud.vmmigration.v1.RemoveGroupMigrationResponse) other); } else { super.mergeFrom(other); return this; @@ -345,7 +376,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.vmmigration.v1.RemoveGroupMigrationResponse other) { - if (other == com.google.cloud.vmmigration.v1.RemoveGroupMigrationResponse.getDefaultInstance()) return this; + if (other + == com.google.cloud.vmmigration.v1.RemoveGroupMigrationResponse.getDefaultInstance()) + return this; this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -365,7 +398,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.vmmigration.v1.RemoveGroupMigrationResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.vmmigration.v1.RemoveGroupMigrationResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -374,9 +408,9 @@ public Builder mergeFrom( } 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); } @@ -386,12 +420,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.vmmigration.v1.RemoveGroupMigrationResponse) } // @@protoc_insertion_point(class_scope:google.cloud.vmmigration.v1.RemoveGroupMigrationResponse) - private static final com.google.cloud.vmmigration.v1.RemoveGroupMigrationResponse DEFAULT_INSTANCE; + private static final com.google.cloud.vmmigration.v1.RemoveGroupMigrationResponse + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.vmmigration.v1.RemoveGroupMigrationResponse(); } @@ -400,16 +435,16 @@ public static com.google.cloud.vmmigration.v1.RemoveGroupMigrationResponse getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RemoveGroupMigrationResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RemoveGroupMigrationResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RemoveGroupMigrationResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RemoveGroupMigrationResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -424,6 +459,4 @@ public com.google.protobuf.Parser getParserForType public com.google.cloud.vmmigration.v1.RemoveGroupMigrationResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/RemoveGroupMigrationResponseOrBuilder.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/RemoveGroupMigrationResponseOrBuilder.java new file mode 100644 index 0000000..6fd757b --- /dev/null +++ b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/RemoveGroupMigrationResponseOrBuilder.java @@ -0,0 +1,24 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/vmmigration/v1/vmmigration.proto + +package com.google.cloud.vmmigration.v1; + +public interface RemoveGroupMigrationResponseOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.RemoveGroupMigrationResponse) + com.google.protobuf.MessageOrBuilder {} diff --git a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ReplicationCycle.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ReplicationCycle.java similarity index 70% rename from owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ReplicationCycle.java rename to proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ReplicationCycle.java index 92ee05d..d7d7f70 100644 --- a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ReplicationCycle.java +++ b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ReplicationCycle.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; /** + * + * *
  * ReplicationCycle contains information about the current replication cycle
  * status.
@@ -11,30 +28,29 @@
  *
  * Protobuf type {@code google.cloud.vmmigration.v1.ReplicationCycle}
  */
-public final class ReplicationCycle extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class ReplicationCycle extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.vmmigration.v1.ReplicationCycle)
     ReplicationCycleOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use ReplicationCycle.newBuilder() to construct.
   private ReplicationCycle(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private ReplicationCycle() {
-  }
+
+  private ReplicationCycle() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ReplicationCycle();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private ReplicationCycle(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -53,31 +69,33 @@ private ReplicationCycle(
           case 0:
             done = true;
             break;
-          case 10: {
-            com.google.protobuf.Timestamp.Builder subBuilder = null;
-            if (startTime_ != null) {
-              subBuilder = startTime_.toBuilder();
+          case 10:
+            {
+              com.google.protobuf.Timestamp.Builder subBuilder = null;
+              if (startTime_ != null) {
+                subBuilder = startTime_.toBuilder();
+              }
+              startTime_ =
+                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(startTime_);
+                startTime_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-            startTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(startTime_);
-              startTime_ = subBuilder.buildPartial();
+          case 40:
+            {
+              progressPercent_ = input.readInt32();
+              break;
             }
-
-            break;
-          }
-          case 40: {
-
-            progressPercent_ = input.readInt32();
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -85,34 +103,39 @@ private ReplicationCycle(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ReplicationCycle_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.vmmigration.v1.VmMigrationProto
+        .internal_static_google_cloud_vmmigration_v1_ReplicationCycle_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ReplicationCycle_fieldAccessorTable
+    return com.google.cloud.vmmigration.v1.VmMigrationProto
+        .internal_static_google_cloud_vmmigration_v1_ReplicationCycle_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.vmmigration.v1.ReplicationCycle.class, com.google.cloud.vmmigration.v1.ReplicationCycle.Builder.class);
+            com.google.cloud.vmmigration.v1.ReplicationCycle.class,
+            com.google.cloud.vmmigration.v1.ReplicationCycle.Builder.class);
   }
 
   public static final int START_TIME_FIELD_NUMBER = 1;
   private com.google.protobuf.Timestamp startTime_;
   /**
+   *
+   *
    * 
    * The time the replication cycle has started.
    * 
* * .google.protobuf.Timestamp start_time = 1; + * * @return Whether the startTime field is set. */ @java.lang.Override @@ -120,11 +143,14 @@ public boolean hasStartTime() { return startTime_ != null; } /** + * + * *
    * The time the replication cycle has started.
    * 
* * .google.protobuf.Timestamp start_time = 1; + * * @return The startTime. */ @java.lang.Override @@ -132,6 +158,8 @@ public com.google.protobuf.Timestamp getStartTime() { return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } /** + * + * *
    * The time the replication cycle has started.
    * 
@@ -146,11 +174,14 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { public static final int PROGRESS_PERCENT_FIELD_NUMBER = 5; private int progressPercent_; /** + * + * *
    * The current progress in percentage of this cycle.
    * 
* * int32 progress_percent = 5; + * * @return The progressPercent. */ @java.lang.Override @@ -159,6 +190,7 @@ public int getProgressPercent() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -170,8 +202,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 (startTime_ != null) { output.writeMessage(1, getStartTime()); } @@ -188,12 +219,10 @@ public int getSerializedSize() { size = 0; if (startTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getStartTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getStartTime()); } if (progressPercent_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(5, progressPercent_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(5, progressPercent_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -203,20 +232,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.vmmigration.v1.ReplicationCycle)) { return super.equals(obj); } - com.google.cloud.vmmigration.v1.ReplicationCycle other = (com.google.cloud.vmmigration.v1.ReplicationCycle) obj; + com.google.cloud.vmmigration.v1.ReplicationCycle other = + (com.google.cloud.vmmigration.v1.ReplicationCycle) obj; if (hasStartTime() != other.hasStartTime()) return false; if (hasStartTime()) { - if (!getStartTime() - .equals(other.getStartTime())) return false; + if (!getStartTime().equals(other.getStartTime())) return false; } - if (getProgressPercent() - != other.getProgressPercent()) return false; + if (getProgressPercent() != other.getProgressPercent()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -239,97 +267,104 @@ public int hashCode() { return hash; } - public static com.google.cloud.vmmigration.v1.ReplicationCycle parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.vmmigration.v1.ReplicationCycle parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.vmmigration.v1.ReplicationCycle 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.vmmigration.v1.ReplicationCycle parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.vmmigration.v1.ReplicationCycle 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.vmmigration.v1.ReplicationCycle parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.vmmigration.v1.ReplicationCycle 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.vmmigration.v1.ReplicationCycle parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.vmmigration.v1.ReplicationCycle parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.vmmigration.v1.ReplicationCycle 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.vmmigration.v1.ReplicationCycle parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.vmmigration.v1.ReplicationCycle parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.vmmigration.v1.ReplicationCycle 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.vmmigration.v1.ReplicationCycle 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.vmmigration.v1.ReplicationCycle 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.vmmigration.v1.ReplicationCycle 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; } /** + * + * *
    * ReplicationCycle contains information about the current replication cycle
    * status.
@@ -337,21 +372,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.vmmigration.v1.ReplicationCycle}
    */
-  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.vmmigration.v1.ReplicationCycle)
       com.google.cloud.vmmigration.v1.ReplicationCycleOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ReplicationCycle_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.vmmigration.v1.VmMigrationProto
+          .internal_static_google_cloud_vmmigration_v1_ReplicationCycle_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ReplicationCycle_fieldAccessorTable
+      return com.google.cloud.vmmigration.v1.VmMigrationProto
+          .internal_static_google_cloud_vmmigration_v1_ReplicationCycle_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.vmmigration.v1.ReplicationCycle.class, com.google.cloud.vmmigration.v1.ReplicationCycle.Builder.class);
+              com.google.cloud.vmmigration.v1.ReplicationCycle.class,
+              com.google.cloud.vmmigration.v1.ReplicationCycle.Builder.class);
     }
 
     // Construct using com.google.cloud.vmmigration.v1.ReplicationCycle.newBuilder()
@@ -359,16 +396,15 @@ 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) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -384,9 +420,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ReplicationCycle_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.vmmigration.v1.VmMigrationProto
+          .internal_static_google_cloud_vmmigration_v1_ReplicationCycle_descriptor;
     }
 
     @java.lang.Override
@@ -405,7 +441,8 @@ public com.google.cloud.vmmigration.v1.ReplicationCycle build() {
 
     @java.lang.Override
     public com.google.cloud.vmmigration.v1.ReplicationCycle buildPartial() {
-      com.google.cloud.vmmigration.v1.ReplicationCycle result = new com.google.cloud.vmmigration.v1.ReplicationCycle(this);
+      com.google.cloud.vmmigration.v1.ReplicationCycle result =
+          new com.google.cloud.vmmigration.v1.ReplicationCycle(this);
       if (startTimeBuilder_ == null) {
         result.startTime_ = startTime_;
       } else {
@@ -420,38 +457,39 @@ public com.google.cloud.vmmigration.v1.ReplicationCycle buildPartial() {
     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.vmmigration.v1.ReplicationCycle) {
-        return mergeFrom((com.google.cloud.vmmigration.v1.ReplicationCycle)other);
+        return mergeFrom((com.google.cloud.vmmigration.v1.ReplicationCycle) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -459,7 +497,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.vmmigration.v1.ReplicationCycle other) {
-      if (other == com.google.cloud.vmmigration.v1.ReplicationCycle.getDefaultInstance()) return this;
+      if (other == com.google.cloud.vmmigration.v1.ReplicationCycle.getDefaultInstance())
+        return this;
       if (other.hasStartTime()) {
         mergeStartTime(other.getStartTime());
       }
@@ -497,24 +536,33 @@ public Builder mergeFrom(
 
     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_;
     /**
+     *
+     *
      * 
      * The time the replication cycle has started.
      * 
* * .google.protobuf.Timestamp start_time = 1; + * * @return Whether the startTime field is set. */ public boolean hasStartTime() { return startTimeBuilder_ != null || startTime_ != null; } /** + * + * *
      * The time the replication cycle has started.
      * 
* * .google.protobuf.Timestamp start_time = 1; + * * @return The startTime. */ public com.google.protobuf.Timestamp getStartTime() { @@ -525,6 +573,8 @@ public com.google.protobuf.Timestamp getStartTime() { } } /** + * + * *
      * The time the replication cycle has started.
      * 
@@ -545,14 +595,15 @@ public Builder setStartTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time the replication cycle has started.
      * 
* * .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(); onChanged(); @@ -563,6 +614,8 @@ public Builder setStartTime( return this; } /** + * + * *
      * The time the replication cycle has started.
      * 
@@ -573,7 +626,7 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { if (startTimeBuilder_ == null) { if (startTime_ != null) { startTime_ = - com.google.protobuf.Timestamp.newBuilder(startTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(startTime_).mergeFrom(value).buildPartial(); } else { startTime_ = value; } @@ -585,6 +638,8 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time the replication cycle has started.
      * 
@@ -603,6 +658,8 @@ public Builder clearStartTime() { return this; } /** + * + * *
      * The time the replication cycle has started.
      * 
@@ -610,11 +667,13 @@ public Builder clearStartTime() { * .google.protobuf.Timestamp start_time = 1; */ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { - + onChanged(); return getStartTimeFieldBuilder().getBuilder(); } /** + * + * *
      * The time the replication cycle has started.
      * 
@@ -625,11 +684,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_; } } /** + * + * *
      * The time the replication cycle has started.
      * 
@@ -637,26 +697,32 @@ 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_; } - private int progressPercent_ ; + private int progressPercent_; /** + * + * *
      * The current progress in percentage of this cycle.
      * 
* * int32 progress_percent = 5; + * * @return The progressPercent. */ @java.lang.Override @@ -664,37 +730,43 @@ public int getProgressPercent() { return progressPercent_; } /** + * + * *
      * The current progress in percentage of this cycle.
      * 
* * int32 progress_percent = 5; + * * @param value The progressPercent to set. * @return This builder for chaining. */ public Builder setProgressPercent(int value) { - + progressPercent_ = value; onChanged(); return this; } /** + * + * *
      * The current progress in percentage of this cycle.
      * 
* * int32 progress_percent = 5; + * * @return This builder for chaining. */ public Builder clearProgressPercent() { - + progressPercent_ = 0; 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); } @@ -704,12 +776,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.vmmigration.v1.ReplicationCycle) } // @@protoc_insertion_point(class_scope:google.cloud.vmmigration.v1.ReplicationCycle) private static final com.google.cloud.vmmigration.v1.ReplicationCycle DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.vmmigration.v1.ReplicationCycle(); } @@ -718,16 +790,16 @@ public static com.google.cloud.vmmigration.v1.ReplicationCycle getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ReplicationCycle parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ReplicationCycle(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ReplicationCycle parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ReplicationCycle(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -742,6 +814,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.vmmigration.v1.ReplicationCycle getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ReplicationCycleOrBuilder.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ReplicationCycleOrBuilder.java similarity index 62% rename from owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ReplicationCycleOrBuilder.java rename to proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ReplicationCycleOrBuilder.java index 637b89e..32054a2 100644 --- a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ReplicationCycleOrBuilder.java +++ b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ReplicationCycleOrBuilder.java @@ -1,31 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; -public interface ReplicationCycleOrBuilder extends +public interface ReplicationCycleOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.ReplicationCycle) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The time the replication cycle has started.
    * 
* * .google.protobuf.Timestamp start_time = 1; + * * @return Whether the startTime field is set. */ boolean hasStartTime(); /** + * + * *
    * The time the replication cycle has started.
    * 
* * .google.protobuf.Timestamp start_time = 1; + * * @return The startTime. */ com.google.protobuf.Timestamp getStartTime(); /** + * + * *
    * The time the replication cycle has started.
    * 
@@ -35,11 +59,14 @@ public interface ReplicationCycleOrBuilder extends com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder(); /** + * + * *
    * The current progress in percentage of this cycle.
    * 
* * int32 progress_percent = 5; + * * @return The progressPercent. */ int getProgressPercent(); diff --git a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ReplicationSync.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ReplicationSync.java similarity index 69% rename from owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ReplicationSync.java rename to proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ReplicationSync.java index eee4356..1b329ec 100644 --- a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ReplicationSync.java +++ b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ReplicationSync.java @@ -1,39 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; /** + * + * *
  * ReplicationSync contain information about the last replica sync to the cloud.
  * 
* * Protobuf type {@code google.cloud.vmmigration.v1.ReplicationSync} */ -public final class ReplicationSync extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ReplicationSync extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.vmmigration.v1.ReplicationSync) ReplicationSyncOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ReplicationSync.newBuilder() to construct. private ReplicationSync(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ReplicationSync() { - } + + private ReplicationSync() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ReplicationSync(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ReplicationSync( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,26 +68,28 @@ private ReplicationSync( case 0: done = true; break; - case 10: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (lastSyncTime_ != null) { - subBuilder = lastSyncTime_.toBuilder(); + case 10: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (lastSyncTime_ != null) { + subBuilder = lastSyncTime_.toBuilder(); + } + lastSyncTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(lastSyncTime_); + lastSyncTime_ = subBuilder.buildPartial(); + } + + break; } - lastSyncTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(lastSyncTime_); - lastSyncTime_ = subBuilder.buildPartial(); - } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -79,35 +97,40 @@ private ReplicationSync( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ReplicationSync_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_ReplicationSync_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ReplicationSync_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_ReplicationSync_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.ReplicationSync.class, com.google.cloud.vmmigration.v1.ReplicationSync.Builder.class); + com.google.cloud.vmmigration.v1.ReplicationSync.class, + com.google.cloud.vmmigration.v1.ReplicationSync.Builder.class); } public static final int LAST_SYNC_TIME_FIELD_NUMBER = 1; private com.google.protobuf.Timestamp lastSyncTime_; /** + * + * *
    * The most updated snapshot created time in the source that finished
    * replication.
    * 
* * .google.protobuf.Timestamp last_sync_time = 1; + * * @return Whether the lastSyncTime field is set. */ @java.lang.Override @@ -115,19 +138,26 @@ public boolean hasLastSyncTime() { return lastSyncTime_ != null; } /** + * + * *
    * The most updated snapshot created time in the source that finished
    * replication.
    * 
* * .google.protobuf.Timestamp last_sync_time = 1; + * * @return The lastSyncTime. */ @java.lang.Override public com.google.protobuf.Timestamp getLastSyncTime() { - return lastSyncTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : lastSyncTime_; + return lastSyncTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : lastSyncTime_; } /** + * + * *
    * The most updated snapshot created time in the source that finished
    * replication.
@@ -141,6 +171,7 @@ public com.google.protobuf.TimestampOrBuilder getLastSyncTimeOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -152,8 +183,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 (lastSyncTime_ != null) {
       output.writeMessage(1, getLastSyncTime());
     }
@@ -167,8 +197,7 @@ public int getSerializedSize() {
 
     size = 0;
     if (lastSyncTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, getLastSyncTime());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getLastSyncTime());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -178,17 +207,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.vmmigration.v1.ReplicationSync)) {
       return super.equals(obj);
     }
-    com.google.cloud.vmmigration.v1.ReplicationSync other = (com.google.cloud.vmmigration.v1.ReplicationSync) obj;
+    com.google.cloud.vmmigration.v1.ReplicationSync other =
+        (com.google.cloud.vmmigration.v1.ReplicationSync) obj;
 
     if (hasLastSyncTime() != other.hasLastSyncTime()) return false;
     if (hasLastSyncTime()) {
-      if (!getLastSyncTime()
-          .equals(other.getLastSyncTime())) return false;
+      if (!getLastSyncTime().equals(other.getLastSyncTime())) return false;
     }
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -210,118 +239,127 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.vmmigration.v1.ReplicationSync parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.cloud.vmmigration.v1.ReplicationSync parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.vmmigration.v1.ReplicationSync 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.vmmigration.v1.ReplicationSync parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.vmmigration.v1.ReplicationSync 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.vmmigration.v1.ReplicationSync parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.vmmigration.v1.ReplicationSync 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.vmmigration.v1.ReplicationSync parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.vmmigration.v1.ReplicationSync 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.vmmigration.v1.ReplicationSync parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.cloud.vmmigration.v1.ReplicationSync parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.vmmigration.v1.ReplicationSync 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.vmmigration.v1.ReplicationSync 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.vmmigration.v1.ReplicationSync 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.vmmigration.v1.ReplicationSync 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;
   }
   /**
+   *
+   *
    * 
    * ReplicationSync contain information about the last replica sync to the cloud.
    * 
* * Protobuf type {@code google.cloud.vmmigration.v1.ReplicationSync} */ - 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.vmmigration.v1.ReplicationSync) com.google.cloud.vmmigration.v1.ReplicationSyncOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ReplicationSync_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_ReplicationSync_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ReplicationSync_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_ReplicationSync_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.ReplicationSync.class, com.google.cloud.vmmigration.v1.ReplicationSync.Builder.class); + com.google.cloud.vmmigration.v1.ReplicationSync.class, + com.google.cloud.vmmigration.v1.ReplicationSync.Builder.class); } // Construct using com.google.cloud.vmmigration.v1.ReplicationSync.newBuilder() @@ -329,16 +367,15 @@ 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) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -352,9 +389,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ReplicationSync_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_ReplicationSync_descriptor; } @java.lang.Override @@ -373,7 +410,8 @@ public com.google.cloud.vmmigration.v1.ReplicationSync build() { @java.lang.Override public com.google.cloud.vmmigration.v1.ReplicationSync buildPartial() { - com.google.cloud.vmmigration.v1.ReplicationSync result = new com.google.cloud.vmmigration.v1.ReplicationSync(this); + com.google.cloud.vmmigration.v1.ReplicationSync result = + new com.google.cloud.vmmigration.v1.ReplicationSync(this); if (lastSyncTimeBuilder_ == null) { result.lastSyncTime_ = lastSyncTime_; } else { @@ -387,38 +425,39 @@ public com.google.cloud.vmmigration.v1.ReplicationSync buildPartial() { 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.vmmigration.v1.ReplicationSync) { - return mergeFrom((com.google.cloud.vmmigration.v1.ReplicationSync)other); + return mergeFrom((com.google.cloud.vmmigration.v1.ReplicationSync) other); } else { super.mergeFrom(other); return this; @@ -426,7 +465,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.vmmigration.v1.ReplicationSync other) { - if (other == com.google.cloud.vmmigration.v1.ReplicationSync.getDefaultInstance()) return this; + if (other == com.google.cloud.vmmigration.v1.ReplicationSync.getDefaultInstance()) + return this; if (other.hasLastSyncTime()) { mergeLastSyncTime(other.getLastSyncTime()); } @@ -461,36 +501,49 @@ public Builder mergeFrom( private com.google.protobuf.Timestamp lastSyncTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> lastSyncTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + lastSyncTimeBuilder_; /** + * + * *
      * The most updated snapshot created time in the source that finished
      * replication.
      * 
* * .google.protobuf.Timestamp last_sync_time = 1; + * * @return Whether the lastSyncTime field is set. */ public boolean hasLastSyncTime() { return lastSyncTimeBuilder_ != null || lastSyncTime_ != null; } /** + * + * *
      * The most updated snapshot created time in the source that finished
      * replication.
      * 
* * .google.protobuf.Timestamp last_sync_time = 1; + * * @return The lastSyncTime. */ public com.google.protobuf.Timestamp getLastSyncTime() { if (lastSyncTimeBuilder_ == null) { - return lastSyncTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : lastSyncTime_; + return lastSyncTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : lastSyncTime_; } else { return lastSyncTimeBuilder_.getMessage(); } } /** + * + * *
      * The most updated snapshot created time in the source that finished
      * replication.
@@ -512,6 +565,8 @@ public Builder setLastSyncTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The most updated snapshot created time in the source that finished
      * replication.
@@ -519,8 +574,7 @@ public Builder setLastSyncTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp last_sync_time = 1;
      */
-    public Builder setLastSyncTime(
-        com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setLastSyncTime(com.google.protobuf.Timestamp.Builder builderForValue) {
       if (lastSyncTimeBuilder_ == null) {
         lastSyncTime_ = builderForValue.build();
         onChanged();
@@ -531,6 +585,8 @@ public Builder setLastSyncTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * The most updated snapshot created time in the source that finished
      * replication.
@@ -542,7 +598,9 @@ public Builder mergeLastSyncTime(com.google.protobuf.Timestamp value) {
       if (lastSyncTimeBuilder_ == null) {
         if (lastSyncTime_ != null) {
           lastSyncTime_ =
-            com.google.protobuf.Timestamp.newBuilder(lastSyncTime_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Timestamp.newBuilder(lastSyncTime_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           lastSyncTime_ = value;
         }
@@ -554,6 +612,8 @@ public Builder mergeLastSyncTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The most updated snapshot created time in the source that finished
      * replication.
@@ -573,6 +633,8 @@ public Builder clearLastSyncTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The most updated snapshot created time in the source that finished
      * replication.
@@ -581,11 +643,13 @@ public Builder clearLastSyncTime() {
      * .google.protobuf.Timestamp last_sync_time = 1;
      */
     public com.google.protobuf.Timestamp.Builder getLastSyncTimeBuilder() {
-      
+
       onChanged();
       return getLastSyncTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The most updated snapshot created time in the source that finished
      * replication.
@@ -597,11 +661,14 @@ public com.google.protobuf.TimestampOrBuilder getLastSyncTimeOrBuilder() {
       if (lastSyncTimeBuilder_ != null) {
         return lastSyncTimeBuilder_.getMessageOrBuilder();
       } else {
-        return lastSyncTime_ == null ?
-            com.google.protobuf.Timestamp.getDefaultInstance() : lastSyncTime_;
+        return lastSyncTime_ == null
+            ? com.google.protobuf.Timestamp.getDefaultInstance()
+            : lastSyncTime_;
       }
     }
     /**
+     *
+     *
      * 
      * The most updated snapshot created time in the source that finished
      * replication.
@@ -610,21 +677,24 @@ public com.google.protobuf.TimestampOrBuilder getLastSyncTimeOrBuilder() {
      * .google.protobuf.Timestamp last_sync_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>
         getLastSyncTimeFieldBuilder() {
       if (lastSyncTimeBuilder_ == null) {
-        lastSyncTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
-                getLastSyncTime(),
-                getParentForChildren(),
-                isClean());
+        lastSyncTimeBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Timestamp,
+                com.google.protobuf.Timestamp.Builder,
+                com.google.protobuf.TimestampOrBuilder>(
+                getLastSyncTime(), getParentForChildren(), isClean());
         lastSyncTime_ = null;
       }
       return lastSyncTimeBuilder_;
     }
+
     @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);
     }
 
@@ -634,12 +704,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.vmmigration.v1.ReplicationSync)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.vmmigration.v1.ReplicationSync)
   private static final com.google.cloud.vmmigration.v1.ReplicationSync DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.vmmigration.v1.ReplicationSync();
   }
@@ -648,16 +718,16 @@ public static com.google.cloud.vmmigration.v1.ReplicationSync getDefaultInstance
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public ReplicationSync parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      return new ReplicationSync(input, extensionRegistry);
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public ReplicationSync parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          return new ReplicationSync(input, extensionRegistry);
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -672,6 +742,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.vmmigration.v1.ReplicationSync getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ReplicationSyncOrBuilder.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ReplicationSyncOrBuilder.java
similarity index 61%
rename from owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ReplicationSyncOrBuilder.java
rename to proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ReplicationSyncOrBuilder.java
index 152b043..dcad66b 100644
--- a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ReplicationSyncOrBuilder.java
+++ b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ReplicationSyncOrBuilder.java
@@ -1,33 +1,57 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/vmmigration/v1/vmmigration.proto
 
 package com.google.cloud.vmmigration.v1;
 
-public interface ReplicationSyncOrBuilder extends
+public interface ReplicationSyncOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.ReplicationSync)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * The most updated snapshot created time in the source that finished
    * replication.
    * 
* * .google.protobuf.Timestamp last_sync_time = 1; + * * @return Whether the lastSyncTime field is set. */ boolean hasLastSyncTime(); /** + * + * *
    * The most updated snapshot created time in the source that finished
    * replication.
    * 
* * .google.protobuf.Timestamp last_sync_time = 1; + * * @return The lastSyncTime. */ com.google.protobuf.Timestamp getLastSyncTime(); /** + * + * *
    * The most updated snapshot created time in the source that finished
    * replication.
diff --git a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ResumeMigrationRequest.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ResumeMigrationRequest.java
similarity index 64%
rename from owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ResumeMigrationRequest.java
rename to proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ResumeMigrationRequest.java
index 3af03b5..3141198 100644
--- a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ResumeMigrationRequest.java
+++ b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ResumeMigrationRequest.java
@@ -1,40 +1,57 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/vmmigration/v1/vmmigration.proto
 
 package com.google.cloud.vmmigration.v1;
 
 /**
+ *
+ *
  * 
  * Request message for 'ResumeMigration' request.
  * 
* * Protobuf type {@code google.cloud.vmmigration.v1.ResumeMigrationRequest} */ -public final class ResumeMigrationRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ResumeMigrationRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.vmmigration.v1.ResumeMigrationRequest) ResumeMigrationRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ResumeMigrationRequest.newBuilder() to construct. private ResumeMigrationRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ResumeMigrationRequest() { migratingVm_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ResumeMigrationRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ResumeMigrationRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private ResumeMigrationRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - migratingVm_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + migratingVm_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,34 +91,41 @@ private ResumeMigrationRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ResumeMigrationRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_ResumeMigrationRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ResumeMigrationRequest_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_ResumeMigrationRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.ResumeMigrationRequest.class, com.google.cloud.vmmigration.v1.ResumeMigrationRequest.Builder.class); + com.google.cloud.vmmigration.v1.ResumeMigrationRequest.class, + com.google.cloud.vmmigration.v1.ResumeMigrationRequest.Builder.class); } public static final int MIGRATING_VM_FIELD_NUMBER = 1; private volatile java.lang.Object migratingVm_; /** + * + * *
    * Required. The name of the MigratingVm.
    * 
* - * string migrating_vm = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string migrating_vm = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The migratingVm. */ @java.lang.Override @@ -109,29 +134,31 @@ public java.lang.String getMigratingVm() { 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(); migratingVm_ = s; return s; } } /** + * + * *
    * Required. The name of the MigratingVm.
    * 
* - * string migrating_vm = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string migrating_vm = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for migratingVm. */ @java.lang.Override - public com.google.protobuf.ByteString - getMigratingVmBytes() { + public com.google.protobuf.ByteString getMigratingVmBytes() { java.lang.Object ref = migratingVm_; 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); migratingVm_ = b; return b; } else { @@ -140,6 +167,7 @@ public java.lang.String getMigratingVm() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,8 +179,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(migratingVm_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, migratingVm_); } @@ -176,15 +203,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.vmmigration.v1.ResumeMigrationRequest)) { return super.equals(obj); } - com.google.cloud.vmmigration.v1.ResumeMigrationRequest other = (com.google.cloud.vmmigration.v1.ResumeMigrationRequest) obj; + com.google.cloud.vmmigration.v1.ResumeMigrationRequest other = + (com.google.cloud.vmmigration.v1.ResumeMigrationRequest) obj; - if (!getMigratingVm() - .equals(other.getMigratingVm())) return false; + if (!getMigratingVm().equals(other.getMigratingVm())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -204,117 +231,127 @@ public int hashCode() { } public static com.google.cloud.vmmigration.v1.ResumeMigrationRequest 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.vmmigration.v1.ResumeMigrationRequest 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.vmmigration.v1.ResumeMigrationRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.vmmigration.v1.ResumeMigrationRequest 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.vmmigration.v1.ResumeMigrationRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.vmmigration.v1.ResumeMigrationRequest 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.vmmigration.v1.ResumeMigrationRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.vmmigration.v1.ResumeMigrationRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.vmmigration.v1.ResumeMigrationRequest 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.vmmigration.v1.ResumeMigrationRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.vmmigration.v1.ResumeMigrationRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.vmmigration.v1.ResumeMigrationRequest 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.vmmigration.v1.ResumeMigrationRequest 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.vmmigration.v1.ResumeMigrationRequest 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.vmmigration.v1.ResumeMigrationRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.vmmigration.v1.ResumeMigrationRequest 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 message for 'ResumeMigration' request.
    * 
* * Protobuf type {@code google.cloud.vmmigration.v1.ResumeMigrationRequest} */ - 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.vmmigration.v1.ResumeMigrationRequest) com.google.cloud.vmmigration.v1.ResumeMigrationRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ResumeMigrationRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_ResumeMigrationRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ResumeMigrationRequest_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_ResumeMigrationRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.ResumeMigrationRequest.class, com.google.cloud.vmmigration.v1.ResumeMigrationRequest.Builder.class); + com.google.cloud.vmmigration.v1.ResumeMigrationRequest.class, + com.google.cloud.vmmigration.v1.ResumeMigrationRequest.Builder.class); } // Construct using com.google.cloud.vmmigration.v1.ResumeMigrationRequest.newBuilder() @@ -322,16 +359,15 @@ 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) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -341,9 +377,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ResumeMigrationRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_ResumeMigrationRequest_descriptor; } @java.lang.Override @@ -362,7 +398,8 @@ public com.google.cloud.vmmigration.v1.ResumeMigrationRequest build() { @java.lang.Override public com.google.cloud.vmmigration.v1.ResumeMigrationRequest buildPartial() { - com.google.cloud.vmmigration.v1.ResumeMigrationRequest result = new com.google.cloud.vmmigration.v1.ResumeMigrationRequest(this); + com.google.cloud.vmmigration.v1.ResumeMigrationRequest result = + new com.google.cloud.vmmigration.v1.ResumeMigrationRequest(this); result.migratingVm_ = migratingVm_; onBuilt(); return result; @@ -372,38 +409,39 @@ public com.google.cloud.vmmigration.v1.ResumeMigrationRequest buildPartial() { 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.vmmigration.v1.ResumeMigrationRequest) { - return mergeFrom((com.google.cloud.vmmigration.v1.ResumeMigrationRequest)other); + return mergeFrom((com.google.cloud.vmmigration.v1.ResumeMigrationRequest) other); } else { super.mergeFrom(other); return this; @@ -411,7 +449,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.vmmigration.v1.ResumeMigrationRequest other) { - if (other == com.google.cloud.vmmigration.v1.ResumeMigrationRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.vmmigration.v1.ResumeMigrationRequest.getDefaultInstance()) + return this; if (!other.getMigratingVm().isEmpty()) { migratingVm_ = other.migratingVm_; onChanged(); @@ -435,7 +474,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.vmmigration.v1.ResumeMigrationRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.vmmigration.v1.ResumeMigrationRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -447,18 +487,22 @@ public Builder mergeFrom( private java.lang.Object migratingVm_ = ""; /** + * + * *
      * Required. The name of the MigratingVm.
      * 
* - * string migrating_vm = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string migrating_vm = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The migratingVm. */ public java.lang.String getMigratingVm() { java.lang.Object ref = migratingVm_; 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(); migratingVm_ = s; return s; @@ -467,20 +511,23 @@ public java.lang.String getMigratingVm() { } } /** + * + * *
      * Required. The name of the MigratingVm.
      * 
* - * string migrating_vm = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string migrating_vm = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for migratingVm. */ - public com.google.protobuf.ByteString - getMigratingVmBytes() { + public com.google.protobuf.ByteString getMigratingVmBytes() { java.lang.Object ref = migratingVm_; 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); migratingVm_ = b; return b; } else { @@ -488,61 +535,74 @@ public java.lang.String getMigratingVm() { } } /** + * + * *
      * Required. The name of the MigratingVm.
      * 
* - * string migrating_vm = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string migrating_vm = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The migratingVm to set. * @return This builder for chaining. */ - public Builder setMigratingVm( - java.lang.String value) { + public Builder setMigratingVm(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + migratingVm_ = value; onChanged(); return this; } /** + * + * *
      * Required. The name of the MigratingVm.
      * 
* - * string migrating_vm = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string migrating_vm = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearMigratingVm() { - + migratingVm_ = getDefaultInstance().getMigratingVm(); onChanged(); return this; } /** + * + * *
      * Required. The name of the MigratingVm.
      * 
* - * string migrating_vm = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string migrating_vm = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for migratingVm to set. * @return This builder for chaining. */ - public Builder setMigratingVmBytes( - com.google.protobuf.ByteString value) { + public Builder setMigratingVmBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + migratingVm_ = 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); } @@ -552,12 +612,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.vmmigration.v1.ResumeMigrationRequest) } // @@protoc_insertion_point(class_scope:google.cloud.vmmigration.v1.ResumeMigrationRequest) private static final com.google.cloud.vmmigration.v1.ResumeMigrationRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.vmmigration.v1.ResumeMigrationRequest(); } @@ -566,16 +626,16 @@ public static com.google.cloud.vmmigration.v1.ResumeMigrationRequest getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ResumeMigrationRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ResumeMigrationRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ResumeMigrationRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ResumeMigrationRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -590,6 +650,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.vmmigration.v1.ResumeMigrationRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ResumeMigrationRequestOrBuilder.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ResumeMigrationRequestOrBuilder.java new file mode 100644 index 0000000..ea7d54c --- /dev/null +++ b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ResumeMigrationRequestOrBuilder.java @@ -0,0 +1,54 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/vmmigration/v1/vmmigration.proto + +package com.google.cloud.vmmigration.v1; + +public interface ResumeMigrationRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.ResumeMigrationRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the MigratingVm.
+   * 
+ * + * + * string migrating_vm = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The migratingVm. + */ + java.lang.String getMigratingVm(); + /** + * + * + *
+   * Required. The name of the MigratingVm.
+   * 
+ * + * + * string migrating_vm = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for migratingVm. + */ + com.google.protobuf.ByteString getMigratingVmBytes(); +} diff --git a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ResumeMigrationResponse.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ResumeMigrationResponse.java similarity index 65% rename from owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ResumeMigrationResponse.java rename to proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ResumeMigrationResponse.java index f75e020..b291ac0 100644 --- a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ResumeMigrationResponse.java +++ b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ResumeMigrationResponse.java @@ -1,39 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; /** + * + * *
  * Response message for 'ResumeMigration' request.
  * 
* * Protobuf type {@code google.cloud.vmmigration.v1.ResumeMigrationResponse} */ -public final class ResumeMigrationResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ResumeMigrationResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.vmmigration.v1.ResumeMigrationResponse) ResumeMigrationResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ResumeMigrationResponse.newBuilder() to construct. private ResumeMigrationResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ResumeMigrationResponse() { - } + + private ResumeMigrationResponse() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ResumeMigrationResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ResumeMigrationResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,13 +68,13 @@ private ResumeMigrationResponse( case 0: done = true; break; - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -66,27 +82,30 @@ private ResumeMigrationResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ResumeMigrationResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_ResumeMigrationResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ResumeMigrationResponse_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_ResumeMigrationResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.ResumeMigrationResponse.class, com.google.cloud.vmmigration.v1.ResumeMigrationResponse.Builder.class); + com.google.cloud.vmmigration.v1.ResumeMigrationResponse.class, + com.google.cloud.vmmigration.v1.ResumeMigrationResponse.Builder.class); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -98,8 +117,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 { unknownFields.writeTo(output); } @@ -117,12 +135,13 @@ 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.vmmigration.v1.ResumeMigrationResponse)) { return super.equals(obj); } - com.google.cloud.vmmigration.v1.ResumeMigrationResponse other = (com.google.cloud.vmmigration.v1.ResumeMigrationResponse) obj; + com.google.cloud.vmmigration.v1.ResumeMigrationResponse other = + (com.google.cloud.vmmigration.v1.ResumeMigrationResponse) obj; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -141,117 +160,127 @@ public int hashCode() { } public static com.google.cloud.vmmigration.v1.ResumeMigrationResponse 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.vmmigration.v1.ResumeMigrationResponse 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.vmmigration.v1.ResumeMigrationResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.vmmigration.v1.ResumeMigrationResponse 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.vmmigration.v1.ResumeMigrationResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.vmmigration.v1.ResumeMigrationResponse 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.vmmigration.v1.ResumeMigrationResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.vmmigration.v1.ResumeMigrationResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.vmmigration.v1.ResumeMigrationResponse 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.vmmigration.v1.ResumeMigrationResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.vmmigration.v1.ResumeMigrationResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.vmmigration.v1.ResumeMigrationResponse 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.vmmigration.v1.ResumeMigrationResponse 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.vmmigration.v1.ResumeMigrationResponse 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.vmmigration.v1.ResumeMigrationResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.vmmigration.v1.ResumeMigrationResponse 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; } /** + * + * *
    * Response message for 'ResumeMigration' request.
    * 
* * Protobuf type {@code google.cloud.vmmigration.v1.ResumeMigrationResponse} */ - 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.vmmigration.v1.ResumeMigrationResponse) com.google.cloud.vmmigration.v1.ResumeMigrationResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ResumeMigrationResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_ResumeMigrationResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ResumeMigrationResponse_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_ResumeMigrationResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.ResumeMigrationResponse.class, com.google.cloud.vmmigration.v1.ResumeMigrationResponse.Builder.class); + com.google.cloud.vmmigration.v1.ResumeMigrationResponse.class, + com.google.cloud.vmmigration.v1.ResumeMigrationResponse.Builder.class); } // Construct using com.google.cloud.vmmigration.v1.ResumeMigrationResponse.newBuilder() @@ -259,16 +288,15 @@ 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) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -276,9 +304,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_ResumeMigrationResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_ResumeMigrationResponse_descriptor; } @java.lang.Override @@ -297,7 +325,8 @@ public com.google.cloud.vmmigration.v1.ResumeMigrationResponse build() { @java.lang.Override public com.google.cloud.vmmigration.v1.ResumeMigrationResponse buildPartial() { - com.google.cloud.vmmigration.v1.ResumeMigrationResponse result = new com.google.cloud.vmmigration.v1.ResumeMigrationResponse(this); + com.google.cloud.vmmigration.v1.ResumeMigrationResponse result = + new com.google.cloud.vmmigration.v1.ResumeMigrationResponse(this); onBuilt(); return result; } @@ -306,38 +335,39 @@ public com.google.cloud.vmmigration.v1.ResumeMigrationResponse buildPartial() { 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.vmmigration.v1.ResumeMigrationResponse) { - return mergeFrom((com.google.cloud.vmmigration.v1.ResumeMigrationResponse)other); + return mergeFrom((com.google.cloud.vmmigration.v1.ResumeMigrationResponse) other); } else { super.mergeFrom(other); return this; @@ -345,7 +375,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.vmmigration.v1.ResumeMigrationResponse other) { - if (other == com.google.cloud.vmmigration.v1.ResumeMigrationResponse.getDefaultInstance()) return this; + if (other == com.google.cloud.vmmigration.v1.ResumeMigrationResponse.getDefaultInstance()) + return this; this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -365,7 +396,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.vmmigration.v1.ResumeMigrationResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.vmmigration.v1.ResumeMigrationResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -374,9 +406,9 @@ public Builder mergeFrom( } 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); } @@ -386,12 +418,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.vmmigration.v1.ResumeMigrationResponse) } // @@protoc_insertion_point(class_scope:google.cloud.vmmigration.v1.ResumeMigrationResponse) private static final com.google.cloud.vmmigration.v1.ResumeMigrationResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.vmmigration.v1.ResumeMigrationResponse(); } @@ -400,16 +432,16 @@ public static com.google.cloud.vmmigration.v1.ResumeMigrationResponse getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ResumeMigrationResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ResumeMigrationResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ResumeMigrationResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ResumeMigrationResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -424,6 +456,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.vmmigration.v1.ResumeMigrationResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ResumeMigrationResponseOrBuilder.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ResumeMigrationResponseOrBuilder.java new file mode 100644 index 0000000..406a012 --- /dev/null +++ b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ResumeMigrationResponseOrBuilder.java @@ -0,0 +1,24 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/vmmigration/v1/vmmigration.proto + +package com.google.cloud.vmmigration.v1; + +public interface ResumeMigrationResponseOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.ResumeMigrationResponse) + com.google.protobuf.MessageOrBuilder {} diff --git a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/SchedulePolicy.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/SchedulePolicy.java similarity index 70% rename from owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/SchedulePolicy.java rename to proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/SchedulePolicy.java index 86d1b2f..0334614 100644 --- a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/SchedulePolicy.java +++ b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/SchedulePolicy.java @@ -1,39 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; /** + * + * *
  * A policy for scheduling replications.
  * 
* * Protobuf type {@code google.cloud.vmmigration.v1.SchedulePolicy} */ -public final class SchedulePolicy extends - com.google.protobuf.GeneratedMessageV3 implements +public final class SchedulePolicy extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.vmmigration.v1.SchedulePolicy) SchedulePolicyOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use SchedulePolicy.newBuilder() to construct. private SchedulePolicy(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private SchedulePolicy() { - } + + private SchedulePolicy() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new SchedulePolicy(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private SchedulePolicy( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,31 +68,33 @@ private SchedulePolicy( case 0: done = true; break; - case 10: { - com.google.protobuf.Duration.Builder subBuilder = null; - if (idleDuration_ != null) { - subBuilder = idleDuration_.toBuilder(); + case 10: + { + com.google.protobuf.Duration.Builder subBuilder = null; + if (idleDuration_ != null) { + subBuilder = idleDuration_.toBuilder(); + } + idleDuration_ = + input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(idleDuration_); + idleDuration_ = subBuilder.buildPartial(); + } + + break; } - idleDuration_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(idleDuration_); - idleDuration_ = subBuilder.buildPartial(); + case 16: + { + skipOsAdaptation_ = input.readBool(); + break; } - - break; - } - case 16: { - - skipOsAdaptation_ = input.readBool(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -84,34 +102,39 @@ private SchedulePolicy( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_SchedulePolicy_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_SchedulePolicy_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_SchedulePolicy_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_SchedulePolicy_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.SchedulePolicy.class, com.google.cloud.vmmigration.v1.SchedulePolicy.Builder.class); + com.google.cloud.vmmigration.v1.SchedulePolicy.class, + com.google.cloud.vmmigration.v1.SchedulePolicy.Builder.class); } public static final int IDLE_DURATION_FIELD_NUMBER = 1; private com.google.protobuf.Duration idleDuration_; /** + * + * *
    * The idle duration between replication stages.
    * 
* * .google.protobuf.Duration idle_duration = 1; + * * @return Whether the idleDuration field is set. */ @java.lang.Override @@ -119,18 +142,25 @@ public boolean hasIdleDuration() { return idleDuration_ != null; } /** + * + * *
    * The idle duration between replication stages.
    * 
* * .google.protobuf.Duration idle_duration = 1; + * * @return The idleDuration. */ @java.lang.Override public com.google.protobuf.Duration getIdleDuration() { - return idleDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : idleDuration_; + return idleDuration_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : idleDuration_; } /** + * + * *
    * The idle duration between replication stages.
    * 
@@ -145,6 +175,8 @@ public com.google.protobuf.DurationOrBuilder getIdleDurationOrBuilder() { public static final int SKIP_OS_ADAPTATION_FIELD_NUMBER = 2; private boolean skipOsAdaptation_; /** + * + * *
    * A flag to indicate whether to skip OS adaptation during the replication
    * sync. OS adaptation is a process where the VM's operating system undergoes
@@ -152,6 +184,7 @@ public com.google.protobuf.DurationOrBuilder getIdleDurationOrBuilder() {
    * 
* * bool skip_os_adaptation = 2; + * * @return The skipOsAdaptation. */ @java.lang.Override @@ -160,6 +193,7 @@ public boolean getSkipOsAdaptation() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -171,8 +205,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 (idleDuration_ != null) { output.writeMessage(1, getIdleDuration()); } @@ -189,12 +222,10 @@ public int getSerializedSize() { size = 0; if (idleDuration_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getIdleDuration()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getIdleDuration()); } if (skipOsAdaptation_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(2, skipOsAdaptation_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, skipOsAdaptation_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -204,20 +235,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.vmmigration.v1.SchedulePolicy)) { return super.equals(obj); } - com.google.cloud.vmmigration.v1.SchedulePolicy other = (com.google.cloud.vmmigration.v1.SchedulePolicy) obj; + com.google.cloud.vmmigration.v1.SchedulePolicy other = + (com.google.cloud.vmmigration.v1.SchedulePolicy) obj; if (hasIdleDuration() != other.hasIdleDuration()) return false; if (hasIdleDuration()) { - if (!getIdleDuration() - .equals(other.getIdleDuration())) return false; + if (!getIdleDuration().equals(other.getIdleDuration())) return false; } - if (getSkipOsAdaptation() - != other.getSkipOsAdaptation()) return false; + if (getSkipOsAdaptation() != other.getSkipOsAdaptation()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -234,125 +264,133 @@ public int hashCode() { hash = (53 * hash) + getIdleDuration().hashCode(); } hash = (37 * hash) + SKIP_OS_ADAPTATION_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getSkipOsAdaptation()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getSkipOsAdaptation()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.cloud.vmmigration.v1.SchedulePolicy parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.vmmigration.v1.SchedulePolicy parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.vmmigration.v1.SchedulePolicy 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.vmmigration.v1.SchedulePolicy parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.vmmigration.v1.SchedulePolicy 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.vmmigration.v1.SchedulePolicy parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.vmmigration.v1.SchedulePolicy 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.vmmigration.v1.SchedulePolicy parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.vmmigration.v1.SchedulePolicy 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.vmmigration.v1.SchedulePolicy parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.vmmigration.v1.SchedulePolicy parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.vmmigration.v1.SchedulePolicy 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.vmmigration.v1.SchedulePolicy 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.vmmigration.v1.SchedulePolicy 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.vmmigration.v1.SchedulePolicy 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 policy for scheduling replications.
    * 
* * Protobuf type {@code google.cloud.vmmigration.v1.SchedulePolicy} */ - 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.vmmigration.v1.SchedulePolicy) com.google.cloud.vmmigration.v1.SchedulePolicyOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_SchedulePolicy_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_SchedulePolicy_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_SchedulePolicy_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_SchedulePolicy_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.SchedulePolicy.class, com.google.cloud.vmmigration.v1.SchedulePolicy.Builder.class); + com.google.cloud.vmmigration.v1.SchedulePolicy.class, + com.google.cloud.vmmigration.v1.SchedulePolicy.Builder.class); } // Construct using com.google.cloud.vmmigration.v1.SchedulePolicy.newBuilder() @@ -360,16 +398,15 @@ 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) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -385,9 +422,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_SchedulePolicy_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_SchedulePolicy_descriptor; } @java.lang.Override @@ -406,7 +443,8 @@ public com.google.cloud.vmmigration.v1.SchedulePolicy build() { @java.lang.Override public com.google.cloud.vmmigration.v1.SchedulePolicy buildPartial() { - com.google.cloud.vmmigration.v1.SchedulePolicy result = new com.google.cloud.vmmigration.v1.SchedulePolicy(this); + com.google.cloud.vmmigration.v1.SchedulePolicy result = + new com.google.cloud.vmmigration.v1.SchedulePolicy(this); if (idleDurationBuilder_ == null) { result.idleDuration_ = idleDuration_; } else { @@ -421,38 +459,39 @@ public com.google.cloud.vmmigration.v1.SchedulePolicy buildPartial() { 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.vmmigration.v1.SchedulePolicy) { - return mergeFrom((com.google.cloud.vmmigration.v1.SchedulePolicy)other); + return mergeFrom((com.google.cloud.vmmigration.v1.SchedulePolicy) other); } else { super.mergeFrom(other); return this; @@ -498,34 +537,47 @@ public Builder mergeFrom( private com.google.protobuf.Duration idleDuration_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> idleDurationBuilder_; + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder> + idleDurationBuilder_; /** + * + * *
      * The idle duration between replication stages.
      * 
* * .google.protobuf.Duration idle_duration = 1; + * * @return Whether the idleDuration field is set. */ public boolean hasIdleDuration() { return idleDurationBuilder_ != null || idleDuration_ != null; } /** + * + * *
      * The idle duration between replication stages.
      * 
* * .google.protobuf.Duration idle_duration = 1; + * * @return The idleDuration. */ public com.google.protobuf.Duration getIdleDuration() { if (idleDurationBuilder_ == null) { - return idleDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : idleDuration_; + return idleDuration_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : idleDuration_; } else { return idleDurationBuilder_.getMessage(); } } /** + * + * *
      * The idle duration between replication stages.
      * 
@@ -546,14 +598,15 @@ public Builder setIdleDuration(com.google.protobuf.Duration value) { return this; } /** + * + * *
      * The idle duration between replication stages.
      * 
* * .google.protobuf.Duration idle_duration = 1; */ - public Builder setIdleDuration( - com.google.protobuf.Duration.Builder builderForValue) { + public Builder setIdleDuration(com.google.protobuf.Duration.Builder builderForValue) { if (idleDurationBuilder_ == null) { idleDuration_ = builderForValue.build(); onChanged(); @@ -564,6 +617,8 @@ public Builder setIdleDuration( return this; } /** + * + * *
      * The idle duration between replication stages.
      * 
@@ -574,7 +629,9 @@ public Builder mergeIdleDuration(com.google.protobuf.Duration value) { if (idleDurationBuilder_ == null) { if (idleDuration_ != null) { idleDuration_ = - com.google.protobuf.Duration.newBuilder(idleDuration_).mergeFrom(value).buildPartial(); + com.google.protobuf.Duration.newBuilder(idleDuration_) + .mergeFrom(value) + .buildPartial(); } else { idleDuration_ = value; } @@ -586,6 +643,8 @@ public Builder mergeIdleDuration(com.google.protobuf.Duration value) { return this; } /** + * + * *
      * The idle duration between replication stages.
      * 
@@ -604,6 +663,8 @@ public Builder clearIdleDuration() { return this; } /** + * + * *
      * The idle duration between replication stages.
      * 
@@ -611,11 +672,13 @@ public Builder clearIdleDuration() { * .google.protobuf.Duration idle_duration = 1; */ public com.google.protobuf.Duration.Builder getIdleDurationBuilder() { - + onChanged(); return getIdleDurationFieldBuilder().getBuilder(); } /** + * + * *
      * The idle duration between replication stages.
      * 
@@ -626,11 +689,14 @@ public com.google.protobuf.DurationOrBuilder getIdleDurationOrBuilder() { if (idleDurationBuilder_ != null) { return idleDurationBuilder_.getMessageOrBuilder(); } else { - return idleDuration_ == null ? - com.google.protobuf.Duration.getDefaultInstance() : idleDuration_; + return idleDuration_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : idleDuration_; } } /** + * + * *
      * The idle duration between replication stages.
      * 
@@ -638,21 +704,26 @@ public com.google.protobuf.DurationOrBuilder getIdleDurationOrBuilder() { * .google.protobuf.Duration idle_duration = 1; */ 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> getIdleDurationFieldBuilder() { if (idleDurationBuilder_ == null) { - idleDurationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>( - getIdleDuration(), - getParentForChildren(), - isClean()); + idleDurationBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder>( + getIdleDuration(), getParentForChildren(), isClean()); idleDuration_ = null; } return idleDurationBuilder_; } - private boolean skipOsAdaptation_ ; + private boolean skipOsAdaptation_; /** + * + * *
      * A flag to indicate whether to skip OS adaptation during the replication
      * sync. OS adaptation is a process where the VM's operating system undergoes
@@ -660,6 +731,7 @@ public com.google.protobuf.DurationOrBuilder getIdleDurationOrBuilder() {
      * 
* * bool skip_os_adaptation = 2; + * * @return The skipOsAdaptation. */ @java.lang.Override @@ -667,6 +739,8 @@ public boolean getSkipOsAdaptation() { return skipOsAdaptation_; } /** + * + * *
      * A flag to indicate whether to skip OS adaptation during the replication
      * sync. OS adaptation is a process where the VM's operating system undergoes
@@ -674,16 +748,19 @@ public boolean getSkipOsAdaptation() {
      * 
* * bool skip_os_adaptation = 2; + * * @param value The skipOsAdaptation to set. * @return This builder for chaining. */ public Builder setSkipOsAdaptation(boolean value) { - + skipOsAdaptation_ = value; onChanged(); return this; } /** + * + * *
      * A flag to indicate whether to skip OS adaptation during the replication
      * sync. OS adaptation is a process where the VM's operating system undergoes
@@ -691,17 +768,18 @@ public Builder setSkipOsAdaptation(boolean value) {
      * 
* * bool skip_os_adaptation = 2; + * * @return This builder for chaining. */ public Builder clearSkipOsAdaptation() { - + skipOsAdaptation_ = false; 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); } @@ -711,12 +789,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.vmmigration.v1.SchedulePolicy) } // @@protoc_insertion_point(class_scope:google.cloud.vmmigration.v1.SchedulePolicy) private static final com.google.cloud.vmmigration.v1.SchedulePolicy DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.vmmigration.v1.SchedulePolicy(); } @@ -725,16 +803,16 @@ public static com.google.cloud.vmmigration.v1.SchedulePolicy getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SchedulePolicy parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new SchedulePolicy(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SchedulePolicy parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new SchedulePolicy(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -749,6 +827,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.vmmigration.v1.SchedulePolicy getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/SchedulePolicyOrBuilder.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/SchedulePolicyOrBuilder.java similarity index 66% rename from owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/SchedulePolicyOrBuilder.java rename to proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/SchedulePolicyOrBuilder.java index e83d7f5..21c33e7 100644 --- a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/SchedulePolicyOrBuilder.java +++ b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/SchedulePolicyOrBuilder.java @@ -1,31 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; -public interface SchedulePolicyOrBuilder extends +public interface SchedulePolicyOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.SchedulePolicy) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The idle duration between replication stages.
    * 
* * .google.protobuf.Duration idle_duration = 1; + * * @return Whether the idleDuration field is set. */ boolean hasIdleDuration(); /** + * + * *
    * The idle duration between replication stages.
    * 
* * .google.protobuf.Duration idle_duration = 1; + * * @return The idleDuration. */ com.google.protobuf.Duration getIdleDuration(); /** + * + * *
    * The idle duration between replication stages.
    * 
@@ -35,6 +59,8 @@ public interface SchedulePolicyOrBuilder extends com.google.protobuf.DurationOrBuilder getIdleDurationOrBuilder(); /** + * + * *
    * A flag to indicate whether to skip OS adaptation during the replication
    * sync. OS adaptation is a process where the VM's operating system undergoes
@@ -42,6 +68,7 @@ public interface SchedulePolicyOrBuilder extends
    * 
* * bool skip_os_adaptation = 2; + * * @return The skipOsAdaptation. */ boolean getSkipOsAdaptation(); diff --git a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/SchedulingNodeAffinity.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/SchedulingNodeAffinity.java similarity index 71% rename from owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/SchedulingNodeAffinity.java rename to proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/SchedulingNodeAffinity.java index 620cc1f..c8c5d80 100644 --- a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/SchedulingNodeAffinity.java +++ b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/SchedulingNodeAffinity.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; /** + * + * *
  * Node Affinity: the configuration of desired nodes onto which this Instance
  * could be scheduled. Based on
@@ -12,15 +29,16 @@
  *
  * Protobuf type {@code google.cloud.vmmigration.v1.SchedulingNodeAffinity}
  */
-public final class SchedulingNodeAffinity extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class SchedulingNodeAffinity extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.vmmigration.v1.SchedulingNodeAffinity)
     SchedulingNodeAffinityOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use SchedulingNodeAffinity.newBuilder() to construct.
   private SchedulingNodeAffinity(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private SchedulingNodeAffinity() {
     key_ = "";
     operator_ = 0;
@@ -29,16 +47,15 @@ private SchedulingNodeAffinity() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new SchedulingNodeAffinity();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private SchedulingNodeAffinity(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -58,34 +75,37 @@ private SchedulingNodeAffinity(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            key_ = s;
-            break;
-          }
-          case 16: {
-            int rawValue = input.readEnum();
+              key_ = s;
+              break;
+            }
+          case 16:
+            {
+              int rawValue = input.readEnum();
 
-            operator_ = rawValue;
-            break;
-          }
-          case 26: {
-            java.lang.String s = input.readStringRequireUtf8();
-            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-              values_ = new com.google.protobuf.LazyStringArrayList();
-              mutable_bitField0_ |= 0x00000001;
+              operator_ = rawValue;
+              break;
             }
-            values_.add(s);
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+          case 26:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
+              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                values_ = new com.google.protobuf.LazyStringArrayList();
+                mutable_bitField0_ |= 0x00000001;
+              }
+              values_.add(s);
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -93,8 +113,7 @@ private SchedulingNodeAffinity(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       if (((mutable_bitField0_ & 0x00000001) != 0)) {
         values_ = values_.getUnmodifiableView();
@@ -103,20 +122,25 @@ private SchedulingNodeAffinity(
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_SchedulingNodeAffinity_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.vmmigration.v1.VmMigrationProto
+        .internal_static_google_cloud_vmmigration_v1_SchedulingNodeAffinity_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_SchedulingNodeAffinity_fieldAccessorTable
+    return com.google.cloud.vmmigration.v1.VmMigrationProto
+        .internal_static_google_cloud_vmmigration_v1_SchedulingNodeAffinity_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.vmmigration.v1.SchedulingNodeAffinity.class, com.google.cloud.vmmigration.v1.SchedulingNodeAffinity.Builder.class);
+            com.google.cloud.vmmigration.v1.SchedulingNodeAffinity.class,
+            com.google.cloud.vmmigration.v1.SchedulingNodeAffinity.Builder.class);
   }
 
   /**
+   *
+   *
    * 
    * Possible types of node selection operators. Valid operators are IN for
    * affinity and NOT_IN for anti-affinity.
@@ -124,9 +148,10 @@ private SchedulingNodeAffinity(
    *
    * Protobuf enum {@code google.cloud.vmmigration.v1.SchedulingNodeAffinity.Operator}
    */
-  public enum Operator
-      implements com.google.protobuf.ProtocolMessageEnum {
+  public enum Operator implements com.google.protobuf.ProtocolMessageEnum {
     /**
+     *
+     *
      * 
      * An unknown, unexpected behavior.
      * 
@@ -135,6 +160,8 @@ public enum Operator */ OPERATOR_UNSPECIFIED(0), /** + * + * *
      * The node resource group should be in these resources affinity.
      * 
@@ -143,6 +170,8 @@ public enum Operator */ IN(1), /** + * + * *
      * The node resource group should not be in these resources affinity.
      * 
@@ -154,6 +183,8 @@ public enum Operator ; /** + * + * *
      * An unknown, unexpected behavior.
      * 
@@ -162,6 +193,8 @@ public enum Operator */ public static final int OPERATOR_UNSPECIFIED_VALUE = 0; /** + * + * *
      * The node resource group should be in these resources affinity.
      * 
@@ -170,6 +203,8 @@ public enum Operator */ public static final int IN_VALUE = 1; /** + * + * *
      * The node resource group should not be in these resources affinity.
      * 
@@ -178,7 +213,6 @@ public enum Operator */ public static final int NOT_IN_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -203,49 +237,51 @@ public static Operator valueOf(int value) { */ public static Operator forNumber(int value) { switch (value) { - case 0: return OPERATOR_UNSPECIFIED; - case 1: return IN; - case 2: return NOT_IN; - default: return null; + case 0: + return OPERATOR_UNSPECIFIED; + case 1: + return IN; + case 2: + return NOT_IN; + 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< - Operator> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Operator findValueByNumber(int number) { - return Operator.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 Operator findValueByNumber(int number) { + return Operator.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.vmmigration.v1.SchedulingNodeAffinity.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.vmmigration.v1.SchedulingNodeAffinity.getDescriptor() + .getEnumTypes() + .get(0); } private static final Operator[] VALUES = values(); - public static Operator valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Operator 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; @@ -265,11 +301,14 @@ private Operator(int value) { public static final int KEY_FIELD_NUMBER = 1; private volatile java.lang.Object key_; /** + * + * *
    * The label key of Node resource to reference.
    * 
* * string key = 1; + * * @return The key. */ @java.lang.Override @@ -278,29 +317,29 @@ public java.lang.String getKey() { 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(); key_ = s; return s; } } /** + * + * *
    * The label key of Node resource to reference.
    * 
* * string key = 1; + * * @return The bytes for key. */ @java.lang.Override - public com.google.protobuf.ByteString - getKeyBytes() { + public com.google.protobuf.ByteString getKeyBytes() { java.lang.Object ref = key_; 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); key_ = b; return b; } else { @@ -311,63 +350,82 @@ public java.lang.String getKey() { public static final int OPERATOR_FIELD_NUMBER = 2; private int operator_; /** + * + * *
    * The operator to use for the node resources specified in the `values`
    * parameter.
    * 
* * .google.cloud.vmmigration.v1.SchedulingNodeAffinity.Operator operator = 2; + * * @return The enum numeric value on the wire for operator. */ - @java.lang.Override public int getOperatorValue() { + @java.lang.Override + public int getOperatorValue() { return operator_; } /** + * + * *
    * The operator to use for the node resources specified in the `values`
    * parameter.
    * 
* * .google.cloud.vmmigration.v1.SchedulingNodeAffinity.Operator operator = 2; + * * @return The operator. */ - @java.lang.Override public com.google.cloud.vmmigration.v1.SchedulingNodeAffinity.Operator getOperator() { + @java.lang.Override + public com.google.cloud.vmmigration.v1.SchedulingNodeAffinity.Operator getOperator() { @SuppressWarnings("deprecation") - com.google.cloud.vmmigration.v1.SchedulingNodeAffinity.Operator result = com.google.cloud.vmmigration.v1.SchedulingNodeAffinity.Operator.valueOf(operator_); - return result == null ? com.google.cloud.vmmigration.v1.SchedulingNodeAffinity.Operator.UNRECOGNIZED : result; + com.google.cloud.vmmigration.v1.SchedulingNodeAffinity.Operator result = + com.google.cloud.vmmigration.v1.SchedulingNodeAffinity.Operator.valueOf(operator_); + return result == null + ? com.google.cloud.vmmigration.v1.SchedulingNodeAffinity.Operator.UNRECOGNIZED + : result; } public static final int VALUES_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList values_; /** + * + * *
    * Corresponds to the label values of Node resource.
    * 
* * repeated string values = 3; + * * @return A list containing the values. */ - public com.google.protobuf.ProtocolStringList - getValuesList() { + public com.google.protobuf.ProtocolStringList getValuesList() { return values_; } /** + * + * *
    * Corresponds to the label values of Node resource.
    * 
* * repeated string values = 3; + * * @return The count of values. */ public int getValuesCount() { return values_.size(); } /** + * + * *
    * Corresponds to the label values of Node resource.
    * 
* * repeated string values = 3; + * * @param index The index of the element to return. * @return The values at the given index. */ @@ -375,20 +433,23 @@ public java.lang.String getValues(int index) { return values_.get(index); } /** + * + * *
    * Corresponds to the label values of Node resource.
    * 
* * repeated string values = 3; + * * @param index The index of the value to return. * @return The bytes of the values at the given index. */ - public com.google.protobuf.ByteString - getValuesBytes(int index) { + public com.google.protobuf.ByteString getValuesBytes(int index) { return values_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -400,12 +461,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(key_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, key_); } - if (operator_ != com.google.cloud.vmmigration.v1.SchedulingNodeAffinity.Operator.OPERATOR_UNSPECIFIED.getNumber()) { + if (operator_ + != com.google.cloud.vmmigration.v1.SchedulingNodeAffinity.Operator.OPERATOR_UNSPECIFIED + .getNumber()) { output.writeEnum(2, operator_); } for (int i = 0; i < values_.size(); i++) { @@ -423,9 +485,10 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(key_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, key_); } - if (operator_ != com.google.cloud.vmmigration.v1.SchedulingNodeAffinity.Operator.OPERATOR_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, operator_); + if (operator_ + != com.google.cloud.vmmigration.v1.SchedulingNodeAffinity.Operator.OPERATOR_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, operator_); } { int dataSize = 0; @@ -443,18 +506,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.vmmigration.v1.SchedulingNodeAffinity)) { return super.equals(obj); } - com.google.cloud.vmmigration.v1.SchedulingNodeAffinity other = (com.google.cloud.vmmigration.v1.SchedulingNodeAffinity) obj; + com.google.cloud.vmmigration.v1.SchedulingNodeAffinity other = + (com.google.cloud.vmmigration.v1.SchedulingNodeAffinity) obj; - if (!getKey() - .equals(other.getKey())) return false; + if (!getKey().equals(other.getKey())) return false; if (operator_ != other.operator_) return false; - if (!getValuesList() - .equals(other.getValuesList())) return false; + if (!getValuesList().equals(other.getValuesList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -480,96 +542,104 @@ public int hashCode() { } public static com.google.cloud.vmmigration.v1.SchedulingNodeAffinity 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.vmmigration.v1.SchedulingNodeAffinity 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.vmmigration.v1.SchedulingNodeAffinity parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.vmmigration.v1.SchedulingNodeAffinity 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.vmmigration.v1.SchedulingNodeAffinity parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.vmmigration.v1.SchedulingNodeAffinity 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.vmmigration.v1.SchedulingNodeAffinity parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.vmmigration.v1.SchedulingNodeAffinity parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.vmmigration.v1.SchedulingNodeAffinity 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.vmmigration.v1.SchedulingNodeAffinity parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.vmmigration.v1.SchedulingNodeAffinity parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.vmmigration.v1.SchedulingNodeAffinity 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.vmmigration.v1.SchedulingNodeAffinity 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.vmmigration.v1.SchedulingNodeAffinity 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.vmmigration.v1.SchedulingNodeAffinity prototype) { + + public static Builder newBuilder( + com.google.cloud.vmmigration.v1.SchedulingNodeAffinity 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; } /** + * + * *
    * Node Affinity: the configuration of desired nodes onto which this Instance
    * could be scheduled. Based on
@@ -578,21 +648,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.vmmigration.v1.SchedulingNodeAffinity}
    */
-  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.vmmigration.v1.SchedulingNodeAffinity)
       com.google.cloud.vmmigration.v1.SchedulingNodeAffinityOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_SchedulingNodeAffinity_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.vmmigration.v1.VmMigrationProto
+          .internal_static_google_cloud_vmmigration_v1_SchedulingNodeAffinity_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_SchedulingNodeAffinity_fieldAccessorTable
+      return com.google.cloud.vmmigration.v1.VmMigrationProto
+          .internal_static_google_cloud_vmmigration_v1_SchedulingNodeAffinity_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.vmmigration.v1.SchedulingNodeAffinity.class, com.google.cloud.vmmigration.v1.SchedulingNodeAffinity.Builder.class);
+              com.google.cloud.vmmigration.v1.SchedulingNodeAffinity.class,
+              com.google.cloud.vmmigration.v1.SchedulingNodeAffinity.Builder.class);
     }
 
     // Construct using com.google.cloud.vmmigration.v1.SchedulingNodeAffinity.newBuilder()
@@ -600,16 +672,15 @@ 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) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -623,9 +694,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_SchedulingNodeAffinity_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.vmmigration.v1.VmMigrationProto
+          .internal_static_google_cloud_vmmigration_v1_SchedulingNodeAffinity_descriptor;
     }
 
     @java.lang.Override
@@ -644,7 +715,8 @@ public com.google.cloud.vmmigration.v1.SchedulingNodeAffinity build() {
 
     @java.lang.Override
     public com.google.cloud.vmmigration.v1.SchedulingNodeAffinity buildPartial() {
-      com.google.cloud.vmmigration.v1.SchedulingNodeAffinity result = new com.google.cloud.vmmigration.v1.SchedulingNodeAffinity(this);
+      com.google.cloud.vmmigration.v1.SchedulingNodeAffinity result =
+          new com.google.cloud.vmmigration.v1.SchedulingNodeAffinity(this);
       int from_bitField0_ = bitField0_;
       result.key_ = key_;
       result.operator_ = operator_;
@@ -661,38 +733,39 @@ public com.google.cloud.vmmigration.v1.SchedulingNodeAffinity buildPartial() {
     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.vmmigration.v1.SchedulingNodeAffinity) {
-        return mergeFrom((com.google.cloud.vmmigration.v1.SchedulingNodeAffinity)other);
+        return mergeFrom((com.google.cloud.vmmigration.v1.SchedulingNodeAffinity) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -700,7 +773,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.vmmigration.v1.SchedulingNodeAffinity other) {
-      if (other == com.google.cloud.vmmigration.v1.SchedulingNodeAffinity.getDefaultInstance()) return this;
+      if (other == com.google.cloud.vmmigration.v1.SchedulingNodeAffinity.getDefaultInstance())
+        return this;
       if (!other.getKey().isEmpty()) {
         key_ = other.key_;
         onChanged();
@@ -737,7 +811,8 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.cloud.vmmigration.v1.SchedulingNodeAffinity) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.cloud.vmmigration.v1.SchedulingNodeAffinity) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -746,22 +821,25 @@ public Builder mergeFrom(
       }
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object key_ = "";
     /**
+     *
+     *
      * 
      * The label key of Node resource to reference.
      * 
* * string key = 1; + * * @return The key. */ public java.lang.String getKey() { java.lang.Object ref = key_; 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(); key_ = s; return s; @@ -770,20 +848,21 @@ public java.lang.String getKey() { } } /** + * + * *
      * The label key of Node resource to reference.
      * 
* * string key = 1; + * * @return The bytes for key. */ - public com.google.protobuf.ByteString - getKeyBytes() { + public com.google.protobuf.ByteString getKeyBytes() { java.lang.Object ref = key_; 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); key_ = b; return b; } else { @@ -791,54 +870,61 @@ public java.lang.String getKey() { } } /** + * + * *
      * The label key of Node resource to reference.
      * 
* * string key = 1; + * * @param value The key to set. * @return This builder for chaining. */ - public Builder setKey( - java.lang.String value) { + public Builder setKey(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + key_ = value; onChanged(); return this; } /** + * + * *
      * The label key of Node resource to reference.
      * 
* * string key = 1; + * * @return This builder for chaining. */ public Builder clearKey() { - + key_ = getDefaultInstance().getKey(); onChanged(); return this; } /** + * + * *
      * The label key of Node resource to reference.
      * 
* * string key = 1; + * * @param value The bytes for key to set. * @return This builder for chaining. */ - public Builder setKeyBytes( - com.google.protobuf.ByteString value) { + public Builder setKeyBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + key_ = value; onChanged(); return this; @@ -846,119 +932,149 @@ public Builder setKeyBytes( private int operator_ = 0; /** + * + * *
      * The operator to use for the node resources specified in the `values`
      * parameter.
      * 
* * .google.cloud.vmmigration.v1.SchedulingNodeAffinity.Operator operator = 2; + * * @return The enum numeric value on the wire for operator. */ - @java.lang.Override public int getOperatorValue() { + @java.lang.Override + public int getOperatorValue() { return operator_; } /** + * + * *
      * The operator to use for the node resources specified in the `values`
      * parameter.
      * 
* * .google.cloud.vmmigration.v1.SchedulingNodeAffinity.Operator operator = 2; + * * @param value The enum numeric value on the wire for operator to set. * @return This builder for chaining. */ public Builder setOperatorValue(int value) { - + operator_ = value; onChanged(); return this; } /** + * + * *
      * The operator to use for the node resources specified in the `values`
      * parameter.
      * 
* * .google.cloud.vmmigration.v1.SchedulingNodeAffinity.Operator operator = 2; + * * @return The operator. */ @java.lang.Override public com.google.cloud.vmmigration.v1.SchedulingNodeAffinity.Operator getOperator() { @SuppressWarnings("deprecation") - com.google.cloud.vmmigration.v1.SchedulingNodeAffinity.Operator result = com.google.cloud.vmmigration.v1.SchedulingNodeAffinity.Operator.valueOf(operator_); - return result == null ? com.google.cloud.vmmigration.v1.SchedulingNodeAffinity.Operator.UNRECOGNIZED : result; + com.google.cloud.vmmigration.v1.SchedulingNodeAffinity.Operator result = + com.google.cloud.vmmigration.v1.SchedulingNodeAffinity.Operator.valueOf(operator_); + return result == null + ? com.google.cloud.vmmigration.v1.SchedulingNodeAffinity.Operator.UNRECOGNIZED + : result; } /** + * + * *
      * The operator to use for the node resources specified in the `values`
      * parameter.
      * 
* * .google.cloud.vmmigration.v1.SchedulingNodeAffinity.Operator operator = 2; + * * @param value The operator to set. * @return This builder for chaining. */ - public Builder setOperator(com.google.cloud.vmmigration.v1.SchedulingNodeAffinity.Operator value) { + public Builder setOperator( + com.google.cloud.vmmigration.v1.SchedulingNodeAffinity.Operator value) { if (value == null) { throw new NullPointerException(); } - + operator_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The operator to use for the node resources specified in the `values`
      * parameter.
      * 
* * .google.cloud.vmmigration.v1.SchedulingNodeAffinity.Operator operator = 2; + * * @return This builder for chaining. */ public Builder clearOperator() { - + operator_ = 0; onChanged(); return this; } - private com.google.protobuf.LazyStringList values_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList values_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureValuesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { values_ = new com.google.protobuf.LazyStringArrayList(values_); bitField0_ |= 0x00000001; - } + } } /** + * + * *
      * Corresponds to the label values of Node resource.
      * 
* * repeated string values = 3; + * * @return A list containing the values. */ - public com.google.protobuf.ProtocolStringList - getValuesList() { + public com.google.protobuf.ProtocolStringList getValuesList() { return values_.getUnmodifiableView(); } /** + * + * *
      * Corresponds to the label values of Node resource.
      * 
* * repeated string values = 3; + * * @return The count of values. */ public int getValuesCount() { return values_.size(); } /** + * + * *
      * Corresponds to the label values of Node resource.
      * 
* * repeated string values = 3; + * * @param index The index of the element to return. * @return The values at the given index. */ @@ -966,80 +1082,90 @@ public java.lang.String getValues(int index) { return values_.get(index); } /** + * + * *
      * Corresponds to the label values of Node resource.
      * 
* * repeated string values = 3; + * * @param index The index of the value to return. * @return The bytes of the values at the given index. */ - public com.google.protobuf.ByteString - getValuesBytes(int index) { + public com.google.protobuf.ByteString getValuesBytes(int index) { return values_.getByteString(index); } /** + * + * *
      * Corresponds to the label values of Node resource.
      * 
* * repeated string values = 3; + * * @param index The index to set the value at. * @param value The values to set. * @return This builder for chaining. */ - public Builder setValues( - int index, java.lang.String value) { + public Builder setValues(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureValuesIsMutable(); + throw new NullPointerException(); + } + ensureValuesIsMutable(); values_.set(index, value); onChanged(); return this; } /** + * + * *
      * Corresponds to the label values of Node resource.
      * 
* * repeated string values = 3; + * * @param value The values to add. * @return This builder for chaining. */ - public Builder addValues( - java.lang.String value) { + public Builder addValues(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureValuesIsMutable(); + throw new NullPointerException(); + } + ensureValuesIsMutable(); values_.add(value); onChanged(); return this; } /** + * + * *
      * Corresponds to the label values of Node resource.
      * 
* * repeated string values = 3; + * * @param values The values to add. * @return This builder for chaining. */ - public Builder addAllValues( - java.lang.Iterable values) { + public Builder addAllValues(java.lang.Iterable values) { ensureValuesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, values_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, values_); onChanged(); return this; } /** + * + * *
      * Corresponds to the label values of Node resource.
      * 
* * repeated string values = 3; + * * @return This builder for chaining. */ public Builder clearValues() { @@ -1049,28 +1175,30 @@ public Builder clearValues() { return this; } /** + * + * *
      * Corresponds to the label values of Node resource.
      * 
* * repeated string values = 3; + * * @param value The bytes of the values to add. * @return This builder for chaining. */ - public Builder addValuesBytes( - com.google.protobuf.ByteString value) { + public Builder addValuesBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureValuesIsMutable(); values_.add(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); } @@ -1080,12 +1208,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.vmmigration.v1.SchedulingNodeAffinity) } // @@protoc_insertion_point(class_scope:google.cloud.vmmigration.v1.SchedulingNodeAffinity) private static final com.google.cloud.vmmigration.v1.SchedulingNodeAffinity DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.vmmigration.v1.SchedulingNodeAffinity(); } @@ -1094,16 +1222,16 @@ public static com.google.cloud.vmmigration.v1.SchedulingNodeAffinity getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SchedulingNodeAffinity parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new SchedulingNodeAffinity(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SchedulingNodeAffinity parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new SchedulingNodeAffinity(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1118,6 +1246,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.vmmigration.v1.SchedulingNodeAffinity getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/SchedulingNodeAffinityOrBuilder.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/SchedulingNodeAffinityOrBuilder.java similarity index 70% rename from owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/SchedulingNodeAffinityOrBuilder.java rename to proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/SchedulingNodeAffinityOrBuilder.java index 1b3c01a..58bb030 100644 --- a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/SchedulingNodeAffinityOrBuilder.java +++ b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/SchedulingNodeAffinityOrBuilder.java @@ -1,91 +1,128 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; -public interface SchedulingNodeAffinityOrBuilder extends +public interface SchedulingNodeAffinityOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.SchedulingNodeAffinity) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The label key of Node resource to reference.
    * 
* * string key = 1; + * * @return The key. */ java.lang.String getKey(); /** + * + * *
    * The label key of Node resource to reference.
    * 
* * string key = 1; + * * @return The bytes for key. */ - com.google.protobuf.ByteString - getKeyBytes(); + com.google.protobuf.ByteString getKeyBytes(); /** + * + * *
    * The operator to use for the node resources specified in the `values`
    * parameter.
    * 
* * .google.cloud.vmmigration.v1.SchedulingNodeAffinity.Operator operator = 2; + * * @return The enum numeric value on the wire for operator. */ int getOperatorValue(); /** + * + * *
    * The operator to use for the node resources specified in the `values`
    * parameter.
    * 
* * .google.cloud.vmmigration.v1.SchedulingNodeAffinity.Operator operator = 2; + * * @return The operator. */ com.google.cloud.vmmigration.v1.SchedulingNodeAffinity.Operator getOperator(); /** + * + * *
    * Corresponds to the label values of Node resource.
    * 
* * repeated string values = 3; + * * @return A list containing the values. */ - java.util.List - getValuesList(); + java.util.List getValuesList(); /** + * + * *
    * Corresponds to the label values of Node resource.
    * 
* * repeated string values = 3; + * * @return The count of values. */ int getValuesCount(); /** + * + * *
    * Corresponds to the label values of Node resource.
    * 
* * repeated string values = 3; + * * @param index The index of the element to return. * @return The values at the given index. */ java.lang.String getValues(int index); /** + * + * *
    * Corresponds to the label values of Node resource.
    * 
* * repeated string values = 3; + * * @param index The index of the value to return. * @return The bytes of the values at the given index. */ - com.google.protobuf.ByteString - getValuesBytes(int index); + com.google.protobuf.ByteString getValuesBytes(int index); } diff --git a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/Source.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/Source.java similarity index 65% rename from owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/Source.java rename to proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/Source.java index 8894546..14d4dd6 100644 --- a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/Source.java +++ b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/Source.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; /** + * + * *
  * Source message describes a specific vm migration Source resource. It contains
  * the source environment information.
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.cloud.vmmigration.v1.Source}
  */
-public final class Source extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class Source extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.vmmigration.v1.Source)
     SourceOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use Source.newBuilder() to construct.
   private Source(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private Source() {
     name_ = "";
     description_ = "";
@@ -27,16 +45,15 @@ private Source() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new Source();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private Source(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -56,78 +73,90 @@ private Source(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            name_ = s;
-            break;
-          }
-          case 18: {
-            com.google.protobuf.Timestamp.Builder subBuilder = null;
-            if (createTime_ != null) {
-              subBuilder = createTime_.toBuilder();
+              name_ = s;
+              break;
             }
-            createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(createTime_);
-              createTime_ = subBuilder.buildPartial();
+          case 18:
+            {
+              com.google.protobuf.Timestamp.Builder subBuilder = null;
+              if (createTime_ != null) {
+                subBuilder = createTime_.toBuilder();
+              }
+              createTime_ =
+                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(createTime_);
+                createTime_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-
-            break;
-          }
-          case 26: {
-            com.google.protobuf.Timestamp.Builder subBuilder = null;
-            if (updateTime_ != null) {
-              subBuilder = updateTime_.toBuilder();
+          case 26:
+            {
+              com.google.protobuf.Timestamp.Builder subBuilder = null;
+              if (updateTime_ != null) {
+                subBuilder = updateTime_.toBuilder();
+              }
+              updateTime_ =
+                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(updateTime_);
+                updateTime_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-            updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(updateTime_);
-              updateTime_ = subBuilder.buildPartial();
+          case 34:
+            {
+              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                labels_ =
+                    com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry);
+                mutable_bitField0_ |= 0x00000001;
+              }
+              com.google.protobuf.MapEntry labels__ =
+                  input.readMessage(
+                      LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+              labels_.getMutableMap().put(labels__.getKey(), labels__.getValue());
+              break;
             }
+          case 50:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            break;
-          }
-          case 34: {
-            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-              labels_ = com.google.protobuf.MapField.newMapField(
-                  LabelsDefaultEntryHolder.defaultEntry);
-              mutable_bitField0_ |= 0x00000001;
+              description_ = s;
+              break;
             }
-            com.google.protobuf.MapEntry
-            labels__ = input.readMessage(
-                LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-            labels_.getMutableMap().put(
-                labels__.getKey(), labels__.getValue());
-            break;
-          }
-          case 50: {
-            java.lang.String s = input.readStringRequireUtf8();
-
-            description_ = s;
-            break;
-          }
-          case 82: {
-            com.google.cloud.vmmigration.v1.VmwareSourceDetails.Builder subBuilder = null;
-            if (sourceDetailsCase_ == 10) {
-              subBuilder = ((com.google.cloud.vmmigration.v1.VmwareSourceDetails) sourceDetails_).toBuilder();
+          case 82:
+            {
+              com.google.cloud.vmmigration.v1.VmwareSourceDetails.Builder subBuilder = null;
+              if (sourceDetailsCase_ == 10) {
+                subBuilder =
+                    ((com.google.cloud.vmmigration.v1.VmwareSourceDetails) sourceDetails_)
+                        .toBuilder();
+              }
+              sourceDetails_ =
+                  input.readMessage(
+                      com.google.cloud.vmmigration.v1.VmwareSourceDetails.parser(),
+                      extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(
+                    (com.google.cloud.vmmigration.v1.VmwareSourceDetails) sourceDetails_);
+                sourceDetails_ = subBuilder.buildPartial();
+              }
+              sourceDetailsCase_ = 10;
+              break;
             }
-            sourceDetails_ =
-                input.readMessage(com.google.cloud.vmmigration.v1.VmwareSourceDetails.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom((com.google.cloud.vmmigration.v1.VmwareSourceDetails) sourceDetails_);
-              sourceDetails_ = subBuilder.buildPartial();
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            sourceDetailsCase_ = 10;
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
-            }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -135,46 +164,50 @@ private Source(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_Source_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.vmmigration.v1.VmMigrationProto
+        .internal_static_google_cloud_vmmigration_v1_Source_descriptor;
   }
 
   @SuppressWarnings({"rawtypes"})
   @java.lang.Override
-  protected com.google.protobuf.MapField internalGetMapField(
-      int number) {
+  protected com.google.protobuf.MapField internalGetMapField(int number) {
     switch (number) {
       case 4:
         return internalGetLabels();
       default:
-        throw new RuntimeException(
-            "Invalid map field number: " + number);
+        throw new RuntimeException("Invalid map field number: " + number);
     }
   }
+
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_Source_fieldAccessorTable
+    return com.google.cloud.vmmigration.v1.VmMigrationProto
+        .internal_static_google_cloud_vmmigration_v1_Source_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.vmmigration.v1.Source.class, com.google.cloud.vmmigration.v1.Source.Builder.class);
+            com.google.cloud.vmmigration.v1.Source.class,
+            com.google.cloud.vmmigration.v1.Source.Builder.class);
   }
 
   private int sourceDetailsCase_ = 0;
   private java.lang.Object sourceDetails_;
+
   public enum SourceDetailsCase
-      implements com.google.protobuf.Internal.EnumLite,
+      implements
+          com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     VMWARE(10),
     SOURCEDETAILS_NOT_SET(0);
     private final int value;
+
     private SourceDetailsCase(int value) {
       this.value = value;
     }
@@ -190,29 +223,34 @@ public static SourceDetailsCase valueOf(int value) {
 
     public static SourceDetailsCase forNumber(int value) {
       switch (value) {
-        case 10: return VMWARE;
-        case 0: return SOURCEDETAILS_NOT_SET;
-        default: return null;
+        case 10:
+          return VMWARE;
+        case 0:
+          return SOURCEDETAILS_NOT_SET;
+        default:
+          return null;
       }
     }
+
     public int getNumber() {
       return this.value;
     }
   };
 
-  public SourceDetailsCase
-  getSourceDetailsCase() {
-    return SourceDetailsCase.forNumber(
-        sourceDetailsCase_);
+  public SourceDetailsCase getSourceDetailsCase() {
+    return SourceDetailsCase.forNumber(sourceDetailsCase_);
   }
 
   public static final int VMWARE_FIELD_NUMBER = 10;
   /**
+   *
+   *
    * 
    * Vmware type source details.
    * 
* * .google.cloud.vmmigration.v1.VmwareSourceDetails vmware = 10; + * * @return Whether the vmware field is set. */ @java.lang.Override @@ -220,21 +258,26 @@ public boolean hasVmware() { return sourceDetailsCase_ == 10; } /** + * + * *
    * Vmware type source details.
    * 
* * .google.cloud.vmmigration.v1.VmwareSourceDetails vmware = 10; + * * @return The vmware. */ @java.lang.Override public com.google.cloud.vmmigration.v1.VmwareSourceDetails getVmware() { if (sourceDetailsCase_ == 10) { - return (com.google.cloud.vmmigration.v1.VmwareSourceDetails) sourceDetails_; + return (com.google.cloud.vmmigration.v1.VmwareSourceDetails) sourceDetails_; } return com.google.cloud.vmmigration.v1.VmwareSourceDetails.getDefaultInstance(); } /** + * + * *
    * Vmware type source details.
    * 
@@ -244,7 +287,7 @@ public com.google.cloud.vmmigration.v1.VmwareSourceDetails getVmware() { @java.lang.Override public com.google.cloud.vmmigration.v1.VmwareSourceDetailsOrBuilder getVmwareOrBuilder() { if (sourceDetailsCase_ == 10) { - return (com.google.cloud.vmmigration.v1.VmwareSourceDetails) sourceDetails_; + return (com.google.cloud.vmmigration.v1.VmwareSourceDetails) sourceDetails_; } return com.google.cloud.vmmigration.v1.VmwareSourceDetails.getDefaultInstance(); } @@ -252,11 +295,14 @@ public com.google.cloud.vmmigration.v1.VmwareSourceDetailsOrBuilder getVmwareOrB public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Output only. The Source name.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ @java.lang.Override @@ -265,29 +311,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. The Source 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 { @@ -298,11 +344,15 @@ public java.lang.String getName() { public static final int CREATE_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp createTime_; /** + * + * *
    * Output only. The create time timestamp.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ @java.lang.Override @@ -310,11 +360,15 @@ public boolean hasCreateTime() { return createTime_ != null; } /** + * + * *
    * Output only. The create time timestamp.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ @java.lang.Override @@ -322,11 +376,14 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
    * Output only. The create time timestamp.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -336,11 +393,15 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp updateTime_; /** + * + * *
    * Output only. The update time timestamp.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -348,11 +409,15 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** + * + * *
    * Output only. The update time timestamp.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateTime. */ @java.lang.Override @@ -360,11 +425,14 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** + * + * *
    * Output only. The update time timestamp.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { @@ -372,24 +440,23 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { } public static final int LABELS_FIELD_NUMBER = 4; + private static final class LabelsDefaultEntryHolder { - static final com.google.protobuf.MapEntry< - java.lang.String, java.lang.String> defaultEntry = - com.google.protobuf.MapEntry - .newDefaultInstance( - com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_Source_LabelsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); + static final com.google.protobuf.MapEntry defaultEntry = + com.google.protobuf.MapEntry.newDefaultInstance( + com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_Source_LabelsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> labels_; - private com.google.protobuf.MapField - internalGetLabels() { + + private com.google.protobuf.MapField labels_; + + private com.google.protobuf.MapField internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField( - LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); } return labels_; } @@ -398,28 +465,30 @@ public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** + * + * *
    * The labels of the source.
    * 
* * map<string, string> labels = 4; */ - @java.lang.Override - public boolean containsLabels( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsLabels(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetLabels().getMap().containsKey(key); } - /** - * Use {@link #getLabelsMap()} instead. - */ + /** Use {@link #getLabelsMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getLabels() { return getLabelsMap(); } /** + * + * *
    * The labels of the source.
    * 
@@ -427,11 +496,12 @@ public java.util.Map getLabels() { * map<string, string> labels = 4; */ @java.lang.Override - public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** + * + * *
    * The labels of the source.
    * 
@@ -439,16 +509,16 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 4; */ @java.lang.Override - - public java.lang.String getLabelsOrDefault( - java.lang.String key, - java.lang.String defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetLabels().getMap(); + public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.String defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
    * The labels of the source.
    * 
@@ -456,12 +526,11 @@ public java.lang.String getLabelsOrDefault( * map<string, string> labels = 4; */ @java.lang.Override - - public java.lang.String getLabelsOrThrow( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetLabels().getMap(); + public java.lang.String getLabelsOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -471,11 +540,14 @@ public java.lang.String getLabelsOrThrow( public static final int DESCRIPTION_FIELD_NUMBER = 6; private volatile java.lang.Object description_; /** + * + * *
    * User-provided description of the source.
    * 
* * string description = 6; + * * @return The description. */ @java.lang.Override @@ -484,29 +556,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-provided description of the source.
    * 
* * string description = 6; + * * @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 { @@ -515,6 +587,7 @@ public java.lang.String getDescription() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -526,8 +599,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_); } @@ -537,12 +609,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (updateTime_ != null) { output.writeMessage(3, getUpdateTime()); } - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetLabels(), - LabelsDefaultEntryHolder.defaultEntry, - 4); + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 4); if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 6, description_); } @@ -562,29 +630,28 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getCreateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getCreateTime()); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getUpdateTime()); - } - for (java.util.Map.Entry entry - : internalGetLabels().getMap().entrySet()) { - com.google.protobuf.MapEntry - labels__ = LabelsDefaultEntryHolder.defaultEntry.newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, labels__); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getUpdateTime()); + } + for (java.util.Map.Entry entry : + internalGetLabels().getMap().entrySet()) { + com.google.protobuf.MapEntry labels__ = + LabelsDefaultEntryHolder.defaultEntry + .newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, labels__); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, description_); } if (sourceDetailsCase_ == 10) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(10, (com.google.cloud.vmmigration.v1.VmwareSourceDetails) sourceDetails_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 10, (com.google.cloud.vmmigration.v1.VmwareSourceDetails) sourceDetails_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -594,34 +661,28 @@ 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.vmmigration.v1.Source)) { return super.equals(obj); } com.google.cloud.vmmigration.v1.Source other = (com.google.cloud.vmmigration.v1.Source) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime() - .equals(other.getCreateTime())) return false; + if (!getCreateTime().equals(other.getCreateTime())) 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 (!internalGetLabels().equals( - other.internalGetLabels())) return false; - if (!getDescription() - .equals(other.getDescription())) return false; + if (!internalGetLabels().equals(other.internalGetLabels())) return false; + if (!getDescription().equals(other.getDescription())) return false; if (!getSourceDetailsCase().equals(other.getSourceDetailsCase())) return false; switch (sourceDetailsCase_) { case 10: - if (!getVmware() - .equals(other.getVmware())) return false; + if (!getVmware().equals(other.getVmware())) return false; break; case 0: default: @@ -666,97 +727,104 @@ public int hashCode() { return hash; } - public static com.google.cloud.vmmigration.v1.Source parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.vmmigration.v1.Source parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.vmmigration.v1.Source 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.vmmigration.v1.Source parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.vmmigration.v1.Source 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.vmmigration.v1.Source parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.vmmigration.v1.Source 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.vmmigration.v1.Source parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.vmmigration.v1.Source 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.vmmigration.v1.Source parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.vmmigration.v1.Source 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.vmmigration.v1.Source 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.vmmigration.v1.Source 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.vmmigration.v1.Source 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; } /** + * + * *
    * Source message describes a specific vm migration Source resource. It contains
    * the source environment information.
@@ -764,43 +832,43 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.vmmigration.v1.Source}
    */
-  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.vmmigration.v1.Source)
       com.google.cloud.vmmigration.v1.SourceOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_Source_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.vmmigration.v1.VmMigrationProto
+          .internal_static_google_cloud_vmmigration_v1_Source_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMapField(
-        int number) {
+    protected com.google.protobuf.MapField internalGetMapField(int number) {
       switch (number) {
         case 4:
           return internalGetLabels();
         default:
-          throw new RuntimeException(
-              "Invalid map field number: " + number);
+          throw new RuntimeException("Invalid map field number: " + number);
       }
     }
+
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMutableMapField(
-        int number) {
+    protected com.google.protobuf.MapField internalGetMutableMapField(int number) {
       switch (number) {
         case 4:
           return internalGetMutableLabels();
         default:
-          throw new RuntimeException(
-              "Invalid map field number: " + number);
+          throw new RuntimeException("Invalid map field number: " + number);
       }
     }
+
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_Source_fieldAccessorTable
+      return com.google.cloud.vmmigration.v1.VmMigrationProto
+          .internal_static_google_cloud_vmmigration_v1_Source_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.vmmigration.v1.Source.class, com.google.cloud.vmmigration.v1.Source.Builder.class);
+              com.google.cloud.vmmigration.v1.Source.class,
+              com.google.cloud.vmmigration.v1.Source.Builder.class);
     }
 
     // Construct using com.google.cloud.vmmigration.v1.Source.newBuilder()
@@ -808,16 +876,15 @@ 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) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -844,9 +911,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_Source_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.vmmigration.v1.VmMigrationProto
+          .internal_static_google_cloud_vmmigration_v1_Source_descriptor;
     }
 
     @java.lang.Override
@@ -865,7 +932,8 @@ public com.google.cloud.vmmigration.v1.Source build() {
 
     @java.lang.Override
     public com.google.cloud.vmmigration.v1.Source buildPartial() {
-      com.google.cloud.vmmigration.v1.Source result = new com.google.cloud.vmmigration.v1.Source(this);
+      com.google.cloud.vmmigration.v1.Source result =
+          new com.google.cloud.vmmigration.v1.Source(this);
       int from_bitField0_ = bitField0_;
       if (sourceDetailsCase_ == 10) {
         if (vmwareBuilder_ == null) {
@@ -897,38 +965,39 @@ public com.google.cloud.vmmigration.v1.Source buildPartial() {
     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.vmmigration.v1.Source) {
-        return mergeFrom((com.google.cloud.vmmigration.v1.Source)other);
+        return mergeFrom((com.google.cloud.vmmigration.v1.Source) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -947,20 +1016,21 @@ public Builder mergeFrom(com.google.cloud.vmmigration.v1.Source other) {
       if (other.hasUpdateTime()) {
         mergeUpdateTime(other.getUpdateTime());
       }
-      internalGetMutableLabels().mergeFrom(
-          other.internalGetLabels());
+      internalGetMutableLabels().mergeFrom(other.internalGetLabels());
       if (!other.getDescription().isEmpty()) {
         description_ = other.description_;
         onChanged();
       }
       switch (other.getSourceDetailsCase()) {
-        case VMWARE: {
-          mergeVmware(other.getVmware());
-          break;
-        }
-        case SOURCEDETAILS_NOT_SET: {
-          break;
-        }
+        case VMWARE:
+          {
+            mergeVmware(other.getVmware());
+            break;
+          }
+        case SOURCEDETAILS_NOT_SET:
+          {
+            break;
+          }
       }
       this.mergeUnknownFields(other.unknownFields);
       onChanged();
@@ -990,12 +1060,12 @@ public Builder mergeFrom(
       }
       return this;
     }
+
     private int sourceDetailsCase_ = 0;
     private java.lang.Object sourceDetails_;
-    public SourceDetailsCase
-        getSourceDetailsCase() {
-      return SourceDetailsCase.forNumber(
-          sourceDetailsCase_);
+
+    public SourceDetailsCase getSourceDetailsCase() {
+      return SourceDetailsCase.forNumber(sourceDetailsCase_);
     }
 
     public Builder clearSourceDetails() {
@@ -1008,13 +1078,19 @@ public Builder clearSourceDetails() {
     private int bitField0_;
 
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.vmmigration.v1.VmwareSourceDetails, com.google.cloud.vmmigration.v1.VmwareSourceDetails.Builder, com.google.cloud.vmmigration.v1.VmwareSourceDetailsOrBuilder> vmwareBuilder_;
+            com.google.cloud.vmmigration.v1.VmwareSourceDetails,
+            com.google.cloud.vmmigration.v1.VmwareSourceDetails.Builder,
+            com.google.cloud.vmmigration.v1.VmwareSourceDetailsOrBuilder>
+        vmwareBuilder_;
     /**
+     *
+     *
      * 
      * Vmware type source details.
      * 
* * .google.cloud.vmmigration.v1.VmwareSourceDetails vmware = 10; + * * @return Whether the vmware field is set. */ @java.lang.Override @@ -1022,11 +1098,14 @@ public boolean hasVmware() { return sourceDetailsCase_ == 10; } /** + * + * *
      * Vmware type source details.
      * 
* * .google.cloud.vmmigration.v1.VmwareSourceDetails vmware = 10; + * * @return The vmware. */ @java.lang.Override @@ -1044,6 +1123,8 @@ public com.google.cloud.vmmigration.v1.VmwareSourceDetails getVmware() { } } /** + * + * *
      * Vmware type source details.
      * 
@@ -1064,6 +1145,8 @@ public Builder setVmware(com.google.cloud.vmmigration.v1.VmwareSourceDetails val return this; } /** + * + * *
      * Vmware type source details.
      * 
@@ -1082,6 +1165,8 @@ public Builder setVmware( return this; } /** + * + * *
      * Vmware type source details.
      * 
@@ -1090,10 +1175,14 @@ public Builder setVmware( */ public Builder mergeVmware(com.google.cloud.vmmigration.v1.VmwareSourceDetails value) { if (vmwareBuilder_ == null) { - if (sourceDetailsCase_ == 10 && - sourceDetails_ != com.google.cloud.vmmigration.v1.VmwareSourceDetails.getDefaultInstance()) { - sourceDetails_ = com.google.cloud.vmmigration.v1.VmwareSourceDetails.newBuilder((com.google.cloud.vmmigration.v1.VmwareSourceDetails) sourceDetails_) - .mergeFrom(value).buildPartial(); + if (sourceDetailsCase_ == 10 + && sourceDetails_ + != com.google.cloud.vmmigration.v1.VmwareSourceDetails.getDefaultInstance()) { + sourceDetails_ = + com.google.cloud.vmmigration.v1.VmwareSourceDetails.newBuilder( + (com.google.cloud.vmmigration.v1.VmwareSourceDetails) sourceDetails_) + .mergeFrom(value) + .buildPartial(); } else { sourceDetails_ = value; } @@ -1109,6 +1198,8 @@ public Builder mergeVmware(com.google.cloud.vmmigration.v1.VmwareSourceDetails v return this; } /** + * + * *
      * Vmware type source details.
      * 
@@ -1132,6 +1223,8 @@ public Builder clearVmware() { return this; } /** + * + * *
      * Vmware type source details.
      * 
@@ -1142,6 +1235,8 @@ public com.google.cloud.vmmigration.v1.VmwareSourceDetails.Builder getVmwareBuil return getVmwareFieldBuilder().getBuilder(); } /** + * + * *
      * Vmware type source details.
      * 
@@ -1160,6 +1255,8 @@ public com.google.cloud.vmmigration.v1.VmwareSourceDetailsOrBuilder getVmwareOrB } } /** + * + * *
      * Vmware type source details.
      * 
@@ -1167,38 +1264,46 @@ public com.google.cloud.vmmigration.v1.VmwareSourceDetailsOrBuilder getVmwareOrB * .google.cloud.vmmigration.v1.VmwareSourceDetails vmware = 10; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.vmmigration.v1.VmwareSourceDetails, com.google.cloud.vmmigration.v1.VmwareSourceDetails.Builder, com.google.cloud.vmmigration.v1.VmwareSourceDetailsOrBuilder> + com.google.cloud.vmmigration.v1.VmwareSourceDetails, + com.google.cloud.vmmigration.v1.VmwareSourceDetails.Builder, + com.google.cloud.vmmigration.v1.VmwareSourceDetailsOrBuilder> getVmwareFieldBuilder() { if (vmwareBuilder_ == null) { if (!(sourceDetailsCase_ == 10)) { sourceDetails_ = com.google.cloud.vmmigration.v1.VmwareSourceDetails.getDefaultInstance(); } - vmwareBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.vmmigration.v1.VmwareSourceDetails, com.google.cloud.vmmigration.v1.VmwareSourceDetails.Builder, com.google.cloud.vmmigration.v1.VmwareSourceDetailsOrBuilder>( + vmwareBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.vmmigration.v1.VmwareSourceDetails, + com.google.cloud.vmmigration.v1.VmwareSourceDetails.Builder, + com.google.cloud.vmmigration.v1.VmwareSourceDetailsOrBuilder>( (com.google.cloud.vmmigration.v1.VmwareSourceDetails) sourceDetails_, getParentForChildren(), isClean()); sourceDetails_ = null; } sourceDetailsCase_ = 10; - onChanged();; + onChanged(); + ; return vmwareBuilder_; } private java.lang.Object name_ = ""; /** + * + * *
      * Output only. The Source 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; @@ -1207,20 +1312,21 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. The Source 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 { @@ -1228,54 +1334,61 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. The Source 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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Output only. The Source name.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Output only. The Source 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) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -1283,39 +1396,58 @@ public Builder setNameBytes( private com.google.protobuf.Timestamp createTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + createTimeBuilder_; /** + * + * *
      * Output only. The create time timestamp.
      * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** + * + * *
      * Output only. The create time timestamp.
      * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. The create time timestamp.
      * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -1331,14 +1463,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The create time timestamp.
      * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setCreateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); onChanged(); @@ -1349,17 +1484,21 @@ public Builder setCreateTime( return this; } /** + * + * *
      * Output only. The create time timestamp.
      * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { if (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -1371,11 +1510,15 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The create time timestamp.
      * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearCreateTime() { if (createTimeBuilder_ == null) { @@ -1389,48 +1532,64 @@ public Builder clearCreateTime() { return this; } /** + * + * *
      * Output only. The create time timestamp.
      * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The create time timestamp.
      * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } } /** + * + * *
      * Output only. The create time timestamp.
      * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 2 [(.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> getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { - createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getCreateTime(), - getParentForChildren(), - isClean()); + createTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), getParentForChildren(), isClean()); createTime_ = null; } return createTimeBuilder_; @@ -1438,39 +1597,58 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { 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. The update time timestamp.
      * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return updateTimeBuilder_ != null || updateTime_ != null; } /** + * + * *
      * Output only. The update time timestamp.
      * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.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. The update time timestamp.
      * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { @@ -1486,14 +1664,17 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The update time timestamp.
      * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.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(); onChanged(); @@ -1504,17 +1685,21 @@ public Builder setUpdateTime( return this; } /** + * + * *
      * Output only. The update time timestamp.
      * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { if (updateTime_ != null) { updateTime_ = - com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); } else { updateTime_ = value; } @@ -1526,11 +1711,15 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The update time timestamp.
      * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearUpdateTime() { if (updateTimeBuilder_ == null) { @@ -1544,69 +1733,84 @@ public Builder clearUpdateTime() { return this; } /** + * + * *
      * Output only. The update time timestamp.
      * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { - + onChanged(); return getUpdateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The update time timestamp.
      * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.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. The update time timestamp.
      * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.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_; } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> labels_; - private com.google.protobuf.MapField - internalGetLabels() { + private com.google.protobuf.MapField labels_; + + private com.google.protobuf.MapField internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField( - LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); } return labels_; } + private com.google.protobuf.MapField - internalGetMutableLabels() { - onChanged();; + internalGetMutableLabels() { + onChanged(); + ; if (labels_ == null) { - labels_ = com.google.protobuf.MapField.newMapField( - LabelsDefaultEntryHolder.defaultEntry); + labels_ = com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); } if (!labels_.isMutable()) { labels_ = labels_.copy(); @@ -1618,28 +1822,30 @@ public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** + * + * *
      * The labels of the source.
      * 
* * map<string, string> labels = 4; */ - @java.lang.Override - public boolean containsLabels( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsLabels(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetLabels().getMap().containsKey(key); } - /** - * Use {@link #getLabelsMap()} instead. - */ + /** Use {@link #getLabelsMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getLabels() { return getLabelsMap(); } /** + * + * *
      * The labels of the source.
      * 
@@ -1647,11 +1853,12 @@ public java.util.Map getLabels() { * map<string, string> labels = 4; */ @java.lang.Override - public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** + * + * *
      * The labels of the source.
      * 
@@ -1659,16 +1866,17 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 4; */ @java.lang.Override - public java.lang.String getLabelsOrDefault( - java.lang.String key, - java.lang.String defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetLabels().getMap(); + java.lang.String key, java.lang.String defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
      * The labels of the source.
      * 
@@ -1676,12 +1884,11 @@ public java.lang.String getLabelsOrDefault( * map<string, string> labels = 4; */ @java.lang.Override - - public java.lang.String getLabelsOrThrow( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetLabels().getMap(); + public java.lang.String getLabelsOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -1689,81 +1896,80 @@ public java.lang.String getLabelsOrThrow( } public Builder clearLabels() { - internalGetMutableLabels().getMutableMap() - .clear(); + internalGetMutableLabels().getMutableMap().clear(); return this; } /** + * + * *
      * The labels of the source.
      * 
* * map<string, string> labels = 4; */ - - public Builder removeLabels( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - internalGetMutableLabels().getMutableMap() - .remove(key); + public Builder removeLabels(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + internalGetMutableLabels().getMutableMap().remove(key); return this; } - /** - * Use alternate mutation accessors instead. - */ + /** Use alternate mutation accessors instead. */ @java.lang.Deprecated - public java.util.Map - getMutableLabels() { + public java.util.Map getMutableLabels() { return internalGetMutableLabels().getMutableMap(); } /** + * + * *
      * The labels of the source.
      * 
* * map<string, string> labels = 4; */ - public Builder putLabels( - java.lang.String key, - java.lang.String value) { - if (key == null) { throw new NullPointerException("map key"); } + public Builder putLabels(java.lang.String key, java.lang.String value) { + if (key == null) { + throw new NullPointerException("map key"); + } if (value == null) { - throw new NullPointerException("map value"); -} + throw new NullPointerException("map value"); + } - internalGetMutableLabels().getMutableMap() - .put(key, value); + internalGetMutableLabels().getMutableMap().put(key, value); return this; } /** + * + * *
      * The labels of the source.
      * 
* * map<string, string> labels = 4; */ - - public Builder putAllLabels( - java.util.Map values) { - internalGetMutableLabels().getMutableMap() - .putAll(values); + public Builder putAllLabels(java.util.Map values) { + internalGetMutableLabels().getMutableMap().putAll(values); return this; } private java.lang.Object description_ = ""; /** + * + * *
      * User-provided description of the source.
      * 
* * string description = 6; + * * @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; @@ -1772,20 +1978,21 @@ public java.lang.String getDescription() { } } /** + * + * *
      * User-provided description of the source.
      * 
* * string description = 6; + * * @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 { @@ -1793,61 +2000,68 @@ public java.lang.String getDescription() { } } /** + * + * *
      * User-provided description of the source.
      * 
* * string description = 6; + * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription( - java.lang.String value) { + public Builder setDescription(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + description_ = value; onChanged(); return this; } /** + * + * *
      * User-provided description of the source.
      * 
* * string description = 6; + * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** + * + * *
      * User-provided description of the source.
      * 
* * string description = 6; + * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes( - com.google.protobuf.ByteString value) { + public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = 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); } @@ -1857,12 +2071,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.vmmigration.v1.Source) } // @@protoc_insertion_point(class_scope:google.cloud.vmmigration.v1.Source) private static final com.google.cloud.vmmigration.v1.Source DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.vmmigration.v1.Source(); } @@ -1871,16 +2085,16 @@ public static com.google.cloud.vmmigration.v1.Source getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Source parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Source(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Source parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Source(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1895,6 +2109,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.vmmigration.v1.Source getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/SourceName.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/SourceName.java similarity index 100% rename from owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/SourceName.java rename to proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/SourceName.java diff --git a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/SourceOrBuilder.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/SourceOrBuilder.java similarity index 70% rename from owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/SourceOrBuilder.java rename to proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/SourceOrBuilder.java index a03eae5..3b3c707 100644 --- a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/SourceOrBuilder.java +++ b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/SourceOrBuilder.java @@ -1,31 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; -public interface SourceOrBuilder extends +public interface SourceOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.Source) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Vmware type source details.
    * 
* * .google.cloud.vmmigration.v1.VmwareSourceDetails vmware = 10; + * * @return Whether the vmware field is set. */ boolean hasVmware(); /** + * + * *
    * Vmware type source details.
    * 
* * .google.cloud.vmmigration.v1.VmwareSourceDetails vmware = 10; + * * @return The vmware. */ com.google.cloud.vmmigration.v1.VmwareSourceDetails getVmware(); /** + * + * *
    * Vmware type source details.
    * 
@@ -35,80 +59,109 @@ public interface SourceOrBuilder extends com.google.cloud.vmmigration.v1.VmwareSourceDetailsOrBuilder getVmwareOrBuilder(); /** + * + * *
    * Output only. The Source name.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Output only. The Source 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(); /** + * + * *
    * Output only. The create time timestamp.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** + * + * *
    * Output only. The create time timestamp.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** + * + * *
    * Output only. The create time timestamp.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** + * + * *
    * Output only. The update time timestamp.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** + * + * *
    * Output only. The update time timestamp.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** + * + * *
    * Output only. The update time timestamp.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** + * + * *
    * The labels of the source.
    * 
@@ -117,30 +170,31 @@ public interface SourceOrBuilder extends */ int getLabelsCount(); /** + * + * *
    * The labels of the source.
    * 
* * map<string, string> labels = 4; */ - boolean containsLabels( - java.lang.String key); - /** - * Use {@link #getLabelsMap()} instead. - */ + boolean containsLabels(java.lang.String key); + /** Use {@link #getLabelsMap()} instead. */ @java.lang.Deprecated - java.util.Map - getLabels(); + java.util.Map getLabels(); /** + * + * *
    * The labels of the source.
    * 
* * map<string, string> labels = 4; */ - java.util.Map - getLabelsMap(); + java.util.Map getLabelsMap(); /** + * + * *
    * The labels of the source.
    * 
@@ -149,40 +203,45 @@ boolean containsLabels( */ /* nullable */ -java.lang.String getLabelsOrDefault( + java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ -java.lang.String defaultValue); + java.lang.String defaultValue); /** + * + * *
    * The labels of the source.
    * 
* * map<string, string> labels = 4; */ - - java.lang.String getLabelsOrThrow( - java.lang.String key); + java.lang.String getLabelsOrThrow(java.lang.String key); /** + * + * *
    * User-provided description of the source.
    * 
* * string description = 6; + * * @return The description. */ java.lang.String getDescription(); /** + * + * *
    * User-provided description of the source.
    * 
* * string description = 6; + * * @return The bytes for description. */ - com.google.protobuf.ByteString - getDescriptionBytes(); + com.google.protobuf.ByteString getDescriptionBytes(); public com.google.cloud.vmmigration.v1.Source.SourceDetailsCase getSourceDetailsCase(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/StartMigrationRequest.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/StartMigrationRequest.java similarity index 64% rename from owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/StartMigrationRequest.java rename to proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/StartMigrationRequest.java index 272d1ac..5d8f998 100644 --- a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/StartMigrationRequest.java +++ b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/StartMigrationRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; /** + * + * *
  * Request message for 'StartMigrationRequest' request.
  * 
* * Protobuf type {@code google.cloud.vmmigration.v1.StartMigrationRequest} */ -public final class StartMigrationRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class StartMigrationRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.vmmigration.v1.StartMigrationRequest) StartMigrationRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use StartMigrationRequest.newBuilder() to construct. private StartMigrationRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private StartMigrationRequest() { migratingVm_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new StartMigrationRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private StartMigrationRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private StartMigrationRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - migratingVm_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + migratingVm_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,34 +91,41 @@ private StartMigrationRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_StartMigrationRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_StartMigrationRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_StartMigrationRequest_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_StartMigrationRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.StartMigrationRequest.class, com.google.cloud.vmmigration.v1.StartMigrationRequest.Builder.class); + com.google.cloud.vmmigration.v1.StartMigrationRequest.class, + com.google.cloud.vmmigration.v1.StartMigrationRequest.Builder.class); } public static final int MIGRATING_VM_FIELD_NUMBER = 1; private volatile java.lang.Object migratingVm_; /** + * + * *
    * Required. The name of the MigratingVm.
    * 
* - * string migrating_vm = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string migrating_vm = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The migratingVm. */ @java.lang.Override @@ -109,29 +134,31 @@ public java.lang.String getMigratingVm() { 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(); migratingVm_ = s; return s; } } /** + * + * *
    * Required. The name of the MigratingVm.
    * 
* - * string migrating_vm = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string migrating_vm = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for migratingVm. */ @java.lang.Override - public com.google.protobuf.ByteString - getMigratingVmBytes() { + public com.google.protobuf.ByteString getMigratingVmBytes() { java.lang.Object ref = migratingVm_; 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); migratingVm_ = b; return b; } else { @@ -140,6 +167,7 @@ public java.lang.String getMigratingVm() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,8 +179,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(migratingVm_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, migratingVm_); } @@ -176,15 +203,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.vmmigration.v1.StartMigrationRequest)) { return super.equals(obj); } - com.google.cloud.vmmigration.v1.StartMigrationRequest other = (com.google.cloud.vmmigration.v1.StartMigrationRequest) obj; + com.google.cloud.vmmigration.v1.StartMigrationRequest other = + (com.google.cloud.vmmigration.v1.StartMigrationRequest) obj; - if (!getMigratingVm() - .equals(other.getMigratingVm())) return false; + if (!getMigratingVm().equals(other.getMigratingVm())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -204,117 +231,127 @@ public int hashCode() { } public static com.google.cloud.vmmigration.v1.StartMigrationRequest 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.vmmigration.v1.StartMigrationRequest 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.vmmigration.v1.StartMigrationRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.vmmigration.v1.StartMigrationRequest 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.vmmigration.v1.StartMigrationRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.vmmigration.v1.StartMigrationRequest 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.vmmigration.v1.StartMigrationRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.vmmigration.v1.StartMigrationRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.vmmigration.v1.StartMigrationRequest 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.vmmigration.v1.StartMigrationRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.vmmigration.v1.StartMigrationRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.vmmigration.v1.StartMigrationRequest 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.vmmigration.v1.StartMigrationRequest 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.vmmigration.v1.StartMigrationRequest 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.vmmigration.v1.StartMigrationRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.vmmigration.v1.StartMigrationRequest 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 message for 'StartMigrationRequest' request.
    * 
* * Protobuf type {@code google.cloud.vmmigration.v1.StartMigrationRequest} */ - 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.vmmigration.v1.StartMigrationRequest) com.google.cloud.vmmigration.v1.StartMigrationRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_StartMigrationRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_StartMigrationRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_StartMigrationRequest_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_StartMigrationRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.StartMigrationRequest.class, com.google.cloud.vmmigration.v1.StartMigrationRequest.Builder.class); + com.google.cloud.vmmigration.v1.StartMigrationRequest.class, + com.google.cloud.vmmigration.v1.StartMigrationRequest.Builder.class); } // Construct using com.google.cloud.vmmigration.v1.StartMigrationRequest.newBuilder() @@ -322,16 +359,15 @@ 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) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -341,9 +377,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_StartMigrationRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_StartMigrationRequest_descriptor; } @java.lang.Override @@ -362,7 +398,8 @@ public com.google.cloud.vmmigration.v1.StartMigrationRequest build() { @java.lang.Override public com.google.cloud.vmmigration.v1.StartMigrationRequest buildPartial() { - com.google.cloud.vmmigration.v1.StartMigrationRequest result = new com.google.cloud.vmmigration.v1.StartMigrationRequest(this); + com.google.cloud.vmmigration.v1.StartMigrationRequest result = + new com.google.cloud.vmmigration.v1.StartMigrationRequest(this); result.migratingVm_ = migratingVm_; onBuilt(); return result; @@ -372,38 +409,39 @@ public com.google.cloud.vmmigration.v1.StartMigrationRequest buildPartial() { 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.vmmigration.v1.StartMigrationRequest) { - return mergeFrom((com.google.cloud.vmmigration.v1.StartMigrationRequest)other); + return mergeFrom((com.google.cloud.vmmigration.v1.StartMigrationRequest) other); } else { super.mergeFrom(other); return this; @@ -411,7 +449,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.vmmigration.v1.StartMigrationRequest other) { - if (other == com.google.cloud.vmmigration.v1.StartMigrationRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.vmmigration.v1.StartMigrationRequest.getDefaultInstance()) + return this; if (!other.getMigratingVm().isEmpty()) { migratingVm_ = other.migratingVm_; onChanged(); @@ -435,7 +474,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.vmmigration.v1.StartMigrationRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.vmmigration.v1.StartMigrationRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -447,18 +487,22 @@ public Builder mergeFrom( private java.lang.Object migratingVm_ = ""; /** + * + * *
      * Required. The name of the MigratingVm.
      * 
* - * string migrating_vm = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string migrating_vm = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The migratingVm. */ public java.lang.String getMigratingVm() { java.lang.Object ref = migratingVm_; 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(); migratingVm_ = s; return s; @@ -467,20 +511,23 @@ public java.lang.String getMigratingVm() { } } /** + * + * *
      * Required. The name of the MigratingVm.
      * 
* - * string migrating_vm = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string migrating_vm = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for migratingVm. */ - public com.google.protobuf.ByteString - getMigratingVmBytes() { + public com.google.protobuf.ByteString getMigratingVmBytes() { java.lang.Object ref = migratingVm_; 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); migratingVm_ = b; return b; } else { @@ -488,61 +535,74 @@ public java.lang.String getMigratingVm() { } } /** + * + * *
      * Required. The name of the MigratingVm.
      * 
* - * string migrating_vm = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string migrating_vm = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The migratingVm to set. * @return This builder for chaining. */ - public Builder setMigratingVm( - java.lang.String value) { + public Builder setMigratingVm(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + migratingVm_ = value; onChanged(); return this; } /** + * + * *
      * Required. The name of the MigratingVm.
      * 
* - * string migrating_vm = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string migrating_vm = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearMigratingVm() { - + migratingVm_ = getDefaultInstance().getMigratingVm(); onChanged(); return this; } /** + * + * *
      * Required. The name of the MigratingVm.
      * 
* - * string migrating_vm = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string migrating_vm = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for migratingVm to set. * @return This builder for chaining. */ - public Builder setMigratingVmBytes( - com.google.protobuf.ByteString value) { + public Builder setMigratingVmBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + migratingVm_ = 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); } @@ -552,12 +612,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.vmmigration.v1.StartMigrationRequest) } // @@protoc_insertion_point(class_scope:google.cloud.vmmigration.v1.StartMigrationRequest) private static final com.google.cloud.vmmigration.v1.StartMigrationRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.vmmigration.v1.StartMigrationRequest(); } @@ -566,16 +626,16 @@ public static com.google.cloud.vmmigration.v1.StartMigrationRequest getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public StartMigrationRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new StartMigrationRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public StartMigrationRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new StartMigrationRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -590,6 +650,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.vmmigration.v1.StartMigrationRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/StartMigrationRequestOrBuilder.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/StartMigrationRequestOrBuilder.java new file mode 100644 index 0000000..111c61a --- /dev/null +++ b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/StartMigrationRequestOrBuilder.java @@ -0,0 +1,54 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/vmmigration/v1/vmmigration.proto + +package com.google.cloud.vmmigration.v1; + +public interface StartMigrationRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.StartMigrationRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the MigratingVm.
+   * 
+ * + * + * string migrating_vm = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The migratingVm. + */ + java.lang.String getMigratingVm(); + /** + * + * + *
+   * Required. The name of the MigratingVm.
+   * 
+ * + * + * string migrating_vm = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for migratingVm. + */ + com.google.protobuf.ByteString getMigratingVmBytes(); +} diff --git a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/StartMigrationResponse.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/StartMigrationResponse.java similarity index 65% rename from owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/StartMigrationResponse.java rename to proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/StartMigrationResponse.java index 7c029d6..a21ba49 100644 --- a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/StartMigrationResponse.java +++ b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/StartMigrationResponse.java @@ -1,39 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; /** + * + * *
  * Response message for 'StartMigration' request.
  * 
* * Protobuf type {@code google.cloud.vmmigration.v1.StartMigrationResponse} */ -public final class StartMigrationResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class StartMigrationResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.vmmigration.v1.StartMigrationResponse) StartMigrationResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use StartMigrationResponse.newBuilder() to construct. private StartMigrationResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private StartMigrationResponse() { - } + + private StartMigrationResponse() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new StartMigrationResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private StartMigrationResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,13 +68,13 @@ private StartMigrationResponse( case 0: done = true; break; - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -66,27 +82,30 @@ private StartMigrationResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_StartMigrationResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_StartMigrationResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_StartMigrationResponse_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_StartMigrationResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.StartMigrationResponse.class, com.google.cloud.vmmigration.v1.StartMigrationResponse.Builder.class); + com.google.cloud.vmmigration.v1.StartMigrationResponse.class, + com.google.cloud.vmmigration.v1.StartMigrationResponse.Builder.class); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -98,8 +117,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 { unknownFields.writeTo(output); } @@ -117,12 +135,13 @@ 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.vmmigration.v1.StartMigrationResponse)) { return super.equals(obj); } - com.google.cloud.vmmigration.v1.StartMigrationResponse other = (com.google.cloud.vmmigration.v1.StartMigrationResponse) obj; + com.google.cloud.vmmigration.v1.StartMigrationResponse other = + (com.google.cloud.vmmigration.v1.StartMigrationResponse) obj; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -141,117 +160,127 @@ public int hashCode() { } public static com.google.cloud.vmmigration.v1.StartMigrationResponse 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.vmmigration.v1.StartMigrationResponse 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.vmmigration.v1.StartMigrationResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.vmmigration.v1.StartMigrationResponse 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.vmmigration.v1.StartMigrationResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.vmmigration.v1.StartMigrationResponse 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.vmmigration.v1.StartMigrationResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.vmmigration.v1.StartMigrationResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.vmmigration.v1.StartMigrationResponse 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.vmmigration.v1.StartMigrationResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.vmmigration.v1.StartMigrationResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.vmmigration.v1.StartMigrationResponse 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.vmmigration.v1.StartMigrationResponse 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.vmmigration.v1.StartMigrationResponse 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.vmmigration.v1.StartMigrationResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.vmmigration.v1.StartMigrationResponse 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; } /** + * + * *
    * Response message for 'StartMigration' request.
    * 
* * Protobuf type {@code google.cloud.vmmigration.v1.StartMigrationResponse} */ - 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.vmmigration.v1.StartMigrationResponse) com.google.cloud.vmmigration.v1.StartMigrationResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_StartMigrationResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_StartMigrationResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_StartMigrationResponse_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_StartMigrationResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.StartMigrationResponse.class, com.google.cloud.vmmigration.v1.StartMigrationResponse.Builder.class); + com.google.cloud.vmmigration.v1.StartMigrationResponse.class, + com.google.cloud.vmmigration.v1.StartMigrationResponse.Builder.class); } // Construct using com.google.cloud.vmmigration.v1.StartMigrationResponse.newBuilder() @@ -259,16 +288,15 @@ 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) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -276,9 +304,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_StartMigrationResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_StartMigrationResponse_descriptor; } @java.lang.Override @@ -297,7 +325,8 @@ public com.google.cloud.vmmigration.v1.StartMigrationResponse build() { @java.lang.Override public com.google.cloud.vmmigration.v1.StartMigrationResponse buildPartial() { - com.google.cloud.vmmigration.v1.StartMigrationResponse result = new com.google.cloud.vmmigration.v1.StartMigrationResponse(this); + com.google.cloud.vmmigration.v1.StartMigrationResponse result = + new com.google.cloud.vmmigration.v1.StartMigrationResponse(this); onBuilt(); return result; } @@ -306,38 +335,39 @@ public com.google.cloud.vmmigration.v1.StartMigrationResponse buildPartial() { 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.vmmigration.v1.StartMigrationResponse) { - return mergeFrom((com.google.cloud.vmmigration.v1.StartMigrationResponse)other); + return mergeFrom((com.google.cloud.vmmigration.v1.StartMigrationResponse) other); } else { super.mergeFrom(other); return this; @@ -345,7 +375,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.vmmigration.v1.StartMigrationResponse other) { - if (other == com.google.cloud.vmmigration.v1.StartMigrationResponse.getDefaultInstance()) return this; + if (other == com.google.cloud.vmmigration.v1.StartMigrationResponse.getDefaultInstance()) + return this; this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -365,7 +396,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.vmmigration.v1.StartMigrationResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.vmmigration.v1.StartMigrationResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -374,9 +406,9 @@ public Builder mergeFrom( } 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); } @@ -386,12 +418,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.vmmigration.v1.StartMigrationResponse) } // @@protoc_insertion_point(class_scope:google.cloud.vmmigration.v1.StartMigrationResponse) private static final com.google.cloud.vmmigration.v1.StartMigrationResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.vmmigration.v1.StartMigrationResponse(); } @@ -400,16 +432,16 @@ public static com.google.cloud.vmmigration.v1.StartMigrationResponse getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public StartMigrationResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new StartMigrationResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public StartMigrationResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new StartMigrationResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -424,6 +456,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.vmmigration.v1.StartMigrationResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/StartMigrationResponseOrBuilder.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/StartMigrationResponseOrBuilder.java new file mode 100644 index 0000000..2ba055d --- /dev/null +++ b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/StartMigrationResponseOrBuilder.java @@ -0,0 +1,24 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/vmmigration/v1/vmmigration.proto + +package com.google.cloud.vmmigration.v1; + +public interface StartMigrationResponseOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.StartMigrationResponse) + com.google.protobuf.MessageOrBuilder {} diff --git a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/TargetProject.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/TargetProject.java similarity index 68% rename from owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/TargetProject.java rename to proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/TargetProject.java index c26a746..b3d89b0 100644 --- a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/TargetProject.java +++ b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/TargetProject.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; /** + * + * *
  * TargetProject message represents a target Compute Engine project for a
  * migration or a clone.
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.cloud.vmmigration.v1.TargetProject}
  */
-public final class TargetProject extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class TargetProject extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.vmmigration.v1.TargetProject)
     TargetProjectOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use TargetProject.newBuilder() to construct.
   private TargetProject(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private TargetProject() {
     name_ = "";
     project_ = "";
@@ -28,16 +46,15 @@ private TargetProject() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new TargetProject();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private TargetProject(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -56,57 +73,64 @@ private TargetProject(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
-
-            name_ = s;
-            break;
-          }
-          case 18: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            project_ = s;
-            break;
-          }
-          case 26: {
-            java.lang.String s = input.readStringRequireUtf8();
-
-            description_ = s;
-            break;
-          }
-          case 34: {
-            com.google.protobuf.Timestamp.Builder subBuilder = null;
-            if (createTime_ != null) {
-              subBuilder = createTime_.toBuilder();
+              name_ = s;
+              break;
             }
-            createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(createTime_);
-              createTime_ = subBuilder.buildPartial();
+          case 18:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
+
+              project_ = s;
+              break;
             }
+          case 26:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            break;
-          }
-          case 42: {
-            com.google.protobuf.Timestamp.Builder subBuilder = null;
-            if (updateTime_ != null) {
-              subBuilder = updateTime_.toBuilder();
+              description_ = s;
+              break;
             }
-            updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(updateTime_);
-              updateTime_ = subBuilder.buildPartial();
+          case 34:
+            {
+              com.google.protobuf.Timestamp.Builder subBuilder = null;
+              if (createTime_ != null) {
+                subBuilder = createTime_.toBuilder();
+              }
+              createTime_ =
+                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(createTime_);
+                createTime_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+          case 42:
+            {
+              com.google.protobuf.Timestamp.Builder subBuilder = null;
+              if (updateTime_ != null) {
+                subBuilder = updateTime_.toBuilder();
+              }
+              updateTime_ =
+                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(updateTime_);
+                updateTime_ = subBuilder.buildPartial();
+              }
+
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -114,34 +138,39 @@ private TargetProject(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_TargetProject_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.vmmigration.v1.VmMigrationProto
+        .internal_static_google_cloud_vmmigration_v1_TargetProject_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_TargetProject_fieldAccessorTable
+    return com.google.cloud.vmmigration.v1.VmMigrationProto
+        .internal_static_google_cloud_vmmigration_v1_TargetProject_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.vmmigration.v1.TargetProject.class, com.google.cloud.vmmigration.v1.TargetProject.Builder.class);
+            com.google.cloud.vmmigration.v1.TargetProject.class,
+            com.google.cloud.vmmigration.v1.TargetProject.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
+   *
+   *
    * 
    * Output only. The name of the target project.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ @java.lang.Override @@ -150,29 +179,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. The name of the target project.
    * 
* * 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 { @@ -183,11 +212,14 @@ public java.lang.String getName() { public static final int PROJECT_FIELD_NUMBER = 2; private volatile java.lang.Object project_; /** + * + * *
    * The target project ID (number) or project name.
    * 
* * string project = 2; + * * @return The project. */ @java.lang.Override @@ -196,29 +228,29 @@ public java.lang.String getProject() { 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(); project_ = s; return s; } } /** + * + * *
    * The target project ID (number) or project name.
    * 
* * string project = 2; + * * @return The bytes for project. */ @java.lang.Override - public com.google.protobuf.ByteString - getProjectBytes() { + public com.google.protobuf.ByteString getProjectBytes() { java.lang.Object ref = project_; 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); project_ = b; return b; } else { @@ -229,11 +261,14 @@ public java.lang.String getProject() { public static final int DESCRIPTION_FIELD_NUMBER = 3; private volatile java.lang.Object description_; /** + * + * *
    * The target project's description.
    * 
* * string description = 3; + * * @return The description. */ @java.lang.Override @@ -242,29 +277,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; } } /** + * + * *
    * The target project's 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 { @@ -275,12 +310,16 @@ public java.lang.String getDescription() { public static final int CREATE_TIME_FIELD_NUMBER = 4; private com.google.protobuf.Timestamp createTime_; /** + * + * *
    * Output only. The time this target project resource was created (not related
    * to when the Compute Engine project it points to was created).
    * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ @java.lang.Override @@ -288,12 +327,16 @@ public boolean hasCreateTime() { return createTime_ != null; } /** + * + * *
    * Output only. The time this target project resource was created (not related
    * to when the Compute Engine project it points to was created).
    * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ @java.lang.Override @@ -301,12 +344,15 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
    * Output only. The time this target project resource was created (not related
    * to when the Compute Engine project it points to was created).
    * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -316,11 +362,15 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 5; private com.google.protobuf.Timestamp updateTime_; /** + * + * *
    * Output only. The last time the target project resource was updated.
    * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -328,11 +378,15 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** + * + * *
    * Output only. The last time the target project resource was updated.
    * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateTime. */ @java.lang.Override @@ -340,11 +394,14 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** + * + * *
    * Output only. The last time the target project resource was updated.
    * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { @@ -352,6 +409,7 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -363,8 +421,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_); } @@ -399,12 +456,10 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, description_); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getCreateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getCreateTime()); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getUpdateTime()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -414,28 +469,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.vmmigration.v1.TargetProject)) { return super.equals(obj); } - com.google.cloud.vmmigration.v1.TargetProject other = (com.google.cloud.vmmigration.v1.TargetProject) obj; + com.google.cloud.vmmigration.v1.TargetProject other = + (com.google.cloud.vmmigration.v1.TargetProject) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getProject() - .equals(other.getProject())) return false; - if (!getDescription() - .equals(other.getDescription())) return false; + if (!getName().equals(other.getName())) return false; + if (!getProject().equals(other.getProject())) return false; + if (!getDescription().equals(other.getDescription())) return false; if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime() - .equals(other.getCreateTime())) return false; + if (!getCreateTime().equals(other.getCreateTime())) 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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -467,97 +518,104 @@ public int hashCode() { return hash; } - public static com.google.cloud.vmmigration.v1.TargetProject parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.vmmigration.v1.TargetProject parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.vmmigration.v1.TargetProject 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.vmmigration.v1.TargetProject parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.vmmigration.v1.TargetProject 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.vmmigration.v1.TargetProject parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.vmmigration.v1.TargetProject 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.vmmigration.v1.TargetProject parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.vmmigration.v1.TargetProject 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.vmmigration.v1.TargetProject parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.vmmigration.v1.TargetProject parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.vmmigration.v1.TargetProject 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.vmmigration.v1.TargetProject 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.vmmigration.v1.TargetProject 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.vmmigration.v1.TargetProject 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; } /** + * + * *
    * TargetProject message represents a target Compute Engine project for a
    * migration or a clone.
@@ -565,21 +623,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.vmmigration.v1.TargetProject}
    */
-  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.vmmigration.v1.TargetProject)
       com.google.cloud.vmmigration.v1.TargetProjectOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_TargetProject_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.vmmigration.v1.VmMigrationProto
+          .internal_static_google_cloud_vmmigration_v1_TargetProject_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_TargetProject_fieldAccessorTable
+      return com.google.cloud.vmmigration.v1.VmMigrationProto
+          .internal_static_google_cloud_vmmigration_v1_TargetProject_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.vmmigration.v1.TargetProject.class, com.google.cloud.vmmigration.v1.TargetProject.Builder.class);
+              com.google.cloud.vmmigration.v1.TargetProject.class,
+              com.google.cloud.vmmigration.v1.TargetProject.Builder.class);
     }
 
     // Construct using com.google.cloud.vmmigration.v1.TargetProject.newBuilder()
@@ -587,16 +647,15 @@ 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) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -622,9 +681,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_TargetProject_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.vmmigration.v1.VmMigrationProto
+          .internal_static_google_cloud_vmmigration_v1_TargetProject_descriptor;
     }
 
     @java.lang.Override
@@ -643,7 +702,8 @@ public com.google.cloud.vmmigration.v1.TargetProject build() {
 
     @java.lang.Override
     public com.google.cloud.vmmigration.v1.TargetProject buildPartial() {
-      com.google.cloud.vmmigration.v1.TargetProject result = new com.google.cloud.vmmigration.v1.TargetProject(this);
+      com.google.cloud.vmmigration.v1.TargetProject result =
+          new com.google.cloud.vmmigration.v1.TargetProject(this);
       result.name_ = name_;
       result.project_ = project_;
       result.description_ = description_;
@@ -665,38 +725,39 @@ public com.google.cloud.vmmigration.v1.TargetProject buildPartial() {
     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.vmmigration.v1.TargetProject) {
-        return mergeFrom((com.google.cloud.vmmigration.v1.TargetProject)other);
+        return mergeFrom((com.google.cloud.vmmigration.v1.TargetProject) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -754,18 +815,20 @@ public Builder mergeFrom(
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Output only. The name of the target project.
      * 
* * 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; @@ -774,20 +837,21 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. The name of the target project.
      * 
* * 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 { @@ -795,54 +859,61 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. The name of the target project.
      * 
* * 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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Output only. The name of the target project.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Output only. The name of the target project.
      * 
* * 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) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -850,18 +921,20 @@ public Builder setNameBytes( private java.lang.Object project_ = ""; /** + * + * *
      * The target project ID (number) or project name.
      * 
* * string project = 2; + * * @return The project. */ public java.lang.String getProject() { java.lang.Object ref = project_; 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(); project_ = s; return s; @@ -870,20 +943,21 @@ public java.lang.String getProject() { } } /** + * + * *
      * The target project ID (number) or project name.
      * 
* * string project = 2; + * * @return The bytes for project. */ - public com.google.protobuf.ByteString - getProjectBytes() { + public com.google.protobuf.ByteString getProjectBytes() { java.lang.Object ref = project_; 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); project_ = b; return b; } else { @@ -891,54 +965,61 @@ public java.lang.String getProject() { } } /** + * + * *
      * The target project ID (number) or project name.
      * 
* * string project = 2; + * * @param value The project to set. * @return This builder for chaining. */ - public Builder setProject( - java.lang.String value) { + public Builder setProject(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + project_ = value; onChanged(); return this; } /** + * + * *
      * The target project ID (number) or project name.
      * 
* * string project = 2; + * * @return This builder for chaining. */ public Builder clearProject() { - + project_ = getDefaultInstance().getProject(); onChanged(); return this; } /** + * + * *
      * The target project ID (number) or project name.
      * 
* * string project = 2; + * * @param value The bytes for project to set. * @return This builder for chaining. */ - public Builder setProjectBytes( - com.google.protobuf.ByteString value) { + public Builder setProjectBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + project_ = value; onChanged(); return this; @@ -946,18 +1027,20 @@ public Builder setProjectBytes( private java.lang.Object description_ = ""; /** + * + * *
      * The target project's 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; @@ -966,20 +1049,21 @@ public java.lang.String getDescription() { } } /** + * + * *
      * The target project's 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 { @@ -987,54 +1071,61 @@ public java.lang.String getDescription() { } } /** + * + * *
      * The target project's description.
      * 
* * string description = 3; + * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription( - java.lang.String value) { + public Builder setDescription(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + description_ = value; onChanged(); return this; } /** + * + * *
      * The target project's description.
      * 
* * string description = 3; + * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** + * + * *
      * The target project's 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) { + public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = value; onChanged(); return this; @@ -1042,42 +1133,61 @@ public Builder setDescriptionBytes( private com.google.protobuf.Timestamp createTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + createTimeBuilder_; /** + * + * *
      * Output only. The time this target project resource was created (not related
      * to when the Compute Engine project it points to was created).
      * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** + * + * *
      * Output only. The time this target project resource was created (not related
      * to when the Compute Engine project it points to was created).
      * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. The time this target project resource was created (not related
      * to when the Compute Engine project it points to was created).
      * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -1093,15 +1203,18 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time this target project resource was created (not related
      * to when the Compute Engine project it points to was created).
      * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setCreateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); onChanged(); @@ -1112,18 +1225,22 @@ public Builder setCreateTime( return this; } /** + * + * *
      * Output only. The time this target project resource was created (not related
      * to when the Compute Engine project it points to was created).
      * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { if (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -1135,12 +1252,16 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time this target project resource was created (not related
      * to when the Compute Engine project it points to was created).
      * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearCreateTime() { if (createTimeBuilder_ == null) { @@ -1154,51 +1275,67 @@ public Builder clearCreateTime() { return this; } /** + * + * *
      * Output only. The time this target project resource was created (not related
      * to when the Compute Engine project it points to was created).
      * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The time this target project resource was created (not related
      * to when the Compute Engine project it points to was created).
      * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } } /** + * + * *
      * Output only. The time this target project resource was created (not related
      * to when the Compute Engine project it points to was created).
      * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_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> getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { - createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getCreateTime(), - getParentForChildren(), - isClean()); + createTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), getParentForChildren(), isClean()); createTime_ = null; } return createTimeBuilder_; @@ -1206,39 +1343,58 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { 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. The last time the target project resource was updated.
      * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return updateTimeBuilder_ != null || updateTime_ != null; } /** + * + * *
      * Output only. The last time the target project resource was updated.
      * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 5 [(.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. The last time the target project resource was updated.
      * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { @@ -1254,14 +1410,17 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The last time the target project resource was updated.
      * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 5 [(.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(); onChanged(); @@ -1272,17 +1431,21 @@ public Builder setUpdateTime( return this; } /** + * + * *
      * Output only. The last time the target project resource was updated.
      * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { if (updateTime_ != null) { updateTime_ = - com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); } else { updateTime_ = value; } @@ -1294,11 +1457,15 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The last time the target project resource was updated.
      * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearUpdateTime() { if (updateTimeBuilder_ == null) { @@ -1312,55 +1479,71 @@ public Builder clearUpdateTime() { return this; } /** + * + * *
      * Output only. The last time the target project resource was updated.
      * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { - + onChanged(); return getUpdateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The last time the target project resource was updated.
      * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 5 [(.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. The last time the target project resource was updated.
      * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_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> 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_; } + @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); } @@ -1370,12 +1553,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.vmmigration.v1.TargetProject) } // @@protoc_insertion_point(class_scope:google.cloud.vmmigration.v1.TargetProject) private static final com.google.cloud.vmmigration.v1.TargetProject DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.vmmigration.v1.TargetProject(); } @@ -1384,16 +1567,16 @@ public static com.google.cloud.vmmigration.v1.TargetProject getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TargetProject parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new TargetProject(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TargetProject parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new TargetProject(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1408,6 +1591,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.vmmigration.v1.TargetProject getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/TargetProjectName.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/TargetProjectName.java similarity index 100% rename from owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/TargetProjectName.java rename to proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/TargetProjectName.java diff --git a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/TargetProjectOrBuilder.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/TargetProjectOrBuilder.java similarity index 71% rename from owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/TargetProjectOrBuilder.java rename to proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/TargetProjectOrBuilder.java index c860ae1..e4a6c64 100644 --- a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/TargetProjectOrBuilder.java +++ b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/TargetProjectOrBuilder.java @@ -1,126 +1,179 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; -public interface TargetProjectOrBuilder extends +public interface TargetProjectOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.TargetProject) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. The name of the target project.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Output only. The name of the target project.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * The target project ID (number) or project name.
    * 
* * string project = 2; + * * @return The project. */ java.lang.String getProject(); /** + * + * *
    * The target project ID (number) or project name.
    * 
* * string project = 2; + * * @return The bytes for project. */ - com.google.protobuf.ByteString - getProjectBytes(); + com.google.protobuf.ByteString getProjectBytes(); /** + * + * *
    * The target project's description.
    * 
* * string description = 3; + * * @return The description. */ java.lang.String getDescription(); /** + * + * *
    * The target project's description.
    * 
* * string description = 3; + * * @return The bytes for description. */ - com.google.protobuf.ByteString - getDescriptionBytes(); + com.google.protobuf.ByteString getDescriptionBytes(); /** + * + * *
    * Output only. The time this target project resource was created (not related
    * to when the Compute Engine project it points to was created).
    * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** + * + * *
    * Output only. The time this target project resource was created (not related
    * to when the Compute Engine project it points to was created).
    * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** + * + * *
    * Output only. The time this target project resource was created (not related
    * to when the Compute Engine project it points to was created).
    * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** + * + * *
    * Output only. The last time the target project resource was updated.
    * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** + * + * *
    * Output only. The last time the target project resource was updated.
    * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** + * + * *
    * Output only. The last time the target project resource was updated.
    * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/UpdateGroupRequest.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/UpdateGroupRequest.java similarity index 75% rename from owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/UpdateGroupRequest.java rename to proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/UpdateGroupRequest.java index 3050c75..a474aa9 100644 --- a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/UpdateGroupRequest.java +++ b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/UpdateGroupRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; /** + * + * *
  * Update message for 'UpdateGroups' request.
  * 
* * Protobuf type {@code google.cloud.vmmigration.v1.UpdateGroupRequest} */ -public final class UpdateGroupRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class UpdateGroupRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.vmmigration.v1.UpdateGroupRequest) UpdateGroupRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UpdateGroupRequest.newBuilder() to construct. private UpdateGroupRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private UpdateGroupRequest() { requestId_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UpdateGroupRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private UpdateGroupRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,45 +70,51 @@ private UpdateGroupRequest( case 0: done = true; break; - case 10: { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); - } - updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); - } + case 10: + { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); + } + updateMask_ = + input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); + } - break; - } - case 18: { - com.google.cloud.vmmigration.v1.Group.Builder subBuilder = null; - if (group_ != null) { - subBuilder = group_.toBuilder(); - } - group_ = input.readMessage(com.google.cloud.vmmigration.v1.Group.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(group_); - group_ = subBuilder.buildPartial(); + break; } + case 18: + { + com.google.cloud.vmmigration.v1.Group.Builder subBuilder = null; + if (group_ != null) { + subBuilder = group_.toBuilder(); + } + group_ = + input.readMessage( + com.google.cloud.vmmigration.v1.Group.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(group_); + group_ = subBuilder.buildPartial(); + } - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - requestId_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + requestId_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -99,29 +122,33 @@ private UpdateGroupRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_UpdateGroupRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_UpdateGroupRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_UpdateGroupRequest_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_UpdateGroupRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.UpdateGroupRequest.class, com.google.cloud.vmmigration.v1.UpdateGroupRequest.Builder.class); + com.google.cloud.vmmigration.v1.UpdateGroupRequest.class, + com.google.cloud.vmmigration.v1.UpdateGroupRequest.Builder.class); } public static final int UPDATE_MASK_FIELD_NUMBER = 1; private com.google.protobuf.FieldMask updateMask_; /** + * + * *
    * Field mask is used to specify the fields to be overwritten in the
    * Group resource by the update.
@@ -131,6 +158,7 @@ private UpdateGroupRequest(
    * 
* * .google.protobuf.FieldMask update_mask = 1; + * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -138,6 +166,8 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** + * + * *
    * Field mask is used to specify the fields to be overwritten in the
    * Group resource by the update.
@@ -147,6 +177,7 @@ public boolean hasUpdateMask() {
    * 
* * .google.protobuf.FieldMask update_mask = 1; + * * @return The updateMask. */ @java.lang.Override @@ -154,6 +185,8 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** + * + * *
    * Field mask is used to specify the fields to be overwritten in the
    * Group resource by the update.
@@ -172,11 +205,15 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
   public static final int GROUP_FIELD_NUMBER = 2;
   private com.google.cloud.vmmigration.v1.Group group_;
   /**
+   *
+   *
    * 
    * Required. The update request body.
    * 
* - * .google.cloud.vmmigration.v1.Group group = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.vmmigration.v1.Group group = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the group field is set. */ @java.lang.Override @@ -184,11 +221,15 @@ public boolean hasGroup() { return group_ != null; } /** + * + * *
    * Required. The update request body.
    * 
* - * .google.cloud.vmmigration.v1.Group group = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.vmmigration.v1.Group group = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The group. */ @java.lang.Override @@ -196,11 +237,14 @@ public com.google.cloud.vmmigration.v1.Group getGroup() { return group_ == null ? com.google.cloud.vmmigration.v1.Group.getDefaultInstance() : group_; } /** + * + * *
    * Required. The update request body.
    * 
* - * .google.cloud.vmmigration.v1.Group group = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.vmmigration.v1.Group group = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.vmmigration.v1.GroupOrBuilder getGroupOrBuilder() { @@ -210,6 +254,8 @@ public com.google.cloud.vmmigration.v1.GroupOrBuilder getGroupOrBuilder() { public static final int REQUEST_ID_FIELD_NUMBER = 3; private volatile java.lang.Object requestId_; /** + * + * *
    * A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -225,6 +271,7 @@ public com.google.cloud.vmmigration.v1.GroupOrBuilder getGroupOrBuilder() {
    * 
* * string request_id = 3; + * * @return The requestId. */ @java.lang.Override @@ -233,14 +280,15 @@ public java.lang.String getRequestId() { 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(); requestId_ = s; return s; } } /** + * + * *
    * A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -256,16 +304,15 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 3; + * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; 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); requestId_ = b; return b; } else { @@ -274,6 +321,7 @@ public java.lang.String getRequestId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -285,8 +333,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 (updateMask_ != null) { output.writeMessage(1, getUpdateMask()); } @@ -306,12 +353,10 @@ public int getSerializedSize() { size = 0; if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getUpdateMask()); } if (group_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getGroup()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getGroup()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, requestId_); @@ -324,25 +369,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.vmmigration.v1.UpdateGroupRequest)) { return super.equals(obj); } - com.google.cloud.vmmigration.v1.UpdateGroupRequest other = (com.google.cloud.vmmigration.v1.UpdateGroupRequest) obj; + com.google.cloud.vmmigration.v1.UpdateGroupRequest other = + (com.google.cloud.vmmigration.v1.UpdateGroupRequest) obj; if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask() - .equals(other.getUpdateMask())) return false; + if (!getUpdateMask().equals(other.getUpdateMask())) return false; } if (hasGroup() != other.hasGroup()) return false; if (hasGroup()) { - if (!getGroup() - .equals(other.getGroup())) return false; + if (!getGroup().equals(other.getGroup())) return false; } - if (!getRequestId() - .equals(other.getRequestId())) return false; + if (!getRequestId().equals(other.getRequestId())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -370,117 +413,126 @@ public int hashCode() { } public static com.google.cloud.vmmigration.v1.UpdateGroupRequest 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.vmmigration.v1.UpdateGroupRequest 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.vmmigration.v1.UpdateGroupRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.vmmigration.v1.UpdateGroupRequest 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.vmmigration.v1.UpdateGroupRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.vmmigration.v1.UpdateGroupRequest 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.vmmigration.v1.UpdateGroupRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.vmmigration.v1.UpdateGroupRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.vmmigration.v1.UpdateGroupRequest 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.vmmigration.v1.UpdateGroupRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.vmmigration.v1.UpdateGroupRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.vmmigration.v1.UpdateGroupRequest 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.vmmigration.v1.UpdateGroupRequest 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.vmmigration.v1.UpdateGroupRequest 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.vmmigration.v1.UpdateGroupRequest 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; } /** + * + * *
    * Update message for 'UpdateGroups' request.
    * 
* * Protobuf type {@code google.cloud.vmmigration.v1.UpdateGroupRequest} */ - 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.vmmigration.v1.UpdateGroupRequest) com.google.cloud.vmmigration.v1.UpdateGroupRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_UpdateGroupRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_UpdateGroupRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_UpdateGroupRequest_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_UpdateGroupRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.UpdateGroupRequest.class, com.google.cloud.vmmigration.v1.UpdateGroupRequest.Builder.class); + com.google.cloud.vmmigration.v1.UpdateGroupRequest.class, + com.google.cloud.vmmigration.v1.UpdateGroupRequest.Builder.class); } // Construct using com.google.cloud.vmmigration.v1.UpdateGroupRequest.newBuilder() @@ -488,16 +540,15 @@ 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) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -519,9 +570,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_UpdateGroupRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_UpdateGroupRequest_descriptor; } @java.lang.Override @@ -540,7 +591,8 @@ public com.google.cloud.vmmigration.v1.UpdateGroupRequest build() { @java.lang.Override public com.google.cloud.vmmigration.v1.UpdateGroupRequest buildPartial() { - com.google.cloud.vmmigration.v1.UpdateGroupRequest result = new com.google.cloud.vmmigration.v1.UpdateGroupRequest(this); + com.google.cloud.vmmigration.v1.UpdateGroupRequest result = + new com.google.cloud.vmmigration.v1.UpdateGroupRequest(this); if (updateMaskBuilder_ == null) { result.updateMask_ = updateMask_; } else { @@ -560,38 +612,39 @@ public com.google.cloud.vmmigration.v1.UpdateGroupRequest buildPartial() { 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.vmmigration.v1.UpdateGroupRequest) { - return mergeFrom((com.google.cloud.vmmigration.v1.UpdateGroupRequest)other); + return mergeFrom((com.google.cloud.vmmigration.v1.UpdateGroupRequest) other); } else { super.mergeFrom(other); return this; @@ -599,7 +652,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.vmmigration.v1.UpdateGroupRequest other) { - if (other == com.google.cloud.vmmigration.v1.UpdateGroupRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.vmmigration.v1.UpdateGroupRequest.getDefaultInstance()) + return this; if (other.hasUpdateMask()) { mergeUpdateMask(other.getUpdateMask()); } @@ -629,7 +683,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.vmmigration.v1.UpdateGroupRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.vmmigration.v1.UpdateGroupRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -641,8 +696,13 @@ public Builder mergeFrom( 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_; /** + * + * *
      * Field mask is used to specify the fields to be overwritten in the
      * Group resource by the update.
@@ -652,12 +712,15 @@ public Builder mergeFrom(
      * 
* * .google.protobuf.FieldMask update_mask = 1; + * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** + * + * *
      * Field mask is used to specify the fields to be overwritten in the
      * Group resource by the update.
@@ -667,16 +730,21 @@ public boolean hasUpdateMask() {
      * 
* * .google.protobuf.FieldMask update_mask = 1; + * * @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(); } } /** + * + * *
      * Field mask is used to specify the fields to be overwritten in the
      * Group resource by the update.
@@ -701,6 +769,8 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Field mask is used to specify the fields to be overwritten in the
      * Group resource by the update.
@@ -711,8 +781,7 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      *
      * .google.protobuf.FieldMask update_mask = 1;
      */
-    public Builder setUpdateMask(
-        com.google.protobuf.FieldMask.Builder builderForValue) {
+    public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) {
       if (updateMaskBuilder_ == null) {
         updateMask_ = builderForValue.build();
         onChanged();
@@ -723,6 +792,8 @@ public Builder setUpdateMask(
       return this;
     }
     /**
+     *
+     *
      * 
      * Field mask is used to specify the fields to be overwritten in the
      * Group resource by the update.
@@ -737,7 +808,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       if (updateMaskBuilder_ == null) {
         if (updateMask_ != null) {
           updateMask_ =
-            com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
+              com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
         } else {
           updateMask_ = value;
         }
@@ -749,6 +820,8 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Field mask is used to specify the fields to be overwritten in the
      * Group resource by the update.
@@ -771,6 +844,8 @@ public Builder clearUpdateMask() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Field mask is used to specify the fields to be overwritten in the
      * Group resource by the update.
@@ -782,11 +857,13 @@ public Builder clearUpdateMask() {
      * .google.protobuf.FieldMask update_mask = 1;
      */
     public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
-      
+
       onChanged();
       return getUpdateMaskFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Field mask is used to specify the fields to be overwritten in the
      * Group resource by the update.
@@ -801,11 +878,14 @@ 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_;
       }
     }
     /**
+     *
+     *
      * 
      * Field mask is used to specify the fields to be overwritten in the
      * Group resource by the update.
@@ -817,14 +897,17 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      * .google.protobuf.FieldMask update_mask = 1;
      */
     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_;
@@ -832,24 +915,35 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
 
     private com.google.cloud.vmmigration.v1.Group group_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.vmmigration.v1.Group, com.google.cloud.vmmigration.v1.Group.Builder, com.google.cloud.vmmigration.v1.GroupOrBuilder> groupBuilder_;
+            com.google.cloud.vmmigration.v1.Group,
+            com.google.cloud.vmmigration.v1.Group.Builder,
+            com.google.cloud.vmmigration.v1.GroupOrBuilder>
+        groupBuilder_;
     /**
+     *
+     *
      * 
      * Required. The update request body.
      * 
* - * .google.cloud.vmmigration.v1.Group group = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.vmmigration.v1.Group group = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the group field is set. */ public boolean hasGroup() { return groupBuilder_ != null || group_ != null; } /** + * + * *
      * Required. The update request body.
      * 
* - * .google.cloud.vmmigration.v1.Group group = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.vmmigration.v1.Group group = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The group. */ public com.google.cloud.vmmigration.v1.Group getGroup() { @@ -860,11 +954,14 @@ public com.google.cloud.vmmigration.v1.Group getGroup() { } } /** + * + * *
      * Required. The update request body.
      * 
* - * .google.cloud.vmmigration.v1.Group group = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.vmmigration.v1.Group group = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setGroup(com.google.cloud.vmmigration.v1.Group value) { if (groupBuilder_ == null) { @@ -880,14 +977,16 @@ public Builder setGroup(com.google.cloud.vmmigration.v1.Group value) { return this; } /** + * + * *
      * Required. The update request body.
      * 
* - * .google.cloud.vmmigration.v1.Group group = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.vmmigration.v1.Group group = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setGroup( - com.google.cloud.vmmigration.v1.Group.Builder builderForValue) { + public Builder setGroup(com.google.cloud.vmmigration.v1.Group.Builder builderForValue) { if (groupBuilder_ == null) { group_ = builderForValue.build(); onChanged(); @@ -898,17 +997,22 @@ public Builder setGroup( return this; } /** + * + * *
      * Required. The update request body.
      * 
* - * .google.cloud.vmmigration.v1.Group group = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.vmmigration.v1.Group group = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeGroup(com.google.cloud.vmmigration.v1.Group value) { if (groupBuilder_ == null) { if (group_ != null) { group_ = - com.google.cloud.vmmigration.v1.Group.newBuilder(group_).mergeFrom(value).buildPartial(); + com.google.cloud.vmmigration.v1.Group.newBuilder(group_) + .mergeFrom(value) + .buildPartial(); } else { group_ = value; } @@ -920,11 +1024,14 @@ public Builder mergeGroup(com.google.cloud.vmmigration.v1.Group value) { return this; } /** + * + * *
      * Required. The update request body.
      * 
* - * .google.cloud.vmmigration.v1.Group group = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.vmmigration.v1.Group group = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearGroup() { if (groupBuilder_ == null) { @@ -938,48 +1045,59 @@ public Builder clearGroup() { return this; } /** + * + * *
      * Required. The update request body.
      * 
* - * .google.cloud.vmmigration.v1.Group group = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.vmmigration.v1.Group group = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.vmmigration.v1.Group.Builder getGroupBuilder() { - + onChanged(); return getGroupFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The update request body.
      * 
* - * .google.cloud.vmmigration.v1.Group group = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.vmmigration.v1.Group group = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.vmmigration.v1.GroupOrBuilder getGroupOrBuilder() { if (groupBuilder_ != null) { return groupBuilder_.getMessageOrBuilder(); } else { - return group_ == null ? - com.google.cloud.vmmigration.v1.Group.getDefaultInstance() : group_; + return group_ == null ? com.google.cloud.vmmigration.v1.Group.getDefaultInstance() : group_; } } /** + * + * *
      * Required. The update request body.
      * 
* - * .google.cloud.vmmigration.v1.Group group = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.vmmigration.v1.Group group = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.vmmigration.v1.Group, com.google.cloud.vmmigration.v1.Group.Builder, com.google.cloud.vmmigration.v1.GroupOrBuilder> + com.google.cloud.vmmigration.v1.Group, + com.google.cloud.vmmigration.v1.Group.Builder, + com.google.cloud.vmmigration.v1.GroupOrBuilder> getGroupFieldBuilder() { if (groupBuilder_ == null) { - groupBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.vmmigration.v1.Group, com.google.cloud.vmmigration.v1.Group.Builder, com.google.cloud.vmmigration.v1.GroupOrBuilder>( - getGroup(), - getParentForChildren(), - isClean()); + groupBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.vmmigration.v1.Group, + com.google.cloud.vmmigration.v1.Group.Builder, + com.google.cloud.vmmigration.v1.GroupOrBuilder>( + getGroup(), getParentForChildren(), isClean()); group_ = null; } return groupBuilder_; @@ -987,6 +1105,8 @@ public com.google.cloud.vmmigration.v1.GroupOrBuilder getGroupOrBuilder() { private java.lang.Object requestId_ = ""; /** + * + * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1002,13 +1122,13 @@ public com.google.cloud.vmmigration.v1.GroupOrBuilder getGroupOrBuilder() {
      * 
* * string request_id = 3; + * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; 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(); requestId_ = s; return s; @@ -1017,6 +1137,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1032,15 +1154,14 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 3; + * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; 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); requestId_ = b; return b; } else { @@ -1048,6 +1169,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1063,20 +1186,22 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 3; + * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId( - java.lang.String value) { + public Builder setRequestId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + requestId_ = value; onChanged(); return this; } /** + * + * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1092,15 +1217,18 @@ public Builder setRequestId(
      * 
* * string request_id = 3; + * * @return This builder for chaining. */ public Builder clearRequestId() { - + requestId_ = getDefaultInstance().getRequestId(); onChanged(); return this; } /** + * + * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1116,23 +1244,23 @@ public Builder clearRequestId() {
      * 
* * string request_id = 3; + * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes( - com.google.protobuf.ByteString value) { + public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + requestId_ = 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); } @@ -1142,12 +1270,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.vmmigration.v1.UpdateGroupRequest) } // @@protoc_insertion_point(class_scope:google.cloud.vmmigration.v1.UpdateGroupRequest) private static final com.google.cloud.vmmigration.v1.UpdateGroupRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.vmmigration.v1.UpdateGroupRequest(); } @@ -1156,16 +1284,16 @@ public static com.google.cloud.vmmigration.v1.UpdateGroupRequest getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateGroupRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new UpdateGroupRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateGroupRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new UpdateGroupRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1180,6 +1308,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.vmmigration.v1.UpdateGroupRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/UpdateGroupRequestOrBuilder.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/UpdateGroupRequestOrBuilder.java similarity index 81% rename from owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/UpdateGroupRequestOrBuilder.java rename to proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/UpdateGroupRequestOrBuilder.java index 8b3ad54..0f3570f 100644 --- a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/UpdateGroupRequestOrBuilder.java +++ b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/UpdateGroupRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; -public interface UpdateGroupRequestOrBuilder extends +public interface UpdateGroupRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.UpdateGroupRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Field mask is used to specify the fields to be overwritten in the
    * Group resource by the update.
@@ -17,10 +35,13 @@ public interface UpdateGroupRequestOrBuilder extends
    * 
* * .google.protobuf.FieldMask update_mask = 1; + * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** + * + * *
    * Field mask is used to specify the fields to be overwritten in the
    * Group resource by the update.
@@ -30,10 +51,13 @@ public interface UpdateGroupRequestOrBuilder extends
    * 
* * .google.protobuf.FieldMask update_mask = 1; + * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** + * + * *
    * Field mask is used to specify the fields to be overwritten in the
    * Group resource by the update.
@@ -47,33 +71,46 @@ public interface UpdateGroupRequestOrBuilder extends
   com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder();
 
   /**
+   *
+   *
    * 
    * Required. The update request body.
    * 
* - * .google.cloud.vmmigration.v1.Group group = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.vmmigration.v1.Group group = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the group field is set. */ boolean hasGroup(); /** + * + * *
    * Required. The update request body.
    * 
* - * .google.cloud.vmmigration.v1.Group group = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.vmmigration.v1.Group group = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The group. */ com.google.cloud.vmmigration.v1.Group getGroup(); /** + * + * *
    * Required. The update request body.
    * 
* - * .google.cloud.vmmigration.v1.Group group = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.vmmigration.v1.Group group = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.vmmigration.v1.GroupOrBuilder getGroupOrBuilder(); /** + * + * *
    * A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -89,10 +126,13 @@ public interface UpdateGroupRequestOrBuilder extends
    * 
* * string request_id = 3; + * * @return The requestId. */ java.lang.String getRequestId(); /** + * + * *
    * A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -108,8 +148,8 @@ public interface UpdateGroupRequestOrBuilder extends
    * 
* * string request_id = 3; + * * @return The bytes for requestId. */ - com.google.protobuf.ByteString - getRequestIdBytes(); + com.google.protobuf.ByteString getRequestIdBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/UpdateMigratingVmRequest.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/UpdateMigratingVmRequest.java similarity index 72% rename from owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/UpdateMigratingVmRequest.java rename to proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/UpdateMigratingVmRequest.java index 4b90f3d..8e9f08c 100644 --- a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/UpdateMigratingVmRequest.java +++ b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/UpdateMigratingVmRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; /** + * + * *
  * Request message for 'UpdateMigratingVm' request.
  * 
* * Protobuf type {@code google.cloud.vmmigration.v1.UpdateMigratingVmRequest} */ -public final class UpdateMigratingVmRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class UpdateMigratingVmRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.vmmigration.v1.UpdateMigratingVmRequest) UpdateMigratingVmRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UpdateMigratingVmRequest.newBuilder() to construct. private UpdateMigratingVmRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private UpdateMigratingVmRequest() { requestId_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UpdateMigratingVmRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private UpdateMigratingVmRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,45 +70,51 @@ private UpdateMigratingVmRequest( case 0: done = true; break; - case 10: { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); - } - updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); - } + case 10: + { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); + } + updateMask_ = + input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); + } - break; - } - case 18: { - com.google.cloud.vmmigration.v1.MigratingVm.Builder subBuilder = null; - if (migratingVm_ != null) { - subBuilder = migratingVm_.toBuilder(); - } - migratingVm_ = input.readMessage(com.google.cloud.vmmigration.v1.MigratingVm.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(migratingVm_); - migratingVm_ = subBuilder.buildPartial(); + break; } + case 18: + { + com.google.cloud.vmmigration.v1.MigratingVm.Builder subBuilder = null; + if (migratingVm_ != null) { + subBuilder = migratingVm_.toBuilder(); + } + migratingVm_ = + input.readMessage( + com.google.cloud.vmmigration.v1.MigratingVm.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(migratingVm_); + migratingVm_ = subBuilder.buildPartial(); + } - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - requestId_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + requestId_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -99,29 +122,33 @@ private UpdateMigratingVmRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_UpdateMigratingVmRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_UpdateMigratingVmRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_UpdateMigratingVmRequest_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_UpdateMigratingVmRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.UpdateMigratingVmRequest.class, com.google.cloud.vmmigration.v1.UpdateMigratingVmRequest.Builder.class); + com.google.cloud.vmmigration.v1.UpdateMigratingVmRequest.class, + com.google.cloud.vmmigration.v1.UpdateMigratingVmRequest.Builder.class); } public static final int UPDATE_MASK_FIELD_NUMBER = 1; private com.google.protobuf.FieldMask updateMask_; /** + * + * *
    * Field mask is used to specify the fields to be overwritten in the
    * MigratingVm resource by the update.
@@ -131,6 +158,7 @@ private UpdateMigratingVmRequest(
    * 
* * .google.protobuf.FieldMask update_mask = 1; + * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -138,6 +166,8 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** + * + * *
    * Field mask is used to specify the fields to be overwritten in the
    * MigratingVm resource by the update.
@@ -147,6 +177,7 @@ public boolean hasUpdateMask() {
    * 
* * .google.protobuf.FieldMask update_mask = 1; + * * @return The updateMask. */ @java.lang.Override @@ -154,6 +185,8 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** + * + * *
    * Field mask is used to specify the fields to be overwritten in the
    * MigratingVm resource by the update.
@@ -172,11 +205,16 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
   public static final int MIGRATING_VM_FIELD_NUMBER = 2;
   private com.google.cloud.vmmigration.v1.MigratingVm migratingVm_;
   /**
+   *
+   *
    * 
    * Required. The update request body.
    * 
* - * .google.cloud.vmmigration.v1.MigratingVm migrating_vm = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.vmmigration.v1.MigratingVm migrating_vm = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the migratingVm field is set. */ @java.lang.Override @@ -184,23 +222,34 @@ public boolean hasMigratingVm() { return migratingVm_ != null; } /** + * + * *
    * Required. The update request body.
    * 
* - * .google.cloud.vmmigration.v1.MigratingVm migrating_vm = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.vmmigration.v1.MigratingVm migrating_vm = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The migratingVm. */ @java.lang.Override public com.google.cloud.vmmigration.v1.MigratingVm getMigratingVm() { - return migratingVm_ == null ? com.google.cloud.vmmigration.v1.MigratingVm.getDefaultInstance() : migratingVm_; + return migratingVm_ == null + ? com.google.cloud.vmmigration.v1.MigratingVm.getDefaultInstance() + : migratingVm_; } /** + * + * *
    * Required. The update request body.
    * 
* - * .google.cloud.vmmigration.v1.MigratingVm migrating_vm = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.vmmigration.v1.MigratingVm migrating_vm = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.vmmigration.v1.MigratingVmOrBuilder getMigratingVmOrBuilder() { @@ -210,6 +259,8 @@ public com.google.cloud.vmmigration.v1.MigratingVmOrBuilder getMigratingVmOrBuil public static final int REQUEST_ID_FIELD_NUMBER = 3; private volatile java.lang.Object requestId_; /** + * + * *
    * A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -225,6 +276,7 @@ public com.google.cloud.vmmigration.v1.MigratingVmOrBuilder getMigratingVmOrBuil
    * 
* * string request_id = 3; + * * @return The requestId. */ @java.lang.Override @@ -233,14 +285,15 @@ public java.lang.String getRequestId() { 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(); requestId_ = s; return s; } } /** + * + * *
    * A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -256,16 +309,15 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 3; + * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; 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); requestId_ = b; return b; } else { @@ -274,6 +326,7 @@ public java.lang.String getRequestId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -285,8 +338,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 (updateMask_ != null) { output.writeMessage(1, getUpdateMask()); } @@ -306,12 +358,10 @@ public int getSerializedSize() { size = 0; if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getUpdateMask()); } if (migratingVm_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getMigratingVm()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getMigratingVm()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, requestId_); @@ -324,25 +374,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.vmmigration.v1.UpdateMigratingVmRequest)) { return super.equals(obj); } - com.google.cloud.vmmigration.v1.UpdateMigratingVmRequest other = (com.google.cloud.vmmigration.v1.UpdateMigratingVmRequest) obj; + com.google.cloud.vmmigration.v1.UpdateMigratingVmRequest other = + (com.google.cloud.vmmigration.v1.UpdateMigratingVmRequest) obj; if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask() - .equals(other.getUpdateMask())) return false; + if (!getUpdateMask().equals(other.getUpdateMask())) return false; } if (hasMigratingVm() != other.hasMigratingVm()) return false; if (hasMigratingVm()) { - if (!getMigratingVm() - .equals(other.getMigratingVm())) return false; + if (!getMigratingVm().equals(other.getMigratingVm())) return false; } - if (!getRequestId() - .equals(other.getRequestId())) return false; + if (!getRequestId().equals(other.getRequestId())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -370,117 +418,127 @@ public int hashCode() { } public static com.google.cloud.vmmigration.v1.UpdateMigratingVmRequest 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.vmmigration.v1.UpdateMigratingVmRequest 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.vmmigration.v1.UpdateMigratingVmRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.vmmigration.v1.UpdateMigratingVmRequest 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.vmmigration.v1.UpdateMigratingVmRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.vmmigration.v1.UpdateMigratingVmRequest 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.vmmigration.v1.UpdateMigratingVmRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.vmmigration.v1.UpdateMigratingVmRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.vmmigration.v1.UpdateMigratingVmRequest 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.vmmigration.v1.UpdateMigratingVmRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.vmmigration.v1.UpdateMigratingVmRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.vmmigration.v1.UpdateMigratingVmRequest 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.vmmigration.v1.UpdateMigratingVmRequest 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.vmmigration.v1.UpdateMigratingVmRequest 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.vmmigration.v1.UpdateMigratingVmRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.vmmigration.v1.UpdateMigratingVmRequest 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 message for 'UpdateMigratingVm' request.
    * 
* * Protobuf type {@code google.cloud.vmmigration.v1.UpdateMigratingVmRequest} */ - 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.vmmigration.v1.UpdateMigratingVmRequest) com.google.cloud.vmmigration.v1.UpdateMigratingVmRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_UpdateMigratingVmRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_UpdateMigratingVmRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_UpdateMigratingVmRequest_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_UpdateMigratingVmRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.UpdateMigratingVmRequest.class, com.google.cloud.vmmigration.v1.UpdateMigratingVmRequest.Builder.class); + com.google.cloud.vmmigration.v1.UpdateMigratingVmRequest.class, + com.google.cloud.vmmigration.v1.UpdateMigratingVmRequest.Builder.class); } // Construct using com.google.cloud.vmmigration.v1.UpdateMigratingVmRequest.newBuilder() @@ -488,16 +546,15 @@ 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) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -519,9 +576,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_UpdateMigratingVmRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_UpdateMigratingVmRequest_descriptor; } @java.lang.Override @@ -540,7 +597,8 @@ public com.google.cloud.vmmigration.v1.UpdateMigratingVmRequest build() { @java.lang.Override public com.google.cloud.vmmigration.v1.UpdateMigratingVmRequest buildPartial() { - com.google.cloud.vmmigration.v1.UpdateMigratingVmRequest result = new com.google.cloud.vmmigration.v1.UpdateMigratingVmRequest(this); + com.google.cloud.vmmigration.v1.UpdateMigratingVmRequest result = + new com.google.cloud.vmmigration.v1.UpdateMigratingVmRequest(this); if (updateMaskBuilder_ == null) { result.updateMask_ = updateMask_; } else { @@ -560,38 +618,39 @@ public com.google.cloud.vmmigration.v1.UpdateMigratingVmRequest buildPartial() { 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.vmmigration.v1.UpdateMigratingVmRequest) { - return mergeFrom((com.google.cloud.vmmigration.v1.UpdateMigratingVmRequest)other); + return mergeFrom((com.google.cloud.vmmigration.v1.UpdateMigratingVmRequest) other); } else { super.mergeFrom(other); return this; @@ -599,7 +658,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.vmmigration.v1.UpdateMigratingVmRequest other) { - if (other == com.google.cloud.vmmigration.v1.UpdateMigratingVmRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.vmmigration.v1.UpdateMigratingVmRequest.getDefaultInstance()) + return this; if (other.hasUpdateMask()) { mergeUpdateMask(other.getUpdateMask()); } @@ -629,7 +689,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.vmmigration.v1.UpdateMigratingVmRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.vmmigration.v1.UpdateMigratingVmRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -641,8 +702,13 @@ public Builder mergeFrom( 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_; /** + * + * *
      * Field mask is used to specify the fields to be overwritten in the
      * MigratingVm resource by the update.
@@ -652,12 +718,15 @@ public Builder mergeFrom(
      * 
* * .google.protobuf.FieldMask update_mask = 1; + * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** + * + * *
      * Field mask is used to specify the fields to be overwritten in the
      * MigratingVm resource by the update.
@@ -667,16 +736,21 @@ public boolean hasUpdateMask() {
      * 
* * .google.protobuf.FieldMask update_mask = 1; + * * @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(); } } /** + * + * *
      * Field mask is used to specify the fields to be overwritten in the
      * MigratingVm resource by the update.
@@ -701,6 +775,8 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Field mask is used to specify the fields to be overwritten in the
      * MigratingVm resource by the update.
@@ -711,8 +787,7 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      *
      * .google.protobuf.FieldMask update_mask = 1;
      */
-    public Builder setUpdateMask(
-        com.google.protobuf.FieldMask.Builder builderForValue) {
+    public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) {
       if (updateMaskBuilder_ == null) {
         updateMask_ = builderForValue.build();
         onChanged();
@@ -723,6 +798,8 @@ public Builder setUpdateMask(
       return this;
     }
     /**
+     *
+     *
      * 
      * Field mask is used to specify the fields to be overwritten in the
      * MigratingVm resource by the update.
@@ -737,7 +814,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       if (updateMaskBuilder_ == null) {
         if (updateMask_ != null) {
           updateMask_ =
-            com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
+              com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
         } else {
           updateMask_ = value;
         }
@@ -749,6 +826,8 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Field mask is used to specify the fields to be overwritten in the
      * MigratingVm resource by the update.
@@ -771,6 +850,8 @@ public Builder clearUpdateMask() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Field mask is used to specify the fields to be overwritten in the
      * MigratingVm resource by the update.
@@ -782,11 +863,13 @@ public Builder clearUpdateMask() {
      * .google.protobuf.FieldMask update_mask = 1;
      */
     public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
-      
+
       onChanged();
       return getUpdateMaskFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Field mask is used to specify the fields to be overwritten in the
      * MigratingVm resource by the update.
@@ -801,11 +884,14 @@ 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_;
       }
     }
     /**
+     *
+     *
      * 
      * Field mask is used to specify the fields to be overwritten in the
      * MigratingVm resource by the update.
@@ -817,14 +903,17 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      * .google.protobuf.FieldMask update_mask = 1;
      */
     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_;
@@ -832,39 +921,58 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
 
     private com.google.cloud.vmmigration.v1.MigratingVm migratingVm_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.vmmigration.v1.MigratingVm, com.google.cloud.vmmigration.v1.MigratingVm.Builder, com.google.cloud.vmmigration.v1.MigratingVmOrBuilder> migratingVmBuilder_;
+            com.google.cloud.vmmigration.v1.MigratingVm,
+            com.google.cloud.vmmigration.v1.MigratingVm.Builder,
+            com.google.cloud.vmmigration.v1.MigratingVmOrBuilder>
+        migratingVmBuilder_;
     /**
+     *
+     *
      * 
      * Required. The update request body.
      * 
* - * .google.cloud.vmmigration.v1.MigratingVm migrating_vm = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.vmmigration.v1.MigratingVm migrating_vm = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the migratingVm field is set. */ public boolean hasMigratingVm() { return migratingVmBuilder_ != null || migratingVm_ != null; } /** + * + * *
      * Required. The update request body.
      * 
* - * .google.cloud.vmmigration.v1.MigratingVm migrating_vm = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.vmmigration.v1.MigratingVm migrating_vm = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The migratingVm. */ public com.google.cloud.vmmigration.v1.MigratingVm getMigratingVm() { if (migratingVmBuilder_ == null) { - return migratingVm_ == null ? com.google.cloud.vmmigration.v1.MigratingVm.getDefaultInstance() : migratingVm_; + return migratingVm_ == null + ? com.google.cloud.vmmigration.v1.MigratingVm.getDefaultInstance() + : migratingVm_; } else { return migratingVmBuilder_.getMessage(); } } /** + * + * *
      * Required. The update request body.
      * 
* - * .google.cloud.vmmigration.v1.MigratingVm migrating_vm = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.vmmigration.v1.MigratingVm migrating_vm = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setMigratingVm(com.google.cloud.vmmigration.v1.MigratingVm value) { if (migratingVmBuilder_ == null) { @@ -880,11 +988,15 @@ public Builder setMigratingVm(com.google.cloud.vmmigration.v1.MigratingVm value) return this; } /** + * + * *
      * Required. The update request body.
      * 
* - * .google.cloud.vmmigration.v1.MigratingVm migrating_vm = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.vmmigration.v1.MigratingVm migrating_vm = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setMigratingVm( com.google.cloud.vmmigration.v1.MigratingVm.Builder builderForValue) { @@ -898,17 +1010,23 @@ public Builder setMigratingVm( return this; } /** + * + * *
      * Required. The update request body.
      * 
* - * .google.cloud.vmmigration.v1.MigratingVm migrating_vm = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.vmmigration.v1.MigratingVm migrating_vm = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeMigratingVm(com.google.cloud.vmmigration.v1.MigratingVm value) { if (migratingVmBuilder_ == null) { if (migratingVm_ != null) { migratingVm_ = - com.google.cloud.vmmigration.v1.MigratingVm.newBuilder(migratingVm_).mergeFrom(value).buildPartial(); + com.google.cloud.vmmigration.v1.MigratingVm.newBuilder(migratingVm_) + .mergeFrom(value) + .buildPartial(); } else { migratingVm_ = value; } @@ -920,11 +1038,15 @@ public Builder mergeMigratingVm(com.google.cloud.vmmigration.v1.MigratingVm valu return this; } /** + * + * *
      * Required. The update request body.
      * 
* - * .google.cloud.vmmigration.v1.MigratingVm migrating_vm = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.vmmigration.v1.MigratingVm migrating_vm = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearMigratingVm() { if (migratingVmBuilder_ == null) { @@ -938,48 +1060,64 @@ public Builder clearMigratingVm() { return this; } /** + * + * *
      * Required. The update request body.
      * 
* - * .google.cloud.vmmigration.v1.MigratingVm migrating_vm = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.vmmigration.v1.MigratingVm migrating_vm = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.vmmigration.v1.MigratingVm.Builder getMigratingVmBuilder() { - + onChanged(); return getMigratingVmFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The update request body.
      * 
* - * .google.cloud.vmmigration.v1.MigratingVm migrating_vm = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.vmmigration.v1.MigratingVm migrating_vm = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.vmmigration.v1.MigratingVmOrBuilder getMigratingVmOrBuilder() { if (migratingVmBuilder_ != null) { return migratingVmBuilder_.getMessageOrBuilder(); } else { - return migratingVm_ == null ? - com.google.cloud.vmmigration.v1.MigratingVm.getDefaultInstance() : migratingVm_; + return migratingVm_ == null + ? com.google.cloud.vmmigration.v1.MigratingVm.getDefaultInstance() + : migratingVm_; } } /** + * + * *
      * Required. The update request body.
      * 
* - * .google.cloud.vmmigration.v1.MigratingVm migrating_vm = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.vmmigration.v1.MigratingVm migrating_vm = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.vmmigration.v1.MigratingVm, com.google.cloud.vmmigration.v1.MigratingVm.Builder, com.google.cloud.vmmigration.v1.MigratingVmOrBuilder> + com.google.cloud.vmmigration.v1.MigratingVm, + com.google.cloud.vmmigration.v1.MigratingVm.Builder, + com.google.cloud.vmmigration.v1.MigratingVmOrBuilder> getMigratingVmFieldBuilder() { if (migratingVmBuilder_ == null) { - migratingVmBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.vmmigration.v1.MigratingVm, com.google.cloud.vmmigration.v1.MigratingVm.Builder, com.google.cloud.vmmigration.v1.MigratingVmOrBuilder>( - getMigratingVm(), - getParentForChildren(), - isClean()); + migratingVmBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.vmmigration.v1.MigratingVm, + com.google.cloud.vmmigration.v1.MigratingVm.Builder, + com.google.cloud.vmmigration.v1.MigratingVmOrBuilder>( + getMigratingVm(), getParentForChildren(), isClean()); migratingVm_ = null; } return migratingVmBuilder_; @@ -987,6 +1125,8 @@ public com.google.cloud.vmmigration.v1.MigratingVmOrBuilder getMigratingVmOrBuil private java.lang.Object requestId_ = ""; /** + * + * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1002,13 +1142,13 @@ public com.google.cloud.vmmigration.v1.MigratingVmOrBuilder getMigratingVmOrBuil
      * 
* * string request_id = 3; + * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; 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(); requestId_ = s; return s; @@ -1017,6 +1157,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1032,15 +1174,14 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 3; + * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; 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); requestId_ = b; return b; } else { @@ -1048,6 +1189,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1063,20 +1206,22 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 3; + * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId( - java.lang.String value) { + public Builder setRequestId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + requestId_ = value; onChanged(); return this; } /** + * + * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1092,15 +1237,18 @@ public Builder setRequestId(
      * 
* * string request_id = 3; + * * @return This builder for chaining. */ public Builder clearRequestId() { - + requestId_ = getDefaultInstance().getRequestId(); onChanged(); return this; } /** + * + * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1116,23 +1264,23 @@ public Builder clearRequestId() {
      * 
* * string request_id = 3; + * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes( - com.google.protobuf.ByteString value) { + public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + requestId_ = 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); } @@ -1142,12 +1290,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.vmmigration.v1.UpdateMigratingVmRequest) } // @@protoc_insertion_point(class_scope:google.cloud.vmmigration.v1.UpdateMigratingVmRequest) private static final com.google.cloud.vmmigration.v1.UpdateMigratingVmRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.vmmigration.v1.UpdateMigratingVmRequest(); } @@ -1156,16 +1304,16 @@ public static com.google.cloud.vmmigration.v1.UpdateMigratingVmRequest getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateMigratingVmRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new UpdateMigratingVmRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateMigratingVmRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new UpdateMigratingVmRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1180,6 +1328,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.vmmigration.v1.UpdateMigratingVmRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/UpdateMigratingVmRequestOrBuilder.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/UpdateMigratingVmRequestOrBuilder.java similarity index 77% rename from owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/UpdateMigratingVmRequestOrBuilder.java rename to proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/UpdateMigratingVmRequestOrBuilder.java index ff94216..9d2a979 100644 --- a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/UpdateMigratingVmRequestOrBuilder.java +++ b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/UpdateMigratingVmRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; -public interface UpdateMigratingVmRequestOrBuilder extends +public interface UpdateMigratingVmRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.UpdateMigratingVmRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Field mask is used to specify the fields to be overwritten in the
    * MigratingVm resource by the update.
@@ -17,10 +35,13 @@ public interface UpdateMigratingVmRequestOrBuilder extends
    * 
* * .google.protobuf.FieldMask update_mask = 1; + * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** + * + * *
    * Field mask is used to specify the fields to be overwritten in the
    * MigratingVm resource by the update.
@@ -30,10 +51,13 @@ public interface UpdateMigratingVmRequestOrBuilder extends
    * 
* * .google.protobuf.FieldMask update_mask = 1; + * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** + * + * *
    * Field mask is used to specify the fields to be overwritten in the
    * MigratingVm resource by the update.
@@ -47,33 +71,49 @@ public interface UpdateMigratingVmRequestOrBuilder extends
   com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder();
 
   /**
+   *
+   *
    * 
    * Required. The update request body.
    * 
* - * .google.cloud.vmmigration.v1.MigratingVm migrating_vm = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.vmmigration.v1.MigratingVm migrating_vm = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the migratingVm field is set. */ boolean hasMigratingVm(); /** + * + * *
    * Required. The update request body.
    * 
* - * .google.cloud.vmmigration.v1.MigratingVm migrating_vm = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.vmmigration.v1.MigratingVm migrating_vm = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The migratingVm. */ com.google.cloud.vmmigration.v1.MigratingVm getMigratingVm(); /** + * + * *
    * Required. The update request body.
    * 
* - * .google.cloud.vmmigration.v1.MigratingVm migrating_vm = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.vmmigration.v1.MigratingVm migrating_vm = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.vmmigration.v1.MigratingVmOrBuilder getMigratingVmOrBuilder(); /** + * + * *
    * A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -89,10 +129,13 @@ public interface UpdateMigratingVmRequestOrBuilder extends
    * 
* * string request_id = 3; + * * @return The requestId. */ java.lang.String getRequestId(); /** + * + * *
    * A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -108,8 +151,8 @@ public interface UpdateMigratingVmRequestOrBuilder extends
    * 
* * string request_id = 3; + * * @return The bytes for requestId. */ - com.google.protobuf.ByteString - getRequestIdBytes(); + com.google.protobuf.ByteString getRequestIdBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/UpdateSourceRequest.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/UpdateSourceRequest.java similarity index 73% rename from owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/UpdateSourceRequest.java rename to proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/UpdateSourceRequest.java index 6555740..17edc34 100644 --- a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/UpdateSourceRequest.java +++ b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/UpdateSourceRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; /** + * + * *
  * Update message for 'UpdateSources' request.
  * 
* * Protobuf type {@code google.cloud.vmmigration.v1.UpdateSourceRequest} */ -public final class UpdateSourceRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class UpdateSourceRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.vmmigration.v1.UpdateSourceRequest) UpdateSourceRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UpdateSourceRequest.newBuilder() to construct. private UpdateSourceRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private UpdateSourceRequest() { requestId_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UpdateSourceRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private UpdateSourceRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,45 +70,51 @@ private UpdateSourceRequest( case 0: done = true; break; - case 10: { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); - } - updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); - } + case 10: + { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); + } + updateMask_ = + input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); + } - break; - } - case 18: { - com.google.cloud.vmmigration.v1.Source.Builder subBuilder = null; - if (source_ != null) { - subBuilder = source_.toBuilder(); - } - source_ = input.readMessage(com.google.cloud.vmmigration.v1.Source.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(source_); - source_ = subBuilder.buildPartial(); + break; } + case 18: + { + com.google.cloud.vmmigration.v1.Source.Builder subBuilder = null; + if (source_ != null) { + subBuilder = source_.toBuilder(); + } + source_ = + input.readMessage( + com.google.cloud.vmmigration.v1.Source.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(source_); + source_ = subBuilder.buildPartial(); + } - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - requestId_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + requestId_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -99,29 +122,33 @@ private UpdateSourceRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_UpdateSourceRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_UpdateSourceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_UpdateSourceRequest_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_UpdateSourceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.UpdateSourceRequest.class, com.google.cloud.vmmigration.v1.UpdateSourceRequest.Builder.class); + com.google.cloud.vmmigration.v1.UpdateSourceRequest.class, + com.google.cloud.vmmigration.v1.UpdateSourceRequest.Builder.class); } public static final int UPDATE_MASK_FIELD_NUMBER = 1; private com.google.protobuf.FieldMask updateMask_; /** + * + * *
    * Field mask is used to specify the fields to be overwritten in the
    * Source resource by the update.
@@ -131,6 +158,7 @@ private UpdateSourceRequest(
    * 
* * .google.protobuf.FieldMask update_mask = 1; + * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -138,6 +166,8 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** + * + * *
    * Field mask is used to specify the fields to be overwritten in the
    * Source resource by the update.
@@ -147,6 +177,7 @@ public boolean hasUpdateMask() {
    * 
* * .google.protobuf.FieldMask update_mask = 1; + * * @return The updateMask. */ @java.lang.Override @@ -154,6 +185,8 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** + * + * *
    * Field mask is used to specify the fields to be overwritten in the
    * Source resource by the update.
@@ -172,11 +205,15 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
   public static final int SOURCE_FIELD_NUMBER = 2;
   private com.google.cloud.vmmigration.v1.Source source_;
   /**
+   *
+   *
    * 
    * Required. The update request body.
    * 
* - * .google.cloud.vmmigration.v1.Source source = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.vmmigration.v1.Source source = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the source field is set. */ @java.lang.Override @@ -184,11 +221,15 @@ public boolean hasSource() { return source_ != null; } /** + * + * *
    * Required. The update request body.
    * 
* - * .google.cloud.vmmigration.v1.Source source = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.vmmigration.v1.Source source = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The source. */ @java.lang.Override @@ -196,11 +237,14 @@ public com.google.cloud.vmmigration.v1.Source getSource() { return source_ == null ? com.google.cloud.vmmigration.v1.Source.getDefaultInstance() : source_; } /** + * + * *
    * Required. The update request body.
    * 
* - * .google.cloud.vmmigration.v1.Source source = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.vmmigration.v1.Source source = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.vmmigration.v1.SourceOrBuilder getSourceOrBuilder() { @@ -210,6 +254,8 @@ public com.google.cloud.vmmigration.v1.SourceOrBuilder getSourceOrBuilder() { public static final int REQUEST_ID_FIELD_NUMBER = 3; private volatile java.lang.Object requestId_; /** + * + * *
    * A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -225,6 +271,7 @@ public com.google.cloud.vmmigration.v1.SourceOrBuilder getSourceOrBuilder() {
    * 
* * string request_id = 3; + * * @return The requestId. */ @java.lang.Override @@ -233,14 +280,15 @@ public java.lang.String getRequestId() { 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(); requestId_ = s; return s; } } /** + * + * *
    * A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -256,16 +304,15 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 3; + * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; 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); requestId_ = b; return b; } else { @@ -274,6 +321,7 @@ public java.lang.String getRequestId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -285,8 +333,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 (updateMask_ != null) { output.writeMessage(1, getUpdateMask()); } @@ -306,12 +353,10 @@ public int getSerializedSize() { size = 0; if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getUpdateMask()); } if (source_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getSource()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getSource()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, requestId_); @@ -324,25 +369,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.vmmigration.v1.UpdateSourceRequest)) { return super.equals(obj); } - com.google.cloud.vmmigration.v1.UpdateSourceRequest other = (com.google.cloud.vmmigration.v1.UpdateSourceRequest) obj; + com.google.cloud.vmmigration.v1.UpdateSourceRequest other = + (com.google.cloud.vmmigration.v1.UpdateSourceRequest) obj; if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask() - .equals(other.getUpdateMask())) return false; + if (!getUpdateMask().equals(other.getUpdateMask())) return false; } if (hasSource() != other.hasSource()) return false; if (hasSource()) { - if (!getSource() - .equals(other.getSource())) return false; + if (!getSource().equals(other.getSource())) return false; } - if (!getRequestId() - .equals(other.getRequestId())) return false; + if (!getRequestId().equals(other.getRequestId())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -370,117 +413,126 @@ public int hashCode() { } public static com.google.cloud.vmmigration.v1.UpdateSourceRequest 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.vmmigration.v1.UpdateSourceRequest 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.vmmigration.v1.UpdateSourceRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.vmmigration.v1.UpdateSourceRequest 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.vmmigration.v1.UpdateSourceRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.vmmigration.v1.UpdateSourceRequest 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.vmmigration.v1.UpdateSourceRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.vmmigration.v1.UpdateSourceRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.vmmigration.v1.UpdateSourceRequest 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.vmmigration.v1.UpdateSourceRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.vmmigration.v1.UpdateSourceRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.vmmigration.v1.UpdateSourceRequest 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.vmmigration.v1.UpdateSourceRequest 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.vmmigration.v1.UpdateSourceRequest 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.vmmigration.v1.UpdateSourceRequest 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; } /** + * + * *
    * Update message for 'UpdateSources' request.
    * 
* * Protobuf type {@code google.cloud.vmmigration.v1.UpdateSourceRequest} */ - 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.vmmigration.v1.UpdateSourceRequest) com.google.cloud.vmmigration.v1.UpdateSourceRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_UpdateSourceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_UpdateSourceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_UpdateSourceRequest_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_UpdateSourceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.UpdateSourceRequest.class, com.google.cloud.vmmigration.v1.UpdateSourceRequest.Builder.class); + com.google.cloud.vmmigration.v1.UpdateSourceRequest.class, + com.google.cloud.vmmigration.v1.UpdateSourceRequest.Builder.class); } // Construct using com.google.cloud.vmmigration.v1.UpdateSourceRequest.newBuilder() @@ -488,16 +540,15 @@ 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) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -519,9 +570,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_UpdateSourceRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_UpdateSourceRequest_descriptor; } @java.lang.Override @@ -540,7 +591,8 @@ public com.google.cloud.vmmigration.v1.UpdateSourceRequest build() { @java.lang.Override public com.google.cloud.vmmigration.v1.UpdateSourceRequest buildPartial() { - com.google.cloud.vmmigration.v1.UpdateSourceRequest result = new com.google.cloud.vmmigration.v1.UpdateSourceRequest(this); + com.google.cloud.vmmigration.v1.UpdateSourceRequest result = + new com.google.cloud.vmmigration.v1.UpdateSourceRequest(this); if (updateMaskBuilder_ == null) { result.updateMask_ = updateMask_; } else { @@ -560,38 +612,39 @@ public com.google.cloud.vmmigration.v1.UpdateSourceRequest buildPartial() { 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.vmmigration.v1.UpdateSourceRequest) { - return mergeFrom((com.google.cloud.vmmigration.v1.UpdateSourceRequest)other); + return mergeFrom((com.google.cloud.vmmigration.v1.UpdateSourceRequest) other); } else { super.mergeFrom(other); return this; @@ -599,7 +652,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.vmmigration.v1.UpdateSourceRequest other) { - if (other == com.google.cloud.vmmigration.v1.UpdateSourceRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.vmmigration.v1.UpdateSourceRequest.getDefaultInstance()) + return this; if (other.hasUpdateMask()) { mergeUpdateMask(other.getUpdateMask()); } @@ -629,7 +683,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.vmmigration.v1.UpdateSourceRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.vmmigration.v1.UpdateSourceRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -641,8 +696,13 @@ public Builder mergeFrom( 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_; /** + * + * *
      * Field mask is used to specify the fields to be overwritten in the
      * Source resource by the update.
@@ -652,12 +712,15 @@ public Builder mergeFrom(
      * 
* * .google.protobuf.FieldMask update_mask = 1; + * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** + * + * *
      * Field mask is used to specify the fields to be overwritten in the
      * Source resource by the update.
@@ -667,16 +730,21 @@ public boolean hasUpdateMask() {
      * 
* * .google.protobuf.FieldMask update_mask = 1; + * * @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(); } } /** + * + * *
      * Field mask is used to specify the fields to be overwritten in the
      * Source resource by the update.
@@ -701,6 +769,8 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Field mask is used to specify the fields to be overwritten in the
      * Source resource by the update.
@@ -711,8 +781,7 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      *
      * .google.protobuf.FieldMask update_mask = 1;
      */
-    public Builder setUpdateMask(
-        com.google.protobuf.FieldMask.Builder builderForValue) {
+    public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) {
       if (updateMaskBuilder_ == null) {
         updateMask_ = builderForValue.build();
         onChanged();
@@ -723,6 +792,8 @@ public Builder setUpdateMask(
       return this;
     }
     /**
+     *
+     *
      * 
      * Field mask is used to specify the fields to be overwritten in the
      * Source resource by the update.
@@ -737,7 +808,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       if (updateMaskBuilder_ == null) {
         if (updateMask_ != null) {
           updateMask_ =
-            com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
+              com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
         } else {
           updateMask_ = value;
         }
@@ -749,6 +820,8 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Field mask is used to specify the fields to be overwritten in the
      * Source resource by the update.
@@ -771,6 +844,8 @@ public Builder clearUpdateMask() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Field mask is used to specify the fields to be overwritten in the
      * Source resource by the update.
@@ -782,11 +857,13 @@ public Builder clearUpdateMask() {
      * .google.protobuf.FieldMask update_mask = 1;
      */
     public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
-      
+
       onChanged();
       return getUpdateMaskFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Field mask is used to specify the fields to be overwritten in the
      * Source resource by the update.
@@ -801,11 +878,14 @@ 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_;
       }
     }
     /**
+     *
+     *
      * 
      * Field mask is used to specify the fields to be overwritten in the
      * Source resource by the update.
@@ -817,14 +897,17 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      * .google.protobuf.FieldMask update_mask = 1;
      */
     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_;
@@ -832,39 +915,58 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
 
     private com.google.cloud.vmmigration.v1.Source source_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.vmmigration.v1.Source, com.google.cloud.vmmigration.v1.Source.Builder, com.google.cloud.vmmigration.v1.SourceOrBuilder> sourceBuilder_;
+            com.google.cloud.vmmigration.v1.Source,
+            com.google.cloud.vmmigration.v1.Source.Builder,
+            com.google.cloud.vmmigration.v1.SourceOrBuilder>
+        sourceBuilder_;
     /**
+     *
+     *
      * 
      * Required. The update request body.
      * 
* - * .google.cloud.vmmigration.v1.Source source = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.vmmigration.v1.Source source = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the source field is set. */ public boolean hasSource() { return sourceBuilder_ != null || source_ != null; } /** + * + * *
      * Required. The update request body.
      * 
* - * .google.cloud.vmmigration.v1.Source source = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.vmmigration.v1.Source source = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The source. */ public com.google.cloud.vmmigration.v1.Source getSource() { if (sourceBuilder_ == null) { - return source_ == null ? com.google.cloud.vmmigration.v1.Source.getDefaultInstance() : source_; + return source_ == null + ? com.google.cloud.vmmigration.v1.Source.getDefaultInstance() + : source_; } else { return sourceBuilder_.getMessage(); } } /** + * + * *
      * Required. The update request body.
      * 
* - * .google.cloud.vmmigration.v1.Source source = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.vmmigration.v1.Source source = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setSource(com.google.cloud.vmmigration.v1.Source value) { if (sourceBuilder_ == null) { @@ -880,14 +982,17 @@ public Builder setSource(com.google.cloud.vmmigration.v1.Source value) { return this; } /** + * + * *
      * Required. The update request body.
      * 
* - * .google.cloud.vmmigration.v1.Source source = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.vmmigration.v1.Source source = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setSource( - com.google.cloud.vmmigration.v1.Source.Builder builderForValue) { + public Builder setSource(com.google.cloud.vmmigration.v1.Source.Builder builderForValue) { if (sourceBuilder_ == null) { source_ = builderForValue.build(); onChanged(); @@ -898,17 +1003,23 @@ public Builder setSource( return this; } /** + * + * *
      * Required. The update request body.
      * 
* - * .google.cloud.vmmigration.v1.Source source = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.vmmigration.v1.Source source = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeSource(com.google.cloud.vmmigration.v1.Source value) { if (sourceBuilder_ == null) { if (source_ != null) { source_ = - com.google.cloud.vmmigration.v1.Source.newBuilder(source_).mergeFrom(value).buildPartial(); + com.google.cloud.vmmigration.v1.Source.newBuilder(source_) + .mergeFrom(value) + .buildPartial(); } else { source_ = value; } @@ -920,11 +1031,15 @@ public Builder mergeSource(com.google.cloud.vmmigration.v1.Source value) { return this; } /** + * + * *
      * Required. The update request body.
      * 
* - * .google.cloud.vmmigration.v1.Source source = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.vmmigration.v1.Source source = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearSource() { if (sourceBuilder_ == null) { @@ -938,48 +1053,64 @@ public Builder clearSource() { return this; } /** + * + * *
      * Required. The update request body.
      * 
* - * .google.cloud.vmmigration.v1.Source source = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.vmmigration.v1.Source source = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.vmmigration.v1.Source.Builder getSourceBuilder() { - + onChanged(); return getSourceFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The update request body.
      * 
* - * .google.cloud.vmmigration.v1.Source source = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.vmmigration.v1.Source source = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.vmmigration.v1.SourceOrBuilder getSourceOrBuilder() { if (sourceBuilder_ != null) { return sourceBuilder_.getMessageOrBuilder(); } else { - return source_ == null ? - com.google.cloud.vmmigration.v1.Source.getDefaultInstance() : source_; + return source_ == null + ? com.google.cloud.vmmigration.v1.Source.getDefaultInstance() + : source_; } } /** + * + * *
      * Required. The update request body.
      * 
* - * .google.cloud.vmmigration.v1.Source source = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.vmmigration.v1.Source source = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.vmmigration.v1.Source, com.google.cloud.vmmigration.v1.Source.Builder, com.google.cloud.vmmigration.v1.SourceOrBuilder> + com.google.cloud.vmmigration.v1.Source, + com.google.cloud.vmmigration.v1.Source.Builder, + com.google.cloud.vmmigration.v1.SourceOrBuilder> getSourceFieldBuilder() { if (sourceBuilder_ == null) { - sourceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.vmmigration.v1.Source, com.google.cloud.vmmigration.v1.Source.Builder, com.google.cloud.vmmigration.v1.SourceOrBuilder>( - getSource(), - getParentForChildren(), - isClean()); + sourceBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.vmmigration.v1.Source, + com.google.cloud.vmmigration.v1.Source.Builder, + com.google.cloud.vmmigration.v1.SourceOrBuilder>( + getSource(), getParentForChildren(), isClean()); source_ = null; } return sourceBuilder_; @@ -987,6 +1118,8 @@ public com.google.cloud.vmmigration.v1.SourceOrBuilder getSourceOrBuilder() { private java.lang.Object requestId_ = ""; /** + * + * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1002,13 +1135,13 @@ public com.google.cloud.vmmigration.v1.SourceOrBuilder getSourceOrBuilder() {
      * 
* * string request_id = 3; + * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; 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(); requestId_ = s; return s; @@ -1017,6 +1150,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1032,15 +1167,14 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 3; + * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; 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); requestId_ = b; return b; } else { @@ -1048,6 +1182,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1063,20 +1199,22 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 3; + * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId( - java.lang.String value) { + public Builder setRequestId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + requestId_ = value; onChanged(); return this; } /** + * + * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1092,15 +1230,18 @@ public Builder setRequestId(
      * 
* * string request_id = 3; + * * @return This builder for chaining. */ public Builder clearRequestId() { - + requestId_ = getDefaultInstance().getRequestId(); onChanged(); return this; } /** + * + * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1116,23 +1257,23 @@ public Builder clearRequestId() {
      * 
* * string request_id = 3; + * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes( - com.google.protobuf.ByteString value) { + public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + requestId_ = 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); } @@ -1142,12 +1283,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.vmmigration.v1.UpdateSourceRequest) } // @@protoc_insertion_point(class_scope:google.cloud.vmmigration.v1.UpdateSourceRequest) private static final com.google.cloud.vmmigration.v1.UpdateSourceRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.vmmigration.v1.UpdateSourceRequest(); } @@ -1156,16 +1297,16 @@ public static com.google.cloud.vmmigration.v1.UpdateSourceRequest getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateSourceRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new UpdateSourceRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateSourceRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new UpdateSourceRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1180,6 +1321,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.vmmigration.v1.UpdateSourceRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/UpdateSourceRequestOrBuilder.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/UpdateSourceRequestOrBuilder.java similarity index 81% rename from owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/UpdateSourceRequestOrBuilder.java rename to proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/UpdateSourceRequestOrBuilder.java index f077179..2a44ff0 100644 --- a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/UpdateSourceRequestOrBuilder.java +++ b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/UpdateSourceRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; -public interface UpdateSourceRequestOrBuilder extends +public interface UpdateSourceRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.UpdateSourceRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Field mask is used to specify the fields to be overwritten in the
    * Source resource by the update.
@@ -17,10 +35,13 @@ public interface UpdateSourceRequestOrBuilder extends
    * 
* * .google.protobuf.FieldMask update_mask = 1; + * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** + * + * *
    * Field mask is used to specify the fields to be overwritten in the
    * Source resource by the update.
@@ -30,10 +51,13 @@ public interface UpdateSourceRequestOrBuilder extends
    * 
* * .google.protobuf.FieldMask update_mask = 1; + * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** + * + * *
    * Field mask is used to specify the fields to be overwritten in the
    * Source resource by the update.
@@ -47,33 +71,46 @@ public interface UpdateSourceRequestOrBuilder extends
   com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder();
 
   /**
+   *
+   *
    * 
    * Required. The update request body.
    * 
* - * .google.cloud.vmmigration.v1.Source source = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.vmmigration.v1.Source source = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the source field is set. */ boolean hasSource(); /** + * + * *
    * Required. The update request body.
    * 
* - * .google.cloud.vmmigration.v1.Source source = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.vmmigration.v1.Source source = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The source. */ com.google.cloud.vmmigration.v1.Source getSource(); /** + * + * *
    * Required. The update request body.
    * 
* - * .google.cloud.vmmigration.v1.Source source = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.vmmigration.v1.Source source = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.vmmigration.v1.SourceOrBuilder getSourceOrBuilder(); /** + * + * *
    * A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -89,10 +126,13 @@ public interface UpdateSourceRequestOrBuilder extends
    * 
* * string request_id = 3; + * * @return The requestId. */ java.lang.String getRequestId(); /** + * + * *
    * A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -108,8 +148,8 @@ public interface UpdateSourceRequestOrBuilder extends
    * 
* * string request_id = 3; + * * @return The bytes for requestId. */ - com.google.protobuf.ByteString - getRequestIdBytes(); + com.google.protobuf.ByteString getRequestIdBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/UpdateTargetProjectRequest.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/UpdateTargetProjectRequest.java similarity index 72% rename from owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/UpdateTargetProjectRequest.java rename to proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/UpdateTargetProjectRequest.java index 19afe3a..ac6fd7a 100644 --- a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/UpdateTargetProjectRequest.java +++ b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/UpdateTargetProjectRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; /** + * + * *
  * Update message for 'UpdateTargetProject' request.
  * 
* * Protobuf type {@code google.cloud.vmmigration.v1.UpdateTargetProjectRequest} */ -public final class UpdateTargetProjectRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class UpdateTargetProjectRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.vmmigration.v1.UpdateTargetProjectRequest) UpdateTargetProjectRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UpdateTargetProjectRequest.newBuilder() to construct. private UpdateTargetProjectRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private UpdateTargetProjectRequest() { requestId_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UpdateTargetProjectRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private UpdateTargetProjectRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,45 +70,51 @@ private UpdateTargetProjectRequest( case 0: done = true; break; - case 10: { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); - } - updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); - } + case 10: + { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); + } + updateMask_ = + input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); + } - break; - } - case 18: { - com.google.cloud.vmmigration.v1.TargetProject.Builder subBuilder = null; - if (targetProject_ != null) { - subBuilder = targetProject_.toBuilder(); - } - targetProject_ = input.readMessage(com.google.cloud.vmmigration.v1.TargetProject.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(targetProject_); - targetProject_ = subBuilder.buildPartial(); + break; } + case 18: + { + com.google.cloud.vmmigration.v1.TargetProject.Builder subBuilder = null; + if (targetProject_ != null) { + subBuilder = targetProject_.toBuilder(); + } + targetProject_ = + input.readMessage( + com.google.cloud.vmmigration.v1.TargetProject.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(targetProject_); + targetProject_ = subBuilder.buildPartial(); + } - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - requestId_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + requestId_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -99,29 +122,33 @@ private UpdateTargetProjectRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_UpdateTargetProjectRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_UpdateTargetProjectRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_UpdateTargetProjectRequest_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_UpdateTargetProjectRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.UpdateTargetProjectRequest.class, com.google.cloud.vmmigration.v1.UpdateTargetProjectRequest.Builder.class); + com.google.cloud.vmmigration.v1.UpdateTargetProjectRequest.class, + com.google.cloud.vmmigration.v1.UpdateTargetProjectRequest.Builder.class); } public static final int UPDATE_MASK_FIELD_NUMBER = 1; private com.google.protobuf.FieldMask updateMask_; /** + * + * *
    * Field mask is used to specify the fields to be overwritten in the
    * TargetProject resource by the update.
@@ -131,6 +158,7 @@ private UpdateTargetProjectRequest(
    * 
* * .google.protobuf.FieldMask update_mask = 1; + * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -138,6 +166,8 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** + * + * *
    * Field mask is used to specify the fields to be overwritten in the
    * TargetProject resource by the update.
@@ -147,6 +177,7 @@ public boolean hasUpdateMask() {
    * 
* * .google.protobuf.FieldMask update_mask = 1; + * * @return The updateMask. */ @java.lang.Override @@ -154,6 +185,8 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** + * + * *
    * Field mask is used to specify the fields to be overwritten in the
    * TargetProject resource by the update.
@@ -172,11 +205,16 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
   public static final int TARGET_PROJECT_FIELD_NUMBER = 2;
   private com.google.cloud.vmmigration.v1.TargetProject targetProject_;
   /**
+   *
+   *
    * 
    * Required. The update request body.
    * 
* - * .google.cloud.vmmigration.v1.TargetProject target_project = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.vmmigration.v1.TargetProject target_project = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the targetProject field is set. */ @java.lang.Override @@ -184,23 +222,34 @@ public boolean hasTargetProject() { return targetProject_ != null; } /** + * + * *
    * Required. The update request body.
    * 
* - * .google.cloud.vmmigration.v1.TargetProject target_project = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.vmmigration.v1.TargetProject target_project = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The targetProject. */ @java.lang.Override public com.google.cloud.vmmigration.v1.TargetProject getTargetProject() { - return targetProject_ == null ? com.google.cloud.vmmigration.v1.TargetProject.getDefaultInstance() : targetProject_; + return targetProject_ == null + ? com.google.cloud.vmmigration.v1.TargetProject.getDefaultInstance() + : targetProject_; } /** + * + * *
    * Required. The update request body.
    * 
* - * .google.cloud.vmmigration.v1.TargetProject target_project = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.vmmigration.v1.TargetProject target_project = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.vmmigration.v1.TargetProjectOrBuilder getTargetProjectOrBuilder() { @@ -210,6 +259,8 @@ public com.google.cloud.vmmigration.v1.TargetProjectOrBuilder getTargetProjectOr public static final int REQUEST_ID_FIELD_NUMBER = 3; private volatile java.lang.Object requestId_; /** + * + * *
    * A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -225,6 +276,7 @@ public com.google.cloud.vmmigration.v1.TargetProjectOrBuilder getTargetProjectOr
    * 
* * string request_id = 3; + * * @return The requestId. */ @java.lang.Override @@ -233,14 +285,15 @@ public java.lang.String getRequestId() { 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(); requestId_ = s; return s; } } /** + * + * *
    * A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -256,16 +309,15 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 3; + * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; 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); requestId_ = b; return b; } else { @@ -274,6 +326,7 @@ public java.lang.String getRequestId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -285,8 +338,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 (updateMask_ != null) { output.writeMessage(1, getUpdateMask()); } @@ -306,12 +358,10 @@ public int getSerializedSize() { size = 0; if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getUpdateMask()); } if (targetProject_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getTargetProject()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getTargetProject()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, requestId_); @@ -324,25 +374,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.vmmigration.v1.UpdateTargetProjectRequest)) { return super.equals(obj); } - com.google.cloud.vmmigration.v1.UpdateTargetProjectRequest other = (com.google.cloud.vmmigration.v1.UpdateTargetProjectRequest) obj; + com.google.cloud.vmmigration.v1.UpdateTargetProjectRequest other = + (com.google.cloud.vmmigration.v1.UpdateTargetProjectRequest) obj; if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask() - .equals(other.getUpdateMask())) return false; + if (!getUpdateMask().equals(other.getUpdateMask())) return false; } if (hasTargetProject() != other.hasTargetProject()) return false; if (hasTargetProject()) { - if (!getTargetProject() - .equals(other.getTargetProject())) return false; + if (!getTargetProject().equals(other.getTargetProject())) return false; } - if (!getRequestId() - .equals(other.getRequestId())) return false; + if (!getRequestId().equals(other.getRequestId())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -370,117 +418,127 @@ public int hashCode() { } public static com.google.cloud.vmmigration.v1.UpdateTargetProjectRequest 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.vmmigration.v1.UpdateTargetProjectRequest 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.vmmigration.v1.UpdateTargetProjectRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.vmmigration.v1.UpdateTargetProjectRequest 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.vmmigration.v1.UpdateTargetProjectRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.vmmigration.v1.UpdateTargetProjectRequest 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.vmmigration.v1.UpdateTargetProjectRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.vmmigration.v1.UpdateTargetProjectRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.vmmigration.v1.UpdateTargetProjectRequest 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.vmmigration.v1.UpdateTargetProjectRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.vmmigration.v1.UpdateTargetProjectRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.vmmigration.v1.UpdateTargetProjectRequest 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.vmmigration.v1.UpdateTargetProjectRequest 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.vmmigration.v1.UpdateTargetProjectRequest 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.vmmigration.v1.UpdateTargetProjectRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.vmmigration.v1.UpdateTargetProjectRequest 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; } /** + * + * *
    * Update message for 'UpdateTargetProject' request.
    * 
* * Protobuf type {@code google.cloud.vmmigration.v1.UpdateTargetProjectRequest} */ - 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.vmmigration.v1.UpdateTargetProjectRequest) com.google.cloud.vmmigration.v1.UpdateTargetProjectRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_UpdateTargetProjectRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_UpdateTargetProjectRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_UpdateTargetProjectRequest_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_UpdateTargetProjectRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.UpdateTargetProjectRequest.class, com.google.cloud.vmmigration.v1.UpdateTargetProjectRequest.Builder.class); + com.google.cloud.vmmigration.v1.UpdateTargetProjectRequest.class, + com.google.cloud.vmmigration.v1.UpdateTargetProjectRequest.Builder.class); } // Construct using com.google.cloud.vmmigration.v1.UpdateTargetProjectRequest.newBuilder() @@ -488,16 +546,15 @@ 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) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -519,9 +576,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_UpdateTargetProjectRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_UpdateTargetProjectRequest_descriptor; } @java.lang.Override @@ -540,7 +597,8 @@ public com.google.cloud.vmmigration.v1.UpdateTargetProjectRequest build() { @java.lang.Override public com.google.cloud.vmmigration.v1.UpdateTargetProjectRequest buildPartial() { - com.google.cloud.vmmigration.v1.UpdateTargetProjectRequest result = new com.google.cloud.vmmigration.v1.UpdateTargetProjectRequest(this); + com.google.cloud.vmmigration.v1.UpdateTargetProjectRequest result = + new com.google.cloud.vmmigration.v1.UpdateTargetProjectRequest(this); if (updateMaskBuilder_ == null) { result.updateMask_ = updateMask_; } else { @@ -560,38 +618,39 @@ public com.google.cloud.vmmigration.v1.UpdateTargetProjectRequest buildPartial() 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.vmmigration.v1.UpdateTargetProjectRequest) { - return mergeFrom((com.google.cloud.vmmigration.v1.UpdateTargetProjectRequest)other); + return mergeFrom((com.google.cloud.vmmigration.v1.UpdateTargetProjectRequest) other); } else { super.mergeFrom(other); return this; @@ -599,7 +658,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.vmmigration.v1.UpdateTargetProjectRequest other) { - if (other == com.google.cloud.vmmigration.v1.UpdateTargetProjectRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.vmmigration.v1.UpdateTargetProjectRequest.getDefaultInstance()) + return this; if (other.hasUpdateMask()) { mergeUpdateMask(other.getUpdateMask()); } @@ -629,7 +689,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.vmmigration.v1.UpdateTargetProjectRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.vmmigration.v1.UpdateTargetProjectRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -641,8 +702,13 @@ public Builder mergeFrom( 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_; /** + * + * *
      * Field mask is used to specify the fields to be overwritten in the
      * TargetProject resource by the update.
@@ -652,12 +718,15 @@ public Builder mergeFrom(
      * 
* * .google.protobuf.FieldMask update_mask = 1; + * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** + * + * *
      * Field mask is used to specify the fields to be overwritten in the
      * TargetProject resource by the update.
@@ -667,16 +736,21 @@ public boolean hasUpdateMask() {
      * 
* * .google.protobuf.FieldMask update_mask = 1; + * * @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(); } } /** + * + * *
      * Field mask is used to specify the fields to be overwritten in the
      * TargetProject resource by the update.
@@ -701,6 +775,8 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Field mask is used to specify the fields to be overwritten in the
      * TargetProject resource by the update.
@@ -711,8 +787,7 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      *
      * .google.protobuf.FieldMask update_mask = 1;
      */
-    public Builder setUpdateMask(
-        com.google.protobuf.FieldMask.Builder builderForValue) {
+    public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) {
       if (updateMaskBuilder_ == null) {
         updateMask_ = builderForValue.build();
         onChanged();
@@ -723,6 +798,8 @@ public Builder setUpdateMask(
       return this;
     }
     /**
+     *
+     *
      * 
      * Field mask is used to specify the fields to be overwritten in the
      * TargetProject resource by the update.
@@ -737,7 +814,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       if (updateMaskBuilder_ == null) {
         if (updateMask_ != null) {
           updateMask_ =
-            com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
+              com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
         } else {
           updateMask_ = value;
         }
@@ -749,6 +826,8 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Field mask is used to specify the fields to be overwritten in the
      * TargetProject resource by the update.
@@ -771,6 +850,8 @@ public Builder clearUpdateMask() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Field mask is used to specify the fields to be overwritten in the
      * TargetProject resource by the update.
@@ -782,11 +863,13 @@ public Builder clearUpdateMask() {
      * .google.protobuf.FieldMask update_mask = 1;
      */
     public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
-      
+
       onChanged();
       return getUpdateMaskFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Field mask is used to specify the fields to be overwritten in the
      * TargetProject resource by the update.
@@ -801,11 +884,14 @@ 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_;
       }
     }
     /**
+     *
+     *
      * 
      * Field mask is used to specify the fields to be overwritten in the
      * TargetProject resource by the update.
@@ -817,14 +903,17 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      * .google.protobuf.FieldMask update_mask = 1;
      */
     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_;
@@ -832,39 +921,58 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
 
     private com.google.cloud.vmmigration.v1.TargetProject targetProject_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.vmmigration.v1.TargetProject, com.google.cloud.vmmigration.v1.TargetProject.Builder, com.google.cloud.vmmigration.v1.TargetProjectOrBuilder> targetProjectBuilder_;
+            com.google.cloud.vmmigration.v1.TargetProject,
+            com.google.cloud.vmmigration.v1.TargetProject.Builder,
+            com.google.cloud.vmmigration.v1.TargetProjectOrBuilder>
+        targetProjectBuilder_;
     /**
+     *
+     *
      * 
      * Required. The update request body.
      * 
* - * .google.cloud.vmmigration.v1.TargetProject target_project = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.vmmigration.v1.TargetProject target_project = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the targetProject field is set. */ public boolean hasTargetProject() { return targetProjectBuilder_ != null || targetProject_ != null; } /** + * + * *
      * Required. The update request body.
      * 
* - * .google.cloud.vmmigration.v1.TargetProject target_project = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.vmmigration.v1.TargetProject target_project = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The targetProject. */ public com.google.cloud.vmmigration.v1.TargetProject getTargetProject() { if (targetProjectBuilder_ == null) { - return targetProject_ == null ? com.google.cloud.vmmigration.v1.TargetProject.getDefaultInstance() : targetProject_; + return targetProject_ == null + ? com.google.cloud.vmmigration.v1.TargetProject.getDefaultInstance() + : targetProject_; } else { return targetProjectBuilder_.getMessage(); } } /** + * + * *
      * Required. The update request body.
      * 
* - * .google.cloud.vmmigration.v1.TargetProject target_project = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.vmmigration.v1.TargetProject target_project = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setTargetProject(com.google.cloud.vmmigration.v1.TargetProject value) { if (targetProjectBuilder_ == null) { @@ -880,11 +988,15 @@ public Builder setTargetProject(com.google.cloud.vmmigration.v1.TargetProject va return this; } /** + * + * *
      * Required. The update request body.
      * 
* - * .google.cloud.vmmigration.v1.TargetProject target_project = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.vmmigration.v1.TargetProject target_project = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setTargetProject( com.google.cloud.vmmigration.v1.TargetProject.Builder builderForValue) { @@ -898,17 +1010,23 @@ public Builder setTargetProject( return this; } /** + * + * *
      * Required. The update request body.
      * 
* - * .google.cloud.vmmigration.v1.TargetProject target_project = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.vmmigration.v1.TargetProject target_project = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeTargetProject(com.google.cloud.vmmigration.v1.TargetProject value) { if (targetProjectBuilder_ == null) { if (targetProject_ != null) { targetProject_ = - com.google.cloud.vmmigration.v1.TargetProject.newBuilder(targetProject_).mergeFrom(value).buildPartial(); + com.google.cloud.vmmigration.v1.TargetProject.newBuilder(targetProject_) + .mergeFrom(value) + .buildPartial(); } else { targetProject_ = value; } @@ -920,11 +1038,15 @@ public Builder mergeTargetProject(com.google.cloud.vmmigration.v1.TargetProject return this; } /** + * + * *
      * Required. The update request body.
      * 
* - * .google.cloud.vmmigration.v1.TargetProject target_project = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.vmmigration.v1.TargetProject target_project = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearTargetProject() { if (targetProjectBuilder_ == null) { @@ -938,48 +1060,64 @@ public Builder clearTargetProject() { return this; } /** + * + * *
      * Required. The update request body.
      * 
* - * .google.cloud.vmmigration.v1.TargetProject target_project = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.vmmigration.v1.TargetProject target_project = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.vmmigration.v1.TargetProject.Builder getTargetProjectBuilder() { - + onChanged(); return getTargetProjectFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The update request body.
      * 
* - * .google.cloud.vmmigration.v1.TargetProject target_project = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.vmmigration.v1.TargetProject target_project = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.vmmigration.v1.TargetProjectOrBuilder getTargetProjectOrBuilder() { if (targetProjectBuilder_ != null) { return targetProjectBuilder_.getMessageOrBuilder(); } else { - return targetProject_ == null ? - com.google.cloud.vmmigration.v1.TargetProject.getDefaultInstance() : targetProject_; + return targetProject_ == null + ? com.google.cloud.vmmigration.v1.TargetProject.getDefaultInstance() + : targetProject_; } } /** + * + * *
      * Required. The update request body.
      * 
* - * .google.cloud.vmmigration.v1.TargetProject target_project = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.vmmigration.v1.TargetProject target_project = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.vmmigration.v1.TargetProject, com.google.cloud.vmmigration.v1.TargetProject.Builder, com.google.cloud.vmmigration.v1.TargetProjectOrBuilder> + com.google.cloud.vmmigration.v1.TargetProject, + com.google.cloud.vmmigration.v1.TargetProject.Builder, + com.google.cloud.vmmigration.v1.TargetProjectOrBuilder> getTargetProjectFieldBuilder() { if (targetProjectBuilder_ == null) { - targetProjectBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.vmmigration.v1.TargetProject, com.google.cloud.vmmigration.v1.TargetProject.Builder, com.google.cloud.vmmigration.v1.TargetProjectOrBuilder>( - getTargetProject(), - getParentForChildren(), - isClean()); + targetProjectBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.vmmigration.v1.TargetProject, + com.google.cloud.vmmigration.v1.TargetProject.Builder, + com.google.cloud.vmmigration.v1.TargetProjectOrBuilder>( + getTargetProject(), getParentForChildren(), isClean()); targetProject_ = null; } return targetProjectBuilder_; @@ -987,6 +1125,8 @@ public com.google.cloud.vmmigration.v1.TargetProjectOrBuilder getTargetProjectOr private java.lang.Object requestId_ = ""; /** + * + * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1002,13 +1142,13 @@ public com.google.cloud.vmmigration.v1.TargetProjectOrBuilder getTargetProjectOr
      * 
* * string request_id = 3; + * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; 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(); requestId_ = s; return s; @@ -1017,6 +1157,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1032,15 +1174,14 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 3; + * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; 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); requestId_ = b; return b; } else { @@ -1048,6 +1189,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1063,20 +1206,22 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 3; + * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId( - java.lang.String value) { + public Builder setRequestId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + requestId_ = value; onChanged(); return this; } /** + * + * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1092,15 +1237,18 @@ public Builder setRequestId(
      * 
* * string request_id = 3; + * * @return This builder for chaining. */ public Builder clearRequestId() { - + requestId_ = getDefaultInstance().getRequestId(); onChanged(); return this; } /** + * + * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1116,23 +1264,23 @@ public Builder clearRequestId() {
      * 
* * string request_id = 3; + * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes( - com.google.protobuf.ByteString value) { + public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + requestId_ = 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); } @@ -1142,12 +1290,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.vmmigration.v1.UpdateTargetProjectRequest) } // @@protoc_insertion_point(class_scope:google.cloud.vmmigration.v1.UpdateTargetProjectRequest) private static final com.google.cloud.vmmigration.v1.UpdateTargetProjectRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.vmmigration.v1.UpdateTargetProjectRequest(); } @@ -1156,16 +1304,16 @@ public static com.google.cloud.vmmigration.v1.UpdateTargetProjectRequest getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateTargetProjectRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new UpdateTargetProjectRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateTargetProjectRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new UpdateTargetProjectRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1180,6 +1328,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.vmmigration.v1.UpdateTargetProjectRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/UpdateTargetProjectRequestOrBuilder.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/UpdateTargetProjectRequestOrBuilder.java similarity index 77% rename from owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/UpdateTargetProjectRequestOrBuilder.java rename to proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/UpdateTargetProjectRequestOrBuilder.java index cf34984..0379f9d 100644 --- a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/UpdateTargetProjectRequestOrBuilder.java +++ b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/UpdateTargetProjectRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; -public interface UpdateTargetProjectRequestOrBuilder extends +public interface UpdateTargetProjectRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.UpdateTargetProjectRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Field mask is used to specify the fields to be overwritten in the
    * TargetProject resource by the update.
@@ -17,10 +35,13 @@ public interface UpdateTargetProjectRequestOrBuilder extends
    * 
* * .google.protobuf.FieldMask update_mask = 1; + * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** + * + * *
    * Field mask is used to specify the fields to be overwritten in the
    * TargetProject resource by the update.
@@ -30,10 +51,13 @@ public interface UpdateTargetProjectRequestOrBuilder extends
    * 
* * .google.protobuf.FieldMask update_mask = 1; + * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** + * + * *
    * Field mask is used to specify the fields to be overwritten in the
    * TargetProject resource by the update.
@@ -47,33 +71,49 @@ public interface UpdateTargetProjectRequestOrBuilder extends
   com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder();
 
   /**
+   *
+   *
    * 
    * Required. The update request body.
    * 
* - * .google.cloud.vmmigration.v1.TargetProject target_project = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.vmmigration.v1.TargetProject target_project = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the targetProject field is set. */ boolean hasTargetProject(); /** + * + * *
    * Required. The update request body.
    * 
* - * .google.cloud.vmmigration.v1.TargetProject target_project = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.vmmigration.v1.TargetProject target_project = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The targetProject. */ com.google.cloud.vmmigration.v1.TargetProject getTargetProject(); /** + * + * *
    * Required. The update request body.
    * 
* - * .google.cloud.vmmigration.v1.TargetProject target_project = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.vmmigration.v1.TargetProject target_project = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.vmmigration.v1.TargetProjectOrBuilder getTargetProjectOrBuilder(); /** + * + * *
    * A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -89,10 +129,13 @@ public interface UpdateTargetProjectRequestOrBuilder extends
    * 
* * string request_id = 3; + * * @return The requestId. */ java.lang.String getRequestId(); /** + * + * *
    * A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -108,8 +151,8 @@ public interface UpdateTargetProjectRequestOrBuilder extends
    * 
* * string request_id = 3; + * * @return The bytes for requestId. */ - com.google.protobuf.ByteString - getRequestIdBytes(); + com.google.protobuf.ByteString getRequestIdBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/UpgradeApplianceRequest.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/UpgradeApplianceRequest.java similarity index 71% rename from owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/UpgradeApplianceRequest.java rename to proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/UpgradeApplianceRequest.java index ca531b0..e64674a 100644 --- a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/UpgradeApplianceRequest.java +++ b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/UpgradeApplianceRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; /** + * + * *
  * Request message for 'UpgradeAppliance' request.
  * 
* * Protobuf type {@code google.cloud.vmmigration.v1.UpgradeApplianceRequest} */ -public final class UpgradeApplianceRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class UpgradeApplianceRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.vmmigration.v1.UpgradeApplianceRequest) UpgradeApplianceRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UpgradeApplianceRequest.newBuilder() to construct. private UpgradeApplianceRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private UpgradeApplianceRequest() { datacenterConnector_ = ""; requestId_ = ""; @@ -26,16 +44,15 @@ private UpgradeApplianceRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UpgradeApplianceRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private UpgradeApplianceRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,25 +71,27 @@ private UpgradeApplianceRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - datacenterConnector_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + datacenterConnector_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - requestId_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + requestId_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -80,34 +99,41 @@ private UpgradeApplianceRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_UpgradeApplianceRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_UpgradeApplianceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_UpgradeApplianceRequest_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_UpgradeApplianceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.UpgradeApplianceRequest.class, com.google.cloud.vmmigration.v1.UpgradeApplianceRequest.Builder.class); + com.google.cloud.vmmigration.v1.UpgradeApplianceRequest.class, + com.google.cloud.vmmigration.v1.UpgradeApplianceRequest.Builder.class); } public static final int DATACENTER_CONNECTOR_FIELD_NUMBER = 1; private volatile java.lang.Object datacenterConnector_; /** + * + * *
    * Required. The DatacenterConnector name.
    * 
* - * string datacenter_connector = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string datacenter_connector = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The datacenterConnector. */ @java.lang.Override @@ -116,29 +142,31 @@ public java.lang.String getDatacenterConnector() { 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(); datacenterConnector_ = s; return s; } } /** + * + * *
    * Required. The DatacenterConnector name.
    * 
* - * string datacenter_connector = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string datacenter_connector = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for datacenterConnector. */ @java.lang.Override - public com.google.protobuf.ByteString - getDatacenterConnectorBytes() { + public com.google.protobuf.ByteString getDatacenterConnectorBytes() { java.lang.Object ref = datacenterConnector_; 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); datacenterConnector_ = b; return b; } else { @@ -149,6 +177,8 @@ public java.lang.String getDatacenterConnector() { public static final int REQUEST_ID_FIELD_NUMBER = 2; private volatile java.lang.Object requestId_; /** + * + * *
    * A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -164,6 +194,7 @@ public java.lang.String getDatacenterConnector() {
    * 
* * string request_id = 2; + * * @return The requestId. */ @java.lang.Override @@ -172,14 +203,15 @@ public java.lang.String getRequestId() { 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(); requestId_ = s; return s; } } /** + * + * *
    * A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -195,16 +227,15 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 2; + * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; 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); requestId_ = b; return b; } else { @@ -213,6 +244,7 @@ public java.lang.String getRequestId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -224,8 +256,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(datacenterConnector_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, datacenterConnector_); } @@ -255,17 +286,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.vmmigration.v1.UpgradeApplianceRequest)) { return super.equals(obj); } - com.google.cloud.vmmigration.v1.UpgradeApplianceRequest other = (com.google.cloud.vmmigration.v1.UpgradeApplianceRequest) obj; + com.google.cloud.vmmigration.v1.UpgradeApplianceRequest other = + (com.google.cloud.vmmigration.v1.UpgradeApplianceRequest) obj; - if (!getDatacenterConnector() - .equals(other.getDatacenterConnector())) return false; - if (!getRequestId() - .equals(other.getRequestId())) return false; + if (!getDatacenterConnector().equals(other.getDatacenterConnector())) return false; + if (!getRequestId().equals(other.getRequestId())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -287,117 +317,127 @@ public int hashCode() { } public static com.google.cloud.vmmigration.v1.UpgradeApplianceRequest 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.vmmigration.v1.UpgradeApplianceRequest 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.vmmigration.v1.UpgradeApplianceRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.vmmigration.v1.UpgradeApplianceRequest 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.vmmigration.v1.UpgradeApplianceRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.vmmigration.v1.UpgradeApplianceRequest 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.vmmigration.v1.UpgradeApplianceRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.vmmigration.v1.UpgradeApplianceRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.vmmigration.v1.UpgradeApplianceRequest 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.vmmigration.v1.UpgradeApplianceRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.vmmigration.v1.UpgradeApplianceRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.vmmigration.v1.UpgradeApplianceRequest 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.vmmigration.v1.UpgradeApplianceRequest 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.vmmigration.v1.UpgradeApplianceRequest 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.vmmigration.v1.UpgradeApplianceRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.vmmigration.v1.UpgradeApplianceRequest 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 message for 'UpgradeAppliance' request.
    * 
* * Protobuf type {@code google.cloud.vmmigration.v1.UpgradeApplianceRequest} */ - 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.vmmigration.v1.UpgradeApplianceRequest) com.google.cloud.vmmigration.v1.UpgradeApplianceRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_UpgradeApplianceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_UpgradeApplianceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_UpgradeApplianceRequest_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_UpgradeApplianceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.UpgradeApplianceRequest.class, com.google.cloud.vmmigration.v1.UpgradeApplianceRequest.Builder.class); + com.google.cloud.vmmigration.v1.UpgradeApplianceRequest.class, + com.google.cloud.vmmigration.v1.UpgradeApplianceRequest.Builder.class); } // Construct using com.google.cloud.vmmigration.v1.UpgradeApplianceRequest.newBuilder() @@ -405,16 +445,15 @@ 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) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -426,9 +465,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_UpgradeApplianceRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_UpgradeApplianceRequest_descriptor; } @java.lang.Override @@ -447,7 +486,8 @@ public com.google.cloud.vmmigration.v1.UpgradeApplianceRequest build() { @java.lang.Override public com.google.cloud.vmmigration.v1.UpgradeApplianceRequest buildPartial() { - com.google.cloud.vmmigration.v1.UpgradeApplianceRequest result = new com.google.cloud.vmmigration.v1.UpgradeApplianceRequest(this); + com.google.cloud.vmmigration.v1.UpgradeApplianceRequest result = + new com.google.cloud.vmmigration.v1.UpgradeApplianceRequest(this); result.datacenterConnector_ = datacenterConnector_; result.requestId_ = requestId_; onBuilt(); @@ -458,38 +498,39 @@ public com.google.cloud.vmmigration.v1.UpgradeApplianceRequest buildPartial() { 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.vmmigration.v1.UpgradeApplianceRequest) { - return mergeFrom((com.google.cloud.vmmigration.v1.UpgradeApplianceRequest)other); + return mergeFrom((com.google.cloud.vmmigration.v1.UpgradeApplianceRequest) other); } else { super.mergeFrom(other); return this; @@ -497,7 +538,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.vmmigration.v1.UpgradeApplianceRequest other) { - if (other == com.google.cloud.vmmigration.v1.UpgradeApplianceRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.vmmigration.v1.UpgradeApplianceRequest.getDefaultInstance()) + return this; if (!other.getDatacenterConnector().isEmpty()) { datacenterConnector_ = other.datacenterConnector_; onChanged(); @@ -525,7 +567,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.vmmigration.v1.UpgradeApplianceRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.vmmigration.v1.UpgradeApplianceRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -537,18 +580,22 @@ public Builder mergeFrom( private java.lang.Object datacenterConnector_ = ""; /** + * + * *
      * Required. The DatacenterConnector name.
      * 
* - * string datacenter_connector = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string datacenter_connector = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The datacenterConnector. */ public java.lang.String getDatacenterConnector() { java.lang.Object ref = datacenterConnector_; 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(); datacenterConnector_ = s; return s; @@ -557,20 +604,23 @@ public java.lang.String getDatacenterConnector() { } } /** + * + * *
      * Required. The DatacenterConnector name.
      * 
* - * string datacenter_connector = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string datacenter_connector = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for datacenterConnector. */ - public com.google.protobuf.ByteString - getDatacenterConnectorBytes() { + public com.google.protobuf.ByteString getDatacenterConnectorBytes() { java.lang.Object ref = datacenterConnector_; 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); datacenterConnector_ = b; return b; } else { @@ -578,54 +628,67 @@ public java.lang.String getDatacenterConnector() { } } /** + * + * *
      * Required. The DatacenterConnector name.
      * 
* - * string datacenter_connector = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string datacenter_connector = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The datacenterConnector to set. * @return This builder for chaining. */ - public Builder setDatacenterConnector( - java.lang.String value) { + public Builder setDatacenterConnector(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + datacenterConnector_ = value; onChanged(); return this; } /** + * + * *
      * Required. The DatacenterConnector name.
      * 
* - * string datacenter_connector = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string datacenter_connector = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearDatacenterConnector() { - + datacenterConnector_ = getDefaultInstance().getDatacenterConnector(); onChanged(); return this; } /** + * + * *
      * Required. The DatacenterConnector name.
      * 
* - * string datacenter_connector = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string datacenter_connector = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for datacenterConnector to set. * @return This builder for chaining. */ - public Builder setDatacenterConnectorBytes( - com.google.protobuf.ByteString value) { + public Builder setDatacenterConnectorBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + datacenterConnector_ = value; onChanged(); return this; @@ -633,6 +696,8 @@ public Builder setDatacenterConnectorBytes( private java.lang.Object requestId_ = ""; /** + * + * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -648,13 +713,13 @@ public Builder setDatacenterConnectorBytes(
      * 
* * string request_id = 2; + * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; 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(); requestId_ = s; return s; @@ -663,6 +728,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -678,15 +745,14 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 2; + * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; 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); requestId_ = b; return b; } else { @@ -694,6 +760,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -709,20 +777,22 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 2; + * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId( - java.lang.String value) { + public Builder setRequestId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + requestId_ = value; onChanged(); return this; } /** + * + * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -738,15 +808,18 @@ public Builder setRequestId(
      * 
* * string request_id = 2; + * * @return This builder for chaining. */ public Builder clearRequestId() { - + requestId_ = getDefaultInstance().getRequestId(); onChanged(); return this; } /** + * + * *
      * A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -762,23 +835,23 @@ public Builder clearRequestId() {
      * 
* * string request_id = 2; + * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes( - com.google.protobuf.ByteString value) { + public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + requestId_ = 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); } @@ -788,12 +861,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.vmmigration.v1.UpgradeApplianceRequest) } // @@protoc_insertion_point(class_scope:google.cloud.vmmigration.v1.UpgradeApplianceRequest) private static final com.google.cloud.vmmigration.v1.UpgradeApplianceRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.vmmigration.v1.UpgradeApplianceRequest(); } @@ -802,16 +875,16 @@ public static com.google.cloud.vmmigration.v1.UpgradeApplianceRequest getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpgradeApplianceRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new UpgradeApplianceRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpgradeApplianceRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new UpgradeApplianceRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -826,6 +899,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.vmmigration.v1.UpgradeApplianceRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/UpgradeApplianceRequestOrBuilder.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/UpgradeApplianceRequestOrBuilder.java similarity index 68% rename from owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/UpgradeApplianceRequestOrBuilder.java rename to proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/UpgradeApplianceRequestOrBuilder.java index 9666177..0262518 100644 --- a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/UpgradeApplianceRequestOrBuilder.java +++ b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/UpgradeApplianceRequestOrBuilder.java @@ -1,33 +1,60 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; -public interface UpgradeApplianceRequestOrBuilder extends +public interface UpgradeApplianceRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.UpgradeApplianceRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The DatacenterConnector name.
    * 
* - * string datacenter_connector = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string datacenter_connector = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The datacenterConnector. */ java.lang.String getDatacenterConnector(); /** + * + * *
    * Required. The DatacenterConnector name.
    * 
* - * string datacenter_connector = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string datacenter_connector = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for datacenterConnector. */ - com.google.protobuf.ByteString - getDatacenterConnectorBytes(); + com.google.protobuf.ByteString getDatacenterConnectorBytes(); /** + * + * *
    * A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -43,10 +70,13 @@ public interface UpgradeApplianceRequestOrBuilder extends
    * 
* * string request_id = 2; + * * @return The requestId. */ java.lang.String getRequestId(); /** + * + * *
    * A request ID to identify requests. Specify a unique request ID
    * so that if you must retry your request, the server will know to ignore
@@ -62,8 +92,8 @@ public interface UpgradeApplianceRequestOrBuilder extends
    * 
* * string request_id = 2; + * * @return The bytes for requestId. */ - com.google.protobuf.ByteString - getRequestIdBytes(); + com.google.protobuf.ByteString getRequestIdBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/UpgradeApplianceResponse.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/UpgradeApplianceResponse.java similarity index 65% rename from owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/UpgradeApplianceResponse.java rename to proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/UpgradeApplianceResponse.java index 9552713..d348704 100644 --- a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/UpgradeApplianceResponse.java +++ b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/UpgradeApplianceResponse.java @@ -1,39 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; /** + * + * *
  * Response message for 'UpgradeAppliance' request.
  * 
* * Protobuf type {@code google.cloud.vmmigration.v1.UpgradeApplianceResponse} */ -public final class UpgradeApplianceResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class UpgradeApplianceResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.vmmigration.v1.UpgradeApplianceResponse) UpgradeApplianceResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UpgradeApplianceResponse.newBuilder() to construct. private UpgradeApplianceResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UpgradeApplianceResponse() { - } + + private UpgradeApplianceResponse() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UpgradeApplianceResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private UpgradeApplianceResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,13 +68,13 @@ private UpgradeApplianceResponse( case 0: done = true; break; - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -66,27 +82,30 @@ private UpgradeApplianceResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_UpgradeApplianceResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_UpgradeApplianceResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_UpgradeApplianceResponse_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_UpgradeApplianceResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.UpgradeApplianceResponse.class, com.google.cloud.vmmigration.v1.UpgradeApplianceResponse.Builder.class); + com.google.cloud.vmmigration.v1.UpgradeApplianceResponse.class, + com.google.cloud.vmmigration.v1.UpgradeApplianceResponse.Builder.class); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -98,8 +117,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 { unknownFields.writeTo(output); } @@ -117,12 +135,13 @@ 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.vmmigration.v1.UpgradeApplianceResponse)) { return super.equals(obj); } - com.google.cloud.vmmigration.v1.UpgradeApplianceResponse other = (com.google.cloud.vmmigration.v1.UpgradeApplianceResponse) obj; + com.google.cloud.vmmigration.v1.UpgradeApplianceResponse other = + (com.google.cloud.vmmigration.v1.UpgradeApplianceResponse) obj; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -141,117 +160,127 @@ public int hashCode() { } public static com.google.cloud.vmmigration.v1.UpgradeApplianceResponse 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.vmmigration.v1.UpgradeApplianceResponse 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.vmmigration.v1.UpgradeApplianceResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.vmmigration.v1.UpgradeApplianceResponse 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.vmmigration.v1.UpgradeApplianceResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.vmmigration.v1.UpgradeApplianceResponse 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.vmmigration.v1.UpgradeApplianceResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.vmmigration.v1.UpgradeApplianceResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.vmmigration.v1.UpgradeApplianceResponse 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.vmmigration.v1.UpgradeApplianceResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.vmmigration.v1.UpgradeApplianceResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.vmmigration.v1.UpgradeApplianceResponse 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.vmmigration.v1.UpgradeApplianceResponse 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.vmmigration.v1.UpgradeApplianceResponse 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.vmmigration.v1.UpgradeApplianceResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.vmmigration.v1.UpgradeApplianceResponse 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; } /** + * + * *
    * Response message for 'UpgradeAppliance' request.
    * 
* * Protobuf type {@code google.cloud.vmmigration.v1.UpgradeApplianceResponse} */ - 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.vmmigration.v1.UpgradeApplianceResponse) com.google.cloud.vmmigration.v1.UpgradeApplianceResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_UpgradeApplianceResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_UpgradeApplianceResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_UpgradeApplianceResponse_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_UpgradeApplianceResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.UpgradeApplianceResponse.class, com.google.cloud.vmmigration.v1.UpgradeApplianceResponse.Builder.class); + com.google.cloud.vmmigration.v1.UpgradeApplianceResponse.class, + com.google.cloud.vmmigration.v1.UpgradeApplianceResponse.Builder.class); } // Construct using com.google.cloud.vmmigration.v1.UpgradeApplianceResponse.newBuilder() @@ -259,16 +288,15 @@ 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) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -276,9 +304,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_UpgradeApplianceResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_UpgradeApplianceResponse_descriptor; } @java.lang.Override @@ -297,7 +325,8 @@ public com.google.cloud.vmmigration.v1.UpgradeApplianceResponse build() { @java.lang.Override public com.google.cloud.vmmigration.v1.UpgradeApplianceResponse buildPartial() { - com.google.cloud.vmmigration.v1.UpgradeApplianceResponse result = new com.google.cloud.vmmigration.v1.UpgradeApplianceResponse(this); + com.google.cloud.vmmigration.v1.UpgradeApplianceResponse result = + new com.google.cloud.vmmigration.v1.UpgradeApplianceResponse(this); onBuilt(); return result; } @@ -306,38 +335,39 @@ public com.google.cloud.vmmigration.v1.UpgradeApplianceResponse buildPartial() { 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.vmmigration.v1.UpgradeApplianceResponse) { - return mergeFrom((com.google.cloud.vmmigration.v1.UpgradeApplianceResponse)other); + return mergeFrom((com.google.cloud.vmmigration.v1.UpgradeApplianceResponse) other); } else { super.mergeFrom(other); return this; @@ -345,7 +375,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.vmmigration.v1.UpgradeApplianceResponse other) { - if (other == com.google.cloud.vmmigration.v1.UpgradeApplianceResponse.getDefaultInstance()) return this; + if (other == com.google.cloud.vmmigration.v1.UpgradeApplianceResponse.getDefaultInstance()) + return this; this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -365,7 +396,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.vmmigration.v1.UpgradeApplianceResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.vmmigration.v1.UpgradeApplianceResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -374,9 +406,9 @@ public Builder mergeFrom( } 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); } @@ -386,12 +418,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.vmmigration.v1.UpgradeApplianceResponse) } // @@protoc_insertion_point(class_scope:google.cloud.vmmigration.v1.UpgradeApplianceResponse) private static final com.google.cloud.vmmigration.v1.UpgradeApplianceResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.vmmigration.v1.UpgradeApplianceResponse(); } @@ -400,16 +432,16 @@ public static com.google.cloud.vmmigration.v1.UpgradeApplianceResponse getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpgradeApplianceResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new UpgradeApplianceResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpgradeApplianceResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new UpgradeApplianceResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -424,6 +456,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.vmmigration.v1.UpgradeApplianceResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/UpgradeApplianceResponseOrBuilder.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/UpgradeApplianceResponseOrBuilder.java new file mode 100644 index 0000000..d9de2fc --- /dev/null +++ b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/UpgradeApplianceResponseOrBuilder.java @@ -0,0 +1,24 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/vmmigration/v1/vmmigration.proto + +package com.google.cloud.vmmigration.v1; + +public interface UpgradeApplianceResponseOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.UpgradeApplianceResponse) + com.google.protobuf.MessageOrBuilder {} diff --git a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/UpgradeStatus.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/UpgradeStatus.java similarity index 73% rename from owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/UpgradeStatus.java rename to proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/UpgradeStatus.java index 5539e61..34aaa45 100644 --- a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/UpgradeStatus.java +++ b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/UpgradeStatus.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; /** + * + * *
  * UpgradeStatus contains information about upgradeAppliance operation.
  * 
* * Protobuf type {@code google.cloud.vmmigration.v1.UpgradeStatus} */ -public final class UpgradeStatus extends - com.google.protobuf.GeneratedMessageV3 implements +public final class UpgradeStatus extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.vmmigration.v1.UpgradeStatus) UpgradeStatusOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UpgradeStatus.newBuilder() to construct. private UpgradeStatus(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private UpgradeStatus() { version_ = ""; state_ = 0; @@ -27,16 +45,15 @@ private UpgradeStatus() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UpgradeStatus(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private UpgradeStatus( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,57 +72,63 @@ private UpgradeStatus( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - version_ = s; - break; - } - case 16: { - int rawValue = input.readEnum(); - - state_ = rawValue; - break; - } - case 26: { - com.google.rpc.Status.Builder subBuilder = null; - if (error_ != null) { - subBuilder = error_.toBuilder(); - } - error_ = input.readMessage(com.google.rpc.Status.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(error_); - error_ = subBuilder.buildPartial(); + version_ = s; + break; } + case 16: + { + int rawValue = input.readEnum(); - break; - } - case 34: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (startTime_ != null) { - subBuilder = startTime_.toBuilder(); + state_ = rawValue; + break; } - startTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(startTime_); - startTime_ = subBuilder.buildPartial(); + case 26: + { + com.google.rpc.Status.Builder subBuilder = null; + if (error_ != null) { + subBuilder = error_.toBuilder(); + } + error_ = input.readMessage(com.google.rpc.Status.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(error_); + error_ = subBuilder.buildPartial(); + } + + break; } + case 34: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (startTime_ != null) { + subBuilder = startTime_.toBuilder(); + } + startTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(startTime_); + startTime_ = subBuilder.buildPartial(); + } + + break; + } + case 42: + { + java.lang.String s = input.readStringRequireUtf8(); - break; - } - case 42: { - java.lang.String s = input.readStringRequireUtf8(); - - previousVersion_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + previousVersion_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -113,36 +136,41 @@ private UpgradeStatus( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_UpgradeStatus_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_UpgradeStatus_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_UpgradeStatus_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_UpgradeStatus_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.UpgradeStatus.class, com.google.cloud.vmmigration.v1.UpgradeStatus.Builder.class); + com.google.cloud.vmmigration.v1.UpgradeStatus.class, + com.google.cloud.vmmigration.v1.UpgradeStatus.Builder.class); } /** + * + * *
    * The possible values of the state.
    * 
* * Protobuf enum {@code google.cloud.vmmigration.v1.UpgradeStatus.State} */ - public enum State - implements com.google.protobuf.ProtocolMessageEnum { + public enum State implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * The state was not sampled by the health checks yet.
      * 
@@ -151,6 +179,8 @@ public enum State */ STATE_UNSPECIFIED(0), /** + * + * *
      * The upgrade has started.
      * 
@@ -159,6 +189,8 @@ public enum State */ RUNNING(1), /** + * + * *
      * The upgrade failed.
      * 
@@ -167,6 +199,8 @@ public enum State */ FAILED(2), /** + * + * *
      * The upgrade finished successfully.
      * 
@@ -178,6 +212,8 @@ public enum State ; /** + * + * *
      * The state was not sampled by the health checks yet.
      * 
@@ -186,6 +222,8 @@ public enum State */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * The upgrade has started.
      * 
@@ -194,6 +232,8 @@ public enum State */ public static final int RUNNING_VALUE = 1; /** + * + * *
      * The upgrade failed.
      * 
@@ -202,6 +242,8 @@ public enum State */ public static final int FAILED_VALUE = 2; /** + * + * *
      * The upgrade finished successfully.
      * 
@@ -210,7 +252,6 @@ public enum State */ public static final int SUCCEEDED_VALUE = 3; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -235,50 +276,51 @@ public static State valueOf(int value) { */ public static State forNumber(int value) { switch (value) { - case 0: return STATE_UNSPECIFIED; - case 1: return RUNNING; - case 2: return FAILED; - case 3: return SUCCEEDED; - default: return null; + case 0: + return STATE_UNSPECIFIED; + case 1: + return RUNNING; + case 2: + return FAILED; + case 3: + return SUCCEEDED; + 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< - State> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public State findValueByNumber(int number) { - return State.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 State findValueByNumber(int number) { + return State.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() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.cloud.vmmigration.v1.UpgradeStatus.getDescriptor().getEnumTypes().get(0); } private static final State[] VALUES = values(); - public static State valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static State 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; @@ -298,11 +340,14 @@ private State(int value) { public static final int VERSION_FIELD_NUMBER = 1; private volatile java.lang.Object version_; /** + * + * *
    * The version to upgrade to.
    * 
* * string version = 1; + * * @return The version. */ @java.lang.Override @@ -311,29 +356,29 @@ public java.lang.String getVersion() { 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(); version_ = s; return s; } } /** + * + * *
    * The version to upgrade to.
    * 
* * string version = 1; + * * @return The bytes for version. */ @java.lang.Override - public com.google.protobuf.ByteString - getVersionBytes() { + public com.google.protobuf.ByteString getVersionBytes() { java.lang.Object ref = version_; 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); version_ = b; return b; } else { @@ -344,38 +389,52 @@ public java.lang.String getVersion() { public static final int STATE_FIELD_NUMBER = 2; private int state_; /** + * + * *
    * The state of the upgradeAppliance operation.
    * 
* * .google.cloud.vmmigration.v1.UpgradeStatus.State state = 2; + * * @return The enum numeric value on the wire for state. */ - @java.lang.Override public int getStateValue() { + @java.lang.Override + public int getStateValue() { return state_; } /** + * + * *
    * The state of the upgradeAppliance operation.
    * 
* * .google.cloud.vmmigration.v1.UpgradeStatus.State state = 2; + * * @return The state. */ - @java.lang.Override public com.google.cloud.vmmigration.v1.UpgradeStatus.State getState() { + @java.lang.Override + public com.google.cloud.vmmigration.v1.UpgradeStatus.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.vmmigration.v1.UpgradeStatus.State result = com.google.cloud.vmmigration.v1.UpgradeStatus.State.valueOf(state_); - return result == null ? com.google.cloud.vmmigration.v1.UpgradeStatus.State.UNRECOGNIZED : result; + com.google.cloud.vmmigration.v1.UpgradeStatus.State result = + com.google.cloud.vmmigration.v1.UpgradeStatus.State.valueOf(state_); + return result == null + ? com.google.cloud.vmmigration.v1.UpgradeStatus.State.UNRECOGNIZED + : result; } public static final int ERROR_FIELD_NUMBER = 3; private com.google.rpc.Status error_; /** + * + * *
    * Provides details on the state of the upgrade operation in case of an error.
    * 
* * .google.rpc.Status error = 3; + * * @return Whether the error field is set. */ @java.lang.Override @@ -383,11 +442,14 @@ public boolean hasError() { return error_ != null; } /** + * + * *
    * Provides details on the state of the upgrade operation in case of an error.
    * 
* * .google.rpc.Status error = 3; + * * @return The error. */ @java.lang.Override @@ -395,6 +457,8 @@ public com.google.rpc.Status getError() { return error_ == null ? com.google.rpc.Status.getDefaultInstance() : error_; } /** + * + * *
    * Provides details on the state of the upgrade operation in case of an error.
    * 
@@ -409,11 +473,14 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() { public static final int START_TIME_FIELD_NUMBER = 4; private com.google.protobuf.Timestamp startTime_; /** + * + * *
    * The time the operation was started.
    * 
* * .google.protobuf.Timestamp start_time = 4; + * * @return Whether the startTime field is set. */ @java.lang.Override @@ -421,11 +488,14 @@ public boolean hasStartTime() { return startTime_ != null; } /** + * + * *
    * The time the operation was started.
    * 
* * .google.protobuf.Timestamp start_time = 4; + * * @return The startTime. */ @java.lang.Override @@ -433,6 +503,8 @@ public com.google.protobuf.Timestamp getStartTime() { return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } /** + * + * *
    * The time the operation was started.
    * 
@@ -447,11 +519,14 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { public static final int PREVIOUS_VERSION_FIELD_NUMBER = 5; private volatile java.lang.Object previousVersion_; /** + * + * *
    * The version from which we upgraded.
    * 
* * string previous_version = 5; + * * @return The previousVersion. */ @java.lang.Override @@ -460,29 +535,29 @@ public java.lang.String getPreviousVersion() { 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(); previousVersion_ = s; return s; } } /** + * + * *
    * The version from which we upgraded.
    * 
* * string previous_version = 5; + * * @return The bytes for previousVersion. */ @java.lang.Override - public com.google.protobuf.ByteString - getPreviousVersionBytes() { + public com.google.protobuf.ByteString getPreviousVersionBytes() { java.lang.Object ref = previousVersion_; 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); previousVersion_ = b; return b; } else { @@ -491,6 +566,7 @@ public java.lang.String getPreviousVersion() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -502,12 +578,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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(version_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, version_); } - if (state_ != com.google.cloud.vmmigration.v1.UpgradeStatus.State.STATE_UNSPECIFIED.getNumber()) { + if (state_ + != com.google.cloud.vmmigration.v1.UpgradeStatus.State.STATE_UNSPECIFIED.getNumber()) { output.writeEnum(2, state_); } if (error_ != null) { @@ -531,17 +607,15 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(version_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, version_); } - if (state_ != com.google.cloud.vmmigration.v1.UpgradeStatus.State.STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, state_); + if (state_ + != com.google.cloud.vmmigration.v1.UpgradeStatus.State.STATE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, state_); } if (error_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getError()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getError()); } if (startTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getStartTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getStartTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(previousVersion_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, previousVersion_); @@ -554,28 +628,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.vmmigration.v1.UpgradeStatus)) { return super.equals(obj); } - com.google.cloud.vmmigration.v1.UpgradeStatus other = (com.google.cloud.vmmigration.v1.UpgradeStatus) obj; + com.google.cloud.vmmigration.v1.UpgradeStatus other = + (com.google.cloud.vmmigration.v1.UpgradeStatus) obj; - if (!getVersion() - .equals(other.getVersion())) return false; + if (!getVersion().equals(other.getVersion())) return false; if (state_ != other.state_) return false; if (hasError() != other.hasError()) return false; if (hasError()) { - if (!getError() - .equals(other.getError())) return false; + if (!getError().equals(other.getError())) 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 (!getPreviousVersion() - .equals(other.getPreviousVersion())) return false; + if (!getPreviousVersion().equals(other.getPreviousVersion())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -606,118 +677,127 @@ public int hashCode() { return hash; } - public static com.google.cloud.vmmigration.v1.UpgradeStatus parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.vmmigration.v1.UpgradeStatus parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.vmmigration.v1.UpgradeStatus 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.vmmigration.v1.UpgradeStatus parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.vmmigration.v1.UpgradeStatus 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.vmmigration.v1.UpgradeStatus parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.vmmigration.v1.UpgradeStatus 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.vmmigration.v1.UpgradeStatus parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.vmmigration.v1.UpgradeStatus 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.vmmigration.v1.UpgradeStatus parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.vmmigration.v1.UpgradeStatus parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.vmmigration.v1.UpgradeStatus 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.vmmigration.v1.UpgradeStatus 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.vmmigration.v1.UpgradeStatus 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.vmmigration.v1.UpgradeStatus 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; } /** + * + * *
    * UpgradeStatus contains information about upgradeAppliance operation.
    * 
* * Protobuf type {@code google.cloud.vmmigration.v1.UpgradeStatus} */ - 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.vmmigration.v1.UpgradeStatus) com.google.cloud.vmmigration.v1.UpgradeStatusOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_UpgradeStatus_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_UpgradeStatus_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_UpgradeStatus_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_UpgradeStatus_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.UpgradeStatus.class, com.google.cloud.vmmigration.v1.UpgradeStatus.Builder.class); + com.google.cloud.vmmigration.v1.UpgradeStatus.class, + com.google.cloud.vmmigration.v1.UpgradeStatus.Builder.class); } // Construct using com.google.cloud.vmmigration.v1.UpgradeStatus.newBuilder() @@ -725,16 +805,15 @@ 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) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -760,9 +839,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_UpgradeStatus_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_UpgradeStatus_descriptor; } @java.lang.Override @@ -781,7 +860,8 @@ public com.google.cloud.vmmigration.v1.UpgradeStatus build() { @java.lang.Override public com.google.cloud.vmmigration.v1.UpgradeStatus buildPartial() { - com.google.cloud.vmmigration.v1.UpgradeStatus result = new com.google.cloud.vmmigration.v1.UpgradeStatus(this); + com.google.cloud.vmmigration.v1.UpgradeStatus result = + new com.google.cloud.vmmigration.v1.UpgradeStatus(this); result.version_ = version_; result.state_ = state_; if (errorBuilder_ == null) { @@ -803,38 +883,39 @@ public com.google.cloud.vmmigration.v1.UpgradeStatus buildPartial() { 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.vmmigration.v1.UpgradeStatus) { - return mergeFrom((com.google.cloud.vmmigration.v1.UpgradeStatus)other); + return mergeFrom((com.google.cloud.vmmigration.v1.UpgradeStatus) other); } else { super.mergeFrom(other); return this; @@ -891,18 +972,20 @@ public Builder mergeFrom( private java.lang.Object version_ = ""; /** + * + * *
      * The version to upgrade to.
      * 
* * string version = 1; + * * @return The version. */ public java.lang.String getVersion() { java.lang.Object ref = version_; 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(); version_ = s; return s; @@ -911,20 +994,21 @@ public java.lang.String getVersion() { } } /** + * + * *
      * The version to upgrade to.
      * 
* * string version = 1; + * * @return The bytes for version. */ - public com.google.protobuf.ByteString - getVersionBytes() { + public com.google.protobuf.ByteString getVersionBytes() { java.lang.Object ref = version_; 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); version_ = b; return b; } else { @@ -932,54 +1016,61 @@ public java.lang.String getVersion() { } } /** + * + * *
      * The version to upgrade to.
      * 
* * string version = 1; + * * @param value The version to set. * @return This builder for chaining. */ - public Builder setVersion( - java.lang.String value) { + public Builder setVersion(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + version_ = value; onChanged(); return this; } /** + * + * *
      * The version to upgrade to.
      * 
* * string version = 1; + * * @return This builder for chaining. */ public Builder clearVersion() { - + version_ = getDefaultInstance().getVersion(); onChanged(); return this; } /** + * + * *
      * The version to upgrade to.
      * 
* * string version = 1; + * * @param value The bytes for version to set. * @return This builder for chaining. */ - public Builder setVersionBytes( - com.google.protobuf.ByteString value) { + public Builder setVersionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + version_ = value; onChanged(); return this; @@ -987,51 +1078,67 @@ public Builder setVersionBytes( private int state_ = 0; /** + * + * *
      * The state of the upgradeAppliance operation.
      * 
* * .google.cloud.vmmigration.v1.UpgradeStatus.State state = 2; + * * @return The enum numeric value on the wire for state. */ - @java.lang.Override public int getStateValue() { + @java.lang.Override + public int getStateValue() { return state_; } /** + * + * *
      * The state of the upgradeAppliance operation.
      * 
* * .google.cloud.vmmigration.v1.UpgradeStatus.State state = 2; + * * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ public Builder setStateValue(int value) { - + state_ = value; onChanged(); return this; } /** + * + * *
      * The state of the upgradeAppliance operation.
      * 
* * .google.cloud.vmmigration.v1.UpgradeStatus.State state = 2; + * * @return The state. */ @java.lang.Override public com.google.cloud.vmmigration.v1.UpgradeStatus.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.vmmigration.v1.UpgradeStatus.State result = com.google.cloud.vmmigration.v1.UpgradeStatus.State.valueOf(state_); - return result == null ? com.google.cloud.vmmigration.v1.UpgradeStatus.State.UNRECOGNIZED : result; + com.google.cloud.vmmigration.v1.UpgradeStatus.State result = + com.google.cloud.vmmigration.v1.UpgradeStatus.State.valueOf(state_); + return result == null + ? com.google.cloud.vmmigration.v1.UpgradeStatus.State.UNRECOGNIZED + : result; } /** + * + * *
      * The state of the upgradeAppliance operation.
      * 
* * .google.cloud.vmmigration.v1.UpgradeStatus.State state = 2; + * * @param value The state to set. * @return This builder for chaining. */ @@ -1039,21 +1146,24 @@ public Builder setState(com.google.cloud.vmmigration.v1.UpgradeStatus.State valu if (value == null) { throw new NullPointerException(); } - + state_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The state of the upgradeAppliance operation.
      * 
* * .google.cloud.vmmigration.v1.UpgradeStatus.State state = 2; + * * @return This builder for chaining. */ public Builder clearState() { - + state_ = 0; onChanged(); return this; @@ -1061,24 +1171,31 @@ public Builder clearState() { private com.google.rpc.Status error_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> errorBuilder_; + com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> + errorBuilder_; /** + * + * *
      * Provides details on the state of the upgrade operation in case of an error.
      * 
* * .google.rpc.Status error = 3; + * * @return Whether the error field is set. */ public boolean hasError() { return errorBuilder_ != null || error_ != null; } /** + * + * *
      * Provides details on the state of the upgrade operation in case of an error.
      * 
* * .google.rpc.Status error = 3; + * * @return The error. */ public com.google.rpc.Status getError() { @@ -1089,6 +1206,8 @@ public com.google.rpc.Status getError() { } } /** + * + * *
      * Provides details on the state of the upgrade operation in case of an error.
      * 
@@ -1109,14 +1228,15 @@ public Builder setError(com.google.rpc.Status value) { return this; } /** + * + * *
      * Provides details on the state of the upgrade operation in case of an error.
      * 
* * .google.rpc.Status error = 3; */ - public Builder setError( - com.google.rpc.Status.Builder builderForValue) { + public Builder setError(com.google.rpc.Status.Builder builderForValue) { if (errorBuilder_ == null) { error_ = builderForValue.build(); onChanged(); @@ -1127,6 +1247,8 @@ public Builder setError( return this; } /** + * + * *
      * Provides details on the state of the upgrade operation in case of an error.
      * 
@@ -1136,8 +1258,7 @@ public Builder setError( public Builder mergeError(com.google.rpc.Status value) { if (errorBuilder_ == null) { if (error_ != null) { - error_ = - com.google.rpc.Status.newBuilder(error_).mergeFrom(value).buildPartial(); + error_ = com.google.rpc.Status.newBuilder(error_).mergeFrom(value).buildPartial(); } else { error_ = value; } @@ -1149,6 +1270,8 @@ public Builder mergeError(com.google.rpc.Status value) { return this; } /** + * + * *
      * Provides details on the state of the upgrade operation in case of an error.
      * 
@@ -1167,6 +1290,8 @@ public Builder clearError() { return this; } /** + * + * *
      * Provides details on the state of the upgrade operation in case of an error.
      * 
@@ -1174,11 +1299,13 @@ public Builder clearError() { * .google.rpc.Status error = 3; */ public com.google.rpc.Status.Builder getErrorBuilder() { - + onChanged(); return getErrorFieldBuilder().getBuilder(); } /** + * + * *
      * Provides details on the state of the upgrade operation in case of an error.
      * 
@@ -1189,11 +1316,12 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() { if (errorBuilder_ != null) { return errorBuilder_.getMessageOrBuilder(); } else { - return error_ == null ? - com.google.rpc.Status.getDefaultInstance() : error_; + return error_ == null ? com.google.rpc.Status.getDefaultInstance() : error_; } } /** + * + * *
      * Provides details on the state of the upgrade operation in case of an error.
      * 
@@ -1201,14 +1329,14 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() { * .google.rpc.Status error = 3; */ 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> getErrorFieldBuilder() { if (errorBuilder_ == null) { - errorBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder>( - getError(), - getParentForChildren(), - isClean()); + errorBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.rpc.Status, + com.google.rpc.Status.Builder, + com.google.rpc.StatusOrBuilder>(getError(), getParentForChildren(), isClean()); error_ = null; } return errorBuilder_; @@ -1216,24 +1344,33 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() { 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_; /** + * + * *
      * The time the operation was started.
      * 
* * .google.protobuf.Timestamp start_time = 4; + * * @return Whether the startTime field is set. */ public boolean hasStartTime() { return startTimeBuilder_ != null || startTime_ != null; } /** + * + * *
      * The time the operation was started.
      * 
* * .google.protobuf.Timestamp start_time = 4; + * * @return The startTime. */ public com.google.protobuf.Timestamp getStartTime() { @@ -1244,6 +1381,8 @@ public com.google.protobuf.Timestamp getStartTime() { } } /** + * + * *
      * The time the operation was started.
      * 
@@ -1264,14 +1403,15 @@ public Builder setStartTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time the operation was started.
      * 
* * .google.protobuf.Timestamp start_time = 4; */ - public Builder setStartTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (startTimeBuilder_ == null) { startTime_ = builderForValue.build(); onChanged(); @@ -1282,6 +1422,8 @@ public Builder setStartTime( return this; } /** + * + * *
      * The time the operation was started.
      * 
@@ -1292,7 +1434,7 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { if (startTimeBuilder_ == null) { if (startTime_ != null) { startTime_ = - com.google.protobuf.Timestamp.newBuilder(startTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(startTime_).mergeFrom(value).buildPartial(); } else { startTime_ = value; } @@ -1304,6 +1446,8 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time the operation was started.
      * 
@@ -1322,6 +1466,8 @@ public Builder clearStartTime() { return this; } /** + * + * *
      * The time the operation was started.
      * 
@@ -1329,11 +1475,13 @@ public Builder clearStartTime() { * .google.protobuf.Timestamp start_time = 4; */ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { - + onChanged(); return getStartTimeFieldBuilder().getBuilder(); } /** + * + * *
      * The time the operation was started.
      * 
@@ -1344,11 +1492,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_; } } /** + * + * *
      * The time the operation was started.
      * 
@@ -1356,14 +1505,17 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { * .google.protobuf.Timestamp start_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> 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_; @@ -1371,18 +1523,20 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { private java.lang.Object previousVersion_ = ""; /** + * + * *
      * The version from which we upgraded.
      * 
* * string previous_version = 5; + * * @return The previousVersion. */ public java.lang.String getPreviousVersion() { java.lang.Object ref = previousVersion_; 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(); previousVersion_ = s; return s; @@ -1391,20 +1545,21 @@ public java.lang.String getPreviousVersion() { } } /** + * + * *
      * The version from which we upgraded.
      * 
* * string previous_version = 5; + * * @return The bytes for previousVersion. */ - public com.google.protobuf.ByteString - getPreviousVersionBytes() { + public com.google.protobuf.ByteString getPreviousVersionBytes() { java.lang.Object ref = previousVersion_; 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); previousVersion_ = b; return b; } else { @@ -1412,61 +1567,68 @@ public java.lang.String getPreviousVersion() { } } /** + * + * *
      * The version from which we upgraded.
      * 
* * string previous_version = 5; + * * @param value The previousVersion to set. * @return This builder for chaining. */ - public Builder setPreviousVersion( - java.lang.String value) { + public Builder setPreviousVersion(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + previousVersion_ = value; onChanged(); return this; } /** + * + * *
      * The version from which we upgraded.
      * 
* * string previous_version = 5; + * * @return This builder for chaining. */ public Builder clearPreviousVersion() { - + previousVersion_ = getDefaultInstance().getPreviousVersion(); onChanged(); return this; } /** + * + * *
      * The version from which we upgraded.
      * 
* * string previous_version = 5; + * * @param value The bytes for previousVersion to set. * @return This builder for chaining. */ - public Builder setPreviousVersionBytes( - com.google.protobuf.ByteString value) { + public Builder setPreviousVersionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + previousVersion_ = 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); } @@ -1476,12 +1638,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.vmmigration.v1.UpgradeStatus) } // @@protoc_insertion_point(class_scope:google.cloud.vmmigration.v1.UpgradeStatus) private static final com.google.cloud.vmmigration.v1.UpgradeStatus DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.vmmigration.v1.UpgradeStatus(); } @@ -1490,16 +1652,16 @@ public static com.google.cloud.vmmigration.v1.UpgradeStatus getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpgradeStatus parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new UpgradeStatus(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpgradeStatus parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new UpgradeStatus(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1514,6 +1676,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.vmmigration.v1.UpgradeStatus getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/UpgradeStatusOrBuilder.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/UpgradeStatusOrBuilder.java similarity index 75% rename from owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/UpgradeStatusOrBuilder.java rename to proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/UpgradeStatusOrBuilder.java index 3070444..4289019 100644 --- a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/UpgradeStatusOrBuilder.java +++ b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/UpgradeStatusOrBuilder.java @@ -1,70 +1,105 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; -public interface UpgradeStatusOrBuilder extends +public interface UpgradeStatusOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.UpgradeStatus) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The version to upgrade to.
    * 
* * string version = 1; + * * @return The version. */ java.lang.String getVersion(); /** + * + * *
    * The version to upgrade to.
    * 
* * string version = 1; + * * @return The bytes for version. */ - com.google.protobuf.ByteString - getVersionBytes(); + com.google.protobuf.ByteString getVersionBytes(); /** + * + * *
    * The state of the upgradeAppliance operation.
    * 
* * .google.cloud.vmmigration.v1.UpgradeStatus.State state = 2; + * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** + * + * *
    * The state of the upgradeAppliance operation.
    * 
* * .google.cloud.vmmigration.v1.UpgradeStatus.State state = 2; + * * @return The state. */ com.google.cloud.vmmigration.v1.UpgradeStatus.State getState(); /** + * + * *
    * Provides details on the state of the upgrade operation in case of an error.
    * 
* * .google.rpc.Status error = 3; + * * @return Whether the error field is set. */ boolean hasError(); /** + * + * *
    * Provides details on the state of the upgrade operation in case of an error.
    * 
* * .google.rpc.Status error = 3; + * * @return The error. */ com.google.rpc.Status getError(); /** + * + * *
    * Provides details on the state of the upgrade operation in case of an error.
    * 
@@ -74,24 +109,32 @@ public interface UpgradeStatusOrBuilder extends com.google.rpc.StatusOrBuilder getErrorOrBuilder(); /** + * + * *
    * The time the operation was started.
    * 
* * .google.protobuf.Timestamp start_time = 4; + * * @return Whether the startTime field is set. */ boolean hasStartTime(); /** + * + * *
    * The time the operation was started.
    * 
* * .google.protobuf.Timestamp start_time = 4; + * * @return The startTime. */ com.google.protobuf.Timestamp getStartTime(); /** + * + * *
    * The time the operation was started.
    * 
@@ -101,22 +144,27 @@ public interface UpgradeStatusOrBuilder extends com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder(); /** + * + * *
    * The version from which we upgraded.
    * 
* * string previous_version = 5; + * * @return The previousVersion. */ java.lang.String getPreviousVersion(); /** + * + * *
    * The version from which we upgraded.
    * 
* * string previous_version = 5; + * * @return The bytes for previousVersion. */ - com.google.protobuf.ByteString - getPreviousVersionBytes(); + com.google.protobuf.ByteString getPreviousVersionBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/UtilizationReport.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/UtilizationReport.java similarity index 72% rename from owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/UtilizationReport.java rename to proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/UtilizationReport.java index 21a0436..b0d0312 100644 --- a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/UtilizationReport.java +++ b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/UtilizationReport.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; /** + * + * *
  * Utilization report details the utilization (CPU, memory, etc.) of selected
  * source VMs.
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.cloud.vmmigration.v1.UtilizationReport}
  */
-public final class UtilizationReport extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class UtilizationReport extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.vmmigration.v1.UtilizationReport)
     UtilizationReportOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use UtilizationReport.newBuilder() to construct.
   private UtilizationReport(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private UtilizationReport() {
     name_ = "";
     displayName_ = "";
@@ -30,16 +48,15 @@ private UtilizationReport() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new UtilizationReport();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private UtilizationReport(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -59,103 +76,117 @@ private UtilizationReport(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
-
-            name_ = s;
-            break;
-          }
-          case 18: {
-            java.lang.String s = input.readStringRequireUtf8();
-
-            displayName_ = s;
-            break;
-          }
-          case 24: {
-            int rawValue = input.readEnum();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            state_ = rawValue;
-            break;
-          }
-          case 34: {
-            com.google.protobuf.Timestamp.Builder subBuilder = null;
-            if (stateTime_ != null) {
-              subBuilder = stateTime_.toBuilder();
+              name_ = s;
+              break;
             }
-            stateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(stateTime_);
-              stateTime_ = subBuilder.buildPartial();
+          case 18:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
+
+              displayName_ = s;
+              break;
             }
+          case 24:
+            {
+              int rawValue = input.readEnum();
 
-            break;
-          }
-          case 42: {
-            com.google.rpc.Status.Builder subBuilder = null;
-            if (error_ != null) {
-              subBuilder = error_.toBuilder();
+              state_ = rawValue;
+              break;
             }
-            error_ = input.readMessage(com.google.rpc.Status.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(error_);
-              error_ = subBuilder.buildPartial();
+          case 34:
+            {
+              com.google.protobuf.Timestamp.Builder subBuilder = null;
+              if (stateTime_ != null) {
+                subBuilder = stateTime_.toBuilder();
+              }
+              stateTime_ =
+                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(stateTime_);
+                stateTime_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-
-            break;
-          }
-          case 50: {
-            com.google.protobuf.Timestamp.Builder subBuilder = null;
-            if (createTime_ != null) {
-              subBuilder = createTime_.toBuilder();
+          case 42:
+            {
+              com.google.rpc.Status.Builder subBuilder = null;
+              if (error_ != null) {
+                subBuilder = error_.toBuilder();
+              }
+              error_ = input.readMessage(com.google.rpc.Status.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(error_);
+                error_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-            createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(createTime_);
-              createTime_ = subBuilder.buildPartial();
+          case 50:
+            {
+              com.google.protobuf.Timestamp.Builder subBuilder = null;
+              if (createTime_ != null) {
+                subBuilder = createTime_.toBuilder();
+              }
+              createTime_ =
+                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(createTime_);
+                createTime_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
+          case 56:
+            {
+              int rawValue = input.readEnum();
 
-            break;
-          }
-          case 56: {
-            int rawValue = input.readEnum();
-
-            timeFrame_ = rawValue;
-            break;
-          }
-          case 66: {
-            com.google.protobuf.Timestamp.Builder subBuilder = null;
-            if (frameEndTime_ != null) {
-              subBuilder = frameEndTime_.toBuilder();
+              timeFrame_ = rawValue;
+              break;
             }
-            frameEndTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(frameEndTime_);
-              frameEndTime_ = subBuilder.buildPartial();
+          case 66:
+            {
+              com.google.protobuf.Timestamp.Builder subBuilder = null;
+              if (frameEndTime_ != null) {
+                subBuilder = frameEndTime_.toBuilder();
+              }
+              frameEndTime_ =
+                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(frameEndTime_);
+                frameEndTime_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-
-            break;
-          }
-          case 72: {
-
-            vmCount_ = input.readInt32();
-            break;
-          }
-          case 82: {
-            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-              vms_ = new java.util.ArrayList();
-              mutable_bitField0_ |= 0x00000001;
+          case 72:
+            {
+              vmCount_ = input.readInt32();
+              break;
             }
-            vms_.add(
-                input.readMessage(com.google.cloud.vmmigration.v1.VmUtilizationInfo.parser(), extensionRegistry));
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+          case 82:
+            {
+              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                vms_ = new java.util.ArrayList();
+                mutable_bitField0_ |= 0x00000001;
+              }
+              vms_.add(
+                  input.readMessage(
+                      com.google.cloud.vmmigration.v1.VmUtilizationInfo.parser(),
+                      extensionRegistry));
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -163,8 +194,7 @@ private UtilizationReport(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       if (((mutable_bitField0_ & 0x00000001) != 0)) {
         vms_ = java.util.Collections.unmodifiableList(vms_);
@@ -173,29 +203,35 @@ private UtilizationReport(
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_UtilizationReport_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.vmmigration.v1.VmMigrationProto
+        .internal_static_google_cloud_vmmigration_v1_UtilizationReport_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_UtilizationReport_fieldAccessorTable
+    return com.google.cloud.vmmigration.v1.VmMigrationProto
+        .internal_static_google_cloud_vmmigration_v1_UtilizationReport_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.vmmigration.v1.UtilizationReport.class, com.google.cloud.vmmigration.v1.UtilizationReport.Builder.class);
+            com.google.cloud.vmmigration.v1.UtilizationReport.class,
+            com.google.cloud.vmmigration.v1.UtilizationReport.Builder.class);
   }
 
   /**
+   *
+   *
    * 
    * Utilization report state.
    * 
* * Protobuf enum {@code google.cloud.vmmigration.v1.UtilizationReport.State} */ - public enum State - implements com.google.protobuf.ProtocolMessageEnum { + public enum State implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * The state is unknown. This value is not in use.
      * 
@@ -204,6 +240,8 @@ public enum State */ STATE_UNSPECIFIED(0), /** + * + * *
      * The report is in the making.
      * 
@@ -212,6 +250,8 @@ public enum State */ CREATING(1), /** + * + * *
      * Report creation completed successfully.
      * 
@@ -220,6 +260,8 @@ public enum State */ SUCCEEDED(2), /** + * + * *
      * Report creation failed.
      * 
@@ -231,6 +273,8 @@ public enum State ; /** + * + * *
      * The state is unknown. This value is not in use.
      * 
@@ -239,6 +283,8 @@ public enum State */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * The report is in the making.
      * 
@@ -247,6 +293,8 @@ public enum State */ public static final int CREATING_VALUE = 1; /** + * + * *
      * Report creation completed successfully.
      * 
@@ -255,6 +303,8 @@ public enum State */ public static final int SUCCEEDED_VALUE = 2; /** + * + * *
      * Report creation failed.
      * 
@@ -263,7 +313,6 @@ public enum State */ public static final int FAILED_VALUE = 3; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -288,50 +337,53 @@ public static State valueOf(int value) { */ public static State forNumber(int value) { switch (value) { - case 0: return STATE_UNSPECIFIED; - case 1: return CREATING; - case 2: return SUCCEEDED; - case 3: return FAILED; - default: return null; + case 0: + return STATE_UNSPECIFIED; + case 1: + return CREATING; + case 2: + return SUCCEEDED; + case 3: + return FAILED; + 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< - State> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public State findValueByNumber(int number) { - return State.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 State findValueByNumber(int number) { + return State.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.vmmigration.v1.UtilizationReport.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.vmmigration.v1.UtilizationReport.getDescriptor() + .getEnumTypes() + .get(0); } private static final State[] VALUES = values(); - public static State valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static State 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; @@ -349,15 +401,18 @@ private State(int value) { } /** + * + * *
    * Report time frame options.
    * 
* * Protobuf enum {@code google.cloud.vmmigration.v1.UtilizationReport.TimeFrame} */ - public enum TimeFrame - implements com.google.protobuf.ProtocolMessageEnum { + public enum TimeFrame implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * The time frame was not specified and will default to WEEK.
      * 
@@ -366,6 +421,8 @@ public enum TimeFrame */ TIME_FRAME_UNSPECIFIED(0), /** + * + * *
      * One week.
      * 
@@ -374,6 +431,8 @@ public enum TimeFrame */ WEEK(1), /** + * + * *
      * One month.
      * 
@@ -382,6 +441,8 @@ public enum TimeFrame */ MONTH(2), /** + * + * *
      * One year.
      * 
@@ -393,6 +454,8 @@ public enum TimeFrame ; /** + * + * *
      * The time frame was not specified and will default to WEEK.
      * 
@@ -401,6 +464,8 @@ public enum TimeFrame */ public static final int TIME_FRAME_UNSPECIFIED_VALUE = 0; /** + * + * *
      * One week.
      * 
@@ -409,6 +474,8 @@ public enum TimeFrame */ public static final int WEEK_VALUE = 1; /** + * + * *
      * One month.
      * 
@@ -417,6 +484,8 @@ public enum TimeFrame */ public static final int MONTH_VALUE = 2; /** + * + * *
      * One year.
      * 
@@ -425,7 +494,6 @@ public enum TimeFrame */ public static final int YEAR_VALUE = 3; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -450,50 +518,53 @@ public static TimeFrame valueOf(int value) { */ public static TimeFrame forNumber(int value) { switch (value) { - case 0: return TIME_FRAME_UNSPECIFIED; - case 1: return WEEK; - case 2: return MONTH; - case 3: return YEAR; - default: return null; + case 0: + return TIME_FRAME_UNSPECIFIED; + case 1: + return WEEK; + case 2: + return MONTH; + case 3: + return YEAR; + 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< - TimeFrame> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public TimeFrame findValueByNumber(int number) { - return TimeFrame.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 TimeFrame findValueByNumber(int number) { + return TimeFrame.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.vmmigration.v1.UtilizationReport.getDescriptor().getEnumTypes().get(1); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.vmmigration.v1.UtilizationReport.getDescriptor() + .getEnumTypes() + .get(1); } private static final TimeFrame[] VALUES = values(); - public static TimeFrame valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static TimeFrame 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; @@ -513,11 +584,14 @@ private TimeFrame(int value) { public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Output only. The report unique name.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ @java.lang.Override @@ -526,29 +600,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. The report unique 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 { @@ -559,11 +633,14 @@ public java.lang.String getName() { public static final int DISPLAY_NAME_FIELD_NUMBER = 2; private volatile java.lang.Object displayName_; /** + * + * *
    * The report display name, as assigned by the user.
    * 
* * string display_name = 2; + * * @return The displayName. */ @java.lang.Override @@ -572,29 +649,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; } } /** + * + * *
    * The report display name, as assigned by the user.
    * 
* * 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 { @@ -605,38 +682,57 @@ public java.lang.String getDisplayName() { public static final int STATE_FIELD_NUMBER = 3; private int state_; /** + * + * *
    * Output only. Current state of the report.
    * 
* - * .google.cloud.vmmigration.v1.UtilizationReport.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.vmmigration.v1.UtilizationReport.State state = 3 [(.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. Current state of the report.
    * 
* - * .google.cloud.vmmigration.v1.UtilizationReport.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.vmmigration.v1.UtilizationReport.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ - @java.lang.Override public com.google.cloud.vmmigration.v1.UtilizationReport.State getState() { + @java.lang.Override + public com.google.cloud.vmmigration.v1.UtilizationReport.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.vmmigration.v1.UtilizationReport.State result = com.google.cloud.vmmigration.v1.UtilizationReport.State.valueOf(state_); - return result == null ? com.google.cloud.vmmigration.v1.UtilizationReport.State.UNRECOGNIZED : result; + com.google.cloud.vmmigration.v1.UtilizationReport.State result = + com.google.cloud.vmmigration.v1.UtilizationReport.State.valueOf(state_); + return result == null + ? com.google.cloud.vmmigration.v1.UtilizationReport.State.UNRECOGNIZED + : result; } public static final int STATE_TIME_FIELD_NUMBER = 4; private com.google.protobuf.Timestamp stateTime_; /** + * + * *
    * Output only. The time the state was last set.
    * 
* - * .google.protobuf.Timestamp state_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp state_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the stateTime field is set. */ @java.lang.Override @@ -644,11 +740,15 @@ public boolean hasStateTime() { return stateTime_ != null; } /** + * + * *
    * Output only. The time the state was last set.
    * 
* - * .google.protobuf.Timestamp state_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp state_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The stateTime. */ @java.lang.Override @@ -656,11 +756,14 @@ public com.google.protobuf.Timestamp getStateTime() { return stateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : stateTime_; } /** + * + * *
    * Output only. The time the state was last set.
    * 
* - * .google.protobuf.Timestamp state_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp state_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getStateTimeOrBuilder() { @@ -670,12 +773,15 @@ public com.google.protobuf.TimestampOrBuilder getStateTimeOrBuilder() { public static final int ERROR_FIELD_NUMBER = 5; private com.google.rpc.Status error_; /** + * + * *
    * Output only. Provides details on the state of the report in case of an
    * error.
    * 
* * .google.rpc.Status error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return Whether the error field is set. */ @java.lang.Override @@ -683,12 +789,15 @@ public boolean hasError() { return error_ != null; } /** + * + * *
    * Output only. Provides details on the state of the report in case of an
    * error.
    * 
* * .google.rpc.Status error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The error. */ @java.lang.Override @@ -696,6 +805,8 @@ public com.google.rpc.Status getError() { return error_ == null ? com.google.rpc.Status.getDefaultInstance() : error_; } /** + * + * *
    * Output only. Provides details on the state of the report in case of an
    * error.
@@ -711,12 +822,16 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() {
   public static final int CREATE_TIME_FIELD_NUMBER = 6;
   private com.google.protobuf.Timestamp createTime_;
   /**
+   *
+   *
    * 
    * Output only. The time the report was created (this refers to the time of
    * the request, not the time the report creation completed).
    * 
* - * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ @java.lang.Override @@ -724,12 +839,16 @@ public boolean hasCreateTime() { return createTime_ != null; } /** + * + * *
    * Output only. The time the report was created (this refers to the time of
    * the request, not the time the report creation completed).
    * 
* - * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ @java.lang.Override @@ -737,12 +856,15 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
    * Output only. The time the report was created (this refers to the time of
    * the request, not the time the report creation completed).
    * 
* - * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -752,33 +874,46 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int TIME_FRAME_FIELD_NUMBER = 7; private int timeFrame_; /** + * + * *
    * Time frame of the report.
    * 
* * .google.cloud.vmmigration.v1.UtilizationReport.TimeFrame time_frame = 7; + * * @return The enum numeric value on the wire for timeFrame. */ - @java.lang.Override public int getTimeFrameValue() { + @java.lang.Override + public int getTimeFrameValue() { return timeFrame_; } /** + * + * *
    * Time frame of the report.
    * 
* * .google.cloud.vmmigration.v1.UtilizationReport.TimeFrame time_frame = 7; + * * @return The timeFrame. */ - @java.lang.Override public com.google.cloud.vmmigration.v1.UtilizationReport.TimeFrame getTimeFrame() { + @java.lang.Override + public com.google.cloud.vmmigration.v1.UtilizationReport.TimeFrame getTimeFrame() { @SuppressWarnings("deprecation") - com.google.cloud.vmmigration.v1.UtilizationReport.TimeFrame result = com.google.cloud.vmmigration.v1.UtilizationReport.TimeFrame.valueOf(timeFrame_); - return result == null ? com.google.cloud.vmmigration.v1.UtilizationReport.TimeFrame.UNRECOGNIZED : result; + com.google.cloud.vmmigration.v1.UtilizationReport.TimeFrame result = + com.google.cloud.vmmigration.v1.UtilizationReport.TimeFrame.valueOf(timeFrame_); + return result == null + ? com.google.cloud.vmmigration.v1.UtilizationReport.TimeFrame.UNRECOGNIZED + : result; } public static final int FRAME_END_TIME_FIELD_NUMBER = 8; private com.google.protobuf.Timestamp frameEndTime_; /** + * + * *
    * Output only. The point in time when the time frame ends. Notice that the
    * time frame is counted backwards. For instance if the "frame_end_time" value
@@ -786,7 +921,10 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
    * between 2021/01/20 and 2021/01/14.
    * 
* - * .google.protobuf.Timestamp frame_end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp frame_end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the frameEndTime field is set. */ @java.lang.Override @@ -794,6 +932,8 @@ public boolean hasFrameEndTime() { return frameEndTime_ != null; } /** + * + * *
    * Output only. The point in time when the time frame ends. Notice that the
    * time frame is counted backwards. For instance if the "frame_end_time" value
@@ -801,14 +941,21 @@ public boolean hasFrameEndTime() {
    * between 2021/01/20 and 2021/01/14.
    * 
* - * .google.protobuf.Timestamp frame_end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp frame_end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The frameEndTime. */ @java.lang.Override public com.google.protobuf.Timestamp getFrameEndTime() { - return frameEndTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : frameEndTime_; + return frameEndTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : frameEndTime_; } /** + * + * *
    * Output only. The point in time when the time frame ends. Notice that the
    * time frame is counted backwards. For instance if the "frame_end_time" value
@@ -816,7 +963,9 @@ public com.google.protobuf.Timestamp getFrameEndTime() {
    * between 2021/01/20 and 2021/01/14.
    * 
* - * .google.protobuf.Timestamp frame_end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp frame_end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getFrameEndTimeOrBuilder() { @@ -826,11 +975,14 @@ public com.google.protobuf.TimestampOrBuilder getFrameEndTimeOrBuilder() { public static final int VM_COUNT_FIELD_NUMBER = 9; private int vmCount_; /** + * + * *
    * Output only. Total number of VMs included in the report.
    * 
* * int32 vm_count = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The vmCount. */ @java.lang.Override @@ -841,6 +993,8 @@ public int getVmCount() { public static final int VMS_FIELD_NUMBER = 10; private java.util.List vms_; /** + * + * *
    * List of utilization information per VM.
    * When sent as part of the request, the "vm_id" field is used in order to
@@ -855,6 +1009,8 @@ public java.util.List getVmsL
     return vms_;
   }
   /**
+   *
+   *
    * 
    * List of utilization information per VM.
    * When sent as part of the request, the "vm_id" field is used in order to
@@ -865,11 +1021,13 @@ public java.util.List getVmsL
    * repeated .google.cloud.vmmigration.v1.VmUtilizationInfo vms = 10;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getVmsOrBuilderList() {
     return vms_;
   }
   /**
+   *
+   *
    * 
    * List of utilization information per VM.
    * When sent as part of the request, the "vm_id" field is used in order to
@@ -884,6 +1042,8 @@ public int getVmsCount() {
     return vms_.size();
   }
   /**
+   *
+   *
    * 
    * List of utilization information per VM.
    * When sent as part of the request, the "vm_id" field is used in order to
@@ -898,6 +1058,8 @@ public com.google.cloud.vmmigration.v1.VmUtilizationInfo getVms(int index) {
     return vms_.get(index);
   }
   /**
+   *
+   *
    * 
    * List of utilization information per VM.
    * When sent as part of the request, the "vm_id" field is used in order to
@@ -908,12 +1070,12 @@ public com.google.cloud.vmmigration.v1.VmUtilizationInfo getVms(int index) {
    * repeated .google.cloud.vmmigration.v1.VmUtilizationInfo vms = 10;
    */
   @java.lang.Override
-  public com.google.cloud.vmmigration.v1.VmUtilizationInfoOrBuilder getVmsOrBuilder(
-      int index) {
+  public com.google.cloud.vmmigration.v1.VmUtilizationInfoOrBuilder getVmsOrBuilder(int index) {
     return vms_.get(index);
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -925,15 +1087,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(name_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
     }
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 2, displayName_);
     }
-    if (state_ != com.google.cloud.vmmigration.v1.UtilizationReport.State.STATE_UNSPECIFIED.getNumber()) {
+    if (state_
+        != com.google.cloud.vmmigration.v1.UtilizationReport.State.STATE_UNSPECIFIED.getNumber()) {
       output.writeEnum(3, state_);
     }
     if (stateTime_ != null) {
@@ -945,7 +1107,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output)
     if (createTime_ != null) {
       output.writeMessage(6, getCreateTime());
     }
-    if (timeFrame_ != com.google.cloud.vmmigration.v1.UtilizationReport.TimeFrame.TIME_FRAME_UNSPECIFIED.getNumber()) {
+    if (timeFrame_
+        != com.google.cloud.vmmigration.v1.UtilizationReport.TimeFrame.TIME_FRAME_UNSPECIFIED
+            .getNumber()) {
       output.writeEnum(7, timeFrame_);
     }
     if (frameEndTime_ != null) {
@@ -972,37 +1136,32 @@ public int getSerializedSize() {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, displayName_);
     }
-    if (state_ != com.google.cloud.vmmigration.v1.UtilizationReport.State.STATE_UNSPECIFIED.getNumber()) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeEnumSize(3, state_);
+    if (state_
+        != com.google.cloud.vmmigration.v1.UtilizationReport.State.STATE_UNSPECIFIED.getNumber()) {
+      size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, state_);
     }
     if (stateTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(4, getStateTime());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getStateTime());
     }
     if (error_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(5, getError());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getError());
     }
     if (createTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(6, getCreateTime());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getCreateTime());
     }
-    if (timeFrame_ != com.google.cloud.vmmigration.v1.UtilizationReport.TimeFrame.TIME_FRAME_UNSPECIFIED.getNumber()) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeEnumSize(7, timeFrame_);
+    if (timeFrame_
+        != com.google.cloud.vmmigration.v1.UtilizationReport.TimeFrame.TIME_FRAME_UNSPECIFIED
+            .getNumber()) {
+      size += com.google.protobuf.CodedOutputStream.computeEnumSize(7, timeFrame_);
     }
     if (frameEndTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(8, getFrameEndTime());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getFrameEndTime());
     }
     if (vmCount_ != 0) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeInt32Size(9, vmCount_);
+      size += com.google.protobuf.CodedOutputStream.computeInt32Size(9, vmCount_);
     }
     for (int i = 0; i < vms_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(10, vms_.get(i));
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(10, vms_.get(i));
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -1012,43 +1171,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.vmmigration.v1.UtilizationReport)) {
       return super.equals(obj);
     }
-    com.google.cloud.vmmigration.v1.UtilizationReport other = (com.google.cloud.vmmigration.v1.UtilizationReport) obj;
+    com.google.cloud.vmmigration.v1.UtilizationReport other =
+        (com.google.cloud.vmmigration.v1.UtilizationReport) obj;
 
-    if (!getName()
-        .equals(other.getName())) return false;
-    if (!getDisplayName()
-        .equals(other.getDisplayName())) return false;
+    if (!getName().equals(other.getName())) return false;
+    if (!getDisplayName().equals(other.getDisplayName())) return false;
     if (state_ != other.state_) return false;
     if (hasStateTime() != other.hasStateTime()) return false;
     if (hasStateTime()) {
-      if (!getStateTime()
-          .equals(other.getStateTime())) return false;
+      if (!getStateTime().equals(other.getStateTime())) return false;
     }
     if (hasError() != other.hasError()) return false;
     if (hasError()) {
-      if (!getError()
-          .equals(other.getError())) return false;
+      if (!getError().equals(other.getError())) return false;
     }
     if (hasCreateTime() != other.hasCreateTime()) return false;
     if (hasCreateTime()) {
-      if (!getCreateTime()
-          .equals(other.getCreateTime())) return false;
+      if (!getCreateTime().equals(other.getCreateTime())) return false;
     }
     if (timeFrame_ != other.timeFrame_) return false;
     if (hasFrameEndTime() != other.hasFrameEndTime()) return false;
     if (hasFrameEndTime()) {
-      if (!getFrameEndTime()
-          .equals(other.getFrameEndTime())) return false;
+      if (!getFrameEndTime().equals(other.getFrameEndTime())) return false;
     }
-    if (getVmCount()
-        != other.getVmCount()) return false;
-    if (!getVmsList()
-        .equals(other.getVmsList())) return false;
+    if (getVmCount() != other.getVmCount()) return false;
+    if (!getVmsList().equals(other.getVmsList())) return false;
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
   }
@@ -1096,96 +1248,103 @@ public int hashCode() {
   }
 
   public static com.google.cloud.vmmigration.v1.UtilizationReport 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.vmmigration.v1.UtilizationReport 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.vmmigration.v1.UtilizationReport parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.vmmigration.v1.UtilizationReport 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.vmmigration.v1.UtilizationReport parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.vmmigration.v1.UtilizationReport 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.vmmigration.v1.UtilizationReport parseFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+
+  public static com.google.cloud.vmmigration.v1.UtilizationReport parseFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.vmmigration.v1.UtilizationReport 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.vmmigration.v1.UtilizationReport parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.cloud.vmmigration.v1.UtilizationReport parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.vmmigration.v1.UtilizationReport 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.vmmigration.v1.UtilizationReport 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.vmmigration.v1.UtilizationReport 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.vmmigration.v1.UtilizationReport 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;
   }
   /**
+   *
+   *
    * 
    * Utilization report details the utilization (CPU, memory, etc.) of selected
    * source VMs.
@@ -1193,21 +1352,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.vmmigration.v1.UtilizationReport}
    */
-  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.vmmigration.v1.UtilizationReport)
       com.google.cloud.vmmigration.v1.UtilizationReportOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_UtilizationReport_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.vmmigration.v1.VmMigrationProto
+          .internal_static_google_cloud_vmmigration_v1_UtilizationReport_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_UtilizationReport_fieldAccessorTable
+      return com.google.cloud.vmmigration.v1.VmMigrationProto
+          .internal_static_google_cloud_vmmigration_v1_UtilizationReport_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.vmmigration.v1.UtilizationReport.class, com.google.cloud.vmmigration.v1.UtilizationReport.Builder.class);
+              com.google.cloud.vmmigration.v1.UtilizationReport.class,
+              com.google.cloud.vmmigration.v1.UtilizationReport.Builder.class);
     }
 
     // Construct using com.google.cloud.vmmigration.v1.UtilizationReport.newBuilder()
@@ -1215,17 +1376,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) {
         getVmsFieldBuilder();
       }
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1273,9 +1434,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_UtilizationReport_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.vmmigration.v1.VmMigrationProto
+          .internal_static_google_cloud_vmmigration_v1_UtilizationReport_descriptor;
     }
 
     @java.lang.Override
@@ -1294,7 +1455,8 @@ public com.google.cloud.vmmigration.v1.UtilizationReport build() {
 
     @java.lang.Override
     public com.google.cloud.vmmigration.v1.UtilizationReport buildPartial() {
-      com.google.cloud.vmmigration.v1.UtilizationReport result = new com.google.cloud.vmmigration.v1.UtilizationReport(this);
+      com.google.cloud.vmmigration.v1.UtilizationReport result =
+          new com.google.cloud.vmmigration.v1.UtilizationReport(this);
       int from_bitField0_ = bitField0_;
       result.name_ = name_;
       result.displayName_ = displayName_;
@@ -1338,38 +1500,39 @@ public com.google.cloud.vmmigration.v1.UtilizationReport buildPartial() {
     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.vmmigration.v1.UtilizationReport) {
-        return mergeFrom((com.google.cloud.vmmigration.v1.UtilizationReport)other);
+        return mergeFrom((com.google.cloud.vmmigration.v1.UtilizationReport) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1377,7 +1540,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.vmmigration.v1.UtilizationReport other) {
-      if (other == com.google.cloud.vmmigration.v1.UtilizationReport.getDefaultInstance()) return this;
+      if (other == com.google.cloud.vmmigration.v1.UtilizationReport.getDefaultInstance())
+        return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         onChanged();
@@ -1425,9 +1589,10 @@ public Builder mergeFrom(com.google.cloud.vmmigration.v1.UtilizationReport other
             vmsBuilder_ = null;
             vms_ = other.vms_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            vmsBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getVmsFieldBuilder() : null;
+            vmsBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getVmsFieldBuilder()
+                    : null;
           } else {
             vmsBuilder_.addAllMessages(other.vms_);
           }
@@ -1452,7 +1617,8 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.cloud.vmmigration.v1.UtilizationReport) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.cloud.vmmigration.v1.UtilizationReport) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -1461,22 +1627,25 @@ public Builder mergeFrom(
       }
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Output only. The report unique 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; @@ -1485,20 +1654,21 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. The report unique 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 { @@ -1506,54 +1676,61 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. The report unique 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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Output only. The report unique name.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Output only. The report unique 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) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -1561,18 +1738,20 @@ public Builder setNameBytes( private java.lang.Object displayName_ = ""; /** + * + * *
      * The report display name, as assigned by the user.
      * 
* * 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; @@ -1581,20 +1760,21 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * The report display name, as assigned by the user.
      * 
* * 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 { @@ -1602,54 +1782,61 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * The report display name, as assigned by the user.
      * 
* * string display_name = 2; + * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName( - java.lang.String value) { + public Builder setDisplayName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; onChanged(); return this; } /** + * + * *
      * The report display name, as assigned by the user.
      * 
* * string display_name = 2; + * * @return This builder for chaining. */ public Builder clearDisplayName() { - + displayName_ = getDefaultInstance().getDisplayName(); onChanged(); return this; } /** + * + * *
      * The report display name, as assigned by the user.
      * 
* * 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) { + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; onChanged(); return this; @@ -1657,51 +1844,75 @@ public Builder setDisplayNameBytes( private int state_ = 0; /** + * + * *
      * Output only. Current state of the report.
      * 
* - * .google.cloud.vmmigration.v1.UtilizationReport.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.vmmigration.v1.UtilizationReport.State state = 3 [(.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. Current state of the report.
      * 
* - * .google.cloud.vmmigration.v1.UtilizationReport.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.vmmigration.v1.UtilizationReport.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ public Builder setStateValue(int value) { - + state_ = value; onChanged(); return this; } /** + * + * *
      * Output only. Current state of the report.
      * 
* - * .google.cloud.vmmigration.v1.UtilizationReport.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.vmmigration.v1.UtilizationReport.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ @java.lang.Override public com.google.cloud.vmmigration.v1.UtilizationReport.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.vmmigration.v1.UtilizationReport.State result = com.google.cloud.vmmigration.v1.UtilizationReport.State.valueOf(state_); - return result == null ? com.google.cloud.vmmigration.v1.UtilizationReport.State.UNRECOGNIZED : result; + com.google.cloud.vmmigration.v1.UtilizationReport.State result = + com.google.cloud.vmmigration.v1.UtilizationReport.State.valueOf(state_); + return result == null + ? com.google.cloud.vmmigration.v1.UtilizationReport.State.UNRECOGNIZED + : result; } /** + * + * *
      * Output only. Current state of the report.
      * 
* - * .google.cloud.vmmigration.v1.UtilizationReport.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.vmmigration.v1.UtilizationReport.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The state to set. * @return This builder for chaining. */ @@ -1709,21 +1920,26 @@ public Builder setState(com.google.cloud.vmmigration.v1.UtilizationReport.State if (value == null) { throw new NullPointerException(); } - + state_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Output only. Current state of the report.
      * 
* - * .google.cloud.vmmigration.v1.UtilizationReport.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.vmmigration.v1.UtilizationReport.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearState() { - + state_ = 0; onChanged(); return this; @@ -1731,24 +1947,35 @@ public Builder clearState() { private com.google.protobuf.Timestamp stateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> stateTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + stateTimeBuilder_; /** + * + * *
      * Output only. The time the state was last set.
      * 
* - * .google.protobuf.Timestamp state_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp state_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the stateTime field is set. */ public boolean hasStateTime() { return stateTimeBuilder_ != null || stateTime_ != null; } /** + * + * *
      * Output only. The time the state was last set.
      * 
* - * .google.protobuf.Timestamp state_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp state_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The stateTime. */ public com.google.protobuf.Timestamp getStateTime() { @@ -1759,11 +1986,14 @@ public com.google.protobuf.Timestamp getStateTime() { } } /** + * + * *
      * Output only. The time the state was last set.
      * 
* - * .google.protobuf.Timestamp state_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp state_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setStateTime(com.google.protobuf.Timestamp value) { if (stateTimeBuilder_ == null) { @@ -1779,14 +2009,16 @@ public Builder setStateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time the state was last set.
      * 
* - * .google.protobuf.Timestamp state_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp state_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setStateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setStateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (stateTimeBuilder_ == null) { stateTime_ = builderForValue.build(); onChanged(); @@ -1797,17 +2029,20 @@ public Builder setStateTime( return this; } /** + * + * *
      * Output only. The time the state was last set.
      * 
* - * .google.protobuf.Timestamp state_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp state_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeStateTime(com.google.protobuf.Timestamp value) { if (stateTimeBuilder_ == null) { if (stateTime_ != null) { stateTime_ = - com.google.protobuf.Timestamp.newBuilder(stateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(stateTime_).mergeFrom(value).buildPartial(); } else { stateTime_ = value; } @@ -1819,11 +2054,14 @@ public Builder mergeStateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time the state was last set.
      * 
* - * .google.protobuf.Timestamp state_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp state_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearStateTime() { if (stateTimeBuilder_ == null) { @@ -1837,48 +2075,59 @@ public Builder clearStateTime() { return this; } /** + * + * *
      * Output only. The time the state was last set.
      * 
* - * .google.protobuf.Timestamp state_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp state_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getStateTimeBuilder() { - + onChanged(); return getStateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The time the state was last set.
      * 
* - * .google.protobuf.Timestamp state_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp state_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getStateTimeOrBuilder() { if (stateTimeBuilder_ != null) { return stateTimeBuilder_.getMessageOrBuilder(); } else { - return stateTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : stateTime_; + return stateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : stateTime_; } } /** + * + * *
      * Output only. The time the state was last set.
      * 
* - * .google.protobuf.Timestamp state_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp state_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> getStateTimeFieldBuilder() { if (stateTimeBuilder_ == null) { - stateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getStateTime(), - getParentForChildren(), - isClean()); + stateTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getStateTime(), getParentForChildren(), isClean()); stateTime_ = null; } return stateTimeBuilder_; @@ -1886,26 +2135,33 @@ public com.google.protobuf.TimestampOrBuilder getStateTimeOrBuilder() { private com.google.rpc.Status error_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> errorBuilder_; + com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> + errorBuilder_; /** + * + * *
      * Output only. Provides details on the state of the report in case of an
      * error.
      * 
* * .google.rpc.Status error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return Whether the error field is set. */ public boolean hasError() { return errorBuilder_ != null || error_ != null; } /** + * + * *
      * Output only. Provides details on the state of the report in case of an
      * error.
      * 
* * .google.rpc.Status error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The error. */ public com.google.rpc.Status getError() { @@ -1916,6 +2172,8 @@ public com.google.rpc.Status getError() { } } /** + * + * *
      * Output only. Provides details on the state of the report in case of an
      * error.
@@ -1937,6 +2195,8 @@ public Builder setError(com.google.rpc.Status value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. Provides details on the state of the report in case of an
      * error.
@@ -1944,8 +2204,7 @@ public Builder setError(com.google.rpc.Status value) {
      *
      * .google.rpc.Status error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      */
-    public Builder setError(
-        com.google.rpc.Status.Builder builderForValue) {
+    public Builder setError(com.google.rpc.Status.Builder builderForValue) {
       if (errorBuilder_ == null) {
         error_ = builderForValue.build();
         onChanged();
@@ -1956,6 +2215,8 @@ public Builder setError(
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. Provides details on the state of the report in case of an
      * error.
@@ -1966,8 +2227,7 @@ public Builder setError(
     public Builder mergeError(com.google.rpc.Status value) {
       if (errorBuilder_ == null) {
         if (error_ != null) {
-          error_ =
-            com.google.rpc.Status.newBuilder(error_).mergeFrom(value).buildPartial();
+          error_ = com.google.rpc.Status.newBuilder(error_).mergeFrom(value).buildPartial();
         } else {
           error_ = value;
         }
@@ -1979,6 +2239,8 @@ public Builder mergeError(com.google.rpc.Status value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. Provides details on the state of the report in case of an
      * error.
@@ -1998,6 +2260,8 @@ public Builder clearError() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. Provides details on the state of the report in case of an
      * error.
@@ -2006,11 +2270,13 @@ public Builder clearError() {
      * .google.rpc.Status error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      */
     public com.google.rpc.Status.Builder getErrorBuilder() {
-      
+
       onChanged();
       return getErrorFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Output only. Provides details on the state of the report in case of an
      * error.
@@ -2022,11 +2288,12 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() {
       if (errorBuilder_ != null) {
         return errorBuilder_.getMessageOrBuilder();
       } else {
-        return error_ == null ?
-            com.google.rpc.Status.getDefaultInstance() : error_;
+        return error_ == null ? com.google.rpc.Status.getDefaultInstance() : error_;
       }
     }
     /**
+     *
+     *
      * 
      * Output only. Provides details on the state of the report in case of an
      * error.
@@ -2035,14 +2302,14 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() {
      * .google.rpc.Status error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      */
     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>
         getErrorFieldBuilder() {
       if (errorBuilder_ == null) {
-        errorBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder>(
-                getError(),
-                getParentForChildren(),
-                isClean());
+        errorBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.rpc.Status,
+                com.google.rpc.Status.Builder,
+                com.google.rpc.StatusOrBuilder>(getError(), getParentForChildren(), isClean());
         error_ = null;
       }
       return errorBuilder_;
@@ -2050,42 +2317,61 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() {
 
     private com.google.protobuf.Timestamp createTime_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_;
+            com.google.protobuf.Timestamp,
+            com.google.protobuf.Timestamp.Builder,
+            com.google.protobuf.TimestampOrBuilder>
+        createTimeBuilder_;
     /**
+     *
+     *
      * 
      * Output only. The time the report was created (this refers to the time of
      * the request, not the time the report creation completed).
      * 
* - * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** + * + * *
      * Output only. The time the report was created (this refers to the time of
      * the request, not the time the report creation completed).
      * 
* - * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. The time the report was created (this refers to the time of
      * the request, not the time the report creation completed).
      * 
* - * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -2101,15 +2387,18 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time the report was created (this refers to the time of
      * the request, not the time the report creation completed).
      * 
* - * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setCreateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); onChanged(); @@ -2120,18 +2409,22 @@ public Builder setCreateTime( return this; } /** + * + * *
      * Output only. The time the report was created (this refers to the time of
      * the request, not the time the report creation completed).
      * 
* - * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { if (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -2143,12 +2436,16 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time the report was created (this refers to the time of
      * the request, not the time the report creation completed).
      * 
* - * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearCreateTime() { if (createTimeBuilder_ == null) { @@ -2162,51 +2459,67 @@ public Builder clearCreateTime() { return this; } /** + * + * *
      * Output only. The time the report was created (this refers to the time of
      * the request, not the time the report creation completed).
      * 
* - * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The time the report was created (this refers to the time of
      * the request, not the time the report creation completed).
      * 
* - * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } } /** + * + * *
      * Output only. The time the report was created (this refers to the time of
      * the request, not the time the report creation completed).
      * 
* - * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_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> getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { - createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getCreateTime(), - getParentForChildren(), - isClean()); + createTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), getParentForChildren(), isClean()); createTime_ = null; } return createTimeBuilder_; @@ -2214,51 +2527,67 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { private int timeFrame_ = 0; /** + * + * *
      * Time frame of the report.
      * 
* * .google.cloud.vmmigration.v1.UtilizationReport.TimeFrame time_frame = 7; + * * @return The enum numeric value on the wire for timeFrame. */ - @java.lang.Override public int getTimeFrameValue() { + @java.lang.Override + public int getTimeFrameValue() { return timeFrame_; } /** + * + * *
      * Time frame of the report.
      * 
* * .google.cloud.vmmigration.v1.UtilizationReport.TimeFrame time_frame = 7; + * * @param value The enum numeric value on the wire for timeFrame to set. * @return This builder for chaining. */ public Builder setTimeFrameValue(int value) { - + timeFrame_ = value; onChanged(); return this; } /** + * + * *
      * Time frame of the report.
      * 
* * .google.cloud.vmmigration.v1.UtilizationReport.TimeFrame time_frame = 7; + * * @return The timeFrame. */ @java.lang.Override public com.google.cloud.vmmigration.v1.UtilizationReport.TimeFrame getTimeFrame() { @SuppressWarnings("deprecation") - com.google.cloud.vmmigration.v1.UtilizationReport.TimeFrame result = com.google.cloud.vmmigration.v1.UtilizationReport.TimeFrame.valueOf(timeFrame_); - return result == null ? com.google.cloud.vmmigration.v1.UtilizationReport.TimeFrame.UNRECOGNIZED : result; + com.google.cloud.vmmigration.v1.UtilizationReport.TimeFrame result = + com.google.cloud.vmmigration.v1.UtilizationReport.TimeFrame.valueOf(timeFrame_); + return result == null + ? com.google.cloud.vmmigration.v1.UtilizationReport.TimeFrame.UNRECOGNIZED + : result; } /** + * + * *
      * Time frame of the report.
      * 
* * .google.cloud.vmmigration.v1.UtilizationReport.TimeFrame time_frame = 7; + * * @param value The timeFrame to set. * @return This builder for chaining. */ @@ -2266,21 +2595,24 @@ public Builder setTimeFrame(com.google.cloud.vmmigration.v1.UtilizationReport.Ti if (value == null) { throw new NullPointerException(); } - + timeFrame_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Time frame of the report.
      * 
* * .google.cloud.vmmigration.v1.UtilizationReport.TimeFrame time_frame = 7; + * * @return This builder for chaining. */ public Builder clearTimeFrame() { - + timeFrame_ = 0; onChanged(); return this; @@ -2288,8 +2620,13 @@ public Builder clearTimeFrame() { private com.google.protobuf.Timestamp frameEndTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> frameEndTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + frameEndTimeBuilder_; /** + * + * *
      * Output only. The point in time when the time frame ends. Notice that the
      * time frame is counted backwards. For instance if the "frame_end_time" value
@@ -2297,13 +2634,18 @@ public Builder clearTimeFrame() {
      * between 2021/01/20 and 2021/01/14.
      * 
* - * .google.protobuf.Timestamp frame_end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp frame_end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the frameEndTime field is set. */ public boolean hasFrameEndTime() { return frameEndTimeBuilder_ != null || frameEndTime_ != null; } /** + * + * *
      * Output only. The point in time when the time frame ends. Notice that the
      * time frame is counted backwards. For instance if the "frame_end_time" value
@@ -2311,17 +2653,24 @@ public boolean hasFrameEndTime() {
      * between 2021/01/20 and 2021/01/14.
      * 
* - * .google.protobuf.Timestamp frame_end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp frame_end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The frameEndTime. */ public com.google.protobuf.Timestamp getFrameEndTime() { if (frameEndTimeBuilder_ == null) { - return frameEndTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : frameEndTime_; + return frameEndTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : frameEndTime_; } else { return frameEndTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. The point in time when the time frame ends. Notice that the
      * time frame is counted backwards. For instance if the "frame_end_time" value
@@ -2329,7 +2678,9 @@ public com.google.protobuf.Timestamp getFrameEndTime() {
      * between 2021/01/20 and 2021/01/14.
      * 
* - * .google.protobuf.Timestamp frame_end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp frame_end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setFrameEndTime(com.google.protobuf.Timestamp value) { if (frameEndTimeBuilder_ == null) { @@ -2345,6 +2696,8 @@ public Builder setFrameEndTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The point in time when the time frame ends. Notice that the
      * time frame is counted backwards. For instance if the "frame_end_time" value
@@ -2352,10 +2705,11 @@ public Builder setFrameEndTime(com.google.protobuf.Timestamp value) {
      * between 2021/01/20 and 2021/01/14.
      * 
* - * .google.protobuf.Timestamp frame_end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp frame_end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setFrameEndTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setFrameEndTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (frameEndTimeBuilder_ == null) { frameEndTime_ = builderForValue.build(); onChanged(); @@ -2366,6 +2720,8 @@ public Builder setFrameEndTime( return this; } /** + * + * *
      * Output only. The point in time when the time frame ends. Notice that the
      * time frame is counted backwards. For instance if the "frame_end_time" value
@@ -2373,13 +2729,17 @@ public Builder setFrameEndTime(
      * between 2021/01/20 and 2021/01/14.
      * 
* - * .google.protobuf.Timestamp frame_end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp frame_end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeFrameEndTime(com.google.protobuf.Timestamp value) { if (frameEndTimeBuilder_ == null) { if (frameEndTime_ != null) { frameEndTime_ = - com.google.protobuf.Timestamp.newBuilder(frameEndTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(frameEndTime_) + .mergeFrom(value) + .buildPartial(); } else { frameEndTime_ = value; } @@ -2391,6 +2751,8 @@ public Builder mergeFrameEndTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The point in time when the time frame ends. Notice that the
      * time frame is counted backwards. For instance if the "frame_end_time" value
@@ -2398,7 +2760,9 @@ public Builder mergeFrameEndTime(com.google.protobuf.Timestamp value) {
      * between 2021/01/20 and 2021/01/14.
      * 
* - * .google.protobuf.Timestamp frame_end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp frame_end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearFrameEndTime() { if (frameEndTimeBuilder_ == null) { @@ -2412,6 +2776,8 @@ public Builder clearFrameEndTime() { return this; } /** + * + * *
      * Output only. The point in time when the time frame ends. Notice that the
      * time frame is counted backwards. For instance if the "frame_end_time" value
@@ -2419,14 +2785,18 @@ public Builder clearFrameEndTime() {
      * between 2021/01/20 and 2021/01/14.
      * 
* - * .google.protobuf.Timestamp frame_end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp frame_end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getFrameEndTimeBuilder() { - + onChanged(); return getFrameEndTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The point in time when the time frame ends. Notice that the
      * time frame is counted backwards. For instance if the "frame_end_time" value
@@ -2434,17 +2804,22 @@ public com.google.protobuf.Timestamp.Builder getFrameEndTimeBuilder() {
      * between 2021/01/20 and 2021/01/14.
      * 
* - * .google.protobuf.Timestamp frame_end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp frame_end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getFrameEndTimeOrBuilder() { if (frameEndTimeBuilder_ != null) { return frameEndTimeBuilder_.getMessageOrBuilder(); } else { - return frameEndTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : frameEndTime_; + return frameEndTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : frameEndTime_; } } /** + * + * *
      * Output only. The point in time when the time frame ends. Notice that the
      * time frame is counted backwards. For instance if the "frame_end_time" value
@@ -2452,29 +2827,37 @@ public com.google.protobuf.TimestampOrBuilder getFrameEndTimeOrBuilder() {
      * between 2021/01/20 and 2021/01/14.
      * 
* - * .google.protobuf.Timestamp frame_end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp frame_end_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> getFrameEndTimeFieldBuilder() { if (frameEndTimeBuilder_ == null) { - frameEndTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getFrameEndTime(), - getParentForChildren(), - isClean()); + frameEndTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getFrameEndTime(), getParentForChildren(), isClean()); frameEndTime_ = null; } return frameEndTimeBuilder_; } - private int vmCount_ ; + private int vmCount_; /** + * + * *
      * Output only. Total number of VMs included in the report.
      * 
* * int32 vm_count = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The vmCount. */ @java.lang.Override @@ -2482,48 +2865,60 @@ public int getVmCount() { return vmCount_; } /** + * + * *
      * Output only. Total number of VMs included in the report.
      * 
* * int32 vm_count = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The vmCount to set. * @return This builder for chaining. */ public Builder setVmCount(int value) { - + vmCount_ = value; onChanged(); return this; } /** + * + * *
      * Output only. Total number of VMs included in the report.
      * 
* * int32 vm_count = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearVmCount() { - + vmCount_ = 0; onChanged(); return this; } private java.util.List vms_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureVmsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { vms_ = new java.util.ArrayList(vms_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.vmmigration.v1.VmUtilizationInfo, com.google.cloud.vmmigration.v1.VmUtilizationInfo.Builder, com.google.cloud.vmmigration.v1.VmUtilizationInfoOrBuilder> vmsBuilder_; + com.google.cloud.vmmigration.v1.VmUtilizationInfo, + com.google.cloud.vmmigration.v1.VmUtilizationInfo.Builder, + com.google.cloud.vmmigration.v1.VmUtilizationInfoOrBuilder> + vmsBuilder_; /** + * + * *
      * List of utilization information per VM.
      * When sent as part of the request, the "vm_id" field is used in order to
@@ -2541,6 +2936,8 @@ public java.util.List getVmsL
       }
     }
     /**
+     *
+     *
      * 
      * List of utilization information per VM.
      * When sent as part of the request, the "vm_id" field is used in order to
@@ -2558,6 +2955,8 @@ public int getVmsCount() {
       }
     }
     /**
+     *
+     *
      * 
      * List of utilization information per VM.
      * When sent as part of the request, the "vm_id" field is used in order to
@@ -2575,6 +2974,8 @@ public com.google.cloud.vmmigration.v1.VmUtilizationInfo getVms(int index) {
       }
     }
     /**
+     *
+     *
      * 
      * List of utilization information per VM.
      * When sent as part of the request, the "vm_id" field is used in order to
@@ -2584,8 +2985,7 @@ public com.google.cloud.vmmigration.v1.VmUtilizationInfo getVms(int index) {
      *
      * repeated .google.cloud.vmmigration.v1.VmUtilizationInfo vms = 10;
      */
-    public Builder setVms(
-        int index, com.google.cloud.vmmigration.v1.VmUtilizationInfo value) {
+    public Builder setVms(int index, com.google.cloud.vmmigration.v1.VmUtilizationInfo value) {
       if (vmsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -2599,6 +2999,8 @@ public Builder setVms(
       return this;
     }
     /**
+     *
+     *
      * 
      * List of utilization information per VM.
      * When sent as part of the request, the "vm_id" field is used in order to
@@ -2620,6 +3022,8 @@ public Builder setVms(
       return this;
     }
     /**
+     *
+     *
      * 
      * List of utilization information per VM.
      * When sent as part of the request, the "vm_id" field is used in order to
@@ -2643,6 +3047,8 @@ public Builder addVms(com.google.cloud.vmmigration.v1.VmUtilizationInfo value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * List of utilization information per VM.
      * When sent as part of the request, the "vm_id" field is used in order to
@@ -2652,8 +3058,7 @@ public Builder addVms(com.google.cloud.vmmigration.v1.VmUtilizationInfo value) {
      *
      * repeated .google.cloud.vmmigration.v1.VmUtilizationInfo vms = 10;
      */
-    public Builder addVms(
-        int index, com.google.cloud.vmmigration.v1.VmUtilizationInfo value) {
+    public Builder addVms(int index, com.google.cloud.vmmigration.v1.VmUtilizationInfo value) {
       if (vmsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -2667,6 +3072,8 @@ public Builder addVms(
       return this;
     }
     /**
+     *
+     *
      * 
      * List of utilization information per VM.
      * When sent as part of the request, the "vm_id" field is used in order to
@@ -2688,6 +3095,8 @@ public Builder addVms(
       return this;
     }
     /**
+     *
+     *
      * 
      * List of utilization information per VM.
      * When sent as part of the request, the "vm_id" field is used in order to
@@ -2709,6 +3118,8 @@ public Builder addVms(
       return this;
     }
     /**
+     *
+     *
      * 
      * List of utilization information per VM.
      * When sent as part of the request, the "vm_id" field is used in order to
@@ -2722,8 +3133,7 @@ public Builder addAllVms(
         java.lang.Iterable values) {
       if (vmsBuilder_ == null) {
         ensureVmsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, vms_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, vms_);
         onChanged();
       } else {
         vmsBuilder_.addAllMessages(values);
@@ -2731,6 +3141,8 @@ public Builder addAllVms(
       return this;
     }
     /**
+     *
+     *
      * 
      * List of utilization information per VM.
      * When sent as part of the request, the "vm_id" field is used in order to
@@ -2751,6 +3163,8 @@ public Builder clearVms() {
       return this;
     }
     /**
+     *
+     *
      * 
      * List of utilization information per VM.
      * When sent as part of the request, the "vm_id" field is used in order to
@@ -2771,6 +3185,8 @@ public Builder removeVms(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * List of utilization information per VM.
      * When sent as part of the request, the "vm_id" field is used in order to
@@ -2780,11 +3196,12 @@ public Builder removeVms(int index) {
      *
      * repeated .google.cloud.vmmigration.v1.VmUtilizationInfo vms = 10;
      */
-    public com.google.cloud.vmmigration.v1.VmUtilizationInfo.Builder getVmsBuilder(
-        int index) {
+    public com.google.cloud.vmmigration.v1.VmUtilizationInfo.Builder getVmsBuilder(int index) {
       return getVmsFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * List of utilization information per VM.
      * When sent as part of the request, the "vm_id" field is used in order to
@@ -2794,14 +3211,16 @@ public com.google.cloud.vmmigration.v1.VmUtilizationInfo.Builder getVmsBuilder(
      *
      * repeated .google.cloud.vmmigration.v1.VmUtilizationInfo vms = 10;
      */
-    public com.google.cloud.vmmigration.v1.VmUtilizationInfoOrBuilder getVmsOrBuilder(
-        int index) {
+    public com.google.cloud.vmmigration.v1.VmUtilizationInfoOrBuilder getVmsOrBuilder(int index) {
       if (vmsBuilder_ == null) {
-        return vms_.get(index);  } else {
+        return vms_.get(index);
+      } else {
         return vmsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * List of utilization information per VM.
      * When sent as part of the request, the "vm_id" field is used in order to
@@ -2811,8 +3230,8 @@ public com.google.cloud.vmmigration.v1.VmUtilizationInfoOrBuilder getVmsOrBuilde
      *
      * repeated .google.cloud.vmmigration.v1.VmUtilizationInfo vms = 10;
      */
-    public java.util.List 
-         getVmsOrBuilderList() {
+    public java.util.List
+        getVmsOrBuilderList() {
       if (vmsBuilder_ != null) {
         return vmsBuilder_.getMessageOrBuilderList();
       } else {
@@ -2820,6 +3239,8 @@ public com.google.cloud.vmmigration.v1.VmUtilizationInfoOrBuilder getVmsOrBuilde
       }
     }
     /**
+     *
+     *
      * 
      * List of utilization information per VM.
      * When sent as part of the request, the "vm_id" field is used in order to
@@ -2830,10 +3251,12 @@ public com.google.cloud.vmmigration.v1.VmUtilizationInfoOrBuilder getVmsOrBuilde
      * repeated .google.cloud.vmmigration.v1.VmUtilizationInfo vms = 10;
      */
     public com.google.cloud.vmmigration.v1.VmUtilizationInfo.Builder addVmsBuilder() {
-      return getVmsFieldBuilder().addBuilder(
-          com.google.cloud.vmmigration.v1.VmUtilizationInfo.getDefaultInstance());
+      return getVmsFieldBuilder()
+          .addBuilder(com.google.cloud.vmmigration.v1.VmUtilizationInfo.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * List of utilization information per VM.
      * When sent as part of the request, the "vm_id" field is used in order to
@@ -2843,12 +3266,14 @@ public com.google.cloud.vmmigration.v1.VmUtilizationInfo.Builder addVmsBuilder()
      *
      * repeated .google.cloud.vmmigration.v1.VmUtilizationInfo vms = 10;
      */
-    public com.google.cloud.vmmigration.v1.VmUtilizationInfo.Builder addVmsBuilder(
-        int index) {
-      return getVmsFieldBuilder().addBuilder(
-          index, com.google.cloud.vmmigration.v1.VmUtilizationInfo.getDefaultInstance());
+    public com.google.cloud.vmmigration.v1.VmUtilizationInfo.Builder addVmsBuilder(int index) {
+      return getVmsFieldBuilder()
+          .addBuilder(
+              index, com.google.cloud.vmmigration.v1.VmUtilizationInfo.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * List of utilization information per VM.
      * When sent as part of the request, the "vm_id" field is used in order to
@@ -2858,27 +3283,30 @@ public com.google.cloud.vmmigration.v1.VmUtilizationInfo.Builder addVmsBuilder(
      *
      * repeated .google.cloud.vmmigration.v1.VmUtilizationInfo vms = 10;
      */
-    public java.util.List 
-         getVmsBuilderList() {
+    public java.util.List
+        getVmsBuilderList() {
       return getVmsFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.cloud.vmmigration.v1.VmUtilizationInfo, com.google.cloud.vmmigration.v1.VmUtilizationInfo.Builder, com.google.cloud.vmmigration.v1.VmUtilizationInfoOrBuilder> 
+            com.google.cloud.vmmigration.v1.VmUtilizationInfo,
+            com.google.cloud.vmmigration.v1.VmUtilizationInfo.Builder,
+            com.google.cloud.vmmigration.v1.VmUtilizationInfoOrBuilder>
         getVmsFieldBuilder() {
       if (vmsBuilder_ == null) {
-        vmsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.vmmigration.v1.VmUtilizationInfo, com.google.cloud.vmmigration.v1.VmUtilizationInfo.Builder, com.google.cloud.vmmigration.v1.VmUtilizationInfoOrBuilder>(
-                vms_,
-                ((bitField0_ & 0x00000001) != 0),
-                getParentForChildren(),
-                isClean());
+        vmsBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.cloud.vmmigration.v1.VmUtilizationInfo,
+                com.google.cloud.vmmigration.v1.VmUtilizationInfo.Builder,
+                com.google.cloud.vmmigration.v1.VmUtilizationInfoOrBuilder>(
+                vms_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
         vms_ = null;
       }
       return vmsBuilder_;
     }
+
     @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);
     }
 
@@ -2888,12 +3316,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.vmmigration.v1.UtilizationReport)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.vmmigration.v1.UtilizationReport)
   private static final com.google.cloud.vmmigration.v1.UtilizationReport DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.vmmigration.v1.UtilizationReport();
   }
@@ -2902,16 +3330,16 @@ public static com.google.cloud.vmmigration.v1.UtilizationReport getDefaultInstan
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public UtilizationReport parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      return new UtilizationReport(input, extensionRegistry);
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public UtilizationReport parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          return new UtilizationReport(input, extensionRegistry);
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -2926,6 +3354,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.vmmigration.v1.UtilizationReport getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/UtilizationReportName.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/UtilizationReportName.java
similarity index 100%
rename from owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/UtilizationReportName.java
rename to proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/UtilizationReportName.java
diff --git a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/UtilizationReportOrBuilder.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/UtilizationReportOrBuilder.java
similarity index 78%
rename from owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/UtilizationReportOrBuilder.java
rename to proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/UtilizationReportOrBuilder.java
index 22e0bfa..ff01cc9 100644
--- a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/UtilizationReportOrBuilder.java
+++ b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/UtilizationReportOrBuilder.java
@@ -1,119 +1,174 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/vmmigration/v1/vmmigration.proto
 
 package com.google.cloud.vmmigration.v1;
 
-public interface UtilizationReportOrBuilder extends
+public interface UtilizationReportOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.UtilizationReport)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Output only. The report unique name.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Output only. The report unique 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(); /** + * + * *
    * The report display name, as assigned by the user.
    * 
* * string display_name = 2; + * * @return The displayName. */ java.lang.String getDisplayName(); /** + * + * *
    * The report display name, as assigned by the user.
    * 
* * string display_name = 2; + * * @return The bytes for displayName. */ - com.google.protobuf.ByteString - getDisplayNameBytes(); + com.google.protobuf.ByteString getDisplayNameBytes(); /** + * + * *
    * Output only. Current state of the report.
    * 
* - * .google.cloud.vmmigration.v1.UtilizationReport.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.vmmigration.v1.UtilizationReport.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** + * + * *
    * Output only. Current state of the report.
    * 
* - * .google.cloud.vmmigration.v1.UtilizationReport.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.vmmigration.v1.UtilizationReport.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ com.google.cloud.vmmigration.v1.UtilizationReport.State getState(); /** + * + * *
    * Output only. The time the state was last set.
    * 
* - * .google.protobuf.Timestamp state_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp state_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the stateTime field is set. */ boolean hasStateTime(); /** + * + * *
    * Output only. The time the state was last set.
    * 
* - * .google.protobuf.Timestamp state_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp state_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The stateTime. */ com.google.protobuf.Timestamp getStateTime(); /** + * + * *
    * Output only. The time the state was last set.
    * 
* - * .google.protobuf.Timestamp state_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp state_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getStateTimeOrBuilder(); /** + * + * *
    * Output only. Provides details on the state of the report in case of an
    * error.
    * 
* * .google.rpc.Status error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return Whether the error field is set. */ boolean hasError(); /** + * + * *
    * Output only. Provides details on the state of the report in case of an
    * error.
    * 
* * .google.rpc.Status error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The error. */ com.google.rpc.Status getError(); /** + * + * *
    * Output only. Provides details on the state of the report in case of an
    * error.
@@ -124,55 +179,74 @@ public interface UtilizationReportOrBuilder extends
   com.google.rpc.StatusOrBuilder getErrorOrBuilder();
 
   /**
+   *
+   *
    * 
    * Output only. The time the report was created (this refers to the time of
    * the request, not the time the report creation completed).
    * 
* - * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** + * + * *
    * Output only. The time the report was created (this refers to the time of
    * the request, not the time the report creation completed).
    * 
* - * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** + * + * *
    * Output only. The time the report was created (this refers to the time of
    * the request, not the time the report creation completed).
    * 
* - * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** + * + * *
    * Time frame of the report.
    * 
* * .google.cloud.vmmigration.v1.UtilizationReport.TimeFrame time_frame = 7; + * * @return The enum numeric value on the wire for timeFrame. */ int getTimeFrameValue(); /** + * + * *
    * Time frame of the report.
    * 
* * .google.cloud.vmmigration.v1.UtilizationReport.TimeFrame time_frame = 7; + * * @return The timeFrame. */ com.google.cloud.vmmigration.v1.UtilizationReport.TimeFrame getTimeFrame(); /** + * + * *
    * Output only. The point in time when the time frame ends. Notice that the
    * time frame is counted backwards. For instance if the "frame_end_time" value
@@ -180,11 +254,16 @@ public interface UtilizationReportOrBuilder extends
    * between 2021/01/20 and 2021/01/14.
    * 
* - * .google.protobuf.Timestamp frame_end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp frame_end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the frameEndTime field is set. */ boolean hasFrameEndTime(); /** + * + * *
    * Output only. The point in time when the time frame ends. Notice that the
    * time frame is counted backwards. For instance if the "frame_end_time" value
@@ -192,11 +271,16 @@ public interface UtilizationReportOrBuilder extends
    * between 2021/01/20 and 2021/01/14.
    * 
* - * .google.protobuf.Timestamp frame_end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp frame_end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The frameEndTime. */ com.google.protobuf.Timestamp getFrameEndTime(); /** + * + * *
    * Output only. The point in time when the time frame ends. Notice that the
    * time frame is counted backwards. For instance if the "frame_end_time" value
@@ -204,21 +288,28 @@ public interface UtilizationReportOrBuilder extends
    * between 2021/01/20 and 2021/01/14.
    * 
* - * .google.protobuf.Timestamp frame_end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp frame_end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getFrameEndTimeOrBuilder(); /** + * + * *
    * Output only. Total number of VMs included in the report.
    * 
* * int32 vm_count = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The vmCount. */ int getVmCount(); /** + * + * *
    * List of utilization information per VM.
    * When sent as part of the request, the "vm_id" field is used in order to
@@ -228,9 +319,10 @@ public interface UtilizationReportOrBuilder extends
    *
    * repeated .google.cloud.vmmigration.v1.VmUtilizationInfo vms = 10;
    */
-  java.util.List 
-      getVmsList();
+  java.util.List getVmsList();
   /**
+   *
+   *
    * 
    * List of utilization information per VM.
    * When sent as part of the request, the "vm_id" field is used in order to
@@ -242,6 +334,8 @@ public interface UtilizationReportOrBuilder extends
    */
   com.google.cloud.vmmigration.v1.VmUtilizationInfo getVms(int index);
   /**
+   *
+   *
    * 
    * List of utilization information per VM.
    * When sent as part of the request, the "vm_id" field is used in order to
@@ -253,6 +347,8 @@ public interface UtilizationReportOrBuilder extends
    */
   int getVmsCount();
   /**
+   *
+   *
    * 
    * List of utilization information per VM.
    * When sent as part of the request, the "vm_id" field is used in order to
@@ -262,9 +358,11 @@ public interface UtilizationReportOrBuilder extends
    *
    * repeated .google.cloud.vmmigration.v1.VmUtilizationInfo vms = 10;
    */
-  java.util.List 
+  java.util.List
       getVmsOrBuilderList();
   /**
+   *
+   *
    * 
    * List of utilization information per VM.
    * When sent as part of the request, the "vm_id" field is used in order to
@@ -274,6 +372,5 @@ public interface UtilizationReportOrBuilder extends
    *
    * repeated .google.cloud.vmmigration.v1.VmUtilizationInfo vms = 10;
    */
-  com.google.cloud.vmmigration.v1.VmUtilizationInfoOrBuilder getVmsOrBuilder(
-      int index);
+  com.google.cloud.vmmigration.v1.VmUtilizationInfoOrBuilder getVmsOrBuilder(int index);
 }
diff --git a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/UtilizationReportView.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/UtilizationReportView.java
similarity index 71%
rename from owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/UtilizationReportView.java
rename to proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/UtilizationReportView.java
index 2447b9b..85d9b89 100644
--- a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/UtilizationReportView.java
+++ b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/UtilizationReportView.java
@@ -1,18 +1,36 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/vmmigration/v1/vmmigration.proto
 
 package com.google.cloud.vmmigration.v1;
 
 /**
+ *
+ *
  * 
  * Controls the level of details of a Utilization Report.
  * 
* * Protobuf enum {@code google.cloud.vmmigration.v1.UtilizationReportView} */ -public enum UtilizationReportView - implements com.google.protobuf.ProtocolMessageEnum { +public enum UtilizationReportView implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
    * The default / unset value.
    * The API will default to FULL on single report request and BASIC for
@@ -23,6 +41,8 @@ public enum UtilizationReportView
    */
   UTILIZATION_REPORT_VIEW_UNSPECIFIED(0),
   /**
+   *
+   *
    * 
    * Get the report metadata, without the list of VMs and their utilization
    * info.
@@ -32,6 +52,8 @@ public enum UtilizationReportView
    */
   BASIC(1),
   /**
+   *
+   *
    * 
    * Include everything.
    * 
@@ -43,6 +65,8 @@ public enum UtilizationReportView ; /** + * + * *
    * The default / unset value.
    * The API will default to FULL on single report request and BASIC for
@@ -53,6 +77,8 @@ public enum UtilizationReportView
    */
   public static final int UTILIZATION_REPORT_VIEW_UNSPECIFIED_VALUE = 0;
   /**
+   *
+   *
    * 
    * Get the report metadata, without the list of VMs and their utilization
    * info.
@@ -62,6 +88,8 @@ public enum UtilizationReportView
    */
   public static final int BASIC_VALUE = 1;
   /**
+   *
+   *
    * 
    * Include everything.
    * 
@@ -70,7 +98,6 @@ public enum UtilizationReportView */ public static final int FULL_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -95,10 +122,14 @@ public static UtilizationReportView valueOf(int value) { */ public static UtilizationReportView forNumber(int value) { switch (value) { - case 0: return UTILIZATION_REPORT_VIEW_UNSPECIFIED; - case 1: return BASIC; - case 2: return FULL; - default: return null; + case 0: + return UTILIZATION_REPORT_VIEW_UNSPECIFIED; + case 1: + return BASIC; + case 2: + return FULL; + default: + return null; } } @@ -106,28 +137,28 @@ public static UtilizationReportView forNumber(int value) { internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - UtilizationReportView> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public UtilizationReportView findValueByNumber(int number) { - return UtilizationReportView.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 UtilizationReportView findValueByNumber(int number) { + return UtilizationReportView.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() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.cloud.vmmigration.v1.VmMigrationProto.getDescriptor().getEnumTypes().get(0); } @@ -136,8 +167,7 @@ public UtilizationReportView findValueByNumber(int number) { public static UtilizationReportView 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; @@ -153,4 +183,3 @@ private UtilizationReportView(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.vmmigration.v1.UtilizationReportView) } - diff --git a/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/VmMigrationProto.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/VmMigrationProto.java new file mode 100644 index 0000000..afc39c1 --- /dev/null +++ b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/VmMigrationProto.java @@ -0,0 +1,2104 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/vmmigration/v1/vmmigration.proto + +package com.google.cloud.vmmigration.v1; + +public final class VmMigrationProto { + private VmMigrationProto() {} + + 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_vmmigration_v1_ReplicationCycle_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_vmmigration_v1_ReplicationCycle_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_vmmigration_v1_ReplicationSync_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_vmmigration_v1_ReplicationSync_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_vmmigration_v1_MigratingVm_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_vmmigration_v1_MigratingVm_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_vmmigration_v1_MigratingVm_LabelsEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_vmmigration_v1_MigratingVm_LabelsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_vmmigration_v1_CloneJob_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_vmmigration_v1_CloneJob_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_vmmigration_v1_CutoverJob_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_vmmigration_v1_CutoverJob_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_vmmigration_v1_CreateCloneJobRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_vmmigration_v1_CreateCloneJobRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_vmmigration_v1_CancelCloneJobRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_vmmigration_v1_CancelCloneJobRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_vmmigration_v1_CancelCloneJobResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_vmmigration_v1_CancelCloneJobResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_vmmigration_v1_ListCloneJobsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_vmmigration_v1_ListCloneJobsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_vmmigration_v1_ListCloneJobsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_vmmigration_v1_ListCloneJobsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_vmmigration_v1_GetCloneJobRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_vmmigration_v1_GetCloneJobRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_vmmigration_v1_Source_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_vmmigration_v1_Source_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_vmmigration_v1_Source_LabelsEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_vmmigration_v1_Source_LabelsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_vmmigration_v1_VmwareSourceDetails_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_vmmigration_v1_VmwareSourceDetails_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_vmmigration_v1_DatacenterConnector_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_vmmigration_v1_DatacenterConnector_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_vmmigration_v1_UpgradeStatus_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_vmmigration_v1_UpgradeStatus_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_vmmigration_v1_AvailableUpdates_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_vmmigration_v1_AvailableUpdates_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_vmmigration_v1_ApplianceVersion_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_vmmigration_v1_ApplianceVersion_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_vmmigration_v1_ListSourcesRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_vmmigration_v1_ListSourcesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_vmmigration_v1_ListSourcesResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_vmmigration_v1_ListSourcesResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_vmmigration_v1_GetSourceRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_vmmigration_v1_GetSourceRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_vmmigration_v1_CreateSourceRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_vmmigration_v1_CreateSourceRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_vmmigration_v1_UpdateSourceRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_vmmigration_v1_UpdateSourceRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_vmmigration_v1_DeleteSourceRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_vmmigration_v1_DeleteSourceRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_vmmigration_v1_FetchInventoryRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_vmmigration_v1_FetchInventoryRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_vmmigration_v1_VmwareVmDetails_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_vmmigration_v1_VmwareVmDetails_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_vmmigration_v1_VmwareVmsDetails_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_vmmigration_v1_VmwareVmsDetails_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_vmmigration_v1_FetchInventoryResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_vmmigration_v1_FetchInventoryResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_vmmigration_v1_UtilizationReport_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_vmmigration_v1_UtilizationReport_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_vmmigration_v1_VmUtilizationInfo_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_vmmigration_v1_VmUtilizationInfo_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_vmmigration_v1_VmUtilizationMetrics_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_vmmigration_v1_VmUtilizationMetrics_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_vmmigration_v1_ListUtilizationReportsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_vmmigration_v1_ListUtilizationReportsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_vmmigration_v1_ListUtilizationReportsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_vmmigration_v1_ListUtilizationReportsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_vmmigration_v1_GetUtilizationReportRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_vmmigration_v1_GetUtilizationReportRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_vmmigration_v1_CreateUtilizationReportRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_vmmigration_v1_CreateUtilizationReportRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_vmmigration_v1_DeleteUtilizationReportRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_vmmigration_v1_DeleteUtilizationReportRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_vmmigration_v1_ListDatacenterConnectorsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_vmmigration_v1_ListDatacenterConnectorsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_vmmigration_v1_GetDatacenterConnectorRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_vmmigration_v1_GetDatacenterConnectorRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_vmmigration_v1_CreateDatacenterConnectorRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_vmmigration_v1_CreateDatacenterConnectorRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_vmmigration_v1_DeleteDatacenterConnectorRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_vmmigration_v1_DeleteDatacenterConnectorRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_vmmigration_v1_UpgradeApplianceRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_vmmigration_v1_UpgradeApplianceRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_vmmigration_v1_UpgradeApplianceResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_vmmigration_v1_UpgradeApplianceResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_vmmigration_v1_ListDatacenterConnectorsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_vmmigration_v1_ListDatacenterConnectorsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_vmmigration_v1_ComputeEngineTargetDefaults_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_vmmigration_v1_ComputeEngineTargetDefaults_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_vmmigration_v1_ComputeEngineTargetDefaults_LabelsEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_vmmigration_v1_ComputeEngineTargetDefaults_LabelsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_vmmigration_v1_ComputeEngineTargetDefaults_MetadataEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_vmmigration_v1_ComputeEngineTargetDefaults_MetadataEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_vmmigration_v1_ComputeEngineTargetDetails_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_vmmigration_v1_ComputeEngineTargetDetails_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_vmmigration_v1_ComputeEngineTargetDetails_LabelsEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_vmmigration_v1_ComputeEngineTargetDetails_LabelsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_vmmigration_v1_ComputeEngineTargetDetails_MetadataEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_vmmigration_v1_ComputeEngineTargetDetails_MetadataEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_vmmigration_v1_NetworkInterface_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_vmmigration_v1_NetworkInterface_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_vmmigration_v1_AppliedLicense_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_vmmigration_v1_AppliedLicense_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_vmmigration_v1_SchedulingNodeAffinity_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_vmmigration_v1_SchedulingNodeAffinity_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_vmmigration_v1_ComputeScheduling_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_vmmigration_v1_ComputeScheduling_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_vmmigration_v1_SchedulePolicy_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_vmmigration_v1_SchedulePolicy_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_vmmigration_v1_CreateMigratingVmRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_vmmigration_v1_CreateMigratingVmRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_vmmigration_v1_ListMigratingVmsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_vmmigration_v1_ListMigratingVmsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_vmmigration_v1_ListMigratingVmsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_vmmigration_v1_ListMigratingVmsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_vmmigration_v1_GetMigratingVmRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_vmmigration_v1_GetMigratingVmRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_vmmigration_v1_UpdateMigratingVmRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_vmmigration_v1_UpdateMigratingVmRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_vmmigration_v1_DeleteMigratingVmRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_vmmigration_v1_DeleteMigratingVmRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_vmmigration_v1_StartMigrationRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_vmmigration_v1_StartMigrationRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_vmmigration_v1_StartMigrationResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_vmmigration_v1_StartMigrationResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_vmmigration_v1_PauseMigrationRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_vmmigration_v1_PauseMigrationRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_vmmigration_v1_PauseMigrationResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_vmmigration_v1_PauseMigrationResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_vmmigration_v1_ResumeMigrationRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_vmmigration_v1_ResumeMigrationRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_vmmigration_v1_ResumeMigrationResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_vmmigration_v1_ResumeMigrationResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_vmmigration_v1_FinalizeMigrationRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_vmmigration_v1_FinalizeMigrationRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_vmmigration_v1_FinalizeMigrationResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_vmmigration_v1_FinalizeMigrationResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_vmmigration_v1_TargetProject_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_vmmigration_v1_TargetProject_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_vmmigration_v1_GetTargetProjectRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_vmmigration_v1_GetTargetProjectRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_vmmigration_v1_ListTargetProjectsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_vmmigration_v1_ListTargetProjectsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_vmmigration_v1_ListTargetProjectsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_vmmigration_v1_ListTargetProjectsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_vmmigration_v1_CreateTargetProjectRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_vmmigration_v1_CreateTargetProjectRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_vmmigration_v1_UpdateTargetProjectRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_vmmigration_v1_UpdateTargetProjectRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_vmmigration_v1_DeleteTargetProjectRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_vmmigration_v1_DeleteTargetProjectRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_vmmigration_v1_Group_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_vmmigration_v1_Group_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_vmmigration_v1_ListGroupsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_vmmigration_v1_ListGroupsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_vmmigration_v1_ListGroupsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_vmmigration_v1_ListGroupsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_vmmigration_v1_GetGroupRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_vmmigration_v1_GetGroupRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_vmmigration_v1_CreateGroupRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_vmmigration_v1_CreateGroupRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_vmmigration_v1_UpdateGroupRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_vmmigration_v1_UpdateGroupRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_vmmigration_v1_DeleteGroupRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_vmmigration_v1_DeleteGroupRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_vmmigration_v1_AddGroupMigrationRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_vmmigration_v1_AddGroupMigrationRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_vmmigration_v1_AddGroupMigrationResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_vmmigration_v1_AddGroupMigrationResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_vmmigration_v1_RemoveGroupMigrationRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_vmmigration_v1_RemoveGroupMigrationRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_vmmigration_v1_RemoveGroupMigrationResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_vmmigration_v1_RemoveGroupMigrationResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_vmmigration_v1_CreateCutoverJobRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_vmmigration_v1_CreateCutoverJobRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_vmmigration_v1_CancelCutoverJobRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_vmmigration_v1_CancelCutoverJobRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_vmmigration_v1_CancelCutoverJobResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_vmmigration_v1_CancelCutoverJobResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_vmmigration_v1_ListCutoverJobsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_vmmigration_v1_ListCutoverJobsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_vmmigration_v1_ListCutoverJobsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_vmmigration_v1_ListCutoverJobsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_vmmigration_v1_GetCutoverJobRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_vmmigration_v1_GetCutoverJobRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_vmmigration_v1_OperationMetadata_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_vmmigration_v1_OperationMetadata_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_vmmigration_v1_MigrationError_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_vmmigration_v1_MigrationError_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n-google/cloud/vmmigration/v1/vmmigratio" + + "n.proto\022\033google.cloud.vmmigration.v1\032\034go" + + "ogle/api/annotations.proto\032\027google/api/c" + + "lient.proto\032\037google/api/field_behavior.p" + + "roto\032\031google/api/resource.proto\032#google/" + + "longrunning/operations.proto\032\036google/pro" + + "tobuf/duration.proto\032 google/protobuf/fi" + + "eld_mask.proto\032\037google/protobuf/timestam" + + "p.proto\032\036google/rpc/error_details.proto\032" + + "\027google/rpc/status.proto\"\\\n\020ReplicationC" + + "ycle\022.\n\nstart_time\030\001 \001(\0132\032.google.protob" + + "uf.Timestamp\022\030\n\020progress_percent\030\005 \001(\005\"E" + + "\n\017ReplicationSync\0222\n\016last_sync_time\030\001 \001(" + + "\0132\032.google.protobuf.Timestamp\"\270\n\n\013Migrat" + + "ingVm\022b\n\036compute_engine_target_defaults\030" + + "\032 \001(\01328.google.cloud.vmmigration.v1.Comp" + + "uteEngineTargetDefaultsH\000\022\021\n\004name\030\001 \001(\tB" + + "\003\340A\003\022\024\n\014source_vm_id\030\002 \001(\t\022\024\n\014display_na" + + "me\030\022 \001(\t\022\023\n\013description\030\003 \001(\t\022;\n\006policy\030" + + "\010 \001(\0132+.google.cloud.vmmigration.v1.Sche" + + "dulePolicy\0224\n\013create_time\030\t \001(\0132\032.google" + + ".protobuf.TimestampB\003\340A\003\0224\n\013update_time\030" + + "\n \001(\0132\032.google.protobuf.TimestampB\003\340A\003\022D" + + "\n\tlast_sync\030\013 \001(\0132,.google.cloud.vmmigra" + + "tion.v1.ReplicationSyncB\003\340A\003\022B\n\005state\030\027 " + + "\001(\0162..google.cloud.vmmigration.v1.Migrat" + + "ingVm.StateB\003\340A\003\0223\n\nstate_time\030\026 \001(\0132\032.g" + + "oogle.protobuf.TimestampB\003\340A\003\022M\n\021current" + + "_sync_info\030\r \001(\0132-.google.cloud.vmmigrat" + + "ion.v1.ReplicationCycleB\003\340A\003\0227\n\005group\030\017 " + + "\001(\tB(\340A\003\372A\"\022 vmmigration.googleapis.com/" + + "Group\022D\n\006labels\030\020 \003(\01324.google.cloud.vmm" + + "igration.v1.MigratingVm.LabelsEntry\022E\n\021r" + + "ecent_clone_jobs\030\021 \003(\0132%.google.cloud.vm" + + "migration.v1.CloneJobB\003\340A\003\022&\n\005error\030\023 \001(" + + "\0132\022.google.rpc.StatusB\003\340A\003\022I\n\023recent_cut" + + "over_jobs\030\024 \003(\0132\'.google.cloud.vmmigrati" + + "on.v1.CutoverJobB\003\340A\003\032-\n\013LabelsEntry\022\013\n\003" + + "key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\267\001\n\005State\022\025" + + "\n\021STATE_UNSPECIFIED\020\000\022\013\n\007PENDING\020\001\022\t\n\005RE" + + "ADY\020\002\022\016\n\nFIRST_SYNC\020\003\022\n\n\006ACTIVE\020\004\022\020\n\014CUT" + + "TING_OVER\020\007\022\013\n\007CUTOVER\020\010\022\016\n\nFINAL_SYNC\020\t" + + "\022\n\n\006PAUSED\020\n\022\016\n\nFINALIZING\020\013\022\r\n\tFINALIZE" + + "D\020\014\022\t\n\005ERROR\020\r:\201\001\352A~\n&vmmigration.google" + + "apis.com/MigratingVm\022Tprojects/{project}" + + "/locations/{location}/sources/{source}/m" + + "igratingVms/{migrating_vm}B\024\n\022target_vm_" + + "defaults\"\275\005\n\010CloneJob\022e\n\035compute_engine_" + + "target_details\030\024 \001(\01327.google.cloud.vmmi" + + "gration.v1.ComputeEngineTargetDetailsB\003\340" + + "A\003H\000\0224\n\013create_time\030\001 \001(\0132\032.google.proto" + + "buf.TimestampB\003\340A\003\0221\n\010end_time\030\026 \001(\0132\032.g" + + "oogle.protobuf.TimestampB\003\340A\003\022\021\n\004name\030\003 " + + "\001(\tB\003\340A\003\022?\n\005state\030\014 \001(\0162+.google.cloud.v" + + "mmigration.v1.CloneJob.StateB\003\340A\003\0223\n\nsta" + + "te_time\030\016 \001(\0132\032.google.protobuf.Timestam" + + "pB\003\340A\003\022&\n\005error\030\021 \001(\0132\022.google.rpc.Statu" + + "sB\003\340A\003\"\202\001\n\005State\022\025\n\021STATE_UNSPECIFIED\020\000\022" + + "\013\n\007PENDING\020\001\022\n\n\006ACTIVE\020\002\022\n\n\006FAILED\020\003\022\r\n\t" + + "SUCCEEDED\020\004\022\r\n\tCANCELLED\020\005\022\016\n\nCANCELLING" + + "\020\006\022\017\n\013ADAPTING_OS\020\007:\225\001\352A\221\001\n#vmmigration." + + "googleapis.com/CloneJob\022jprojects/{proje" + + "ct}/locations/{location}/sources/{source" + + "}/migratingVms/{migrating_vm}/cloneJobs/" + + "{clone_job}B\023\n\021target_vm_details\"\202\006\n\nCut" + + "overJob\022e\n\035compute_engine_target_details" + + "\030\016 \001(\01327.google.cloud.vmmigration.v1.Com" + + "puteEngineTargetDetailsB\003\340A\003H\000\0224\n\013create" + + "_time\030\001 \001(\0132\032.google.protobuf.TimestampB" + + "\003\340A\003\0221\n\010end_time\030\020 \001(\0132\032.google.protobuf" + + ".TimestampB\003\340A\003\022\021\n\004name\030\003 \001(\tB\003\340A\003\022A\n\005st" + + "ate\030\005 \001(\0162-.google.cloud.vmmigration.v1." + + "CutoverJob.StateB\003\340A\003\0223\n\nstate_time\030\006 \001(" + + "\0132\032.google.protobuf.TimestampB\003\340A\003\022\035\n\020pr" + + "ogress_percent\030\r \001(\005B\003\340A\003\022&\n\005error\030\t \001(\013" + + "2\022.google.rpc.StatusB\003\340A\003\022\032\n\rstate_messa" + + "ge\030\n \001(\tB\003\340A\003\"\202\001\n\005State\022\025\n\021STATE_UNSPECI" + + "FIED\020\000\022\013\n\007PENDING\020\001\022\n\n\006FAILED\020\002\022\r\n\tSUCCE" + + "EDED\020\003\022\r\n\tCANCELLED\020\004\022\016\n\nCANCELLING\020\005\022\n\n" + + "\006ACTIVE\020\006\022\017\n\013ADAPTING_OS\020\007:\233\001\352A\227\001\n%vmmig" + + "ration.googleapis.com/CutoverJob\022nprojec" + + "ts/{project}/locations/{location}/source" + + "s/{source}/migratingVms/{migrating_vm}/c" + + "utoverJobs/{cutover_job}B\023\n\021target_vm_de" + + "tails\"\302\001\n\025CreateCloneJobRequest\022;\n\006paren" + + "t\030\001 \001(\tB+\340A\002\372A%\022#vmmigration.googleapis." + + "com/CloneJob\022\031\n\014clone_job_id\030\002 \001(\tB\003\340A\002\022" + + "=\n\tclone_job\030\003 \001(\0132%.google.cloud.vmmigr" + + "ation.v1.CloneJobB\003\340A\002\022\022\n\nrequest_id\030\004 \001" + + "(\t\"R\n\025CancelCloneJobRequest\0229\n\004name\030\001 \001(" + + "\tB+\340A\002\372A%\n#vmmigration.googleapis.com/Cl" + + "oneJob\"\030\n\026CancelCloneJobResponse\"\260\001\n\024Lis" + + "tCloneJobsRequest\022;\n\006parent\030\001 \001(\tB+\340A\002\372A" + + "%\022#vmmigration.googleapis.com/CloneJob\022\026" + + "\n\tpage_size\030\002 \001(\005B\003\340A\001\022\027\n\npage_token\030\003 \001" + + "(\tB\003\340A\002\022\023\n\006filter\030\004 \001(\tB\003\340A\001\022\025\n\010order_by" + + "\030\005 \001(\tB\003\340A\001\"\217\001\n\025ListCloneJobsResponse\022>\n" + + "\nclone_jobs\030\001 \003(\0132%.google.cloud.vmmigra" + + "tion.v1.CloneJobB\003\340A\003\022\034\n\017next_page_token" + + "\030\002 \001(\tB\003\340A\003\022\030\n\013unreachable\030\003 \003(\tB\003\340A\003\"O\n" + + "\022GetCloneJobRequest\0229\n\004name\030\001 \001(\tB+\340A\002\372A" + + "%\n#vmmigration.googleapis.com/CloneJob\"\304" + + "\003\n\006Source\022B\n\006vmware\030\n \001(\01320.google.cloud" + + ".vmmigration.v1.VmwareSourceDetailsH\000\022\021\n" + + "\004name\030\001 \001(\tB\003\340A\003\0224\n\013create_time\030\002 \001(\0132\032." + + "google.protobuf.TimestampB\003\340A\003\0224\n\013update" + + "_time\030\003 \001(\0132\032.google.protobuf.TimestampB" + + "\003\340A\003\022?\n\006labels\030\004 \003(\0132/.google.cloud.vmmi" + + "gration.v1.Source.LabelsEntry\022\023\n\013descrip" + + "tion\030\006 \001(\t\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r" + + "\n\005value\030\002 \001(\t:\0028\001:`\352A]\n!vmmigration.goog" + + "leapis.com/Source\0228projects/{project}/lo" + + "cations/{location}/sources/{source}B\020\n\016s" + + "ource_details\"f\n\023VmwareSourceDetails\022\020\n\010" + + "username\030\001 \001(\t\022\025\n\010password\030\002 \001(\tB\003\340A\004\022\022\n" + + "\nvcenter_ip\030\003 \001(\t\022\022\n\nthumbprint\030\004 \001(\t\"\372\006" + + "\n\023DatacenterConnector\0224\n\013create_time\030\001 \001" + + "(\0132\032.google.protobuf.TimestampB\003\340A\003\0224\n\013u" + + "pdate_time\030\002 \001(\0132\032.google.protobuf.Times" + + "tampB\003\340A\003\022\021\n\004name\030\003 \001(\tB\003\340A\003\022\034\n\017registra" + + "tion_id\030\014 \001(\tB\003\340A\005\022\027\n\017service_account\030\005 " + + "\001(\t\022\017\n\007version\030\006 \001(\t\022\023\n\006bucket\030\n \001(\tB\003\340A" + + "\003\022J\n\005state\030\007 \001(\01626.google.cloud.vmmigrat" + + "ion.v1.DatacenterConnector.StateB\003\340A\003\0223\n" + + "\nstate_time\030\010 \001(\0132\032.google.protobuf.Time" + + "stampB\003\340A\003\022&\n\005error\030\013 \001(\0132\022.google.rpc.S" + + "tatusB\003\340A\003\022-\n appliance_infrastructure_v" + + "ersion\030\r \001(\tB\003\340A\003\022\'\n\032appliance_software_" + + "version\030\016 \001(\tB\003\340A\003\022N\n\022available_versions" + + "\030\017 \001(\0132-.google.cloud.vmmigration.v1.Ava" + + "ilableUpdatesB\003\340A\003\022G\n\016upgrade_status\030\020 \001" + + "(\0132*.google.cloud.vmmigration.v1.Upgrade" + + "StatusB\003\340A\003\"P\n\005State\022\025\n\021STATE_UNSPECIFIE" + + "D\020\000\022\013\n\007PENDING\020\001\022\013\n\007OFFLINE\020\002\022\n\n\006FAILED\020" + + "\003\022\n\n\006ACTIVE\020\004:\232\001\352A\226\001\n.vmmigration.google" + + "apis.com/DatacenterConnector\022dprojects/{" + + "project}/locations/{location}/sources/{s" + + "ource}/datacenterConnectors/{datacenter_" + + "connector}\"\226\002\n\rUpgradeStatus\022\017\n\007version\030" + + "\001 \001(\t\022?\n\005state\030\002 \001(\01620.google.cloud.vmmi" + + "gration.v1.UpgradeStatus.State\022!\n\005error\030" + + "\003 \001(\0132\022.google.rpc.Status\022.\n\nstart_time\030" + + "\004 \001(\0132\032.google.protobuf.Timestamp\022\030\n\020pre" + + "vious_version\030\005 \001(\t\"F\n\005State\022\025\n\021STATE_UN" + + "SPECIFIED\020\000\022\013\n\007RUNNING\020\001\022\n\n\006FAILED\020\002\022\r\n\t" + + "SUCCEEDED\020\003\"\253\001\n\020AvailableUpdates\022O\n\030new_" + + "deployable_appliance\030\001 \001(\0132-.google.clou" + + "d.vmmigration.v1.ApplianceVersion\022F\n\017in_" + + "place_update\030\002 \001(\0132-.google.cloud.vmmigr" + + "ation.v1.ApplianceVersion\"]\n\020ApplianceVe" + + "rsion\022\017\n\007version\030\001 \001(\t\022\013\n\003uri\030\002 \001(\t\022\020\n\010c" + + "ritical\030\003 \001(\010\022\031\n\021release_notes_uri\030\004 \001(\t" + + "\"\254\001\n\022ListSourcesRequest\0229\n\006parent\030\001 \001(\tB" + + ")\340A\002\372A#\022!vmmigration.googleapis.com/Sour" + + "ce\022\026\n\tpage_size\030\002 \001(\005B\003\340A\001\022\027\n\npage_token" + + "\030\003 \001(\tB\003\340A\002\022\023\n\006filter\030\004 \001(\tB\003\340A\001\022\025\n\010orde" + + "r_by\030\005 \001(\tB\003\340A\001\"\210\001\n\023ListSourcesResponse\022" + + "9\n\007sources\030\001 \003(\0132#.google.cloud.vmmigrat" + + "ion.v1.SourceB\003\340A\003\022\034\n\017next_page_token\030\002 " + + "\001(\tB\003\340A\003\022\030\n\013unreachable\030\003 \003(\tB\003\340A\003\"K\n\020Ge" + + "tSourceRequest\0227\n\004name\030\001 \001(\tB)\340A\002\372A#\n!vm" + + "migration.googleapis.com/Source\"\266\001\n\023Crea" + + "teSourceRequest\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\022" + + "!vmmigration.googleapis.com/Source\022\026\n\tso" + + "urce_id\030\002 \001(\tB\003\340A\002\0228\n\006source\030\003 \001(\0132#.goo" + + "gle.cloud.vmmigration.v1.SourceB\003\340A\002\022\022\n\n" + + "request_id\030\004 \001(\t\"\224\001\n\023UpdateSourceRequest" + + "\022/\n\013update_mask\030\001 \001(\0132\032.google.protobuf." + + "FieldMask\0228\n\006source\030\002 \001(\0132#.google.cloud" + + ".vmmigration.v1.SourceB\003\340A\002\022\022\n\nrequest_i" + + "d\030\003 \001(\t\"g\n\023DeleteSourceRequest\0227\n\004name\030\001" + + " \001(\tB)\340A\002\372A#\n!vmmigration.googleapis.com" + + "/Source\022\027\n\nrequest_id\030\002 \001(\tB\003\340A\001\"i\n\025Fetc" + + "hInventoryRequest\0229\n\006source\030\001 \001(\tB)\340A\002\372A" + + "#\n!vmmigration.googleapis.com/Source\022\025\n\r" + + "force_refresh\030\002 \001(\010\"\230\004\n\017VmwareVmDetails\022" + + "\r\n\005vm_id\030\001 \001(\t\022\025\n\rdatacenter_id\030\002 \001(\t\022\036\n" + + "\026datacenter_description\030\003 \001(\t\022\014\n\004uuid\030\004 " + + "\001(\t\022\024\n\014display_name\030\005 \001(\t\022L\n\013power_state" + + "\030\006 \001(\01627.google.cloud.vmmigration.v1.Vmw" + + "areVmDetails.PowerState\022\021\n\tcpu_count\030\007 \001" + + "(\005\022\021\n\tmemory_mb\030\010 \001(\005\022\022\n\ndisk_count\030\t \001(" + + "\005\022\034\n\024committed_storage_mb\030\014 \001(\003\022\031\n\021guest" + + "_description\030\013 \001(\t\022Q\n\013boot_option\030\r \001(\0162" + + "7.google.cloud.vmmigration.v1.VmwareVmDe" + + "tails.BootOptionB\003\340A\003\"I\n\nPowerState\022\033\n\027P" + + "OWER_STATE_UNSPECIFIED\020\000\022\006\n\002ON\020\001\022\007\n\003OFF\020" + + "\002\022\r\n\tSUSPENDED\020\003\"<\n\nBootOption\022\033\n\027BOOT_O" + + "PTION_UNSPECIFIED\020\000\022\007\n\003EFI\020\001\022\010\n\004BIOS\020\002\"Q" + + "\n\020VmwareVmsDetails\022=\n\007details\030\001 \003(\0132,.go" + + "ogle.cloud.vmmigration.v1.VmwareVmDetail" + + "s\"\240\001\n\026FetchInventoryResponse\022C\n\nvmware_v" + + "ms\030\001 \001(\0132-.google.cloud.vmmigration.v1.V" + + "mwareVmsDetailsH\000\0224\n\013update_time\030\002 \001(\0132\032" + + ".google.protobuf.TimestampB\003\340A\003B\013\n\tSourc" + + "eVms\"\234\006\n\021UtilizationReport\022\021\n\004name\030\001 \001(\t" + + "B\003\340A\003\022\024\n\014display_name\030\002 \001(\t\022H\n\005state\030\003 \001" + + "(\01624.google.cloud.vmmigration.v1.Utiliza" + + "tionReport.StateB\003\340A\003\0223\n\nstate_time\030\004 \001(" + + "\0132\032.google.protobuf.TimestampB\003\340A\003\022&\n\005er" + + "ror\030\005 \001(\0132\022.google.rpc.StatusB\003\340A\003\0224\n\013cr" + + "eate_time\030\006 \001(\0132\032.google.protobuf.Timest" + + "ampB\003\340A\003\022L\n\ntime_frame\030\007 \001(\01628.google.cl" + + "oud.vmmigration.v1.UtilizationReport.Tim" + + "eFrame\0227\n\016frame_end_time\030\010 \001(\0132\032.google." + + "protobuf.TimestampB\003\340A\003\022\025\n\010vm_count\030\t \001(" + + "\005B\003\340A\003\022;\n\003vms\030\n \003(\0132..google.cloud.vmmig" + + "ration.v1.VmUtilizationInfo\"G\n\005State\022\025\n\021" + + "STATE_UNSPECIFIED\020\000\022\014\n\010CREATING\020\001\022\r\n\tSUC" + + "CEEDED\020\002\022\n\n\006FAILED\020\003\"F\n\tTimeFrame\022\032\n\026TIM" + + "E_FRAME_UNSPECIFIED\020\000\022\010\n\004WEEK\020\001\022\t\n\005MONTH" + + "\020\002\022\010\n\004YEAR\020\003:\224\001\352A\220\001\n,vmmigration.googlea" + + "pis.com/UtilizationReport\022`projects/{pro" + + "ject}/locations/{location}/sources/{sour" + + "ce}/utilizationReports/{utilization_repo" + + "rt}\"\302\001\n\021VmUtilizationInfo\022I\n\021vmware_vm_d" + + "etails\030\001 \001(\0132,.google.cloud.vmmigration." + + "v1.VmwareVmDetailsH\000\022\r\n\005vm_id\030\003 \001(\t\022F\n\013u" + + "tilization\030\002 \001(\01321.google.cloud.vmmigrat" + + "ion.v1.VmUtilizationMetricsB\013\n\tVmDetails" + + "\"\230\002\n\024VmUtilizationMetrics\022\027\n\017cpu_max_per" + + "cent\030\t \001(\005\022\033\n\023cpu_average_percent\030\n \001(\005\022" + + "\032\n\022memory_max_percent\030\013 \001(\005\022\036\n\026memory_av" + + "erage_percent\030\014 \001(\005\022\035\n\025disk_io_rate_max_" + + "kbps\030\r \001(\003\022!\n\031disk_io_rate_average_kbps\030" + + "\016 \001(\003\022#\n\033network_throughput_max_kbps\030\017 \001" + + "(\003\022\'\n\037network_throughput_average_kbps\030\020 " + + "\001(\003\"\211\002\n\035ListUtilizationReportsRequest\022D\n" + + "\006parent\030\001 \001(\tB4\340A\002\372A.\022,vmmigration.googl" + + "eapis.com/UtilizationReport\022E\n\004view\030\002 \001(" + + "\01622.google.cloud.vmmigration.v1.Utilizat" + + "ionReportViewB\003\340A\001\022\026\n\tpage_size\030\003 \001(\005B\003\340" + + "A\001\022\027\n\npage_token\030\004 \001(\tB\003\340A\002\022\023\n\006filter\030\005 " + + "\001(\tB\003\340A\001\022\025\n\010order_by\030\006 \001(\tB\003\340A\001\"\252\001\n\036List" + + "UtilizationReportsResponse\022P\n\023utilizatio" + + "n_reports\030\001 \003(\0132..google.cloud.vmmigrati" + + "on.v1.UtilizationReportB\003\340A\003\022\034\n\017next_pag" + + "e_token\030\002 \001(\tB\003\340A\003\022\030\n\013unreachable\030\003 \003(\tB" + + "\003\340A\003\"\250\001\n\033GetUtilizationReportRequest\022B\n\004" + + "name\030\001 \001(\tB4\340A\002\372A.\n,vmmigration.googleap" + + "is.com/UtilizationReport\022E\n\004view\030\002 \001(\01622" + + ".google.cloud.vmmigration.v1.Utilization" + + "ReportViewB\003\340A\001\"\357\001\n\036CreateUtilizationRep" + + "ortRequest\022D\n\006parent\030\001 \001(\tB4\340A\002\372A.\022,vmmi" + + "gration.googleapis.com/UtilizationReport" + + "\022O\n\022utilization_report\030\002 \001(\0132..google.cl" + + "oud.vmmigration.v1.UtilizationReportB\003\340A" + + "\002\022\"\n\025utilization_report_id\030\003 \001(\tB\003\340A\002\022\022\n" + + "\nrequest_id\030\004 \001(\t\"}\n\036DeleteUtilizationRe" + + "portRequest\022B\n\004name\030\001 \001(\tB4\340A\002\372A.\n,vmmig" + + "ration.googleapis.com/UtilizationReport\022" + + "\027\n\nrequest_id\030\002 \001(\tB\003\340A\001\"\260\001\n ListDatacen" + + "terConnectorsResponse\022T\n\025datacenter_conn" + + "ectors\030\001 \003(\01320.google.cloud.vmmigration." + + "v1.DatacenterConnectorB\003\340A\003\022\034\n\017next_page" + + "_token\030\002 \001(\tB\003\340A\003\022\030\n\013unreachable\030\003 \003(\tB\003" + + "\340A\003\"e\n\035GetDatacenterConnectorRequest\022D\n\004" + + "name\030\001 \001(\tB6\340A\002\372A0\n.vmmigration.googleap" + + "is.com/DatacenterConnector\"\371\001\n CreateDat" + + "acenterConnectorRequest\022F\n\006parent\030\001 \001(\tB" + + "6\340A\002\372A0\022.vmmigration.googleapis.com/Data" + + "centerConnector\022$\n\027datacenter_connector_" + + "id\030\002 \001(\tB\003\340A\002\022S\n\024datacenter_connector\030\003 " + + "\001(\01320.google.cloud.vmmigration.v1.Datace" + + "nterConnectorB\003\340A\002\022\022\n\nrequest_id\030\004 \001(\t\"|" + + "\n DeleteDatacenterConnectorRequest\022D\n\004na" + + "me\030\001 \001(\tB6\340A\002\372A0\n.vmmigration.googleapis" + + ".com/DatacenterConnector\022\022\n\nrequest_id\030\002" + + " \001(\t\"\203\001\n\027UpgradeApplianceRequest\022T\n\024data" + + "center_connector\030\001 \001(\tB6\340A\002\372A0\n.vmmigrat" + + "ion.googleapis.com/DatacenterConnector\022\022" + + "\n\nrequest_id\030\002 \001(\t\"\032\n\030UpgradeApplianceRe" + + "sponse\"\306\001\n\037ListDatacenterConnectorsReque" + + "st\022F\n\006parent\030\001 \001(\tB6\340A\002\372A0\022.vmmigration." + + "googleapis.com/DatacenterConnector\022\026\n\tpa" + + "ge_size\030\002 \001(\005B\003\340A\001\022\027\n\npage_token\030\003 \001(\tB\003" + + "\340A\002\022\023\n\006filter\030\004 \001(\tB\003\340A\001\022\025\n\010order_by\030\005 \001" + + "(\tB\003\340A\001\"\377\007\n\033ComputeEngineTargetDefaults\022" + + "\017\n\007vm_name\030\001 \001(\t\022E\n\016target_project\030\002 \001(\t" + + "B-\372A*\n(vmmigration.googleapis.com/Target" + + "Project\022\014\n\004zone\030\003 \001(\t\022\033\n\023machine_type_se" + + "ries\030\004 \001(\t\022\024\n\014machine_type\030\005 \001(\t\022\024\n\014netw" + + "ork_tags\030\006 \003(\t\022I\n\022network_interfaces\030\007 \003" + + "(\0132-.google.cloud.vmmigration.v1.Network" + + "Interface\022\027\n\017service_account\030\010 \001(\t\022E\n\tdi" + + "sk_type\030\t \001(\01622.google.cloud.vmmigration" + + ".v1.ComputeEngineDiskType\022T\n\006labels\030\n \003(" + + "\0132D.google.cloud.vmmigration.v1.ComputeE" + + "ngineTargetDefaults.LabelsEntry\022K\n\014licen" + + "se_type\030\013 \001(\01625.google.cloud.vmmigration" + + ".v1.ComputeEngineLicenseType\022I\n\017applied_" + + "license\030\014 \001(\0132+.google.cloud.vmmigration" + + ".v1.AppliedLicenseB\003\340A\003\022J\n\022compute_sched" + + "uling\030\r \001(\0132..google.cloud.vmmigration.v" + + "1.ComputeScheduling\022\023\n\013secure_boot\030\016 \001(\010" + + "\022N\n\013boot_option\030\017 \001(\01624.google.cloud.vmm" + + "igration.v1.ComputeEngineBootOptionB\003\340A\003" + + "\022X\n\010metadata\030\020 \003(\0132F.google.cloud.vmmigr" + + "ation.v1.ComputeEngineTargetDefaults.Met" + + "adataEntry\022\033\n\023additional_licenses\030\021 \003(\t\022" + + "\020\n\010hostname\030\022 \001(\t\032-\n\013LabelsEntry\022\013\n\003key\030" + + "\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\032/\n\rMetadataEntr" + + "y\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\274\007\n\032Co" + + "mputeEngineTargetDetails\022\017\n\007vm_name\030\001 \001(" + + "\t\022\017\n\007project\030\002 \001(\t\022\014\n\004zone\030\003 \001(\t\022\033\n\023mach" + + "ine_type_series\030\004 \001(\t\022\024\n\014machine_type\030\005 " + + "\001(\t\022\024\n\014network_tags\030\006 \003(\t\022I\n\022network_int" + + "erfaces\030\007 \003(\0132-.google.cloud.vmmigration" + + ".v1.NetworkInterface\022\027\n\017service_account\030" + + "\010 \001(\t\022E\n\tdisk_type\030\t \001(\01622.google.cloud." + + "vmmigration.v1.ComputeEngineDiskType\022S\n\006" + + "labels\030\n \003(\0132C.google.cloud.vmmigration." + + "v1.ComputeEngineTargetDetails.LabelsEntr" + + "y\022K\n\014license_type\030\013 \001(\01625.google.cloud.v" + + "mmigration.v1.ComputeEngineLicenseType\022D" + + "\n\017applied_license\030\014 \001(\0132+.google.cloud.v" + + "mmigration.v1.AppliedLicense\022J\n\022compute_" + + "scheduling\030\r \001(\0132..google.cloud.vmmigrat" + + "ion.v1.ComputeScheduling\022\023\n\013secure_boot\030" + + "\016 \001(\010\022I\n\013boot_option\030\017 \001(\01624.google.clou" + + "d.vmmigration.v1.ComputeEngineBootOption" + + "\022W\n\010metadata\030\020 \003(\0132E.google.cloud.vmmigr" + + "ation.v1.ComputeEngineTargetDetails.Meta" + + "dataEntry\022\033\n\023additional_licenses\030\021 \003(\t\022\020" + + "\n\010hostname\030\022 \001(\t\032-\n\013LabelsEntry\022\013\n\003key\030\001" + + " \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\032/\n\rMetadataEntry" + + "\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"a\n\020Netw" + + "orkInterface\022\017\n\007network\030\001 \001(\t\022\022\n\nsubnetw" + + "ork\030\002 \001(\t\022\023\n\013internal_ip\030\003 \001(\t\022\023\n\013extern" + + "al_ip\030\004 \001(\t\"\240\001\n\016AppliedLicense\022>\n\004type\030\001" + + " \001(\01620.google.cloud.vmmigration.v1.Appli" + + "edLicense.Type\022\022\n\nos_license\030\002 \001(\t\":\n\004Ty" + + "pe\022\024\n\020TYPE_UNSPECIFIED\020\000\022\010\n\004NONE\020\001\022\010\n\004PA" + + "YG\020\002\022\010\n\004BYOL\020\003\"\277\001\n\026SchedulingNodeAffinit" + + "y\022\013\n\003key\030\001 \001(\t\022N\n\010operator\030\002 \001(\0162<.googl" + + "e.cloud.vmmigration.v1.SchedulingNodeAff" + + "inity.Operator\022\016\n\006values\030\003 \003(\t\"8\n\010Operat" + + "or\022\030\n\024OPERATOR_UNSPECIFIED\020\000\022\006\n\002IN\020\001\022\n\n\006" + + "NOT_IN\020\002\"\335\003\n\021ComputeScheduling\022]\n\023on_hos" + + "t_maintenance\030\001 \001(\0162@.google.cloud.vmmig" + + "ration.v1.ComputeScheduling.OnHostMainte" + + "nance\022P\n\014restart_type\030\005 \001(\0162:.google.clo" + + "ud.vmmigration.v1.ComputeScheduling.Rest" + + "artType\022L\n\017node_affinities\030\003 \003(\01323.googl" + + "e.cloud.vmmigration.v1.SchedulingNodeAff" + + "inity\022\025\n\rmin_node_cpus\030\004 \001(\005\"T\n\021OnHostMa" + + "intenance\022#\n\037ON_HOST_MAINTENANCE_UNSPECI" + + "FIED\020\000\022\r\n\tTERMINATE\020\001\022\013\n\007MIGRATE\020\002\"\\\n\013Re" + + "startType\022\034\n\030RESTART_TYPE_UNSPECIFIED\020\000\022" + + "\025\n\021AUTOMATIC_RESTART\020\001\022\030\n\024NO_AUTOMATIC_R" + + "ESTART\020\002\"^\n\016SchedulePolicy\0220\n\ridle_durat" + + "ion\030\001 \001(\0132\031.google.protobuf.Duration\022\032\n\022" + + "skip_os_adaptation\030\002 \001(\010\"\321\001\n\030CreateMigra" + + "tingVmRequest\022>\n\006parent\030\001 \001(\tB.\340A\002\372A(\022&v" + + "mmigration.googleapis.com/MigratingVm\022\034\n" + + "\017migrating_vm_id\030\002 \001(\tB\003\340A\002\022C\n\014migrating" + + "_vm\030\003 \001(\0132(.google.cloud.vmmigration.v1." + + "MigratingVmB\003\340A\002\022\022\n\nrequest_id\030\004 \001(\t\"\367\001\n" + + "\027ListMigratingVmsRequest\022>\n\006parent\030\001 \001(\t" + + "B.\340A\002\372A(\022&vmmigration.googleapis.com/Mig" + + "ratingVm\022\026\n\tpage_size\030\002 \001(\005B\003\340A\001\022\027\n\npage" + + "_token\030\003 \001(\tB\003\340A\002\022\023\n\006filter\030\004 \001(\tB\003\340A\001\022\025" + + "\n\010order_by\030\005 \001(\tB\003\340A\001\022?\n\004view\030\006 \001(\0162,.go" + + "ogle.cloud.vmmigration.v1.MigratingVmVie" + + "wB\003\340A\001\"\230\001\n\030ListMigratingVmsResponse\022D\n\rm" + + "igrating_vms\030\001 \003(\0132(.google.cloud.vmmigr" + + "ation.v1.MigratingVmB\003\340A\003\022\034\n\017next_page_t" + + "oken\030\002 \001(\tB\003\340A\003\022\030\n\013unreachable\030\003 \003(\tB\003\340A" + + "\003\"\226\001\n\025GetMigratingVmRequest\022<\n\004name\030\001 \001(" + + "\tB.\340A\002\372A(\n&vmmigration.googleapis.com/Mi" + + "gratingVm\022?\n\004view\030\002 \001(\0162,.google.cloud.v" + + "mmigration.v1.MigratingVmViewB\003\340A\001\"\244\001\n\030U" + + "pdateMigratingVmRequest\022/\n\013update_mask\030\001" + + " \001(\0132\032.google.protobuf.FieldMask\022C\n\014migr" + + "ating_vm\030\002 \001(\0132(.google.cloud.vmmigratio" + + "n.v1.MigratingVmB\003\340A\002\022\022\n\nrequest_id\030\003 \001(" + + "\t\"X\n\030DeleteMigratingVmRequest\022<\n\004name\030\001 " + + "\001(\tB.\340A\002\372A(\n&vmmigration.googleapis.com/" + + "MigratingVm\"]\n\025StartMigrationRequest\022D\n\014" + + "migrating_vm\030\001 \001(\tB.\340A\002\372A(\n&vmmigration." + + "googleapis.com/MigratingVm\"\030\n\026StartMigra" + + "tionResponse\"]\n\025PauseMigrationRequest\022D\n" + + "\014migrating_vm\030\001 \001(\tB.\340A\002\372A(\n&vmmigration" + + ".googleapis.com/MigratingVm\"\030\n\026PauseMigr" + + "ationResponse\"^\n\026ResumeMigrationRequest\022" + + "D\n\014migrating_vm\030\001 \001(\tB.\340A\002\372A(\n&vmmigrati" + + "on.googleapis.com/MigratingVm\"\031\n\027ResumeM" + + "igrationResponse\"`\n\030FinalizeMigrationReq" + + "uest\022D\n\014migrating_vm\030\001 \001(\tB.\340A\002\372A(\n&vmmi" + + "gration.googleapis.com/MigratingVm\"\033\n\031Fi" + + "nalizeMigrationResponse\"\254\002\n\rTargetProjec" + + "t\022\021\n\004name\030\001 \001(\tB\003\340A\003\022\017\n\007project\030\002 \001(\t\022\023\n" + + "\013description\030\003 \001(\t\0224\n\013create_time\030\004 \001(\0132" + + "\032.google.protobuf.TimestampB\003\340A\003\0224\n\013upda" + + "te_time\030\005 \001(\0132\032.google.protobuf.Timestam" + + "pB\003\340A\003:v\352As\n(vmmigration.googleapis.com/" + + "TargetProject\022Gprojects/{project}/locati" + + "ons/{location}/targetProjects/{target_pr" + + "oject}\"Y\n\027GetTargetProjectRequest\022>\n\004nam" + + "e\030\001 \001(\tB0\340A\002\372A*\n(vmmigration.googleapis.", + "com/TargetProject\"\272\001\n\031ListTargetProjects" + + "Request\022@\n\006parent\030\001 \001(\tB0\340A\002\372A*\022(vmmigra" + + "tion.googleapis.com/TargetProject\022\026\n\tpag" + + "e_size\030\002 \001(\005B\003\340A\001\022\027\n\npage_token\030\003 \001(\tB\003\340" + + "A\002\022\023\n\006filter\030\004 \001(\tB\003\340A\001\022\025\n\010order_by\030\005 \001(" + + "\tB\003\340A\001\"\236\001\n\032ListTargetProjectsResponse\022H\n" + + "\017target_projects\030\001 \003(\0132*.google.cloud.vm" + + "migration.v1.TargetProjectB\003\340A\003\022\034\n\017next_" + + "page_token\030\002 \001(\tB\003\340A\003\022\030\n\013unreachable\030\003 \003" + + "(\tB\003\340A\003\"\333\001\n\032CreateTargetProjectRequest\022@" + + "\n\006parent\030\001 \001(\tB0\340A\002\372A*\022(vmmigration.goog" + + "leapis.com/TargetProject\022\036\n\021target_proje" + + "ct_id\030\002 \001(\tB\003\340A\002\022G\n\016target_project\030\003 \001(\013" + + "2*.google.cloud.vmmigration.v1.TargetPro" + + "jectB\003\340A\002\022\022\n\nrequest_id\030\004 \001(\t\"\252\001\n\032Update" + + "TargetProjectRequest\022/\n\013update_mask\030\001 \001(" + + "\0132\032.google.protobuf.FieldMask\022G\n\016target_" + + "project\030\002 \001(\0132*.google.cloud.vmmigration" + + ".v1.TargetProjectB\003\340A\002\022\022\n\nrequest_id\030\003 \001" + + "(\t\"u\n\032DeleteTargetProjectRequest\022>\n\004name" + + "\030\001 \001(\tB0\340A\002\372A*\n(vmmigration.googleapis.c" + + "om/TargetProject\022\027\n\nrequest_id\030\002 \001(\tB\003\340A" + + "\001\"\220\002\n\005Group\022\021\n\004name\030\001 \001(\tB\003\340A\003\0224\n\013create" + + "_time\030\002 \001(\0132\032.google.protobuf.TimestampB" + + "\003\340A\003\0224\n\013update_time\030\003 \001(\0132\032.google.proto" + + "buf.TimestampB\003\340A\003\022\023\n\013description\030\004 \001(\t\022" + + "\024\n\014display_name\030\005 \001(\t:]\352AZ\n vmmigration." + + "googleapis.com/Group\0226projects/{project}" + + "/locations/{location}/groups/{group}\"\252\001\n" + + "\021ListGroupsRequest\0228\n\006parent\030\001 \001(\tB(\340A\002\372" + + "A\"\022 vmmigration.googleapis.com/Group\022\026\n\t" + + "page_size\030\002 \001(\005B\003\340A\001\022\027\n\npage_token\030\003 \001(\t" + + "B\003\340A\002\022\023\n\006filter\030\004 \001(\tB\003\340A\001\022\025\n\010order_by\030\005" + + " \001(\tB\003\340A\001\"\205\001\n\022ListGroupsResponse\0227\n\006grou" + + "ps\030\001 \003(\0132\".google.cloud.vmmigration.v1.G" + + "roupB\003\340A\003\022\034\n\017next_page_token\030\002 \001(\tB\003\340A\003\022" + + "\030\n\013unreachable\030\003 \003(\tB\003\340A\003\"I\n\017GetGroupReq" + + "uest\0226\n\004name\030\001 \001(\tB(\340A\002\372A\"\n vmmigration." + + "googleapis.com/Group\"\261\001\n\022CreateGroupRequ" + + "est\0228\n\006parent\030\001 \001(\tB(\340A\002\372A\"\022 vmmigration" + + ".googleapis.com/Group\022\025\n\010group_id\030\002 \001(\tB" + + "\003\340A\002\0226\n\005group\030\003 \001(\0132\".google.cloud.vmmig" + + "ration.v1.GroupB\003\340A\002\022\022\n\nrequest_id\030\004 \001(\t" + + "\"\221\001\n\022UpdateGroupRequest\022/\n\013update_mask\030\001" + + " \001(\0132\032.google.protobuf.FieldMask\0226\n\005grou" + + "p\030\002 \001(\0132\".google.cloud.vmmigration.v1.Gr" + + "oupB\003\340A\002\022\022\n\nrequest_id\030\003 \001(\t\"e\n\022DeleteGr" + + "oupRequest\0226\n\004name\030\001 \001(\tB(\340A\002\372A\"\n vmmigr" + + "ation.googleapis.com/Group\022\027\n\nrequest_id" + + "\030\002 \001(\tB\003\340A\001\"\226\001\n\030AddGroupMigrationRequest" + + "\0227\n\005group\030\001 \001(\tB(\340A\002\372A\"\n vmmigration.goo" + + "gleapis.com/Group\022A\n\014migrating_vm\030\002 \001(\tB" + + "+\372A(\n&vmmigration.googleapis.com/Migrati" + + "ngVm\"\033\n\031AddGroupMigrationResponse\"\231\001\n\033Re" + + "moveGroupMigrationRequest\0227\n\005group\030\001 \001(\t" + + "B(\340A\002\372A\"\n vmmigration.googleapis.com/Gro" + + "up\022A\n\014migrating_vm\030\002 \001(\tB+\372A(\n&vmmigrati" + + "on.googleapis.com/MigratingVm\"\036\n\034RemoveG" + + "roupMigrationResponse\"\314\001\n\027CreateCutoverJ" + + "obRequest\022=\n\006parent\030\001 \001(\tB-\340A\002\372A\'\022%vmmig" + + "ration.googleapis.com/CutoverJob\022\033\n\016cuto" + + "ver_job_id\030\002 \001(\tB\003\340A\002\022A\n\013cutover_job\030\003 \001" + + "(\0132\'.google.cloud.vmmigration.v1.Cutover" + + "JobB\003\340A\002\022\022\n\nrequest_id\030\004 \001(\t\"V\n\027CancelCu" + + "toverJobRequest\022;\n\004name\030\001 \001(\tB-\340A\002\372A\'\n%v" + + "mmigration.googleapis.com/CutoverJob\"\032\n\030" + + "CancelCutoverJobResponse\"\264\001\n\026ListCutover" + + "JobsRequest\022=\n\006parent\030\001 \001(\tB-\340A\002\372A\'\022%vmm" + + "igration.googleapis.com/CutoverJob\022\026\n\tpa" + + "ge_size\030\002 \001(\005B\003\340A\001\022\027\n\npage_token\030\003 \001(\tB\003" + + "\340A\002\022\023\n\006filter\030\004 \001(\tB\003\340A\001\022\025\n\010order_by\030\005 \001" + + "(\tB\003\340A\001\"\225\001\n\027ListCutoverJobsResponse\022B\n\014c" + + "utover_jobs\030\001 \003(\0132\'.google.cloud.vmmigra" + + "tion.v1.CutoverJobB\003\340A\003\022\034\n\017next_page_tok" + + "en\030\002 \001(\tB\003\340A\003\022\030\n\013unreachable\030\003 \003(\tB\003\340A\003\"" + + "S\n\024GetCutoverJobRequest\022;\n\004name\030\001 \001(\tB-\340" + + "A\002\372A\'\n%vmmigration.googleapis.com/Cutove" + + "rJob\"\200\002\n\021OperationMetadata\0224\n\013create_tim" + + "e\030\001 \001(\0132\032.google.protobuf.TimestampB\003\340A\003" + + "\0221\n\010end_time\030\002 \001(\0132\032.google.protobuf.Tim" + + "estampB\003\340A\003\022\023\n\006target\030\003 \001(\tB\003\340A\003\022\021\n\004verb" + + "\030\004 \001(\tB\003\340A\003\022\033\n\016status_message\030\005 \001(\tB\003\340A\003" + + "\022#\n\026requested_cancellation\030\006 \001(\010B\003\340A\003\022\030\n" + + "\013api_version\030\007 \001(\tB\003\340A\003\"\277\004\n\016MigrationErr" + + "or\022H\n\004code\030\001 \001(\01625.google.cloud.vmmigrat" + + "ion.v1.MigrationError.ErrorCodeB\003\340A\003\0228\n\r" + + "error_message\030\002 \001(\0132\034.google.rpc.Localiz" + + "edMessageB\003\340A\003\0226\n\013action_item\030\003 \001(\0132\034.go" + + "ogle.rpc.LocalizedMessageB\003\340A\003\022.\n\nhelp_l" + + "inks\030\004 \003(\0132\025.google.rpc.Help.LinkB\003\340A\003\0223" + + "\n\nerror_time\030\005 \001(\0132\032.google.protobuf.Tim" + + "estampB\003\340A\003\"\213\002\n\tErrorCode\022\032\n\026ERROR_CODE_" + + "UNSPECIFIED\020\000\022\021\n\rUNKNOWN_ERROR\020\001\022\033\n\027SOUR" + + "CE_VALIDATION_ERROR\020\002\022\034\n\030SOURCE_REPLICAT" + + "ION_ERROR\020\003\022\034\n\030TARGET_REPLICATION_ERROR\020" + + "\004\022\027\n\023OS_ADAPTATION_ERROR\020\005\022\017\n\013CLONE_ERRO" + + "R\020\006\022\021\n\rCUTOVER_ERROR\020\007\022\034\n\030UTILIZATION_RE" + + "PORT_ERROR\020\010\022\033\n\027APPLIANCE_UPGRADE_ERROR\020" + + "\t*U\n\025UtilizationReportView\022\'\n#UTILIZATIO" + + "N_REPORT_VIEW_UNSPECIFIED\020\000\022\t\n\005BASIC\020\001\022\010" + + "\n\004FULL\020\002*m\n\017MigratingVmView\022!\n\035MIGRATING" + + "_VM_VIEW_UNSPECIFIED\020\000\022\033\n\027MIGRATING_VM_V" + + "IEW_BASIC\020\001\022\032\n\026MIGRATING_VM_VIEW_FULL\020\002*" + + "\261\001\n\025ComputeEngineDiskType\022(\n$COMPUTE_ENG" + + "INE_DISK_TYPE_UNSPECIFIED\020\000\022%\n!COMPUTE_E" + + "NGINE_DISK_TYPE_STANDARD\020\001\022 \n\034COMPUTE_EN" + + "GINE_DISK_TYPE_SSD\020\002\022%\n!COMPUTE_ENGINE_D" + + "ISK_TYPE_BALANCED\020\003*\217\001\n\030ComputeEngineLic" + + "enseType\022\'\n#COMPUTE_ENGINE_LICENSE_TYPE_" + + "DEFAULT\020\000\022$\n COMPUTE_ENGINE_LICENSE_TYPE" + + "_PAYG\020\001\022$\n COMPUTE_ENGINE_LICENSE_TYPE_B" + + "YOL\020\002*\216\001\n\027ComputeEngineBootOption\022*\n&COM" + + "PUTE_ENGINE_BOOT_OPTION_UNSPECIFIED\020\000\022\"\n" + + "\036COMPUTE_ENGINE_BOOT_OPTION_EFI\020\001\022#\n\037COM" + + "PUTE_ENGINE_BOOT_OPTION_BIOS\020\0022\270O\n\013VmMig" + + "ration\022\256\001\n\013ListSources\022/.google.cloud.vm" + + "migration.v1.ListSourcesRequest\0320.google" + + ".cloud.vmmigration.v1.ListSourcesRespons" + + "e\"<\202\323\344\223\002-\022+/v1/{parent=projects/*/locati" + + "ons/*}/sources\332A\006parent\022\233\001\n\tGetSource\022-." + + "google.cloud.vmmigration.v1.GetSourceReq" + + "uest\032#.google.cloud.vmmigration.v1.Sourc" + + "e\":\202\323\344\223\002-\022+/v1/{name=projects/*/location" + + "s/*/sources/*}\332A\004name\022\324\001\n\014CreateSource\0220" + + ".google.cloud.vmmigration.v1.CreateSourc" + + "eRequest\032\035.google.longrunning.Operation\"" + + "s\202\323\344\223\0025\"+/v1/{parent=projects/*/location" + + "s/*}/sources:\006source\332A\027parent,source,sou" + + "rce_id\312A\033\n\006Source\022\021OperationMetadata\022\326\001\n" + + "\014UpdateSource\0220.google.cloud.vmmigration" + + ".v1.UpdateSourceRequest\032\035.google.longrun" + + "ning.Operation\"u\202\323\344\223\002<22/v1/{source.name" + + "=projects/*/locations/*/sources/*}:\006sour" + + "ce\332A\022source,update_mask\312A\033\n\006Source\022\021Oper" + + "ationMetadata\022\310\001\n\014DeleteSource\0220.google." + + "cloud.vmmigration.v1.DeleteSourceRequest" + + "\032\035.google.longrunning.Operation\"g\202\323\344\223\002-*" + + "+/v1/{name=projects/*/locations/*/source" + + "s/*}\332A\004name\312A*\n\025google.protobuf.Empty\022\021O" + + "perationMetadata\022\310\001\n\016FetchInventory\0222.go" + + "ogle.cloud.vmmigration.v1.FetchInventory" + + "Request\0323.google.cloud.vmmigration.v1.Fe" + + "tchInventoryResponse\"M\202\323\344\223\002>\022 * Utilization information of a single VM. *
* * Protobuf type {@code google.cloud.vmmigration.v1.VmUtilizationInfo} */ -public final class VmUtilizationInfo extends - com.google.protobuf.GeneratedMessageV3 implements +public final class VmUtilizationInfo extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.vmmigration.v1.VmUtilizationInfo) VmUtilizationInfoOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use VmUtilizationInfo.newBuilder() to construct. private VmUtilizationInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private VmUtilizationInfo() { vmId_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new VmUtilizationInfo(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private VmUtilizationInfo( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,46 +70,54 @@ private VmUtilizationInfo( case 0: done = true; break; - case 10: { - com.google.cloud.vmmigration.v1.VmwareVmDetails.Builder subBuilder = null; - if (vmDetailsCase_ == 1) { - subBuilder = ((com.google.cloud.vmmigration.v1.VmwareVmDetails) vmDetails_).toBuilder(); - } - vmDetails_ = - input.readMessage(com.google.cloud.vmmigration.v1.VmwareVmDetails.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.vmmigration.v1.VmwareVmDetails) vmDetails_); - vmDetails_ = subBuilder.buildPartial(); - } - vmDetailsCase_ = 1; - break; - } - case 18: { - com.google.cloud.vmmigration.v1.VmUtilizationMetrics.Builder subBuilder = null; - if (utilization_ != null) { - subBuilder = utilization_.toBuilder(); - } - utilization_ = input.readMessage(com.google.cloud.vmmigration.v1.VmUtilizationMetrics.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(utilization_); - utilization_ = subBuilder.buildPartial(); + case 10: + { + com.google.cloud.vmmigration.v1.VmwareVmDetails.Builder subBuilder = null; + if (vmDetailsCase_ == 1) { + subBuilder = + ((com.google.cloud.vmmigration.v1.VmwareVmDetails) vmDetails_).toBuilder(); + } + vmDetails_ = + input.readMessage( + com.google.cloud.vmmigration.v1.VmwareVmDetails.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.vmmigration.v1.VmwareVmDetails) vmDetails_); + vmDetails_ = subBuilder.buildPartial(); + } + vmDetailsCase_ = 1; + break; } + case 18: + { + com.google.cloud.vmmigration.v1.VmUtilizationMetrics.Builder subBuilder = null; + if (utilization_ != null) { + subBuilder = utilization_.toBuilder(); + } + utilization_ = + input.readMessage( + com.google.cloud.vmmigration.v1.VmUtilizationMetrics.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(utilization_); + utilization_ = subBuilder.buildPartial(); + } - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - vmId_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + vmId_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -100,34 +125,39 @@ private VmUtilizationInfo( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_VmUtilizationInfo_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_VmUtilizationInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_VmUtilizationInfo_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_VmUtilizationInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.VmUtilizationInfo.class, com.google.cloud.vmmigration.v1.VmUtilizationInfo.Builder.class); + com.google.cloud.vmmigration.v1.VmUtilizationInfo.class, + com.google.cloud.vmmigration.v1.VmUtilizationInfo.Builder.class); } private int vmDetailsCase_ = 0; private java.lang.Object vmDetails_; + public enum VmDetailsCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { VMWARE_VM_DETAILS(1), VMDETAILS_NOT_SET(0); private final int value; + private VmDetailsCase(int value) { this.value = value; } @@ -143,29 +173,34 @@ public static VmDetailsCase valueOf(int value) { public static VmDetailsCase forNumber(int value) { switch (value) { - case 1: return VMWARE_VM_DETAILS; - case 0: return VMDETAILS_NOT_SET; - default: return null; + case 1: + return VMWARE_VM_DETAILS; + case 0: + return VMDETAILS_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public VmDetailsCase - getVmDetailsCase() { - return VmDetailsCase.forNumber( - vmDetailsCase_); + public VmDetailsCase getVmDetailsCase() { + return VmDetailsCase.forNumber(vmDetailsCase_); } public static final int VMWARE_VM_DETAILS_FIELD_NUMBER = 1; /** + * + * *
    * The description of the VM in a Source of type Vmware.
    * 
* * .google.cloud.vmmigration.v1.VmwareVmDetails vmware_vm_details = 1; + * * @return Whether the vmwareVmDetails field is set. */ @java.lang.Override @@ -173,21 +208,26 @@ public boolean hasVmwareVmDetails() { return vmDetailsCase_ == 1; } /** + * + * *
    * The description of the VM in a Source of type Vmware.
    * 
* * .google.cloud.vmmigration.v1.VmwareVmDetails vmware_vm_details = 1; + * * @return The vmwareVmDetails. */ @java.lang.Override public com.google.cloud.vmmigration.v1.VmwareVmDetails getVmwareVmDetails() { if (vmDetailsCase_ == 1) { - return (com.google.cloud.vmmigration.v1.VmwareVmDetails) vmDetails_; + return (com.google.cloud.vmmigration.v1.VmwareVmDetails) vmDetails_; } return com.google.cloud.vmmigration.v1.VmwareVmDetails.getDefaultInstance(); } /** + * + * *
    * The description of the VM in a Source of type Vmware.
    * 
@@ -197,7 +237,7 @@ public com.google.cloud.vmmigration.v1.VmwareVmDetails getVmwareVmDetails() { @java.lang.Override public com.google.cloud.vmmigration.v1.VmwareVmDetailsOrBuilder getVmwareVmDetailsOrBuilder() { if (vmDetailsCase_ == 1) { - return (com.google.cloud.vmmigration.v1.VmwareVmDetails) vmDetails_; + return (com.google.cloud.vmmigration.v1.VmwareVmDetails) vmDetails_; } return com.google.cloud.vmmigration.v1.VmwareVmDetails.getDefaultInstance(); } @@ -205,11 +245,14 @@ public com.google.cloud.vmmigration.v1.VmwareVmDetailsOrBuilder getVmwareVmDetai public static final int VM_ID_FIELD_NUMBER = 3; private volatile java.lang.Object vmId_; /** + * + * *
    * The VM's ID in the source.
    * 
* * string vm_id = 3; + * * @return The vmId. */ @java.lang.Override @@ -218,29 +261,29 @@ public java.lang.String getVmId() { 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(); vmId_ = s; return s; } } /** + * + * *
    * The VM's ID in the source.
    * 
* * string vm_id = 3; + * * @return The bytes for vmId. */ @java.lang.Override - public com.google.protobuf.ByteString - getVmIdBytes() { + public com.google.protobuf.ByteString getVmIdBytes() { java.lang.Object ref = vmId_; 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); vmId_ = b; return b; } else { @@ -251,11 +294,14 @@ public java.lang.String getVmId() { public static final int UTILIZATION_FIELD_NUMBER = 2; private com.google.cloud.vmmigration.v1.VmUtilizationMetrics utilization_; /** + * + * *
    * Utilization metrics for this VM.
    * 
* * .google.cloud.vmmigration.v1.VmUtilizationMetrics utilization = 2; + * * @return Whether the utilization field is set. */ @java.lang.Override @@ -263,18 +309,25 @@ public boolean hasUtilization() { return utilization_ != null; } /** + * + * *
    * Utilization metrics for this VM.
    * 
* * .google.cloud.vmmigration.v1.VmUtilizationMetrics utilization = 2; + * * @return The utilization. */ @java.lang.Override public com.google.cloud.vmmigration.v1.VmUtilizationMetrics getUtilization() { - return utilization_ == null ? com.google.cloud.vmmigration.v1.VmUtilizationMetrics.getDefaultInstance() : utilization_; + return utilization_ == null + ? com.google.cloud.vmmigration.v1.VmUtilizationMetrics.getDefaultInstance() + : utilization_; } /** + * + * *
    * Utilization metrics for this VM.
    * 
@@ -287,6 +340,7 @@ public com.google.cloud.vmmigration.v1.VmUtilizationMetricsOrBuilder getUtilizat } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -298,8 +352,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 (vmDetailsCase_ == 1) { output.writeMessage(1, (com.google.cloud.vmmigration.v1.VmwareVmDetails) vmDetails_); } @@ -319,12 +372,12 @@ public int getSerializedSize() { size = 0; if (vmDetailsCase_ == 1) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, (com.google.cloud.vmmigration.v1.VmwareVmDetails) vmDetails_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 1, (com.google.cloud.vmmigration.v1.VmwareVmDetails) vmDetails_); } if (utilization_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getUtilization()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUtilization()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(vmId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, vmId_); @@ -337,25 +390,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.vmmigration.v1.VmUtilizationInfo)) { return super.equals(obj); } - com.google.cloud.vmmigration.v1.VmUtilizationInfo other = (com.google.cloud.vmmigration.v1.VmUtilizationInfo) obj; + com.google.cloud.vmmigration.v1.VmUtilizationInfo other = + (com.google.cloud.vmmigration.v1.VmUtilizationInfo) obj; - if (!getVmId() - .equals(other.getVmId())) return false; + if (!getVmId().equals(other.getVmId())) return false; if (hasUtilization() != other.hasUtilization()) return false; if (hasUtilization()) { - if (!getUtilization() - .equals(other.getUtilization())) return false; + if (!getUtilization().equals(other.getUtilization())) return false; } if (!getVmDetailsCase().equals(other.getVmDetailsCase())) return false; switch (vmDetailsCase_) { case 1: - if (!getVmwareVmDetails() - .equals(other.getVmwareVmDetails())) return false; + if (!getVmwareVmDetails().equals(other.getVmwareVmDetails())) return false; break; case 0: default: @@ -391,117 +442,126 @@ public int hashCode() { } public static com.google.cloud.vmmigration.v1.VmUtilizationInfo 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.vmmigration.v1.VmUtilizationInfo 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.vmmigration.v1.VmUtilizationInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.vmmigration.v1.VmUtilizationInfo 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.vmmigration.v1.VmUtilizationInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.vmmigration.v1.VmUtilizationInfo 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.vmmigration.v1.VmUtilizationInfo parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.vmmigration.v1.VmUtilizationInfo parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.vmmigration.v1.VmUtilizationInfo 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.vmmigration.v1.VmUtilizationInfo parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.vmmigration.v1.VmUtilizationInfo parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.vmmigration.v1.VmUtilizationInfo 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.vmmigration.v1.VmUtilizationInfo 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.vmmigration.v1.VmUtilizationInfo 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.vmmigration.v1.VmUtilizationInfo 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; } /** + * + * *
    * Utilization information of a single VM.
    * 
* * Protobuf type {@code google.cloud.vmmigration.v1.VmUtilizationInfo} */ - 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.vmmigration.v1.VmUtilizationInfo) com.google.cloud.vmmigration.v1.VmUtilizationInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_VmUtilizationInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_VmUtilizationInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_VmUtilizationInfo_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_VmUtilizationInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.VmUtilizationInfo.class, com.google.cloud.vmmigration.v1.VmUtilizationInfo.Builder.class); + com.google.cloud.vmmigration.v1.VmUtilizationInfo.class, + com.google.cloud.vmmigration.v1.VmUtilizationInfo.Builder.class); } // Construct using com.google.cloud.vmmigration.v1.VmUtilizationInfo.newBuilder() @@ -509,16 +569,15 @@ 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) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -536,9 +595,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_VmUtilizationInfo_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_VmUtilizationInfo_descriptor; } @java.lang.Override @@ -557,7 +616,8 @@ public com.google.cloud.vmmigration.v1.VmUtilizationInfo build() { @java.lang.Override public com.google.cloud.vmmigration.v1.VmUtilizationInfo buildPartial() { - com.google.cloud.vmmigration.v1.VmUtilizationInfo result = new com.google.cloud.vmmigration.v1.VmUtilizationInfo(this); + com.google.cloud.vmmigration.v1.VmUtilizationInfo result = + new com.google.cloud.vmmigration.v1.VmUtilizationInfo(this); if (vmDetailsCase_ == 1) { if (vmwareVmDetailsBuilder_ == null) { result.vmDetails_ = vmDetails_; @@ -580,38 +640,39 @@ public com.google.cloud.vmmigration.v1.VmUtilizationInfo buildPartial() { 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.vmmigration.v1.VmUtilizationInfo) { - return mergeFrom((com.google.cloud.vmmigration.v1.VmUtilizationInfo)other); + return mergeFrom((com.google.cloud.vmmigration.v1.VmUtilizationInfo) other); } else { super.mergeFrom(other); return this; @@ -619,7 +680,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.vmmigration.v1.VmUtilizationInfo other) { - if (other == com.google.cloud.vmmigration.v1.VmUtilizationInfo.getDefaultInstance()) return this; + if (other == com.google.cloud.vmmigration.v1.VmUtilizationInfo.getDefaultInstance()) + return this; if (!other.getVmId().isEmpty()) { vmId_ = other.vmId_; onChanged(); @@ -628,13 +690,15 @@ public Builder mergeFrom(com.google.cloud.vmmigration.v1.VmUtilizationInfo other mergeUtilization(other.getUtilization()); } switch (other.getVmDetailsCase()) { - case VMWARE_VM_DETAILS: { - mergeVmwareVmDetails(other.getVmwareVmDetails()); - break; - } - case VMDETAILS_NOT_SET: { - break; - } + case VMWARE_VM_DETAILS: + { + mergeVmwareVmDetails(other.getVmwareVmDetails()); + break; + } + case VMDETAILS_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -655,7 +719,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.vmmigration.v1.VmUtilizationInfo) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.vmmigration.v1.VmUtilizationInfo) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -664,12 +729,12 @@ public Builder mergeFrom( } return this; } + private int vmDetailsCase_ = 0; private java.lang.Object vmDetails_; - public VmDetailsCase - getVmDetailsCase() { - return VmDetailsCase.forNumber( - vmDetailsCase_); + + public VmDetailsCase getVmDetailsCase() { + return VmDetailsCase.forNumber(vmDetailsCase_); } public Builder clearVmDetails() { @@ -679,15 +744,20 @@ public Builder clearVmDetails() { return this; } - private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.vmmigration.v1.VmwareVmDetails, com.google.cloud.vmmigration.v1.VmwareVmDetails.Builder, com.google.cloud.vmmigration.v1.VmwareVmDetailsOrBuilder> vmwareVmDetailsBuilder_; + com.google.cloud.vmmigration.v1.VmwareVmDetails, + com.google.cloud.vmmigration.v1.VmwareVmDetails.Builder, + com.google.cloud.vmmigration.v1.VmwareVmDetailsOrBuilder> + vmwareVmDetailsBuilder_; /** + * + * *
      * The description of the VM in a Source of type Vmware.
      * 
* * .google.cloud.vmmigration.v1.VmwareVmDetails vmware_vm_details = 1; + * * @return Whether the vmwareVmDetails field is set. */ @java.lang.Override @@ -695,11 +765,14 @@ public boolean hasVmwareVmDetails() { return vmDetailsCase_ == 1; } /** + * + * *
      * The description of the VM in a Source of type Vmware.
      * 
* * .google.cloud.vmmigration.v1.VmwareVmDetails vmware_vm_details = 1; + * * @return The vmwareVmDetails. */ @java.lang.Override @@ -717,6 +790,8 @@ public com.google.cloud.vmmigration.v1.VmwareVmDetails getVmwareVmDetails() { } } /** + * + * *
      * The description of the VM in a Source of type Vmware.
      * 
@@ -737,6 +812,8 @@ public Builder setVmwareVmDetails(com.google.cloud.vmmigration.v1.VmwareVmDetail return this; } /** + * + * *
      * The description of the VM in a Source of type Vmware.
      * 
@@ -755,6 +832,8 @@ public Builder setVmwareVmDetails( return this; } /** + * + * *
      * The description of the VM in a Source of type Vmware.
      * 
@@ -763,10 +842,13 @@ public Builder setVmwareVmDetails( */ public Builder mergeVmwareVmDetails(com.google.cloud.vmmigration.v1.VmwareVmDetails value) { if (vmwareVmDetailsBuilder_ == null) { - if (vmDetailsCase_ == 1 && - vmDetails_ != com.google.cloud.vmmigration.v1.VmwareVmDetails.getDefaultInstance()) { - vmDetails_ = com.google.cloud.vmmigration.v1.VmwareVmDetails.newBuilder((com.google.cloud.vmmigration.v1.VmwareVmDetails) vmDetails_) - .mergeFrom(value).buildPartial(); + if (vmDetailsCase_ == 1 + && vmDetails_ != com.google.cloud.vmmigration.v1.VmwareVmDetails.getDefaultInstance()) { + vmDetails_ = + com.google.cloud.vmmigration.v1.VmwareVmDetails.newBuilder( + (com.google.cloud.vmmigration.v1.VmwareVmDetails) vmDetails_) + .mergeFrom(value) + .buildPartial(); } else { vmDetails_ = value; } @@ -782,6 +864,8 @@ public Builder mergeVmwareVmDetails(com.google.cloud.vmmigration.v1.VmwareVmDeta return this; } /** + * + * *
      * The description of the VM in a Source of type Vmware.
      * 
@@ -805,6 +889,8 @@ public Builder clearVmwareVmDetails() { return this; } /** + * + * *
      * The description of the VM in a Source of type Vmware.
      * 
@@ -815,6 +901,8 @@ public com.google.cloud.vmmigration.v1.VmwareVmDetails.Builder getVmwareVmDetail return getVmwareVmDetailsFieldBuilder().getBuilder(); } /** + * + * *
      * The description of the VM in a Source of type Vmware.
      * 
@@ -833,6 +921,8 @@ public com.google.cloud.vmmigration.v1.VmwareVmDetailsOrBuilder getVmwareVmDetai } } /** + * + * *
      * The description of the VM in a Source of type Vmware.
      * 
@@ -840,38 +930,46 @@ public com.google.cloud.vmmigration.v1.VmwareVmDetailsOrBuilder getVmwareVmDetai * .google.cloud.vmmigration.v1.VmwareVmDetails vmware_vm_details = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.vmmigration.v1.VmwareVmDetails, com.google.cloud.vmmigration.v1.VmwareVmDetails.Builder, com.google.cloud.vmmigration.v1.VmwareVmDetailsOrBuilder> + com.google.cloud.vmmigration.v1.VmwareVmDetails, + com.google.cloud.vmmigration.v1.VmwareVmDetails.Builder, + com.google.cloud.vmmigration.v1.VmwareVmDetailsOrBuilder> getVmwareVmDetailsFieldBuilder() { if (vmwareVmDetailsBuilder_ == null) { if (!(vmDetailsCase_ == 1)) { vmDetails_ = com.google.cloud.vmmigration.v1.VmwareVmDetails.getDefaultInstance(); } - vmwareVmDetailsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.vmmigration.v1.VmwareVmDetails, com.google.cloud.vmmigration.v1.VmwareVmDetails.Builder, com.google.cloud.vmmigration.v1.VmwareVmDetailsOrBuilder>( + vmwareVmDetailsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.vmmigration.v1.VmwareVmDetails, + com.google.cloud.vmmigration.v1.VmwareVmDetails.Builder, + com.google.cloud.vmmigration.v1.VmwareVmDetailsOrBuilder>( (com.google.cloud.vmmigration.v1.VmwareVmDetails) vmDetails_, getParentForChildren(), isClean()); vmDetails_ = null; } vmDetailsCase_ = 1; - onChanged();; + onChanged(); + ; return vmwareVmDetailsBuilder_; } private java.lang.Object vmId_ = ""; /** + * + * *
      * The VM's ID in the source.
      * 
* * string vm_id = 3; + * * @return The vmId. */ public java.lang.String getVmId() { java.lang.Object ref = vmId_; 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(); vmId_ = s; return s; @@ -880,20 +978,21 @@ public java.lang.String getVmId() { } } /** + * + * *
      * The VM's ID in the source.
      * 
* * string vm_id = 3; + * * @return The bytes for vmId. */ - public com.google.protobuf.ByteString - getVmIdBytes() { + public com.google.protobuf.ByteString getVmIdBytes() { java.lang.Object ref = vmId_; 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); vmId_ = b; return b; } else { @@ -901,54 +1000,61 @@ public java.lang.String getVmId() { } } /** + * + * *
      * The VM's ID in the source.
      * 
* * string vm_id = 3; + * * @param value The vmId to set. * @return This builder for chaining. */ - public Builder setVmId( - java.lang.String value) { + public Builder setVmId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + vmId_ = value; onChanged(); return this; } /** + * + * *
      * The VM's ID in the source.
      * 
* * string vm_id = 3; + * * @return This builder for chaining. */ public Builder clearVmId() { - + vmId_ = getDefaultInstance().getVmId(); onChanged(); return this; } /** + * + * *
      * The VM's ID in the source.
      * 
* * string vm_id = 3; + * * @param value The bytes for vmId to set. * @return This builder for chaining. */ - public Builder setVmIdBytes( - com.google.protobuf.ByteString value) { + public Builder setVmIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + vmId_ = value; onChanged(); return this; @@ -956,34 +1062,47 @@ public Builder setVmIdBytes( private com.google.cloud.vmmigration.v1.VmUtilizationMetrics utilization_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.vmmigration.v1.VmUtilizationMetrics, com.google.cloud.vmmigration.v1.VmUtilizationMetrics.Builder, com.google.cloud.vmmigration.v1.VmUtilizationMetricsOrBuilder> utilizationBuilder_; + com.google.cloud.vmmigration.v1.VmUtilizationMetrics, + com.google.cloud.vmmigration.v1.VmUtilizationMetrics.Builder, + com.google.cloud.vmmigration.v1.VmUtilizationMetricsOrBuilder> + utilizationBuilder_; /** + * + * *
      * Utilization metrics for this VM.
      * 
* * .google.cloud.vmmigration.v1.VmUtilizationMetrics utilization = 2; + * * @return Whether the utilization field is set. */ public boolean hasUtilization() { return utilizationBuilder_ != null || utilization_ != null; } /** + * + * *
      * Utilization metrics for this VM.
      * 
* * .google.cloud.vmmigration.v1.VmUtilizationMetrics utilization = 2; + * * @return The utilization. */ public com.google.cloud.vmmigration.v1.VmUtilizationMetrics getUtilization() { if (utilizationBuilder_ == null) { - return utilization_ == null ? com.google.cloud.vmmigration.v1.VmUtilizationMetrics.getDefaultInstance() : utilization_; + return utilization_ == null + ? com.google.cloud.vmmigration.v1.VmUtilizationMetrics.getDefaultInstance() + : utilization_; } else { return utilizationBuilder_.getMessage(); } } /** + * + * *
      * Utilization metrics for this VM.
      * 
@@ -1004,6 +1123,8 @@ public Builder setUtilization(com.google.cloud.vmmigration.v1.VmUtilizationMetri return this; } /** + * + * *
      * Utilization metrics for this VM.
      * 
@@ -1022,6 +1143,8 @@ public Builder setUtilization( return this; } /** + * + * *
      * Utilization metrics for this VM.
      * 
@@ -1032,7 +1155,9 @@ public Builder mergeUtilization(com.google.cloud.vmmigration.v1.VmUtilizationMet if (utilizationBuilder_ == null) { if (utilization_ != null) { utilization_ = - com.google.cloud.vmmigration.v1.VmUtilizationMetrics.newBuilder(utilization_).mergeFrom(value).buildPartial(); + com.google.cloud.vmmigration.v1.VmUtilizationMetrics.newBuilder(utilization_) + .mergeFrom(value) + .buildPartial(); } else { utilization_ = value; } @@ -1044,6 +1169,8 @@ public Builder mergeUtilization(com.google.cloud.vmmigration.v1.VmUtilizationMet return this; } /** + * + * *
      * Utilization metrics for this VM.
      * 
@@ -1062,6 +1189,8 @@ public Builder clearUtilization() { return this; } /** + * + * *
      * Utilization metrics for this VM.
      * 
@@ -1069,11 +1198,13 @@ public Builder clearUtilization() { * .google.cloud.vmmigration.v1.VmUtilizationMetrics utilization = 2; */ public com.google.cloud.vmmigration.v1.VmUtilizationMetrics.Builder getUtilizationBuilder() { - + onChanged(); return getUtilizationFieldBuilder().getBuilder(); } /** + * + * *
      * Utilization metrics for this VM.
      * 
@@ -1084,11 +1215,14 @@ public com.google.cloud.vmmigration.v1.VmUtilizationMetricsOrBuilder getUtilizat if (utilizationBuilder_ != null) { return utilizationBuilder_.getMessageOrBuilder(); } else { - return utilization_ == null ? - com.google.cloud.vmmigration.v1.VmUtilizationMetrics.getDefaultInstance() : utilization_; + return utilization_ == null + ? com.google.cloud.vmmigration.v1.VmUtilizationMetrics.getDefaultInstance() + : utilization_; } } /** + * + * *
      * Utilization metrics for this VM.
      * 
@@ -1096,21 +1230,24 @@ public com.google.cloud.vmmigration.v1.VmUtilizationMetricsOrBuilder getUtilizat * .google.cloud.vmmigration.v1.VmUtilizationMetrics utilization = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.vmmigration.v1.VmUtilizationMetrics, com.google.cloud.vmmigration.v1.VmUtilizationMetrics.Builder, com.google.cloud.vmmigration.v1.VmUtilizationMetricsOrBuilder> + com.google.cloud.vmmigration.v1.VmUtilizationMetrics, + com.google.cloud.vmmigration.v1.VmUtilizationMetrics.Builder, + com.google.cloud.vmmigration.v1.VmUtilizationMetricsOrBuilder> getUtilizationFieldBuilder() { if (utilizationBuilder_ == null) { - utilizationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.vmmigration.v1.VmUtilizationMetrics, com.google.cloud.vmmigration.v1.VmUtilizationMetrics.Builder, com.google.cloud.vmmigration.v1.VmUtilizationMetricsOrBuilder>( - getUtilization(), - getParentForChildren(), - isClean()); + utilizationBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.vmmigration.v1.VmUtilizationMetrics, + com.google.cloud.vmmigration.v1.VmUtilizationMetrics.Builder, + com.google.cloud.vmmigration.v1.VmUtilizationMetricsOrBuilder>( + getUtilization(), getParentForChildren(), isClean()); utilization_ = null; } return utilizationBuilder_; } + @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); } @@ -1120,12 +1257,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.vmmigration.v1.VmUtilizationInfo) } // @@protoc_insertion_point(class_scope:google.cloud.vmmigration.v1.VmUtilizationInfo) private static final com.google.cloud.vmmigration.v1.VmUtilizationInfo DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.vmmigration.v1.VmUtilizationInfo(); } @@ -1134,16 +1271,16 @@ public static com.google.cloud.vmmigration.v1.VmUtilizationInfo getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public VmUtilizationInfo parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new VmUtilizationInfo(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public VmUtilizationInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new VmUtilizationInfo(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1158,6 +1295,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.vmmigration.v1.VmUtilizationInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/VmUtilizationInfoOrBuilder.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/VmUtilizationInfoOrBuilder.java similarity index 73% rename from owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/VmUtilizationInfoOrBuilder.java rename to proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/VmUtilizationInfoOrBuilder.java index b251839..54448c7 100644 --- a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/VmUtilizationInfoOrBuilder.java +++ b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/VmUtilizationInfoOrBuilder.java @@ -1,31 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; -public interface VmUtilizationInfoOrBuilder extends +public interface VmUtilizationInfoOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.VmUtilizationInfo) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The description of the VM in a Source of type Vmware.
    * 
* * .google.cloud.vmmigration.v1.VmwareVmDetails vmware_vm_details = 1; + * * @return Whether the vmwareVmDetails field is set. */ boolean hasVmwareVmDetails(); /** + * + * *
    * The description of the VM in a Source of type Vmware.
    * 
* * .google.cloud.vmmigration.v1.VmwareVmDetails vmware_vm_details = 1; + * * @return The vmwareVmDetails. */ com.google.cloud.vmmigration.v1.VmwareVmDetails getVmwareVmDetails(); /** + * + * *
    * The description of the VM in a Source of type Vmware.
    * 
@@ -35,44 +59,57 @@ public interface VmUtilizationInfoOrBuilder extends com.google.cloud.vmmigration.v1.VmwareVmDetailsOrBuilder getVmwareVmDetailsOrBuilder(); /** + * + * *
    * The VM's ID in the source.
    * 
* * string vm_id = 3; + * * @return The vmId. */ java.lang.String getVmId(); /** + * + * *
    * The VM's ID in the source.
    * 
* * string vm_id = 3; + * * @return The bytes for vmId. */ - com.google.protobuf.ByteString - getVmIdBytes(); + com.google.protobuf.ByteString getVmIdBytes(); /** + * + * *
    * Utilization metrics for this VM.
    * 
* * .google.cloud.vmmigration.v1.VmUtilizationMetrics utilization = 2; + * * @return Whether the utilization field is set. */ boolean hasUtilization(); /** + * + * *
    * Utilization metrics for this VM.
    * 
* * .google.cloud.vmmigration.v1.VmUtilizationMetrics utilization = 2; + * * @return The utilization. */ com.google.cloud.vmmigration.v1.VmUtilizationMetrics getUtilization(); /** + * + * *
    * Utilization metrics for this VM.
    * 
diff --git a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/VmUtilizationMetrics.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/VmUtilizationMetrics.java similarity index 73% rename from owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/VmUtilizationMetrics.java rename to proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/VmUtilizationMetrics.java index 07a4c8f..8948e7e 100644 --- a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/VmUtilizationMetrics.java +++ b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/VmUtilizationMetrics.java @@ -1,39 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; /** + * + * *
  * Utilization metrics values for a single VM.
  * 
* * Protobuf type {@code google.cloud.vmmigration.v1.VmUtilizationMetrics} */ -public final class VmUtilizationMetrics extends - com.google.protobuf.GeneratedMessageV3 implements +public final class VmUtilizationMetrics extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.vmmigration.v1.VmUtilizationMetrics) VmUtilizationMetricsOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use VmUtilizationMetrics.newBuilder() to construct. private VmUtilizationMetrics(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private VmUtilizationMetrics() { - } + + private VmUtilizationMetrics() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new VmUtilizationMetrics(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private VmUtilizationMetrics( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,53 +68,53 @@ private VmUtilizationMetrics( case 0: done = true; break; - case 72: { - - cpuMaxPercent_ = input.readInt32(); - break; - } - case 80: { - - cpuAveragePercent_ = input.readInt32(); - break; - } - case 88: { - - memoryMaxPercent_ = input.readInt32(); - break; - } - case 96: { - - memoryAveragePercent_ = input.readInt32(); - break; - } - case 104: { - - diskIoRateMaxKbps_ = input.readInt64(); - break; - } - case 112: { - - diskIoRateAverageKbps_ = input.readInt64(); - break; - } - case 120: { - - networkThroughputMaxKbps_ = input.readInt64(); - break; - } - case 128: { - - networkThroughputAverageKbps_ = input.readInt64(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 72: + { + cpuMaxPercent_ = input.readInt32(); + break; + } + case 80: + { + cpuAveragePercent_ = input.readInt32(); + break; + } + case 88: + { + memoryMaxPercent_ = input.readInt32(); + break; + } + case 96: + { + memoryAveragePercent_ = input.readInt32(); + break; + } + case 104: + { + diskIoRateMaxKbps_ = input.readInt64(); + break; + } + case 112: + { + diskIoRateAverageKbps_ = input.readInt64(); + break; + } + case 120: + { + networkThroughputMaxKbps_ = input.readInt64(); + break; + } + case 128: + { + networkThroughputAverageKbps_ = input.readInt64(); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -106,34 +122,39 @@ private VmUtilizationMetrics( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_VmUtilizationMetrics_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_VmUtilizationMetrics_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_VmUtilizationMetrics_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_VmUtilizationMetrics_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.VmUtilizationMetrics.class, com.google.cloud.vmmigration.v1.VmUtilizationMetrics.Builder.class); + com.google.cloud.vmmigration.v1.VmUtilizationMetrics.class, + com.google.cloud.vmmigration.v1.VmUtilizationMetrics.Builder.class); } public static final int CPU_MAX_PERCENT_FIELD_NUMBER = 9; private int cpuMaxPercent_; /** + * + * *
    * Max CPU usage, percent.
    * 
* * int32 cpu_max_percent = 9; + * * @return The cpuMaxPercent. */ @java.lang.Override @@ -144,11 +165,14 @@ public int getCpuMaxPercent() { public static final int CPU_AVERAGE_PERCENT_FIELD_NUMBER = 10; private int cpuAveragePercent_; /** + * + * *
    * Average CPU usage, percent.
    * 
* * int32 cpu_average_percent = 10; + * * @return The cpuAveragePercent. */ @java.lang.Override @@ -159,11 +183,14 @@ public int getCpuAveragePercent() { public static final int MEMORY_MAX_PERCENT_FIELD_NUMBER = 11; private int memoryMaxPercent_; /** + * + * *
    * Max memory usage, percent.
    * 
* * int32 memory_max_percent = 11; + * * @return The memoryMaxPercent. */ @java.lang.Override @@ -174,11 +201,14 @@ public int getMemoryMaxPercent() { public static final int MEMORY_AVERAGE_PERCENT_FIELD_NUMBER = 12; private int memoryAveragePercent_; /** + * + * *
    * Average memory usage, percent.
    * 
* * int32 memory_average_percent = 12; + * * @return The memoryAveragePercent. */ @java.lang.Override @@ -189,11 +219,14 @@ public int getMemoryAveragePercent() { public static final int DISK_IO_RATE_MAX_KBPS_FIELD_NUMBER = 13; private long diskIoRateMaxKbps_; /** + * + * *
    * Max disk IO rate, in kilobytes per second.
    * 
* * int64 disk_io_rate_max_kbps = 13; + * * @return The diskIoRateMaxKbps. */ @java.lang.Override @@ -204,11 +237,14 @@ public long getDiskIoRateMaxKbps() { public static final int DISK_IO_RATE_AVERAGE_KBPS_FIELD_NUMBER = 14; private long diskIoRateAverageKbps_; /** + * + * *
    * Average disk IO rate, in kilobytes per second.
    * 
* * int64 disk_io_rate_average_kbps = 14; + * * @return The diskIoRateAverageKbps. */ @java.lang.Override @@ -219,12 +255,15 @@ public long getDiskIoRateAverageKbps() { public static final int NETWORK_THROUGHPUT_MAX_KBPS_FIELD_NUMBER = 15; private long networkThroughputMaxKbps_; /** + * + * *
    * Max network throughput (combined transmit-rates and receive-rates), in
    * kilobytes per second.
    * 
* * int64 network_throughput_max_kbps = 15; + * * @return The networkThroughputMaxKbps. */ @java.lang.Override @@ -235,12 +274,15 @@ public long getNetworkThroughputMaxKbps() { public static final int NETWORK_THROUGHPUT_AVERAGE_KBPS_FIELD_NUMBER = 16; private long networkThroughputAverageKbps_; /** + * + * *
    * Average network throughput (combined transmit-rates and receive-rates), in
    * kilobytes per second.
    * 
* * int64 network_throughput_average_kbps = 16; + * * @return The networkThroughputAverageKbps. */ @java.lang.Override @@ -249,6 +291,7 @@ public long getNetworkThroughputAverageKbps() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -260,8 +303,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 (cpuMaxPercent_ != 0) { output.writeInt32(9, cpuMaxPercent_); } @@ -296,36 +338,29 @@ public int getSerializedSize() { size = 0; if (cpuMaxPercent_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(9, cpuMaxPercent_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(9, cpuMaxPercent_); } if (cpuAveragePercent_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(10, cpuAveragePercent_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(10, cpuAveragePercent_); } if (memoryMaxPercent_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(11, memoryMaxPercent_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(11, memoryMaxPercent_); } if (memoryAveragePercent_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(12, memoryAveragePercent_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(12, memoryAveragePercent_); } if (diskIoRateMaxKbps_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(13, diskIoRateMaxKbps_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(13, diskIoRateMaxKbps_); } if (diskIoRateAverageKbps_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(14, diskIoRateAverageKbps_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(14, diskIoRateAverageKbps_); } if (networkThroughputMaxKbps_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(15, networkThroughputMaxKbps_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(15, networkThroughputMaxKbps_); } if (networkThroughputAverageKbps_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(16, networkThroughputAverageKbps_); + size += + com.google.protobuf.CodedOutputStream.computeInt64Size(16, networkThroughputAverageKbps_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -335,29 +370,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.vmmigration.v1.VmUtilizationMetrics)) { return super.equals(obj); } - com.google.cloud.vmmigration.v1.VmUtilizationMetrics other = (com.google.cloud.vmmigration.v1.VmUtilizationMetrics) obj; - - if (getCpuMaxPercent() - != other.getCpuMaxPercent()) return false; - if (getCpuAveragePercent() - != other.getCpuAveragePercent()) return false; - if (getMemoryMaxPercent() - != other.getMemoryMaxPercent()) return false; - if (getMemoryAveragePercent() - != other.getMemoryAveragePercent()) return false; - if (getDiskIoRateMaxKbps() - != other.getDiskIoRateMaxKbps()) return false; - if (getDiskIoRateAverageKbps() - != other.getDiskIoRateAverageKbps()) return false; - if (getNetworkThroughputMaxKbps() - != other.getNetworkThroughputMaxKbps()) return false; - if (getNetworkThroughputAverageKbps() - != other.getNetworkThroughputAverageKbps()) return false; + com.google.cloud.vmmigration.v1.VmUtilizationMetrics other = + (com.google.cloud.vmmigration.v1.VmUtilizationMetrics) obj; + + if (getCpuMaxPercent() != other.getCpuMaxPercent()) return false; + if (getCpuAveragePercent() != other.getCpuAveragePercent()) return false; + if (getMemoryMaxPercent() != other.getMemoryMaxPercent()) return false; + if (getMemoryAveragePercent() != other.getMemoryAveragePercent()) return false; + if (getDiskIoRateMaxKbps() != other.getDiskIoRateMaxKbps()) return false; + if (getDiskIoRateAverageKbps() != other.getDiskIoRateAverageKbps()) return false; + if (getNetworkThroughputMaxKbps() != other.getNetworkThroughputMaxKbps()) return false; + if (getNetworkThroughputAverageKbps() != other.getNetworkThroughputAverageKbps()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -378,134 +406,139 @@ public int hashCode() { hash = (37 * hash) + MEMORY_AVERAGE_PERCENT_FIELD_NUMBER; hash = (53 * hash) + getMemoryAveragePercent(); hash = (37 * hash) + DISK_IO_RATE_MAX_KBPS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getDiskIoRateMaxKbps()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getDiskIoRateMaxKbps()); hash = (37 * hash) + DISK_IO_RATE_AVERAGE_KBPS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getDiskIoRateAverageKbps()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getDiskIoRateAverageKbps()); hash = (37 * hash) + NETWORK_THROUGHPUT_MAX_KBPS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getNetworkThroughputMaxKbps()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getNetworkThroughputMaxKbps()); hash = (37 * hash) + NETWORK_THROUGHPUT_AVERAGE_KBPS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getNetworkThroughputAverageKbps()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getNetworkThroughputAverageKbps()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.vmmigration.v1.VmUtilizationMetrics 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.vmmigration.v1.VmUtilizationMetrics 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.vmmigration.v1.VmUtilizationMetrics parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.vmmigration.v1.VmUtilizationMetrics 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.vmmigration.v1.VmUtilizationMetrics parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.vmmigration.v1.VmUtilizationMetrics 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.vmmigration.v1.VmUtilizationMetrics parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.vmmigration.v1.VmUtilizationMetrics parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.vmmigration.v1.VmUtilizationMetrics 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.vmmigration.v1.VmUtilizationMetrics parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.vmmigration.v1.VmUtilizationMetrics parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.vmmigration.v1.VmUtilizationMetrics 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.vmmigration.v1.VmUtilizationMetrics 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.vmmigration.v1.VmUtilizationMetrics 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.vmmigration.v1.VmUtilizationMetrics 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; } /** + * + * *
    * Utilization metrics values for a single VM.
    * 
* * Protobuf type {@code google.cloud.vmmigration.v1.VmUtilizationMetrics} */ - 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.vmmigration.v1.VmUtilizationMetrics) com.google.cloud.vmmigration.v1.VmUtilizationMetricsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_VmUtilizationMetrics_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_VmUtilizationMetrics_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_VmUtilizationMetrics_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_VmUtilizationMetrics_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.VmUtilizationMetrics.class, com.google.cloud.vmmigration.v1.VmUtilizationMetrics.Builder.class); + com.google.cloud.vmmigration.v1.VmUtilizationMetrics.class, + com.google.cloud.vmmigration.v1.VmUtilizationMetrics.Builder.class); } // Construct using com.google.cloud.vmmigration.v1.VmUtilizationMetrics.newBuilder() @@ -513,16 +546,15 @@ 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) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -546,9 +578,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_VmUtilizationMetrics_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_VmUtilizationMetrics_descriptor; } @java.lang.Override @@ -567,7 +599,8 @@ public com.google.cloud.vmmigration.v1.VmUtilizationMetrics build() { @java.lang.Override public com.google.cloud.vmmigration.v1.VmUtilizationMetrics buildPartial() { - com.google.cloud.vmmigration.v1.VmUtilizationMetrics result = new com.google.cloud.vmmigration.v1.VmUtilizationMetrics(this); + com.google.cloud.vmmigration.v1.VmUtilizationMetrics result = + new com.google.cloud.vmmigration.v1.VmUtilizationMetrics(this); result.cpuMaxPercent_ = cpuMaxPercent_; result.cpuAveragePercent_ = cpuAveragePercent_; result.memoryMaxPercent_ = memoryMaxPercent_; @@ -584,38 +617,39 @@ public com.google.cloud.vmmigration.v1.VmUtilizationMetrics buildPartial() { 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.vmmigration.v1.VmUtilizationMetrics) { - return mergeFrom((com.google.cloud.vmmigration.v1.VmUtilizationMetrics)other); + return mergeFrom((com.google.cloud.vmmigration.v1.VmUtilizationMetrics) other); } else { super.mergeFrom(other); return this; @@ -623,7 +657,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.vmmigration.v1.VmUtilizationMetrics other) { - if (other == com.google.cloud.vmmigration.v1.VmUtilizationMetrics.getDefaultInstance()) return this; + if (other == com.google.cloud.vmmigration.v1.VmUtilizationMetrics.getDefaultInstance()) + return this; if (other.getCpuMaxPercent() != 0) { setCpuMaxPercent(other.getCpuMaxPercent()); } @@ -667,7 +702,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.vmmigration.v1.VmUtilizationMetrics) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.vmmigration.v1.VmUtilizationMetrics) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -677,13 +713,16 @@ public Builder mergeFrom( return this; } - private int cpuMaxPercent_ ; + private int cpuMaxPercent_; /** + * + * *
      * Max CPU usage, percent.
      * 
* * int32 cpu_max_percent = 9; + * * @return The cpuMaxPercent. */ @java.lang.Override @@ -691,42 +730,51 @@ public int getCpuMaxPercent() { return cpuMaxPercent_; } /** + * + * *
      * Max CPU usage, percent.
      * 
* * int32 cpu_max_percent = 9; + * * @param value The cpuMaxPercent to set. * @return This builder for chaining. */ public Builder setCpuMaxPercent(int value) { - + cpuMaxPercent_ = value; onChanged(); return this; } /** + * + * *
      * Max CPU usage, percent.
      * 
* * int32 cpu_max_percent = 9; + * * @return This builder for chaining. */ public Builder clearCpuMaxPercent() { - + cpuMaxPercent_ = 0; onChanged(); return this; } - private int cpuAveragePercent_ ; + private int cpuAveragePercent_; /** + * + * *
      * Average CPU usage, percent.
      * 
* * int32 cpu_average_percent = 10; + * * @return The cpuAveragePercent. */ @java.lang.Override @@ -734,42 +782,51 @@ public int getCpuAveragePercent() { return cpuAveragePercent_; } /** + * + * *
      * Average CPU usage, percent.
      * 
* * int32 cpu_average_percent = 10; + * * @param value The cpuAveragePercent to set. * @return This builder for chaining. */ public Builder setCpuAveragePercent(int value) { - + cpuAveragePercent_ = value; onChanged(); return this; } /** + * + * *
      * Average CPU usage, percent.
      * 
* * int32 cpu_average_percent = 10; + * * @return This builder for chaining. */ public Builder clearCpuAveragePercent() { - + cpuAveragePercent_ = 0; onChanged(); return this; } - private int memoryMaxPercent_ ; + private int memoryMaxPercent_; /** + * + * *
      * Max memory usage, percent.
      * 
* * int32 memory_max_percent = 11; + * * @return The memoryMaxPercent. */ @java.lang.Override @@ -777,42 +834,51 @@ public int getMemoryMaxPercent() { return memoryMaxPercent_; } /** + * + * *
      * Max memory usage, percent.
      * 
* * int32 memory_max_percent = 11; + * * @param value The memoryMaxPercent to set. * @return This builder for chaining. */ public Builder setMemoryMaxPercent(int value) { - + memoryMaxPercent_ = value; onChanged(); return this; } /** + * + * *
      * Max memory usage, percent.
      * 
* * int32 memory_max_percent = 11; + * * @return This builder for chaining. */ public Builder clearMemoryMaxPercent() { - + memoryMaxPercent_ = 0; onChanged(); return this; } - private int memoryAveragePercent_ ; + private int memoryAveragePercent_; /** + * + * *
      * Average memory usage, percent.
      * 
* * int32 memory_average_percent = 12; + * * @return The memoryAveragePercent. */ @java.lang.Override @@ -820,42 +886,51 @@ public int getMemoryAveragePercent() { return memoryAveragePercent_; } /** + * + * *
      * Average memory usage, percent.
      * 
* * int32 memory_average_percent = 12; + * * @param value The memoryAveragePercent to set. * @return This builder for chaining. */ public Builder setMemoryAveragePercent(int value) { - + memoryAveragePercent_ = value; onChanged(); return this; } /** + * + * *
      * Average memory usage, percent.
      * 
* * int32 memory_average_percent = 12; + * * @return This builder for chaining. */ public Builder clearMemoryAveragePercent() { - + memoryAveragePercent_ = 0; onChanged(); return this; } - private long diskIoRateMaxKbps_ ; + private long diskIoRateMaxKbps_; /** + * + * *
      * Max disk IO rate, in kilobytes per second.
      * 
* * int64 disk_io_rate_max_kbps = 13; + * * @return The diskIoRateMaxKbps. */ @java.lang.Override @@ -863,42 +938,51 @@ public long getDiskIoRateMaxKbps() { return diskIoRateMaxKbps_; } /** + * + * *
      * Max disk IO rate, in kilobytes per second.
      * 
* * int64 disk_io_rate_max_kbps = 13; + * * @param value The diskIoRateMaxKbps to set. * @return This builder for chaining. */ public Builder setDiskIoRateMaxKbps(long value) { - + diskIoRateMaxKbps_ = value; onChanged(); return this; } /** + * + * *
      * Max disk IO rate, in kilobytes per second.
      * 
* * int64 disk_io_rate_max_kbps = 13; + * * @return This builder for chaining. */ public Builder clearDiskIoRateMaxKbps() { - + diskIoRateMaxKbps_ = 0L; onChanged(); return this; } - private long diskIoRateAverageKbps_ ; + private long diskIoRateAverageKbps_; /** + * + * *
      * Average disk IO rate, in kilobytes per second.
      * 
* * int64 disk_io_rate_average_kbps = 14; + * * @return The diskIoRateAverageKbps. */ @java.lang.Override @@ -906,43 +990,52 @@ public long getDiskIoRateAverageKbps() { return diskIoRateAverageKbps_; } /** + * + * *
      * Average disk IO rate, in kilobytes per second.
      * 
* * int64 disk_io_rate_average_kbps = 14; + * * @param value The diskIoRateAverageKbps to set. * @return This builder for chaining. */ public Builder setDiskIoRateAverageKbps(long value) { - + diskIoRateAverageKbps_ = value; onChanged(); return this; } /** + * + * *
      * Average disk IO rate, in kilobytes per second.
      * 
* * int64 disk_io_rate_average_kbps = 14; + * * @return This builder for chaining. */ public Builder clearDiskIoRateAverageKbps() { - + diskIoRateAverageKbps_ = 0L; onChanged(); return this; } - private long networkThroughputMaxKbps_ ; + private long networkThroughputMaxKbps_; /** + * + * *
      * Max network throughput (combined transmit-rates and receive-rates), in
      * kilobytes per second.
      * 
* * int64 network_throughput_max_kbps = 15; + * * @return The networkThroughputMaxKbps. */ @java.lang.Override @@ -950,45 +1043,54 @@ public long getNetworkThroughputMaxKbps() { return networkThroughputMaxKbps_; } /** + * + * *
      * Max network throughput (combined transmit-rates and receive-rates), in
      * kilobytes per second.
      * 
* * int64 network_throughput_max_kbps = 15; + * * @param value The networkThroughputMaxKbps to set. * @return This builder for chaining. */ public Builder setNetworkThroughputMaxKbps(long value) { - + networkThroughputMaxKbps_ = value; onChanged(); return this; } /** + * + * *
      * Max network throughput (combined transmit-rates and receive-rates), in
      * kilobytes per second.
      * 
* * int64 network_throughput_max_kbps = 15; + * * @return This builder for chaining. */ public Builder clearNetworkThroughputMaxKbps() { - + networkThroughputMaxKbps_ = 0L; onChanged(); return this; } - private long networkThroughputAverageKbps_ ; + private long networkThroughputAverageKbps_; /** + * + * *
      * Average network throughput (combined transmit-rates and receive-rates), in
      * kilobytes per second.
      * 
* * int64 network_throughput_average_kbps = 16; + * * @return The networkThroughputAverageKbps. */ @java.lang.Override @@ -996,39 +1098,45 @@ public long getNetworkThroughputAverageKbps() { return networkThroughputAverageKbps_; } /** + * + * *
      * Average network throughput (combined transmit-rates and receive-rates), in
      * kilobytes per second.
      * 
* * int64 network_throughput_average_kbps = 16; + * * @param value The networkThroughputAverageKbps to set. * @return This builder for chaining. */ public Builder setNetworkThroughputAverageKbps(long value) { - + networkThroughputAverageKbps_ = value; onChanged(); return this; } /** + * + * *
      * Average network throughput (combined transmit-rates and receive-rates), in
      * kilobytes per second.
      * 
* * int64 network_throughput_average_kbps = 16; + * * @return This builder for chaining. */ public Builder clearNetworkThroughputAverageKbps() { - + networkThroughputAverageKbps_ = 0L; 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); } @@ -1038,12 +1146,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.vmmigration.v1.VmUtilizationMetrics) } // @@protoc_insertion_point(class_scope:google.cloud.vmmigration.v1.VmUtilizationMetrics) private static final com.google.cloud.vmmigration.v1.VmUtilizationMetrics DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.vmmigration.v1.VmUtilizationMetrics(); } @@ -1052,16 +1160,16 @@ public static com.google.cloud.vmmigration.v1.VmUtilizationMetrics getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public VmUtilizationMetrics parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new VmUtilizationMetrics(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public VmUtilizationMetrics parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new VmUtilizationMetrics(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1076,6 +1184,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.vmmigration.v1.VmUtilizationMetrics getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/VmUtilizationMetricsOrBuilder.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/VmUtilizationMetricsOrBuilder.java similarity index 72% rename from owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/VmUtilizationMetricsOrBuilder.java rename to proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/VmUtilizationMetricsOrBuilder.java index 92ea74c..44ff99f 100644 --- a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/VmUtilizationMetricsOrBuilder.java +++ b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/VmUtilizationMetricsOrBuilder.java @@ -1,90 +1,130 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; -public interface VmUtilizationMetricsOrBuilder extends +public interface VmUtilizationMetricsOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.VmUtilizationMetrics) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Max CPU usage, percent.
    * 
* * int32 cpu_max_percent = 9; + * * @return The cpuMaxPercent. */ int getCpuMaxPercent(); /** + * + * *
    * Average CPU usage, percent.
    * 
* * int32 cpu_average_percent = 10; + * * @return The cpuAveragePercent. */ int getCpuAveragePercent(); /** + * + * *
    * Max memory usage, percent.
    * 
* * int32 memory_max_percent = 11; + * * @return The memoryMaxPercent. */ int getMemoryMaxPercent(); /** + * + * *
    * Average memory usage, percent.
    * 
* * int32 memory_average_percent = 12; + * * @return The memoryAveragePercent. */ int getMemoryAveragePercent(); /** + * + * *
    * Max disk IO rate, in kilobytes per second.
    * 
* * int64 disk_io_rate_max_kbps = 13; + * * @return The diskIoRateMaxKbps. */ long getDiskIoRateMaxKbps(); /** + * + * *
    * Average disk IO rate, in kilobytes per second.
    * 
* * int64 disk_io_rate_average_kbps = 14; + * * @return The diskIoRateAverageKbps. */ long getDiskIoRateAverageKbps(); /** + * + * *
    * Max network throughput (combined transmit-rates and receive-rates), in
    * kilobytes per second.
    * 
* * int64 network_throughput_max_kbps = 15; + * * @return The networkThroughputMaxKbps. */ long getNetworkThroughputMaxKbps(); /** + * + * *
    * Average network throughput (combined transmit-rates and receive-rates), in
    * kilobytes per second.
    * 
* * int64 network_throughput_average_kbps = 16; + * * @return The networkThroughputAverageKbps. */ long getNetworkThroughputAverageKbps(); diff --git a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/VmwareSourceDetails.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/VmwareSourceDetails.java similarity index 71% rename from owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/VmwareSourceDetails.java rename to proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/VmwareSourceDetails.java index 3d748ce..e097e66 100644 --- a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/VmwareSourceDetails.java +++ b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/VmwareSourceDetails.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; /** + * + * *
  * VmwareSourceDetails message describes a specific source details for the
  * vmware source type.
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.cloud.vmmigration.v1.VmwareSourceDetails}
  */
-public final class VmwareSourceDetails extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class VmwareSourceDetails extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.vmmigration.v1.VmwareSourceDetails)
     VmwareSourceDetailsOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use VmwareSourceDetails.newBuilder() to construct.
   private VmwareSourceDetails(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private VmwareSourceDetails() {
     username_ = "";
     password_ = "";
@@ -29,16 +47,15 @@ private VmwareSourceDetails() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new VmwareSourceDetails();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private VmwareSourceDetails(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -57,37 +74,41 @@ private VmwareSourceDetails(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            username_ = s;
-            break;
-          }
-          case 18: {
-            java.lang.String s = input.readStringRequireUtf8();
+              username_ = s;
+              break;
+            }
+          case 18:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            password_ = s;
-            break;
-          }
-          case 26: {
-            java.lang.String s = input.readStringRequireUtf8();
+              password_ = s;
+              break;
+            }
+          case 26:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            vcenterIp_ = s;
-            break;
-          }
-          case 34: {
-            java.lang.String s = input.readStringRequireUtf8();
+              vcenterIp_ = s;
+              break;
+            }
+          case 34:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            thumbprint_ = s;
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              thumbprint_ = s;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -95,34 +116,39 @@ private VmwareSourceDetails(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_VmwareSourceDetails_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.vmmigration.v1.VmMigrationProto
+        .internal_static_google_cloud_vmmigration_v1_VmwareSourceDetails_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_VmwareSourceDetails_fieldAccessorTable
+    return com.google.cloud.vmmigration.v1.VmMigrationProto
+        .internal_static_google_cloud_vmmigration_v1_VmwareSourceDetails_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.vmmigration.v1.VmwareSourceDetails.class, com.google.cloud.vmmigration.v1.VmwareSourceDetails.Builder.class);
+            com.google.cloud.vmmigration.v1.VmwareSourceDetails.class,
+            com.google.cloud.vmmigration.v1.VmwareSourceDetails.Builder.class);
   }
 
   public static final int USERNAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object username_;
   /**
+   *
+   *
    * 
    * The credentials username.
    * 
* * string username = 1; + * * @return The username. */ @java.lang.Override @@ -131,29 +157,29 @@ public java.lang.String getUsername() { 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(); username_ = s; return s; } } /** + * + * *
    * The credentials username.
    * 
* * string username = 1; + * * @return The bytes for username. */ @java.lang.Override - public com.google.protobuf.ByteString - getUsernameBytes() { + public com.google.protobuf.ByteString getUsernameBytes() { java.lang.Object ref = username_; 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); username_ = b; return b; } else { @@ -164,12 +190,15 @@ public java.lang.String getUsername() { public static final int PASSWORD_FIELD_NUMBER = 2; private volatile java.lang.Object password_; /** + * + * *
    * Input only. The credentials password. This is write only and can not be
    * read in a GET operation.
    * 
* * string password = 2 [(.google.api.field_behavior) = INPUT_ONLY]; + * * @return The password. */ @java.lang.Override @@ -178,30 +207,30 @@ public java.lang.String getPassword() { 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(); password_ = s; return s; } } /** + * + * *
    * Input only. The credentials password. This is write only and can not be
    * read in a GET operation.
    * 
* * string password = 2 [(.google.api.field_behavior) = INPUT_ONLY]; + * * @return The bytes for password. */ @java.lang.Override - public com.google.protobuf.ByteString - getPasswordBytes() { + public com.google.protobuf.ByteString getPasswordBytes() { java.lang.Object ref = password_; 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); password_ = b; return b; } else { @@ -212,11 +241,14 @@ public java.lang.String getPassword() { public static final int VCENTER_IP_FIELD_NUMBER = 3; private volatile java.lang.Object vcenterIp_; /** + * + * *
    * The ip address of the vcenter this Source represents.
    * 
* * string vcenter_ip = 3; + * * @return The vcenterIp. */ @java.lang.Override @@ -225,29 +257,29 @@ public java.lang.String getVcenterIp() { 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(); vcenterIp_ = s; return s; } } /** + * + * *
    * The ip address of the vcenter this Source represents.
    * 
* * string vcenter_ip = 3; + * * @return The bytes for vcenterIp. */ @java.lang.Override - public com.google.protobuf.ByteString - getVcenterIpBytes() { + public com.google.protobuf.ByteString getVcenterIpBytes() { java.lang.Object ref = vcenterIp_; 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); vcenterIp_ = b; return b; } else { @@ -258,11 +290,14 @@ public java.lang.String getVcenterIp() { public static final int THUMBPRINT_FIELD_NUMBER = 4; private volatile java.lang.Object thumbprint_; /** + * + * *
    * The thumbprint representing the certificate for the vcenter.
    * 
* * string thumbprint = 4; + * * @return The thumbprint. */ @java.lang.Override @@ -271,29 +306,29 @@ public java.lang.String getThumbprint() { 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(); thumbprint_ = s; return s; } } /** + * + * *
    * The thumbprint representing the certificate for the vcenter.
    * 
* * string thumbprint = 4; + * * @return The bytes for thumbprint. */ @java.lang.Override - public com.google.protobuf.ByteString - getThumbprintBytes() { + public com.google.protobuf.ByteString getThumbprintBytes() { java.lang.Object ref = thumbprint_; 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); thumbprint_ = b; return b; } else { @@ -302,6 +337,7 @@ public java.lang.String getThumbprint() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -313,8 +349,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(username_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, username_); } @@ -356,21 +391,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.vmmigration.v1.VmwareSourceDetails)) { return super.equals(obj); } - com.google.cloud.vmmigration.v1.VmwareSourceDetails other = (com.google.cloud.vmmigration.v1.VmwareSourceDetails) obj; - - if (!getUsername() - .equals(other.getUsername())) return false; - if (!getPassword() - .equals(other.getPassword())) return false; - if (!getVcenterIp() - .equals(other.getVcenterIp())) return false; - if (!getThumbprint() - .equals(other.getThumbprint())) return false; + com.google.cloud.vmmigration.v1.VmwareSourceDetails other = + (com.google.cloud.vmmigration.v1.VmwareSourceDetails) obj; + + if (!getUsername().equals(other.getUsername())) return false; + if (!getPassword().equals(other.getPassword())) return false; + if (!getVcenterIp().equals(other.getVcenterIp())) return false; + if (!getThumbprint().equals(other.getThumbprint())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -396,96 +428,103 @@ public int hashCode() { } public static com.google.cloud.vmmigration.v1.VmwareSourceDetails 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.vmmigration.v1.VmwareSourceDetails 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.vmmigration.v1.VmwareSourceDetails parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.vmmigration.v1.VmwareSourceDetails 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.vmmigration.v1.VmwareSourceDetails parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.vmmigration.v1.VmwareSourceDetails 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.vmmigration.v1.VmwareSourceDetails parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.vmmigration.v1.VmwareSourceDetails parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.vmmigration.v1.VmwareSourceDetails 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.vmmigration.v1.VmwareSourceDetails parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.vmmigration.v1.VmwareSourceDetails parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.vmmigration.v1.VmwareSourceDetails 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.vmmigration.v1.VmwareSourceDetails 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.vmmigration.v1.VmwareSourceDetails 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.vmmigration.v1.VmwareSourceDetails 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; } /** + * + * *
    * VmwareSourceDetails message describes a specific source details for the
    * vmware source type.
@@ -493,21 +532,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.vmmigration.v1.VmwareSourceDetails}
    */
-  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.vmmigration.v1.VmwareSourceDetails)
       com.google.cloud.vmmigration.v1.VmwareSourceDetailsOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_VmwareSourceDetails_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.vmmigration.v1.VmMigrationProto
+          .internal_static_google_cloud_vmmigration_v1_VmwareSourceDetails_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_VmwareSourceDetails_fieldAccessorTable
+      return com.google.cloud.vmmigration.v1.VmMigrationProto
+          .internal_static_google_cloud_vmmigration_v1_VmwareSourceDetails_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.vmmigration.v1.VmwareSourceDetails.class, com.google.cloud.vmmigration.v1.VmwareSourceDetails.Builder.class);
+              com.google.cloud.vmmigration.v1.VmwareSourceDetails.class,
+              com.google.cloud.vmmigration.v1.VmwareSourceDetails.Builder.class);
     }
 
     // Construct using com.google.cloud.vmmigration.v1.VmwareSourceDetails.newBuilder()
@@ -515,16 +556,15 @@ 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) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -540,9 +580,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_VmwareSourceDetails_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.vmmigration.v1.VmMigrationProto
+          .internal_static_google_cloud_vmmigration_v1_VmwareSourceDetails_descriptor;
     }
 
     @java.lang.Override
@@ -561,7 +601,8 @@ public com.google.cloud.vmmigration.v1.VmwareSourceDetails build() {
 
     @java.lang.Override
     public com.google.cloud.vmmigration.v1.VmwareSourceDetails buildPartial() {
-      com.google.cloud.vmmigration.v1.VmwareSourceDetails result = new com.google.cloud.vmmigration.v1.VmwareSourceDetails(this);
+      com.google.cloud.vmmigration.v1.VmwareSourceDetails result =
+          new com.google.cloud.vmmigration.v1.VmwareSourceDetails(this);
       result.username_ = username_;
       result.password_ = password_;
       result.vcenterIp_ = vcenterIp_;
@@ -574,38 +615,39 @@ public com.google.cloud.vmmigration.v1.VmwareSourceDetails buildPartial() {
     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.vmmigration.v1.VmwareSourceDetails) {
-        return mergeFrom((com.google.cloud.vmmigration.v1.VmwareSourceDetails)other);
+        return mergeFrom((com.google.cloud.vmmigration.v1.VmwareSourceDetails) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -613,7 +655,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.vmmigration.v1.VmwareSourceDetails other) {
-      if (other == com.google.cloud.vmmigration.v1.VmwareSourceDetails.getDefaultInstance()) return this;
+      if (other == com.google.cloud.vmmigration.v1.VmwareSourceDetails.getDefaultInstance())
+        return this;
       if (!other.getUsername().isEmpty()) {
         username_ = other.username_;
         onChanged();
@@ -649,7 +692,8 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.cloud.vmmigration.v1.VmwareSourceDetails) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.cloud.vmmigration.v1.VmwareSourceDetails) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -661,18 +705,20 @@ public Builder mergeFrom(
 
     private java.lang.Object username_ = "";
     /**
+     *
+     *
      * 
      * The credentials username.
      * 
* * string username = 1; + * * @return The username. */ public java.lang.String getUsername() { java.lang.Object ref = username_; 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(); username_ = s; return s; @@ -681,20 +727,21 @@ public java.lang.String getUsername() { } } /** + * + * *
      * The credentials username.
      * 
* * string username = 1; + * * @return The bytes for username. */ - public com.google.protobuf.ByteString - getUsernameBytes() { + public com.google.protobuf.ByteString getUsernameBytes() { java.lang.Object ref = username_; 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); username_ = b; return b; } else { @@ -702,54 +749,61 @@ public java.lang.String getUsername() { } } /** + * + * *
      * The credentials username.
      * 
* * string username = 1; + * * @param value The username to set. * @return This builder for chaining. */ - public Builder setUsername( - java.lang.String value) { + public Builder setUsername(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + username_ = value; onChanged(); return this; } /** + * + * *
      * The credentials username.
      * 
* * string username = 1; + * * @return This builder for chaining. */ public Builder clearUsername() { - + username_ = getDefaultInstance().getUsername(); onChanged(); return this; } /** + * + * *
      * The credentials username.
      * 
* * string username = 1; + * * @param value The bytes for username to set. * @return This builder for chaining. */ - public Builder setUsernameBytes( - com.google.protobuf.ByteString value) { + public Builder setUsernameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + username_ = value; onChanged(); return this; @@ -757,19 +811,21 @@ public Builder setUsernameBytes( private java.lang.Object password_ = ""; /** + * + * *
      * Input only. The credentials password. This is write only and can not be
      * read in a GET operation.
      * 
* * string password = 2 [(.google.api.field_behavior) = INPUT_ONLY]; + * * @return The password. */ public java.lang.String getPassword() { java.lang.Object ref = password_; 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(); password_ = s; return s; @@ -778,21 +834,22 @@ public java.lang.String getPassword() { } } /** + * + * *
      * Input only. The credentials password. This is write only and can not be
      * read in a GET operation.
      * 
* * string password = 2 [(.google.api.field_behavior) = INPUT_ONLY]; + * * @return The bytes for password. */ - public com.google.protobuf.ByteString - getPasswordBytes() { + public com.google.protobuf.ByteString getPasswordBytes() { java.lang.Object ref = password_; 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); password_ = b; return b; } else { @@ -800,57 +857,64 @@ public java.lang.String getPassword() { } } /** + * + * *
      * Input only. The credentials password. This is write only and can not be
      * read in a GET operation.
      * 
* * string password = 2 [(.google.api.field_behavior) = INPUT_ONLY]; + * * @param value The password to set. * @return This builder for chaining. */ - public Builder setPassword( - java.lang.String value) { + public Builder setPassword(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + password_ = value; onChanged(); return this; } /** + * + * *
      * Input only. The credentials password. This is write only and can not be
      * read in a GET operation.
      * 
* * string password = 2 [(.google.api.field_behavior) = INPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearPassword() { - + password_ = getDefaultInstance().getPassword(); onChanged(); return this; } /** + * + * *
      * Input only. The credentials password. This is write only and can not be
      * read in a GET operation.
      * 
* * string password = 2 [(.google.api.field_behavior) = INPUT_ONLY]; + * * @param value The bytes for password to set. * @return This builder for chaining. */ - public Builder setPasswordBytes( - com.google.protobuf.ByteString value) { + public Builder setPasswordBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + password_ = value; onChanged(); return this; @@ -858,18 +922,20 @@ public Builder setPasswordBytes( private java.lang.Object vcenterIp_ = ""; /** + * + * *
      * The ip address of the vcenter this Source represents.
      * 
* * string vcenter_ip = 3; + * * @return The vcenterIp. */ public java.lang.String getVcenterIp() { java.lang.Object ref = vcenterIp_; 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(); vcenterIp_ = s; return s; @@ -878,20 +944,21 @@ public java.lang.String getVcenterIp() { } } /** + * + * *
      * The ip address of the vcenter this Source represents.
      * 
* * string vcenter_ip = 3; + * * @return The bytes for vcenterIp. */ - public com.google.protobuf.ByteString - getVcenterIpBytes() { + public com.google.protobuf.ByteString getVcenterIpBytes() { java.lang.Object ref = vcenterIp_; 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); vcenterIp_ = b; return b; } else { @@ -899,54 +966,61 @@ public java.lang.String getVcenterIp() { } } /** + * + * *
      * The ip address of the vcenter this Source represents.
      * 
* * string vcenter_ip = 3; + * * @param value The vcenterIp to set. * @return This builder for chaining. */ - public Builder setVcenterIp( - java.lang.String value) { + public Builder setVcenterIp(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + vcenterIp_ = value; onChanged(); return this; } /** + * + * *
      * The ip address of the vcenter this Source represents.
      * 
* * string vcenter_ip = 3; + * * @return This builder for chaining. */ public Builder clearVcenterIp() { - + vcenterIp_ = getDefaultInstance().getVcenterIp(); onChanged(); return this; } /** + * + * *
      * The ip address of the vcenter this Source represents.
      * 
* * string vcenter_ip = 3; + * * @param value The bytes for vcenterIp to set. * @return This builder for chaining. */ - public Builder setVcenterIpBytes( - com.google.protobuf.ByteString value) { + public Builder setVcenterIpBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + vcenterIp_ = value; onChanged(); return this; @@ -954,18 +1028,20 @@ public Builder setVcenterIpBytes( private java.lang.Object thumbprint_ = ""; /** + * + * *
      * The thumbprint representing the certificate for the vcenter.
      * 
* * string thumbprint = 4; + * * @return The thumbprint. */ public java.lang.String getThumbprint() { java.lang.Object ref = thumbprint_; 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(); thumbprint_ = s; return s; @@ -974,20 +1050,21 @@ public java.lang.String getThumbprint() { } } /** + * + * *
      * The thumbprint representing the certificate for the vcenter.
      * 
* * string thumbprint = 4; + * * @return The bytes for thumbprint. */ - public com.google.protobuf.ByteString - getThumbprintBytes() { + public com.google.protobuf.ByteString getThumbprintBytes() { java.lang.Object ref = thumbprint_; 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); thumbprint_ = b; return b; } else { @@ -995,61 +1072,68 @@ public java.lang.String getThumbprint() { } } /** + * + * *
      * The thumbprint representing the certificate for the vcenter.
      * 
* * string thumbprint = 4; + * * @param value The thumbprint to set. * @return This builder for chaining. */ - public Builder setThumbprint( - java.lang.String value) { + public Builder setThumbprint(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + thumbprint_ = value; onChanged(); return this; } /** + * + * *
      * The thumbprint representing the certificate for the vcenter.
      * 
* * string thumbprint = 4; + * * @return This builder for chaining. */ public Builder clearThumbprint() { - + thumbprint_ = getDefaultInstance().getThumbprint(); onChanged(); return this; } /** + * + * *
      * The thumbprint representing the certificate for the vcenter.
      * 
* * string thumbprint = 4; + * * @param value The bytes for thumbprint to set. * @return This builder for chaining. */ - public Builder setThumbprintBytes( - com.google.protobuf.ByteString value) { + public Builder setThumbprintBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + thumbprint_ = 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); } @@ -1059,12 +1143,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.vmmigration.v1.VmwareSourceDetails) } // @@protoc_insertion_point(class_scope:google.cloud.vmmigration.v1.VmwareSourceDetails) private static final com.google.cloud.vmmigration.v1.VmwareSourceDetails DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.vmmigration.v1.VmwareSourceDetails(); } @@ -1073,16 +1157,16 @@ public static com.google.cloud.vmmigration.v1.VmwareSourceDetails getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public VmwareSourceDetails parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new VmwareSourceDetails(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public VmwareSourceDetails parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new VmwareSourceDetails(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1097,6 +1181,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.vmmigration.v1.VmwareSourceDetails getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/VmwareSourceDetailsOrBuilder.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/VmwareSourceDetailsOrBuilder.java similarity index 66% rename from owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/VmwareSourceDetailsOrBuilder.java rename to proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/VmwareSourceDetailsOrBuilder.java index c85f59e..28517f7 100644 --- a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/VmwareSourceDetailsOrBuilder.java +++ b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/VmwareSourceDetailsOrBuilder.java @@ -1,91 +1,127 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; -public interface VmwareSourceDetailsOrBuilder extends +public interface VmwareSourceDetailsOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.VmwareSourceDetails) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The credentials username.
    * 
* * string username = 1; + * * @return The username. */ java.lang.String getUsername(); /** + * + * *
    * The credentials username.
    * 
* * string username = 1; + * * @return The bytes for username. */ - com.google.protobuf.ByteString - getUsernameBytes(); + com.google.protobuf.ByteString getUsernameBytes(); /** + * + * *
    * Input only. The credentials password. This is write only and can not be
    * read in a GET operation.
    * 
* * string password = 2 [(.google.api.field_behavior) = INPUT_ONLY]; + * * @return The password. */ java.lang.String getPassword(); /** + * + * *
    * Input only. The credentials password. This is write only and can not be
    * read in a GET operation.
    * 
* * string password = 2 [(.google.api.field_behavior) = INPUT_ONLY]; + * * @return The bytes for password. */ - com.google.protobuf.ByteString - getPasswordBytes(); + com.google.protobuf.ByteString getPasswordBytes(); /** + * + * *
    * The ip address of the vcenter this Source represents.
    * 
* * string vcenter_ip = 3; + * * @return The vcenterIp. */ java.lang.String getVcenterIp(); /** + * + * *
    * The ip address of the vcenter this Source represents.
    * 
* * string vcenter_ip = 3; + * * @return The bytes for vcenterIp. */ - com.google.protobuf.ByteString - getVcenterIpBytes(); + com.google.protobuf.ByteString getVcenterIpBytes(); /** + * + * *
    * The thumbprint representing the certificate for the vcenter.
    * 
* * string thumbprint = 4; + * * @return The thumbprint. */ java.lang.String getThumbprint(); /** + * + * *
    * The thumbprint representing the certificate for the vcenter.
    * 
* * string thumbprint = 4; + * * @return The bytes for thumbprint. */ - com.google.protobuf.ByteString - getThumbprintBytes(); + com.google.protobuf.ByteString getThumbprintBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/VmwareVmDetails.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/VmwareVmDetails.java similarity index 73% rename from owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/VmwareVmDetails.java rename to proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/VmwareVmDetails.java index 68e937f..5cdd4b7 100644 --- a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/VmwareVmDetails.java +++ b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/VmwareVmDetails.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; /** + * + * *
  * VmwareVmDetails describes a VM in vCenter.
  * 
* * Protobuf type {@code google.cloud.vmmigration.v1.VmwareVmDetails} */ -public final class VmwareVmDetails extends - com.google.protobuf.GeneratedMessageV3 implements +public final class VmwareVmDetails extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.vmmigration.v1.VmwareVmDetails) VmwareVmDetailsOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use VmwareVmDetails.newBuilder() to construct. private VmwareVmDetails(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private VmwareVmDetails() { vmId_ = ""; datacenterId_ = ""; @@ -32,16 +50,15 @@ private VmwareVmDetails() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new VmwareVmDetails(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private VmwareVmDetails( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -60,81 +77,89 @@ private VmwareVmDetails( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - vmId_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - - datacenterId_ = s; - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - - datacenterDescription_ = s; - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - uuid_ = s; - break; - } - case 42: { - java.lang.String s = input.readStringRequireUtf8(); - - displayName_ = s; - break; - } - case 48: { - int rawValue = input.readEnum(); + vmId_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - powerState_ = rawValue; - break; - } - case 56: { + datacenterId_ = s; + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - cpuCount_ = input.readInt32(); - break; - } - case 64: { + datacenterDescription_ = s; + break; + } + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); - memoryMb_ = input.readInt32(); - break; - } - case 72: { + uuid_ = s; + break; + } + case 42: + { + java.lang.String s = input.readStringRequireUtf8(); - diskCount_ = input.readInt32(); - break; - } - case 90: { - java.lang.String s = input.readStringRequireUtf8(); + displayName_ = s; + break; + } + case 48: + { + int rawValue = input.readEnum(); - guestDescription_ = s; - break; - } - case 96: { + powerState_ = rawValue; + break; + } + case 56: + { + cpuCount_ = input.readInt32(); + break; + } + case 64: + { + memoryMb_ = input.readInt32(); + break; + } + case 72: + { + diskCount_ = input.readInt32(); + break; + } + case 90: + { + java.lang.String s = input.readStringRequireUtf8(); - committedStorageMb_ = input.readInt64(); - break; - } - case 104: { - int rawValue = input.readEnum(); + guestDescription_ = s; + break; + } + case 96: + { + committedStorageMb_ = input.readInt64(); + break; + } + case 104: + { + int rawValue = input.readEnum(); - bootOption_ = rawValue; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + bootOption_ = rawValue; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -142,36 +167,41 @@ private VmwareVmDetails( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_VmwareVmDetails_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_VmwareVmDetails_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_VmwareVmDetails_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_VmwareVmDetails_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.VmwareVmDetails.class, com.google.cloud.vmmigration.v1.VmwareVmDetails.Builder.class); + com.google.cloud.vmmigration.v1.VmwareVmDetails.class, + com.google.cloud.vmmigration.v1.VmwareVmDetails.Builder.class); } /** + * + * *
    * Possible values for the power state of the VM.
    * 
* * Protobuf enum {@code google.cloud.vmmigration.v1.VmwareVmDetails.PowerState} */ - public enum PowerState - implements com.google.protobuf.ProtocolMessageEnum { + public enum PowerState implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Power state is not specified.
      * 
@@ -180,6 +210,8 @@ public enum PowerState */ POWER_STATE_UNSPECIFIED(0), /** + * + * *
      * The VM is turned ON.
      * 
@@ -188,6 +220,8 @@ public enum PowerState */ ON(1), /** + * + * *
      * The VM is turned OFF.
      * 
@@ -196,6 +230,8 @@ public enum PowerState */ OFF(2), /** + * + * *
      * The VM is suspended. This is similar to hibernation or sleep mode.
      * 
@@ -207,6 +243,8 @@ public enum PowerState ; /** + * + * *
      * Power state is not specified.
      * 
@@ -215,6 +253,8 @@ public enum PowerState */ public static final int POWER_STATE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * The VM is turned ON.
      * 
@@ -223,6 +263,8 @@ public enum PowerState */ public static final int ON_VALUE = 1; /** + * + * *
      * The VM is turned OFF.
      * 
@@ -231,6 +273,8 @@ public enum PowerState */ public static final int OFF_VALUE = 2; /** + * + * *
      * The VM is suspended. This is similar to hibernation or sleep mode.
      * 
@@ -239,7 +283,6 @@ public enum PowerState */ public static final int SUSPENDED_VALUE = 3; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -264,50 +307,51 @@ public static PowerState valueOf(int value) { */ public static PowerState forNumber(int value) { switch (value) { - case 0: return POWER_STATE_UNSPECIFIED; - case 1: return ON; - case 2: return OFF; - case 3: return SUSPENDED; - default: return null; + case 0: + return POWER_STATE_UNSPECIFIED; + case 1: + return ON; + case 2: + return OFF; + case 3: + return SUSPENDED; + 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< - PowerState> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public PowerState findValueByNumber(int number) { - return PowerState.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 PowerState findValueByNumber(int number) { + return PowerState.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() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.cloud.vmmigration.v1.VmwareVmDetails.getDescriptor().getEnumTypes().get(0); } private static final PowerState[] VALUES = values(); - public static PowerState valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static PowerState 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; @@ -325,15 +369,18 @@ private PowerState(int value) { } /** + * + * *
    * Possible values for vm boot option.
    * 
* * Protobuf enum {@code google.cloud.vmmigration.v1.VmwareVmDetails.BootOption} */ - public enum BootOption - implements com.google.protobuf.ProtocolMessageEnum { + public enum BootOption implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * The boot option is unknown.
      * 
@@ -342,6 +389,8 @@ public enum BootOption */ BOOT_OPTION_UNSPECIFIED(0), /** + * + * *
      * The boot option is EFI.
      * 
@@ -350,6 +399,8 @@ public enum BootOption */ EFI(1), /** + * + * *
      * The boot option is BIOS.
      * 
@@ -361,6 +412,8 @@ public enum BootOption ; /** + * + * *
      * The boot option is unknown.
      * 
@@ -369,6 +422,8 @@ public enum BootOption */ public static final int BOOT_OPTION_UNSPECIFIED_VALUE = 0; /** + * + * *
      * The boot option is EFI.
      * 
@@ -377,6 +432,8 @@ public enum BootOption */ public static final int EFI_VALUE = 1; /** + * + * *
      * The boot option is BIOS.
      * 
@@ -385,7 +442,6 @@ public enum BootOption */ public static final int BIOS_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -410,49 +466,49 @@ public static BootOption valueOf(int value) { */ public static BootOption forNumber(int value) { switch (value) { - case 0: return BOOT_OPTION_UNSPECIFIED; - case 1: return EFI; - case 2: return BIOS; - default: return null; + case 0: + return BOOT_OPTION_UNSPECIFIED; + case 1: + return EFI; + case 2: + return BIOS; + 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< - BootOption> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public BootOption findValueByNumber(int number) { - return BootOption.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 BootOption findValueByNumber(int number) { + return BootOption.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() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.cloud.vmmigration.v1.VmwareVmDetails.getDescriptor().getEnumTypes().get(1); } private static final BootOption[] VALUES = values(); - public static BootOption valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static BootOption 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; @@ -472,12 +528,15 @@ private BootOption(int value) { public static final int VM_ID_FIELD_NUMBER = 1; private volatile java.lang.Object vmId_; /** + * + * *
    * The VM's id in the source (note that this is not the MigratingVm's id).
    * This is the moref id of the VM.
    * 
* * string vm_id = 1; + * * @return The vmId. */ @java.lang.Override @@ -486,30 +545,30 @@ public java.lang.String getVmId() { 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(); vmId_ = s; return s; } } /** + * + * *
    * The VM's id in the source (note that this is not the MigratingVm's id).
    * This is the moref id of the VM.
    * 
* * string vm_id = 1; + * * @return The bytes for vmId. */ @java.lang.Override - public com.google.protobuf.ByteString - getVmIdBytes() { + public com.google.protobuf.ByteString getVmIdBytes() { java.lang.Object ref = vmId_; 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); vmId_ = b; return b; } else { @@ -520,11 +579,14 @@ public java.lang.String getVmId() { public static final int DATACENTER_ID_FIELD_NUMBER = 2; private volatile java.lang.Object datacenterId_; /** + * + * *
    * The id of the vCenter's datacenter this VM is contained in.
    * 
* * string datacenter_id = 2; + * * @return The datacenterId. */ @java.lang.Override @@ -533,29 +595,29 @@ public java.lang.String getDatacenterId() { 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(); datacenterId_ = s; return s; } } /** + * + * *
    * The id of the vCenter's datacenter this VM is contained in.
    * 
* * string datacenter_id = 2; + * * @return The bytes for datacenterId. */ @java.lang.Override - public com.google.protobuf.ByteString - getDatacenterIdBytes() { + public com.google.protobuf.ByteString getDatacenterIdBytes() { java.lang.Object ref = datacenterId_; 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); datacenterId_ = b; return b; } else { @@ -566,11 +628,14 @@ public java.lang.String getDatacenterId() { public static final int DATACENTER_DESCRIPTION_FIELD_NUMBER = 3; private volatile java.lang.Object datacenterDescription_; /** + * + * *
    * The descriptive name of the vCenter's datacenter this VM is contained in.
    * 
* * string datacenter_description = 3; + * * @return The datacenterDescription. */ @java.lang.Override @@ -579,29 +644,29 @@ public java.lang.String getDatacenterDescription() { 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(); datacenterDescription_ = s; return s; } } /** + * + * *
    * The descriptive name of the vCenter's datacenter this VM is contained in.
    * 
* * string datacenter_description = 3; + * * @return The bytes for datacenterDescription. */ @java.lang.Override - public com.google.protobuf.ByteString - getDatacenterDescriptionBytes() { + public com.google.protobuf.ByteString getDatacenterDescriptionBytes() { java.lang.Object ref = datacenterDescription_; 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); datacenterDescription_ = b; return b; } else { @@ -612,11 +677,14 @@ public java.lang.String getDatacenterDescription() { public static final int UUID_FIELD_NUMBER = 4; private volatile java.lang.Object uuid_; /** + * + * *
    * The unique identifier of the VM in vCenter.
    * 
* * string uuid = 4; + * * @return The uuid. */ @java.lang.Override @@ -625,29 +693,29 @@ public java.lang.String getUuid() { 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(); uuid_ = s; return s; } } /** + * + * *
    * The unique identifier of the VM in vCenter.
    * 
* * string uuid = 4; + * * @return The bytes for uuid. */ @java.lang.Override - public com.google.protobuf.ByteString - getUuidBytes() { + public com.google.protobuf.ByteString getUuidBytes() { java.lang.Object ref = uuid_; 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); uuid_ = b; return b; } else { @@ -658,11 +726,14 @@ public java.lang.String getUuid() { public static final int DISPLAY_NAME_FIELD_NUMBER = 5; private volatile java.lang.Object displayName_; /** + * + * *
    * The display name of the VM. Note that this is not necessarily unique.
    * 
* * string display_name = 5; + * * @return The displayName. */ @java.lang.Override @@ -671,29 +742,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; } } /** + * + * *
    * The display name of the VM. Note that this is not necessarily unique.
    * 
* * string display_name = 5; + * * @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 { @@ -704,38 +775,52 @@ public java.lang.String getDisplayName() { public static final int POWER_STATE_FIELD_NUMBER = 6; private int powerState_; /** + * + * *
    * The power state of the VM at the moment list was taken.
    * 
* * .google.cloud.vmmigration.v1.VmwareVmDetails.PowerState power_state = 6; + * * @return The enum numeric value on the wire for powerState. */ - @java.lang.Override public int getPowerStateValue() { + @java.lang.Override + public int getPowerStateValue() { return powerState_; } /** + * + * *
    * The power state of the VM at the moment list was taken.
    * 
* * .google.cloud.vmmigration.v1.VmwareVmDetails.PowerState power_state = 6; + * * @return The powerState. */ - @java.lang.Override public com.google.cloud.vmmigration.v1.VmwareVmDetails.PowerState getPowerState() { + @java.lang.Override + public com.google.cloud.vmmigration.v1.VmwareVmDetails.PowerState getPowerState() { @SuppressWarnings("deprecation") - com.google.cloud.vmmigration.v1.VmwareVmDetails.PowerState result = com.google.cloud.vmmigration.v1.VmwareVmDetails.PowerState.valueOf(powerState_); - return result == null ? com.google.cloud.vmmigration.v1.VmwareVmDetails.PowerState.UNRECOGNIZED : result; + com.google.cloud.vmmigration.v1.VmwareVmDetails.PowerState result = + com.google.cloud.vmmigration.v1.VmwareVmDetails.PowerState.valueOf(powerState_); + return result == null + ? com.google.cloud.vmmigration.v1.VmwareVmDetails.PowerState.UNRECOGNIZED + : result; } public static final int CPU_COUNT_FIELD_NUMBER = 7; private int cpuCount_; /** + * + * *
    * The number of cpus in the VM.
    * 
* * int32 cpu_count = 7; + * * @return The cpuCount. */ @java.lang.Override @@ -746,11 +831,14 @@ public int getCpuCount() { public static final int MEMORY_MB_FIELD_NUMBER = 8; private int memoryMb_; /** + * + * *
    * The size of the memory of the VM in MB.
    * 
* * int32 memory_mb = 8; + * * @return The memoryMb. */ @java.lang.Override @@ -761,11 +849,14 @@ public int getMemoryMb() { public static final int DISK_COUNT_FIELD_NUMBER = 9; private int diskCount_; /** + * + * *
    * The number of disks the VM has.
    * 
* * int32 disk_count = 9; + * * @return The diskCount. */ @java.lang.Override @@ -776,11 +867,14 @@ public int getDiskCount() { public static final int COMMITTED_STORAGE_MB_FIELD_NUMBER = 12; private long committedStorageMb_; /** + * + * *
    * The total size of the storage allocated to the VM in MB.
    * 
* * int64 committed_storage_mb = 12; + * * @return The committedStorageMb. */ @java.lang.Override @@ -791,6 +885,8 @@ public long getCommittedStorageMb() { public static final int GUEST_DESCRIPTION_FIELD_NUMBER = 11; private volatile java.lang.Object guestDescription_; /** + * + * *
    * The VM's OS. See for example
    * https://vdc-repo.vmware.com/vmwb-repository/dcr-public/da47f910-60ac-438b-8b9b-6122f4d14524/16b7274a-bf8b-4b4c-a05e-746f2aa93c8c/doc/vim.vm.GuestOsDescriptor.GuestOsIdentifier.html
@@ -798,6 +894,7 @@ public long getCommittedStorageMb() {
    * 
* * string guest_description = 11; + * * @return The guestDescription. */ @java.lang.Override @@ -806,14 +903,15 @@ public java.lang.String getGuestDescription() { 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(); guestDescription_ = s; return s; } } /** + * + * *
    * The VM's OS. See for example
    * https://vdc-repo.vmware.com/vmwb-repository/dcr-public/da47f910-60ac-438b-8b9b-6122f4d14524/16b7274a-bf8b-4b4c-a05e-746f2aa93c8c/doc/vim.vm.GuestOsDescriptor.GuestOsIdentifier.html
@@ -821,16 +919,15 @@ public java.lang.String getGuestDescription() {
    * 
* * string guest_description = 11; + * * @return The bytes for guestDescription. */ @java.lang.Override - public com.google.protobuf.ByteString - getGuestDescriptionBytes() { + public com.google.protobuf.ByteString getGuestDescriptionBytes() { java.lang.Object ref = guestDescription_; 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); guestDescription_ = b; return b; } else { @@ -841,31 +938,47 @@ public java.lang.String getGuestDescription() { public static final int BOOT_OPTION_FIELD_NUMBER = 13; private int bootOption_; /** + * + * *
    * Output only. The VM Boot Option.
    * 
* - * .google.cloud.vmmigration.v1.VmwareVmDetails.BootOption boot_option = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.vmmigration.v1.VmwareVmDetails.BootOption boot_option = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for bootOption. */ - @java.lang.Override public int getBootOptionValue() { + @java.lang.Override + public int getBootOptionValue() { return bootOption_; } /** + * + * *
    * Output only. The VM Boot Option.
    * 
* - * .google.cloud.vmmigration.v1.VmwareVmDetails.BootOption boot_option = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.vmmigration.v1.VmwareVmDetails.BootOption boot_option = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The bootOption. */ - @java.lang.Override public com.google.cloud.vmmigration.v1.VmwareVmDetails.BootOption getBootOption() { + @java.lang.Override + public com.google.cloud.vmmigration.v1.VmwareVmDetails.BootOption getBootOption() { @SuppressWarnings("deprecation") - com.google.cloud.vmmigration.v1.VmwareVmDetails.BootOption result = com.google.cloud.vmmigration.v1.VmwareVmDetails.BootOption.valueOf(bootOption_); - return result == null ? com.google.cloud.vmmigration.v1.VmwareVmDetails.BootOption.UNRECOGNIZED : result; + com.google.cloud.vmmigration.v1.VmwareVmDetails.BootOption result = + com.google.cloud.vmmigration.v1.VmwareVmDetails.BootOption.valueOf(bootOption_); + return result == null + ? com.google.cloud.vmmigration.v1.VmwareVmDetails.BootOption.UNRECOGNIZED + : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -877,8 +990,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(vmId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, vmId_); } @@ -894,7 +1006,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, displayName_); } - if (powerState_ != com.google.cloud.vmmigration.v1.VmwareVmDetails.PowerState.POWER_STATE_UNSPECIFIED.getNumber()) { + if (powerState_ + != com.google.cloud.vmmigration.v1.VmwareVmDetails.PowerState.POWER_STATE_UNSPECIFIED + .getNumber()) { output.writeEnum(6, powerState_); } if (cpuCount_ != 0) { @@ -912,7 +1026,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (committedStorageMb_ != 0L) { output.writeInt64(12, committedStorageMb_); } - if (bootOption_ != com.google.cloud.vmmigration.v1.VmwareVmDetails.BootOption.BOOT_OPTION_UNSPECIFIED.getNumber()) { + if (bootOption_ + != com.google.cloud.vmmigration.v1.VmwareVmDetails.BootOption.BOOT_OPTION_UNSPECIFIED + .getNumber()) { output.writeEnum(13, bootOption_); } unknownFields.writeTo(output); @@ -939,32 +1055,30 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, displayName_); } - if (powerState_ != com.google.cloud.vmmigration.v1.VmwareVmDetails.PowerState.POWER_STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(6, powerState_); + if (powerState_ + != com.google.cloud.vmmigration.v1.VmwareVmDetails.PowerState.POWER_STATE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(6, powerState_); } if (cpuCount_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(7, cpuCount_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(7, cpuCount_); } if (memoryMb_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(8, memoryMb_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(8, memoryMb_); } if (diskCount_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(9, diskCount_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(9, diskCount_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(guestDescription_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(11, guestDescription_); } if (committedStorageMb_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(12, committedStorageMb_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(12, committedStorageMb_); } - if (bootOption_ != com.google.cloud.vmmigration.v1.VmwareVmDetails.BootOption.BOOT_OPTION_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(13, bootOption_); + if (bootOption_ + != com.google.cloud.vmmigration.v1.VmwareVmDetails.BootOption.BOOT_OPTION_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(13, bootOption_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -974,34 +1088,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.vmmigration.v1.VmwareVmDetails)) { return super.equals(obj); } - com.google.cloud.vmmigration.v1.VmwareVmDetails other = (com.google.cloud.vmmigration.v1.VmwareVmDetails) obj; - - if (!getVmId() - .equals(other.getVmId())) return false; - if (!getDatacenterId() - .equals(other.getDatacenterId())) return false; - if (!getDatacenterDescription() - .equals(other.getDatacenterDescription())) return false; - if (!getUuid() - .equals(other.getUuid())) return false; - if (!getDisplayName() - .equals(other.getDisplayName())) return false; + com.google.cloud.vmmigration.v1.VmwareVmDetails other = + (com.google.cloud.vmmigration.v1.VmwareVmDetails) obj; + + if (!getVmId().equals(other.getVmId())) return false; + if (!getDatacenterId().equals(other.getDatacenterId())) return false; + if (!getDatacenterDescription().equals(other.getDatacenterDescription())) return false; + if (!getUuid().equals(other.getUuid())) return false; + if (!getDisplayName().equals(other.getDisplayName())) return false; if (powerState_ != other.powerState_) return false; - if (getCpuCount() - != other.getCpuCount()) return false; - if (getMemoryMb() - != other.getMemoryMb()) return false; - if (getDiskCount() - != other.getDiskCount()) return false; - if (getCommittedStorageMb() - != other.getCommittedStorageMb()) return false; - if (!getGuestDescription() - .equals(other.getGuestDescription())) return false; + if (getCpuCount() != other.getCpuCount()) return false; + if (getMemoryMb() != other.getMemoryMb()) return false; + if (getDiskCount() != other.getDiskCount()) return false; + if (getCommittedStorageMb() != other.getCommittedStorageMb()) return false; + if (!getGuestDescription().equals(other.getGuestDescription())) return false; if (bootOption_ != other.bootOption_) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -1033,8 +1138,7 @@ public int hashCode() { hash = (37 * hash) + DISK_COUNT_FIELD_NUMBER; hash = (53 * hash) + getDiskCount(); hash = (37 * hash) + COMMITTED_STORAGE_MB_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getCommittedStorageMb()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getCommittedStorageMb()); hash = (37 * hash) + GUEST_DESCRIPTION_FIELD_NUMBER; hash = (53 * hash) + getGuestDescription().hashCode(); hash = (37 * hash) + BOOT_OPTION_FIELD_NUMBER; @@ -1044,118 +1148,127 @@ public int hashCode() { return hash; } - public static com.google.cloud.vmmigration.v1.VmwareVmDetails parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.vmmigration.v1.VmwareVmDetails parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.vmmigration.v1.VmwareVmDetails 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.vmmigration.v1.VmwareVmDetails parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.vmmigration.v1.VmwareVmDetails 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.vmmigration.v1.VmwareVmDetails parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.vmmigration.v1.VmwareVmDetails 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.vmmigration.v1.VmwareVmDetails parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.vmmigration.v1.VmwareVmDetails 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.vmmigration.v1.VmwareVmDetails parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.vmmigration.v1.VmwareVmDetails parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.vmmigration.v1.VmwareVmDetails 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.vmmigration.v1.VmwareVmDetails 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.vmmigration.v1.VmwareVmDetails 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.vmmigration.v1.VmwareVmDetails 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; } /** + * + * *
    * VmwareVmDetails describes a VM in vCenter.
    * 
* * Protobuf type {@code google.cloud.vmmigration.v1.VmwareVmDetails} */ - 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.vmmigration.v1.VmwareVmDetails) com.google.cloud.vmmigration.v1.VmwareVmDetailsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_VmwareVmDetails_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_VmwareVmDetails_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_VmwareVmDetails_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_VmwareVmDetails_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.VmwareVmDetails.class, com.google.cloud.vmmigration.v1.VmwareVmDetails.Builder.class); + com.google.cloud.vmmigration.v1.VmwareVmDetails.class, + com.google.cloud.vmmigration.v1.VmwareVmDetails.Builder.class); } // Construct using com.google.cloud.vmmigration.v1.VmwareVmDetails.newBuilder() @@ -1163,16 +1276,15 @@ 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) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -1204,9 +1316,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_VmwareVmDetails_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_VmwareVmDetails_descriptor; } @java.lang.Override @@ -1225,7 +1337,8 @@ public com.google.cloud.vmmigration.v1.VmwareVmDetails build() { @java.lang.Override public com.google.cloud.vmmigration.v1.VmwareVmDetails buildPartial() { - com.google.cloud.vmmigration.v1.VmwareVmDetails result = new com.google.cloud.vmmigration.v1.VmwareVmDetails(this); + com.google.cloud.vmmigration.v1.VmwareVmDetails result = + new com.google.cloud.vmmigration.v1.VmwareVmDetails(this); result.vmId_ = vmId_; result.datacenterId_ = datacenterId_; result.datacenterDescription_ = datacenterDescription_; @@ -1246,38 +1359,39 @@ public com.google.cloud.vmmigration.v1.VmwareVmDetails buildPartial() { 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.vmmigration.v1.VmwareVmDetails) { - return mergeFrom((com.google.cloud.vmmigration.v1.VmwareVmDetails)other); + return mergeFrom((com.google.cloud.vmmigration.v1.VmwareVmDetails) other); } else { super.mergeFrom(other); return this; @@ -1285,7 +1399,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.vmmigration.v1.VmwareVmDetails other) { - if (other == com.google.cloud.vmmigration.v1.VmwareVmDetails.getDefaultInstance()) return this; + if (other == com.google.cloud.vmmigration.v1.VmwareVmDetails.getDefaultInstance()) + return this; if (!other.getVmId().isEmpty()) { vmId_ = other.vmId_; onChanged(); @@ -1359,19 +1474,21 @@ public Builder mergeFrom( private java.lang.Object vmId_ = ""; /** + * + * *
      * The VM's id in the source (note that this is not the MigratingVm's id).
      * This is the moref id of the VM.
      * 
* * string vm_id = 1; + * * @return The vmId. */ public java.lang.String getVmId() { java.lang.Object ref = vmId_; 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(); vmId_ = s; return s; @@ -1380,21 +1497,22 @@ public java.lang.String getVmId() { } } /** + * + * *
      * The VM's id in the source (note that this is not the MigratingVm's id).
      * This is the moref id of the VM.
      * 
* * string vm_id = 1; + * * @return The bytes for vmId. */ - public com.google.protobuf.ByteString - getVmIdBytes() { + public com.google.protobuf.ByteString getVmIdBytes() { java.lang.Object ref = vmId_; 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); vmId_ = b; return b; } else { @@ -1402,57 +1520,64 @@ public java.lang.String getVmId() { } } /** + * + * *
      * The VM's id in the source (note that this is not the MigratingVm's id).
      * This is the moref id of the VM.
      * 
* * string vm_id = 1; + * * @param value The vmId to set. * @return This builder for chaining. */ - public Builder setVmId( - java.lang.String value) { + public Builder setVmId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + vmId_ = value; onChanged(); return this; } /** + * + * *
      * The VM's id in the source (note that this is not the MigratingVm's id).
      * This is the moref id of the VM.
      * 
* * string vm_id = 1; + * * @return This builder for chaining. */ public Builder clearVmId() { - + vmId_ = getDefaultInstance().getVmId(); onChanged(); return this; } /** + * + * *
      * The VM's id in the source (note that this is not the MigratingVm's id).
      * This is the moref id of the VM.
      * 
* * string vm_id = 1; + * * @param value The bytes for vmId to set. * @return This builder for chaining. */ - public Builder setVmIdBytes( - com.google.protobuf.ByteString value) { + public Builder setVmIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + vmId_ = value; onChanged(); return this; @@ -1460,18 +1585,20 @@ public Builder setVmIdBytes( private java.lang.Object datacenterId_ = ""; /** + * + * *
      * The id of the vCenter's datacenter this VM is contained in.
      * 
* * string datacenter_id = 2; + * * @return The datacenterId. */ public java.lang.String getDatacenterId() { java.lang.Object ref = datacenterId_; 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(); datacenterId_ = s; return s; @@ -1480,20 +1607,21 @@ public java.lang.String getDatacenterId() { } } /** + * + * *
      * The id of the vCenter's datacenter this VM is contained in.
      * 
* * string datacenter_id = 2; + * * @return The bytes for datacenterId. */ - public com.google.protobuf.ByteString - getDatacenterIdBytes() { + public com.google.protobuf.ByteString getDatacenterIdBytes() { java.lang.Object ref = datacenterId_; 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); datacenterId_ = b; return b; } else { @@ -1501,54 +1629,61 @@ public java.lang.String getDatacenterId() { } } /** + * + * *
      * The id of the vCenter's datacenter this VM is contained in.
      * 
* * string datacenter_id = 2; + * * @param value The datacenterId to set. * @return This builder for chaining. */ - public Builder setDatacenterId( - java.lang.String value) { + public Builder setDatacenterId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + datacenterId_ = value; onChanged(); return this; } /** + * + * *
      * The id of the vCenter's datacenter this VM is contained in.
      * 
* * string datacenter_id = 2; + * * @return This builder for chaining. */ public Builder clearDatacenterId() { - + datacenterId_ = getDefaultInstance().getDatacenterId(); onChanged(); return this; } /** + * + * *
      * The id of the vCenter's datacenter this VM is contained in.
      * 
* * string datacenter_id = 2; + * * @param value The bytes for datacenterId to set. * @return This builder for chaining. */ - public Builder setDatacenterIdBytes( - com.google.protobuf.ByteString value) { + public Builder setDatacenterIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + datacenterId_ = value; onChanged(); return this; @@ -1556,18 +1691,20 @@ public Builder setDatacenterIdBytes( private java.lang.Object datacenterDescription_ = ""; /** + * + * *
      * The descriptive name of the vCenter's datacenter this VM is contained in.
      * 
* * string datacenter_description = 3; + * * @return The datacenterDescription. */ public java.lang.String getDatacenterDescription() { java.lang.Object ref = datacenterDescription_; 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(); datacenterDescription_ = s; return s; @@ -1576,20 +1713,21 @@ public java.lang.String getDatacenterDescription() { } } /** + * + * *
      * The descriptive name of the vCenter's datacenter this VM is contained in.
      * 
* * string datacenter_description = 3; + * * @return The bytes for datacenterDescription. */ - public com.google.protobuf.ByteString - getDatacenterDescriptionBytes() { + public com.google.protobuf.ByteString getDatacenterDescriptionBytes() { java.lang.Object ref = datacenterDescription_; 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); datacenterDescription_ = b; return b; } else { @@ -1597,54 +1735,61 @@ public java.lang.String getDatacenterDescription() { } } /** + * + * *
      * The descriptive name of the vCenter's datacenter this VM is contained in.
      * 
* * string datacenter_description = 3; + * * @param value The datacenterDescription to set. * @return This builder for chaining. */ - public Builder setDatacenterDescription( - java.lang.String value) { + public Builder setDatacenterDescription(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + datacenterDescription_ = value; onChanged(); return this; } /** + * + * *
      * The descriptive name of the vCenter's datacenter this VM is contained in.
      * 
* * string datacenter_description = 3; + * * @return This builder for chaining. */ public Builder clearDatacenterDescription() { - + datacenterDescription_ = getDefaultInstance().getDatacenterDescription(); onChanged(); return this; } /** + * + * *
      * The descriptive name of the vCenter's datacenter this VM is contained in.
      * 
* * string datacenter_description = 3; + * * @param value The bytes for datacenterDescription to set. * @return This builder for chaining. */ - public Builder setDatacenterDescriptionBytes( - com.google.protobuf.ByteString value) { + public Builder setDatacenterDescriptionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + datacenterDescription_ = value; onChanged(); return this; @@ -1652,18 +1797,20 @@ public Builder setDatacenterDescriptionBytes( private java.lang.Object uuid_ = ""; /** + * + * *
      * The unique identifier of the VM in vCenter.
      * 
* * string uuid = 4; + * * @return The uuid. */ public java.lang.String getUuid() { java.lang.Object ref = uuid_; 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(); uuid_ = s; return s; @@ -1672,20 +1819,21 @@ public java.lang.String getUuid() { } } /** + * + * *
      * The unique identifier of the VM in vCenter.
      * 
* * string uuid = 4; + * * @return The bytes for uuid. */ - public com.google.protobuf.ByteString - getUuidBytes() { + public com.google.protobuf.ByteString getUuidBytes() { java.lang.Object ref = uuid_; 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); uuid_ = b; return b; } else { @@ -1693,54 +1841,61 @@ public java.lang.String getUuid() { } } /** + * + * *
      * The unique identifier of the VM in vCenter.
      * 
* * string uuid = 4; + * * @param value The uuid to set. * @return This builder for chaining. */ - public Builder setUuid( - java.lang.String value) { + public Builder setUuid(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + uuid_ = value; onChanged(); return this; } /** + * + * *
      * The unique identifier of the VM in vCenter.
      * 
* * string uuid = 4; + * * @return This builder for chaining. */ public Builder clearUuid() { - + uuid_ = getDefaultInstance().getUuid(); onChanged(); return this; } /** + * + * *
      * The unique identifier of the VM in vCenter.
      * 
* * string uuid = 4; + * * @param value The bytes for uuid to set. * @return This builder for chaining. */ - public Builder setUuidBytes( - com.google.protobuf.ByteString value) { + public Builder setUuidBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + uuid_ = value; onChanged(); return this; @@ -1748,18 +1903,20 @@ public Builder setUuidBytes( private java.lang.Object displayName_ = ""; /** + * + * *
      * The display name of the VM. Note that this is not necessarily unique.
      * 
* * string display_name = 5; + * * @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; @@ -1768,20 +1925,21 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * The display name of the VM. Note that this is not necessarily unique.
      * 
* * string display_name = 5; + * * @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 { @@ -1789,54 +1947,61 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * The display name of the VM. Note that this is not necessarily unique.
      * 
* * string display_name = 5; + * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName( - java.lang.String value) { + public Builder setDisplayName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; onChanged(); return this; } /** + * + * *
      * The display name of the VM. Note that this is not necessarily unique.
      * 
* * string display_name = 5; + * * @return This builder for chaining. */ public Builder clearDisplayName() { - + displayName_ = getDefaultInstance().getDisplayName(); onChanged(); return this; } /** + * + * *
      * The display name of the VM. Note that this is not necessarily unique.
      * 
* * string display_name = 5; + * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes( - com.google.protobuf.ByteString value) { + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; onChanged(); return this; @@ -1844,51 +2009,67 @@ public Builder setDisplayNameBytes( private int powerState_ = 0; /** + * + * *
      * The power state of the VM at the moment list was taken.
      * 
* * .google.cloud.vmmigration.v1.VmwareVmDetails.PowerState power_state = 6; + * * @return The enum numeric value on the wire for powerState. */ - @java.lang.Override public int getPowerStateValue() { + @java.lang.Override + public int getPowerStateValue() { return powerState_; } /** + * + * *
      * The power state of the VM at the moment list was taken.
      * 
* * .google.cloud.vmmigration.v1.VmwareVmDetails.PowerState power_state = 6; + * * @param value The enum numeric value on the wire for powerState to set. * @return This builder for chaining. */ public Builder setPowerStateValue(int value) { - + powerState_ = value; onChanged(); return this; } /** + * + * *
      * The power state of the VM at the moment list was taken.
      * 
* * .google.cloud.vmmigration.v1.VmwareVmDetails.PowerState power_state = 6; + * * @return The powerState. */ @java.lang.Override public com.google.cloud.vmmigration.v1.VmwareVmDetails.PowerState getPowerState() { @SuppressWarnings("deprecation") - com.google.cloud.vmmigration.v1.VmwareVmDetails.PowerState result = com.google.cloud.vmmigration.v1.VmwareVmDetails.PowerState.valueOf(powerState_); - return result == null ? com.google.cloud.vmmigration.v1.VmwareVmDetails.PowerState.UNRECOGNIZED : result; + com.google.cloud.vmmigration.v1.VmwareVmDetails.PowerState result = + com.google.cloud.vmmigration.v1.VmwareVmDetails.PowerState.valueOf(powerState_); + return result == null + ? com.google.cloud.vmmigration.v1.VmwareVmDetails.PowerState.UNRECOGNIZED + : result; } /** + * + * *
      * The power state of the VM at the moment list was taken.
      * 
* * .google.cloud.vmmigration.v1.VmwareVmDetails.PowerState power_state = 6; + * * @param value The powerState to set. * @return This builder for chaining. */ @@ -1896,33 +2077,39 @@ public Builder setPowerState(com.google.cloud.vmmigration.v1.VmwareVmDetails.Pow if (value == null) { throw new NullPointerException(); } - + powerState_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The power state of the VM at the moment list was taken.
      * 
* * .google.cloud.vmmigration.v1.VmwareVmDetails.PowerState power_state = 6; + * * @return This builder for chaining. */ public Builder clearPowerState() { - + powerState_ = 0; onChanged(); return this; } - private int cpuCount_ ; + private int cpuCount_; /** + * + * *
      * The number of cpus in the VM.
      * 
* * int32 cpu_count = 7; + * * @return The cpuCount. */ @java.lang.Override @@ -1930,42 +2117,51 @@ public int getCpuCount() { return cpuCount_; } /** + * + * *
      * The number of cpus in the VM.
      * 
* * int32 cpu_count = 7; + * * @param value The cpuCount to set. * @return This builder for chaining. */ public Builder setCpuCount(int value) { - + cpuCount_ = value; onChanged(); return this; } /** + * + * *
      * The number of cpus in the VM.
      * 
* * int32 cpu_count = 7; + * * @return This builder for chaining. */ public Builder clearCpuCount() { - + cpuCount_ = 0; onChanged(); return this; } - private int memoryMb_ ; + private int memoryMb_; /** + * + * *
      * The size of the memory of the VM in MB.
      * 
* * int32 memory_mb = 8; + * * @return The memoryMb. */ @java.lang.Override @@ -1973,42 +2169,51 @@ public int getMemoryMb() { return memoryMb_; } /** + * + * *
      * The size of the memory of the VM in MB.
      * 
* * int32 memory_mb = 8; + * * @param value The memoryMb to set. * @return This builder for chaining. */ public Builder setMemoryMb(int value) { - + memoryMb_ = value; onChanged(); return this; } /** + * + * *
      * The size of the memory of the VM in MB.
      * 
* * int32 memory_mb = 8; + * * @return This builder for chaining. */ public Builder clearMemoryMb() { - + memoryMb_ = 0; onChanged(); return this; } - private int diskCount_ ; + private int diskCount_; /** + * + * *
      * The number of disks the VM has.
      * 
* * int32 disk_count = 9; + * * @return The diskCount. */ @java.lang.Override @@ -2016,42 +2221,51 @@ public int getDiskCount() { return diskCount_; } /** + * + * *
      * The number of disks the VM has.
      * 
* * int32 disk_count = 9; + * * @param value The diskCount to set. * @return This builder for chaining. */ public Builder setDiskCount(int value) { - + diskCount_ = value; onChanged(); return this; } /** + * + * *
      * The number of disks the VM has.
      * 
* * int32 disk_count = 9; + * * @return This builder for chaining. */ public Builder clearDiskCount() { - + diskCount_ = 0; onChanged(); return this; } - private long committedStorageMb_ ; + private long committedStorageMb_; /** + * + * *
      * The total size of the storage allocated to the VM in MB.
      * 
* * int64 committed_storage_mb = 12; + * * @return The committedStorageMb. */ @java.lang.Override @@ -2059,30 +2273,36 @@ public long getCommittedStorageMb() { return committedStorageMb_; } /** + * + * *
      * The total size of the storage allocated to the VM in MB.
      * 
* * int64 committed_storage_mb = 12; + * * @param value The committedStorageMb to set. * @return This builder for chaining. */ public Builder setCommittedStorageMb(long value) { - + committedStorageMb_ = value; onChanged(); return this; } /** + * + * *
      * The total size of the storage allocated to the VM in MB.
      * 
* * int64 committed_storage_mb = 12; + * * @return This builder for chaining. */ public Builder clearCommittedStorageMb() { - + committedStorageMb_ = 0L; onChanged(); return this; @@ -2090,6 +2310,8 @@ public Builder clearCommittedStorageMb() { private java.lang.Object guestDescription_ = ""; /** + * + * *
      * The VM's OS. See for example
      * https://vdc-repo.vmware.com/vmwb-repository/dcr-public/da47f910-60ac-438b-8b9b-6122f4d14524/16b7274a-bf8b-4b4c-a05e-746f2aa93c8c/doc/vim.vm.GuestOsDescriptor.GuestOsIdentifier.html
@@ -2097,13 +2319,13 @@ public Builder clearCommittedStorageMb() {
      * 
* * string guest_description = 11; + * * @return The guestDescription. */ public java.lang.String getGuestDescription() { java.lang.Object ref = guestDescription_; 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(); guestDescription_ = s; return s; @@ -2112,6 +2334,8 @@ public java.lang.String getGuestDescription() { } } /** + * + * *
      * The VM's OS. See for example
      * https://vdc-repo.vmware.com/vmwb-repository/dcr-public/da47f910-60ac-438b-8b9b-6122f4d14524/16b7274a-bf8b-4b4c-a05e-746f2aa93c8c/doc/vim.vm.GuestOsDescriptor.GuestOsIdentifier.html
@@ -2119,15 +2343,14 @@ public java.lang.String getGuestDescription() {
      * 
* * string guest_description = 11; + * * @return The bytes for guestDescription. */ - public com.google.protobuf.ByteString - getGuestDescriptionBytes() { + public com.google.protobuf.ByteString getGuestDescriptionBytes() { java.lang.Object ref = guestDescription_; 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); guestDescription_ = b; return b; } else { @@ -2135,6 +2358,8 @@ public java.lang.String getGuestDescription() { } } /** + * + * *
      * The VM's OS. See for example
      * https://vdc-repo.vmware.com/vmwb-repository/dcr-public/da47f910-60ac-438b-8b9b-6122f4d14524/16b7274a-bf8b-4b4c-a05e-746f2aa93c8c/doc/vim.vm.GuestOsDescriptor.GuestOsIdentifier.html
@@ -2142,20 +2367,22 @@ public java.lang.String getGuestDescription() {
      * 
* * string guest_description = 11; + * * @param value The guestDescription to set. * @return This builder for chaining. */ - public Builder setGuestDescription( - java.lang.String value) { + public Builder setGuestDescription(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + guestDescription_ = value; onChanged(); return this; } /** + * + * *
      * The VM's OS. See for example
      * https://vdc-repo.vmware.com/vmwb-repository/dcr-public/da47f910-60ac-438b-8b9b-6122f4d14524/16b7274a-bf8b-4b4c-a05e-746f2aa93c8c/doc/vim.vm.GuestOsDescriptor.GuestOsIdentifier.html
@@ -2163,15 +2390,18 @@ public Builder setGuestDescription(
      * 
* * string guest_description = 11; + * * @return This builder for chaining. */ public Builder clearGuestDescription() { - + guestDescription_ = getDefaultInstance().getGuestDescription(); onChanged(); return this; } /** + * + * *
      * The VM's OS. See for example
      * https://vdc-repo.vmware.com/vmwb-repository/dcr-public/da47f910-60ac-438b-8b9b-6122f4d14524/16b7274a-bf8b-4b4c-a05e-746f2aa93c8c/doc/vim.vm.GuestOsDescriptor.GuestOsIdentifier.html
@@ -2179,16 +2409,16 @@ public Builder clearGuestDescription() {
      * 
* * string guest_description = 11; + * * @param value The bytes for guestDescription to set. * @return This builder for chaining. */ - public Builder setGuestDescriptionBytes( - com.google.protobuf.ByteString value) { + public Builder setGuestDescriptionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + guestDescription_ = value; onChanged(); return this; @@ -2196,51 +2426,75 @@ public Builder setGuestDescriptionBytes( private int bootOption_ = 0; /** + * + * *
      * Output only. The VM Boot Option.
      * 
* - * .google.cloud.vmmigration.v1.VmwareVmDetails.BootOption boot_option = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.vmmigration.v1.VmwareVmDetails.BootOption boot_option = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for bootOption. */ - @java.lang.Override public int getBootOptionValue() { + @java.lang.Override + public int getBootOptionValue() { return bootOption_; } /** + * + * *
      * Output only. The VM Boot Option.
      * 
* - * .google.cloud.vmmigration.v1.VmwareVmDetails.BootOption boot_option = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.vmmigration.v1.VmwareVmDetails.BootOption boot_option = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The enum numeric value on the wire for bootOption to set. * @return This builder for chaining. */ public Builder setBootOptionValue(int value) { - + bootOption_ = value; onChanged(); return this; } /** + * + * *
      * Output only. The VM Boot Option.
      * 
* - * .google.cloud.vmmigration.v1.VmwareVmDetails.BootOption boot_option = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.vmmigration.v1.VmwareVmDetails.BootOption boot_option = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The bootOption. */ @java.lang.Override public com.google.cloud.vmmigration.v1.VmwareVmDetails.BootOption getBootOption() { @SuppressWarnings("deprecation") - com.google.cloud.vmmigration.v1.VmwareVmDetails.BootOption result = com.google.cloud.vmmigration.v1.VmwareVmDetails.BootOption.valueOf(bootOption_); - return result == null ? com.google.cloud.vmmigration.v1.VmwareVmDetails.BootOption.UNRECOGNIZED : result; + com.google.cloud.vmmigration.v1.VmwareVmDetails.BootOption result = + com.google.cloud.vmmigration.v1.VmwareVmDetails.BootOption.valueOf(bootOption_); + return result == null + ? com.google.cloud.vmmigration.v1.VmwareVmDetails.BootOption.UNRECOGNIZED + : result; } /** + * + * *
      * Output only. The VM Boot Option.
      * 
* - * .google.cloud.vmmigration.v1.VmwareVmDetails.BootOption boot_option = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.vmmigration.v1.VmwareVmDetails.BootOption boot_option = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The bootOption to set. * @return This builder for chaining. */ @@ -2248,28 +2502,33 @@ public Builder setBootOption(com.google.cloud.vmmigration.v1.VmwareVmDetails.Boo if (value == null) { throw new NullPointerException(); } - + bootOption_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Output only. The VM Boot Option.
      * 
* - * .google.cloud.vmmigration.v1.VmwareVmDetails.BootOption boot_option = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.vmmigration.v1.VmwareVmDetails.BootOption boot_option = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearBootOption() { - + bootOption_ = 0; 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); } @@ -2279,12 +2538,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.vmmigration.v1.VmwareVmDetails) } // @@protoc_insertion_point(class_scope:google.cloud.vmmigration.v1.VmwareVmDetails) private static final com.google.cloud.vmmigration.v1.VmwareVmDetails DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.vmmigration.v1.VmwareVmDetails(); } @@ -2293,16 +2552,16 @@ public static com.google.cloud.vmmigration.v1.VmwareVmDetails getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public VmwareVmDetails parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new VmwareVmDetails(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public VmwareVmDetails parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new VmwareVmDetails(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2317,6 +2576,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.vmmigration.v1.VmwareVmDetails getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/VmwareVmDetailsOrBuilder.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/VmwareVmDetailsOrBuilder.java similarity index 75% rename from owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/VmwareVmDetailsOrBuilder.java rename to proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/VmwareVmDetailsOrBuilder.java index 9801d57..610f70a 100644 --- a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/VmwareVmDetailsOrBuilder.java +++ b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/VmwareVmDetailsOrBuilder.java @@ -1,174 +1,235 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; -public interface VmwareVmDetailsOrBuilder extends +public interface VmwareVmDetailsOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.VmwareVmDetails) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The VM's id in the source (note that this is not the MigratingVm's id).
    * This is the moref id of the VM.
    * 
* * string vm_id = 1; + * * @return The vmId. */ java.lang.String getVmId(); /** + * + * *
    * The VM's id in the source (note that this is not the MigratingVm's id).
    * This is the moref id of the VM.
    * 
* * string vm_id = 1; + * * @return The bytes for vmId. */ - com.google.protobuf.ByteString - getVmIdBytes(); + com.google.protobuf.ByteString getVmIdBytes(); /** + * + * *
    * The id of the vCenter's datacenter this VM is contained in.
    * 
* * string datacenter_id = 2; + * * @return The datacenterId. */ java.lang.String getDatacenterId(); /** + * + * *
    * The id of the vCenter's datacenter this VM is contained in.
    * 
* * string datacenter_id = 2; + * * @return The bytes for datacenterId. */ - com.google.protobuf.ByteString - getDatacenterIdBytes(); + com.google.protobuf.ByteString getDatacenterIdBytes(); /** + * + * *
    * The descriptive name of the vCenter's datacenter this VM is contained in.
    * 
* * string datacenter_description = 3; + * * @return The datacenterDescription. */ java.lang.String getDatacenterDescription(); /** + * + * *
    * The descriptive name of the vCenter's datacenter this VM is contained in.
    * 
* * string datacenter_description = 3; + * * @return The bytes for datacenterDescription. */ - com.google.protobuf.ByteString - getDatacenterDescriptionBytes(); + com.google.protobuf.ByteString getDatacenterDescriptionBytes(); /** + * + * *
    * The unique identifier of the VM in vCenter.
    * 
* * string uuid = 4; + * * @return The uuid. */ java.lang.String getUuid(); /** + * + * *
    * The unique identifier of the VM in vCenter.
    * 
* * string uuid = 4; + * * @return The bytes for uuid. */ - com.google.protobuf.ByteString - getUuidBytes(); + com.google.protobuf.ByteString getUuidBytes(); /** + * + * *
    * The display name of the VM. Note that this is not necessarily unique.
    * 
* * string display_name = 5; + * * @return The displayName. */ java.lang.String getDisplayName(); /** + * + * *
    * The display name of the VM. Note that this is not necessarily unique.
    * 
* * string display_name = 5; + * * @return The bytes for displayName. */ - com.google.protobuf.ByteString - getDisplayNameBytes(); + com.google.protobuf.ByteString getDisplayNameBytes(); /** + * + * *
    * The power state of the VM at the moment list was taken.
    * 
* * .google.cloud.vmmigration.v1.VmwareVmDetails.PowerState power_state = 6; + * * @return The enum numeric value on the wire for powerState. */ int getPowerStateValue(); /** + * + * *
    * The power state of the VM at the moment list was taken.
    * 
* * .google.cloud.vmmigration.v1.VmwareVmDetails.PowerState power_state = 6; + * * @return The powerState. */ com.google.cloud.vmmigration.v1.VmwareVmDetails.PowerState getPowerState(); /** + * + * *
    * The number of cpus in the VM.
    * 
* * int32 cpu_count = 7; + * * @return The cpuCount. */ int getCpuCount(); /** + * + * *
    * The size of the memory of the VM in MB.
    * 
* * int32 memory_mb = 8; + * * @return The memoryMb. */ int getMemoryMb(); /** + * + * *
    * The number of disks the VM has.
    * 
* * int32 disk_count = 9; + * * @return The diskCount. */ int getDiskCount(); /** + * + * *
    * The total size of the storage allocated to the VM in MB.
    * 
* * int64 committed_storage_mb = 12; + * * @return The committedStorageMb. */ long getCommittedStorageMb(); /** + * + * *
    * The VM's OS. See for example
    * https://vdc-repo.vmware.com/vmwb-repository/dcr-public/da47f910-60ac-438b-8b9b-6122f4d14524/16b7274a-bf8b-4b4c-a05e-746f2aa93c8c/doc/vim.vm.GuestOsDescriptor.GuestOsIdentifier.html
@@ -176,10 +237,13 @@ public interface VmwareVmDetailsOrBuilder extends
    * 
* * string guest_description = 11; + * * @return The guestDescription. */ java.lang.String getGuestDescription(); /** + * + * *
    * The VM's OS. See for example
    * https://vdc-repo.vmware.com/vmwb-repository/dcr-public/da47f910-60ac-438b-8b9b-6122f4d14524/16b7274a-bf8b-4b4c-a05e-746f2aa93c8c/doc/vim.vm.GuestOsDescriptor.GuestOsIdentifier.html
@@ -187,26 +251,36 @@ public interface VmwareVmDetailsOrBuilder extends
    * 
* * string guest_description = 11; + * * @return The bytes for guestDescription. */ - com.google.protobuf.ByteString - getGuestDescriptionBytes(); + com.google.protobuf.ByteString getGuestDescriptionBytes(); /** + * + * *
    * Output only. The VM Boot Option.
    * 
* - * .google.cloud.vmmigration.v1.VmwareVmDetails.BootOption boot_option = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.vmmigration.v1.VmwareVmDetails.BootOption boot_option = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for bootOption. */ int getBootOptionValue(); /** + * + * *
    * Output only. The VM Boot Option.
    * 
* - * .google.cloud.vmmigration.v1.VmwareVmDetails.BootOption boot_option = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.vmmigration.v1.VmwareVmDetails.BootOption boot_option = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The bootOption. */ com.google.cloud.vmmigration.v1.VmwareVmDetails.BootOption getBootOption(); diff --git a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/VmwareVmsDetails.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/VmwareVmsDetails.java similarity index 72% rename from owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/VmwareVmsDetails.java rename to proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/VmwareVmsDetails.java index 68c193e..ca98632 100644 --- a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/VmwareVmsDetails.java +++ b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/VmwareVmsDetails.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; /** + * + * *
  * VmwareVmsDetails describes VMs in vCenter.
  * 
* * Protobuf type {@code google.cloud.vmmigration.v1.VmwareVmsDetails} */ -public final class VmwareVmsDetails extends - com.google.protobuf.GeneratedMessageV3 implements +public final class VmwareVmsDetails extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.vmmigration.v1.VmwareVmsDetails) VmwareVmsDetailsOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use VmwareVmsDetails.newBuilder() to construct. private VmwareVmsDetails(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private VmwareVmsDetails() { details_ = 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 VmwareVmsDetails(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private VmwareVmsDetails( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,22 +71,25 @@ private VmwareVmsDetails( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - details_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + details_ = + new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + details_.add( + input.readMessage( + com.google.cloud.vmmigration.v1.VmwareVmDetails.parser(), extensionRegistry)); + break; } - details_.add( - input.readMessage(com.google.cloud.vmmigration.v1.VmwareVmDetails.parser(), extensionRegistry)); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -77,8 +97,7 @@ private VmwareVmsDetails( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { details_ = java.util.Collections.unmodifiableList(details_); @@ -87,22 +106,27 @@ private VmwareVmsDetails( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_VmwareVmsDetails_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_VmwareVmsDetails_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_VmwareVmsDetails_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_VmwareVmsDetails_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.VmwareVmsDetails.class, com.google.cloud.vmmigration.v1.VmwareVmsDetails.Builder.class); + com.google.cloud.vmmigration.v1.VmwareVmsDetails.class, + com.google.cloud.vmmigration.v1.VmwareVmsDetails.Builder.class); } public static final int DETAILS_FIELD_NUMBER = 1; private java.util.List details_; /** + * + * *
    * The details of the vmware VMs.
    * 
@@ -114,6 +138,8 @@ public java.util.List getDetail return details_; } /** + * + * *
    * The details of the vmware VMs.
    * 
@@ -121,11 +147,13 @@ public java.util.List getDetail * repeated .google.cloud.vmmigration.v1.VmwareVmDetails details = 1; */ @java.lang.Override - public java.util.List + public java.util.List getDetailsOrBuilderList() { return details_; } /** + * + * *
    * The details of the vmware VMs.
    * 
@@ -137,6 +165,8 @@ public int getDetailsCount() { return details_.size(); } /** + * + * *
    * The details of the vmware VMs.
    * 
@@ -148,6 +178,8 @@ public com.google.cloud.vmmigration.v1.VmwareVmDetails getDetails(int index) { return details_.get(index); } /** + * + * *
    * The details of the vmware VMs.
    * 
@@ -155,12 +187,12 @@ public com.google.cloud.vmmigration.v1.VmwareVmDetails getDetails(int index) { * repeated .google.cloud.vmmigration.v1.VmwareVmDetails details = 1; */ @java.lang.Override - public com.google.cloud.vmmigration.v1.VmwareVmDetailsOrBuilder getDetailsOrBuilder( - int index) { + public com.google.cloud.vmmigration.v1.VmwareVmDetailsOrBuilder getDetailsOrBuilder(int index) { return details_.get(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -172,8 +204,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 < details_.size(); i++) { output.writeMessage(1, details_.get(i)); } @@ -187,8 +218,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < details_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, details_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, details_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -198,15 +228,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.vmmigration.v1.VmwareVmsDetails)) { return super.equals(obj); } - com.google.cloud.vmmigration.v1.VmwareVmsDetails other = (com.google.cloud.vmmigration.v1.VmwareVmsDetails) obj; + com.google.cloud.vmmigration.v1.VmwareVmsDetails other = + (com.google.cloud.vmmigration.v1.VmwareVmsDetails) obj; - if (!getDetailsList() - .equals(other.getDetailsList())) return false; + if (!getDetailsList().equals(other.getDetailsList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -227,118 +257,127 @@ public int hashCode() { return hash; } - public static com.google.cloud.vmmigration.v1.VmwareVmsDetails parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.vmmigration.v1.VmwareVmsDetails parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.vmmigration.v1.VmwareVmsDetails 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.vmmigration.v1.VmwareVmsDetails parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.vmmigration.v1.VmwareVmsDetails 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.vmmigration.v1.VmwareVmsDetails parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.vmmigration.v1.VmwareVmsDetails 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.vmmigration.v1.VmwareVmsDetails parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.vmmigration.v1.VmwareVmsDetails parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.vmmigration.v1.VmwareVmsDetails 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.vmmigration.v1.VmwareVmsDetails parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.vmmigration.v1.VmwareVmsDetails parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.vmmigration.v1.VmwareVmsDetails 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.vmmigration.v1.VmwareVmsDetails 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.vmmigration.v1.VmwareVmsDetails 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.vmmigration.v1.VmwareVmsDetails 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; } /** + * + * *
    * VmwareVmsDetails describes VMs in vCenter.
    * 
* * Protobuf type {@code google.cloud.vmmigration.v1.VmwareVmsDetails} */ - 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.vmmigration.v1.VmwareVmsDetails) com.google.cloud.vmmigration.v1.VmwareVmsDetailsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_VmwareVmsDetails_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_VmwareVmsDetails_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_VmwareVmsDetails_fieldAccessorTable + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_VmwareVmsDetails_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.vmmigration.v1.VmwareVmsDetails.class, com.google.cloud.vmmigration.v1.VmwareVmsDetails.Builder.class); + com.google.cloud.vmmigration.v1.VmwareVmsDetails.class, + com.google.cloud.vmmigration.v1.VmwareVmsDetails.Builder.class); } // Construct using com.google.cloud.vmmigration.v1.VmwareVmsDetails.newBuilder() @@ -346,17 +385,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) { getDetailsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -370,9 +409,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.vmmigration.v1.VmMigrationProto.internal_static_google_cloud_vmmigration_v1_VmwareVmsDetails_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.vmmigration.v1.VmMigrationProto + .internal_static_google_cloud_vmmigration_v1_VmwareVmsDetails_descriptor; } @java.lang.Override @@ -391,7 +430,8 @@ public com.google.cloud.vmmigration.v1.VmwareVmsDetails build() { @java.lang.Override public com.google.cloud.vmmigration.v1.VmwareVmsDetails buildPartial() { - com.google.cloud.vmmigration.v1.VmwareVmsDetails result = new com.google.cloud.vmmigration.v1.VmwareVmsDetails(this); + com.google.cloud.vmmigration.v1.VmwareVmsDetails result = + new com.google.cloud.vmmigration.v1.VmwareVmsDetails(this); int from_bitField0_ = bitField0_; if (detailsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -410,38 +450,39 @@ public com.google.cloud.vmmigration.v1.VmwareVmsDetails buildPartial() { 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.vmmigration.v1.VmwareVmsDetails) { - return mergeFrom((com.google.cloud.vmmigration.v1.VmwareVmsDetails)other); + return mergeFrom((com.google.cloud.vmmigration.v1.VmwareVmsDetails) other); } else { super.mergeFrom(other); return this; @@ -449,7 +490,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.vmmigration.v1.VmwareVmsDetails other) { - if (other == com.google.cloud.vmmigration.v1.VmwareVmsDetails.getDefaultInstance()) return this; + if (other == com.google.cloud.vmmigration.v1.VmwareVmsDetails.getDefaultInstance()) + return this; if (detailsBuilder_ == null) { if (!other.details_.isEmpty()) { if (details_.isEmpty()) { @@ -468,9 +510,10 @@ public Builder mergeFrom(com.google.cloud.vmmigration.v1.VmwareVmsDetails other) detailsBuilder_ = null; details_ = other.details_; bitField0_ = (bitField0_ & ~0x00000001); - detailsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getDetailsFieldBuilder() : null; + detailsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getDetailsFieldBuilder() + : null; } else { detailsBuilder_.addAllMessages(other.details_); } @@ -504,21 +547,29 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.util.List details_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureDetailsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - details_ = new java.util.ArrayList(details_); + details_ = + new java.util.ArrayList(details_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.vmmigration.v1.VmwareVmDetails, com.google.cloud.vmmigration.v1.VmwareVmDetails.Builder, com.google.cloud.vmmigration.v1.VmwareVmDetailsOrBuilder> detailsBuilder_; + com.google.cloud.vmmigration.v1.VmwareVmDetails, + com.google.cloud.vmmigration.v1.VmwareVmDetails.Builder, + com.google.cloud.vmmigration.v1.VmwareVmDetailsOrBuilder> + detailsBuilder_; /** + * + * *
      * The details of the vmware VMs.
      * 
@@ -533,6 +584,8 @@ public java.util.List getDetail } } /** + * + * *
      * The details of the vmware VMs.
      * 
@@ -547,6 +600,8 @@ public int getDetailsCount() { } } /** + * + * *
      * The details of the vmware VMs.
      * 
@@ -561,14 +616,15 @@ public com.google.cloud.vmmigration.v1.VmwareVmDetails getDetails(int index) { } } /** + * + * *
      * The details of the vmware VMs.
      * 
* * repeated .google.cloud.vmmigration.v1.VmwareVmDetails details = 1; */ - public Builder setDetails( - int index, com.google.cloud.vmmigration.v1.VmwareVmDetails value) { + public Builder setDetails(int index, com.google.cloud.vmmigration.v1.VmwareVmDetails value) { if (detailsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -582,6 +638,8 @@ public Builder setDetails( return this; } /** + * + * *
      * The details of the vmware VMs.
      * 
@@ -600,6 +658,8 @@ public Builder setDetails( return this; } /** + * + * *
      * The details of the vmware VMs.
      * 
@@ -620,14 +680,15 @@ public Builder addDetails(com.google.cloud.vmmigration.v1.VmwareVmDetails value) return this; } /** + * + * *
      * The details of the vmware VMs.
      * 
* * repeated .google.cloud.vmmigration.v1.VmwareVmDetails details = 1; */ - public Builder addDetails( - int index, com.google.cloud.vmmigration.v1.VmwareVmDetails value) { + public Builder addDetails(int index, com.google.cloud.vmmigration.v1.VmwareVmDetails value) { if (detailsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -641,6 +702,8 @@ public Builder addDetails( return this; } /** + * + * *
      * The details of the vmware VMs.
      * 
@@ -659,6 +722,8 @@ public Builder addDetails( return this; } /** + * + * *
      * The details of the vmware VMs.
      * 
@@ -677,6 +742,8 @@ public Builder addDetails( return this; } /** + * + * *
      * The details of the vmware VMs.
      * 
@@ -687,8 +754,7 @@ public Builder addAllDetails( java.lang.Iterable values) { if (detailsBuilder_ == null) { ensureDetailsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, details_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, details_); onChanged(); } else { detailsBuilder_.addAllMessages(values); @@ -696,6 +762,8 @@ public Builder addAllDetails( return this; } /** + * + * *
      * The details of the vmware VMs.
      * 
@@ -713,6 +781,8 @@ public Builder clearDetails() { return this; } /** + * + * *
      * The details of the vmware VMs.
      * 
@@ -730,39 +800,44 @@ public Builder removeDetails(int index) { return this; } /** + * + * *
      * The details of the vmware VMs.
      * 
* * repeated .google.cloud.vmmigration.v1.VmwareVmDetails details = 1; */ - public com.google.cloud.vmmigration.v1.VmwareVmDetails.Builder getDetailsBuilder( - int index) { + public com.google.cloud.vmmigration.v1.VmwareVmDetails.Builder getDetailsBuilder(int index) { return getDetailsFieldBuilder().getBuilder(index); } /** + * + * *
      * The details of the vmware VMs.
      * 
* * repeated .google.cloud.vmmigration.v1.VmwareVmDetails details = 1; */ - public com.google.cloud.vmmigration.v1.VmwareVmDetailsOrBuilder getDetailsOrBuilder( - int index) { + public com.google.cloud.vmmigration.v1.VmwareVmDetailsOrBuilder getDetailsOrBuilder(int index) { if (detailsBuilder_ == null) { - return details_.get(index); } else { + return details_.get(index); + } else { return detailsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The details of the vmware VMs.
      * 
* * repeated .google.cloud.vmmigration.v1.VmwareVmDetails details = 1; */ - public java.util.List - getDetailsOrBuilderList() { + public java.util.List + getDetailsOrBuilderList() { if (detailsBuilder_ != null) { return detailsBuilder_.getMessageOrBuilderList(); } else { @@ -770,6 +845,8 @@ public com.google.cloud.vmmigration.v1.VmwareVmDetailsOrBuilder getDetailsOrBuil } } /** + * + * *
      * The details of the vmware VMs.
      * 
@@ -777,49 +854,55 @@ public com.google.cloud.vmmigration.v1.VmwareVmDetailsOrBuilder getDetailsOrBuil * repeated .google.cloud.vmmigration.v1.VmwareVmDetails details = 1; */ public com.google.cloud.vmmigration.v1.VmwareVmDetails.Builder addDetailsBuilder() { - return getDetailsFieldBuilder().addBuilder( - com.google.cloud.vmmigration.v1.VmwareVmDetails.getDefaultInstance()); + return getDetailsFieldBuilder() + .addBuilder(com.google.cloud.vmmigration.v1.VmwareVmDetails.getDefaultInstance()); } /** + * + * *
      * The details of the vmware VMs.
      * 
* * repeated .google.cloud.vmmigration.v1.VmwareVmDetails details = 1; */ - public com.google.cloud.vmmigration.v1.VmwareVmDetails.Builder addDetailsBuilder( - int index) { - return getDetailsFieldBuilder().addBuilder( - index, com.google.cloud.vmmigration.v1.VmwareVmDetails.getDefaultInstance()); + public com.google.cloud.vmmigration.v1.VmwareVmDetails.Builder addDetailsBuilder(int index) { + return getDetailsFieldBuilder() + .addBuilder(index, com.google.cloud.vmmigration.v1.VmwareVmDetails.getDefaultInstance()); } /** + * + * *
      * The details of the vmware VMs.
      * 
* * repeated .google.cloud.vmmigration.v1.VmwareVmDetails details = 1; */ - public java.util.List - getDetailsBuilderList() { + public java.util.List + getDetailsBuilderList() { return getDetailsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.vmmigration.v1.VmwareVmDetails, com.google.cloud.vmmigration.v1.VmwareVmDetails.Builder, com.google.cloud.vmmigration.v1.VmwareVmDetailsOrBuilder> + com.google.cloud.vmmigration.v1.VmwareVmDetails, + com.google.cloud.vmmigration.v1.VmwareVmDetails.Builder, + com.google.cloud.vmmigration.v1.VmwareVmDetailsOrBuilder> getDetailsFieldBuilder() { if (detailsBuilder_ == null) { - detailsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.vmmigration.v1.VmwareVmDetails, com.google.cloud.vmmigration.v1.VmwareVmDetails.Builder, com.google.cloud.vmmigration.v1.VmwareVmDetailsOrBuilder>( - details_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + detailsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.vmmigration.v1.VmwareVmDetails, + com.google.cloud.vmmigration.v1.VmwareVmDetails.Builder, + com.google.cloud.vmmigration.v1.VmwareVmDetailsOrBuilder>( + details_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); details_ = null; } return detailsBuilder_; } + @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); } @@ -829,12 +912,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.vmmigration.v1.VmwareVmsDetails) } // @@protoc_insertion_point(class_scope:google.cloud.vmmigration.v1.VmwareVmsDetails) private static final com.google.cloud.vmmigration.v1.VmwareVmsDetails DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.vmmigration.v1.VmwareVmsDetails(); } @@ -843,16 +926,16 @@ public static com.google.cloud.vmmigration.v1.VmwareVmsDetails getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public VmwareVmsDetails parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new VmwareVmsDetails(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public VmwareVmsDetails parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new VmwareVmsDetails(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -867,6 +950,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.vmmigration.v1.VmwareVmsDetails getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/VmwareVmsDetailsOrBuilder.java b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/VmwareVmsDetailsOrBuilder.java similarity index 65% rename from owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/VmwareVmsDetailsOrBuilder.java rename to proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/VmwareVmsDetailsOrBuilder.java index 0a5dc5c..d743711 100644 --- a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/VmwareVmsDetailsOrBuilder.java +++ b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/VmwareVmsDetailsOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vmmigration/v1/vmmigration.proto package com.google.cloud.vmmigration.v1; -public interface VmwareVmsDetailsOrBuilder extends +public interface VmwareVmsDetailsOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.VmwareVmsDetails) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The details of the vmware VMs.
    * 
* * repeated .google.cloud.vmmigration.v1.VmwareVmDetails details = 1; */ - java.util.List - getDetailsList(); + java.util.List getDetailsList(); /** + * + * *
    * The details of the vmware VMs.
    * 
@@ -25,6 +44,8 @@ public interface VmwareVmsDetailsOrBuilder extends */ com.google.cloud.vmmigration.v1.VmwareVmDetails getDetails(int index); /** + * + * *
    * The details of the vmware VMs.
    * 
@@ -33,21 +54,24 @@ public interface VmwareVmsDetailsOrBuilder extends */ int getDetailsCount(); /** + * + * *
    * The details of the vmware VMs.
    * 
* * repeated .google.cloud.vmmigration.v1.VmwareVmDetails details = 1; */ - java.util.List + java.util.List getDetailsOrBuilderList(); /** + * + * *
    * The details of the vmware VMs.
    * 
* * repeated .google.cloud.vmmigration.v1.VmwareVmDetails details = 1; */ - com.google.cloud.vmmigration.v1.VmwareVmDetailsOrBuilder getDetailsOrBuilder( - int index); + com.google.cloud.vmmigration.v1.VmwareVmDetailsOrBuilder getDetailsOrBuilder(int index); } diff --git a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/proto/google/cloud/vmmigration/v1/vmmigration.proto b/proto-google-cloud-vmmigration-v1/src/main/proto/google/cloud/vmmigration/v1/vmmigration.proto similarity index 100% rename from owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/proto/google/cloud/vmmigration/v1/vmmigration.proto rename to proto-google-cloud-vmmigration-v1/src/main/proto/google/cloud/vmmigration/v1/vmmigration.proto diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/stub/vmmigrationstubsettings/getsource/SyncGetSource.java b/samples/snippets/generated/com/google/cloud/vmmigration/v1/stub/vmmigrationstubsettings/getsource/SyncGetSource.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/stub/vmmigrationstubsettings/getsource/SyncGetSource.java rename to samples/snippets/generated/com/google/cloud/vmmigration/v1/stub/vmmigrationstubsettings/getsource/SyncGetSource.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/addgroupmigration/AsyncAddGroupMigration.java b/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/addgroupmigration/AsyncAddGroupMigration.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/addgroupmigration/AsyncAddGroupMigration.java rename to samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/addgroupmigration/AsyncAddGroupMigration.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/addgroupmigration/AsyncAddGroupMigrationLRO.java b/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/addgroupmigration/AsyncAddGroupMigrationLRO.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/addgroupmigration/AsyncAddGroupMigrationLRO.java rename to samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/addgroupmigration/AsyncAddGroupMigrationLRO.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/addgroupmigration/SyncAddGroupMigration.java b/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/addgroupmigration/SyncAddGroupMigration.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/addgroupmigration/SyncAddGroupMigration.java rename to samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/addgroupmigration/SyncAddGroupMigration.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/addgroupmigration/SyncAddGroupMigrationGroupname.java b/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/addgroupmigration/SyncAddGroupMigrationGroupname.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/addgroupmigration/SyncAddGroupMigrationGroupname.java rename to samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/addgroupmigration/SyncAddGroupMigrationGroupname.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/addgroupmigration/SyncAddGroupMigrationString.java b/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/addgroupmigration/SyncAddGroupMigrationString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/addgroupmigration/SyncAddGroupMigrationString.java rename to samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/addgroupmigration/SyncAddGroupMigrationString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/cancelclonejob/AsyncCancelCloneJob.java b/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/cancelclonejob/AsyncCancelCloneJob.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/cancelclonejob/AsyncCancelCloneJob.java rename to samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/cancelclonejob/AsyncCancelCloneJob.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/cancelclonejob/AsyncCancelCloneJobLRO.java b/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/cancelclonejob/AsyncCancelCloneJobLRO.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/cancelclonejob/AsyncCancelCloneJobLRO.java rename to samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/cancelclonejob/AsyncCancelCloneJobLRO.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/cancelclonejob/SyncCancelCloneJob.java b/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/cancelclonejob/SyncCancelCloneJob.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/cancelclonejob/SyncCancelCloneJob.java rename to samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/cancelclonejob/SyncCancelCloneJob.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/cancelclonejob/SyncCancelCloneJobClonejobname.java b/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/cancelclonejob/SyncCancelCloneJobClonejobname.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/cancelclonejob/SyncCancelCloneJobClonejobname.java rename to samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/cancelclonejob/SyncCancelCloneJobClonejobname.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/cancelclonejob/SyncCancelCloneJobString.java b/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/cancelclonejob/SyncCancelCloneJobString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/cancelclonejob/SyncCancelCloneJobString.java rename to samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/cancelclonejob/SyncCancelCloneJobString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/cancelcutoverjob/AsyncCancelCutoverJob.java b/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/cancelcutoverjob/AsyncCancelCutoverJob.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/cancelcutoverjob/AsyncCancelCutoverJob.java rename to samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/cancelcutoverjob/AsyncCancelCutoverJob.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/cancelcutoverjob/AsyncCancelCutoverJobLRO.java b/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/cancelcutoverjob/AsyncCancelCutoverJobLRO.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/cancelcutoverjob/AsyncCancelCutoverJobLRO.java rename to samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/cancelcutoverjob/AsyncCancelCutoverJobLRO.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/cancelcutoverjob/SyncCancelCutoverJob.java b/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/cancelcutoverjob/SyncCancelCutoverJob.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/cancelcutoverjob/SyncCancelCutoverJob.java rename to samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/cancelcutoverjob/SyncCancelCutoverJob.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/cancelcutoverjob/SyncCancelCutoverJobCutoverjobname.java b/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/cancelcutoverjob/SyncCancelCutoverJobCutoverjobname.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/cancelcutoverjob/SyncCancelCutoverJobCutoverjobname.java rename to samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/cancelcutoverjob/SyncCancelCutoverJobCutoverjobname.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/cancelcutoverjob/SyncCancelCutoverJobString.java b/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/cancelcutoverjob/SyncCancelCutoverJobString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/cancelcutoverjob/SyncCancelCutoverJobString.java rename to samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/cancelcutoverjob/SyncCancelCutoverJobString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/create/SyncCreateSetCredentialsProvider.java b/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/create/SyncCreateSetCredentialsProvider.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/create/SyncCreateSetCredentialsProvider.java rename to samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/create/SyncCreateSetCredentialsProvider.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/create/SyncCreateSetCredentialsProvider1.java b/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/create/SyncCreateSetCredentialsProvider1.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/create/SyncCreateSetCredentialsProvider1.java rename to samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/create/SyncCreateSetCredentialsProvider1.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/create/SyncCreateSetEndpoint.java b/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/create/SyncCreateSetEndpoint.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/create/SyncCreateSetEndpoint.java rename to samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/create/SyncCreateSetEndpoint.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createclonejob/AsyncCreateCloneJob.java b/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createclonejob/AsyncCreateCloneJob.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createclonejob/AsyncCreateCloneJob.java rename to samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createclonejob/AsyncCreateCloneJob.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createclonejob/AsyncCreateCloneJobLRO.java b/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createclonejob/AsyncCreateCloneJobLRO.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createclonejob/AsyncCreateCloneJobLRO.java rename to samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createclonejob/AsyncCreateCloneJobLRO.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createclonejob/SyncCreateCloneJob.java b/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createclonejob/SyncCreateCloneJob.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createclonejob/SyncCreateCloneJob.java rename to samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createclonejob/SyncCreateCloneJob.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createclonejob/SyncCreateCloneJobMigratingvmnameClonejobString.java b/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createclonejob/SyncCreateCloneJobMigratingvmnameClonejobString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createclonejob/SyncCreateCloneJobMigratingvmnameClonejobString.java rename to samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createclonejob/SyncCreateCloneJobMigratingvmnameClonejobString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createclonejob/SyncCreateCloneJobStringClonejobString.java b/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createclonejob/SyncCreateCloneJobStringClonejobString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createclonejob/SyncCreateCloneJobStringClonejobString.java rename to samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createclonejob/SyncCreateCloneJobStringClonejobString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createcutoverjob/AsyncCreateCutoverJob.java b/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createcutoverjob/AsyncCreateCutoverJob.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createcutoverjob/AsyncCreateCutoverJob.java rename to samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createcutoverjob/AsyncCreateCutoverJob.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createcutoverjob/AsyncCreateCutoverJobLRO.java b/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createcutoverjob/AsyncCreateCutoverJobLRO.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createcutoverjob/AsyncCreateCutoverJobLRO.java rename to samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createcutoverjob/AsyncCreateCutoverJobLRO.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createcutoverjob/SyncCreateCutoverJob.java b/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createcutoverjob/SyncCreateCutoverJob.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createcutoverjob/SyncCreateCutoverJob.java rename to samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createcutoverjob/SyncCreateCutoverJob.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createcutoverjob/SyncCreateCutoverJobMigratingvmnameCutoverjobString.java b/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createcutoverjob/SyncCreateCutoverJobMigratingvmnameCutoverjobString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createcutoverjob/SyncCreateCutoverJobMigratingvmnameCutoverjobString.java rename to samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createcutoverjob/SyncCreateCutoverJobMigratingvmnameCutoverjobString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createcutoverjob/SyncCreateCutoverJobStringCutoverjobString.java b/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createcutoverjob/SyncCreateCutoverJobStringCutoverjobString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createcutoverjob/SyncCreateCutoverJobStringCutoverjobString.java rename to samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createcutoverjob/SyncCreateCutoverJobStringCutoverjobString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createdatacenterconnector/AsyncCreateDatacenterConnector.java b/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createdatacenterconnector/AsyncCreateDatacenterConnector.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createdatacenterconnector/AsyncCreateDatacenterConnector.java rename to samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createdatacenterconnector/AsyncCreateDatacenterConnector.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createdatacenterconnector/AsyncCreateDatacenterConnectorLRO.java b/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createdatacenterconnector/AsyncCreateDatacenterConnectorLRO.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createdatacenterconnector/AsyncCreateDatacenterConnectorLRO.java rename to samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createdatacenterconnector/AsyncCreateDatacenterConnectorLRO.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createdatacenterconnector/SyncCreateDatacenterConnector.java b/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createdatacenterconnector/SyncCreateDatacenterConnector.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createdatacenterconnector/SyncCreateDatacenterConnector.java rename to samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createdatacenterconnector/SyncCreateDatacenterConnector.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createdatacenterconnector/SyncCreateDatacenterConnectorSourcenameDatacenterconnectorString.java b/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createdatacenterconnector/SyncCreateDatacenterConnectorSourcenameDatacenterconnectorString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createdatacenterconnector/SyncCreateDatacenterConnectorSourcenameDatacenterconnectorString.java rename to samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createdatacenterconnector/SyncCreateDatacenterConnectorSourcenameDatacenterconnectorString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createdatacenterconnector/SyncCreateDatacenterConnectorStringDatacenterconnectorString.java b/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createdatacenterconnector/SyncCreateDatacenterConnectorStringDatacenterconnectorString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createdatacenterconnector/SyncCreateDatacenterConnectorStringDatacenterconnectorString.java rename to samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createdatacenterconnector/SyncCreateDatacenterConnectorStringDatacenterconnectorString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/creategroup/AsyncCreateGroup.java b/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/creategroup/AsyncCreateGroup.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/creategroup/AsyncCreateGroup.java rename to samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/creategroup/AsyncCreateGroup.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/creategroup/AsyncCreateGroupLRO.java b/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/creategroup/AsyncCreateGroupLRO.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/creategroup/AsyncCreateGroupLRO.java rename to samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/creategroup/AsyncCreateGroupLRO.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/creategroup/SyncCreateGroup.java b/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/creategroup/SyncCreateGroup.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/creategroup/SyncCreateGroup.java rename to samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/creategroup/SyncCreateGroup.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/creategroup/SyncCreateGroupLocationnameGroupString.java b/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/creategroup/SyncCreateGroupLocationnameGroupString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/creategroup/SyncCreateGroupLocationnameGroupString.java rename to samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/creategroup/SyncCreateGroupLocationnameGroupString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/creategroup/SyncCreateGroupStringGroupString.java b/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/creategroup/SyncCreateGroupStringGroupString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/creategroup/SyncCreateGroupStringGroupString.java rename to samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/creategroup/SyncCreateGroupStringGroupString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createmigratingvm/AsyncCreateMigratingVm.java b/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createmigratingvm/AsyncCreateMigratingVm.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createmigratingvm/AsyncCreateMigratingVm.java rename to samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createmigratingvm/AsyncCreateMigratingVm.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createmigratingvm/AsyncCreateMigratingVmLRO.java b/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createmigratingvm/AsyncCreateMigratingVmLRO.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createmigratingvm/AsyncCreateMigratingVmLRO.java rename to samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createmigratingvm/AsyncCreateMigratingVmLRO.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createmigratingvm/SyncCreateMigratingVm.java b/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createmigratingvm/SyncCreateMigratingVm.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createmigratingvm/SyncCreateMigratingVm.java rename to samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createmigratingvm/SyncCreateMigratingVm.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createmigratingvm/SyncCreateMigratingVmSourcenameMigratingvmString.java b/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createmigratingvm/SyncCreateMigratingVmSourcenameMigratingvmString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createmigratingvm/SyncCreateMigratingVmSourcenameMigratingvmString.java rename to samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createmigratingvm/SyncCreateMigratingVmSourcenameMigratingvmString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createmigratingvm/SyncCreateMigratingVmStringMigratingvmString.java b/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createmigratingvm/SyncCreateMigratingVmStringMigratingvmString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createmigratingvm/SyncCreateMigratingVmStringMigratingvmString.java rename to samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createmigratingvm/SyncCreateMigratingVmStringMigratingvmString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createsource/AsyncCreateSource.java b/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createsource/AsyncCreateSource.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createsource/AsyncCreateSource.java rename to samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createsource/AsyncCreateSource.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createsource/AsyncCreateSourceLRO.java b/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createsource/AsyncCreateSourceLRO.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createsource/AsyncCreateSourceLRO.java rename to samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createsource/AsyncCreateSourceLRO.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createsource/SyncCreateSource.java b/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createsource/SyncCreateSource.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createsource/SyncCreateSource.java rename to samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createsource/SyncCreateSource.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createsource/SyncCreateSourceLocationnameSourceString.java b/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createsource/SyncCreateSourceLocationnameSourceString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createsource/SyncCreateSourceLocationnameSourceString.java rename to samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createsource/SyncCreateSourceLocationnameSourceString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createsource/SyncCreateSourceStringSourceString.java b/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createsource/SyncCreateSourceStringSourceString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createsource/SyncCreateSourceStringSourceString.java rename to samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createsource/SyncCreateSourceStringSourceString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createtargetproject/AsyncCreateTargetProject.java b/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createtargetproject/AsyncCreateTargetProject.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createtargetproject/AsyncCreateTargetProject.java rename to samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createtargetproject/AsyncCreateTargetProject.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createtargetproject/AsyncCreateTargetProjectLRO.java b/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createtargetproject/AsyncCreateTargetProjectLRO.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createtargetproject/AsyncCreateTargetProjectLRO.java rename to samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createtargetproject/AsyncCreateTargetProjectLRO.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createtargetproject/SyncCreateTargetProject.java b/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createtargetproject/SyncCreateTargetProject.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createtargetproject/SyncCreateTargetProject.java rename to samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createtargetproject/SyncCreateTargetProject.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createtargetproject/SyncCreateTargetProjectLocationnameTargetprojectString.java b/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createtargetproject/SyncCreateTargetProjectLocationnameTargetprojectString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createtargetproject/SyncCreateTargetProjectLocationnameTargetprojectString.java rename to samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createtargetproject/SyncCreateTargetProjectLocationnameTargetprojectString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createtargetproject/SyncCreateTargetProjectStringTargetprojectString.java b/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createtargetproject/SyncCreateTargetProjectStringTargetprojectString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createtargetproject/SyncCreateTargetProjectStringTargetprojectString.java rename to samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createtargetproject/SyncCreateTargetProjectStringTargetprojectString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createutilizationreport/AsyncCreateUtilizationReport.java b/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createutilizationreport/AsyncCreateUtilizationReport.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createutilizationreport/AsyncCreateUtilizationReport.java rename to samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createutilizationreport/AsyncCreateUtilizationReport.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createutilizationreport/AsyncCreateUtilizationReportLRO.java b/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createutilizationreport/AsyncCreateUtilizationReportLRO.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createutilizationreport/AsyncCreateUtilizationReportLRO.java rename to samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createutilizationreport/AsyncCreateUtilizationReportLRO.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createutilizationreport/SyncCreateUtilizationReport.java b/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createutilizationreport/SyncCreateUtilizationReport.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createutilizationreport/SyncCreateUtilizationReport.java rename to samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createutilizationreport/SyncCreateUtilizationReport.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createutilizationreport/SyncCreateUtilizationReportSourcenameUtilizationreportString.java b/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createutilizationreport/SyncCreateUtilizationReportSourcenameUtilizationreportString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createutilizationreport/SyncCreateUtilizationReportSourcenameUtilizationreportString.java rename to samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createutilizationreport/SyncCreateUtilizationReportSourcenameUtilizationreportString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createutilizationreport/SyncCreateUtilizationReportStringUtilizationreportString.java b/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createutilizationreport/SyncCreateUtilizationReportStringUtilizationreportString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createutilizationreport/SyncCreateUtilizationReportStringUtilizationreportString.java rename to samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createutilizationreport/SyncCreateUtilizationReportStringUtilizationreportString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletedatacenterconnector/AsyncDeleteDatacenterConnector.java b/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletedatacenterconnector/AsyncDeleteDatacenterConnector.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletedatacenterconnector/AsyncDeleteDatacenterConnector.java rename to samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletedatacenterconnector/AsyncDeleteDatacenterConnector.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletedatacenterconnector/AsyncDeleteDatacenterConnectorLRO.java b/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletedatacenterconnector/AsyncDeleteDatacenterConnectorLRO.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletedatacenterconnector/AsyncDeleteDatacenterConnectorLRO.java rename to samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletedatacenterconnector/AsyncDeleteDatacenterConnectorLRO.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletedatacenterconnector/SyncDeleteDatacenterConnector.java b/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletedatacenterconnector/SyncDeleteDatacenterConnector.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletedatacenterconnector/SyncDeleteDatacenterConnector.java rename to samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletedatacenterconnector/SyncDeleteDatacenterConnector.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletedatacenterconnector/SyncDeleteDatacenterConnectorDatacenterconnectorname.java b/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletedatacenterconnector/SyncDeleteDatacenterConnectorDatacenterconnectorname.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletedatacenterconnector/SyncDeleteDatacenterConnectorDatacenterconnectorname.java rename to samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletedatacenterconnector/SyncDeleteDatacenterConnectorDatacenterconnectorname.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletedatacenterconnector/SyncDeleteDatacenterConnectorString.java b/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletedatacenterconnector/SyncDeleteDatacenterConnectorString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletedatacenterconnector/SyncDeleteDatacenterConnectorString.java rename to samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletedatacenterconnector/SyncDeleteDatacenterConnectorString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletegroup/AsyncDeleteGroup.java b/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletegroup/AsyncDeleteGroup.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletegroup/AsyncDeleteGroup.java rename to samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletegroup/AsyncDeleteGroup.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletegroup/AsyncDeleteGroupLRO.java b/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletegroup/AsyncDeleteGroupLRO.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletegroup/AsyncDeleteGroupLRO.java rename to samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletegroup/AsyncDeleteGroupLRO.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletegroup/SyncDeleteGroup.java b/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletegroup/SyncDeleteGroup.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletegroup/SyncDeleteGroup.java rename to samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletegroup/SyncDeleteGroup.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletegroup/SyncDeleteGroupGroupname.java b/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletegroup/SyncDeleteGroupGroupname.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletegroup/SyncDeleteGroupGroupname.java rename to samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletegroup/SyncDeleteGroupGroupname.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletegroup/SyncDeleteGroupString.java b/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletegroup/SyncDeleteGroupString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletegroup/SyncDeleteGroupString.java rename to samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletegroup/SyncDeleteGroupString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletemigratingvm/AsyncDeleteMigratingVm.java b/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletemigratingvm/AsyncDeleteMigratingVm.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletemigratingvm/AsyncDeleteMigratingVm.java rename to samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletemigratingvm/AsyncDeleteMigratingVm.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletemigratingvm/AsyncDeleteMigratingVmLRO.java b/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletemigratingvm/AsyncDeleteMigratingVmLRO.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletemigratingvm/AsyncDeleteMigratingVmLRO.java rename to samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletemigratingvm/AsyncDeleteMigratingVmLRO.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletemigratingvm/SyncDeleteMigratingVm.java b/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletemigratingvm/SyncDeleteMigratingVm.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletemigratingvm/SyncDeleteMigratingVm.java rename to samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletemigratingvm/SyncDeleteMigratingVm.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletemigratingvm/SyncDeleteMigratingVmMigratingvmname.java b/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletemigratingvm/SyncDeleteMigratingVmMigratingvmname.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletemigratingvm/SyncDeleteMigratingVmMigratingvmname.java rename to samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletemigratingvm/SyncDeleteMigratingVmMigratingvmname.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletemigratingvm/SyncDeleteMigratingVmString.java b/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletemigratingvm/SyncDeleteMigratingVmString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletemigratingvm/SyncDeleteMigratingVmString.java rename to samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletemigratingvm/SyncDeleteMigratingVmString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletesource/AsyncDeleteSource.java b/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletesource/AsyncDeleteSource.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletesource/AsyncDeleteSource.java rename to samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletesource/AsyncDeleteSource.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletesource/AsyncDeleteSourceLRO.java b/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletesource/AsyncDeleteSourceLRO.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletesource/AsyncDeleteSourceLRO.java rename to samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletesource/AsyncDeleteSourceLRO.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletesource/SyncDeleteSource.java b/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletesource/SyncDeleteSource.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletesource/SyncDeleteSource.java rename to samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletesource/SyncDeleteSource.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletesource/SyncDeleteSourceSourcename.java b/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletesource/SyncDeleteSourceSourcename.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletesource/SyncDeleteSourceSourcename.java rename to samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletesource/SyncDeleteSourceSourcename.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletesource/SyncDeleteSourceString.java b/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletesource/SyncDeleteSourceString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletesource/SyncDeleteSourceString.java rename to samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletesource/SyncDeleteSourceString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletetargetproject/AsyncDeleteTargetProject.java b/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletetargetproject/AsyncDeleteTargetProject.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletetargetproject/AsyncDeleteTargetProject.java rename to samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletetargetproject/AsyncDeleteTargetProject.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletetargetproject/AsyncDeleteTargetProjectLRO.java b/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletetargetproject/AsyncDeleteTargetProjectLRO.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletetargetproject/AsyncDeleteTargetProjectLRO.java rename to samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletetargetproject/AsyncDeleteTargetProjectLRO.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletetargetproject/SyncDeleteTargetProject.java b/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletetargetproject/SyncDeleteTargetProject.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletetargetproject/SyncDeleteTargetProject.java rename to samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletetargetproject/SyncDeleteTargetProject.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletetargetproject/SyncDeleteTargetProjectString.java b/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletetargetproject/SyncDeleteTargetProjectString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletetargetproject/SyncDeleteTargetProjectString.java rename to samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletetargetproject/SyncDeleteTargetProjectString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletetargetproject/SyncDeleteTargetProjectTargetprojectname.java b/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletetargetproject/SyncDeleteTargetProjectTargetprojectname.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletetargetproject/SyncDeleteTargetProjectTargetprojectname.java rename to samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletetargetproject/SyncDeleteTargetProjectTargetprojectname.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deleteutilizationreport/AsyncDeleteUtilizationReport.java b/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deleteutilizationreport/AsyncDeleteUtilizationReport.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deleteutilizationreport/AsyncDeleteUtilizationReport.java rename to samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deleteutilizationreport/AsyncDeleteUtilizationReport.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deleteutilizationreport/AsyncDeleteUtilizationReportLRO.java b/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deleteutilizationreport/AsyncDeleteUtilizationReportLRO.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deleteutilizationreport/AsyncDeleteUtilizationReportLRO.java rename to samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deleteutilizationreport/AsyncDeleteUtilizationReportLRO.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deleteutilizationreport/SyncDeleteUtilizationReport.java b/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deleteutilizationreport/SyncDeleteUtilizationReport.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deleteutilizationreport/SyncDeleteUtilizationReport.java rename to samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deleteutilizationreport/SyncDeleteUtilizationReport.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deleteutilizationreport/SyncDeleteUtilizationReportString.java b/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deleteutilizationreport/SyncDeleteUtilizationReportString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deleteutilizationreport/SyncDeleteUtilizationReportString.java rename to samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deleteutilizationreport/SyncDeleteUtilizationReportString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deleteutilizationreport/SyncDeleteUtilizationReportUtilizationreportname.java b/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deleteutilizationreport/SyncDeleteUtilizationReportUtilizationreportname.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deleteutilizationreport/SyncDeleteUtilizationReportUtilizationreportname.java rename to samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deleteutilizationreport/SyncDeleteUtilizationReportUtilizationreportname.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/fetchinventory/AsyncFetchInventory.java b/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/fetchinventory/AsyncFetchInventory.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/fetchinventory/AsyncFetchInventory.java rename to samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/fetchinventory/AsyncFetchInventory.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/fetchinventory/SyncFetchInventory.java b/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/fetchinventory/SyncFetchInventory.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/fetchinventory/SyncFetchInventory.java rename to samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/fetchinventory/SyncFetchInventory.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/fetchinventory/SyncFetchInventorySourcename.java b/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/fetchinventory/SyncFetchInventorySourcename.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/fetchinventory/SyncFetchInventorySourcename.java rename to samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/fetchinventory/SyncFetchInventorySourcename.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/fetchinventory/SyncFetchInventoryString.java b/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/fetchinventory/SyncFetchInventoryString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/fetchinventory/SyncFetchInventoryString.java rename to samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/fetchinventory/SyncFetchInventoryString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/finalizemigration/AsyncFinalizeMigration.java b/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/finalizemigration/AsyncFinalizeMigration.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/finalizemigration/AsyncFinalizeMigration.java rename to samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/finalizemigration/AsyncFinalizeMigration.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/finalizemigration/AsyncFinalizeMigrationLRO.java b/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/finalizemigration/AsyncFinalizeMigrationLRO.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/finalizemigration/AsyncFinalizeMigrationLRO.java rename to samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/finalizemigration/AsyncFinalizeMigrationLRO.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/finalizemigration/SyncFinalizeMigration.java b/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/finalizemigration/SyncFinalizeMigration.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/finalizemigration/SyncFinalizeMigration.java rename to samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/finalizemigration/SyncFinalizeMigration.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/finalizemigration/SyncFinalizeMigrationMigratingvmname.java b/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/finalizemigration/SyncFinalizeMigrationMigratingvmname.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/finalizemigration/SyncFinalizeMigrationMigratingvmname.java rename to samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/finalizemigration/SyncFinalizeMigrationMigratingvmname.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/finalizemigration/SyncFinalizeMigrationString.java b/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/finalizemigration/SyncFinalizeMigrationString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/finalizemigration/SyncFinalizeMigrationString.java rename to samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/finalizemigration/SyncFinalizeMigrationString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getclonejob/AsyncGetCloneJob.java b/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getclonejob/AsyncGetCloneJob.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getclonejob/AsyncGetCloneJob.java rename to samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getclonejob/AsyncGetCloneJob.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getclonejob/SyncGetCloneJob.java b/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getclonejob/SyncGetCloneJob.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getclonejob/SyncGetCloneJob.java rename to samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getclonejob/SyncGetCloneJob.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getclonejob/SyncGetCloneJobClonejobname.java b/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getclonejob/SyncGetCloneJobClonejobname.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getclonejob/SyncGetCloneJobClonejobname.java rename to samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getclonejob/SyncGetCloneJobClonejobname.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getclonejob/SyncGetCloneJobString.java b/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getclonejob/SyncGetCloneJobString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getclonejob/SyncGetCloneJobString.java rename to samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getclonejob/SyncGetCloneJobString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getcutoverjob/AsyncGetCutoverJob.java b/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getcutoverjob/AsyncGetCutoverJob.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getcutoverjob/AsyncGetCutoverJob.java rename to samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getcutoverjob/AsyncGetCutoverJob.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getcutoverjob/SyncGetCutoverJob.java b/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getcutoverjob/SyncGetCutoverJob.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getcutoverjob/SyncGetCutoverJob.java rename to samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getcutoverjob/SyncGetCutoverJob.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getcutoverjob/SyncGetCutoverJobCutoverjobname.java b/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getcutoverjob/SyncGetCutoverJobCutoverjobname.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getcutoverjob/SyncGetCutoverJobCutoverjobname.java rename to samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getcutoverjob/SyncGetCutoverJobCutoverjobname.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getcutoverjob/SyncGetCutoverJobString.java b/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getcutoverjob/SyncGetCutoverJobString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getcutoverjob/SyncGetCutoverJobString.java rename to samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getcutoverjob/SyncGetCutoverJobString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getdatacenterconnector/AsyncGetDatacenterConnector.java b/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getdatacenterconnector/AsyncGetDatacenterConnector.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getdatacenterconnector/AsyncGetDatacenterConnector.java rename to samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getdatacenterconnector/AsyncGetDatacenterConnector.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getdatacenterconnector/SyncGetDatacenterConnector.java b/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getdatacenterconnector/SyncGetDatacenterConnector.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getdatacenterconnector/SyncGetDatacenterConnector.java rename to samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getdatacenterconnector/SyncGetDatacenterConnector.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getdatacenterconnector/SyncGetDatacenterConnectorDatacenterconnectorname.java b/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getdatacenterconnector/SyncGetDatacenterConnectorDatacenterconnectorname.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getdatacenterconnector/SyncGetDatacenterConnectorDatacenterconnectorname.java rename to samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getdatacenterconnector/SyncGetDatacenterConnectorDatacenterconnectorname.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getdatacenterconnector/SyncGetDatacenterConnectorString.java b/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getdatacenterconnector/SyncGetDatacenterConnectorString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getdatacenterconnector/SyncGetDatacenterConnectorString.java rename to samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getdatacenterconnector/SyncGetDatacenterConnectorString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getgroup/AsyncGetGroup.java b/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getgroup/AsyncGetGroup.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getgroup/AsyncGetGroup.java rename to samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getgroup/AsyncGetGroup.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getgroup/SyncGetGroup.java b/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getgroup/SyncGetGroup.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getgroup/SyncGetGroup.java rename to samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getgroup/SyncGetGroup.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getgroup/SyncGetGroupGroupname.java b/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getgroup/SyncGetGroupGroupname.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getgroup/SyncGetGroupGroupname.java rename to samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getgroup/SyncGetGroupGroupname.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getgroup/SyncGetGroupString.java b/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getgroup/SyncGetGroupString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getgroup/SyncGetGroupString.java rename to samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getgroup/SyncGetGroupString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getmigratingvm/AsyncGetMigratingVm.java b/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getmigratingvm/AsyncGetMigratingVm.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getmigratingvm/AsyncGetMigratingVm.java rename to samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getmigratingvm/AsyncGetMigratingVm.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getmigratingvm/SyncGetMigratingVm.java b/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getmigratingvm/SyncGetMigratingVm.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getmigratingvm/SyncGetMigratingVm.java rename to samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getmigratingvm/SyncGetMigratingVm.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getmigratingvm/SyncGetMigratingVmMigratingvmname.java b/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getmigratingvm/SyncGetMigratingVmMigratingvmname.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getmigratingvm/SyncGetMigratingVmMigratingvmname.java rename to samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getmigratingvm/SyncGetMigratingVmMigratingvmname.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getmigratingvm/SyncGetMigratingVmString.java b/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getmigratingvm/SyncGetMigratingVmString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getmigratingvm/SyncGetMigratingVmString.java rename to samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getmigratingvm/SyncGetMigratingVmString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getsource/AsyncGetSource.java b/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getsource/AsyncGetSource.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getsource/AsyncGetSource.java rename to samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getsource/AsyncGetSource.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getsource/SyncGetSource.java b/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getsource/SyncGetSource.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getsource/SyncGetSource.java rename to samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getsource/SyncGetSource.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getsource/SyncGetSourceSourcename.java b/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getsource/SyncGetSourceSourcename.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getsource/SyncGetSourceSourcename.java rename to samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getsource/SyncGetSourceSourcename.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getsource/SyncGetSourceString.java b/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getsource/SyncGetSourceString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getsource/SyncGetSourceString.java rename to samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getsource/SyncGetSourceString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/gettargetproject/AsyncGetTargetProject.java b/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/gettargetproject/AsyncGetTargetProject.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/gettargetproject/AsyncGetTargetProject.java rename to samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/gettargetproject/AsyncGetTargetProject.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/gettargetproject/SyncGetTargetProject.java b/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/gettargetproject/SyncGetTargetProject.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/gettargetproject/SyncGetTargetProject.java rename to samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/gettargetproject/SyncGetTargetProject.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/gettargetproject/SyncGetTargetProjectString.java b/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/gettargetproject/SyncGetTargetProjectString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/gettargetproject/SyncGetTargetProjectString.java rename to samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/gettargetproject/SyncGetTargetProjectString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/gettargetproject/SyncGetTargetProjectTargetprojectname.java b/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/gettargetproject/SyncGetTargetProjectTargetprojectname.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/gettargetproject/SyncGetTargetProjectTargetprojectname.java rename to samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/gettargetproject/SyncGetTargetProjectTargetprojectname.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getutilizationreport/AsyncGetUtilizationReport.java b/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getutilizationreport/AsyncGetUtilizationReport.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getutilizationreport/AsyncGetUtilizationReport.java rename to samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getutilizationreport/AsyncGetUtilizationReport.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getutilizationreport/SyncGetUtilizationReport.java b/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getutilizationreport/SyncGetUtilizationReport.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getutilizationreport/SyncGetUtilizationReport.java rename to samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getutilizationreport/SyncGetUtilizationReport.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getutilizationreport/SyncGetUtilizationReportString.java b/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getutilizationreport/SyncGetUtilizationReportString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getutilizationreport/SyncGetUtilizationReportString.java rename to samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getutilizationreport/SyncGetUtilizationReportString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getutilizationreport/SyncGetUtilizationReportUtilizationreportname.java b/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getutilizationreport/SyncGetUtilizationReportUtilizationreportname.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getutilizationreport/SyncGetUtilizationReportUtilizationreportname.java rename to samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getutilizationreport/SyncGetUtilizationReportUtilizationreportname.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listclonejobs/AsyncListCloneJobs.java b/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listclonejobs/AsyncListCloneJobs.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listclonejobs/AsyncListCloneJobs.java rename to samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listclonejobs/AsyncListCloneJobs.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listclonejobs/AsyncListCloneJobsPaged.java b/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listclonejobs/AsyncListCloneJobsPaged.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listclonejobs/AsyncListCloneJobsPaged.java rename to samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listclonejobs/AsyncListCloneJobsPaged.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listclonejobs/SyncListCloneJobs.java b/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listclonejobs/SyncListCloneJobs.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listclonejobs/SyncListCloneJobs.java rename to samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listclonejobs/SyncListCloneJobs.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listclonejobs/SyncListCloneJobsMigratingvmname.java b/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listclonejobs/SyncListCloneJobsMigratingvmname.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listclonejobs/SyncListCloneJobsMigratingvmname.java rename to samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listclonejobs/SyncListCloneJobsMigratingvmname.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listclonejobs/SyncListCloneJobsString.java b/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listclonejobs/SyncListCloneJobsString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listclonejobs/SyncListCloneJobsString.java rename to samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listclonejobs/SyncListCloneJobsString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listcutoverjobs/AsyncListCutoverJobs.java b/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listcutoverjobs/AsyncListCutoverJobs.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listcutoverjobs/AsyncListCutoverJobs.java rename to samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listcutoverjobs/AsyncListCutoverJobs.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listcutoverjobs/AsyncListCutoverJobsPaged.java b/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listcutoverjobs/AsyncListCutoverJobsPaged.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listcutoverjobs/AsyncListCutoverJobsPaged.java rename to samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listcutoverjobs/AsyncListCutoverJobsPaged.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listcutoverjobs/SyncListCutoverJobs.java b/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listcutoverjobs/SyncListCutoverJobs.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listcutoverjobs/SyncListCutoverJobs.java rename to samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listcutoverjobs/SyncListCutoverJobs.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listcutoverjobs/SyncListCutoverJobsMigratingvmname.java b/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listcutoverjobs/SyncListCutoverJobsMigratingvmname.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listcutoverjobs/SyncListCutoverJobsMigratingvmname.java rename to samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listcutoverjobs/SyncListCutoverJobsMigratingvmname.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listcutoverjobs/SyncListCutoverJobsString.java b/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listcutoverjobs/SyncListCutoverJobsString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listcutoverjobs/SyncListCutoverJobsString.java rename to samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listcutoverjobs/SyncListCutoverJobsString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listdatacenterconnectors/AsyncListDatacenterConnectors.java b/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listdatacenterconnectors/AsyncListDatacenterConnectors.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listdatacenterconnectors/AsyncListDatacenterConnectors.java rename to samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listdatacenterconnectors/AsyncListDatacenterConnectors.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listdatacenterconnectors/AsyncListDatacenterConnectorsPaged.java b/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listdatacenterconnectors/AsyncListDatacenterConnectorsPaged.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listdatacenterconnectors/AsyncListDatacenterConnectorsPaged.java rename to samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listdatacenterconnectors/AsyncListDatacenterConnectorsPaged.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listdatacenterconnectors/SyncListDatacenterConnectors.java b/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listdatacenterconnectors/SyncListDatacenterConnectors.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listdatacenterconnectors/SyncListDatacenterConnectors.java rename to samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listdatacenterconnectors/SyncListDatacenterConnectors.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listdatacenterconnectors/SyncListDatacenterConnectorsSourcename.java b/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listdatacenterconnectors/SyncListDatacenterConnectorsSourcename.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listdatacenterconnectors/SyncListDatacenterConnectorsSourcename.java rename to samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listdatacenterconnectors/SyncListDatacenterConnectorsSourcename.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listdatacenterconnectors/SyncListDatacenterConnectorsString.java b/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listdatacenterconnectors/SyncListDatacenterConnectorsString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listdatacenterconnectors/SyncListDatacenterConnectorsString.java rename to samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listdatacenterconnectors/SyncListDatacenterConnectorsString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listgroups/AsyncListGroups.java b/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listgroups/AsyncListGroups.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listgroups/AsyncListGroups.java rename to samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listgroups/AsyncListGroups.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listgroups/AsyncListGroupsPaged.java b/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listgroups/AsyncListGroupsPaged.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listgroups/AsyncListGroupsPaged.java rename to samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listgroups/AsyncListGroupsPaged.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listgroups/SyncListGroups.java b/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listgroups/SyncListGroups.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listgroups/SyncListGroups.java rename to samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listgroups/SyncListGroups.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listgroups/SyncListGroupsLocationname.java b/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listgroups/SyncListGroupsLocationname.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listgroups/SyncListGroupsLocationname.java rename to samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listgroups/SyncListGroupsLocationname.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listgroups/SyncListGroupsString.java b/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listgroups/SyncListGroupsString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listgroups/SyncListGroupsString.java rename to samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listgroups/SyncListGroupsString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listmigratingvms/AsyncListMigratingVms.java b/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listmigratingvms/AsyncListMigratingVms.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listmigratingvms/AsyncListMigratingVms.java rename to samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listmigratingvms/AsyncListMigratingVms.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listmigratingvms/AsyncListMigratingVmsPaged.java b/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listmigratingvms/AsyncListMigratingVmsPaged.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listmigratingvms/AsyncListMigratingVmsPaged.java rename to samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listmigratingvms/AsyncListMigratingVmsPaged.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listmigratingvms/SyncListMigratingVms.java b/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listmigratingvms/SyncListMigratingVms.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listmigratingvms/SyncListMigratingVms.java rename to samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listmigratingvms/SyncListMigratingVms.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listmigratingvms/SyncListMigratingVmsSourcename.java b/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listmigratingvms/SyncListMigratingVmsSourcename.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listmigratingvms/SyncListMigratingVmsSourcename.java rename to samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listmigratingvms/SyncListMigratingVmsSourcename.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listmigratingvms/SyncListMigratingVmsString.java b/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listmigratingvms/SyncListMigratingVmsString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listmigratingvms/SyncListMigratingVmsString.java rename to samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listmigratingvms/SyncListMigratingVmsString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listsources/AsyncListSources.java b/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listsources/AsyncListSources.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listsources/AsyncListSources.java rename to samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listsources/AsyncListSources.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listsources/AsyncListSourcesPaged.java b/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listsources/AsyncListSourcesPaged.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listsources/AsyncListSourcesPaged.java rename to samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listsources/AsyncListSourcesPaged.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listsources/SyncListSources.java b/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listsources/SyncListSources.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listsources/SyncListSources.java rename to samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listsources/SyncListSources.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listsources/SyncListSourcesLocationname.java b/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listsources/SyncListSourcesLocationname.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listsources/SyncListSourcesLocationname.java rename to samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listsources/SyncListSourcesLocationname.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listsources/SyncListSourcesString.java b/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listsources/SyncListSourcesString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listsources/SyncListSourcesString.java rename to samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listsources/SyncListSourcesString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listtargetprojects/AsyncListTargetProjects.java b/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listtargetprojects/AsyncListTargetProjects.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listtargetprojects/AsyncListTargetProjects.java rename to samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listtargetprojects/AsyncListTargetProjects.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listtargetprojects/AsyncListTargetProjectsPaged.java b/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listtargetprojects/AsyncListTargetProjectsPaged.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listtargetprojects/AsyncListTargetProjectsPaged.java rename to samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listtargetprojects/AsyncListTargetProjectsPaged.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listtargetprojects/SyncListTargetProjects.java b/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listtargetprojects/SyncListTargetProjects.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listtargetprojects/SyncListTargetProjects.java rename to samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listtargetprojects/SyncListTargetProjects.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listtargetprojects/SyncListTargetProjectsLocationname.java b/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listtargetprojects/SyncListTargetProjectsLocationname.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listtargetprojects/SyncListTargetProjectsLocationname.java rename to samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listtargetprojects/SyncListTargetProjectsLocationname.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listtargetprojects/SyncListTargetProjectsString.java b/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listtargetprojects/SyncListTargetProjectsString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listtargetprojects/SyncListTargetProjectsString.java rename to samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listtargetprojects/SyncListTargetProjectsString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listutilizationreports/AsyncListUtilizationReports.java b/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listutilizationreports/AsyncListUtilizationReports.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listutilizationreports/AsyncListUtilizationReports.java rename to samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listutilizationreports/AsyncListUtilizationReports.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listutilizationreports/AsyncListUtilizationReportsPaged.java b/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listutilizationreports/AsyncListUtilizationReportsPaged.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listutilizationreports/AsyncListUtilizationReportsPaged.java rename to samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listutilizationreports/AsyncListUtilizationReportsPaged.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listutilizationreports/SyncListUtilizationReports.java b/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listutilizationreports/SyncListUtilizationReports.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listutilizationreports/SyncListUtilizationReports.java rename to samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listutilizationreports/SyncListUtilizationReports.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listutilizationreports/SyncListUtilizationReportsSourcename.java b/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listutilizationreports/SyncListUtilizationReportsSourcename.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listutilizationreports/SyncListUtilizationReportsSourcename.java rename to samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listutilizationreports/SyncListUtilizationReportsSourcename.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listutilizationreports/SyncListUtilizationReportsString.java b/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listutilizationreports/SyncListUtilizationReportsString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listutilizationreports/SyncListUtilizationReportsString.java rename to samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listutilizationreports/SyncListUtilizationReportsString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/pausemigration/AsyncPauseMigration.java b/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/pausemigration/AsyncPauseMigration.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/pausemigration/AsyncPauseMigration.java rename to samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/pausemigration/AsyncPauseMigration.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/pausemigration/AsyncPauseMigrationLRO.java b/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/pausemigration/AsyncPauseMigrationLRO.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/pausemigration/AsyncPauseMigrationLRO.java rename to samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/pausemigration/AsyncPauseMigrationLRO.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/pausemigration/SyncPauseMigration.java b/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/pausemigration/SyncPauseMigration.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/pausemigration/SyncPauseMigration.java rename to samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/pausemigration/SyncPauseMigration.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/removegroupmigration/AsyncRemoveGroupMigration.java b/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/removegroupmigration/AsyncRemoveGroupMigration.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/removegroupmigration/AsyncRemoveGroupMigration.java rename to samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/removegroupmigration/AsyncRemoveGroupMigration.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/removegroupmigration/AsyncRemoveGroupMigrationLRO.java b/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/removegroupmigration/AsyncRemoveGroupMigrationLRO.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/removegroupmigration/AsyncRemoveGroupMigrationLRO.java rename to samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/removegroupmigration/AsyncRemoveGroupMigrationLRO.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/removegroupmigration/SyncRemoveGroupMigration.java b/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/removegroupmigration/SyncRemoveGroupMigration.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/removegroupmigration/SyncRemoveGroupMigration.java rename to samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/removegroupmigration/SyncRemoveGroupMigration.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/removegroupmigration/SyncRemoveGroupMigrationGroupname.java b/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/removegroupmigration/SyncRemoveGroupMigrationGroupname.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/removegroupmigration/SyncRemoveGroupMigrationGroupname.java rename to samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/removegroupmigration/SyncRemoveGroupMigrationGroupname.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/removegroupmigration/SyncRemoveGroupMigrationString.java b/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/removegroupmigration/SyncRemoveGroupMigrationString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/removegroupmigration/SyncRemoveGroupMigrationString.java rename to samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/removegroupmigration/SyncRemoveGroupMigrationString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/resumemigration/AsyncResumeMigration.java b/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/resumemigration/AsyncResumeMigration.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/resumemigration/AsyncResumeMigration.java rename to samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/resumemigration/AsyncResumeMigration.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/resumemigration/AsyncResumeMigrationLRO.java b/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/resumemigration/AsyncResumeMigrationLRO.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/resumemigration/AsyncResumeMigrationLRO.java rename to samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/resumemigration/AsyncResumeMigrationLRO.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/resumemigration/SyncResumeMigration.java b/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/resumemigration/SyncResumeMigration.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/resumemigration/SyncResumeMigration.java rename to samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/resumemigration/SyncResumeMigration.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/startmigration/AsyncStartMigration.java b/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/startmigration/AsyncStartMigration.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/startmigration/AsyncStartMigration.java rename to samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/startmigration/AsyncStartMigration.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/startmigration/AsyncStartMigrationLRO.java b/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/startmigration/AsyncStartMigrationLRO.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/startmigration/AsyncStartMigrationLRO.java rename to samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/startmigration/AsyncStartMigrationLRO.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/startmigration/SyncStartMigration.java b/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/startmigration/SyncStartMigration.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/startmigration/SyncStartMigration.java rename to samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/startmigration/SyncStartMigration.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/startmigration/SyncStartMigrationMigratingvmname.java b/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/startmigration/SyncStartMigrationMigratingvmname.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/startmigration/SyncStartMigrationMigratingvmname.java rename to samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/startmigration/SyncStartMigrationMigratingvmname.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/startmigration/SyncStartMigrationString.java b/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/startmigration/SyncStartMigrationString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/startmigration/SyncStartMigrationString.java rename to samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/startmigration/SyncStartMigrationString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/updategroup/AsyncUpdateGroup.java b/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/updategroup/AsyncUpdateGroup.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/updategroup/AsyncUpdateGroup.java rename to samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/updategroup/AsyncUpdateGroup.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/updategroup/AsyncUpdateGroupLRO.java b/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/updategroup/AsyncUpdateGroupLRO.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/updategroup/AsyncUpdateGroupLRO.java rename to samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/updategroup/AsyncUpdateGroupLRO.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/updategroup/SyncUpdateGroup.java b/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/updategroup/SyncUpdateGroup.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/updategroup/SyncUpdateGroup.java rename to samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/updategroup/SyncUpdateGroup.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/updategroup/SyncUpdateGroupGroupFieldmask.java b/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/updategroup/SyncUpdateGroupGroupFieldmask.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/updategroup/SyncUpdateGroupGroupFieldmask.java rename to samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/updategroup/SyncUpdateGroupGroupFieldmask.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/updatemigratingvm/AsyncUpdateMigratingVm.java b/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/updatemigratingvm/AsyncUpdateMigratingVm.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/updatemigratingvm/AsyncUpdateMigratingVm.java rename to samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/updatemigratingvm/AsyncUpdateMigratingVm.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/updatemigratingvm/AsyncUpdateMigratingVmLRO.java b/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/updatemigratingvm/AsyncUpdateMigratingVmLRO.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/updatemigratingvm/AsyncUpdateMigratingVmLRO.java rename to samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/updatemigratingvm/AsyncUpdateMigratingVmLRO.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/updatemigratingvm/SyncUpdateMigratingVm.java b/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/updatemigratingvm/SyncUpdateMigratingVm.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/updatemigratingvm/SyncUpdateMigratingVm.java rename to samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/updatemigratingvm/SyncUpdateMigratingVm.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/updatemigratingvm/SyncUpdateMigratingVmMigratingvmFieldmask.java b/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/updatemigratingvm/SyncUpdateMigratingVmMigratingvmFieldmask.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/updatemigratingvm/SyncUpdateMigratingVmMigratingvmFieldmask.java rename to samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/updatemigratingvm/SyncUpdateMigratingVmMigratingvmFieldmask.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/updatesource/AsyncUpdateSource.java b/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/updatesource/AsyncUpdateSource.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/updatesource/AsyncUpdateSource.java rename to samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/updatesource/AsyncUpdateSource.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/updatesource/AsyncUpdateSourceLRO.java b/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/updatesource/AsyncUpdateSourceLRO.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/updatesource/AsyncUpdateSourceLRO.java rename to samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/updatesource/AsyncUpdateSourceLRO.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/updatesource/SyncUpdateSource.java b/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/updatesource/SyncUpdateSource.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/updatesource/SyncUpdateSource.java rename to samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/updatesource/SyncUpdateSource.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/updatesource/SyncUpdateSourceSourceFieldmask.java b/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/updatesource/SyncUpdateSourceSourceFieldmask.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/updatesource/SyncUpdateSourceSourceFieldmask.java rename to samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/updatesource/SyncUpdateSourceSourceFieldmask.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/updatetargetproject/AsyncUpdateTargetProject.java b/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/updatetargetproject/AsyncUpdateTargetProject.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/updatetargetproject/AsyncUpdateTargetProject.java rename to samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/updatetargetproject/AsyncUpdateTargetProject.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/updatetargetproject/AsyncUpdateTargetProjectLRO.java b/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/updatetargetproject/AsyncUpdateTargetProjectLRO.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/updatetargetproject/AsyncUpdateTargetProjectLRO.java rename to samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/updatetargetproject/AsyncUpdateTargetProjectLRO.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/updatetargetproject/SyncUpdateTargetProject.java b/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/updatetargetproject/SyncUpdateTargetProject.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/updatetargetproject/SyncUpdateTargetProject.java rename to samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/updatetargetproject/SyncUpdateTargetProject.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/updatetargetproject/SyncUpdateTargetProjectTargetprojectFieldmask.java b/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/updatetargetproject/SyncUpdateTargetProjectTargetprojectFieldmask.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/updatetargetproject/SyncUpdateTargetProjectTargetprojectFieldmask.java rename to samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/updatetargetproject/SyncUpdateTargetProjectTargetprojectFieldmask.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/upgradeappliance/AsyncUpgradeAppliance.java b/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/upgradeappliance/AsyncUpgradeAppliance.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/upgradeappliance/AsyncUpgradeAppliance.java rename to samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/upgradeappliance/AsyncUpgradeAppliance.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/upgradeappliance/AsyncUpgradeApplianceLRO.java b/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/upgradeappliance/AsyncUpgradeApplianceLRO.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/upgradeappliance/AsyncUpgradeApplianceLRO.java rename to samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/upgradeappliance/AsyncUpgradeApplianceLRO.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/upgradeappliance/SyncUpgradeAppliance.java b/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/upgradeappliance/SyncUpgradeAppliance.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/upgradeappliance/SyncUpgradeAppliance.java rename to samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/upgradeappliance/SyncUpgradeAppliance.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationsettings/getsource/SyncGetSource.java b/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationsettings/getsource/SyncGetSource.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationsettings/getsource/SyncGetSource.java rename to samples/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationsettings/getsource/SyncGetSource.java